Skip to content

Instantly share code, notes, and snippets.

View icemancast's full-sized avatar

Isaac Castillo icemancast

View GitHub Profile
@icemancast
icemancast / gist:1429086
Created December 4, 2011 03:48
SSH to Media Temple
@icemancast
icemancast / crontab
Created December 3, 2011 17:28
setup cron job
$ crontab -e
crontab -e Edit your crontab file, or create one if it doesn’t already exist.
crontab -l Display your crontab file.
crontab -r Remove your crontab file.
crontab -v Display the last time you edited your crontab file (This option is only available on a few systems.)
* * * * * command to be executed
- - - - -
| | | | |
@icemancast
icemancast / Alias Config
Created November 28, 2011 04:11
Add new site alias
(Add this to /usr/local/etc/aliases.conf)
Alias /my_organization/my_company/my_project/ "/Users/[your_user]/Sites/projects/my_organization/my_company/my_project/web/"
<Directory "/Users/[your_user]/Sites/projects/my_organization/my_company/my_project/web/">
Options -Indexes FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
@icemancast
icemancast / Terminal remove directory
Created November 27, 2011 15:31
Remove a directory through terminal
rm -rf /path/to/directory (remove a directory)
rm -rf /tmp/foo (remove directory)