Moved to https://leovoel.gitlab.io/music/index.html.
Moved to .
This file contains hidden or 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
# MDK2 (WAVC) | |
# script for quickbms (http://aluigi.altervista.org/quickbms.htm) | |
# the output file of this script (.acm) should work with ffmpeg or vgmstream. | |
# if you haven't extracted the zip files containing these, | |
# aluigi's zip.bms should work (http://aluigi.altervista.org/bms/zip.bms) | |
idstring "WAVCV1.0" | |
get UNCOMPRESSED_SIZE long |
This file contains hidden or 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
# USAGE | |
# ===== | |
# save this code into a file called rcru.bms. | |
# | |
# then, for saving sounds, execute QuickBMS like so: | |
# | |
# quickbms rcru.bms audio.rcru audio | |
# | |
# this will dump ogg files in the "audio" folder. | |
# |
This file contains hidden or 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-tag { | |
background: #7289da; | |
} | |
.bot-tag.bot-tag-invert { | |
background: #fff; | |
} | |
.spinner-wandering-cubes .spinner-item { | |
background-color: #7289da; |
This file contains hidden or 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 fs = require('fs'); | |
const postcss = require('postcss'); | |
const selectorParser = require('postcss-selector-parser'); | |
const combineDuplicates = require('postcss-combine-duplicated-selectors'); | |
const discardDuplicates = require('postcss-discard-duplicates'); | |
const perfectionist = require('perfectionist'); | |
const search = postcss.plugin('postcss-css-search', (options) => { | |
if (!options.what) { | |
throw new Error("Please set options.what to the class you're looking for"); |
This file contains hidden or 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
from math import sqrt, cos, sin, pi, radians | |
from glc import Gif | |
from glc.color import Color | |
from glc.utils import draw_image | |
from cairo import ImageSurface | |
def intersection(x, y, rx, ry): | |
px, py = 0, 0 | |
if x == 0: | |
py = -ry if y < 0 else ry |
This file contains hidden or 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
import io | |
import os | |
import sys | |
import json | |
import struct | |
import shutil | |
def align_int(i, alignment): | |
return i + (alignment - (i % alignment)) % alignment |
This file contains hidden or 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
from discord.ext import commands | |
description = '''An example bot to showcase the discord.ext.commands extension | |
module. | |
There are a number of utility commands being showcased here.''' | |
# this specifies what extensions to load when the bot starts up | |
startup_extensions = ["members", "rng"] |