Skip to content

Instantly share code, notes, and snippets.

View hoshinolina's full-sized avatar

Hoshino Lina hoshinolina

View GitHub Profile
@hoshinolina
hoshinolina / log.txt
Created May 12, 2026 15:02
"ARKit" (FaceKit) face tracking on macOS logs
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Creating FaceKit with options: { "failure_fov_modifier" = "0.5"; "network_failure_threshold_multiplier" = 1; "num_tracked_faces" = 1; "rgb_only" = 1; "robust_tongue" = 1;}
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] CVAFaceTracking created (0x78b035cc0).
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Color camera resolution: 640 x 480
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Color camera intrinsics: (400.000 0.000 319.500), (0.000 400.000 239.500), (0.000 0.000 1.000)
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] Color camera extrinsics: (1.000 0.000 0.000 0.000), (0.000 1.000 0.000 0.000), (0.000 0.000 1.000 0.000)
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] new track for user (0x78aad81b8 uuid=unset) at (358,327), bbox size (130,130)
FKTracker: (AppleCVA) [com.apple.AppleCVA:FaceKit] request faceprint for user (0x78aad81b8 uuid=unset) at (355,325), bbox size (128,128), pose=0.985485 0.0158968 -0.169016 58.621
// ==UserScript==
// @name YT Chat Show original language
// @namespace http://github.com/hoshinolina
// @version 2026-03-27
// @description Show Translated + Original message in YT chat
// @author Hoshino Lina
// @match https://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==
#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 May 6, 2026 00:39
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