Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zacstewart on github.
  • I am zacstewart (https://keybase.io/zacstewart) on keybase.
  • I have a public key whose fingerprint is 305C 4AE4 9C44 7D6F 2C02 6A1F 3D94 52FF B882 7EAF

To claim this, I am signing this object:

Last login: Wed Mar 19 14:02:46 on ttys003
➜ intersect git:(release/20140318) ✗ brew info imagemagick
imagemagick: stable 6.8.7-7 (bottled), HEAD
http://www.imagemagick.org
/usr/local/Cellar/imagemagick/6.8.7-0 (1435 files, 21M)
Built from source
/usr/local/Cellar/imagemagick/6.8.7-7 (1431 files, 20M) *
Poured from bottle
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/imagemagick.rb
==> Dependencies
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
iQIcBAABAgAGBQJTkHqyAAoJED2UUv+4gn6vbywP/jsEU84uEupejJghyIb00iz7
YDntxIaIA0cJqbYXwjo/UTMrHt+r1dMJ5iovB5FMclKHMLoA0WeU8dWyS5oP4klu
3/LVLhtDwdYqo4Rc6T9cwvf0uqUJFihsHacW39NC9bz5+o9Qk9kmqw5/IP3bOlOU
BLXoY+PU7j/+8vGgC26LEZgRxuVeBG0SL1jpg4hUg6qiFiUcdG1G3HUymbpLK5+m
vwTs0XO6KkIXXwlZW+XNGgm7EDSaoAqf/yFxFIQsCIZSpRsr1m5ndBr8FWhpq5xt
l082QoEe0JNwFVjZ5lcLrnrq6ZregsmVBgoTrL3yIIIkz8LAR+TRghSNTNULO/LI
UONxerCT67gVcxDGdrKVA8cYQVJHYXBoKiUFi2jAhHj29LwIgkqhUs9WJsDLB4Zh

Ruby ML Kit

  • CLI tools for randomly sampling large files
  • Simple gradient decent regression
  • Simple logistic regression
@zacstewart
zacstewart / gist:30f0d16399f49754038a
Last active August 29, 2015 14:07
How is Rubby formed?
~/src $ CC=/usr/bin/gcc ruby-install ruby 2.1.3
>>> Installing ruby 2.1.3 into /Users/zacstewart/.rubies/ruby-2.1.3 ...
>>> Installing dependencies for ruby 2.1.3 ...
Warning: openssl-1.0.1j already installed
Warning: readline-6.3.8 already installed
Warning: libyaml-0.1.6 already installed
Warning: gdbm-1.11 already installed
Warning: libffi-3.0.13 already installed
>>> Downloading http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2 into /Users/zacstewart/src ...
--2014-10-22 10:26:16-- http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.bz2
@zacstewart
zacstewart / keybase.md
Created August 23, 2015 16:39
Keybase proof

Keybase proof

I hereby claim:

  • I am zacstewart on github.
  • I am zacstewart (https://keybase.io/zacstewart) on keybase.
  • I have a public key whose fingerprint is D831 13A7 6C15 9404 1A93 3690 3CDB F390 49AE 85B6

To claim this, I am signing this object:

@zacstewart
zacstewart / deploy.rb
Created July 4, 2011 17:41 — forked from uhlenbrock/deploy.rb
Simple Capistrano recipe for Jekyll with Pygments and Compass
set :application, 'zacstewart.com'
set :repository, 'git@github.com:zacstewart/zacstewart.com.git'
set :scm, :git
set :deploy_via, :copy
set :branch, "master"
set :copy_compression, :gzip
set :use_sudo, false
set :host, 'zacstewart.com'
role :web, host
@zacstewart
zacstewart / about.md
Created August 9, 2011 18:08 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@zacstewart
zacstewart / .gitignore
Created August 21, 2011 15:33
My .vimrc
.VimballRecord
.netrwhist
.swp/
gvimrc
vimrc
@zacstewart
zacstewart / gfm.rb
Created April 23, 2012 21:35
GitHub Flavored Markdown (Ruby 1.9 compatible)
require 'digest/md5'
def gfm(text)
# Extract pre blocks
extractions = {}
text.gsub!(%r{<pre>.*?</pre>}m) do |match|
md5 = Digest::MD5.hexdigest(match)
extractions[md5] = match
"{gfm-extraction-#{md5}}"
end