Skip to content

Instantly share code, notes, and snippets.

Jordan Curzon curzonj

Block or report user

Report or block curzonj

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
View feedly_export_saved_for_later
// Simple script that exports a users "Saved For Later" list out of Feedly
// as a JSON string.
// This was intended for use in the Google Chrome's "Inspector" tool so your
// mileage may vary if used in other contexts.
// Format of JSON is as follows:
// [
// {
// title: "Title",

Keybase proof

I hereby claim:

  • I am curzonj on github.
  • I am curzonj ( on keybase.
  • I have a public key whose fingerprint is 6628 B50D 9CDB 70D6 C97C 2328 AFCC C2EF 073E 1F88

To claim this, I am signing this object:

View gist:7323168
# This file lists certificates that you wish to use or to ignore to be
# installed in /etc/ssl/certs.
# update-ca-certificates(8) will update /etc/ssl/certs by reading this file.
# This is autogenerated by dpkg-reconfigure ca-certificates.
# Certificates should be installed under /usr/share/ca-certificates
# and files with extension '.crt' is recognized as available certs.
# line begins with # is comment.
# line begins with ! is certificate filename to be deselected.
View gist:4506272
set nocompatible " Use gVim defaults
" set tw=80 tw to specify a default text width
set fo=tcrq " fo to specify default formatoptions
" t auto-wraps text using textwidth
" c auto-wraps comments using textwidth
" r auto-inserts the current comment leader
" q allows formatting of comments
" allow backspacing over everything in insert mode
View gist:4242354
[Condor, Tackle]
Damage Control I
Overdrive Injector System I
Fleeting Warp Disruptor I
Patterned Stasis Web I
Limited 1MN Microwarpdrive I
Sensor Booster I, Targeting Range Script
Rocket Launcher I, Scourge Rocket
curzonj / gist:3099815
Created Jul 12, 2012
Allow chef to work inside a gem bundle
View gist:3099815
Mixlib::ShellOut.class_eval do
def exec(*args)
Bundler.with_clean_env do
# we have to rerun this because bundler wiped it
gem_home = ENV.delete('GEM_HOME')
paths = ENV['PATH'].split(':')
ENV['PATH'] = paths.delete_if {|n| n =~ /^#{Regexp.escape(gem_home)}/ }.join(':')
curzonj / gist:1333585
Created Nov 2, 2011
customize the specs to run with a proc
View gist:1333585
RSpec::Core::RakeTask.class_eval do
def reject_patterns(&block)
@reject_patterns = block
def files_to_run
if ENV['SPEC']
curzonj / gist:1315957
Created Oct 26, 2011
Skeleton of a logstash router
View gist:1315957
#!/usr/bin/env jruby
require 'rubygems'
require 'logstash'
include Logstash
router = do
router.inputs(:queue => "queue1").add(
View gist:1297097
def debug_connection_frames(conn)
frames = conn.instance_variable_get('@frames')
if frames.size > 0
logger.debug("Frames: #{frames.size}")
list = do |frame|
str = "#{}(#{},"
case frame
when AMQ::Protocol::HeaderFrame
str << "total #{frame.body_size})"
when AMQ::Protocol::MethodFrame
You can’t perform that action at this time.