Skip to content

Instantly share code, notes, and snippets.

View taylor's full-sized avatar
🐢
🌊

Taylor Carpenter taylor

🐢
🌊
View GitHub Profile
jruby-1.6.4@nokogiritest taylor@lindqvist:(31828/0) ~/work/mojolingo/src/scratchy/nokogiritest
$> JRUBY_OPTS="--1.9" gem install bundler
LoadError: no such file to load -- rubygems/commands/ctags_command
require at org/jruby/RubyKernel.java:1047
require at /Users/taylor/sw/depot/rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29
(root) at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@global/gems/gem-ctags-1.0.2/lib/rubygems_plugin.rb:6
call at org/jruby/RubyProc.java:262
install at /Users/taylor/sw/depot/rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/installer.rb:189
each at org/jruby/RubyArray.java:1603
install at /Users/taylor/sw/depot/rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/installer.rb:188
git checkout master
git remote add taylor git://github.com/taylor/ssh-find-agent.git
git fetch taylor
git merge taylor/master
git push origin master
@taylor
taylor / myssh
Created November 12, 2011 10:15
ssh front-end to do srv lookups
Moved to https://gist.github.com/1372925
@taylor
taylor / README.md
Created November 17, 2011 11:09
wrapper to support SSH SRV records

Introduction

ssh-srv-wrapper is bash shell script which tries to find a SSH SRV record for the first host and uses what is found rather than what was passed (if a valid record is found).

Install

Run the script directly or feel free to rename or symlink to the name ssh. It will look for another ssh in your path to execute.

setw -g mode-keys vi
#setw -g mode-mouse on
set -g history-limit 5000
# Use: Prefix + l
bind-key C-b last-window
#bind-key C-a last-window
# http://jasonwryan.com/post/6279048610/tmux-copy
taylor@lindqvist:~ $ clear ; echo "======= Pair Testing ========" ; cat > /dev/null
======= Pair Testing ========
Hi Ben
Hello?
it works!
cool
#!/usr/bin/env bash
shopt -s extglob
PS4="+ \${BASH_SOURCE##\${rvm_path:-}} : \${FUNCNAME[0]:+\${FUNCNAME[0]}()} \${LINENO} > "
export PS4
set -o errtrace
set -o errexit
log() { printf "$*\n" ; return $? ; }
#!/bin/bash
# NOTE: GID 20 is staff group -- see more with: dscl . list groups gid
DEFAULT_GID=20
DEFAULT_GROUP=staff
DEFAULT_SHELL=/bin/bash
DEFAULT_HOME_BASE=/Users
_DEBUG_ON=""
#!/bin/bash
# NOTE: GID 20 is staff group -- see more with: dscl . list groups gid
DEFAULT_GID=20
DEFAULT_GROUP=staff
DEFAULT_SHELL=/bin/bash
DEFAULT_HOME_BASE=/Users
_DEBUG_ON=false
$:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "amp"
s.version = Amp::VERSION
s.authors = ["Chris assssss"]
s.email = ["email@man.me"]
s.homepage = "https://github.com/somewhere/amp"
s.summary = %q{A ruby library for amp stuff}
s.description = %q{}