I hereby claim:
- I am pweldon on github.
- I am pweldon (https://keybase.io/pweldon) on keybase.
- I have a public key ASAHnDVE-XA3hAvwORfVC1MiB_QMbfiwA2v5AyUX-_wkXQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # credit: https://github.com/a-schaefers/themelios | |
| set -euxo pipefail | |
| die() { | |
| [ $# -gt 0 ] && printf -- "%s\n" "$*" | |
| exit 1 | |
| } |
I hereby claim:
To claim this, I am signing this object:
| module InterruptibleSleep | |
| def interruptible_sleep(seconds) | |
| @_sleep_check, @_sleep_interrupt = IO.pipe | |
| IO.select([@_sleep_check], nil, nil, seconds) | |
| end | |
| def interrupt_sleep | |
| @_sleep_interrupt.close if @_sleep_interrupt | |
| end | |
| end |
| require 'rubygems' | |
| require 'sinatra' | |
| require 'fileutils' | |
| # upload with: | |
| # curl -v -F "data=@/path/to/filename" http://localhost:4567/user/filename | |
| # or just go to http://localhost:4567/user/filename with a browser | |
| get '/:name/:filename' do |
| source 'http://rubygems.org' | |
| gem 'rspec' | |
| gem 'rspec_junit_formatter', :git => 'git://github.com/pweldon/rspec_junit_formatter.git' | |
| #!/bin/bash | |
| set -e | |
| cd /usr/lib/rabbitmq/lib/rabbitmq_server-2.6.1/plugins | |
| wget \ | |
| --timestamping \ | |
| http://www.rabbitmq.com/releases/plugins/v2.6.1/\ | |
| {\ | |
| mochiweb-1.3-rmq2.6.1-git9a53dbd.ez,\ |
| C:\Users\Peter\Ruby>mkdir cacert_test | |
| C:\Users\Peter\Ruby>cd cacert_test | |
| C:\Users\Peter\Ruby\cacert_test>ruby -v | |
| ruby 1.9.3dev (2010-12-28 trunk 30406) [i386-mingw32] | |
| C:\Users\Peter\Ruby\cacert_test>set SSL_CERT_FILE= |