Skip to content

Instantly share code, notes, and snippets.

View xunker's full-sized avatar

Matthew Nielsen xunker

View GitHub Profile
@lifehackerhansol
lifehackerhansol / ace3ds-random-notes.md
Last active April 2, 2025 16:41
ace3ds-random-notes

This cart is basically the same as R4. There are a few differences and some other additions seen below:

  • All SD read/write (0xB9/0xBB) has no sector shift.
  • 0xBC does an XOR on the last byte:
    • BC XX XX XX XX 00 00 YY
    • XXXXXXXX = sector address
    • YY = XOR of every byte in command reg, so BC EOR XX EOR XX EOR XX EOR XX EOR 00 EOR 00
  • 0xB4 works... on SD cards that aren't SDHC. because sector address must be <<9'd. Kernel uses normal SD RW for games.
    • Save read/write commands on the R4 doesn't work on the Ace3DS+ if you do this for reasons not exactly known. Wood ports by some old devs used SD RW for saves and 0xB4 for ROM.
  • 0xB6/0xBF seems to be supported... kinda. It's different from how the R4 does it. No idea at all how it works yet.
@pythoninthegrass
pythoninthegrass / .bashrc
Last active March 9, 2026 21:14
Synology shell config
#/etc/profile: system-wide .profile file for ash.
# shellcheck disable=SC2155
umask 077
export PATH="/volume1/@appstore/git/bin:/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin"
export PGDATA=/var/services/pgsql
export TERMINFO=/usr/share/terminfo
@alexheretic
alexheretic / table-flips.md
Last active July 1, 2026 16:12
A selection of ascii table flips

(╯°□°)╯︵ ┻━┻

(┛◉Д◉)┛彡┻━┻

(ノ≧∇≦)ノ ミ ┸━┸

(ノಠ益ಠ)ノ彡┻━┻

(╯ರ ~ ರ)╯︵ ┻━┻

@nikp123
nikp123 / Armbian USB gadget guide.md
Last active September 14, 2026 17:47
How to make a USB gadget on Armbian Linux

This guide will include a step-by-step guide on how to set up an board running Armbian to act as a gadget device (similar to how it's been advertized with the Pi Zero)

Prerequisites

You will need a:

  • Armbian supported board with an OTG port
  • A temporary spare monitor, USB keyboard and display cable (or serial, if you'd like that instead)
  • USB cable
@mrpeardotnet
mrpeardotnet / PVE-HP-ssacli-smart-storage-admin.md
Last active October 18, 2026 09:31
HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

Why use HP Smart Storage Admin CLI?

You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.

CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.

ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.

Installation

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active October 7, 2026 19:38
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@tcjennings
tcjennings / FONT.SHAPE.DEMO
Last active February 9, 2021 00:24
PRODOS-friendly shape-based font demo using Beagle Brothers proportional font shapes ("ACOMPUTE" from the Apple Mechanic diskette).
1 REM
2 REM PRODOS HI RES DEMO PROGRAM
3 REM USING BEAGLE BROS SHAPE FONT AT $6000
4 REM MODIFIED FROM Apple II High Resolution Character Generator, COMPUTE! June 1981
5 REM
8 LOMEM:28928
10 POKE 232,0: POKE 233,96: REM POKES SHAPE TABLE START ADDRESS
30 PRINT CHR$(4)"BLOAD ACOMPUTE,A$6000" : REM LOADS SHAPE TABLE INTO MEMORY, MATCHES PREVIOUS POKES
40 HOME: HGR2: POKE 49234,0: HCOLOR=3: ROT=0: SCALE=1: REM SETS HIRES GRAPHICS PARAMS, USES PAGE 2 TO HIRES MEMORY
45 REM H AND V ARE MANUAL ATTEMPTS AT CENTERING. NOT SOPHISTICATED.
@juancarlospaco
juancarlospaco / thermal_printer.md
Last active October 9, 2026 11:48
Arch Linux Thermal Printer USB 58mm / 80mm Drivers & Config
@TedThompson
TedThompson / TREKTHEME.BAS
Created September 20, 2018 01:59
Apple //e Applesoft BASIC Music to play the opening melody of the Star Trek theme.
100 DIM SC(10)
110 PLAY = 768
120 DATA 160,100,169,1,133,250,174,3,3,228,250,208,3,173,48,192,202,208,246,173,48,192,136,240,7,198,250,208,233,76,2,3,96
130 REM
140 REM 233,220,208,195,184,175,164,154,146,137,129,122,114,108
150 REM G G# A A# B C C# D D# E F F# G G#
160 REM
170 FOR I = 0 TO 32
180 READ V: POKE PLAY + I,V: NEXT
190 POKE 769,200: REM 769 IS DURATION; 771 IS PITCH
@ednisley
ednisley / gethp54602
Created March 18, 2018 17:26
Kermit script to capture HP 54602 oscilloscope screen image
#!/usr/bin/kermit +
# Fetches screen shot from HP54602B oscilloscope
# Presumes it's set up for plotter output...
# Converts HPGL to PNG image
set host 192.168.1.40 7001 /raw-socket
set modem none
# Make sure we have a param
if not defined \%1 ask \%1 {File name? }