forked from bryanl/zshkit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
99_alias
47 lines (32 loc) · 2.3 KB
/
99_alias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
alias dev="cd ~/Development"
alias doc="cd ~/Documents"
alias down="cd ~/Downloads"
alias sc="script/console"
alias ss="script/server"
alias pi="sudo port -v install"
alias xmlget="curl -X GET -H 'Accept: application/xml'"
alias jsonget="curl -X GET -H 'Accept: application/json'"
alias xmlpost="curl -X POST -H 'Accept: application/xml'"
alias xmlput="curl -X PUT -H 'Accept: application/xml'"
alias xmldelete="curl -X DELETE -H 'Accept: application/xml'"
alias shiny="ssh [email protected]"
alias rsync_podcast="rsync -av --delete --partial --progress --stats [email protected]:~/.rubypodder/ ~/Movies/rubypodder/"
alias gup="git fetch origin master && git rebase origin/master"
#alias start_mysql="sudo /usr/local/mysql/bin/mysqld_safe"
alias tunnel_couchdb="ssh -f -N -L 5985:localhost:5984 shingara.fr"
alias couchdb_start="sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist"
alias couchdb_stop="sudo launchctl unload -w /Library/LaunchDaemons/org.apache.couchdb.plist"
alias rabbitmq_start="sudo launchctl load -w /Library/LaunchDaemons/org.macports.rabbitmq-server.plist"
alias rabbitmq_stop="sudo launchctl unload -w /Library/LaunchDaemons/org.macports.rabbitmq-server.plist"
#alias mysql_start="sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist"
alias mysql_start="/usr/local/Cellar/mysql/5.1.41/share/mysql/mysql.server start"
#alias mysql_stop="sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql5.plist"
#alias postgresql_start="sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql84-server.plist"
alias postgresql_start="/usr/local/bin/pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start"
#alias postgresql_stop="sudo launchctl unload -w /Library/LaunchDaemons/org.macports.postgresql84-server.plist"
alias postgresql_stop="/usr/local/bin/pg_ctl -D /usr/local/var/postgres stop -s -m fast"
alias memcached_start="launchctl load -w /usr/local/Cellar/memcached/1.4.4/com.danga.memcached.plist"
alias memcached_stop="launchctl unload -w /usr/local/Cellar/memcached/1.4.4/com.danga.memcached.plist"
alias redis_start="sudo redis-server /opt/local/etc/redis.conf"
alias mount_passerieux="mount 192.168.83.7:/nethdd/PASSERIEUX ~/passerieux"
alias mongo_start="mongod run --config /usr/local/Cellar/mongodb/1.2.3-x86_64/mongod.conf"