Skip to content

Instantly share code, notes, and snippets.

Garrett Wilkin garrettwilkin

Block or report user

Report or block garrettwilkin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
garrettwilkin /
Created Feb 2, 2018 — forked from andrewgross/
Python Script to Upload Memcache Metrics to CloudWatch
import sys, time, subprocess, socket, telnetlib
from datetime import datetime
from collections import defaultdict
from boto.ec2.cloudwatch import CloudWatchConnection
# Memcached name: (AWS Name, AWS Metric Type, Calculation Method)
'uptime': ('Uptime', 'Count', 'gauge'),
garrettwilkin /
Last active Sep 20, 2017 — forked from mshkrebtan/
Run Cisco Webex on 64-bit Ubuntu 16.04

Run Cisco Webex on 64-bit Ubuntu 16.04

With Audio and Screen Sharing Enabled

Enable support for 32-bit executables

Add the i386 architecture to the list of dpkg architectures :

sudo dpkg --add-architecture i386
options=('find' 'delete')
PS3='state your wish: '
echo -e "\nfind/delete corrupt whisper-files"
select opt in "${options[@]}"; do
case $REPLY in
[12] ) option=$opt; break;;
* ) exit;;
garrettwilkin / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

#API Partners at Hacking Journalism

##API Intros There will be API intros to some of the APIs. These will be running through the afternoon on Saturday.

  • 2:00 pm Embedly
  • 2:30 pm
  • 3:00 pm Twitter
  • 3:30 pm Enigma
  • 4:00 pm MuckRock
  • 4:30 pm Guardian
View gist:3642610
function findHandler(err, docs) {
if (!err) {
// Return Success & JSON Content-type
var length = docs.length;
// Process results from Mongo
docs.forEach(function(e,i,a) {
You can’t perform that action at this time.