<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Wisdom &#187; blog</title>
	<atom:link href="http://scrolls.mafgani.net/tag/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://scrolls.mafgani.net</link>
	<description>An attempt at organizing my thoughts ...</description>
	<lastBuildDate>Sun, 13 Mar 2011 22:54:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Just Host cPanel cleanup script for Greasemonkey</title>
		<link>http://scrolls.mafgani.net/2009/10/just-host-cpanel-cleanup-script-for-greasemonkey/</link>
		<comments>http://scrolls.mafgani.net/2009/10/just-host-cpanel-cleanup-script-for-greasemonkey/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 22:48:47 +0000</pubDate>
		<dc:creator>Mostafa</dc:creator>
				<category><![CDATA[How To ...]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[adblock]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[userscripts]]></category>

		<guid isPermaLink="false">http://scrolls.mafgani.net/?p=356</guid>
		<description><![CDATA[I finally decided to get my own domain and signed up with Just Host for the registration and hosting. For now I&#8217;m only using it to host this blog that originally started its life on Blogger. The transition was fairly smooth, save for a few minor issues. I&#8217;ll talk more about the steps involved a [...]]]></description>
			<content:encoded><![CDATA[<p>I finally decided to get my own <a href="http://mafgani.net/">domain</a> and signed up with <a href="http://www.justhost.com">Just Host</a> for the registration and hosting. For now I&#8217;m only using it to host this blog that originally started its life on <a href="http://darkknight9.blogspot.com">Blogger</a>. The transition was fairly smooth, save for a few minor issues. I&#8217;ll talk more about the steps involved a future post (a draft is already in the queue) &#8230;</p>
<p>Just Host offers <a href="http://www.cpanel.net/">cPanel</a> as a web frontend for managing and running site related tasks. It&#8217;s quite a nice tool but there is one big problem. The interface is literally littered with a bunch of annoying ads and affiliate links. Even more annoying is the fact that there doesn&#8217;t seem to be any way of permanently moving these offending boxes to the bottom of the screen. This is where <a href="http://www.greasespot.net/">Greasemonkey</a> comes in.</p>
<p>Greasemonkey is a nice little extension for Firefox that allows the execution user scripts to change the way a website looks. <a href="http://userscripts.org/">userscripts.org</a> is a great place for finding scripts that work on major/popular sites on the internet. A search there didn&#8217;t turn up anything useful so I decided to write my own. Install Greasemonkey if you don&#8217;t have it already and then click on <a href="http://mafgani.net/files/justhost_cpanel_cleanup.user.js">this link</a> to get the script installed. I&#8217;ve also put up a <a href="http://userscripts.org/scripts/show/60459">copy</a> on userscripts.org.</p>
<p>The script works by setting the &#8216;display&#8217; style of the offending div boxes to &#8216;none&#8217;. <a href="http://getfirebug.com/">Firebug</a> is another great tool that makes it a breeze to find out the IDs of the divs that need to be blacklisted.</p>
<p><strong>[Update 10-Nov-2009]:</strong> Looks like some sneaky new ads injected using Javascript have shown up on the cPanel sidebar. Unlike the old ad boxes however, these lack div IDs. As a result, it is not possible to simply blacklist them. Fortunately, it also means that it is possible to turn the table around by simply blocking the sidebar divs that have a null ID. The <a href="http://mafgani.net/files/justhost_cpanel_cleanup.user.js">script</a> has been updated.</p>
<p><strong>Before:</strong></p>
<div id="attachment_372" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-372  " title="Before" src="http://scrolls.mafgani.net/wp-content/uploads/2009/10/before.png" alt="Before applying greasemonkey script" width="500" height="388" /><p class="wp-caption-text">Before applying greasemonkey script</p></div>
<p><strong>After:</strong></p>
<div id="attachment_374" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-374  " title="After" src="http://scrolls.mafgani.net/wp-content/uploads/2009/10/after.png" alt="After applying greasemonkey script" width="500" height="389" /><p class="wp-caption-text">After applying greasemonkey script</p></div>
]]></content:encoded>
			<wfw:commentRss>http://scrolls.mafgani.net/2009/10/just-host-cpanel-cleanup-script-for-greasemonkey/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Status report</title>
		<link>http://scrolls.mafgani.net/2009/10/status-report/</link>
		<comments>http://scrolls.mafgani.net/2009/10/status-report/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 14:51:28 +0000</pubDate>
		<dc:creator>Mostafa</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://scrolls.mafgani.net/?p=349</guid>
		<description><![CDATA[Looks like it&#8217;s been more than a year since the last time I&#8217;ve published something here. I&#8217;ve just been really busy, now more than ever. I have been periodically saving some blurbs as drafts but I never quite seem to have the time to polish them into real posts. I really should be working on [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like it&#8217;s been more than a year since the last time I&#8217;ve <em>published</em> something here. I&#8217;ve just been really busy, now more than ever. I have been periodically saving some blurbs as drafts but I never quite seem to have the time to polish them into real posts.</p>
<p>I really should be working on my thesis and a number of other papers but it does get a bit tiresome. Whenever that happens, I&#8217;ll work a bit on the drafts as a distraction and hopefully manage to push a few of them out over the coming weeks&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://scrolls.mafgani.net/2009/10/status-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving from Blogger to WordPress</title>
		<link>http://scrolls.mafgani.net/2009/10/moving-from-blogger-to-wordpress/</link>
		<comments>http://scrolls.mafgani.net/2009/10/moving-from-blogger-to-wordpress/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:28:27 +0000</pubDate>
		<dc:creator>Mostafa</dc:creator>
				<category><![CDATA[How To ...]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[transfer]]></category>

		<guid isPermaLink="false">http://scrolls.mafgani.net/?p=309</guid>
		<description><![CDATA[The initial move is easy enough using the Blogger importer plugin of WordPress. Setting up redirects from the old blog to the new one however takes a bit more work. I followed the instructions at: http://underscorebleach.net/jotsheet/2006/05/move-blogger-to-wordpress]]></description>
			<content:encoded><![CDATA[<p>The initial move is easy enough using the Blogger importer plugin of WordPress. Setting up redirects from the old blog to the new one however takes a bit more work. I followed the instructions at:</p>
<p><a href="http://underscorebleach.net/jotsheet/2006/05/move-blogger-to-wordpress">http://underscorebleach.net/jotsheet/2006/05/move-blogger-to-wordpress</a></p>
]]></content:encoded>
			<wfw:commentRss>http://scrolls.mafgani.net/2009/10/moving-from-blogger-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First blog</title>
		<link>http://scrolls.mafgani.net/2005/08/first-blog/</link>
		<comments>http://scrolls.mafgani.net/2005/08/first-blog/#comments</comments>
		<pubDate>Fri, 19 Aug 2005 19:54:00 +0000</pubDate>
		<dc:creator>Mostafa</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://scrolls.mafgani.net/?p=3</guid>
		<description><![CDATA[Well .. I&#8217;ve been giving this some thought .. the main motivation behind starting this thing is the fact that I seem to forget a lot of the stuff that I found out digging through the web, linux man pages etc.. let this be my (somewhat) permanent record of the things I do .. to [...]]]></description>
			<content:encoded><![CDATA[<p>Well .. I&#8217;ve been giving this some thought .. the main motivation behind starting this thing is the fact that I seem to forget a lot of the stuff that I found out digging through the web, linux man pages etc.. let this be my (somewhat) permanent record of the things I do .. to save myself the trouble of backtracking through memory lane&#8230;</p>
<p>I guess this will be mostly computer related .. Linux, TeX, etc..</p>
]]></content:encoded>
			<wfw:commentRss>http://scrolls.mafgani.net/2005/08/first-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

