Skip to content

Instantly share code, notes, and snippets.

@sogaiu
sogaiu / gist:05d58f3691497ab1e98d1341dfe2379f
Last active October 13, 2025 02:51
iphone with usb-c
iphone 15
https://iosys.co.jp/items/smartphone/iphone/iphone15?not=pro&vo=128&l=l
https://iosys.co.jp/items/smartphone/iphone/softbank/iphone15_a3089/303014
https://iosys.co.jp/items/smartphone/iphone/simfree/iphone15_a3089/382843
ネットワーク利用制限
https://iosys.co.jp/guide/support/networkguarantee.html
https://snowyskies.jp/imeiChecking/
@sogaiu
sogaiu / build-qemu-from-source.md
Last active October 10, 2025 11:04
build qemu from source

commands

git clone https://gitlab.com/qemu-project/qemu.git
cd qemu
git checkout v10.1.1
./configure --prefix=$HOME/.local
# a little more than 35 minutes here
time make
@sogaiu
sogaiu / syspath.md
Created October 3, 2025 05:21
syspath
  • general guide
  • .h file locations
    • file collision
  • include "pollution"
~/src/spork$ janet-pm clean-all && jpm clean && jpm test
removing directory _build
Deleted build directory build
compiling deps/miniz/miniz.c to build/deps___miniz___miniz.o...
compiling src/base64.c to build/src___base64.o...
compiling src/utf8.c to build/src___utf8.o...
compiling src/json.c to build/src___json.o...
compiling src/rawterm.c to build/src___rawterm.o...
compiling src/crc.c to build/src___crc.o...
compiling src/cmath.c to build/src___cmath.o...
@sogaiu
sogaiu / janet.diff
Created September 29, 2025 14:22
diff
diff --git a/src/boot/boot.janet b/src/boot/boot.janet
index 4ff5a851..f50ef7de 100644
--- a/src/boot/boot.janet
+++ b/src/boot/boot.janet
@@ -4373,16 +4373,20 @@
(put man :dependencies deps)
(put man :info info))
(def module (get-bundle-module bundle-name))
+ (def clean (get config :clean))
+ (def check (get config :check))
@sogaiu
sogaiu / jpm-janet-pm-docstring-tweaks.md
Created September 24, 2025 05:57
jpm, janet-pm docstring tweaks

janet-pm

  • JANET_MODPATH reference in docstring of declare-source should be removed
@sogaiu
sogaiu / ANSI.md
Created September 22, 2025 13:19 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27