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
# Turn on debugger by default and reloader | |
manager.add_command("runserver", Server( | |
use_debugger = True, | |
use_reloader = True, | |
host = '0.0.0.0') | |
) |
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
<p> | |
Please enter your OpenID, or select one of the providers below:<br> | |
{{form.openid(size=80)}} | |
{% for error in form.errors.openid %} | |
<span style="color: red;">[{{error}}]</span> | |
{% endfor %}<br> | |
|{% for pr in providers %} | |
<a href="javascript:set_openid('{{pr.url}}', '{{pr.name}}');">{{pr.name}}</a> | | |
{% endfor %} | |
</p> |
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
ffmpeg version N-82468-g47f7583 Copyright (c) 2000-2016 the FFmpeg developers | |
built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9) | |
configuration: --prefix=/root/ffmpeg/build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg/build/include --extra-l | |
dflags=-L/root/ffmpeg/build/lib --bindir=/root/bin --enable-gpl | |
libavutil 55. 40.100 / 55. 40.100 | |
libavcodec 57. 66.103 / 57. 66.103 | |
libavformat 57. 57.100 / 57. 57.100 | |
libavdevice 57. 2.100 / 57. 2.100 | |
libavfilter 6. 67.100 / 6. 67.100 |
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
provider: | |
name: aws | |
runtime: nodejs4.3 | |
region: us-west-2 | |
stage: dev | |
custom: | |
myStage: ${opt:stage, self:provider.stage} | |
environment: | |
TABLE_NAME: playTable-${self:custom.myStage} |
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
docker run jrottenberg/ffmpeg -stats -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -f lavfi -i testsrc=size=1280x720:rate=30 -vcodec libx264 -b 500k -c:a aac -b:a 160k -f flv 'rtmp://172.17.0.3/live/test' |
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 | |
# Helper script for the Deluge torrent client | |
# Intended to be run at torrent completion, using the 'torrent complete' event in the 'Execute' plugin. | |
# | |
# The basic idea is to hardlink the files that deluge has just finished downloading to a second directory. | |
# This allows you to configure deluge to automatically pause or delete torrents when they reach a given seed ratio, | |
# while also keeping a copy around for other reasons. For example, SyncThing could be used to propagate new downloads | |
# to a remote machine to be processed further. When processing has finished, and the file is deleted/moved out of the | |
# Syncthing folder, the remote Syncthing will propagate a deletion back to the original Synchting (on the machine |