<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>codissimo!</title>
	<atom:link href="http://codissimo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codissimo.wordpress.com</link>
	<description>code recipes and tech desserts</description>
	<lastBuildDate>Tue, 06 Dec 2011 16:04:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codissimo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>codissimo!</title>
		<link>http://codissimo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codissimo.wordpress.com/osd.xml" title="codissimo!" />
	<atom:link rel='hub' href='http://codissimo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sending data to the clipboard from command line</title>
		<link>http://codissimo.wordpress.com/2011/04/26/sending-data-to-the-clipboard-from-command-line/</link>
		<comments>http://codissimo.wordpress.com/2011/04/26/sending-data-to-the-clipboard-from-command-line/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 02:33:31 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[clipboard]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[oneliner]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=82</guid>
		<description><![CDATA[In several occasions I find myself catting some file and then having to select the entire text with the mouse. If I want to keep my hands on the keyboard, I have to do a vim file, ggVG, &#8220;+y, :q. Well, I found a way to do it faster and nicer simply by piping to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=82&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In several occasions I find myself catting some file and then having to select the entire text with the mouse. If I want to keep my hands on the keyboard, I have to do a <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">vim file</span>, <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">ggVG</span>, <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">&#8220;+y</span>, <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">:q</span>.</p>
<p>Well, I found a way to do it faster and nicer simply by piping to the clipboard, thanks to <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">xclip</span>.</p>
<p>To use it, just install it and configure an alias in your <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">.bashrc</span> file, as follows:</p>
<p><code style="display:block;font-family:Monaco,'Courier New',monospace;background-color:#000;color:#fff;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">$ sudo apt-get install xclip<br />
$ alias clipboard='xclip -selection clipboard'<br />
</code></p>
<p>Then, when you need to do something like configuring your SSH key in GitHub, you just:</p>
<p><code style="display:block;font-family:Monaco,'Courier New',monospace;background-color:#000;color:#fff;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">$ cat ~/.ssh/id_rsa.pub | clipboard<br />
</code></p>
<p>Thanks to <a href="https://twitter.com/#!/anveo">Brian Racer</a> for <a href="http://jetpackweb.com/blog/2009/09/23/pbcopy-in-ubuntu-command-line-clipboard/">this snippet</a>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=82&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2011/04/26/sending-data-to-the-clipboard-from-command-line/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>
	</item>
		<item>
		<title>Enhancing vim for Scala</title>
		<link>http://codissimo.wordpress.com/2011/04/06/enhancing-vim-for-scala/</link>
		<comments>http://codissimo.wordpress.com/2011/04/06/enhancing-vim-for-scala/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 01:19:59 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[indent]]></category>
		<category><![CDATA[scala]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=71</guid>
		<description><![CDATA[You like Scala. You like programming. You like vim. You are happy. Here&#8217;s the 2-line solution to increase your happiness even more: cd ~/.vim svn export --force http://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim . And there you go, nice indent and syntax highlighting support for Scala. Massive thanks to Nico &#8220;@nfmelendez&#8221; Meléndez for pointing this excellent package!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=71&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You like <a href="http://www.scala-lang.org/">Scala</a>. You like <a href="http://myspace.roflposters.com/images/rofl/myspace/1211537159204.jpg.[roflposters.com].myspace.jpg">programming</a>. You like <a href="http://www.youtube.com/watch?v=oKQTMqTj86E">vim</a>. You are <a href="http://www.flickr.com/photos/jesper/252307864/">happy</a>.</p>
<p>Here&#8217;s the 2-line solution to increase your happiness even more:</p>
<p><code style="display:block;font-family:Monaco,'Courier New',monospace;color:#fff;background-color:#000;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">cd ~/.vim<br />
svn export --force http://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/vim .</code></p>
<p>And there you go, nice indent and syntax highlighting support for Scala.</p>
<p>Massive thanks to Nico &#8220;<a href="http://twitter.com/nfmelendez">@nfmelendez</a>&#8221; Meléndez for pointing this excellent package!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=71&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2011/04/06/enhancing-vim-for-scala/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>
	</item>
		<item>
		<title>A &#8220;did you mean&#8221; alternative to the NASCAR problem</title>
		<link>http://codissimo.wordpress.com/2011/04/02/a-did-you-mean-alternative-to-the-nascar-problem/</link>
		<comments>http://codissimo.wordpress.com/2011/04/02/a-did-you-mean-alternative-to-the-nascar-problem/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 22:22:03 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[nascar]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=64</guid>
		<description><![CDATA[I&#8217;ve been playing with an experimental UI for avoiding the NASCAR problem. The main idea is to be more open in the expected input from the user. Nowadays we have several popular identities we use in business cards, e-mail signatures, presentation slides, etc. Depending on what I do like the most, and probably depending on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=64&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with <a href="http://luisfarzati.github.com/smart-identity-resolver-widget/">an experimental UI</a> for avoiding the NASCAR problem. The main idea is to be more open in the expected input from the user.</p>
<p>Nowadays we have several popular identities we use in business cards, e-mail signatures, presentation slides, etc. Depending on what I do like the most, and probably depending on the context as well, I may say I&#8217;m <a href="http://twitter.com/luisfarzati">@luisfarzati</a>. Or <a href="mailto:lfarzati@gmail.com">lfarzati@gmail.com</a>. Or <a href="http://facebook.com/luisfarzati">facebook.com/luisfarzati</a>. Or just find me by <a href="http://www.google.com.ar/search?q=luisfarzati">luisfarzati</a>: it&#8217;s the screen name I use everywhere: <a href="http://linkedin.com/in/luisfarzati">LinkedIn</a>, <a href="http://flickr.com/luisfarzati">Flickr</a>, <a href="http://github.com/luisfarzati">GitHub</a>, and so on.</p>
<p>Most of these services have an open API with a public, limited access that allows anyone to know if there&#8217;s a person registered under a certain username.</p>
<p>Why don&#8217;t we leverage these APIs and let the user input whatever they want to login? If it exists as a valid username out there, we&#8217;ll find it and suggest it.</p>
<p><a href="http://codissimo.files.wordpress.com/2011/04/screenshot.png"><img class="alignnone size-full wp-image-65" title="Screenshot" src="http://codissimo.files.wordpress.com/2011/04/screenshot.png?w=490" alt=""   /></a></p>
<p><a href="http://codissimo.files.wordpress.com/2011/04/screenshot-1.png"><img class="alignnone size-full wp-image-66" title="Screenshot-1" src="http://codissimo.files.wordpress.com/2011/04/screenshot-1.png?w=490" alt=""   /></a></p>
<p>Feel free to try with many combinations. @twittername, facebook.com/name, name@gmail.com, youtube.com/name, WordPress blog URL, Open ID URL, etc.</p>
<p>You can <a href="http://luisfarzati.github.com/smart-identity-resolver-widget/">try the concept demo</a> or get the <a href="https://github.com/luisfarzati/smart-identity-resolver-widget/">source files on GitHub</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=64&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2011/04/02/a-did-you-mean-alternative-to-the-nascar-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>

		<media:content url="http://codissimo.files.wordpress.com/2011/04/screenshot.png" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>

		<media:content url="http://codissimo.files.wordpress.com/2011/04/screenshot-1.png" medium="image">
			<media:title type="html">Screenshot-1</media:title>
		</media:content>
	</item>
		<item>
		<title>Enhancing vim as an HTML/JS/CSS/PHP editor</title>
		<link>http://codissimo.wordpress.com/2011/01/11/enhancing-vim-as-an-htmljscssphp-editor/</link>
		<comments>http://codissimo.wordpress.com/2011/01/11/enhancing-vim-as-an-htmljscssphp-editor/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 10:51:25 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=31</guid>
		<description><![CDATA[I have enough of heavyweight, sometimes cluttered IDEs. I don&#8217;t know, maybe I&#8217;m getting too old-school or something, but I find myself working faster with plain old vim. Of course, over time I have been optimizing the editor with the addition of several plugins and customization of its settings. Here is my current vim setup [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=31&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have enough of heavyweight, sometimes cluttered IDEs. I don&#8217;t know, maybe I&#8217;m getting too old-school or something, but I find myself working faster with plain old vim.</p>
<p>Of course, over time I have been optimizing the editor with the addition of several plugins and customization of its settings.</p>
<p>Here is my current vim setup focused on HTML, JS, CSS and PHP programming:</p>
<ol>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1658">Install NERDTree<br />
</a>This gives you a nice tree view of the filesystem.</li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1839">Install IndentAnything<br />
</a>Name says it all.</li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1840">Install JavaScript indentation<br />
</a>A nice JS indentation for IndentAnything</li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=2729">Install JSLint<br />
</a>Validates the code for compilation errors as well as styling and informs you of this, almost in real-time!</li>
</ol>
<p>You might want to throw in some visual enhancements as well. The <a href="http://www.vim.org/scripts/script.php?script_id=2175">railscasts color scheme</a> along with the <a href="http://sourceforge.net/projects/vimplugins/files/">Monaco font</a> are a pretty good combination.</p>
<p>Finally, my <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">.vimrc</span> file:</p>
<p><code style="display:block;font-family:dejarip-1,dejarip-2,Monaco,'Courier New',monospace;color:#fff;background-color:#000;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">"Keyboard mappings<br />
map :NERDTreeToggle</code></p>
<p><code style="display:block;font-family:dejarip-1,dejarip-2,Monaco,'Courier New',monospace;color:#fff;background-color:#000;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">"FileType support<br />
set filetype=on<br />
filetype plugin on<br />
filetype indent on</p>
<p>"Color scheme and font<br />
autocmd FileType javascript,html,css,php colorscheme railscasts<br />
autocmd FileType javascript,html,css,php set gfn=Monaco\ 10</p>
<p>"Hightlight current line<br />
autocmd FileType javascript,html,css,php autocmd InsertLeave * set nocursorline<br />
autocmd FileType javascript,html,css,php autocmd InsertEnter * set cursorline<br />
autocmd FileType javascript,html,css,php highlight CursorLine ctermbg=40 cterm=NONE</p>
<p>"Indentation<br />
autocmd FileType javascript,html,css,php set ai<br />
autocmd FileType javascript,html,css,php set sw=2<br />
autocmd FileType javascript,html,css,php set ts=2<br />
autocmd FileType javascript,html,css,php set sts=2<br />
autocmd FileType javascript,css,php set textwidth=79</p>
<p>"Enable autocompletion<br />
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS<br />
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags<br />
autocmd FileType css set omnifunc=csscomplete#CompleteCSS</p>
<p>"Enable line numbers<br />
autocmd FileType javascript,css,php set number</p>
<p></code></p>
<p><code style="display:block;font-family:dejarip-1,dejarip-2,Monaco,'Courier New',monospace;color:#fff;background-color:#000;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">"Enable incremental search<br />
autocmd FileType javascript,html,css,php set incsearch</code></p>
<p>And that&#8217;s it. Please feel free to post your suggestions!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=31&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2011/01/11/enhancing-vim-as-an-htmljscssphp-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>
	</item>
		<item>
		<title>One-liner for downloading and extracting a tar.gz</title>
		<link>http://codissimo.wordpress.com/2010/11/18/one-liner-for-downloading-and-extracting-a-tar-gz/</link>
		<comments>http://codissimo.wordpress.com/2010/11/18/one-liner-for-downloading-and-extracting-a-tar-gz/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 00:42:46 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[oneliner]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=10</guid>
		<description><![CDATA[I&#8217;m not the typical Linux one-linerd, but there are some that I find very useful. Why execute 3 commands to download a tar.gz file, extract its contents and delete the archive, when actually there&#8217;s no need to store the archive physically (you only care about its contents) and you could save one command in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=10&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not the typical Linux one-linerd, but there are some that I find very useful.</p>
<p>Why execute 3 commands to download a tar.gz file, extract its contents and delete the archive, when actually there&#8217;s no need to store the archive physically (you only care about its contents) and you could save one command in the process?</p>
<p>So that&#8217;s why I love<br />
<code style="display:block;font-family:Monaco,'Courier New',monospace;background-color:#000;color:#fff;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">wget -O- &lt;url&gt; | tar zxv</code><br />
I tried the same for zip files but it doesn&#8217;t work. According to man unzip:</p>
<blockquote style="background:#f6fef9;border-left:3px solid #333;margin:8px 14px 14px;padding:8px 12px;"><p>Archives read from standard input are not yet supported, except with funzip (and then only the first member of the archive can be extracted).</p></blockquote>
<p>If anyone knows a workaround, it will be very appreciated!</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=10&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2010/11/18/one-liner-for-downloading-and-extracting-a-tar-gz/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>
	</item>
		<item>
		<title>Facebook is the new Web</title>
		<link>http://codissimo.wordpress.com/2010/11/09/facebook-is-the-new-web/</link>
		<comments>http://codissimo.wordpress.com/2010/11/09/facebook-is-the-new-web/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 21:20:21 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=53</guid>
		<description><![CDATA[Meanwhile, in the future&#8230; Open the lid of your Facebook laptop (which is a netbook, but with Facebook OS), or turn on your Facebook phone, or put channel Facebook in your Smart TV. Do everything (in Facebook, of course). Done. Really. Name one thing you can&#8217;t get on Facebook: E-mail. Oh, wait. Chris Messina wrote an excellent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=53&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Meanwhile, in the future&#8230;</p>
<p>Open the lid of your Facebook laptop (which is a netbook, but with Facebook OS), or turn on your Facebook phone, or put channel Facebook in your Smart TV. Do everything (in Facebook, of course). Done.</p>
<p>Really. Name one thing you can&#8217;t get on Facebook: E-mail. <a href="http://techcrunch.com/2010/02/05/facebooks-project-titan-a-full-featured-webmail-product/">Oh, wait</a>.</p>
<p>Chris Messina <a href="http://factoryjoe.com/blog/2009/11/16/the-death-of-the-url/">wrote an excellent post</a> about the death of the URL. I think I would go a step further and think about the death of the Web. No bookmarks. No searching. Everybody wants whatever is relevant now: if your website <a href="http://techcrunch.com/2010/04/28/50000-websites-have-already-integrated-facebooks-new-social-plugins/">doesn&#8217;t show up among the conversations</a>, it probably doesn&#8217;t worth a visit. Period.</p>
<p>Sitting in front of your computer and opening Facebook is the new sitting in front of your TV and zapping through the channels.</p>
<p>Where Open ID failed, Facebook Connect succeeded. Where AOL failed, Facebook succeeded.</p>
<p>I wouldn&#8217;t be surprised to see Facebook launching a browser next year.</p>
<p><strong>Update:</strong> according to comScore, <a href="http://www.mediapost.com/publications/?fa=Articles.showArticle&amp;art_aid=135476">Facebook took the lead in time spent</a>:</p>
<p><img class="alignnone" title="comScore chart" src="http://m.mediapost.com/publications/13/comScore-chart-600.jpg" alt="" width="476" height="350" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=53&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2010/11/09/facebook-is-the-new-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>

		<media:content url="http://m.mediapost.com/publications/13/comScore-chart-600.jpg" medium="image">
			<media:title type="html">comScore chart</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 10.10 suspend/resume issue</title>
		<link>http://codissimo.wordpress.com/2010/11/03/ubuntu-10-10-suspendresume-issue/</link>
		<comments>http://codissimo.wordpress.com/2010/11/03/ubuntu-10-10-suspendresume-issue/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 22:11:35 +0000</pubDate>
		<dc:creator>Luis Farzati</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[suspend]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://codissimo.wordpress.com/?p=6</guid>
		<description><![CDATA[Tired of virtualboxing Linux for development (nothing wrong with VirtualBox, though) I&#8217;ve decided to dual-boot with Ubuntu 10.10 desktop edition. Everything was just fine until I close the lid and had some lunch. When I came back I found out that Ubuntu was booting from the start. I had it fixed by adding the following [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=6&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tired of virtualboxing Linux for development (nothing wrong with VirtualBox, though) I&#8217;ve decided to dual-boot with Ubuntu 10.10 desktop edition. Everything was just fine until I close the lid and had some lunch. When I came back I found out that Ubuntu was booting from the start.</p>
<p>I had it fixed by adding the following option to <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">GRUB_CMDLINE_LINUX</span> in the <span style="font-family:Monaco,'Courier New',monospace;border:1px solid #eee;padding:2px;">/etc/default/grub</span> file:<br />
<code style="display:block;font-family:Monaco,'Courier New',monospace;background-color:#000;color:#fff;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">GRUB_CMDLINE_LINUX="acpi_sleep=nonvs"</code><br />
Then I had to update grub by executing<br />
<code style="display:block;font-family:Monaco,'Courier New',monospace;background-color:#000;color:#fff;border-left:2px solid #69c;margin:6px 14px;padding:4px 8px;">sudo update-grub</code><br />
And finally, had to restart Ubuntu in order to get the new boot configuration.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codissimo.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codissimo.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codissimo.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codissimo.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codissimo.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codissimo.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codissimo.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codissimo.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codissimo.wordpress.com&amp;blog=21572348&amp;post=6&amp;subd=codissimo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codissimo.wordpress.com/2010/11/03/ubuntu-10-10-suspendresume-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c38d413c4732118e99f1a98ba2ee2a61?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Lufo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
