I hereby claim:
- I am jrun on github.
- I am jeremyburks (https://keybase.io/jeremyburks) on keybase.
- I have a public key ASBHbuig8HCdYOzWQrypVVtNAIi7rU9EBkvtlK5z1-1ZMwo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require 'json' | |
require 'pathname' | |
cast_files = ARGV.map { |cast| Pathname cast } | |
# | |
# Merge files |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env dtrace -s | |
#pragma D option quiet | |
#pragma D option switchrate=10hz | |
/* | |
docs: | |
http://www.postgresql.org/docs/9.2/interactive/dynamic-trace.html | |
*/ |
#!/usr/bin/env ruby | |
require 'capistrano/cli' | |
require 'term/ansicolor' | |
include Term::ANSIColor | |
# | |
# This might get a real CLI at some point | |
# | |
puts "Target hosts: %s\nRecipes: %s\n" % [ENV['HOSTS'], ENV['RECIPES']] |
require 'guard' | |
require 'guard/guard' | |
module Guard | |
# This MiniTest guard is a hacked up version of guard-minitest | |
# which supports guards scoped by sub-directories. Think one | |
# Guardfile at the root of rails which has a minitest guard for | |
# each (active|action)* project. | |
# | |
# ## Example Guardfile |
#!/usr/bin/env ruby | |
# This script requires the traced Ruby process to be tenderlove's probes | |
# branch (https://github.com/tenderlove/ruby-1/tree/probes). | |
fq_module = ARGV[0] | |
d_script = "ruby*:::function-entry\n" | |
d_script << "/copyinstr(arg0) == \"#{fq_module}\"/\n" if fq_module | |
d_script << <<-ACTION |
;; key bindings | |
(when (eq system-type 'darwin) ;; mac specific settings | |
(setq mac-option-key-is-meta t) | |
(setq mac-command-key-is-meta nil) | |
(setq mac-command-modifier 'control) | |
(global-set-key [kp-delete] 'delete-char) ;; sets fn-delete to be right-delete | |
) |
brew install https://raw.github.com/gist/1099830/02960cf13a1486f4c73972b707cd979ea0dfbbec/openvpn.rb --force |
Pry.prompt[1] = proc {""} |
#!/usr/bin/env ruby | |
find = ARGV[0] | |
replace = ARGV[1] | |
`ack '#{find}' -l`.split.each do |f| | |
`sed -i 's/#{find}/#{replace}/g' #{f}` | |
end |