Skip to content

Instantly share code, notes, and snippets.

View hoshinolina's full-sized avatar

Hoshino Lina hoshinolina

View GitHub Profile
#include <assert.h>
#include <drm/drm_fourcc.h>
#include <fcntl.h>
#include <gbm.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
@hoshinolina
hoshinolina / asahi_linux_paypal_fix.user.js
Last active January 14, 2026 01:59
Asahi Linux PayPal Block Fix
// ==UserScript==
// @name PayPal Asahi Linux Fix
// @version v1.0
// @description Fix PayPal banning Asahi Linux
// @author Asahi Lina
// @match https://www.paypal.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=paypal.com
// @grant unsafeWindow
// ==/UserScript==
@hoshinolina
hoshinolina / mastodon_move_notes.md
Last active September 27, 2025 05:14
Mastodon move notes

Notes on moving a Mastodon instance to a new server

Stuff to move

  • App
  • Config
  • Redis/Valkey
  • Media
  • Postgres
-- As explained on: https://bennett.dev/auto-link-pipewire-ports-wireplumber/
-- Link two ports together
function link_port(output_port, input_port)
if not input_port or not output_port then
return nil
end
local link_args = {
["link.input.node"] = input_port.properties["node.id"],
## RGB10A8 2-plane
Texture
Dimension: 2D
Layout: Compressed
Channels: unknown 4C (XXX)
Type: XR
Swizzle R: B
Swizzle G: G
Swizzle B: R
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.1.0-rc5 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="clang version 14.0.4"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=140004
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=140004
dEQP-GLES3.functional.draw.random.101 Fail
dEQP-GLES3.functional.draw.random.118 Crash
dEQP-GLES3.functional.draw.random.124 Crash
dEQP-GLES3.functional.draw.random.136 Crash
dEQP-GLES3.functional.draw.random.138 Crash
dEQP-GLES3.functional.draw.random.14 Fail
dEQP-GLES3.functional.draw.random.141 Fail
dEQP-GLES3.functional.draw.random.151 Fail
dEQP-GLES3.functional.draw.random.162 Fail
dEQP-GLES3.functional.draw.random.180 Fail
@hoshinolina
hoshinolina / agx_buffers.md
Last active November 16, 2022 07:01
AGX buffers

Legend:

  • (K)ernel or (U)ser
  • (S)hared or (P)rivate
  • (F)irmware or (G)PU or (X)Both

TVB Buffer heap:

Directly related to the buffer heap

  • (KSF): Buffer info struct (maybe should be KPF?)
  • (KSF): Block control pointers
  • (KSF): Use counter
100 16734.0
110 16782.0
120 16833.0
130 16883.0
140 16936.0
150 16991.0
160 17046.0
170 17103.0
180 17162.0
190 17222.0