Skip to content

Instantly share code, notes, and snippets.

View hiremaga's full-sized avatar

Abhi Hiremagalur hiremaga

View GitHub Profile
@hiremaga
hiremaga / checksums.txt
Last active July 7, 2020 22:29
Temporary location for prolific binaries until we open up the repo
259fd1839f55e42186d8d9c1f1494c41f9eef2b0928f2f1e1c62df9d8fb327ad prolific_1.1_Linux_i386.tar.gz
931014c36ed945af9ef9a6e2b2b1b238ae76127cf1779b8e8bc2c67a55e7f2a3 prolific_1.1_Darwin_x86_64.tar.gz
e602a4a68f382c812d675d52c2fb68fa63d263a52e20ad7e5d775ddb2910504c prolific_1.1_Darwin_i386.tar.gz
e8b290a4553926666c47518cd12bb129b69c0e9b7430500d141d0417995c4c9c prolific_1.1_Linux_x86_64.tar.gz
@hiremaga
hiremaga / checksums.txt
Last active April 6, 2020 22:52
Temporary location for prolific binaries until we open up the repo
2237b12e39199e8d41f9ac03bced049b179df127ba31d829b75721c74e38d62f prolific_1.0_Linux_x86_64.tar.gz
df8f7fa9bf4b86ae40fd9529650e4cc5a805ec07e7db722e08cf29e59f03be59 prolific_1.0_Linux_i386.tar.gz
bebf521cc141a5c09b8d23324617a44f74e022cdb8e742249b51a1368cff7919 prolific_1.0_Darwin_i386.tar.gz
4e9f09f494bae713ce8a2627af9b70107fa866c1c4020d60e0a592a964fcd672 prolific_1.0_Darwin_x86_64.tar.gz

Keybase proof

I hereby claim:

  • I am hiremaga on github.
  • I am hiremaga (https://keybase.io/hiremaga) on keybase.
  • I have a public key ASDuPOMMpq3cZYCoL367dqTzyEbfghJFtTbywGektwklMwo

To claim this, I am signing this object:

<html><body>
<script>alert(document.domain);</script>
</body>
</html>
@hiremaga
hiremaga / strata2014-yarn-tutorial.md
Last active August 29, 2015 13:56
Strata 2014 Notes

Hadoop 2.0

Rich Raposa from Hortonworks

"Data Operating System"

  • Not just a framework for storing & processing data
  • More like an OS
  • Write applications to run "on top of Hadoop"
@hiremaga
hiremaga / gorouter.job
Created December 27, 2013 23:04
Just an idea...
Job.describe("gorouter") do |job|
job.command = "bin/router -c /var/vcap/jobs/gorouter/config/gorouter.yml"
job.templates << "templates/gorouter.yml.erb", "config/gorouter.yml"
job.templates << "templates/logrotate.conf.erb", "config/logrotate.conf"
job.templates << "templates/syslog_forwarder.conf.erb", "config/syslog_forwarder.conf"
freq_min = job.properties.router && job.properties.router.logrotate && job.properties.router.logrotate.freq_min || 5
job.cron "*/#{freq_min} * * * * test -x /usr/sbin/logrotate && /usr/sbin/logrotate #{job.job_root}/config/logrotate.conf >> #{job.log_root}/gorouter_logrotate_cron.log 2>&1"
@hiremaga
hiremaga / gist:6326091
Last active December 21, 2015 15:19
Run this against a Vagrant vm created with https://github.com/hiremaga/spike-vagrant-osx
rm -rf /tmp/soloist
mkdir -p /tmp/soloist
cd /tmp/soloist
curl -LO https://github.com/hiremaga/omnibus-soloist/releases/download/1.0.1/install.sh
sudo bash install.sh
sudo chown -R $USER /opt/soloist
echo 'export PATH="/opt/soloist/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile
git clone https://github.com/pivotal-sprout/sprout-wrap
cd sprout-wrap
soloist
@hiremaga
hiremaga / autoloaded.rb
Created June 30, 2013 23:39
A spike to demostrate the thread (un)safety of autoload, stolen from somwhere I can't remember
sleep 1
Bar::Foo = 1
@hiremaga
hiremaga / bootstrap.sh
Created October 17, 2011 22:04 — forked from knzai/bootstrap.sh
How I (will eventually) bootstrap my Macbook Air
#!/usr/bin/env sh
#After forking and editing YOUR_ORG to point at the right repo can be run via:
#bash <(curl -s https://raw.github.com/gist/1293973)
#if you use `curl xxx | sh` input will be messed up and there will be no pauses
#I keep XCode and gcc on a thumbdrive along with java, for speeding things up
#http://support.apple.com/downloads/DL1421/en_US/JavaForMacOSX10.7.dmg
read -p "Install XCode or gcc (http://github.com/kennethreitz/osx-gcc-installer)"
#setup your ssh keys for github
if ENV['IS_CI_BOX']
unless system('bundle check')
puts "IS_CI_BOX is set, running `bundle install`..."
system('bundle install') || raise("'bundle install' failed.")
end
end