Skip to content

Instantly share code, notes, and snippets.

View BrownNPC's full-sized avatar
💭
Hammer Enthusiast Community Member

Omer. BrownNPC

💭
Hammer Enthusiast Community Member
View GitHub Profile
@BrownNPC
BrownNPC / Waydroid Bi-directional mount.md
Last active November 10, 2026 12:00
Here's how you do a bi-directional mount using bindfs. I would appreciate if this guide could be added to the docs too. This is useful for allowing waydroid to write files into your linux host. For example, if we want to link our host ~/Downloads folder from within waydroid's filesystem as Download so that when you download a file in waydroid, i…

Here's how you do a bi-directional mount waydroid using bindfs.

This is useful for allowing waydroid to write files into your linux host.

For example, if we want to link our host ~/Downloads folder from within waydroid's filesystem as Download so that when you download a file in waydroid, it goes to your linux ~/Downloads folder.

First get the UID waydroid uses for folders.

export WAYDROID_ID=$(sudo stat -c '%u' ~/.local/share/waydroid/data/media)
@BrownNPC
BrownNPC / main.go
Created April 25, 2025 22:00
Go vs Rust in fib(30)
package main
import (
"fmt"
"time"
)
func fib(n int) int {
if n <= 1 {
return n
@BrownNPC
BrownNPC / main.go
Last active April 10, 2025 14:17
Play webm opus with golang
package main
import (
"encoding/binary"
"io"
"log"
"os"
"time"
"github.com/ebitengine/oto/v3"
@BrownNPC
BrownNPC / clay.h
Created January 14, 2025 10:18
remove debug tooling
// VERSION: 0.11
/*
NOTE: In order to use this library you must define
the following macro in exactly one file, _before_ including clay.h:
#define CLAY_IMPLEMENTATION
#include "clay.h"
See the examples folder for details.
@BrownNPC
BrownNPC / config.toml
Created January 7, 2025 10:55
Helix config to make it more like VS-code
theme = "catppuccin_frappe"
[editor]
true-color = true
line-number = "relative"
cursorline = true
color-modes = true
bufferline="always"
[keys.insert]
@BrownNPC
BrownNPC / README.md
Last active July 29, 2026 13:31
Download psp games directly withtout a PC (TUTORIAL) (PSP PKGi, PKGi txt file psp, Psp pkgi csv file, PSP Free store)

Download every psp game directly from your psp, without a pc.

It is possible computer to set it up, but you can also do it without one by using your phone (not my vid)

TUTORIAL:

  1. Download this app for your PSP (PKGi)