Skip to content

Instantly share code, notes, and snippets.

View IngwiePhoenix's full-sized avatar
💭
o.o

Ingwie Phoenix IngwiePhoenix

💭
o.o
View GitHub Profile
@IngwiePhoenix
IngwiePhoenix / 0-info.md
Created October 10, 2025 18:33
modernc.org/quickjs compare -- Orion O6

Hardware

Radxa Orion O6

  • Alpine Linux 3.22
  • Go 1.24.7 (forgot to update beforehand, oops)
  • NVMe Patriot P300 128GB (where tf did my Samsung go o.o?...)
  • Orion specific: ACPI boot mode, 0.2.2-1 FW
root@mobileboi ~/w/quickjs (master)# git describe
@IngwiePhoenix
IngwiePhoenix / coredns.yaml
Created March 21, 2025 16:07
k3s-coredns-homelab
apiVersion: v1
kind: Namespace
metadata:
name: coredns
---
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-config
namespace: coredns
@IngwiePhoenix
IngwiePhoenix / piped.yaml
Created November 4, 2024 18:39
Piped in k3s
## Protip.
# Cheat and use (their) charts.
# You do _NOT_ want to set _THIS_ up manually nor on your own. It's actually a pain in the ass.
# ... trust me, I tried.
---
apiVersion: v1
kind: Namespace
metadata:
name: piped
---
@IngwiePhoenix
IngwiePhoenix / killer.sh
Created June 10, 2024 23:19
Kills a nostr note, hopefuly.
#!/bin/sh -x
# Install fiatjaf/nak (go), htmlq (rust) and jq (go) first.
# Set these
NSEC=
NEVENT=
del_notes() {
P=$(mktemp)
@IngwiePhoenix
IngwiePhoenix / rc.elv
Last active January 4, 2025 06:44
Elvish config
use platform
use runtime
use os
use re
use str
fn -on-windows {|cb|
if $platform:is-windows {
$cb
}
@IngwiePhoenix
IngwiePhoenix / snort.dockerfile
Created March 25, 2024 13:43
Snort, in Docker, on Alpine, with dufs
FROM alpine:3.19 AS make-snort
RUN apk add nodejs npm git \
&& npm i -g yarn \
&& mkdir -p /opt/src \
&& git clone \
--depth 1 --single-branch -b main \
https://git.v0l.io/Kieran/snort.git \
/opt/src \
&& cd /opt/src \
&& yarn --network-timeout 1000000 \
@IngwiePhoenix
IngwiePhoenix / config.txt
Created February 23, 2024 05:59
vf2 6.6.0 kernel config
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 6.6.0 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Debian 13.2.0-13) 13.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=130200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24200
@IngwiePhoenix
IngwiePhoenix / tree1-warnings.txt
Created February 22, 2024 06:59
Razer Sila Device Trees (mmcblk0p12/p13)
<stdout>: Warning (unit_address_vs_reg): /images/kernel@1: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/kernel@1/hash@1: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/kernel@1/hash@2: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/[email protected]: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/[email protected]/hash@1: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/[email protected]/hash@2: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/[email protected]: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/[email protected]/hash@1: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /images/[email protected].
@IngwiePhoenix
IngwiePhoenix / config.txt
Created February 21, 2024 20:05
Razer Sila 3.14.77 Kernel Config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.14.77_RazerSila-2.0.441_prod-2.0.418 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_MIGHT_HAVE_PCI=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
@IngwiePhoenix
IngwiePhoenix / 00-stdout.txt
Created February 21, 2024 20:00
Razer Sila DTS
<stdout>: Warning (reg_format): /soc/mdio@90000/ethernet-phy@1:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
<stdout>: Warning (reg_format): /soc/mdio@90000/ethernet-phy@3:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
<stdout>: Warning (reg_format): /soc/mdio@90000/ethernet-phy@0:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
<stdout>: Warning (reg_format): /soc/mdio@90000/ethernet-phy@4:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
<stdout>: Warning (reg_format): /soc/mdio@90000/ethernet-phy@2:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
<stdout>: Warning (unit_address_vs_reg): /soc/gpio_keys_polled/button@reset: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg): /soc/gpio_keys_polled/button@wps: node has a unit name, but no reg or ranges property
<stdout>: Warning (unit_address_vs_reg