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 | |
# | |
# Change the limits temporarily for a user account | |
# Drop into a root shell | |
sudo su - | |
# Set the limits | |
ulimit -n 9999 |
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
# Purty colours | |
require 'highline/import' | |
begin | |
require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32/ | |
rescue LoadError | |
raise 'You must `gem install win32console` to use color on Windows' | |
end | |
# Actual useful parts of the rake file |
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
#!/usr/bin/env ruby -wKU |
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 xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer |
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 xcode-select -switch /Applications/Xcode.app/Contents/Developer |
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
(c) Copyright 2012 David Wagner. | |
Complain/commend: http://noiseandheat.com/ | |
Licensed under the MIT license: | |
http://www.opensource.org/licenses/mit-license.php | |
Permission is hereby granted, free of charge, to any person obtaining a copy |