I hereby claim:
- I am smashwilson on github.
- I am smashwilson (https://keybase.io/smashwilson) on keybase.
- I have a public key whose fingerprint is E4AE B392 BCBF 7F83 41A6 53A9 61F7 489B 6751 9BF6
To claim this, I am signing this object:
#!/usr/bin/env bash | |
key=$1 | |
infile=$2 | |
outfile=$3 | |
openssl rsautl -decrypt -inkey $key -in $infile -out $outfile |
# ${HOME}/bin/azure-deploy | |
#!/bin/sh | |
# | |
# Deployment script for azurefire. | |
AZURE_HOME="/var/webapp/azurefire" | |
export PATH=${PATH}:${HOME}/.rbenv/bin:${HOME}/.rbenv/shims | |
AZURE_GIT="--git-dir ${AZURE_HOME}/.git --work-tree ${AZURE_HOME}" |
require 'fog' | |
require 'base64' | |
service = Fog::Compute.new( | |
provider: 'rackspace', | |
rackspace_username: ENV['RAX_USERNAME'], | |
rackspace_api_key: ENV['RAX_API_KEY'], | |
rackspace_region: :ord | |
) |
require 'fog' | |
# To connect to ServiceNet, this needs to run from a Cloud Server in the same datacenter as your | |
# Cloud Files containers. | |
service = Fog::Storage.new( | |
provider: 'rackspace', | |
rackspace_username: ENV['RAX_USERNAME'], | |
rackspace_api_key: ENV['RAX_API_KEY'], | |
rackspace_region: :ord, | |
rackspace_servicenet: true |
I hereby claim:
To claim this, I am signing this object:
<IfModule mod_ssl.c> | |
<VirtualHost _default_:443> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www | |
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn, | |
# error, crit, alert, emerg. | |
# It is also possible to configure the loglevel for particular | |
# modules, e.g. |
Bringing machine 'default' up with 'rackspace' provider... | |
==> default: Finding flavor for server... | |
==> default: Finding image for server... | |
==> default: Launching a server with the following settings... | |
==> default: -- Flavor: 512MB Standard Instance | |
==> default: -- Image: CentOS 6.5 (PVHVM) | |
==> default: -- Name: ash-vagrant-rackspace | |
==> default: Waiting for the server to be built... | |
==> default: Waiting for SSH to become available... | |
==> default: The server is ready! |
[x, ourRef, ourText, theirText, theirRef] = m.match | |
console.log "Match range: #{m.range}" | |
[baseRow, baseCol] = m.range.start.toArray() | |
console.log "baseRow = #{baseRow}, baseCol = #{baseCol}" | |
ourLines = ourText.split /\n/ | |
ourRowStart = baseRow + 1 | |
ourRowEnd = ourRowStart + ourLines.length - 1 | |
console.log "baseRow = #{baseRow}, ourRowStart = #{ourRowStart}" |
#!/bin/env ruby | |
# | |
# Benchmark any performance degredation associated with moving to case- | |
# insensitive HTTP header access. | |
require 'benchmark' | |
require './lib/excon' | |
resp = Excon::Response.new | |
resp.headers = {} |
Date/Time: 2014-04-11 14:05:25 -0400 | |
OS Version: 10.9.2 (Build 13C64) | |
Architecture: x86_64 | |
Report Version: 18 | |
Command: Atom | |
Path: /Applications/Atom.app/Contents/MacOS/Atom | |
Version: 0.84.0 (0.84.0) | |
Parent: launchd [266] |