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 'heroku' | |
require 'taps/operation' | |
class Database | |
def self.pull(*args) | |
new.pull(*args) | |
end | |
def initialize(uri=ENV['DATABASE_URL']) | |
@uri = uri |
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 'osx/cocoa' | |
class Screen | |
class << self | |
def resize(width, height, &block) | |
new.resize(width, height, &block) | |
end | |
end | |
def initialize(screen = OSX::CGMainDisplayID()) |
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/sh | |
tmux start-server | |
if ! $(tmux has-session -t grow); then | |
tmux new-session -d -s grow -n foreground | |
tmux send-keys 'cd .' C-m C-l | |
tmux send-keys 'AUTOFEATURE=true autotest --quiet' C-m | |
tmux split-window -h | |
tmux send-keys 'cd .' C-m C-l |
OlderNewer