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
| // run purgeCSS at build | |
| import * as fs from "fs" | |
| import { PurgeCSS } from "purgecss" | |
| const filePaths = [ | |
| "./out/**/*.html", | |
| "./out/_next/static/chunks/pages/**/*.js" | |
| ]; | |
| const cssPaths = ["./out/_next/static/css/*.css"]; |
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
| #include <iostream> | |
| #include <vector> | |
| #include <cmath> | |
| using namespace std; | |
| // PE(MD)(AS). parentheses is handled through layers. | |
| enum Stage { Exponent, MultDiv, AddSub }; | |
| enum Mode { Number, Variable, BeginLayer, EndLayer, Power, Addition, Subtraction, Multiplication, Division }; |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| </head> | |
| <style>body { background: black; } h1 { color: white; }</style> | |
| <body> | |
| <h1>extremely generic name generator</h1> | |
| <h1 id="name">generating...</h1> |
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
| //* | |
| //* Gameboy Hardware definitions | |
| //* | |
| //* Based on Jones' hardware.inc | |
| //* And based on Carsten Sorensen's ideas. | |
| //* | |
| //* Rev 1.1 - 15-Jul-97 : Added define check | |
| //* Rev 1.2 - 18-Jul-97 : Added revision check macro | |
| //* Rev 1.3 - 19-Jul-97 : Modified for RGBASM V1.05 | |
| //* Rev 1.4 - 27-Jul-97 : Modified for new subroutine prefixes |
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
| #!/usr/bin/env lua | |
| -- bass sym to lua. | |
| assert(#arg == 2) | |
| InFile = assert(io.open(arg[1],"r")) | |
| OutFile = assert(io.open(arg[2],"w")) | |
| OutFile:write("-- This was automatically generated by sym2lua.lua.\n" .. | |
| "-- If this is in a repo, update your .gitignore.\n\n") | |
| while true do | |
| Line = InFile:read() |
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
| -- Final Fantasy Name Display | |
| -- By nicklausw | |
| -- For the hell of it | |
| -- Character map from a PPU read | |
| CharMap = "0123456789" .. | |
| "ABCDEFGHIJKLMNOPQRSTUVWXYZ" .. | |
| "abcdefghijklmnopqrstuvwxyz" .. | |
| "',. -~!?" |