Skip to content

Instantly share code, notes, and snippets.

View ricktessner's full-sized avatar

Rick Tessner ricktessner

  • Muddyboots
  • Calgary, AB
View GitHub Profile
@ricktessner
ricktessner / gist:3147439
Created July 19, 2012 22:56
Macosx Shell function to open xip.io url for current application
# Assumes wireless interface on en1. If arg is supplied, will try to open that POW app
xip() {
local ip="$(ipconfig getifaddr en1)"
local app="$1"
if [ -z "$1" ] ; then
app="$(basename $PWD)"
fi
open http://${app}.${ip}.xip.io
}
@ricktessner
ricktessner / default_whenever.rb
Created April 27, 2011 21:02 — forked from evizitei/default_whenever.rb
Whenever Chef Recipe on EY AppCloud
#
# Cookbook Name:: whenever
# Recipe:: default
#
ey_cloud_report "whenever" do
message "starting whenever recipe"
end
# Set your application name here