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
package __package__ | |
import ( | |
"net/http" | |
"time" | |
) | |
type responseLogger struct { | |
w http.ResponseWriter | |
status int |
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
#!/usr/bin/env python | |
# coding=UTF-8 | |
import argparse | |
import math | |
import subprocess | |
import sys | |
def main(argv): | |
parser = argparse.ArgumentParser(description='Display current battery capacity') |
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
function bbcurl () { | |
curl $1 | bbedit --new-window +1 -t $1 | |
} |
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
Ld build/Debug-iphonesimulator/UnitTests.octest/UnitTests normal i386 | |
cd /Users/andrew/Projects/clients/moprise/MoshareKit | |
setenv MACOSX_DEPLOYMENT_TARGET 10.6 | |
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin" | |
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -bundle -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/Users/andrew/Projects/clients/moprise/MoshareKit/build/Debug-iphonesimulator -L/Users/andrew/Projects/clients/moprise/MoshareKit -L/Users/andrew/Projects/clients/moprise/MoshareKit/External/OCMock -F/Users/andrew/Projects/clients/moprise/MoshareKit/build/Debug-iphonesimulator -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/Developer/Library/Frameworks -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/Developer |
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
// | |
// Xcode324iOS41TestSuiteWorkaround.m | |
// | |
// This source file provides a work-around to enable running unit tests | |
// against the iPhone Simulator in Xcode 3.2.4 with iOS SDK 4.1. | |
// | |
// This work-around is only needed when using Xcode 3.2.4 to target iOS 4.1. | |
// | |
// Copyright 2010 Apple Inc. All rights reserved. | |
// |
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
$ bundle --help | |
Tasks: | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle check # Checks if the dependencies listed in Gemfile are sa... | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle config NAME [VALUE] # retrieve or set a configuration value | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle console [GROUP] # Opens an IRB session with the bundle pre-loaded | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle exec # Run the command in context of the bundle | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle help [TASK] # Describe available tasks or one specific task | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle init # Generates a Gemfile into the current working directory | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle install # Install the current environment to the system | |
/Users/andrew/.rvm/gems/ruby-1.9.2-rc2@rails3/bin/bundle lock # Locks the bundle |
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
# | |
# Based upon the NCSA server configuration files originally by Rob McCool. | |
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.2/ for detailed information about | |
# the directives. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
NewerOlder