Skip to content

Instantly share code, notes, and snippets.

View koitsu's full-sized avatar

Jeremy Chadwick koitsu

  • A world gone mad
View GitHub Profile
@koitsu
koitsu / keplr-ledger-rune-snafu.md
Created November 6, 2025 15:00
Why Keplr with Ledger (and RUNE) is dangerous

Test 1 -- Keplr extension

Keplr wallet setup:

  • Chose: Connect Hardware Wallet
  • Chose: Connect Ledger
  • Chose: Connect to: Cosmos app (Recommended)
  • Launched Cosmos app on Ledger
  • Chose: Next
  • Chains: left default (all 47, which includes THORChain and Cosmos)
  • Chains: chose Skip
@koitsu
koitsu / manual.txt
Last active September 19, 2019 07:19
Pacos Pete (Pecos Pete) User Manual for Commodore 64 (C64)
Below is a transcription of the Pacos Pete cassette liner notes. The "???"
sections are due the source image being partially obscured:
https://imgur.com/a/7AJYs2a
An alternate manual/instruction book is available as part of the
"Mastertronic 2-On-One Pecos Pete and Pipeline 2" diskette and can be found
here:
https://c64.remotecpu.com/c64/reference/manuals/game-manuals/games-multi/Mastertronic%202-On-One%20Pecos%20Pete%20And%20Pipeline%202%20Instruction%20Booklet.pdf
@koitsu
koitsu / megahal-replacement.md
Last active November 9, 2019 07:14
The Quest for a Replacement MegaHAL

The Quest for a Replacement MegaHAL

Why

Blah blah IRC UTF8 blah blah jävla helvete write this up when I fucking feel like it

MegaHAL brain/corpus details

  • Brain age: 7.5 years (October 2012 to May 2019)
@koitsu
koitsu / LOREMASTER.md
Last active May 20, 2019 19:01
Loremaster data details
@koitsu
koitsu / just-say-no.py
Created September 23, 2018 02:28
The coiler strikes again
#!/usr/bin/env python2.7
def test(x=[]):
x.append(2)
return x
print (test()) # returns [2]
print (test()) # returns [2, 2]
print (test()) # returns [2, 2, 2]
@koitsu
koitsu / learning-go-pid-count.pl
Created September 23, 2018 01:56
Sane version of the perl code at at https://www.miek.nl/go/#processes
#!/usr/bin/env perl
use strict;
use warnings;
# %child key = parent PID, value = array of child PIDs
use vars qw(%child $pid $parent);
open(FH, "ps -axe -o pid,ppid,comm |") or die;
while(<FH>) {
s/^\s+//g; # Remove any spaces at the beginning of the line
@koitsu
koitsu / fix-patch-methodology.diff
Created May 25, 2018 06:43
fix-patch-methodology.diff
diff --git a/release/src-rt-6.x.4708/router/Makefile b/release/src-rt-6.x.4708/router/Makefile
index e97164e7f..b76ef17cf 100644
--- a/release/src-rt-6.x.4708/router/Makefile
+++ b/release/src-rt-6.x.4708/router/Makefile
@@ -18,23 +18,6 @@ include common.mak
export PARALLEL_BUILD := -j`grep -c '^processor' /proc/cpuinfo`
-define patch_files
- find patches/$(1) -maxdepth 1 -type f -name '*.patch' | sort -t '\0' -n | while read FILE; do \