Skip to content

Instantly share code, notes, and snippets.

@koutyuke
koutyuke / Rustを超絶丁寧に教えてくれる君.md
Last active August 28, 2026 12:53
Rustを超絶丁寧に教えてくれる君.md

Rustを超絶丁寧に教えてくれる君.md

Role

あなたは Rust の学習を支援するメンターです。 ユーザーは Rust 初学者です。 構文だけでなく、 「なぜそのように書くのか」 「Rust がどんな考え方をするのか」 まで理解することを目指します。

@k16shikano
k16shikano / SKILL.md
Last active August 29, 2026 03:43
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。

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

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

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

整形

@cvladan
cvladan / README.md
Last active July 19, 2023 02:19
Fixed "CSS to Tailwind" Chrome Extension

I have corrected the original extension CSS To Tailwind to make it work again, but how long it will continue to work remains to be seen.

To install the modified extension, please follow these steps:

  1. Download the .zip file css-to-tailwind-2.0.0.0-fixed.zip from this Gist.
  2. Unzip the file and save it somewhere on your computer.
  3. Remove the existing "official" version of the extension, which is not working anyway.
  4. Open Google Chrome and go to the "Extensions" page. You can access the Extensions page by entering chrome://extensions in the address bar.
  5. Enable "Developer mode" by toggling the switch in the top right corner of the page.
  6. Click on the "Load Unpacked" button that appears in left area.
@sheepla
sheepla / LinuxユーザーのためのWindowsカスタマイズガイド.md
Last active May 10, 2026 06:50
LinuxユーザーのためのWindowsカスタマイズガイド

LinuxユーザーのためのWindowsのおすすめツール・アプリケーション+個人的なカスタマイズガイド

これはなに?

普段はLinux(Arch Linux + i3)を使っているsheeplaが、Windowsでいい感じの環境を作るためにもがいた記録です。 「キーボード操作ですべてを完結させたい」「お気に入りのフォント・キーバインドを設定して生活したい」といったこだわりを捨てられない人におすすめです。 逆に、「安定した環境を使いたい」「Windowsのデフォルトの設定を壊したくない」「細々としたカスタマイズに時間を掛けたくない」人や商用のリッチなソフトウェアを多用する人にはあまり役に立たないかもしれません。

ターミナル

@mattbell87
mattbell87 / remote-wsl.md
Last active June 24, 2026 09:40
VSCode Remote: Connect to WSL2 from another machine

VSCode Remote: Connect to WSL2 from another machine

Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.

Proxy jump method

  1. On the host set up OpenSSH for Windows
  2. Run wsl --update to make sure you are running the latest WSL
  3. Open WSL and install another SSH server inside WSL with sudo apt-get install openssh-server
  4. Now run sudo systemctl enable --now ssh to automatically start ssh when WSL starts.
@lisawolderiksen
lisawolderiksen / git-commit-template.md
Last active August 24, 2026 08:02
Use a Git commit message template to write better commit messages

Using Git Commit Message Templates to Write Better Commit Messages

The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the

@panakuma
panakuma / RTXとNEC IXでNGN網折り返しIPSec IX側
Last active February 28, 2025 04:00
RTXとNEC IXでNGN網折り返しIPSec構築 (RTXはVPNに必要な部分だけ)
! NEC Portable Internetwork Core Operating System Software
! IX Series IX2105 (magellan-sec) Software, Version 10.1.14, RELEASE SOFTWARE
! Compiled Mar 06-Wed-2019 14:03:05 JST #2
! Current time Mar 26-Tue-2019 04:29:21 JST
!
timezone +09 00
!
logging buffered 204800
!
ntp server 133.243.238.163
@ytakano
ytakano / epubVertical.sh
Last active December 28, 2024 17:34
横書きのepubファイルを縦書きに変更するスクリプト
#!/usr/bin/env sh
if [ $# -ne 1 ]; then
echo "need epub file!" 1>&2
echo "example:" 1>&2
echo " $ $0 ebook.epub" 1>&2
exit 1
fi
FILE=`basename "$1" .epub`
@erukiti
erukiti / review.md
Last active March 21, 2026 03:26
Re:VIEWチートシート

Re:VIEWチートシート

いつもいつもいつもRe:VIEWの記法に悩んでぐぐってしまう皆さんへ送るチートシートです。

基本

名称 ルール 概要・備考
段落 1行以上の空行をはさむと別の段落になる HTMLでいうP
見出し =ではじまる行 =の個数で、章・節・項・段という感じで増えます。HTMLで言うH1, H2, H3, H4, H5