defaults write com.apple.dock workspaces-auto-swoosh -bool NO ; killall Dock
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
<?xml version="1.0" ?><!DOCTYPE service-group SYSTEM 'avahi-service.dtd'><service-group><name replace-wildcards="yes">AirPrint HL2270DW @ %h</name><service><type>_ipp._tcp</type><subtype>_universal._sub._ipp._tcp</subtype><port>631</port><txt-record>txtvers=1</txt-record><txt-record>qtotal=1</txt-record><txt-record>Transparent=T</txt-record><txt-record>URF=none</txt-record><txt-record>rp=printers/HL2270DW</txt-record><txt-record>note=HL2270DW</txt-record><txt-record>product=(GPL Ghostscript)</txt-record><txt-record>printer-state=3</txt-record><txt-record>printer-type=0x821014</txt-record><txt-record>pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,image/urf,text/html,text/plain,application/vnd.adobe-reader-postscript,application/vnd.cups-command</txt-record></service></service-group> |
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
# root and users in group wheel can run anything on any machine as any user | |
root ALL = (ALL) ALL | |
%admin ALL = (ALL) ALL | |
nclark ALL = (ALL) ALL, NOPASSWD: /usr/local/bin/svc,/usr/local/bin/svstat |
I hereby claim:
- I am nclark on github.
- I am nclark (https://keybase.io/nclark) on keybase.
- I have a public key whose fingerprint is EAB5 1E08 38D8 000F 0267 B21D A118 BC05 B671 610A
To claim this, I am signing this object:
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/bash | |
# mkdir /service/redmine-unicorn | |
# cd /service/redmine-unicorn | |
# mkdir env | |
# echo "production" > env/RAILS_ENV | |
# echo "/home/riywo/redmine" > env/RAILS_ROOT | |
# echo "/home/riywo/.rbenv" > env/RBENV_ROOT | |
# echo "riywo" > env/USER | |
exec 2>&1 \ |
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
--- pjax.orig.rb 2012-05-04 22:46:22.000000000 -0700 | |
+++ pjax.rb 2012-05-04 22:46:57.000000000 -0700 | |
@@ -13,6 +13,10 @@ | |
headers = HeaderHash.new(headers) | |
if pjax?(env) | |
+ request_parameters = env['action_dispatch.request.parameters'] | |
+ controller_name = request_parameters[:controller] | |
+ action_name = request_parameters['action'] | |
+ |
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
# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs) | |
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
# Enable the 2D Dock | |
defaults write com.apple.dock no-glass -bool true | |
# Make Dock icons of hidden applications translucent | |
defaults write com.apple.dock showhidden -bool true | |
# Disable menu bar transparency |
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
# Rails application template for Rails 3 + Postgres + Git + haml + JQuery + Rspec + Cucumber + Capybara + FactoryGirl | |
# by Brian Smith <[email protected]> | |
# Create a default README | |
file "README.md", <<-EOF | |
#{app_name} | |
#{"=" * app_name.length} | |
TODO: description |
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
hardstatus on | |
hardstatus alwayslastline | |
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %m/%d %C%a " | |
termcapinfo xterm* ti@:te@ | |
startup_message off | |
vbell off | |
screen -t irb 1 irb | |
screen -t vi 2 vi |
NewerOlder