Skip to content

Instantly share code, notes, and snippets.

🔍
searching stack overflow, brb

Richard Taylor moomerman

🔍
searching stack overflow, brb
Block or report user

Report or block moomerman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am moomerman on github.
  • I am moomerman (https://keybase.io/moomerman) on keybase.
  • I have a public key whose fingerprint is BD0F C8BE BB6B 9126 9E6E A53A 63C5 B2CF B888 4939

To claim this, I am signing this object:

View Install Package Control for Sublime Text 3 Beta
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git://github.com/wbond/sublime_package_control.git Package\ Control
cd Package\ Control
git checkout python3
# restart Sublime Text 3 and you should have Package Control working
View gist:1669788
cat /Users/richard/.rvm/log/ruby-1.9.3-p0-fast/make.log
[2012-01-24 11:44:18] make
CC = clang
LD = ld
LDSHARED = clang -dynamiclib
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin11.2.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/richard/.rvm/rubies/ruby-1.9.3-p0-fast/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend
SOLIBS =
@moomerman
moomerman / ua.txt
Created Sep 25, 2011
iPad/iPhone User Agents
View ua.txt
Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B367 Safari/531.21.10
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; es-es) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9A5313e
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; es-es) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5
Mozilla/5.0 (iPad; U; CPU OS 4_3_5 like Mac O
@moomerman
moomerman / two_factor_ssh.rb
Created Sep 23, 2011
Two Factor SSH Authentication
View two_factor_ssh.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'rotp'
require 'time'
user = ARGV[0]
secret = ARGV[1]
abort unless user and secret
trap("INT") do
View config_dsl
apt.update
apt.upgrade
apt.install :packages => ['build-essential', 'vim', 'git-core', 'libmysql++-dev', ...]
timezone.set :zone => 'Europe/London'
hostname.set :name => 'example.com'
View gist:281760
#!/bin/ruby
require 'rubygems'
require 'twitter_oauth'
session = {}
@@config = YAML.load_file("config.yml") rescue nil || {}
@client = TwitterOAuth::Client.new(
:consumer_key => 'vikU4jhQVoXoF6e8WCfw3g',
:consumer_secret => 'xen6qlmau7hkaPvppRMoK76f9E9oB1SVQaDmPcMuAc',
View gist:281759
#!/bin/ruby require 'rubygems'
require 'twitter_oauth'
@@config = YAML.load_file("config.yml") rescue nil || {}
@client = TwitterOAuth::Client.new(
:consumer_key => 'vikU4jhQVoXoF6e8WCfw3g',
:consumer_secret => 'xen6qlmau7hkaPvppRMoK76f9E9oB1SVQaDmPcMuAc',
:token => @@config[:token],
:secret => @@config[:secret]
)
View test_embed.rb
def test_embed
puts 'it works'
end
You can’t perform that action at this time.