This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain("baidu.com") { | |
body { | |
display: none; | |
} | |
html { | |
margin: 30px; | |
} | |
html::after { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |