SyntaxHighlighter is, as described on its webpage, a fully functional self-contained code syntax highlighter developed in JavaScript
. It is used to make programming code from various programming languages easier to follow. Installation is pretty straightforward for ordinary web sites but for sites like this one where the users are not allowed to upload files to the server, it can get a little tricky. Here are the options for adding SyntaxHighlighter to your Blogger account:
Things I Know About Computers
Solutions to everyday computer problems and other useful information.
Monday, January 27, 2014
Adding SyntaxHighlighter to Blogger
Monday, January 20, 2014
A Clean Install of a Windows 7 & Ubuntu Dual-Boot System
While writing my last post which was about hibernation, I noticed that Ubuntu cannot mount the Windows partition (or rather, can only mount it as read-only) if Windows was hibernated. This lead me to consider creating a partitioning scheme where Windows is separated from the rest of the files on my hard drive. Rather than playing with the partitions of the hard drive, I decided to do a clean install. While at it, I also purchased an optical drive bay caddy and a 64 gb solid state drive to contain the operating systems. Here's a step-by-step list of what I have done:
Monday, November 25, 2013
Enabling Hibernation in Ubuntu
Hibernation is a useful feature of modern computers/operating systems, which allows users to turn off the computer for a while and later resume their session from that point, eliminating the need to save all work before shutting down. It is similar to the "Sleep" or "Suspend" option, but the computer won't keep on drawing power when hibernated, because all the information in the memory is written to the disk and therefore there is no need to feed power to the memory. I use this option to power down my system unless I perform some operation that specifically requires shut down instead of hibernation.
Monday, September 16, 2013
Adding Google Custom Search to Blogger
As the number of articles in your blog increase, it may be a good idea to provide your readers with a search functionality. Although Blogger has a perfectly fine "Search" gadget available, you may instead want to use Google Custom Search for a number of reasons. Though it is pretty straightforward to add a Google Custom Search box to a website, it can get a little tricky making it work with Blogger. In this article, we will learn how to add a Google Custom Search box to the side bar in a way that the results are displayed on the main area.
Tuesday, August 6, 2013
Dealing With Internet Connectivity Issues in Ubuntu
I finally went ahead and installed Ubuntu 13.04. I had to google a few things from my phone during the installation, but all in all everything went pretty smooth. The only problem worth mentioning was that I lost my internet connection at some point (though I was still connected to the wireless network), but that was solved pretty easily.
Sunday, August 4, 2013
Submitting a Blogger Sitemap to Google
If you have a blog, you probably want people to read it and for them to be able to read it, they first have to discover it. Though people may learn about your blog from a variety of sources such as by direct communication with you, through social media or links from other sites, search engines such as Google usually play the leading role of having your blog discovered.
For your blog to be listed in search results of a search engine, it has to be indexed by that search engine. For this purpose, search engines use automated software, called web crawlers, that visit pages and index them as they become available. Though your blog may be discovered by crawlers and indexed by search engines automatically after some period of time, there are certain things you can do to speed up this process. Submitting your sitemap manually to search engines is one of them. This will let the search engines know about the structure of your blog, which enables them to efficiently index all your pages. According to Google, "Creating and submitting a Sitemap helps make sure that Google knows about all the pages on your site, including URLs that may not be discoverable by Google's normal crawling process".
In this article, we will learn how to submit sitemaps of our blogs to Google.
Thursday, August 1, 2013
Adding Social Media Buttons on Blogger
Social media buttons provide an easy way for your visitors to show that they appreciate your blog and share this with their friends. When used properly, these buttons can also increase traffic to your website. In this article, we will learn how to use Blogger's HTML/JavaScript gadget to add social media buttons to our blog.