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
21:01 bobmcw: git fetch origin | |
21:01 bobmcw: git rebase origin/master | |
21:01 bobmcw: # test | |
21:01 bobmcw: git push origin master | |
21:01 bobmcw: avoids a merge commit | |
21:02 tcrawley: or add an alias to ~/.gitconfig: frebase = !git fetch && git rebase origin |
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
0:50 bobmcw: and wanted to test-build an appliance, but it didn't check my local RPM builds | |
10:50 bobmcw: so I had to scp to repository.boxgrinder.org and createrepo | |
10:50 bobmcw: is there some --local-rpms flag to use locally-produced RPMs during early dev cycle? | |
10:50 bobmcw: I know I could add a file:/// repo to my appl | |
10:50 bobmcw: but that seemed ugly | |
10:50 mgoldmann: bobmcw: some kind of | |
10:51 mgoldmann: yes, this is the way, + mark it as ephemeral repo | |
10:51 bobmcw: "mark as emphemeral repo" ? | |
10:51 mgoldmann: yes, it's ugly, you don't want to check in this to the repo | |
10:51 mgoldmann: ephemeral: true |
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
t1.micro: | |
Nothing | |
m1.small: | |
/dev/xvda3: 1GB | |
/dev/xvdb: 160GB | |
c1.medium: |
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
frontend-64 1.2.final: 0606f16f | |
frontend-32: 1.2.final: 6e05f207 | |
appserver-64 1.2.final: ec06f185 | |
appserver-32: 1.2.final: 7005f219 | |
postgresql-64 1.2.final: ee06f187 | |
postgresql-32: 1.2.final: 4c05f225 | |
developer-standalone-64 1.2.final: f206f19b |
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
Quicksort | |
========= | |
I happened across a big pile of stuff | |
And decided that it should be sorted. | |
The time I could spend was hardly enough, | |
Any more time could not be afforded. | |
I picked up a thing, at random, I'm sure, | |
And to each of the rest I compared it. | |
I made two more piles of stuff, as it were: |
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
require 'rubygems' | |
require 'sinatra' | |
module Simple | |
class Application < Sinatra::Base | |
get '/' do | |
"Hello! TorqueBox says it's #{Time.now}." | |
end | |
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
The cats nestle close to their kittens now. | |
The lambs have laid down with the sheep. | |
You’re cozy and warm in your bed, my dear. | |
Please go the fuck to sleep. | |
The windows are dark in the town, child. | |
The whales huddle down in the deep. | |
I’ll read you one very last book if you swear | |
You’ll go the fuck to sleep. |
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
RUBY HOEDOWN 2011 | |
Day 1 | |
----- | |
8:00 - Registration opens | |
9:00 - Kickoff with The Improv Effect | |
10:00 - TorqueBox: A True Application Server for Ruby |
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
# Props to qmx and abstractj for the inspiration | |
# | |
# Put this file in your home directory and these lines to .profile | |
# if [[ -f "$HOME/.java.env" ]]; then | |
# source "$HOME/.java.env"; | |
# fi | |
VERSION=$1 | |
if [ ! -n "$VERSION" ] |
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
tell application "System Events" | |
tell current location of network preferences | |
set VPNservice to service "NAME OF YOUR VPN" | |
if exists VPNservice then set isConnected to connected of current configuration of VPNservice | |
if isConnected is false then | |
connect VPNservice | |
else | |
disconnect VPNservice |
OlderNewer