Skip to content

Instantly share code, notes, and snippets.

View xtai's full-sized avatar
🐟

Sean Tai xtai

🐟
View GitHub Profile
@tianyuf
tianyuf / baidu-as-a-network-utility.css
Created May 14, 2016 15:03
BaaN: Baidu as a Network Utility - 百度的实用主义方法论.
@-moz-document domain("baidu.com") {
body {
display: none;
}
html {
margin: 30px;
}
html::after {
@Kronopath
Kronopath / converter.py
Last active March 5, 2024 06:19
WeChat audio converter script. See http://kronopath.net/blog/extracting-audio-messages-from-wechat/ for more details.
# WeChat aud file converter to wav files
# Dependencies:
# SILK audio codec decoder (available at https://github.com/gaozehua/SILKCodec)
# ffmpeg
#
# By Gabriel B. Nunes (gabriel@kronopath.net)
# Adapted from another script by Nicodemo Gawronski (nico@deftlinux.net)
#
import os, argparse, subprocess
@xtai
xtai / day.py
Last active August 29, 2015 14:13
day.py
# Daylight & Moonlight
# by Xiaoyu Tai
#
# Mountains with rotating Sun and Moon.
# plus sky colors~
from pyglet.gl import *
from math import *
window = pyglet.window.Window(1000, 640)
@ahdezm
ahdezm / dabblet.css
Last active May 17, 2021 11:31
CSS Animated Repeating Gradient
/**
* CSS Animated Repeating Gradient
*/
body {
background: repeating-linear-gradient(-45deg,red,red 20px,blue 20px,blue 40px);
background-size:56px 56px;/* This is unique for this background, need to find a pattern and develop a formula */
background-position-x:0%;
-webkit-animation:'slide' 20s infinite linear forwards;
}