Anil's Tumblelog RSS

tail -f /dev/mind > Anil's Tumbelog

twitter | blog | work

Archive

May
13th
Mon
permalink
It’s irritating me that how much less code / node code I write on daily basis. I should quit my current job. I hate it.
— i
Sep
9th
Sun
permalink

Symmetric encryption in Ruby

require following libraries

require 'openssl'

require 'base64'

require 'gibberish'

Encrypt

cipher = Gibberish::AES.new("ultra-strong-password")

cipher.enc("this is data to be encrypted")

Decrypt

cipher = Gibberish::AES.new("ultra-strong-password")

cipher.dec(params[:string])

Jul
23rd
Mon
permalink

Negative rgrep with Emacs

1. rgrep

2. toggle readonly

3. flush-lines

4. done

Apr
10th
Tue
permalink

Using Emacs behind http proxy

Add following to your Emacs config

(setq url-using-proxy t)
(setq url-proxy-services ‘((“http”  . “proxy_server_ip:proxy_server_port”)))

and done.

If you have auth for your password. Emacs would propmt for username and password 

Sep
13th
Sun
permalink

Liking ‘Fiqrana’ from Blue. ARR rocks!

Sep
7th
Mon
permalink

RT @defunkt:Great keynote by @jacobian: http://is.gd/2UwUn +1 for better interop - we use a lot of languages to run GitHub and feel the pain

Aug
31st
Mon
permalink

Well done Fisichella! Fisichella is second and gets Force India’s first points ever!

Aug
30th
Sun
permalink

is watching Belgian Grand Prix! Fisichella on pole for Force India!

Aug
29th
Sat
permalink

is listening to some of Vangelis songs. liked Chariots of Fire and Conquest of Paradise!

permalink

Oh cool! Giancarlo Fisichella takes pole for Belgian GP!