-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalias
38 lines (32 loc) · 3.06 KB
/
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
alias svnupdry='svn merge --dry-run -r BASE:HEAD .'
alias du_sorted="du -abx | sort -n | gawk '{if(match(\$0, /^([[:digit:]]+)[\\t ]+(.+)/, a)){ s = int(a[1]); n = a[2]; u = \"B \"; if(s >= 1024){s = s/1024; u = \"KB\";} if(s >= 1024){s = s/1024; u = \"MB\";} if(s >= 1024){s = s/1024; u = \"GB\";} if(s >= 1024){s = s/1024; u = \"TB\";} printf(\"%8.2f%s %s\\n\", s, u, n)}}'"
alias cmus="TERM=rxvt cmus"
alias metaflac_various='metaflac --remove-tag=COMPILATION *.flac; metaflac --remove-tag="ALBUM ARTIST" *.flac; metaflac --set-tag="COMPILATION=1" *.flac'
alias vd='vim -d -R -'
alias vo='vim -R -'
alias grepr='grep -n -r -s --exclude-dir=bin --exclude=cscope.out --exclude=tags --exclude-dir=.svn --exclude-dir=.git --exclude-dir=patches --exclude-dir=build'
alias g=git
alias pst="ps -AfH f"
alias pstl="ps -fH f -u `id -u`"
alias lsofi="lsof -i -n -P"
alias play_barometer="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch09m?wmcontentbitrate=300000\""
alias play_boogie="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch07m?wmcontentbitrate=300000\""
alias play_dansktop="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch11m?wmcontentbitrate=300000\""
alias play_electronica="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e06ch10m?wmcontentbitrate=300000\""
alias play_evergreen="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e06ch07m?wmcontentbitrate=300000\""
alias play_hit="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e04ch10m?wmcontentbitrate=300000\""
alias play_jazz="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch05m?wmcontentbitrate=300000\""
alias play_klassisk="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch06m?wmcontentbitrate=300000\""
alias play_oline="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e04ch12m?wmcontentbitrate=300000\""
alias play_p1="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch01m?wmcontentbitrate=300000\""
alias play_p2="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch02m?wmcontentbitrate=300000\""
alias play_p3="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch03m?wmcontentbitrate=300000\""
alias play_p5="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e06ch01m?wmcontentbitrate=300000\""
alias play_p6="mplayer2 -cache 256 -ao pulse \"http://wmscr1.dr.dk/e06ch10m?wmcontentbitrate=300000\""
alias play_rock="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e02ch04m?wmcontentbitrate=300000\""
alias play_rogb="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e06ch08m?wmcontentbitrate=300000\""
alias play_soft="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e06ch05m?wmcontentbitrate=300000\""
alias play_world="mplayer2 -cache 256 -ao pulse \"http://wmscr2.dr.dk/e06ch12m?wmcontentbitrate=300000\""
alias cmake_here="CC='cc_args.py gcc' CXX='cc_args.py g++' ccmake ."
alias cmake_here_clang="CC='cc_args.py clang' CXX='cc_args.py clang++' ccmake ."
alias cmake_clean="find -name CMakeFiles -or -name CTestTestfile.cmake -or -name cmake_install.cmake -or -name install_manifest.txt -or -name CMakeCache.txt -or -name InstallFiles -or -name Makefile| xargs rm -rf"