Skip to content

Instantly share code, notes, and snippets.

View ralph-tice's full-sized avatar

Ralph Tice ralph-tice

  • Kentik
  • Texas
View GitHub Profile
jar 'com.netflix.hystrix:hystrix-core', '~>1.2.16'
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
@ralph-tice
ralph-tice / benchmark-commands.txt
Created October 1, 2015 19:35 — forked from jkreps/benchmark-commands.txt
Kafka Benchmark Commands
Producer
Setup
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3
Single thread, no replication
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196
@ralph-tice
ralph-tice / README.md
Last active November 21, 2017 02:46 — forked from ningsuhen/README.md
Solarized Light Theme for CoderPad.io - inject the css via Chrome without browser extension

Many companies use coderpad.io for interviews and if you have eye strain with the monokai theme (dark background), you can change the theme on your browser by injecting the css.

##Installation Open coderpad.io editor and inject contents of the style.css above. Open inspect via right click and edit the body block as HTML, then paste in the contents of style.html as its own element inside