I hereby claim:
- I am kirkegaard on github.
- I am kirkegaard (https://keybase.io/kirkegaard) on keybase.
- I have a public key ASCKTdBoszA_5mo7JdyTaHv2KmsTbwYbecYy87wE29Jv4Ao
To claim this, I am signing this object:
import argparse | |
import os | |
import re | |
import string | |
import subprocess | |
import sys | |
from shutil import which, copyfileobj | |
from urllib import request | |
from html.parser import HTMLParser |
import os | |
import time | |
import sched | |
import threading | |
import inquirer | |
class Tamagotchi: | |
age = 0 | |
bored = 0 |
#!/bin/bash | |
json=$(curl -s "http://ws.audioscrobbler.com/2.0/?method=user.getRecentTracks&api_key=$LASTFM_APIKEY&user=$LASTFM_USERNAME&format=json") | |
artist=$(echo $json | jq -r '.recenttracks.track[0].artist["#text"]') | |
song=$(echo $json | jq -r '.recenttracks.track[0].name') | |
echo "♫ $artist - $song" |
::selection { | |
background-color: #111; | |
color: #eee; | |
} | |
body { | |
background-color: #222; | |
} | |
#hnmain { |
#!/bin/sh | |
PLEX_TOKEN=$(curl -H "Content-Length: 0" -H "X-Plex-Client-Identifier: my-app" -u $PLEX_USERNAME:$PLEX_PASSWORD -X POST https://my.plexapp.com/users/sign_in.xml --silent | xmllint --xpath "/user/authentication-token/text()" -) | |
XML=$(curl --silent http://$PLEX_HOST:32400/status/sessions -H "X-Plex-Token: $PLEX_TOKEN") | |
STREAMS=$(echo $XML | xmllint --xpath 'string(//MediaContainer/@size)' -) | |
echo "Current streams: ${STREAMS}" | |
for (( i=1; i <= $STREAMS; i++ )); do | |
USER=$(echo $XML | xmllint --xpath 'string(//Video['$i']/User/@title)' -) |
<?php | |
$title = (isset($_GET['t'])) ? $_GET['t'] : false; | |
$content = (isset($_GET['s'])) ? $_GET['s'] : false; | |
$providers = [ | |
'drop' => [ | |
'regex' => '/https?:\/\/files\.m2film\.dk\/(.*)/', | |
'embed' => '<video controls src="https://files.m2film.dk/{code}&video=true"></video>', | |
], |
import requests | |
import praw | |
import time | |
import sqlite3 | |
from urllib.request import pathname2url | |
class Subscriptions(): | |
subscriptions = [] |
import requests | |
import pysher | |
import time | |
import json | |
appkey = '50ed18dd967b455393ed' | |
endpoint = '...' | |
auth = '...' | |
subscriptions = [] |
from random import randint | |
def s(x): | |
return { | |
0: 'foo', | |
1: 'bar', | |
2: 'flaf', | |
3: 'giraf' | |
}.get(x, 'none') |
I hereby claim:
To claim this, I am signing this object: