most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| var util = require('util') | |
| function hook_stdout(callback) { | |
| var old_write = process.stdout.write | |
| process.stdout.write = (function(write) { | |
| return function(string, encoding, fd) { | |
| write.apply(process.stdout, arguments) | |
| callback(string, encoding, fd) | |
| } |
| <plugin> | |
| <artifactId>maven-antrun-plugin</artifactId> | |
| <version>1.7</version> | |
| <executions> | |
| <execution> | |
| <phase>generate-sources</phase> | |
| <configuration> | |
| <target name="building"> | |
| <echo> | |
| --------------------------------------------------- |
| ########## SETTINGS | |
| # On startup, lftp executes ~/.lftprc and ~/.lftp/rc. You can place aliases and 'set' commands | |
| # there. Some people prefer to see full protocol debug, use 'debug' to turn the debug on. | |
| # Certain commands and settings take a time interval parameter. It has the format Nx[Nx...], where N is time amount | |
| # (floating point) and x is time unit: d - days, h - hours, m - minutes, s - seconds. Default unit is second. E.g. | |
| # 5h30m or 5.5h. Also the interval can be 'infinity', 'inf', 'never', 'forever' - it means infinite interval. E.g. | |
| # 'sleep forever' or 'set dns:cache-expire never'. |
| #!/bin/bash | |
| db=<db> | |
| collection_list="<collection1> <collection2> <collection3>" | |
| host=127.0.0.1 | |
| port=<port> | |
| out_prefix=/Temp | |
| for collection in $collection_list; do | |
| echo $collection | |
| out_dir="${out_prefix}/${db}_${collection}/" |
| #!/bin/bash | |
| db=<db> | |
| collection_list="<collection1> <collection2> <collection3>" | |
| host=127.0.0.1 | |
| port=<port> | |
| out_prefix=/Temp | |
| for collection in $collection_list; do | |
| echo $collection | |
| out_dir="${out_prefix}/${db}_${collection}/" |