This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.tmuxinator/kafka.yml | |
name: kafka | |
root: ~/dev/confluent/confluent-3.2.0 | |
attach: false | |
windows: | |
- zookeeper: './bin/zookeeper-server-start ./etc/kafka/zookeeper.properties' | |
- server: | |
- sleep 3 | |
- './bin/kafka-server-start ./etc/kafka/server.properties' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
" #set backspace=indent,eol,start | |
filetype off " required | |
nnoremap <BS> X | |
set backspace=indent,eol,start | |
set nu | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am aarti on github. | |
* I am classyhacker (https://keybase.io/classyhacker) on keybase. | |
* I have a public key ASChuFVa8_N6bGlY0RMQRv39ow1LgfBXqRTyxyDezT60fAo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
y := registrar{} | |
y.handlerFuncRegistry = map[string]handlerFunc{ | |
"TheFuncHandler": implementation, | |
} | |
z := myHandler{} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var casper = require('casper').create(); | |
var all_links = []; | |
var top_kf8_picture_books_url = "http://www.amazon.com/Best-Sellers-Kindle-Store-Text-Pop-Up-Books/zgbs/digital-text/3381090011/#" | |
var index = 1; | |
function getLinks() { | |
var links = document.querySelectorAll('.zg_itemImageImmersion a'); | |
return Array.prototype.map.call(links, function(e) { | |
return e.getAttribute('href').trim(); | |
}); |
I hereby claim:
- I am aarti on github.
- I am classyhacker (https://keybase.io/classyhacker) on keybase.
- I have a public key ASA9QIugvV7d5iis7ydZRFQMekZyq0yRhd1WOOfd_mAAEgo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
var cases = [][]int{ | |
[]int{}, | |
[]int{0}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s /usr/local/Cellar/openssl/1.0.2t/lib/libssl.1.0.0.dylib /usr/local/lib/ | |
ln -s /usr/local/Cellar/openssl/1.0.2t/lib/libcrypto.1.0.0.dylib /usr/local/lib/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change the logging level curl -X PUT -d '{"level":"debug"}' localhost:8080/logger | |
package main | |
import ( | |
"log" | |
"net/http" | |
"os" | |
"time" |
OlderNewer