<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>un-popularly known as srivatsa viswanathan, sysadmin at bitly

email: sri [dot] umd [at] gmail [dot] com
| twitter | github | fb | linkedin |  foursquare | bitly |I have a few friendskeisha hartley - designer, fellow nerd



  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-27668188-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</description><title>sricola</title><generator>Tumblr (3.0; @sricola)</generator><link>http://b.sricola.com/</link><item><title>bitly blog: Time Is On Your Side</title><description>&lt;a href="http://blog.bitly.com/post/22663850994/time-is-on-your-side"&gt;bitly blog: Time Is On Your Side&lt;/a&gt;: &lt;p&gt;&lt;a class="tumblr_blog" href="http://blog.bitly.com/post/22663850994/time-is-on-your-side" target="_blank"&gt;bitly&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Did you see those silly cats on Tumblr, that breaking news on Twitter, and those photos of your friend’s kids on Facebook? Different social networks have their own distinct personalities. Bitly links are shared across all social networking services, giving us a unique viewpoint on how these…&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://b.sricola.com/post/22664132146</link><guid>http://b.sricola.com/post/22664132146</guid><pubDate>Tue, 08 May 2012 15:13:02 -0400</pubDate></item><item><title>bitly blog: Race, Guns and Attention</title><description>&lt;a href="http://blog.bitly.com/post/21914399887/race-guns-and-attention"&gt;bitly blog: Race, Guns and Attention&lt;/a&gt;: &lt;p&gt;&lt;a class="tumblr_blog" href="http://blog.bitly.com/post/21914399887/race-guns-and-attention" target="_blank"&gt;bitly&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;On February 26th, Trayvon Martin was shot by George Zimmerman in Sanford, FL. Martin, 17, was walking home after purchasing a snack from a local convenience store.&lt;/p&gt;
