Skip to content

Instantly share code, notes, and snippets.

View ryanwoodsmall's full-sized avatar
🍞
🍞 bread 🍞 sandwich 🍞

ryan ryanwoodsmall

🍞
🍞 bread 🍞 sandwich 🍞
View GitHub Profile
@ryanwoodsmall
ryanwoodsmall / .tmux.conf
Created October 18, 2023 17:07
.tmux.conf
# this keeps getting turned off
set -s set-clipboard on
# tmux+vim in some configurations behaves *extremely* stupidly/slowly when changing modes
# 0 works too but may cause issues with multi-key sequences (arrrow keys, etc.)
set -sg escape-time 10
@ryanwoodsmall
ryanwoodsmall / linux-5.15.x-starfive-visionfive2-docker.config
Last active November 27, 2023 05:35
linux-5.15.x-starfive-visionfive2-docker.config
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 5.15.0 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="riscv64-linux-musl-gcc (GCC) 9.4.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90400
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23301
@ryanwoodsmall
ryanwoodsmall / win10greybackground.reg
Last active November 10, 2024 02:24
win10greybackground.reg
Windows Registry Editor Version 5.00
; https://www.elevenforum.com/t/add-or-remove-learn-about-this-picture-desktop-icon-in-windows-11.7137/
; https://serverfault.com/questions/268423/changing-desktop-solid-color-via-registry
; https://leitchronicle.wordpress.com/2009/11/07/remote-desktop-with-clear-type-on-windows-xp/
; get rid of "change/about/etc. this picture" icon/windows spotlight desktop
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{2cc5ca98-6485-489a-920e-b3e88a6ccce3}]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]

HashiCorp Vault Associate (exam notes)

Exam objectives

Exam Objectives
1 Compare authentication methods
  1a Describe authentication methods
  1b Choose an authentication method based on use case
  1c Differentiate human vs. system auth methods
@ryanwoodsmall
ryanwoodsmall / mpy-f469.md
Created June 28, 2025 11:50 — forked from stepansnigirev/mpy-f469.md
Micropython build for STM32F469-Discovery board

Micropython overview

Micropython works on a variety of different boards, but originally it was written to work on STM32 microcontrollers. Their PYBOARD is based on STM32.

At the moment micropython is ported to several STM32 developer boards, ESP32, linux, MacOS and even webassembly.

I started porting micropython to STM32F469-Discovery board - I want to

@ryanwoodsmall
ryanwoodsmall / quickjs-parse-headers.js
Created September 6, 2025 20:14
quickjs-parse-headers.js
var r = std.urlGet("http://your.host.name:12345/tmp/blah.out", {binary: true, full: true});
function parseHeaders(r) {
var h = {};
var a = r.responseHeaders.split(/\r\n/);
for (const l of a) {
const t = l.toString().trim().split(":");
const k = t.shift().toString().trim();
if (k.length != 0) {
const v = t.join(":").toString().trim();
h[k] = v;