This file contains 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
#!/usr/bin/env python3 | |
import cgi | |
from datetime import date, datetime, time, timedelta | |
import re | |
import MySQLdb | |
from icalendar import Calendar, Event | |
This file contains 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
#!/usr/bin/env python3 | |
import json | |
import requests | |
URL = "https://raw.githubusercontent.com/freifunk/directory.api.freifunk.net/master/directory.json" | |
for community, url in requests.get(URL).json().items(): | |
try: |
This file contains 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
<?php | |
class Af_Comics_WizardZines extends Af_ComicFilter { | |
function supported() { | |
return array("Wizard Zines"); | |
} | |
function process(&$article) { | |
if (strpos($article["link"], "wizardzines.com/comics") !== false) { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
#!/usr/bin/env python3 | |
import subprocess | |
temp_file = 'templ-dom.conf' | |
gates = [ | |
'lotuswurzel', | |
'ingwer', | |
'uffschnitt', |
This file contains 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
#!/usr/bin/env python3 | |
from netaddr import * | |
domains = { | |
1: 'mainz', | |
2: 'wiesbaden', | |
3: 'bingen', | |
4: 'rheingau', | |
5: 'taunus', |
This file contains 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 | |
INPUT_DIR=${1} | |
ALBUM_NAME=${2} | |
if [[ ! -d "${INPUT_DIR}" ]] ; then | |
echo "${INPUT_DIR} is not a directory!" | |
exit 1 | |
fi |
This file contains 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
#!/usr/bin/env python2 | |
import json | |
import os | |
import requests | |
import sys | |
import tempfile | |
from PIL import Image | |
from io import BytesIO |