<?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>Web-Programming Notes</title>
	<atom:link href="http://smartcoding.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://smartcoding.wordpress.com</link>
	<description>PHP, MySQL, JavaScript and CSS</description>
	<lastBuildDate>Wed, 25 Jan 2012 18:46:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='smartcoding.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/615a3dbdedf6ef840e5f1e0837b56566?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Web-Programming Notes</title>
		<link>http://smartcoding.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://smartcoding.wordpress.com/osd.xml" title="Web-Programming Notes" />
	<atom:link rel='hub' href='http://smartcoding.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SSH: .ssh and authorized_keys permissions</title>
		<link>http://smartcoding.wordpress.com/2012/01/25/ssh-ssh-and-authorized_keys-permissions/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/25/ssh-ssh-and-authorized_keys-permissions/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 18:46:51 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh authorized]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=511</guid>
		<description><![CDATA[You should set following permissions in order to be able to login via ssh: $ cd ~ $ chmod 700 .ssh $ chmod 600 .ssh/authorized_keys<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=511&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You should set following permissions in order to be able to login via ssh:</p>
<pre>
$ cd ~
$ chmod 700 .ssh
$ chmod 600 .ssh/authorized_keys
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/511/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=511&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/25/ssh-ssh-and-authorized_keys-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>git: keep .git outside the working tree dir</title>
		<link>http://smartcoding.wordpress.com/2012/01/25/git-keep-git-outside-the-working-tree-dir/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/25/git-keep-git-outside-the-working-tree-dir/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 11:42:59 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[git work tree]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=509</guid>
		<description><![CDATA[When initializing/cloning: $ git --work-tree=htdocs --git-dir=repo init<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=509&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When initializing/cloning:</p>
<pre>$ git --work-tree=htdocs --git-dir=repo init</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/509/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=509&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/25/git-keep-git-outside-the-working-tree-dir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux: remove path from $PATH</title>
		<link>http://smartcoding.wordpress.com/2012/01/25/linux-remove-path-from-path/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/25/linux-remove-path-from-path/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 10:37:53 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[remove from $PATH]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=507</guid>
		<description><![CDATA[PATH=$(echo $PATH &#124;sed 's/\/blah\/wrongdir//')<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=507&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>PATH=$(echo $PATH |sed 's/\/blah\/wrongdir//')</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=507&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/25/linux-remove-path-from-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux: find inaccessible route in $PATH</title>
		<link>http://smartcoding.wordpress.com/2012/01/25/linux-find-inaccessible-route-in-path/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/25/linux-find-inaccessible-route-in-path/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 10:34:31 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[path inaccessible]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=505</guid>
		<description><![CDATA[echo $PATH &#124;tr ':' '\n' &#124;xargs ls -ld<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=505&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>echo $PATH |tr ':' '\n' |xargs ls -ld</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=505&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/25/linux-find-inaccessible-route-in-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL: offset</title>
		<link>http://smartcoding.wordpress.com/2012/01/24/mysql-offset/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/24/mysql-offset/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 15:26:29 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql offset]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=500</guid>
		<description><![CDATA[Unfortunately looks like there is no other way rather than doing so: SELECT * FROM table LIMIT 15, 18446744073709551615 if you need to select all entries except for first 15.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=500&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Unfortunately looks like there is no other way rather than doing so:</p>
<pre>SELECT * FROM table LIMIT 15, 18446744073709551615</pre>
<p>if you need to select all entries except for first 15.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/500/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/500/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/500/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=500&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/24/mysql-offset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP: access array from inside double quotes</title>
		<link>http://smartcoding.wordpress.com/2012/01/24/access-array-from-inside-double-quotes/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/24/access-array-from-inside-double-quotes/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 15:14:34 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[array double quotes]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/2012/01/24/mystring-hello-us/</guid>
		<description><![CDATA[<blockquote>$myString = "Hello, {$users[1]['firstname']}! How r u?";</blockquote>
PHP: access array from inside double quotes<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=496&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>
<pre>$myString = "Hello, {$users[1]['firstname']}! How r u?";</pre>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/496/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=496&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/24/access-array-from-inside-double-quotes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>VIM: text indent multiple times</title>
		<link>http://smartcoding.wordpress.com/2012/01/15/vim-text-indent-multiple-times/</link>
		<comments>http://smartcoding.wordpress.com/2012/01/15/vim-text-indent-multiple-times/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 16:52:44 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[multiple indent]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=469</guid>
		<description><![CDATA[Here are few techniques that allows to shift selected text more than once: 1) press ESC press &#8220;v&#8221; to enter visual mode select text SHIFT plus &#8220;&#62;&#8221; twice press &#8220;.&#8221; to repeat last indent 2) press ESC press &#8220;v&#8221; to enter visual mode select text SHIFT plus &#8220;&#62;&#8221; twice press &#8220;g&#8221; then &#8220;v&#8221; and use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=469&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are few techniques that allows to shift selected text more than once:<br />
1)</p>
<blockquote><p>
press ESC<br />
press &#8220;v&#8221; to enter visual mode<br />
select text<br />
SHIFT plus &#8220;&gt;&#8221; twice<br />
press &#8220;.&#8221; to repeat last indent
</p></blockquote>
<p>2)</p>
<blockquote><p>
press ESC<br />
press &#8220;v&#8221; to enter visual mode<br />
select text<br />
SHIFT plus &#8220;&gt;&#8221; twice<br />
press &#8220;g&#8221; then &#8220;v&#8221; and use any indent you require
</p></blockquote>
<p>In order to automate this method add following to your .vimrc file:</p>
<blockquote><p>
vnoremap &lt; &lt;gv<br />
vnoremap &gt; &gt;gv
</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/469/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=469&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2012/01/15/vim-text-indent-multiple-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS: holey element illussion</title>
		<link>http://smartcoding.wordpress.com/2011/12/06/css-holey-element-illussion/</link>
		<comments>http://smartcoding.wordpress.com/2011/12/06/css-holey-element-illussion/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 13:34:21 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[holey element]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=466</guid>
		<description><![CDATA[A small tip: if you assign fixed background to multiple elements (note, this can be body as well), background&#8217;s position will be exactly the same regardless of elements positions. Here is a live example made by Harry Roberts: http://jsfiddle.net/csswizardry/7BXUf/show/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=466&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A small tip: if you assign fixed background to multiple elements (note, this can be body as well), background&#8217;s position will be exactly the same regardless of elements positions.</p>
<p>Here is a live example made by <a href="http://csswizardry.com" title="Harry Roberts">Harry Roberts</a>:<br />
<a href="http://jsfiddle.net/csswizardry/7BXUf/show/">http://jsfiddle.net/csswizardry/7BXUf/show/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/466/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=466&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2011/12/06/css-holey-element-illussion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS: pseudo class :focus in Chrome</title>
		<link>http://smartcoding.wordpress.com/2011/11/29/css-pseudo-class-focus-in-chrome/</link>
		<comments>http://smartcoding.wordpress.com/2011/11/29/css-pseudo-class-focus-in-chrome/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 14:09:10 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css focusable]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=462</guid>
		<description><![CDATA[Just in case you need to add :focus styles to an element and it doesn&#8217;t work in Chrome, try: &#60;a href=&#34;#&#34; tabindex=&#34;0&#34;&#62;Link&#60;/a&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=462&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just in case you need to add :focus styles to an element and it doesn&#8217;t work in Chrome, try:</p>
<pre><code>&lt;a href=&quot;#&quot; tabindex=&quot;0&quot;&gt;Link&lt;/a&gt;</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=462&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2011/11/29/css-pseudo-class-focus-in-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
		<item>
		<title>GIT: update multiple repos/branches at once</title>
		<link>http://smartcoding.wordpress.com/2011/11/23/git-update-multiple-reposbranches-at-once/</link>
		<comments>http://smartcoding.wordpress.com/2011/11/23/git-update-multiple-reposbranches-at-once/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 10:10:56 +0000</pubDate>
		<dc:creator>smartcoding</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[git multiple push]]></category>

		<guid isPermaLink="false">http://smartcoding.wordpress.com/?p=459</guid>
		<description><![CDATA[Just for example, to update two branches at once (for instance, I wanted my repo&#8217;s github pages source look exactly the same as the repo itself) add to .git/config in &#8220;[remote]&#8221; block following: push = +refs/heads/master:refs/heads/gh-pages push = +refs/heads/master:refs/heads/master Now by running `git push` you will update two branches at once. Pretty cool.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=459&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just for example, to update two branches at once (for instance, I wanted my repo&#8217;s github pages source look exactly the same as the repo itself) add to .git/config in &#8220;[remote]&#8221; block following:</p>
<pre><code>push = +refs/heads/master:refs/heads/gh-pages
push = +refs/heads/master:refs/heads/master</code></pre>
<p>Now by running `git push` you will update two branches at once. Pretty cool.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/smartcoding.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/smartcoding.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/smartcoding.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/smartcoding.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/smartcoding.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/smartcoding.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/smartcoding.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/smartcoding.wordpress.com/459/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=smartcoding.wordpress.com&amp;blog=5352669&amp;post=459&amp;subd=smartcoding&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://smartcoding.wordpress.com/2011/11/23/git-update-multiple-reposbranches-at-once/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">smartcoding</media:title>
		</media:content>
	</item>
	</channel>
</rss>
