Skip to content

Instantly share code, notes, and snippets.

Vladimir Rutsky rutsky

Block or report user

Report or block rutsky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View update-ddns.service
# /etc/systemd/system/update-ddns.service
Description=Update DDNS
ExecStart=/bin/bash /root/
eirnym /
Created Apr 11, 2015
SQLAlchemy dump SQL and metadata create_all and drop_all usage example. This is highly usable with aiopg and similar library where synchronised version of engine is not applicable.
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)()
klmr / numbers.js
Created Jul 18, 2012
Add slide numbers to Google’s html5slides
View numbers.js
var createSlideNumbering = function (skipFirstN) {
var num = 0;
$('.slides article').each(function () {
num += 1;
if (num <= skipFirstN)
jQuery('<div/>', {
class: 'counter',
text: num
You can’t perform that action at this time.