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
class HelloSbt { | |
def sayHello() = "" | |
} |
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
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend |
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
sudo crontab -e | |
30 3 * * * /sbin/shutdown -r +5 "About to reboot!" |
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
# mute startup chime | |
sudo nvram SystemAudioVolume=%80 | |
# reenable startup chime. | |
sudo nvram -d SystemAudioVolume |
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
<FileZilla3> | |
<Settings> | |
<Setting name="Config Location">/Users/[Username]/Dropbox/Config/Preferences/filezilla/</Setting> | |
<Setting name="Kiosk mode">0</Setting> | |
<Setting name="Disable update check">0</Setting> | |
</Settings> | |
<Servers> | |
</Servers> | |
</FileZilla3> |
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 "autotest/growl" | |
require "autotest/fsevent" | |
Autotest.add_hook :initialize do |autotest| | |
%w{.git .svn .hg .DS_Store ._* vendor tmp log doc}.each do |exception| | |
autotest.add_exception(exception) | |
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
source 'http://rubygems.org' | |
gem 'rails', '3.0.3' | |
gem 'sqlite3-ruby', :require => 'sqlite3' | |
gem 'haml' | |
gem 'jquery-rails' | |
# Authentication | |
gem 'devise', :git => "git://github.com/JohnPlummer/devise.git" |
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
Feature: Authentication | |
So that users can be associated with an account | |
As the site owner | |
I want users to login |
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
# Usage: | |
# @wip @stop | |
# At the end of features/support/env.rb add the following line | |
# require File.expand_path(File.dirname(__FILE__) + '/stop') | |
# $ cucumber -p wip | |
After do |scenario| | |
if scenario.failed? && scenario.source_tag_names.include?("@wip") && scenario.source_tag_names.include?("@stop") | |
puts "Scenario failed. You are in rails console becuase of @stop. Type exit when you are done" |
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 'compass' | |
require 'compass/app_integration/rails' | |
require 'fileutils' | |
FileUtils.mkdir_p(Rails.root.join("tmp", "stylesheets")) | |
Compass::AppIntegration::Rails.initialize! | |
Rails.configuration.middleware.delete('Sass::Plugin::Rack') | |
Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Sass::Plugin::Rack') |
OlderNewer