<?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>While it compiles</title> <atom:link href="http://whileitcompiles.com/feed/" rel="self" type="application/rss+xml" /><link>http://whileitcompiles.com</link> <description></description> <lastBuildDate>Sat, 05 May 2012 18:00:56 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.4.1</generator> <item><title>Using node.js packages with meteorjs</title><link>http://whileitcompiles.com/ubuntu/using-node-js-packages-with-meteorjs/</link> <comments>http://whileitcompiles.com/ubuntu/using-node-js-packages-with-meteorjs/#comments</comments> <pubDate>Sat, 05 May 2012 18:00:56 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[meteorjs]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[nodejs]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=197</guid> <description><![CDATA[I got following error when tried to use node.js package (installed with npm) in meteorjs application on my Ubuntu: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. You can find sample code causing error here. I&#8217;ve tried [...]]]></description> <content:encoded><![CDATA[<p>I got following error when tried to use node.js package (installed with npm) in meteorjs application on my Ubuntu:</p><pre><span style="color: #ff0000;">
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick<br />
^<br />
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. </span></pre><p>You can find sample code causing error <a
title="node.js package import problem" href="https://gist.github.com/2604251">here</a>.</p><p>I&#8217;ve tried setting NODE_PATH in bash but with no success.</p><p>Then I&#8217;ve looked into meteor script (under /usr/bin) and saw that meteor is setting NODE_PATH by itself (it is pointing to /usr/lib/meteor/lib/node_modules directory). I cloned required package directly from github into /usr/lib/meteor/lib/node_modules directory and my application run wihout any errors.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/ubuntu/using-node-js-packages-with-meteorjs/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Fixing problem Vimeo Desktop Uploader stuck on &#8220;Loading&#8221; message</title><link>http://whileitcompiles.com/tools/fixing-problem-vimeo-desktop-uploader-stuck-on-loading-message/</link> <comments>http://whileitcompiles.com/tools/fixing-problem-vimeo-desktop-uploader-stuck-on-loading-message/#comments</comments> <pubDate>Fri, 10 Jun 2011 16:02:15 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[Adobe AIR]]></category> <category><![CDATA[vimeo]]></category> <category><![CDATA[Vimeo Desktop Uploader]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=192</guid> <description><![CDATA[I&#8217;ve been using Vimeo Desktop Uploader for over a year. It is simple tool written in Adobe AIR which allows batch upload of videos to Vimeo. From time to time, when I try to run application, it hangs with &#8220;Loading&#8221; message. Restarting application does not help. Unauthorizing application either. I searched for similar problem on [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been using Vimeo Desktop Uploader for over a year. It is simple tool written in Adobe AIR which allows batch upload of videos to Vimeo. From time to time, when I try to run application, it hangs with &#8220;Loading&#8221; message. Restarting application does not help. Unauthorizing application either. I searched for similar problem on Vimeo Help Forum and found <a
title="Air file damaged or something" href="http://vimeo.com/forums/topic:24002">this</a> topic. Looked promising so I&#8217;ve follow the advice and deleted vimeo files in <em><strong>~/.appdata/Adobe/AIR/ELS/ </strong></em>on my Ubuntu. But that didn&#8217;t help. After application authorization on Vimeo it was still displaying &#8220;Loading&#8221; message forever.</p><p>But than I thought that it is a good track and decided to clean entire AIR . I&#8217;ve deleted <em><strong>~/.appdata/Adobe/AIR/</strong></em> directory. And that was it! I could use Vimeo Desktop Uploader once again.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/tools/fixing-problem-vimeo-desktop-uploader-stuck-on-loading-message/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to gain couple of Gigabytes of free space on Linux?</title><link>http://whileitcompiles.com/linux/how-to-gain-couple-of-gigabytes-of-free-space-on-linux/</link> <comments>http://whileitcompiles.com/linux/how-to-gain-couple-of-gigabytes-of-free-space-on-linux/#comments</comments> <pubDate>Fri, 08 Oct 2010 09:38:18 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[tune2fs]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=180</guid> <description><![CDATA[Lately I have problems with free space on my /home partition on my laptop. The problem is that I have nothing else to delete. The only option would be to buy a additional USB hard disc (I find it cumbersome) or buy a new, bigger hard drive for my laptop and exchange it with my [...]]]></description> <content:encoded><![CDATA[<p>Lately  I have problems with free space on my /home partition on my laptop. The  problem is that I have nothing else to delete. The only option would be  to buy a additional USB hard disc (I find it cumbersome) or buy a new,  bigger hard drive for my laptop and exchange it with my current one.</p><p><span
id="more-180"></span>When I was checking space left on my hard drive (using df command) I&#8217;ve noticed that</p><div
id="wpshdo_1" class="wp-synhighlighter-outer"><div
id="wpshdt_1" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_1"></a><a
id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">lukas@acer:~$ df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sda3 126G 117G 2,5G 98% /home</pre></div></div><br
/> sum of Used and Avail column does not equal to Size of the partition. The difference was about 6Gb. Weird&#8230;</p><h3>Reserved Block Count on partition</h3><p>I  found an explanation (using Google ofcors) that some percent of blocks  on each partition is being reserved to reduce system defragmentation,  allow root login for maintenance and to allow Linux system logging  facility to function properly in case of lack of free space on  partition. It is called Reserved Block Count and it is set to 5% of  partition size by default.</p><p>You can check current Reserved Block Count value using dumpe2fs command</p><div
id="wpshdo_2" class="wp-synhighlighter-outer"><div
id="wpshdt_2" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_2"></a><a
id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">lukas@acer:~$ sudo dumpe2fs /dev/sda3 | grep &quot;Reserved block count&quot;
dumpe2fs 1.41.12 (17-May-2010)
Reserved block count: 1653590</pre></div></div><p>Block  size of my partition is 4096 (it can be checked using dumpe2fs  command). So reserved space on my partition is about 6,3 Gb and equal  missing size from hd command.</p><p>How to change Reserved Block Count<br
/> Reserved Block Count for given partition can be changed using tune2fs command</p><div
id="wpshdo_3" class="wp-synhighlighter-outer"><div
id="wpshdt_3" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_3"></a><a
id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">sudo tune2fs -m 0 /dev/sda3</pre></div></div><p>where /dev/sda3 is your file system identifier</p><p>-m option sets the percentage of reserved file system blocks (in this case it is being set to 0%)</p><p>Then I&#8217;ve checked again free space in my system:</p><div
id="wpshdo_4" class="wp-synhighlighter-outer"><div
id="wpshdt_4" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_4"></a><a
id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">lukas@acer:~$ df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sda3 126G 117G 8,8G 94% /home</pre></div></div><p>I have additional 6Gb on my home partition!</p><h3>Is it safe?</h3><p>You  can disable Reserved Block Count (by setting the percentage of reserved  filesystem blocks to 0%) safely on not-system partitions (such as /home  partitions). You shouldn&#8217;t do this on partitions used by root  (especially / and /root) and on partitions used by OS for logging and  storing temporary files (e.g. /var and /tmp).</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/linux/how-to-gain-couple-of-gigabytes-of-free-space-on-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Problem with Chromium browser after upgrade to Ubuntu 10.10</title><link>http://whileitcompiles.com/ubuntu/problem-with-chromium-browser-after-upgrade-to-ubuntu-10-10/</link> <comments>http://whileitcompiles.com/ubuntu/problem-with-chromium-browser-after-upgrade-to-ubuntu-10-10/#comments</comments> <pubDate>Tue, 05 Oct 2010 19:23:13 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[Chrome]]></category> <category><![CDATA[Chromium]]></category> <category><![CDATA[libmoon]]></category> <category><![CDATA[Ubuntu 10.10]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=170</guid> <description><![CDATA[Today I&#8217;ve upgraded Ubuntu on my laptop to Ubuntu 10.10 (Maverick Meerkat) Release Candidate. Everything went smoothly. Ubuntu downloaded all needed packages and upgraded system. I had no problem during startup nor during work with new Ubuntu. Thou when I tried to launch my Chromium browser I shut down immediatly after startup. I tried once [...]]]></description> <content:encoded><![CDATA[<p>Today I&#8217;ve upgraded Ubuntu on my laptop to Ubuntu 10.10 (Maverick Meerkat) Release Candidate. Everything went smoothly. Ubuntu downloaded all needed packages and upgraded system. I had no problem during startup nor during work with new Ubuntu. Thou when I tried to launch my Chromium browser I shut down immediatly after startup. I tried once again, this time lauching browser from Gnome Terminal.</p><p><span
id="more-170"></span></p><p>I got followin message:</p><div
id="wpshdo_5" class="wp-synhighlighter-outer"><div
id="wpshdt_5" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_5"></a><a
id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="dos" style="font-family:monospace;">OpenOffice path before fixup is '/usr/lib/openoffice'
OpenOffice path is '/usr/lib/openoffice
Attempting to load the system libmoon
Segmentation fault</pre></div></div><p>I found following <a
title="cannot open Firefox/Chromium/Google Chrome when libmoon is installed  " href="https://bugs.launchpad.net/ubuntu/+source/moon/+bug/538796" target="_blank">bug</a> in Google and I&#8217;ve followed last note saing “Uninstalling libmoon solved the problem”.</p><p>So I&#8217;ve uninstalled libmoon and then I could lauch Chromium browser.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/ubuntu/problem-with-chromium-browser-after-upgrade-to-ubuntu-10-10/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Atlassian aquires Bitbucket.org</title><link>http://whileitcompiles.com/tools/atlassian-aquires-bitbucket-org/</link> <comments>http://whileitcompiles.com/tools/atlassian-aquires-bitbucket-org/#comments</comments> <pubDate>Thu, 30 Sep 2010 19:57:45 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[atlassian]]></category> <category><![CDATA[bitbucket]]></category> <category><![CDATA[comparison]]></category> <category><![CDATA[git]]></category> <category><![CDATA[github]]></category> <category><![CDATA[mercurial]]></category> <category><![CDATA[SCM]]></category> <category><![CDATA[VCS]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=157</guid> <description><![CDATA[Atlassian has aquired Bitbucket.org, a hosted code collaboration site for Mercurial distributed version control system. What is more important for developers, from friday Bitbucket will offer a free account for five developers and unlimited numer of repositories (ideal for small teams). Comparable account on github.com (popular collaboration site for Git, main Mercurial competitor) would cost [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Atlassian has aquired <a
title="Bitbucket.org" href="http://bitbucket.org" target="_blank">Bitbucket.org</a>, a hosted code collaboration site for <a
title="Mercurial SCM" href="http://mercurial.selenic.com" target="_blank">Mercurial</a> distributed version control system.</p><p
style="text-align: left;"><span
id="more-157"></span>What is more important for developers, from friday Bitbucket will offer a free account for five developers and unlimited numer of repositories (ideal for small teams). Comparable account on <a
title="Github.com" href="http://github.com" target="_blank">github.com</a> (popular collaboration site for <a
title="Git SCM" href="http://git-scm.com" target="_blank">Git</a>, main Mercurial competitor) would cost us $7 per month.<a
href="http://whileitcompiles.com/wp-content/uploads/2010/09/BitBucket_Home.png"></a></p><p
style="text-align: left;"><a
href="http://whileitcompiles.com/wp-content/uploads/2010/09/BitBucket_Home.png"><br
/> </a><a
href="http://whileitcompiles.com/wp-content/uploads/2010/09/BitBucket_Home.png"><img
class="aligncenter size-large wp-image-161" title="BitBucket.org" src="http://whileitcompiles.com/wp-content/uploads/2010/09/BitBucket_Home-1024x1024.png" alt="Bitbucket home page" width="600" height="600" /></a></p><p>I hope that github will soon offer comparable free account. I&#8217;m using Git and don&#8217;t wan&#8217;t to switch to Mercurial.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/tools/atlassian-aquires-bitbucket-org/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Problem with sqlite3.dll</title><link>http://whileitcompiles.com/programming/rails/problem-with-sqlite3-dll/</link> <comments>http://whileitcompiles.com/programming/rails/problem-with-sqlite3-dll/#comments</comments> <pubDate>Fri, 17 Sep 2010 11:38:00 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Rails]]></category> <category><![CDATA[rails]]></category> <category><![CDATA[sqlite]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=146</guid> <description><![CDATA[After successfully installed Rails I’ve created clean project using command and installed sqlite3 gem. When I tried to start application I got error dialog box with message: “The program can&#8217;t start because sqlite3.dll is missing from your computer. Try reinstalling the program to fix the problem.” Another confusing error… Luckily I was able to fix [...]]]></description> <content:encoded><![CDATA[<p>After successfully installed Rails I’ve created clean project using</p><div
id="wpshdo_6" class="wp-synhighlighter-outer"><div
id="wpshdt_6" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_6"></a><a
id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="dos" style="font-family:monospace;">rails new helloworld_project</pre></div></div><p>command and installed sqlite3 gem.</p><p><span
id="more-146"></span></p><p>When I tried to start application I got error dialog box with message:</p><p>“The program can&#8217;t start because sqlite3.dll is missing from your computer. Try reinstalling the program to fix the problem.”</p><p>Another confusing error…</p><p>Luckily I was able to fix this quickly.</p><p>First I’ve downloaded sqlitedll zip from <a
href="http://www.sqlite.org/download.html">http://www.sqlite.org/download.html</a> site, and then I’ve put sqlite3.dll to my ruby installation bin directory.</p><p>Then I was able to successfully launch my rails application.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/programming/rails/problem-with-sqlite3-dll/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Using gem from behind a proxy</title><link>http://whileitcompiles.com/programming/rails/using-gem-from-behind-a-proxy/</link> <comments>http://whileitcompiles.com/programming/rails/using-gem-from-behind-a-proxy/#comments</comments> <pubDate>Fri, 17 Sep 2010 10:22:28 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Rails]]></category> <category><![CDATA[gem]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[rails]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=139</guid> <description><![CDATA[Lately I&#8217;ve changed computer to new one and I&#8217;ve lost my Rails installation. Today I decided to recreate my environment. My computer is behind a HTTP proxy so I&#8217;ve knew that I will have some problems with installing Rails using gem installer. Of course running command didn&#8217;t work. I received following error message: I&#8217;ve created [...]]]></description> <content:encoded><![CDATA[<p>Lately I&#8217;ve changed computer to new one and I&#8217;ve lost my Rails installation. Today I decided to recreate my environment. My computer is behind a HTTP proxy so I&#8217;ve knew that I will have some problems with installing Rails using gem installer.</p><p><span
id="more-139"></span></p><p>Of course running command</p><div
id="wpshdo_7" class="wp-synhighlighter-outer"><div
id="wpshdt_7" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_7"></a><a
id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="dos" style="font-family:monospace;">gem install rails</pre></div></div><p>didn&#8217;t work.</p><p>I received following error message:</p><div
id="wpshdo_8" class="wp-synhighlighter-outer"><div
id="wpshdt_8" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_8"></a><a
id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="dos" style="font-family:monospace;">&gt; gem install rails
ERROR:  http://rubygems.org/ does <a href="http://www.ss64.com/nt/not.html"><span class="kw2">not</span></a> appear to be a repository
ERROR:  Could <a href="http://www.ss64.com/nt/not.html"><span class="kw2">not</span></a> find a valid gem 'rails' <span class="br0">&#40;</span>&gt;= 0<span class="br0">&#41;</span> <a href="http://www.ss64.com/nt/in.html"><span class="kw1">in</span></a> any repository</pre></div></div><p>I&#8217;ve created .gemrc file in my home directory and specified http_proxy option and added following line</p><div
id="wpshdo_9" class="wp-synhighlighter-outer"><div
id="wpshdt_9" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_9"></a><a
id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_9" onClick="javascript:wpsh_code(9)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_9" onClick="javascript:wpsh_print(9)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="dos" style="font-family:monospace;">http_proxy: http://proxy_ip:proxy_port</pre></div></div><p>into it.</p><p>But that didn&#8217;t help. I was a little bit confused because it was the way I did it last time (very long time ago thou).</p><p>I&#8217;ve tried to use -http_proxy in command line but gem could not understand this option (why, if documentation say it is a proper way to configure proxy?!). Then I&#8217;ve tried last option mentioned in documentation (-p as a shortcut of -http_proxy option) and, surprisingly, it worked.</p><p>I have to remember that: use</p><div
id="wpshdo_10" class="wp-synhighlighter-outer"><div
id="wpshdt_10" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_10"></a><a
id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_10" onClick="javascript:wpsh_code(10)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_10" onClick="javascript:wpsh_print(10)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="dos" style="font-family:monospace;">gem install -p http://proxy_ip:proxy_port rails</pre></div></div><p>next time.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/programming/rails/using-gem-from-behind-a-proxy/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to remove envelope from Indicator applet?</title><link>http://whileitcompiles.com/ubuntu/how-to-remove-envelope-from-indicator-applet/</link> <comments>http://whileitcompiles.com/ubuntu/how-to-remove-envelope-from-indicator-applet/#comments</comments> <pubDate>Tue, 08 Jun 2010 17:44:54 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[indicator applet]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=130</guid> <description><![CDATA[In Ubuntu 10.04 Indicator applet replaced separate applets in taskbar (e.g. sound applet, battery applet, network applet). Its main purpose was to unify messages being shown to user. Personally, I do not like this solution. First of all I can not switch back to previously used applets. There is also problem with space between icons [...]]]></description> <content:encoded><![CDATA[<p>In Ubuntu 10.04 Indicator applet replaced separate applets in taskbar (e.g. sound applet, battery applet, network applet). Its main purpose was to unify messages being shown to user.</p><p><span
id="more-130"></span>Personally, I do not like this solution. First of all I can not switch back to previously used applets. There is also problem with space between icons in applet. For example distance between other elements in my taskbar (e.g. clock and Pidgin icon) is less than between indicator applet icons (which looks strange on my desktop). Moreover I use only web interface to my Gmail account so I don&#8217;t need envelope icon for Evolution/Thunderbird events. Having unused icon in taskbar is irritating, but I managed to remove it.</p><p>I executed following command:</p><div
id="wpshdo_11" class="wp-synhighlighter-outer"><div
id="wpshdt_11" class="wp-synhighlighter-expanded"><table
border="0" width="100%"><tr><td
align="left" width="80%"><a
name="#codesyntax_11"></a><a
id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Code block</a></td><td
align="right"><a
href="#codesyntax_11" onClick="javascript:wpsh_code(11)" title="Show code only"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a
href="#codesyntax_11" onClick="javascript:wpsh_print(11)" title="Print code"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a
href="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img
border="0" style="border: 0 none" src="http://whileitcompiles.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div
id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">aptitude</span> purge indicator-me indicator-messages gwibber</pre></div></div><p>Then I removed Indicator applet from by taskbar and then added it once again.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/ubuntu/how-to-remove-envelope-from-indicator-applet/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Speed Dial for Chrome browser</title><link>http://whileitcompiles.com/tools/speed-dial-for-chrome-browser/</link> <comments>http://whileitcompiles.com/tools/speed-dial-for-chrome-browser/#comments</comments> <pubDate>Tue, 18 May 2010 18:00:40 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Tools]]></category> <category><![CDATA[Chrome]]></category> <category><![CDATA[extensions]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=122</guid> <description><![CDATA[Today I discovered cool extension for Chrome browser: Speed Dial. It replaces new tab page with your predefined visual bookmarks. Pretty straightforward but can save a lot of time entering once again Gmail or Google Reader address in browser.]]></description> <content:encoded><![CDATA[<p>Today I discovered cool extension for Chrome browser: <a
title="Speed Dial" href="https://chrome.google.com/extensions/detail/dgpdioedihjhncjafcpgbbjdpbbkikmi#" target="_blank" rel="nofollow">Speed Dial</a>.</p><p><span
id="more-122"></span><a
href="http://whileitcompiles.com/wp-content/uploads/2010/05/Speed-Dial.png"><img
class="aligncenter size-medium wp-image-123" title="Speed Dial" src="http://whileitcompiles.com/wp-content/uploads/2010/05/Speed-Dial-300x240.png" alt="" width="300" height="240" /></a><br
/> It  replaces new tab page with your predefined visual bookmarks. Pretty  straightforward but can save a lot of time entering once again Gmail or  Google Reader address in browser.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/tools/speed-dial-for-chrome-browser/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Setting window buttons layout in Ubuntu 10.04</title><link>http://whileitcompiles.com/ubuntu/setting-window-buttons-layout-in-ubuntu-10-04/</link> <comments>http://whileitcompiles.com/ubuntu/setting-window-buttons-layout-in-ubuntu-10-04/#comments</comments> <pubDate>Sun, 25 Apr 2010 19:27:35 +0000</pubDate> <dc:creator>lukas</dc:creator> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Ubuntu 10.04]]></category> <guid
isPermaLink="false">http://whileitcompiles.com/?p=113</guid> <description><![CDATA[Today I&#8217;ve upgraded Ubuntu on my laptop to 10.04 version release candidate. Update went smoothly. After 10 minutes I had all packages downloaded. After another 20-30 minutes all packages were installed and after restart I had new Ubuntu release installed. The only thing that was annoying me was a default window button layout. Minimize, maximize [...]]]></description> <content:encoded><![CDATA[<p>Today I&#8217;ve upgraded Ubuntu on my laptop to 10.04 version release candidate. Update went smoothly. After 10 minutes I had all packages downloaded. After another 20-30 minutes all packages were installed and after restart I had new Ubuntu  release installed.</p><p>The only thing that was annoying me was a default window button layout. Minimize, maximize and close buttons were moved from right to left.</p><p><span
id="more-113"></span></p><p><a
href="http://whileitcompiles.com/wp-content/uploads/2010/04/Ubuntu-10.04.jpg"><img
class="aligncenter size-medium wp-image-114" title="Ubuntu 10.04" src="http://whileitcompiles.com/wp-content/uploads/2010/04/Ubuntu-10.04-300x226.jpg" alt="Buttons position in Ubuntu 10.04" width="300" height="226" /></a></p><p>After a minute Googling for solution I found it. I had to run gconf-editor (ALT+F2 to open Run command window) and then change settings for apps-&gt;metacity-&gt;general-&gt;button layout property from</p><p><strong><em>maximize, minimize, close:</em></strong></p><p>to</p><p><strong><em>:minimize,maximize,close</em></strong></p><p>Colon position is most important: it determines buttons position in window bar.</p><p>Changes were applied immediately and I had good, old buttons layout.</p> ]]></content:encoded> <wfw:commentRss>http://whileitcompiles.com/ubuntu/setting-window-buttons-layout-in-ubuntu-10-04/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Dynamic page generated in 2.212 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-03-13 10:40:17 -->
