Skip to content

Instantly share code, notes, and snippets.

View Nymphium's full-sized avatar
⚜️
百合

Satoru Kawahara Nymphium

⚜️
百合
View GitHub Profile
@k16shikano
k16shikano / SKILL.md
Last active July 11, 2026 05:29
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

nil = \x x
cons = \x \y \f f x y
car = \x \y x
cdr = \x \y y
true = \x \y x
false = \x \y y
if = \b \t \e b t e
zero = \f \x x
@penguin2716
penguin2716 / toast-alc.rb
Last active September 29, 2015 20:16
クリップボードにある文字列を英辞郎で検索してポップアップ通知で結果を表示してくれるプログラム.xbindkeys等でショートカットキーを設定すると良い.(MIT License)
#!/usr/bin/env ruby
require 'nokogiri'
require 'open-uri'
require 'clipboard'
require 'cgi'
require 'sqlite3'
dbname = File.join(ENV['HOME'], '.toast-alc.db')
table_name = 'query_result'
@perky
perky / ProFi.lua
Created May 30, 2012 20:32
ProFi, a simple lua profiler that works with LuaJIT and prints a pretty report file in columns.
--[[
ProFi v1.3, by Luke Perkin 2012. MIT Licence http://www.opensource.org/licenses/mit-license.php.
Example:
ProFi = require 'ProFi'
ProFi:start()
some_function()
another_function()
coroutine.resume( some_coroutine )
ProFi:stop()
@alexander-yakushev
alexander-yakushev / asyncshell.lua
Last active July 3, 2025 00:39
Asyncronous io.popen replacement for Awesome
-- Asynchronous io.popen for Awesome WM.
-- How to use...
-- ...asynchronously:
-- asyncshell.request('wscript -Kiev', function(f) wwidget.text = f:read("*l") end)
-- ...synchronously
-- wwidget.text = asyncshell.demand('wscript -Kiev', 5):read("*l") or "Error"
local awful = require('awful')
asyncshell = {}