Skip to content

Instantly share code, notes, and snippets.

View keitaoouchi's full-sized avatar

Keita Oouchi keitaoouchi

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

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

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

整形

@sawadyrr5
sawadyrr5 / gist:8933663e9cd1232468ac37b8d02bed14
Created March 26, 2020 14:00
UFOキャッチャーからXBRLをダウンロード&パースするクラスを作った

この記事について

Pythonでファンダメンタル投資のデータを集められないものかと思い, 調べてみたらUFOキャッチャーからXBRLをダウンロードしていろいろやっている記事がいくつか見つかりましたが, どれもスクラッチで面倒そうだなぁと思ったのでXBRLをサクッと取得&解析できるモジュールを作ってみました. 作ってみたばかりなのでおかしいところがあればご連絡いただけるとうれしいです.

1. インストール

Gitリポジトリからインストールします.

sawadyrr5/UfoDataReader

@kenmori
kenmori / TypeScriptPractice.md
Last active November 7, 2025 04:54
TypeScript 練習問題集
@niwatako
niwatako / CodePiece.txt
Created June 19, 2018 11:57
会社休むために実装するSiri shortcuts #roppongiswift #CodePiece
### @yoyokkTT 会社休むために実装するSiri shortcuts
YahooでWWDC前夜祭の動画を取ってホテルで編集してExtendedに送りました。
プログラミングに限らずなにか作るのが好きでMaker Faire Tokyo出たりしています。
WWDC2018でのSiriの進化と、ショートカットのNSUserActivityやIntentでの実装を紹介したいです。
30ページ以上あるので何らかの方法で共有できればと思います。
Siriから直接アプリを呼ぶことが可能になりました。
shortcutアプリも追加される。
@gpeal
gpeal / SimpleDemo.kt
Last active December 23, 2025 06:47
Airbnb MvRx Early Look
data class SimpleDemoState(val listing: Async<Listing> = Uninitialized)
class SimpleDemoViewModel(override val initialState: SimpleDemoState) : MvRxViewModel<SimpleDemoState>() {
init {
fetchListing()
}
private fun fetchListing() {
// This automatically fires off a request and maps its response to Async<Listing>
// which is a sealed class and can be: Unitialized, Loading, Success, and Fail.
name download_total
AFNetworking 61983241
Fabric 50998892
Crashlytics 49667729
SDWebImage 45471101
Alamofire 42097177
CocoaLumberjack 36071914
Bolts 35294870
FirebaseInstanceID 30277793
FirebaseAnalytics 30254593
@shunirr
shunirr / criminal_jc.md
Last active June 21, 2025 08:07
女子中学生チケット詐欺事件

criminal_jc

@rokugasenpai
rokugasenpai / how_to_download_streaming_jp.md
Last active December 17, 2023 09:50
各ストリーミング配信のダウンロード方法(要curl・ffmpeg・rtmpdump・chrome・limechat・wireshark)

ツイキャス

@andymatuschak
andymatuschak / States-v3.md
Last active May 17, 2026 19:29
A composable pattern for pure state machines with effects (draft v3)

A composable pattern for pure state machines with effects

State machines are everywhere in interactive systems, but they're rarely defined clearly and explicitly. Given some big blob of code including implicit state machines, which transitions are possible and under what conditions? What effects take place on what transitions?

There are existing design patterns for state machines, but all the patterns I've seen complect side effects with the structure of the state machine itself. Instances of these patterns are difficult to test without mocking, and they end up with more dependencies. Worse, the classic patterns compose poorly: hierarchical state machines are typically not straightforward extensions. The functional programming world has solutions, but they don't transpose neatly enough to be broadly usable in mainstream languages.

Here I present a composable pattern for pure state machiness with effects,

@AliSoftware
AliSoftware / Coordinator.swift
Last active July 10, 2022 14:32
Coordinators & StateMachine - Concept
struct Coordinator {
let window: UIWindow
let navCtrl: UINavigationController?
func start() {
presentWelcomeScreen()
}
private func presentWelcomeScreen() {
let vc = WelcomeScreenViewController() // Instanciate from code, XIB, Storyboard, whatever your jam is