-
bbq
https://github.com/drugpl/bbq polishing docs, cleaning code, merging community features, release!
This file contains hidden or 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
| import XMonad | |
| import XMonad.Config.Gnome | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.ManageHelpers | |
| import XMonad.Actions.CycleWS | |
| import XMonad.Actions.WindowGo | |
| import XMonad.Util.WindowProperties | |
| import XMonad.Util.EZConfig | |
| import XMonad.Layout.Named |
This file contains hidden or 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
| longer_build_script = <<END | |
| export WEIRD_VAR=3 | |
| export GIT_SSH=ssh-with-another-identity-hack | |
| git clone strange_dependency_repo.git somewhere | |
| bundle exec rake test | |
| END | |
| Citrus::Config.new do |c| | |
| # how many isolated VMs to start for each build step, |
This file contains hidden or 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
| # $ curl -i -H 'Accept: application/vnd.helloapp-v2+json' http://localhost:8080/hello/prug | |
| # | |
| # HTTP/1.1 200 OK | |
| # Content-Type: application/vnd.helloapp-v2+json | |
| # Vary: Accept | |
| # Content-Length: 11 | |
| # Server: Webmachine-Ruby/0.3.0 WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) | |
| # Date: Thu, 26 Jan 2012 15:27:09 GMT | |
| # Connection: Keep-Alive | |
| # |
This file contains hidden or 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
| ata5: link is slow to respond, please be patient (ready=0) | |
| ata5: COMRESET failed (errno=-16) | |
| ata5: link is slow to respond, please be patient (ready=0) | |
| ata5: COMRESET failed (errno=-16) | |
| ata5: link is slow to respond, please be patient (ready=0) | |
| ata5: COMRESET failed (errno=-16) | |
| ata5: limiting SATA link speed to 1.5 Gbps | |
| ata5: COMRESET failed (errno=-16) | |
| ata5: reset failed, giving up |
This file contains hidden or 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
| # mongoid and duck typing | |
| def logger=(logger) | |
| case logger | |
| when Logger then @logger = logger | |
| when false, nil then @logger = nil | |
| end | |
| end |
This file contains hidden or 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
| import XMonad | |
| import XMonad.Config.Gnome | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.ManageHelpers | |
| import XMonad.Actions.CycleWS | |
| import XMonad.Actions.WindowGo | |
| import XMonad.Util.WindowProperties | |
| import XMonad.Util.EZConfig | |
| import XMonad.Layout.Named |
This file contains hidden or 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
| default-table-type=innodb | |
| transaction-isolation=READ-COMMITTED | |
| default-character-set=utf8 | |
| skip-sync-frm=OFF | |
| innodb_flush_log_at_trx_commit = 0 | |
| innodb_flush_method = 0_DIRECT |
This file contains hidden or 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
| alias tstamp='date +%Y%m%d%H%M%S' | |
| backup(){ | |
| cp -r $1 $1.`tstamp` | |
| } |
This file contains hidden or 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
| Rake::TestTask.new('test') do |t| | |
| t.libs << 'lib' | |
| t.libs << 'test' | |
| t.pattern = 'test/**/*_test.rb' | |
| end | |
| task :default => :test |