Skip to content

Instantly share code, notes, and snippets.

View booty's full-sized avatar

John Booty booty

  • Upstart
  • Near Philadelphia, PA
  • 01:15 (UTC -04:00)
View GitHub Profile
@copiousfreetime
copiousfreetime / yajl-gzip-stream-parse.rb
Created January 18, 2019 23:00
Using Yajl to stream parse a gzipped file
#!/usr/bin/env ruby
require 'yajl'
require 'zlib'
require 'hitimes'
metric = ::Hitimes::TimedValueMetric.new('yajl')
infile = ARGV.shift
count = 0
buffer_size = 1024 * 64
@malarkey
malarkey / Contract Killer 3.md
Last active May 24, 2024 23:38
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………