Skip to content

Instantly share code, notes, and snippets.

View EtemenNiguru's full-sized avatar

Yoshioka EtemenNiguru

View GitHub Profile
@sogaiu
sogaiu / notrepl-notes.md
Last active January 30, 2025 11:37
notrepl notes

notrepl

"notrepl" is a specification and implementation of a protocol that helps with the experience of developing in certain ways. It may start as a "subset" of nREPL, though see below for elaboration. The name is a nod to the fact that the term "repl" (somewhat like the term "lisp") seems to be something that some folks feel very strongly about being used in certain ways.

Subset nREPL

@sheepla
sheepla / Program.fs
Last active February 20, 2026 09:14
.NET Core F#でコマンドラインツールを作ろう
open System
open System.IO
open FSharp.SystemCommandLine
let listCommand: CommandLine.Command =
let handler (count: int) =
printfn "Running listCommand!"
printfn "count: %A" count
0
@yamarten
yamarten / atproto_terms.asc
Last active December 22, 2024 06:22
独断で選んだatproto用語一覧

ATP用語

用語 別名 意味 出典 備考
@sahara-ooga
sahara-ooga / syntax_highlighting_code_on_slide.md
Created June 9, 2020 07:58
シンタックスハイライトしたコードをPowerpointに貼り付ける

日本語混じりのJSONをPowerpointのスライドにシンタックスハイライトが効いた状態で掲載したい。 ただし、画像でなくテキストとして。という要件を満たす方法を探した。

シンタックスハイライトをしたコードを PowerPoint / Keynote に載せる - kakakakakku blogを参考にした。

ただし、日本語が文字化けしてしまうので、エンコードの指定をする必要がある。

以上をまとめると次のようになる。

@Ishotihadus
Ishotihadus / atr.md
Last active July 10, 2025 05:40
ATR503文元ネタ集

ATR 音素バランス 503 文元ネタ集

判明している音素バランス文の元ネタを集めた。

Subset A

a01: あらゆる現実をすべて自分のほうへねじ曲げたのだ。

「マルサの女 撮影日記」(伊丹十三)(文藝春秋 1987 年 2 月)(c03、g01 と同一)

@qnighy
qnighy / rust-patterns.md
Last active March 6, 2025 19:03
Rustのパターンっぽいやつメモ

パターンとはその言語が抽象化できなかった敗北の歴史である。 しかしどんなに優れた言語であってもあらゆる繰り返しに勝てるわけではない。 人は必ずメタ繰り返しを欲するからだ。 そしてそれはRustも例外ではない。

ここでは、OOPでも知られているパターンよりも、Rustに特有のパターンを思いつく限りまとめてみた。名前は適当。

  • crate splitting
    • でかいcrateを分割して、見通しを良くする・再コンパイルの分量を削減する・並列コンパイルを可能にする
  • 親玉crate(全てにdependする)と殿crate(全てにdependされる)があることが多いので、だいたい束みたいな形になる。
@matstani
matstani / clojurememo.md
Created December 28, 2017 01:11
Clojureで業務システムを作ったメモ

Clojureを仕事で使った経験をメモしておきます。 2015年の冬に本番稼働したシステムのため、使用したライブラリ等については、必ずしも現在の流行に沿っていないと思います。

作ったもの

  • スタッフがウェブブラウザによりアクセスし、ログインして使用する業務システム
    • 商品管理、売上管理、支払管理etc..

規模

  • DBテーブル数80程度
  • 画面数200程度
@sile
sile / main.md
Last active September 16, 2025 03:40
『Brewer's Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services』の要約

要約: 『Brewer's Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services』

概要

  • 著者: Seth Gilbert、Nancy Lynch、発行年: 2002
  • いわゆる"CAP定理"の話:
    • 「分散環境では 一貫性(Consistency)可用性(Availability)分断耐性(Partition tolerance) の三つを同時に達成することはできない」
  • その不可能性の証明と、その制限を非同期環境および部分的同期環境でどう緩和するか、が述べられている
@hashrock
hashrock / diag.md
Last active April 30, 2026 06:23
作図系ツール・ライブラリまとめ

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
@sile
sile / 0_raft.md
Last active May 27, 2024 07:53
Raft(分散合意アルゴリズム)について