&lt;p&gt;Recently, Bitly &lt;a href="http://buswk.co/KeUUFn" target="_blank"&gt;collaborated with Bloomberg Businessweek&lt;/a&gt; on a visualization showing how the media’s coverage of the shooting went…&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://b.sricola.com/post/21961565708</link><guid>http://b.sricola.com/post/21961565708</guid><pubDate>Sat, 28 Apr 2012 01:08:19 -0400</pubDate></item><item><title>word: Metrics - Building Clickatron</title><description>&lt;a href="http://word.bitly.com/post/21721687297/clickatron"&gt;word: Metrics - Building Clickatron&lt;/a&gt;: &lt;p&gt;&lt;a class="tumblr_blog" href="http://word.bitly.com/post/21721687297/clickatron" target="_blank"&gt;wordbitly&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;One of the core product features of bitly has always been metrics. Unlike tools like google analytics, bitly metrics have always been a way to gather website metrics when you don’t control the website. Want metrics for a book you wrote on Amazon? Use a bitly link. Want metrics for a blog post? You…&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://b.sricola.com/post/21721821588</link><guid>http://b.sricola.com/post/21721821588</guid><pubDate>Tue, 24 Apr 2012 13:22:24 -0400</pubDate></item><item><title>Hearts entangled. #urbanspeedbumps (Taken with instagram)</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m2u9p8jMsQ1r9zj8yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Hearts entangled. #urbanspeedbumps (Taken with &lt;a href="http://instagr.am" target="_blank"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://b.sricola.com/post/21505820870</link><guid>http://b.sricola.com/post/21505820870</guid><pubDate>Sat, 21 Apr 2012 12:55:56 -0400</pubDate><category>urbanspeedbumps</category></item><item><title>my month in bash history</title><description>&lt;p&gt;Inspired by bitly&amp;#8217;s own Jehiah (&lt;a href="http://bit.ly/yH1Dcm" target="_self"&gt;Jehiah - 2011 Personal Report&lt;/a&gt;) , I set out to make some sort of personal report myself.&lt;/p&gt;
&lt;p&gt;At the beginning of february, I decided to lengthen the history contained in my bash_history. Doing this is simple enough, edit your&lt;/p&gt;
&lt;p&gt;&lt;code&gt; ~/.bash_profile &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;or if you are on a linux machine&lt;/p&gt;
&lt;p&gt;&lt;code&gt;~/.bashrc &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;to set&lt;/p&gt;
&lt;p&gt;&lt;code&gt;HIST_SIZE=&amp;lt;insert large number!&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Once that was done, I went about my month, doing my thing. A couple of days ago, i decided to compile this data into something meaningful. Something visual. &lt;/p&gt;
&lt;p&gt;I parsed my bash history by running &amp;#8230;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;cat ~/.bash_history | awk '{print $1}' |  sort | uniq -c&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;which I fed into a graphing utility to produce &amp;#8230;&lt;/p&gt;
&lt;p align="center"&gt;&lt;a href="http://sricola.com/bash_history.html" target="_blank"&gt;&lt;img align="middle" alt="month in bash history" height="284" src="http://f.cl.ly/items/0e112x1I1F0o162o062M/Screen%20Shot%202012-03-12%20at%2012.27.03%20AM.png" width="500"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p align="center"&gt;(click the image to get a more interactive version of the chart)&lt;/p&gt;</description><link>http://b.sricola.com/post/21428195306</link><guid>http://b.sricola.com/post/21428195306</guid><pubDate>Fri, 20 Apr 2012 04:14:00 -0400</pubDate></item><item><title>SecondMarket Engineering Blog: Bye Bye SVN, Hello Git. </title><description>&lt;a href="http://engineering.secondmarket.com/post/21209487839/bye-bye-svn-hello-git"&gt;SecondMarket Engineering Blog: Bye Bye SVN, Hello Git. &lt;/a&gt;: &lt;p&gt;&lt;a class="tumblr_blog" href="http://engineering.secondmarket.com/post/21209487839/bye-bye-svn-hello-git" target="_blank"&gt;secondmarket-eng&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A couple of months ago I asked an engineer to create a branch for a particular feature and merge it back to the main development branch when it was ready. I could see the disdain in his face as he looked at me as if I had asked him to do something obnoxious. And I had. SVN was our source control…&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://b.sricola.com/post/21211698576</link><guid>http://b.sricola.com/post/21211698576</guid><pubDate>Mon, 16 Apr 2012 11:00:18 -0400</pubDate></item><item><title>Taken with instagram</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m27ehtKE8y1r9zj8yo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Taken with &lt;a href="http://instagr.am" target="_blank"&gt;instagram&lt;/a&gt;&lt;/p&gt;</description><link>http://b.sricola.com/post/20770006026</link><guid>http://b.sricola.com/post/20770006026</guid><pubDate>Mon, 09 Apr 2012 04:34:40 -0400</pubDate></item><item><title>Hate the 3D, glass dock of Mac OS - this one liner will solve that for you.</title><description>&lt;p&gt;Would you rather look at this &amp;#8230; &lt;/p&gt;
&lt;p&gt;&lt;img alt="2D Mac OS Dock" height="69" src="http://f.cl.ly/items/1N2g0g1j0l3v3d3G3c0E/Screen%20Shot%202012-04-03%20at%206.56.01%20PM.png" width="383"/&gt;&lt;/p&gt;
&lt;p&gt;or &amp;#8230; &lt;/p&gt;
&lt;p&gt;&lt;img alt="3D Dock" height="61" src="http://f.cl.ly/items/1G0F3i2Y0S1D3Q3J0I3W/Screen%20Shot%202012-04-03%20at%206.56.51%20PM.png" width="402"/&gt;&lt;/p&gt;
&lt;p&gt;when it comes to looking at your dock? &lt;/p&gt;
&lt;p&gt;If you are anything like me, you probably hate the 3Dimensional, glossy dock that Mac OS ships with. Fortunately, the former version is still available using this one liner.&lt;/p&gt;
&lt;p&gt;Open Applications-&amp;gt;Terminal.app and paste in this line, and hit enter.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;defaults write com.apple.dock no-glass -boolean YES; killall Dock&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To revert back to the ugly 3Dimented, glossy dock, merely paste the following line, followed by, you guessed it, enter&lt;/p&gt;
&lt;p&gt;&lt;code&gt;defaults write com.apple.dock no-glass -boolean NO; killall Dock&lt;/code&gt;&lt;/p&gt;</description><link>http://b.sricola.com/post/20432326807</link><guid>http://b.sricola.com/post/20432326807</guid><pubDate>Tue, 03 Apr 2012 19:01:00 -0400</pubDate><category>macos</category><category>lion</category><category>dock</category><category>apple</category><category>macosx</category><category>snowleopard</category><category>tweaks</category><category>leopard</category></item><item><title>My Photo Stream</title><description>&lt;p&gt;I like taking photos. I am not too good at it and stick to just using my phone (which has a pretty good darn camera). But I take decent ones.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://p.sricola.com" target="_blank"&gt;p.sricola.com&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://b.sricola.com/post/20091002518</link><guid>http://b.sricola.com/post/20091002518</guid><pubDate>Wed, 28 Mar 2012 20:43:53 -0400</pubDate><category>photo</category><category>stream</category></item><item><title>amazon ec2 tools - java.net.SocketException: Network Unreachable</title><description>&lt;p&gt;If you try running Amazon&amp;#8217;s ec2 tools and recieve the following error, you are in the same boat I was in 4 hours ago. &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;java.net.SocketException: Network Unreachable&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The problem is that Java throws that exception when you run anything network related on a machine that has&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/sbin/sysctl -w net.ipv6.bindv6only=1&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;&lt;br/&gt; Set the following environment variable before you run any of the ec2 tools&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;EC2_JVM_ARGS=-Djava.net.preferIPv4Stack=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Credit to Dennis Kubes for helping figure this out - &lt;a href="https://twitter.com/denniskubes" target="_blank"&gt;@denniskubes&lt;/a&gt;&lt;/p&gt;</description><link>http://b.sricola.com/post/19701978173</link><guid>http://b.sricola.com/post/19701978173</guid><pubDate>Wed, 21 Mar 2012 19:21:14 -0400</pubDate><category>ec2</category><category>java</category><category>ec2tools</category><category>aws</category></item><item><title>use your android phone as a remote audio receiver</title><description>&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;: You have great music on your computer, and a great receiver and speakers. (where&amp;#8217;s the problem sri?) They are not in the same room, or not even on the same floor.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: You have an android phone, wifi and a respectable IQ to follow along&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;: Turns out, there is an app called &amp;#8216;&lt;a href="http://l.sricola.com/x0eN5W" target="_blank"&gt;AirBubble&lt;/a&gt;&amp;#8217; that you can install on your Android phone that makes it listen for incoming streams of audio (much like how Apple&amp;#8217;s &lt;a href="http://www.apple.com/itunes/airplay/" target="_blank"&gt;AirPlay&lt;/a&gt; works)&lt;/p&gt;
&lt;p&gt;After firing up AirBubble on your phone, go to your Mac, fire up iTunes, go to the bottom right and you should see your AirBubble device show up! Much like the pic below&amp;#8230;&lt;/p&gt;
&lt;p&gt;&lt;img align="middle" src="http://cl.ly/1x1k290t1S3z2w2V0x0B/Screen%20Shot%202012-02-26%20at%201.37.19%20PM.png"/&gt;&lt;/p&gt;
&lt;p&gt;Now, just plug in anything with a 3.5mm headphone jack into your phone and you are done! psst. you can have as many AirBubble devices to stream to as you would like. :)&lt;/p&gt;</description><link>http://b.sricola.com/post/18326750940</link><guid>http://b.sricola.com/post/18326750940</guid><pubDate>Sun, 26 Feb 2012 13:40:00 -0500</pubDate><category>android</category><category>mac</category><category>itunes</category></item><item><title>bash copy to clipboard</title><description>&lt;p&gt;Scenario: You have written a really handy and useful bash script that does the wonders and parses the world to give you some great bit of information. This script is so useful that you constantly run it all the time. Copy&amp;#8217;ing and Pasting the output has become your hobby.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Mac OS X:&lt;/strong&gt; Let `pbcopy` save you. Just redirect your output to pbcopy (a built in MacOS command) and your contents go into the clipboard, ready for you to paste away. For example,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;whoami | pbcopy&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;will copy the output of the command `whoami` into the clipboard :) Psst. There is something called `pbpaste` as well. And it does, well you guessed it. Have fun.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux Users: &lt;/strong&gt;If you have X installed (I know I lost 75% of the readers right there), `xsel` does the same is a slightly ugly manner.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;whoami | &lt;span&gt;xsel &amp;#8212;clipboard &amp;#8212;input&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://b.sricola.com/post/16982064923</link><guid>http://b.sricola.com/post/16982064923</guid><pubDate>Fri, 03 Feb 2012 13:09:00 -0500</pubDate><category>mac</category><category>clipboard</category><category>linux</category><category>copy</category><category>oneliner</category></item><item><title>[Mac App] Display CPU, Memory, Network and Disk usage in the Mac OSX status bar</title><description>&lt;p&gt;Ever wanted to see what your CPU, Memory, Network and Disk usage are? In a Jiffy? Like this.&lt;/p&gt;
&lt;p&gt;&lt;img align="middle" src="http://cl.ly/0T0A062H3C1r3N0r3C1l/Screen%20Shot%202012-01-25%20at%2012.44.11%20PM.png"/&gt;&lt;/p&gt;
&lt;p&gt;I used to use a tool called iStat Menus (&lt;a href="http://bjango.com/mac/istatmenus/" target="_blank"&gt;&lt;a href="http://bjango.com/mac/istatmenus/" target="_blank"&gt;http://bjango.com/mac/istatmenus/&lt;/a&gt;&lt;/a&gt;) which used to be free. Unfortunately for us, the followed the Growl way of doing things and suddenly went to a non-free, pay for model.&lt;/p&gt;
&lt;p&gt;I recently stumbled upon this app called MenuMeters (&lt;a href="http://www.ragingmenace.com/software/menumeters" target="_blank"&gt;&lt;a href="http://www.ragingmenace.com/software/menumeters" target="_blank"&gt;http://www.ragingmenace.com/software/menumeters&lt;/a&gt;&lt;/a&gt;) that pretty much does the same and is free. Open Source++ :)&lt;/p&gt;
&lt;p&gt;Download Link(via c|net): &lt;a href="http://l.sricola.com/yqE90n" target="_blank"&gt;&lt;a href="http://l.sricola.com/yqE90n" target="_blank"&gt;http://l.sricola.com/yqE90n&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://b.sricola.com/post/16471023406</link><guid>http://b.sricola.com/post/16471023406</guid><pubDate>Wed, 25 Jan 2012 12:51:00 -0500</pubDate><category>mac</category><category>apple</category><category>osx</category><category>app</category></item><item><title>bash autocomplete for SSH</title><description>&lt;p&gt;If you are like me, and you SSH to machines through out the day, you want this. Ok. You __need__ this.&lt;/p&gt;
&lt;p&gt;The following one liner, parses your .bash_history file and attempts to autocomplete the host you are trying to SSH to. Add this line to your .bash_profile/.bashrc file.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;complete -W "$(echo $(grep '^ssh ' .bash_history | sort -u | sed 's/^ssh //'))" ssh&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Of course the lookup is limited to machines you have already SSH’d to. But whatevs, it __will__ save you time and keystrokes. Time which you could use to watch re-runs of My Little Pony.&lt;/p&gt;
&lt;p&gt;&lt;iframe frameborder="0" height="315" src="http://www.youtube.com/embed/DLTZctTG6cE" width="560"&gt;&lt;/iframe&gt;&lt;/p&gt;</description><link>http://b.sricola.com/post/16174981053</link><guid>http://b.sricola.com/post/16174981053</guid><pubDate>Fri, 20 Jan 2012 11:42:00 -0500</pubDate><category>autocomplete</category><category>bash</category><category>linux</category><category>ssh</category><category>oneliner</category></item><item><title>SSH as root on EC2 Ubuntu AMIs (EDIT: works on Amazon Official AMIs as well)</title><description>&lt;p&gt;Ever find yourself wanting to SSH as root into an instance launched with the official Ubuntu EC2 AMI, and you get this?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Please login as the user “ubuntu” rather than the user “root”.&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you know what you are doing and want to SSH as root, follow these steps.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;ssh ubuntu@ (using your private key)&lt;/li&gt;
&lt;li&gt;sudo -s (to become root)&lt;/li&gt;
&lt;li&gt;emacs/vi /root/.ssh/authorized_keys&lt;/li&gt;
&lt;li&gt;delete the lines at the begining of the file that say “COMMAND….” until you get to the words ssh-rsa&lt;/li&gt;
&lt;li&gt;emacs /etc/ssh/sshd_config&lt;/li&gt;
&lt;li&gt;set the variable “PermitRootLogin” to “without-password” (without quotes of course)&lt;/li&gt;
&lt;li&gt;sudo /etc/init.d/sshd restart (bounce sshd)&lt;/li&gt;
&lt;/ul&gt;</description><link>http://b.sricola.com/post/15820813255</link><guid>http://b.sricola.com/post/15820813255</guid><pubDate>Sat, 14 Jan 2012 04:31:00 -0500</pubDate><category>ubuntu</category><category>linux</category><category>ssh</category><category>ec2</category><category>aws</category><category>centos</category></item><item><title>24: It was a very good year!</title><description>&lt;p&gt;I fell in love. Watched the Lion King on Broadway. Booked a flight ticket to Dallas, semi-drunk, came back the next day. Booked a flight ticket to India for 3 days, completely sober, was stuck for 4 months. Drove non-stop for 24 hours to Miami, had to do it all over again on the way back. Played cricket with proper gear for the first time, in upstate NY, of all places. I quit working for a place I loved, I quit before I found another job. Moved out of NYC, only to move back a few weeks later. Said goodbye to my biological father, he did not recognize me on my final visit. I learnt how to drive stick, the proper way.&lt;/p&gt;

&lt;p&gt;&lt;br/&gt;&lt;/p&gt;

&lt;p&gt;I did 72 bus trips, 29 train rides, 13 flights, 2 road crossings into Canada and had numerous love affairs with Interstate 95 -Travelled over 30,000 miles across 6 countries and 3 continents. 413 Foursquare checkins and 548 tweets later, it has been a good darn year.&lt;/p&gt;

&lt;p&gt;&lt;br/&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Swing hard, every single ball, its hard to miss. Love is relative.&lt;/code&gt;&lt;/pre&gt;</description><link>http://b.sricola.com/post/15820773209</link><guid>http://b.sricola.com/post/15820773209</guid><pubDate>Sat, 14 Jan 2012 04:28:00 -0500</pubDate></item></channel></rss>

