Skip to content

Instantly share code, notes, and snippets.

@tamo
tamo / skk-dict-merger.html
Created April 29, 2026 10:06
SKK dictionary merger
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SKK 辞書結合</title>
<!--
This is derived from https://github.com/skk-dev/skktools/blob/master/skkdic-expr2.c
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@tamo
tamo / mic2whisper.py
Last active January 19, 2025 09:10
Get audio from your main microphone https://github.com/ggerganov/whisper.cpp/pull/2694
from array import array
from os import fdopen
from pyaudio import paFloat32, PyAudio
from sys import byteorder, stdout, stderr
from time import sleep
import math
import wave
# whisper format
FORMAT = paFloat32
@tamo
tamo / StoreAppsViewer.ahk
Last active January 3, 2024 14:14
View windows store apps like https://www.sordum.org/16360/
; Moved
@tamo
tamo / restorewinpos.ahk
Last active January 21, 2024 08:44
Workaround Rapid HPD
; Moved
--- noip-2.1.9-1/noip2.c Wed Nov 26 04:50:09 2008
+++ noip2.c Wed Oct 6 21:31:51 2010
@@ -186,7 +186,9 @@
#define ENCRYPT 1
#define FORCE_UPDATE 0
-#define MAX(x,y) (((x)>(y))?(x):(y))
+#ifndef MAX
+ #define MAX(x,y) (((x)>(y))?(x):(y))
+#endif