Skip to content

Instantly share code, notes, and snippets.

View 0x000000's full-sized avatar

Alexander Rudenka 0x000000

View GitHub Profile
require 'benchmark'
letters = ('a'..'z').to_a
SHORT_LIST = (100.times.map do
(3..5).to_a.sample.times.map do
letters.sample
end.join
end + ['aacc', 'ccaa']).shuffle
@0x000000
0x000000 / hack.sh
Created April 4, 2012 10:11
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#