ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
# /etc/systemd/system/update-ddns.service | |
[Unit] | |
Description=Update DDNS | |
Documentation=https://dns.he.net/docs.html | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/bash /root/update-ddns.sh |
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
from sqlalchemy_dump import dump_sql | |
def create_all_sql(metadata): | |
return dump_sql(metadata.create_all, bind=True)() | |
def drop_all_sql(metadata): | |
return dumpsql(metadata.drop_all, bind=True)() |
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 createSlideNumbering = function (skipFirstN) { | |
var num = 0; | |
$('.slides article').each(function () { | |
num += 1; | |
if (num <= skipFirstN) | |
return; | |
jQuery('<div/>', { | |
class: 'counter', | |
text: num |