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:
/* | |
This function handles a Slack slash command and echoes the details back to the user. | |
Follow these steps to configure the slash command in Slack: | |
1. Navigate to https://<your-team-domain>.slack.com/services/new | |
2. Search for and select "Slash Commands". | |
3. Enter a name for your command and click "Add Slash Command Integration". | |
4. Copy the token string from the integration settings and use it in the next section. | |
5. After you complete this blueprint, enter the provided API endpoint URL in the URL field. | |
Follow these steps to encrypt your Slack token for use in this function: | |
1. Create a KMS key - http://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html. |
I hereby claim:
To claim this, I am signing this object:
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 |
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 |
//URL: https://api.linkedin.com/v1/people/~/shares | |
//Request params: | |
Array | |
( | |
[content] => Array | |
( | |
[submitted-url] => http://forestnation.com/ | |
[title] => Imagine ForestNation | |
[submitted-image-url] => http://forestnationcdn.forestnation.netdna-cdn.com/wp-content/uploads/2013/05/FN-World-150.png | |
[description] => Imagine a world where everyone grows their own tree. You plant one We plant one - Imagine ForestNation. |
ContentValues values = new ContentValues(); | |
values.put(MediaStore.Images.Media.TITLE, BufferUtils.getOutputImageFilename()); | |
sFileUri = getActivity().getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); | |
//sFileUri = BufferUtils.getOutputMediaFileUri(BufferUtils.MEDIA_TYPE_IMAGE); | |
intent.putExtra(MediaStore.EXTRA_OUTPUT, sFileUri); // set the image file name |
#!/bin/sh | |
commit=`git log | grep commit | head -1 | cut -d ' ' -f2` | |
echo $commit |
git config --global user.name 'Sunil Sadasivan' | |
git config --global user.email [email protected] | |
git config --global core.editor vim |
bar |
section: screens | |
laptop: | |
desktop: | |
netbook: | |
end | |
section: aliases | |
laptop: | |
192.168.1.134 | |
sunil-laptop |