Skip to content

Instantly share code, notes, and snippets.

rusticode

Block or report user

Report or block rusticode

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rusticode
rusticode / limit.maxproc.plist
Last active Aug 29, 2015
Adjusting limit of maximum number of process limits on a system-wide basis
View limit.maxproc.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxproc</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
@rusticode
rusticode / limit.maxfiles.plist
Last active Aug 29, 2015
Adjusting open files limits on a system-wide basis
View limit.maxfiles.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxfiles</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
@rusticode
rusticode / org.mongodb.mongod.plist
Last active Aug 29, 2015
Launch daemon configuration file for mongodb startup
View org.mongodb.mongod.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.mongodb.mongod</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/bin/mongod</string>
@rusticode
rusticode / git-config.sh
Last active Aug 29, 2015
Git colors and aliases configuration
View git-config.sh
# Git colors and aliases configuration provided by @rusticode
git config --global color.ui auto
git config --global color.interactive auto
git config --global alias.s status
git config --global alias.r reset
git config --global alias.alias '!git config --list | grep alias | cut -c 7-'
View install_php.sh
sudo port install php53 +apache2 +pear php53-apache2handler php53-curl php53-iconv php53-mbstring php53-mcrypt php53-mysql php53-openssl php53-gd php53-uploadprogress php53-pear php53-zip php53-xdebug
sudo port install php54 +apache2 +pear php54-apache2handler php54-curl php54-iconv php54-mbstring php54-mcrypt php54-mysql php54-openssl php54-gd php54-uploadprogress php54-pear php54-zip php54-xdebug
sudo port install php55 +apache2 +pear php55-apache2handler php55-curl php55-iconv php55-mbstring php55-mcrypt php55-mysql php55-openssl php55-gd php55-uploadprogress php55-pear php55-zip php55-xdebug
sudo port install php56 +apache2 +pear php56-apache2handler php56-curl php56-iconv php56-mbstring php56-mcrypt php56-mysql php56-openssl php56-gd php56-uploadprogress php56-pear php56-zip php56-xdebug
sudo port select php php55
sudo port install pear-PEAR
# ~/.profile
# MacPorts PHP PEAR
You can’t perform that action at this time.