This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export EDITOR='emacsclient -t -n -a ""' | |
alias ec='emacsclient -c -n -a ""' | |
alias et='emacsclient -t -a ""' | |
ecs() { emacsclient -c -n -a emacs "/sudo::$*" } | |
ets() { emacsclient -t -a emacs "/sudo::$*" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Make emacs open all files in last emacs session. | |
;; Taken from ergoemacs, credits go to ergoemacs authors. | |
;; This functionality is provided by desktop-save-mode | |
;; (“feature” name: “desktop”). | |
;; | |
;; The mode is not on by default in emacs 23.1, and has a lot options. | |
;; The following is init settings for the mode for ErgoEmacs. | |
;; Goal: have emacs always auto open the set of opened files in last session, | |
;; even if emacs crashed in last session or the OS crashed in last session. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem ------------------------------------------------------------------------------- | |
rem this file controls the error level returned by the tool robocopy in order to | |
rem be usable in a custom build step of Visual Studio | |
rem ------------------------------------------------------------------------------- | |
robocopy.exe /A-:R /NP /NJH /NJS /NDL /NFL /NS /NC %* | |
rem if errorlevel 16 echo Robocopy Exit Status: ***FATAL ERROR*** & exit /b 1 | |
rem if errorlevel 15 echo Robocopy Exit Status: FAIL MISM XTRA COPY & exit /b 1 | |
rem if errorlevel 14 echo Robocopy Exit Status: FAIL MISM XTRA & exit /b 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Defaults:nova !requiretty | |
Cmnd_Alias NOVACMDS = /bin/aoe-stat, \ | |
/bin/chmod, \ | |
/bin/chmod /var/lib/nova/tmp/*/root/.ssh, \ | |
/bin/chown, \ | |
/bin/chown /var/lib/nova/tmp/*/root/.ssh, \ | |
/bin/dd, \ | |
/bin/kill, \ | |
/bin/mkdir, \ | |
/bin/mount, \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace in all xml files | |
find . -name "*.xml" | xargs sed -i 's/reg_exp/replace/g' |
NewerOlder