Skip to content

Instantly share code, notes, and snippets.

View vulpicastor's full-sized avatar
🪐
Planet huntin'

Lizhou Sha vulpicastor

🪐
Planet huntin'
View GitHub Profile
@vulpicastor
vulpicastor / check_parkio.py
Created October 14, 2016 16:18
A parser and Zephyr nottification bot for park.io's auctions
#!/usr/bin/env python3
import requests
import time
from datetime import datetime
import pytz
from zwrite import zwrite
PARKIO_DOMAIN = "https://app.park.io"
AUCTION_PATH = "/auctions.json"
@vulpicastor
vulpicastor / slz-pgp-key-transition-2016-10-27.txt
Created October 27, 2016 06:47
OpenPGP Key Transition Statement from Lizhou Sha (2016-10-27)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
OpenPGP Key Transition Statement from Lizhou Sha (2016-10-27)
I have created a new OpenPGP key and will be transitioning away from my
old key. The old key remains secure to the best of my knowledge and will
continue to be valid for some time, but I prefer all new correspondence
to be encrypted with the new key, and I will be making signatures with
the new key going forward.
@vulpicastor
vulpicastor / uclip
Created February 25, 2017 20:22
A simple shell script that uses xclip to clear all the clipboards of X
#!/bin/bash
XCLIP=`which xclip`
if [ -z $XCLIP ]; then
echo "Please install xclip"
fi
$XCLIP /dev/null
$XCLIP -selection clipboard /dev/null
typeset -U path
path=(/usr/local/go/bin $path $HOME/bin $HOME/.local/bin $HOME/go/bin)