Skip to content

Instantly share code, notes, and snippets.

View dag7dev's full-sized avatar

Dag7 dag7dev

View GitHub Profile

Touhou Project Retroarch


  • A console running Retroarch
  • Retroarch and the core NPIIKai emulator, already set up with BIOS and configuration file. More information on official guide.
  • TH 1, 2, 3, 4 or 5

The settings are also valid when using the NPIIKai standalone emulator.


Resurrecting NTC C.H.I.P. computers


I bought four of the Next Thing Co. (defunct since 2018) C.H.I.P. (CHIP hereafter) computers shortly after their successful Kickstarter campaign of 2015. The CHIP computer is an interesting beast. It was positioned as a competitor the orginal Raspberry Pi and only cost US$8.00 before shipping. The Raspberry Pi cost US$25 at the time. The CHIP had some features that the Pi did not at the time including built-in wi-fi and battery charging. It was also considerably smaller the original Pi.

The CHIP was shipped with Debian 8 (Jessie) and was a capable Linux computer. I had big plans for all of them, but the

dag7dev / gist:e9806d092d81706bb295fccd70690d1f
Created January 31, 2022 14:38
Dumb translating function
// this function is used by a bad script who obfuscates code --> I made it more readable
var finalString = '';
for(var i=0; i<word['length']; i++) {
if(i%2) {
finalString = word['substr'](i, 1) + finalString;
return finalString;