Skip to content

Instantly share code, notes, and snippets.

View maddox's full-sized avatar

Jon Maddox maddox

View GitHub Profile
/sbin/ipfw add 100 pipe 1 ip from any 80 to any out
/sbin/ipfw add 200 pipe 2 ip from any 80 to any in
/sbin/ipfw pipe 1 config bw 64Kbit/s queue 64Kbytes delay 250ms
/sbin/ipfw pipe 2 config bw 64Kbit/s queue 64Kbytes delay 250ms
# install vim so that you can use it to edit stuff from a mac
apt-get update
apt-get install vim
# as root add your user
adduser deployer
# add admin group
addgroup admin
#### GIT #####
alias gits='git status'
alias glog='git log'
alias gl='git pull'
alias gp='git push'
alias gd='git diff | mate'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gch='git checkout'
alias gb='git branch'
- (void)viewDidLoad {
self.title = @"Finding tweets...";
// get tweets
[NSThread detachNewThreadSelector:@selector(getTweets) toTarget:self withObject:nil];
}
- (void)getTweets{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
Feature: Create customer rental
In order to make money
An admin
Should be able to create new customer rentals
Scenario: Create a new customer rental
Given an admin user
When the admin is logged in
And is on the customers page
Then I should see "Jon Maddox"
## treat this as a binary, don't show in diffs, and ignore from merges
*.pbxproj -crlf -diff -merge
<!-- PYROT EXTRA -->
<item id="10000000">
<description>Pyrot button</description>
<label> Pyrot </label>
<label2> Download with </label2>
<visible>!Skin.HasSetting(HideMovies)</visible>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,plugin://video/pyrot,return)</onclick>
</item>
This is my readme
- Quit Safari
- Locate 1Password in your /Applications folder
- Ctrl-click > Show Package Contents
- Contents > Resources > SupportedBrowsers.plist
- Root > Safari > MaxBundleVersion > Change 5525.9 to 5528.16 (Safari 4 Developer Preview's bundle version is 5526.11.2)
- Start Safari
$ defaults write com.apple.Safari DebugSafari4IncludeToolbarRedesign -bool NO
$ defaults write com.apple.Safari DebugSafari4LoadProgressStyle -bool NO