I hereby claim:
- I am sunils34 on github.
- I am sunils34 (https://keybase.io/sunils34) on keybase.
- I have a public key whose fingerprint is 1193 420B 6D8D F254 6771 EE75 3022 E14C 540E 8C65
To claim this, I am signing this object:
javascript:(function(){var a=document.getElementsByTagName('head')[0],b=document.createElement('script');b.type='text/javascript';b.src='https://bufferapp.com/js/add/bookmarklet.min.js?'+Math.floor(Math.random()*99999);a.appendChild(b);})();void 0 |
brew install docker | |
brew install boot2docker | |
boot2docker init | |
boot2docker up | |
export ... | |
curl -L https://github.com/docker/compose/releases/download/1.1.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose | |
docker-compose up -d |
I hereby claim:
To claim this, I am signing this object:
/** | |
* moveItem | |
* | |
* Remove the element positioned at oldIdx, | |
* and insert this back into the array positioned at newIdx | |
* | |
* This does not do any bounds checking on the inputs | |
* | |
* @param array | |
* @param integer old index |
/** | |
* @license The imageloader.js library is licensed under GNU Lesser General Public License v3 or later | |
*/ | |
(function(){ | |
/** | |
* TwitPic Image Loader | |
* Example: ldr = new TwitPicLoader("http://twitpic.com/asdf123"); | |
* @param {string} URL of the TwitPic page. Eg. http://twitpic.com/asdf123 | |
* @constructor | |
*/ |
//Given a base58 encoded string, obtain the base 10 number. | |
//This is useful for decoding shortened flickr urls. | |
function base58_decode( snipcode ) | |
{ | |
var alphabet = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ' ; | |
var num = snipcode.length ; | |
var decoded = 0 ; | |
var multi = 1 ; | |
for ( var i = (num-1) ; i >= 0 ; i-- ) | |
{ |
//Given a youtube url, return the youtube id. | |
//There are several versions of youtube urls that work. | |
//http://www.youtube.com/v/0zM3nApSvMg?fs=1&hl=en_US&rel=0 | |
//http://www.youtube.com/embed/0zM3nApSvMg?rel=0 | |
//http://www.youtube.com/watch?v=0zM3nApSvMg&feature=feedrec_grec_index | |
//http://www.youtube.com/watch?v=0zM3nApSvMg | |
//http://youtu.be/0zM3nApSvMg | |
//http://www.youtube.com/watch?v=0zM3nApSvMg#t=0m10s |
section: screens | |
laptop: | |
desktop: | |
netbook: | |
end | |
section: aliases | |
laptop: | |
192.168.1.134 | |
sunil-laptop |
bar |
git config --global user.name 'Sunil Sadasivan' | |
git config --global user.email email@email.com | |
git config --global core.editor vim |