bitly blog: Time Is On Your Side

bitly:

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…

bitly blog: Race, Guns and Attention

bitly:

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.

Recently, Bitly collaborated with Bloomberg Businessweek on a visualization showing how the media’s coverage of the shooting went…

word: Metrics - Building Clickatron

wordbitly:

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…

Hearts entangled. #urbanspeedbumps (Taken with instagram)

Hearts entangled. #urbanspeedbumps (Taken with instagram)

my month in bash history

Inspired by bitly’s own Jehiah (Jehiah - 2011 Personal Report) , I set out to make some sort of personal report myself.

At the beginning of february, I decided to lengthen the history contained in my bash_history. Doing this is simple enough, edit your

~/.bash_profile

or if you are on a linux machine

~/.bashrc

to set

HIST_SIZE=<insert large number!>

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. 

I parsed my bash history by running …

cat ~/.bash_history | awk '{print $1}' |  sort | uniq -c

which I fed into a graphing utility to produce …

month in bash history

(click the image to get a more interactive version of the chart)

SecondMarket Engineering Blog: Bye Bye SVN, Hello Git.

secondmarket-eng:

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…

Taken with instagram

Taken with instagram

Hate the 3D, glass dock of Mac OS - this one liner will solve that for you.

Would you rather look at this … 

2D Mac OS Dock

or … 

3D Dock

when it comes to looking at your dock? 

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.

Open Applications->Terminal.app and paste in this line, and hit enter.

defaults write com.apple.dock no-glass -boolean YES; killall Dock

To revert back to the ugly 3Dimented, glossy dock, merely paste the following line, followed by, you guessed it, enter

defaults write com.apple.dock no-glass -boolean NO; killall Dock

My Photo Stream

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.

p.sricola.com

amazon ec2 tools - java.net.SocketException: Network Unreachable

If you try running Amazon’s ec2 tools and recieve the following error, you are in the same boat I was in 4 hours ago. 

java.net.SocketException: Network Unreachable

The problem is that Java throws that exception when you run anything network related on a machine that has

/sbin/sysctl -w net.ipv6.bindv6only=1

SOLUTION:
Set the following environment variable before you run any of the ec2 tools

EC2_JVM_ARGS=-Djava.net.preferIPv4Stack=true

Credit to Dennis Kubes for helping figure this out - @denniskubes