Who needs charts on the command line?
If you have ever been stuck at an ssh prompt staring a bunch of data gnuplot is a must have tool. I was looking at response times over an ssh prompt and realized how I missed MS Excel. All this data would make much more sense as a chart! Apparently there are others who would agree with me and that’s the reason gnuplot exists.
gnuplot is a command line tool that generates complex plots from data. It has a lot of options and can generate the plots as PNG, SVG etc. But most importantly it can plot your data as an ASCII chart :).
I use gnuplot to check my nodejs logs:
tail —lines=1000 ~/.forever/*.log | grep ‘Time: ’ | sed ‘s/.* Time: l: //’ > data
gnuplot> set terminal dumb
gnuplot> plot “data”
This is a static plot but you can even plot animated graphs like this:
Cloud9 is a cloud based IDE that works completely within the browser. It even provides a full linux terminal within the browser. It is ideal to try out some open source language/framework quickly without doing the full setup.
Currently it supports nodejs, PHP, python and ruby out of the box. There are plans to support .Net in the future. It allows one-click deployment to cloud platforms like Azure, CloudFoundry and Heroku. PFB screenshot of my attempt at a simple nodejs program :).
@ Google Mobile Partner Day - they are really pushing mobile ads in India!
My BSNL broadband plan gives me unlimited data between 2 AM and 8 AM. I thought this would be a great time to download all my YouTube subscriptions. I could watch the videos the next day without using my download quota!
I found a couple of great scripts to get the job done. I had to make a few changes to get them working on windows:
- Cygwin or another shell for windows.
Just run the subscriptions script like so:
Put this command in a batch file and schedule it to run whenever you like.
Edinburgh Castle (Taken with instagram)
Glasgow (Taken with instagram)
Torrential rain (Taken with instagram)
Covent Garden, London (Taken with instagram)
Regent’s canal, Camden (Taken with instagram)