Skip to content

Instantly share code, notes, and snippets.

Avatar
🐟

Sean Tai xtai

🐟
  • San Francisco Bay Area
View GitHub Profile
@tianyuf
tianyuf / baidu-as-a-network-utility.css
Created May 14, 2016
BaaN: Baidu as a Network Utility - 百度的实用主义方法论.
View baidu-as-a-network-utility.css
@-moz-document domain("baidu.com") {
body {
display: none;
}
html {
margin: 30px;
}
html::after {
View converter.py
# 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 Aug 29, 2015
day.py
View 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
CSS Animated Repeating Gradient
View dabblet.css
/**
* 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;
}