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 | |
# | |
# backup_redmine.sh | |
# modified by [email protected] | |
# from https://gist.github.com/ronanguilloux/6497272 | |
# | |
# Distributed under terms of the MIT license. | |
# /var/backups/redmine should exist | |
# $REDMINE_HOME/backups should also exist |
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
(setq inhibit-startup-message t) | |
(tool-bar-mode -1) | |
(hl-line-mode ) | |
(require 'package) | |
(push '("marmalade" . "http://marmalade-repo.org/packages/") | |
package-archives ) | |
(push '("melpa" . "http://melpa.milkbox.net/packages/") | |
package-archives) | |
(package-initialize) | |
(require 'evil) |
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
(setq inhibit-startup-message t) | |
(tool-bar-mode -1) | |
(hl-line-mode ) | |
(require 'package) | |
(push '("marmalade" . "http://marmalade-repo.org/packages/") | |
package-archives ) | |
(push '("melpa" . "http://melpa.milkbox.net/packages/") | |
package-archives) | |
(package-initialize) | |
(elpy-enable) |
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
import { downloadFile } from '../sagas'; | |
// strore should be created at this point | |
const forceLoadFile = (url) => { | |
runSaga({'dispatch': store.dispatch, | |
// 'subscribe': null, | |
'getState': store.getState, | |
'context': null, | |
// 'sagaMonitor': null, | |
// 'logger': null, |
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
import time | |
import logging | |
from tornado import queues, gen, ioloop | |
from tornado.options import parse_command_line | |
QUEUE_SIZE = 4 | |
CONCURRENT = 2 | |