I hereby claim:
- I am mammuth on github.
- I am muth (https://keybase.io/muth) on keybase.
- I have a public key whose fingerprint is A5A6 0414 169C 05C0 2D9D 60C5 2227 B61A 9E20 EA50
To claim this, I am signing this object:
""" | |
This Python3 Script extracts all the quotes (and their links) from the Wikipedia 'Liste geflügelter Worte', which is a list of familiar quotations. | |
Furthermore it stores them into a database. | |
FYI: Currently it's 2125 quotations long. | |
""" | |
from urllib import request | |
import re | |
import string | |
import sqlite3 as lite |
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape android:shape="rectangle" | |
android:dither="true"> | |
<corners android:radius="3dp"/> | |
<solid android:color="#ccc" /> | |
</shape> | |
</item> |
<?php | |
/* | |
* Dieses Script importiert die Events aus einem ics-Calendar-Feed in Owncloud 8 oder 7. Die Kalender werden jeweils nur dann aktualisiert, wenn das Skript aufgerufen wird - sprich hier sollte ein cronjob für die Ausführung des Scripts erstellt werden. | |
* | |
* (Es sind einige Anpassungen im Skript notwendig) | |
* | |
* Gefunden auf zeit-zu-handeln.net. Kleine Anpassungen für Owncloud 8. | |
*/ | |
//Hier den Pfad zur Owncloud-Installation einfügen |
<?php | |
// Use: Add following url parameters: | |
// link: The url you want to get the backlinnks from (required) | |
// siteFilter: The site your backlinks should come from (eg. twitter.com) (optional) | |
function getJsonObject($link, $site) { | |
return json_decode(file_get_contents("https://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=link:$link+site:$site"), true); | |
} | |
$link = $_GET["link"]; | |
$siteFilter = $_GET["site"]; |
#!/bin/bash | |
# This little shell script copies a backup of a certain app into the folder | |
# backup/ within the execution directory | |
# requires root via adb access | |
appToBackup="org.thoughtcrime.securesms" #change package name | |
tmpStore="tmpBackup_"$appToBackup"/" | |
adb devices |
public enum MaterialColor { | |
RED (R.color.red_400, R.color.red_900, R.color.red_700, "red"), | |
PINK (R.color.pink_400, R.color.pink_900, R.color.pink_700, "pink"), | |
PURPLE (R.color.purple_400, R.color.purple_900, R.color.purple_700, "purple"), | |
DEEP_PURPLE(R.color.deep_purple_400, R.color.deep_purple_900, R.color.deep_purple_700, "deep_purple"), | |
INDIGO (R.color.indigo_400, R.color.indigo_900, R.color.indigo_700, "indigo"), | |
BLUE (R.color.blue_500, R.color.blue_900, R.color.blue_700, "blue"), | |
LIGHT_BLUE (R.color.light_blue_500, R.color.light_blue_900, R.color.light_blue_700, "light_blue"), | |
CYAN (R.color.cyan_500, R.color.cyan_900, R.color.cyan_700, "cyan"), |
{"Seehausen (Altmark)":"Seehausen (Altmark)", | |
"Tamm":"Tamm", | |
"Breitengueßbach":"Breitengüßbach", | |
"Riethnordhausen":"Riethnordhausen", | |
"Rinteln-Krankenhagen":"Rinteln-Krankenhagen", | |
"Buchfart":"Buchfart", | |
"Straupitz":"Straupitz", | |
"Rambach":"Rambach", | |
"Caputh":"Caputh", | |
"Malchow":"Malchow", |
#!/bin/sh | |
log_file=${BACKUP_LOG_FILE} | |
backup_script_name="docker-teamspeak-snapshot" | |
date=$(/bin/date +"%Y-%m-%d_%H-%M-%S") | |
echo "Started $backup_script_name at $date" >> $log_file | |
echo "Create a new snapshot_teamspeak docker image.." >> $log_file |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
from __future__ import print_function | |
import os | |
import sys | |
import json | |
import requests | |
GITHUB_API_URL = 'https://api.github.com' | |
TOKEN = 'YOUR_SECRET_TOKEN_HERE' |