Skip to content

Instantly share code, notes, and snippets.

View tylernguyen's full-sized avatar
☕
caffeinated

Tyler Nguyen tylernguyen

☕
caffeinated
View GitHub Profile
@tylernguyen
tylernguyen / NAGAen.user.js
Last active November 5, 2026 17:20
English UI for Riichi AI Naga
// ==UserScript==
// @name Riichi AI NAGA English UI @tylernguyen
// @namespace NAGAen
// @version 2026.11.05
// @description English UI for the NAGA Mahjong AI.
// @updateURL https://gist.githubusercontent.com/tylernguyen/9c37f09cfd331633982d7ef2a507691a/raw/
// @downloadURL https://gist.githubusercontent.com/tylernguyen/9c37f09cfd331633982d7ef2a507691a/raw/
// @match https://naga.dmv.nico/*
// @run-at document-start
// @icon https://files.tylernguyen.wiki/riichi/assets/NAGA/NAGA.png
@verfasor
verfasor / show-post-time-bear-blog.js
Last active April 28, 2026 07:30
script to show post time next to date on bear blog
// Bear Blog - Show Post Time
// Add this script to your Bear Blog custom JS section (footer directive) to show post time next to date
// Works with single post pages (body.post)
// Explainer: https://mighil.com/script-to-show-post-time-next-to-date-on-bear-blog
(function() {
// Wait for DOM to be ready and Bear's date formatting to complete
function addTimeToPostDates() {
// Only run on single post pages (body has class "post")
if (!document.body.classList.contains('post')) {
@Xom
Xom / shapenames.csv
Last active January 24, 2026 04:45
An attempt to name shapes in riichi mahjong
Xom-original?
3 tanki (in context)
33 pair
34 ryanmen
35 kanchan
12 penchan
333 set (triplet)
345 run (sequence)
@m1no
m1no / motu-bridge.js
Last active August 7, 2026 04:19
MOTU Ultralite-mk5 API Bridge
// MOTU Ultralite-mk5 API Bridge
// Author: mino
// Date: 2023-02-22
// License: MIT
//
// Description:
// ------------
// I was looking for a easy way to mute and umute my main speakers via a Stream Deck button on the MOTU Ultralite-mk5.
// Unfortunately, Motu does not provide an HTTP API for this series, this feature is only available on the AVB devices.
// But with a bit of tinkering and reverse engineering of the Motu CueMix 5 app, it is possible to understand the used protocols and to send arbitrary commands.