As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
Sequel.migration do | |
up do | |
# Table: Burndown Project | |
# String: Name - The name of the project | |
# String: Description - Short description of the project | |
create_table(:burndown_project) do | |
primary_key :id | |
String :name | |
String :description | |
end |
require 'irb/completion' | |
require 'irb/ext/save-history' | |
require 'map_by_method' | |
require 'what_methods' | |
require 'pp' | |
IRB.conf[:AUTO_INDENT] = true | |
IRB.conf[:SAVE_HISTORY] = 100 | |
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" #FOR WINDOWS CHANGE HOME TO HOMEPATH |
class Application < Sinatra::Base | |
configure do | |
enable :static | |
set :views, File.join(File.dirname(__FILE__), 'views') | |
end | |
get '/' do | |
slim :index | |
end |
# change foo to your library name | |
# change Foo::Database to your Sequel database | |
namespace :bundler do | |
task :setup do | |
require 'rubygems' | |
require 'bundler/setup' | |
end | |
end |
#!/usr/bin/env ruby | |
require 'spreadsheet' | |
# Begin Test | |
print "Spreadsheet Test\n" | |
# Create the rows to be inserted | |
row_1 = ['A1', 'B1'] | |
row_2 = ['A2', 'B2'] |
# Install AGS in Fedora 20 | |
# https://github.com/adventuregamestudio/ags/blob/master/debian/README.md | |
# Change this to whatever you use for home dir apps | |
cd ~/app | |
git clone git://github.com/adventuregamestudio/ags.git | |
cd ags | |
sudo yum -y install python-devel freetype-devel libvorbis-devel allegro-devel allegro libtheora libtheora-devel dumb-devel dumb | |
make --directory=Engine | |
sudo make --directory=Engine install |
browser = Watir::Browser.new :ie | |
browser.goto http://yourlegacyaspdotnetpage | |
browser.text_field(:id => 'this_field will_force_a_post_back').set ('This is gonna suck') | |
browser.send_keys :tab | |
Watir::Wait.until { browser.ready_state.eql? "complete" } | |
# Rest of your code |
I hereby claim:
To claim this, I am signing this object: