Skip to content

Instantly share code, notes, and snippets.

@znatz
znatz / wip.md
Created May 8, 2022 09:25 — forked from mizchi/wip.md

放送で紹介する用。書きかけです。


Rust for TypeScript Developper

これは、 TypeScript 開発者が Rust + wasm-pack でフロントエンドを書けるようになるためのチュートリアルです。

Rust で書きつつ、 TypeScript で相当するコードをコメントで残しておきます。

@znatz
znatz / gist:d418eb0940684f263e3ef09c63d88883
Created March 10, 2018 08:07 — forked from cmackay/gist:5863257
AppleScript to save and restore window position and sizes.
-- allSettings is a list of records containing {width:? height:? apps:{{name:? pos:? size:?},...}
-- for each display setup store the apps and their associated position and size
property allSettings : {}
-- create a variable for the current settings
set currentSettings to {}
display dialog "Restore or save window settings?" buttons {"Restore", "Save"} default button "Restore"
set dialogResult to result
$! raise された例外オブジェクト
$" require で読み込まれたファイルの配列
$#
$$ 現在のプロセス ID
$%
$& 正規表現にマッチした箇所の文字列
$' 正規表現にマッチした箇所より後ろの文字列
$(
$)
$* Ruby スクリプトに指定された引数。ARGV と同じ

GitHub トレーニングチームから学ぶ Git の内部構造

Graphs, Hashes, and Compression, Oh My!

Hash について

従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。