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/bash | |
| sshfs remoteserver:backup/secure /root/backup/sshfsMount -o ServerAliveInterval=15 -o uid=10025 -o gid=10003 | |
| encfs -i n -o allow_other /root/backup/sshfsMount /root/backup/encripted/ | |
| rdiff-backup --no-hard-links --terminal-verbosity 5 /mnt/raid/secure /root/backup/encripted | |
| fusermount -u /root/backup/encripted | |
| fusermount -u /root/backup/sshfsMount |
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
| var kue = require('kue'), | |
| jobs = kue.createQueue(), | |
| util = require('util'), | |
| noop = function() {}; | |
| jobs.CLEANUP_MAX_FAILED_TIME = 30 * 24 * 60 * 60 * 1000; // 30 days | |
| jobs.CLEANUP_MAX_ACTIVE_TIME = 1 * 24 * 60 * 60 * 1000; // 1 day | |
| jobs.CLEANUP_MAX_COMPLETE_TIME = 5 * 24 * 60 * 60 * 1000; // 5 days | |
| jobs.CLEANUP_INTERVAL = 5 * 60 * 1000; // 5 minutes |
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
| Job = kue.Job | |
| jobs = kue.createQueue() | |
| # Set up server if you want to see your task progression with a beautiful UI | |
| kue.app.listen 3003 | |
| # Your cron timing | |
| delay = 3000 |
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
| // swap the keybindings for paste and paste_and_indent | |
| { "keys": ["super+v"], "command": "paste_and_indent" }, | |
| { "keys": ["super+shift+v"], "command": "paste" } |
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
| // ==UserScript== | |
| // @name Fluid Dock Badge for Trello | |
| // @namespace http://fluidapp.com | |
| // @description Display a dock badge for the Trello Dashboard with the number of new notifications | |
| // @include *.trello.com | |
| // @author Laurent Goussard | |
| // ==/UserScript== | |
| if (!window.fluid) { | |
| return; | |
| } |
NewerOlder