I hereby claim:
- I am warfox on github.
- I am deepu (https://keybase.io/deepu) on keybase.
- I have a public key ASCrBcADwFjYASFkJKpn0GksuDURXbLCLf0cFVLohhxcxwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| sample gist from emacs gist.el | |
| `SPC g g b` | |
| #!/usr/bin/env bash | |
| touch build.sbt ; touch README.md; mkdir -p project; touch project/plugins.sbt; mkdir -p src/{main/{scala,resources,java},test/{scala,resources,java}}/ |
| #!/usr/bin/env bash | |
| kibana_nodes=(server1 server2 server3) | |
| elasticsearch_url=http://myelasticsearch.com | |
| function install_kibana { | |
| echo "install kibana" | |
| sudo rpm -i https://download.elastic.co/kibana/kibana/kibana-4.6.1-x86_64.rpm | |
| } |
| #!/bin/bash | |
| # https://gorails.com/deploy/ubuntu/14.04 | |
| cd | |
| git clone git://github.com/sstephenson/rbenv.git .rbenv & | |
| wait # wait for cloning to finish | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
| echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
| exec $SHELL |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| import java.util.concurrent.atomic.AtomicInteger; | |
| public class StackOverflow { | |
| private static AtomicInteger atomicInteger = new AtomicInteger(0); | |
| private static int staticInt = 0; | |
| public static void main(String args[]) { | |
| int atomicInt = atomicInteger.incrementAndGet(); | |
| staticInt++; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>ACE in Action</title> | |
| <style type="text/css" media="screen"> | |
| #editor { | |
| height: 300px; | |
| } | |
| </style> | |
| </head> |