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
""" | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42 modified): | |
* <[email protected]> wrote this file. As long as you retain this notice and | |
* my credit somewhere you can do whatever you want with this stuff. If we | |
* meet some day, and you think this stuff is worth it, you can buy me a beer | |
* in return. | |
* ---------------------------------------------------------------------------- | |
""" |
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
/* bot badges */ | |
.avatar-small[style*="/avatars/155799811134717952/"] + .member-inner .member-username::after, /* ash */ | |
.avatar-small[style*="/avatars/128235170955264000/"] + .member-inner .member-username::after /* maple */ | |
{ | |
height: 14px; | |
line-height: 15px; | |
background: #7289da; | |
color: #fff; | |
-ms-flex-negative: 0; | |
border-radius: 3px; |
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
// Animated falling paw shapes | |
// originally posted as gist May 10, 2016 | |
int pawcount = 50; | |
Paw[] paws = new Paw[pawcount]; | |
float ang1, ang2; | |
void setup() { | |
size(800,600); | |
randomSeed(1994); |
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
#!/usr/bin/python3 | |
# interactive script for generating persistent | |
# clientcred and usercred files for mastodon.py | |
from mastodon import Mastodon | |
from getpass import getpass | |
import sys | |
if __name__ == "__main__": |
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
const char* keysupp = "@ABCDEFGHIJKLMNOPQRSTUVWXYZ 0!\"#$%&'()*+<=>?"; | |
const char* keysdwn = "@abcdefghijklmnopqrstuvwxyz 0123456789:;,-./"; | |
const byte colCount = 8; | |
const byte colStart = 22; | |
const byte rowStart = colStart + colCount; | |
boolean pressed; | |
boolean held; | |
boolean shift; |
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
#!/bin/bash | |
# This script expects music files named ## Title.ext where ## is the track number. | |
ls *.mp3 *.flac | while read i; do | |
ffmpeg -i "$i" out.wav < /dev/null | |
# ATRAC3Tool can be found here: https://github.com/Treeki/atrac3tool | |
wine ../atrac3tool.exe out.wav lp2.wav | |
rm out.wav | |
file=${i%%.*} | |
title=${file:3} | |
# linux-minidisc found here: https://github.com/Lana-chan/linux-minidisc |