This file contains 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
Issue: | |
Unexpected end of file perhaps the fastcgi process died lighttpd | |
Solution: | |
Check lighttpd cgi config. | |
For more info refer: https://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html |
This file contains 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
#!/bin/bash | |
# directories to be included, space separated | |
SOURCE="/home/chewie /etc" | |
# directories to be excluded, space separated | |
IGNORE="/home/chewie/Downloads /home/chewie/Steam" | |
DRIVE_FOLDER="duplicity-backup" | |
LOGFILE=/home/chewie/duplicity.log | |
# set email to receive a backup report | |
EMAIL="" |
This file contains 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
" Quickly edit/reload VIMRC configuration file | |
nnoremap gev :e $MYVIMRC<CR> | |
nnoremap gsv :so $MYVIMRC<CR> | |
if has ('autocmd') " Remain compatible with earlier versions | |
augroup vimrc " Source vim configuration upon save | |
autocmd! BufWritePost $MYVIMRC source % | echom "Reloaded " . $MYVIMRC | redraw | |
autocmd! BufWritePost $MYGVIMRC if has('gui_running') | so % | echom "Reloaded " . $MYGVIMRC | endif | redraw | |
augroup END | |
endif " has autocmd |
This file contains 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
" for creating gists | |
Plugin 'mattn/webapi-vim' | |
Plugin 'mattn/gist-vim' | |
"""""""""""""""""""""""""""" | |
" GIST Options | |
"""""""""""""""""""""""""""" | |
" If you set g:gist_clip_command, gist.vim will copy the gist code with option '-c' | |
let g:gist_clip_command = 'xclip -selection clipboard' |
NewerOlder