Howard Dyer Front End Developer | Graphic Designer

Start a Simple Web Server From Any Directory in Mac OS

python -m SimpleHTTPServer 8000

Reset Stubborn Git Files

git rm --cached -r .

git reset --hard

Add a Space to the Dock in Mac OS

defaults write persistent-apps -array-add '{"tile-type"="spacer-tile";}'

killall Finder

Show Hidden Files and Folders in Mac OS

defaults write AppleShowAllFiles -boolean true

killall Finder

Using .htaccess

Helpful notes for using .htaccess.

Create Command Line Directory Shortcuts

nano .bash_profile

alias shortcutToMyDevFolder='cd /Path/To/My/Dev/Folder'

source ~/.bash_profile

Newer posts (Page 5 of 5)