This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat test.rb | |
class Foo | |
def bar | |
'baz' | |
end | |
end | |
debugger | |
Foo.new.bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@atlas-dev-precise64-devmac-1:~/.rvm/archives$ tar -zxvf wayneeseguin-rvm-stable.tgz | |
... snip a whole bunch of success ... | |
tar: wayneeseguin-rvm-287a5f6/README.rdoc: Cannot create symlink to `README': Read-only file system | |
tar: wayneeseguin-rvm-287a5f6/README.txt: Cannot create symlink to `README': Read-only file system | |
tar: wayneeseguin-rvm-287a5f6/install: Cannot create symlink to `scripts/install': Read-only file system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dev/mapper/precise64-root on / type ext4 (rw,errors=remount-ro) | |
proc on /proc type proc (rw,noexec,nosuid,nodev) | |
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) | |
none on /sys/fs/fuse/connections type fusectl (rw) | |
none on /sys/kernel/debug type debugfs (rw) | |
none on /sys/kernel/security type securityfs (rw) | |
udev on /dev type devtmpfs (rw,mode=0755) | |
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) | |
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) | |
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@atlas-dev-precise64-devmac-1:~/.rvm/archives$ ls -l ~/.rvm/archives/wayneeseguin-rvm-287a5f6/ | |
total 232 | |
drwxr-xr-x 1 vagrant vagrant 408 Feb 9 02:42 binscripts | |
drwxr-xr-x 1 vagrant vagrant 272 Feb 9 02:42 config | |
drwxr-xr-x 1 vagrant vagrant 204 Feb 9 02:42 contrib | |
drwxr-xr-x 1 vagrant vagrant 204 Feb 9 02:42 docs | |
drwxr-xr-x 1 vagrant vagrant 102 Feb 9 02:42 examples | |
drwxr-xr-x 1 vagrant vagrant 204 Feb 9 02:42 gemsets | |
-rw-r--r-- 1 vagrant vagrant 2198 Feb 9 02:42 HACKING.md | |
drwxr-xr-x 1 vagrant vagrant 1632 Feb 9 02:42 help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.box = "atlas-dev-precise64-#{`hostname`.strip}" | |
config.vm.host_name = "atlas-dev-precise64-#{`hostname`.strip}" | |
config.vm.box_url = 'http://files.vagrantup.com/precise64.box' | |
config.vm.boot_mode = :gui | |
config.vm.network :bridged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>IPSec</key> | |
<dict> | |
<key>SystemConfig</key> | |
<dict> | |
<key>IPSec</key> | |
<dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client = RestClient::Resource.new(SATISFACTION_BOOKIES_URI, | |
:ssl_client_key => OpenSSL::PKey::RSA.new(File.read('client.pem'), 'mypassword')) | |
client.put(:object => data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Around do |scenario, block| | |
Pry::rescue do | |
block.call | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SSID=$1 | |
if [ -z "$SSID" ]; then | |
echo "usage: nmcli-bounce SSID" | |
exit -1 | |
fi | |
HOST=cogent.co |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ npm -g i jsbin | |
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade | |
npm WARN engine sqlite3@2.2.4: wanted: {"node":">= 0.8.0 < 0.13.0"} (current: {"node":"4.6.0","npm":"2.15.9"}) | |
npm WARN deprecated set-immediate@0.1.1: Use `setimmediate` instead | |
| | |
> sqlite3@2.2.4 install /home/duncan/node/lib/node_modules/jsbin/node_modules/sqlite3 | |
> node-pre-gyp install --fallback-to-build | |
(node) child_process: options.customFds option is deprecated. Use options.stdio instead. | |
make: Entering directory '/home/duncan/node/lib/node_modules/jsbin/node_modules/sqlite3/build' |