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
| #!/bin/sh | |
| # btsync service | |
| # Replace with linux users you want to run BTSync clients for | |
| BTSYNC_USERS="mendel" | |
| DAEMON=/usr/bin/btsync | |
| start() { | |
| for btsuser in $BTSYNC_USERS; do | |
| HOMEDIR=`getent passwd $btsuser | cut -d: -f6` | |
| config=$HOMEDIR/.sync/config.json |
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
| # sqlitetojson.awk | |
| # convert SQL SELECT Result from sqlite to json | |
| # usage : sqlite3 -header dbfilename 'SELECT * FROM database' | awk -f sqlitetojson.awk | |
| # nota : -header is mandatory | |
| BEGIN { | |
| FS="|"; | |
| nh = 0; | |
| printf "["; | |
| } | |
| NR==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
| "Set Mapleader | |
| let mapleader = "," | |
| let g:mapleader = "," | |
| "Theme | |
| colo zenburn | |
| "NERDTree | |
| map <Leader>, :NERDTreeToggle<cr> |
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
| # | |
| # Example of a user's .screenrc file | |
| # | |
| # This is how one can set a reattach password: | |
| # password ODSJQf.4IJN7E # "1234" | |
| # no annoying audible bell, please | |
| vbell on |
NewerOlder