Skip to content

Instantly share code, notes, and snippets.

@chen206
Last active October 13, 2015 01:18
Show Gist options
  • Save chen206/4116685 to your computer and use it in GitHub Desktop.
Save chen206/4116685 to your computer and use it in GitHub Desktop.
os x, maverick

~/Library/Application Support/SIMBL/Plugins/TerminalColours-SL-64bit.bundle/Contents/Info.plist

Change MaxBundleVersion

sudo killall -HUP mDNSResponder

apache/php web share

/etc/apache2/httpd.conf

Listen 8080

LoadModule php5_module libexec/apache2/libphp5.so

DocumentRoot "/path/to/documment_root"

<Directory />
     Options FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all
</Directory>

sudo apachectl restart

sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool false

/etc/auto_master

/-          auto_smb -nosuid

/etc/auto_smb

/Users/wd/git/chenwin8 -fstype=smbfs ://git:[email protected]/workspace
/Users/wd/git/wang -fstype=smbfs ://git:[email protected]/workspace_server
/Users/wd/git/liujie -fstype=smbfs ://git:[email protected]/repos_liu
/Users/wd/git/yang -fstype=smbfs ://git:[email protected]/work
sudo automount -vc   (-vcu)
sudo dscl . create /Users/root GeneratedUID FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000000
sudo dscl . create /Users/git UserShell /bin/bash

npm install

Using the Safari browser (not Chrome, Firefox or Opera) on Mac OS X 10.9 (Mavericks) visit https://registry.npmjs.org

Click the Show certificate button and then check the checkbox labelled Always trust. Then click Continue and enter your password if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment