<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>onn raves</title>
	
	<link>http://onnraves.com</link>
	<description>onn raves about ...</description>
	<pubDate>Mon, 10 Nov 2008 02:21:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/OnnRaves" type="application/rss+xml" /><item>
		<title>Autorun citrix .ica file</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/447936978/</link>
		<comments>http://onnraves.com/2008/11/10/autorun-citrix-ica-file/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 02:21:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/11/10/autorun-citrix-ica-file/</guid>
		<description><![CDATA[ 
I work with citrix a lot in my office and then one day, I started to have to save the .ICA file and then click on .ica file to run citrix.
What I wanted was for it to automatically run the .ica file without first asking me to save the file first.
I researched for a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://onnraves.com/wp-content/uploads/2008/11/save-ica-file.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="61" alt="save ica file" src="http://onnraves.com/wp-content/uploads/2008/11/save-ica-file-thumb.png" width="244" border="0"></a> </p>
<p>I work with citrix a lot in my office and then one day, I started to have to save the .ICA file and then click on .ica file to run citrix.</p>
<p>What I wanted was for it to automatically run the .ica file without first asking me to save the file first.</p>
<p>I researched for a long time on how to run downloaded file automatically but did not find a solution.</p>
<p><a href="http://onnraves.com/wp-content/uploads/2008/11/do-not-save-encrypted-pages-to-disk.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="51" alt="do not save encrypted pages to disk" src="http://onnraves.com/wp-content/uploads/2008/11/do-not-save-encrypted-pages-to-disk-thumb.png" width="244" align="left" border="0"></a>Today, I found the <a href="http://support.citrix.com/article/CTX804493">solution</a>.</p>
<p>Go to Internet Options and uncheck <strong>Do not Save Encrypted Pages To My Disk </strong>like in the screenshot.</p>
<p>Now my ICA files run automatically on clicking.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:96551cf3-fb2d-4ec2-ac4f-29733e0af7d3" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/citrix" rel="tag">citrix</a>, <a href="http://technorati.com/tags/ica" rel="tag">ica</a>, <a href="http://technorati.com/tags/autorun" rel="tag">autorun</a></div>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/447936978" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/11/10/autorun-citrix-ica-file/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/11/10/autorun-citrix-ica-file/</feedburner:origLink></item>
		<item>
		<title>Close all other windows in Vim</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/400371898/</link>
		<comments>http://onnraves.com/2008/09/22/close-all-other-windows-in-vim/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 06:16:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[wow]]></category>

		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/09/22/close-all-other-windows-in-vim/</guid>
		<description><![CDATA[Vim documentation: usr_08
CLOSING ALL OTHER WINDOWS If you have opened a whole bunch of windows, but now want to concentrate on one of them, this command will be useful: :only This closes all windows, except for the current one. If any of the other windows has changes, you will get an error message and that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vim.org/htmldoc/usr_08.html">Vim documentation: usr_08</a><br />
<blockquote>CLOSING ALL OTHER WINDOWS If you have opened a whole bunch of windows, but now want to concentrate on one of them, this command will be useful: <b>:only</b> This closes all windows, except for the current one. If any of the other windows has changes, you will get an error message and that window won&#8217;t be closed.</p>
<p></p></blockquote>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/400371898" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/09/22/close-all-other-windows-in-vim/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/09/22/close-all-other-windows-in-vim/</feedburner:origLink></item>
		<item>
		<title>Chromifox is difficult to uninstall</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/388208109/</link>
		<comments>http://onnraves.com/2008/09/10/chromifox-is-difficult-to-uninstall/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 02:05:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[boo]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/09/10/chromifox-is-difficult-to-uninstall/</guid>
		<description><![CDATA[Firefox: Chrome Package Makes Firefox Look Even More Like Chrome
The Chome Package Firefox extension makes Firefox look almost exactly like Google Chrome


This package is difficult to undo. This is how my firefox looks like after I disabled and even uninstalled Chromifox.
Follow up note:
Uninstalling the Topper Extension (not Theme) restored my Firefox.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://lifehacker.com/5047520/chrome-package-makes-firefox-look-even-more-like-chrome">Firefox: Chrome Package Makes Firefox Look Even More Like Chrome</a></p>
<blockquote><p>The Chome Package Firefox extension makes Firefox look almost exactly like Google Chrome</p>
<p><img style="max-width: 800px" src="http://onnraves.com/wp-content/uploads/2008/09/firefox-after-uninstall-chromifox.png"></p>
</blockquote>
<p>This package is difficult to undo. This is how my firefox looks like after I disabled and even uninstalled Chromifox.</p>
<p>Follow up note:</p>
<p>Uninstalling the Topper <strong>Extension </strong>(not Theme) restored my Firefox.</p>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/388208109" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/09/10/chromifox-is-difficult-to-uninstall/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/09/10/chromifox-is-difficult-to-uninstall/</feedburner:origLink></item>
		<item>
		<title>Chrome Firefox</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/388201474/</link>
		<comments>http://onnraves.com/2008/09/10/chrome-firefox/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 01:51:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/09/10/chrome-firefox/</guid>
		<description><![CDATA[Firefox: Chrome Package Makes Firefox Look Even More Like Chrome
The Chome Package Firefox extension makes Firefox look almost exactly like Google Chrome for those of you who prefer Chrome&#8217;s tabs-on-top style. (Chromifox wasn&#8217;t quite there.) You&#8217;ve enabled the rest of Chrome&#8217;s best features in Firefox.
I put off downloading Google Chrome because I already had Flock, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lifehacker.com/5047520/chrome-package-makes-firefox-look-even-more-like-chrome">Firefox: Chrome Package Makes Firefox Look Even More Like Chrome</a><br />
<blockquote>The Chome Package Firefox extension makes Firefox look almost exactly like Google Chrome for those of you who prefer Chrome&#8217;s tabs-on-top style. (Chromifox wasn&#8217;t quite there.) You&#8217;ve enabled the rest of Chrome&#8217;s best features in Firefox.</p>
<p>I put off downloading Google Chrome because I already had Flock, Safari, Avant. But as the blog posts ranting about Google Chrome came up, I gave in and installed it.<br />It looked very cool and I have been using it for several days and like it very much.<br />However today, I found the above package to make Firefox look like Chrome and I will revert to Firefox.<br />My main reason is I miss the add-ons in Firefox (scribefire, gmail checker etc). With the growing interest in Chrome, I am sure I will explore Chrome again later.</p></blockquote>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/388201474" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/09/10/chrome-firefox/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/09/10/chrome-firefox/</feedburner:origLink></item>
		<item>
		<title>Good reason to upgrade to Wordpress 2.6.2 ?</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/388140720/</link>
		<comments>http://onnraves.com/2008/09/10/good-reason-to-upgrade-to-wordpress-262/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 00:20:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/09/10/good-reason-to-upgrade-to-wordpress-262/</guid>
		<description><![CDATA[Sticky Posts! « WordPress.com
Regular updates are what blogging’s all about, but sometimes you want to keep hot topics or other static info at the top of your posts. This feature has existed as Sticky Topics in the forums, but hasn’t been available on blogs. Until now.
This feature might be a good reason to upgrade to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.blog.wordpress.com/2008/09/08/sticky-posts/">Sticky Posts! « WordPress.com</a><br />
<blockquote>Regular updates are what blogging’s all about, but sometimes you want to keep hot topics or other static info at the top of your posts. This feature has existed as Sticky Topics in the forums, but hasn’t been available on blogs. Until now.</p>
<p>This feature might be a good reason to upgrade to Wordpress 2.6.2.</p></blockquote>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/388140720" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/09/10/good-reason-to-upgrade-to-wordpress-262/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/09/10/good-reason-to-upgrade-to-wordpress-262/</feedburner:origLink></item>
		<item>
		<title>Launchy vs Executor - memory requirement</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/368805706/</link>
		<comments>http://onnraves.com/2008/08/19/launchy-vs-executor-memory-requirement/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 07:17:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[errr]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/08/19/launchy-vs-executor-memory-requirement/</guid>
		<description><![CDATA[Featured Windows Download: Executor Is Impressive, Full-Featured App Launcher
Executor is also very fast and lightweight, eating just over 10MB of RAM in Task Manager.

&#160;
On my laptop, Executor used up 7x more memory than Launchy and it was indexing less directories than Launchy.
Launchy is more lightweight than Executor.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://lifehacker.com/400566/executor-is-impressive-full+featured-app-launcher">Featured Windows Download: Executor Is Impressive, Full-Featured App Launcher</a></p>
<blockquote><p><img style="max-width: 800px" src="http://onnraves.com/wp-content/uploads/2008/08/executor-vs-launchy.png">Executor is also very fast and lightweight, eating just over 10MB of RAM in Task Manager.</p>
</blockquote>
<p>&nbsp;</p>
<p>On my laptop, Executor used up 7x more memory than Launchy and it was indexing less directories than Launchy.</p>
<p>Launchy is more lightweight than Executor.</p>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/368805706" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/08/19/launchy-vs-executor-memory-requirement/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/08/19/launchy-vs-executor-memory-requirement/</feedburner:origLink></item>
		<item>
		<title>Read Daily Bread easier with python</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/361521237/</link>
		<comments>http://onnraves.com/2008/08/11/read-daily-bread-easier-with-python/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 02:01:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/08/11/read-daily-bread-easier-with-python/</guid>
		<description><![CDATA[I live in Malaysia which is GMT+8.
When I open the Daily Bread in the morning, it shows me the previous day&#8217;s devotion because Malaysia&#8217;s time zone is ahead of Daily Bread&#8217;s. However, Daily Bread allows me to read &#8216;ahead&#8217; by clicking on any date on a calendar on the website.
Well, I don&#8217;t like to do [...]]]></description>
			<content:encoded><![CDATA[<p>I live in Malaysia which is GMT+8.</p>
<p>When I open the <a href="http://www.rbc.org">Daily Bread</a> in the morning, it shows me the previous day&#8217;s devotion because Malaysia&#8217;s time zone is ahead of Daily Bread&#8217;s. However, Daily Bread allows me to read &#8216;ahead&#8217; by clicking on any date on a calendar on the website.</p>
<p>Well, I don&#8217;t like to do anything manual repeatedly if I can help it and I wrote the script below.</p>
<div>
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">import os</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">import datetime</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">import webbrowser</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">import urllib2</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">from BeautifulSoup import BeautifulSoup</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">def daily_bread(d):</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    year = d.year</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">    month = d.month</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    day = d.day</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"># refer http:<span style="color: #008000">//my.php.net/manual/en/function.sprintf.php for sprintf format</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">    url = <span style="color: #006080">'http://www.rbc.org/devotionals/our-daily-bread/%04d/%02d/%02d/devotion.aspx'</span> % (year, month, day)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    webbrowser.open(url)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    open_bible(url)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">def open_bible(daily_page_url):</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    page = urllib2.urlopen(daily_page_url)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">    s = BeautifulSoup(page)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">    bible_a = s.find(<span style="color: #006080">'a'</span>, id = <span style="color: #006080">'ctl00_cphPrimary_hlGatewayVerse'</span>)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    url = bible_a[<span style="color: #006080">'href'</span>]</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">    webbrowser.open(url)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">today = datetime.date.today()</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">daily_bread(today)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">&nbsp;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"><span style="color: #0000ff">if</span> today.weekday() == 5: # Saturday</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">    tomorrow = today + datetime.timedelta(1)</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none">    daily_bread(tomorrow)</pre>
</div>
</div>
<p>It will open the Daily Bread devotion for the correct day (the same day as my computer time).</p>
<p>As a bonus, it will also open the day&#8217;s Bible verse. (You will need to <a href="http://onnraves.com/2008/02/23/easy_install-is-a-great-tool-to-install-python-packages/">easy_install</a> <a href="http://www.crummy.com/software/BeautifulSoup/">BeautifulSoup</a> first).</p>
<p>On Saturdays, I read the Sunday&#8217;s devotion too because I go to church on Sunday. The script opens 2 days&#8217; reading on Saturday.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a7522fa1-3450-424a-996c-7390c73ef805" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/daily%20bread" rel="tag">daily bread</a>, <a href="http://technorati.com/tags/python" rel="tag">python</a></div>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/361521237" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/08/11/read-daily-bread-easier-with-python/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/08/11/read-daily-bread-easier-with-python/</feedburner:origLink></item>
		<item>
		<title>Run office PC from home</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/354872490/</link>
		<comments>http://onnraves.com/2008/08/04/run-office-pc-from-home/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 01:59:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/08/04/run-office-pc-from-home/</guid>
		<description><![CDATA[This morning, I learnt how to switch on my office PC from home.
In my scenario, my office has citrix which I can log in to.
Before this morning, I had to leave my PC on before I left work if I wanted to use it from home. At home, I would log on to citrix and [...]]]></description>
			<content:encoded><![CDATA[<p>This morning, I learnt how to switch on my office PC from home.</p>
<p>In my scenario, my office has citrix which I can log in to.</p>
<p>Before this morning, I had to leave my PC on before I left work if I wanted to use it from home. At home, I would log on to citrix and then remote desktop to my office PC.</p>
<p>This wikipedia <a href="http://en.wikipedia.org/wiki/Wake-on-LAN">article</a> provided good resource to find scripts to switch on my PC from home. I used one of the scripts provided and tested it to wake up my computer via citrix. It worked. Once that was accomplished, I could then remote just as if I had left the computer on.</p>
<p>Now I don&#8217;t have to leave my computer on if I want to work from home.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a68cf3e0-1aed-498c-9f40-43cc5cdb7bad" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/wake-on-lan" rel="tag">wake-on-lan</a></div>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/354872490" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/08/04/run-office-pc-from-home/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/08/04/run-office-pc-from-home/</feedburner:origLink></item>
		<item>
		<title>Is Microsoft SteadyState useful ? Did not work so well for me</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/339490381/</link>
		<comments>http://onnraves.com/2008/07/19/is-microsoft-steadystate-useful-did-not-work-so-well-for-me/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 01:18:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[boo]]></category>

		<category><![CDATA[work]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[steadystate]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/07/19/is-microsoft-steadystate-useful-did-not-work-so-well-for-me/</guid>
		<description><![CDATA[Featured Windows Download: Windows SteadyState Creates a Wreck-Proof Space for Kids, Experiments

Windows XP/Vista only: SteadyState, a free Windows utility offered by Microsoft, is a handy tool to have if you&#8217;ve got kids, friends, or just a program or two that could possibly wreak havoc on your system
It did not work so well in my experiment. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lifehacker.com/397597/windows-steadystate-creates-a-wreck+proof-space-for-kids-experiments">Featured Windows Download: Windows SteadyState Creates a Wreck-Proof Space for Kids, Experiments</a><br />
<blockquote>
<blockquote>Windows XP/Vista only: SteadyState, a free Windows utility offered by Microsoft, is a handy tool to have if you&#8217;ve got kids, friends, or just a program or two that could possibly wreak havoc on your system</p></blockquote>
<p>It did not work so well in my experiment. I turned on Protect Hard Disk and Preserve Changes Permanently. The PC froze 2 times during restart when it was committing the changes ie making the changes permanent.</p>
<p>My PC also ran significantly slower with Steadystate.</p>
<p>With the above problems, I uninstalled Steadystate.</p>
<p></p></blockquote>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/339490381" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/07/19/is-microsoft-steadystate-useful-did-not-work-so-well-for-me/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/07/19/is-microsoft-steadystate-useful-did-not-work-so-well-for-me/</feedburner:origLink></item>
		<item>
		<title>No Internet Access after Microsoft update KB951748 - for ZoneAlarm users</title>
		<link>http://feeds.feedburner.com/~r/OnnRaves/~3/332386528/</link>
		<comments>http://onnraves.com/2008/07/11/no-internet-access-after-microsoft-update-kb951748-for-zonealarm-users/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 05:24:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[boo]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://onnraves.com/2008/07/11/no-internet-access-after-microsoft-update-kb951748-for-zonealarm-users/</guid>
		<description><![CDATA[ZoneAlarm SmartDefense Research Center
Sudden Loss of Internet Access Problem
Date Published : 8 July 2008
Date Last Revised : 9 July 2008
Overview : Microsoft Update KB951748 is known to cause loss of internet access for ZoneAlarm users on Windows XP/2000. Windows Vista users are not affected.
Impact : Sudden loss of internet access
Platforms Affected : ZoneAlarm Free, ZoneAlarm [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://download.zonealarm.com/bin/free/pressReleases/2008/LossOfInternetAccessIssue.html">ZoneAlarm SmartDefense Research Center</a></p>
<blockquote><p>Sudden Loss of Internet Access Problem</p>
<p>Date Published : 8 July 2008</p>
<p>Date Last Revised : 9 July 2008</p>
<p>Overview : Microsoft Update KB951748 is known to cause loss of internet access for ZoneAlarm users on Windows XP/2000. Windows Vista users are not affected.</p>
<p>Impact : Sudden loss of internet access</p>
<p>Platforms Affected : ZoneAlarm Free, ZoneAlarm Pro, ZoneAlarm AntiVirus, ZoneAlarm Anti-Spyware, and ZoneAlarm Security Suite</p>
<p>&#8230;..</p>
</blockquote>
<p>Go to <a href="http://download.zonealarm.com/bin/free/pressReleases/2008/LossOfInternetAccessIssue.html">ZoneAlarm SmartDefense Research Center</a> for the recommended actions or to download the fixes.</p>
<img src="http://feeds.feedburner.com/~r/OnnRaves/~4/332386528" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://onnraves.com/2008/07/11/no-internet-access-after-microsoft-update-kb951748-for-zonealarm-users/feed/</wfw:commentRss>
		<feedburner:origLink>http://onnraves.com/2008/07/11/no-internet-access-after-microsoft-update-kb951748-for-zonealarm-users/</feedburner:origLink></item>
	</channel>
</rss>
