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
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences. | |
# Instructions: | |
# Go to TextMate > Preferences... | |
# Click Advanced | |
# Select Folder References | |
# Replace the following: | |
# File Pattern (original) |
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
#!/bin/sh | |
# Ubuntu 12.04 | |
# https://help.ubuntu.com/12.04/serverguide/openvpn.html | |
# don't actually run this as a script | |
exit 0 | |
# setup airport to port forward 1194 to OpenVPN server |
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
#!/bin/sh | |
# http://pkg.jenkins-ci.org/debian/ | |
# https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu | |
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo aptitude update | |
sudo aptitude install jenkins |
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
#!/bin/sh | |
# https://help.ubuntu.com/community/apcupsd | |
# don't actually run this | |
exit 0 | |
# install apcupsd | |
sudo apt-get -y install apache2 apcupsd apcupsd-cgi |
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
#!/bin/sh | |
# If you're getting errors like: | |
# | |
# dyld: Library not loaded: /usr/local/lib/libusb-1.0.0.dylib | |
# Referenced from: /Users/cwilson/stow/bin/JLinkExe | |
# Reason: no suitable image found. Did find: | |
# /opt/local/lib/libusb-1.0.0.dylib: mach-o, but wrong architecture | |
# Trace/BPT trap: 5 |
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
#!/bin/sh | |
tar zxvf tar xzvf clearsilver-0.10.5.tar.gz | |
cd clearsilver-0.10.5 | |
./configure --disable-apache --disable-java --disable-ruby \ | |
--disable-csharp \ | |
--with-python=/usr/bin/python \ | |
--with-perl=/usr/bin/perl \ | |
--enable-gettext \ | |
--prefix=/stow/repository/clearsilver-0.10.5 |
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
#!/bin/bash | |
: ${MAILDIR:="$HOME/Library/Mail"} | |
find "$MAILDIR" -type f -name Info.plist -print0 | xargs -0 perl -i -pe 'BEGIN{undef $/;} s/\t<key>SortedDescending<\/key>\n\t<string>NO<\/string>/\t<key>SortedDescending<\/key>\n\t<string>YES<\/string>/smg' |
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
#!/bin/sh | |
# adapted from http://code.google.com/p/osx-launchpad/source/browse/build.sh | |
# to build using MacPorts and install via GNU Stow | |
set -e | |
# Force root | |
if [ $EUID -ne 0 ]; then | |
echo "You must be root" |
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
#include <msp430.h> | |
int main(void) | |
{ | |
return 0; | |
} |