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
| [package] | |
| name = "bassietest" | |
| version = "0.1.0" | |
| edition = "2021" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [profile.dev] | |
| panic = "abort" |
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
| ; Commander X16 - Vera display text program | |
| ; acme -f cbm --cpu 65c02 -o vera.prg vera.asm && x16emu -prg vera.prg -run | |
| CHROUT=$FFD2 | |
| VERA_ADDR_L=$9F20 | |
| VERA_ADDR_M=$9F21 | |
| VERA_ADDR_H=$9F22 | |
| VERA_DATA0=$9F23 | |
| *=$0801 |
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
| ; Commander X16 - Hello World program | |
| ; acme -f cbm --cpu 65c02 -o hello.prg hello.asm && x16emu -prg hello.prg -run | |
| CHROUT=$FFD2 | |
| *=$0801 | |
| !byte $0B, $08, $01, $00, $9E, $32, $30, $36, $31, $00, $00, $00 | |
| start: | |
| ; Clear screen |
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
| DELIMITER // | |
| CREATE FUNCTION UUID_TO_BIN(u CHAR(36)) | |
| RETURNS BINARY(16) | |
| BEGIN | |
| IF u IS NULL THEN | |
| RETURN NULL; | |
| END IF; | |
| SET u = REPLACE(u, '-', ''); | |
| RETURN CONCAT( |
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
| // Win32 OpenGL 1.0 Example | |
| // gcc opengl.c -c -o opengl.o && ld -s opengl.o -lkernel32 -luser32 -lgdi32 -lopengl32 -o opengl.exe -e _start && ./opengl | |
| // --subsystem windows | |
| #define UNICODE | |
| #include <windows.h> | |
| #include <GL/gl.h> | |
| // Window state | |
| wchar_t *windowTitle = L"Win32 OpenGL Example"; | |
| UINT windowWidth = 1280; |
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
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^.*$ index.php [L] |
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
| .pagination-previous,.pagination-next,.pagination-link,.pagination-ellipsis,.file-cta,.file-name,.select select,.textarea,.input,.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.5em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(0.5em - 1px);padding-left:calc(0.75em - 1px);padding-right:calc(0.75em - 1px);padding-top:calc(0.5em - 1px);position:relative;vertical-align:top}.pagination-previous:focus,.pagination-next:focus,.pagination-link:focus,.pagination-ellipsis:focus,.file-cta:focus,.file-name:focus,.select select:focus,.textarea:focus,.input:focus,.button:focus,.is-focused.pagination-previous,.is-focused.pagination-next,.is-focused.pagination-link,.is-focused.pagination-ellipsis,.is-focused.file-cta,.is-focused.file-name,.select select.is-focused,.is-focused.textarea,.is-focused.input,.is-focused.button,.pagination-previous:active,.pagination-next:active,.paginat |
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 deno run --allow-net | |
| import { parse } from "https://deno.land/std/flags/mod.ts"; | |
| const httpGetJson = async (url) => await (await fetch(url)).json(); | |
| const args = parse(Deno.args); | |
| if (args._.length == 0) { | |
| console.log('Give an album name!'); | |
| Deno.exit(); |
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 math, os, re, subprocess, sys, tempfile, threading | |
| size = os.get_terminal_size() | |
| cursorY = 0 | |
| def printLine(y, line): | |
| global cursorY | |
| if (y <= cursorY): | |
| sys.stdout.write('\033[F' * (cursorY - y)) | |
| if (y > cursorY): |
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
| <?php | |
| if (!isset($_SERVER['PHP_AUTH_USER'])) { | |
| header('WWW-Authenticate: Basic realm="plaatlight"'); | |
| } | |
| if ($_SERVER['PHP_AUTH_USER'] != 'plaatlight' || $_SERVER['PHP_AUTH_PW'] != 'plaatlight') { | |
| header('HTTP/1.1 401 Unauthorized'); | |
| echo 'Not authorized'; | |
| exit; |