Bogmalo Beach, Goa, a set on Flickr.
Some pictures of Bogmalo, Goa from August 2013. Went there from Amazon for a branding event at BITS. Wonderful campus, great beach and awesome seafood made this a very enjoyable off-season trip to Goa.Saturday, February 08, 2014
Monday, February 03, 2014
Pics of squirrels clicked in BTM
Squirrel, BTM, a set on Flickr.
Here are some of the non-blurry pics of these cute, super busy furry animals. Clicked from the verandah of my BTM home in April 2013.Thursday, January 30, 2014
Mysore Trip with ml-bln
Mysore Trip with ml-bln, a set on Flickr.
Pictures from my trip to Ranganathittu bird sanctuary and Mysore palace with my colleagues from Amazon India and Berlin.Via Flickr:
5 of us from the ML-Blr team went on a day trip with some members of the Berlin team. We stopped at Ranganathittu Bird Sanctuary and Mysore Palace.
20140125
Sunday, January 19, 2014
Not posting for a year
Will start this post with an apology. Its been more than a year since I last posted. Lots of things have happened since my last post. {got married, moved to a different work team, changed house twice}. The principle reason however is different.
My recent posts have been mostly along lines of "how to do X" where X is some interesting thing which I stumbled upon recently. There is no central them to X. Mostly it revolves around Linux/Unix, Internet and ML; basically my work. With the popularity of Q/A sites like stackoverflow, "how to" kind of posts have been rendered unnecessary. A look at my blog statistics convey the same theme. My original contents like GATE solutions still attract majority of visitors to the blog; mostly from search engines.
Hence, from now onwards I will try to refrain from posting simple how-to questions from my work related fields. But original content is rare. I will continue posting on topics like:
- CS beyond CS; Organizing clothes using DS
- Interesting observations; Latching doors without locks
- Non CS stuff like Origami, Photography, Fountain-pens
Anyways, will be posting more regularly now.
Saturday, August 25, 2012
Colors in bash
Bash is capable of generating a huge spectrum of colors for text. Here is a small code in shell script which generates all the 256 different colors bash can render:
for i in {0..255}; do printf "\x1b[38;5;${i}mCLR-${i}\t"; done; echo; reset;
The last echo is for printing a blank like after the output, without that the command prompt would appear at the end of the output. More import is reset present at the end, without which your terminal might not go back to the original settings.
In case you are wondering how to print colored output in terminal, please read:
for i in {0..255}; do printf "\x1b[38;5;${i}mCLR-${i}\t"; done; echo; reset;
The last echo is for printing a blank like after the output, without that the command prompt would appear at the end of the output. More import is reset present at the end, without which your terminal might not go back to the original settings.
In case you are wondering how to print colored output in terminal, please read:
- How to print using colors and arguments
- A better way to print colors without using obfuscated escape sequences
Labels:
Bash,
Cool Techs,
Linux
Subscribe to:
Posts (Atom)