Skip to content

Instantly share code, notes, and snippets.

@7596ff
7596ff / katze-schema.txt
Created April 8, 2020 14:13
rohrkatze-rotator database schema - node version
postgres=# \c katze
You are now connected to database "katze" as user "postgres".
katze=# \dt
List of relations
Schema | Name | Type | Owner
--------+------------+-------+----------
public | guilds | table | postgres
public | roleme | table | postgres
public | roles | table | postgres
public | starboard | table | postgres
@7596ff
7596ff / 2019-05-30.md.txt
Last active May 30, 2019 16:39
leaflet shortcode
+++
title = "Going Home"
date = 2019-05-30
+++
{{ leaflet(id="place1-to-home", gpx="/gpx/2019-05-30-place1-to-home-2019-05-21.gpx") }}
{{ leaflet(id="place2-to-home", gpx="/gpx/2019-05-30-place2-to-home-2019-05-24.gpx") }}
@7596ff
7596ff / dotabrag.py
Created August 11, 2014 17:33
quick dotabrag tweet thing
import urllib
import json
import string
import sys
import ConfigParser
import tweepy
def craftTweet(match_id, level, hero, kills, deaths, assists):
unformatted = 'Just played a match: Hero: Lvl. {} {} K/D/A: {}/{}/{}\nDotabuff: {}'