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
ls -1 /data/torrents/ | while read NAME; do grep -qrF "$NAME" /var/transmission/config/torrents/ || echo $NAME; done |
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
(function($) { | |
$.fn.previewTextareas = function() { | |
var $el = this; | |
var run = function(){ | |
var textareas = $('textarea', $el); | |
textareas.each(initializeTextarea); | |
}; |
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
class StepsProcessor(object): | |
def __init__(self, steps, filename): | |
self.steps = steps | |
self.filename = filename | |
def process(self): | |
for i, step in self.enumerate_steps_to_process(): | |
try: | |
self.process_step(step) | |
except Exception: |
NewerOlder