Skip to content

Instantly share code, notes, and snippets.

View magical's full-sized avatar
🙀
🐛

Andrew Ekstedt magical

🙀
🐛
View GitHub Profile
# http://bjoern.spruck.net/lynx/blog/chips.xhtml
# UnpackgenerateCode_L1D08:
# LDX #$00
# STZ $44
# STZ $45
# LoopGenerateCode_L1D0E:
# JSR GenerateCodeFunk1_L1D3C
# STA $1280,X
# JSR GenerateCodeFunk1_L1D3C
@magical
magical / makemasked44.go
Created May 30, 2021 22:52
convert TW small format to MSCC (44x44)
package main
import (
"bytes"
"flag"
"fmt"
"image"
"image/color"
"io"
"os"
01 (1) = Floor Tile
02 (2) = Wall
03 (3) = Ice
04 (4) = Ice Corner
05 (5) = Ice Corner
06 (6) = Ice Corner
07 (7) = Ice Corner
08 (8) = Water
09 (9) = Fire
0a (10) = Force floor
01 (1) = Floor Tile
02 (2) = Wall
03 (3) = Ice
04 (4) = Ice Corner
05 (5) = Ice Corner
06 (6) = Ice Corner
07 (7) = Ice Corner
08 (8) = Water
09 (9) = Fire
0a (10) = Force floor
@magical
magical / url_scraper.py
Last active July 12, 2021 19:05
Scrapes urls from your mastodon account and adds them to shiori
#!/usr/bin/env python3
# Copyright (C) 2021 Andrew Ekstedt (magical)
#
# Borrows a small amount of code from mastodon-backup,
# Copyright (C) 2017-2018 Alex Schroeder <[email protected]>
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.