Skip to content

Instantly share code, notes, and snippets.

@codingfoo
codingfoo / Readme.md
Last active February 12, 2016 03:44
Sensu Widget for Dashing

Description

Simple Dashing job to send sensu client history checks to dashing widgets.

##Dependencies

##Usage

Put the sensu.rb file in your /jobs folder.

@obazoud
obazoud / vm-clean.sh
Last active December 12, 2015 04:28
#!/bin/bash
for vm in `VBoxManage list runningvms | awk '{ print $1 }' | sed "s/\"//g"`; do
VBoxManage controlvm "$vm" poweroff
done
for vm in `VBoxManage list vms | awk '{ print $1 }' | sed "s/\"//g"`; do
VBoxManage unregistervm --delete "$vm"
done
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git://github.com/wbond/sublime_package_control.git Package\ Control
cd Package\ Control
git checkout python3
# restart Sublime Text 3 and you should have Package Control working
@rantav
rantav / meetup-bad-bad-hosts.md
Last active November 2, 2017 15:27
How meetup fucked up, but then fixed it

Update: Meetup had revived the group and are welcoming us back again. At the end, no data was lost, even though interim communications suggested it was.
We are happy that things had finally taken a positive turn and are happy to stay at meetup and grow our community to our next event and next next event. We are a little bit sorry that things went soar for awhile but what's important is that at the end both us and meetup had learned how to make things better for the next time.

Original post below....

Meetup, you've been bad, bad hosts!

TL;DR: Meetup had deleted my group, for what I beleive to be their mistake, yet they did not admit the mistake nor can they restore the data. I am deeply dissapointed from meetup and I've lost my trust in them.

@jordansissel
jordansissel / readme.md
Created July 11, 2012 07:03
logstash + you + me.

logstash needs full time love.

There are roughly 70 code contributors to the logstash project as of today. Many more exist as helpful folks on IRC and the mailling list. Others post awesome bug reports and feature requests. The community is simply awesome.

I've been working on logstash for about 2 years. All as a hobby - all part-time. About 70% of the current content (commits, 'git blame' lines, etc) are by me.

Unfortunately, I've never used logstash in production. (Embarrassing, I know!)

I'm embarrassed to answer user questions like "How do I optimize elasticsearch's storage?" with "Sorry, I've never used elasticsearch outside of my laptop."

This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:

  • Hulu / HuluPlus
  • CBS
  • ABC
  • MTV
  • theWB
  • CW TV
  • Crackle
  • NBC
@bhenerey
bhenerey / ideal ops.md
Created May 23, 2012 19:40
ideal ops checklist

In a perfect world, where things are done well, not just quickly, I would expect to find the following when joining the company:

Documentation

  • Accurate / up-to-date systems architecture diagram

  • Accurate / up-to-date network diagram

  • Out-of-hours support plan

  • Incident management plan

@gblmarquez
gblmarquez / 0mq_install.sh
Created April 27, 2012 18:48 — forked from flores/0mq_install.sh
centos | debian zeromq install (from source)
#!/bin/bash
# doesn't remove packages. just beginning/sharing script for the install.
if [ -e /etc/redhat-release ]; then
yum install -y gcc gcc-c++ make autoconf automake e2fsprogs-devel glibc-devel libuuid-devel
elif [ -e /etc/debian_version ]; then
apt-get install -y build-essential uuid-dev
else
echo "sorry, this script only installs on RedHat/CentOS or Debian/Ubuntu boxes"
exit 2
@zedconte
zedconte / gist:2353089
Created April 10, 2012 17:31 — forked from mikeyk/gist:1329319
Testing storage of millions of keys in Redis
#! /usr/bin/env python
import redis
import random
import pylibmc
import sys
r = redis.Redis(host = 'localhost', port = 6389)
mc = pylibmc.Client(['localhost:11222'])
@holman
holman / gemspec-usage.md
Created February 12, 2012 07:02
test/spec/mini

Just install this in your apps like so:

gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'