Justin Mazzi jmazzi

View ruby-install.txt
1 2 3 4 5 6 7 8 9 10
~ ➤ ruby-install --jobs=10 ruby 1.9
>>> Installing ruby 1.9.3-p545 into /Users/justin/.rubies/ruby-1.9.3-p545 ...
>>> Installing dependencies for ruby 1.9.3-p545 ...
Warning: openssl-1.0.1g already installed
Warning: readline-6.3.3 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/1.9/ruby-1.9.3-p545.tar.bz2 into /Users/justin/src ...
--2014-04-18 18:43:05-- http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p545.tar.bz2
View keybase.md

Keybase proof

I hereby claim:

  • I am jmazzi on github.
  • I am jmazzi (https://keybase.io/jmazzi) on keybase.
  • I have a public key whose fingerprint is DF0F 59D7 28B8 3E73 DAE8 5658 D43D 193B E5FD E23D

To claim this, I am signing this object:

View random things for sale
1 2 3 4
tippmann 98 custom paintball gun set
casio protrek PRW2500T-7CR watch
google nexus 4
apple magic trackpad
View build_vico.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
set -ex
 
rm -rf ~/work/src/vico
cd ~/work/src
git clone https://github.com/vicoapp/vico.git
cd vico
make app
rm -rf /Applications/Vico.app
mv ~/work/src/vico/build/Debug/Vico.app /Applications/Vico.app
View boss_array.rb
1 2 3 4 5 6 7 8 9 10
require 'monitor'
require 'celluloid'
 
class BossArray < Array
 
include MonitorMixin
 
def initialize(*args)
super(*args)
end
View filter_hash.rb
1 2 3 4
def scrub(hash)
filter_with = Rails.application.config.filter_parameters
ActionDispatch::Http::ParameterFilter.new(filter_with).filter(hash)
end
View multi_log.rb
1 2 3 4 5 6 7 8 9 10
require 'logger'
 
class MultiLog
def initialize(*loggers)
@loggers = loggers
end
 
def write(message)
@loggers.map { |log| log.write(message) }
end
View gist:6159783
1 2 3 4 5 6 7 8 9 10
.
├── README.md
├── pom.xml
└── src
├── main
│   └── java
│   └── com
│   └── seriouscompany
│   └── business
│   └── java
View anagram_for.rb
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env ruby
 
require 'open-uri'
require 'cgi'
 
class Anagram
def initialize(phrase)
@phrase = phrase
@response = fetch
end
View lastpass_to_keepassx.go
1 2 3 4 5 6 7 8 9 10
package main
 
import (
"encoding/csv"
"fmt"
"io"
"os"
"strings"
"html"
)
Something went wrong with that request. Please try again.