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
# System-wide .bashrc file for interactive bash(1) shells. | |
if [ -z "$PS1" ]; then | |
return | |
fi | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
#export GIT_PS1_SHOWDIRTYSTATE=true |
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
# | |
# Automounter master map | |
# | |
+auto_master # Use directory service | |
/net -hosts -nobrowse,hidefromfinder,nosuid | |
#/home auto_home -nobrowse,hidefromfinder | |
/Network/Servers -fstab | |
/- -static |
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
# ----------------------------- | |
# PostgreSQL configuration file | |
# ----------------------------- | |
# | |
# This file consists of lines of the form: | |
# | |
# name = value | |
# | |
# (The "=" is optional.) Whitespace may be used. Comments are introduced with | |
# "#" anywhere on a line. The complete list of parameter names and allowed |
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 | |
COL_NORM="$(tput sgr0)" | |
COL_RED="$(tput setaf 1)$(tput bold)" | |
COL_GREEN="$(tput setaf 2)$(tput bold)" | |
if [ -z "$1" ] | |
then | |
echo "${COL_RED}No branch defined${COL_NORM}" | |
echo "Usage: git publish [branch]" |
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 | |
rhost=$1 | |
shift | |
port=$1 | |
if [ "$port" == "" ]; then | |
pstring="ssh $rhost" | |
else | |
pstring="ssh $rhost -p $port" |
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
[pack] | |
threads = 0 | |
[color] | |
ui = auto | |
[apply] | |
whitespace = nowarn | |
[alias] | |
cp = cherry-pick | |
co = checkout | |
ci = commit |
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
kern.sysv.shmmax=524288000 | |
kern.sysv.shmseg=16 | |
kern.sysv.shmall=131072000 | |
kern.maxprocperuid=1024 | |
net.inet.tcp.mssdflt=1460 | |
net.inet.tcp.sendspace=262144 | |
net.inet.tcp.recvspace=262144 | |
net.inet.udp.recvspace=74848 | |
net.inet.udp.maxdgram=65535 |
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" encoding="UTF-8" standalone="no"?> | |
<templates> | |
<template autoinsert="false" context="java" deleted="false" description="FileField" enabled="true" name="ff"> { | |
FileField ff = new FileField(this, ${var}); | |
addField(ff, true); | |
} | |
</template> | |
<template autoinsert="true" context="java" deleted="false" description="Getter and Setter for FileField" enabled="true" name="gsff"> public void set${field}(File file) { | |
getFieldAt(${var}, FileField.class).setValue(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
echo 'export PATH="/opt/local/bin:$PATH"' >> /etc/bashrc | |
export PATH="/opt/local/bin:$PATH" | |
port -v selfupdate | |
port upgrade outdated |
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
if [ ! -f /opt/local/bin/gist.sh ]; then | |
/opt/local/bin/curl http://github.com/gmarik/gist.sh/raw/master/gist.sh > gist.sh | |
mv gist.sh /opt/local/bin/ | |
chmod a+x /opt/local/bin/gist.sh | |
fi | |
port install bash-completion git-core | |
echo ' | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion |