Skip to content

Instantly share code, notes, and snippets.

View kasecato's full-sized avatar
🙇‍♂️

Keisuke KATO kasecato

🙇‍♂️
View GitHub Profile
@matusnovak
matusnovak / README.md
Last active June 17, 2024 18:31
GPG + Git SSH Authentication and Signing on Windows 10

GPG + Git SSH Authentication and Signing on Windows 10

Introduction

This simple Gist will explain how to settup your GPG key to work for SSH authentication (with Git) and Git commit signing on Windows 10. This may seem straightforward on Linux, but there are certain tweaks needed on Windows.

No Cygwin, no MinGW, no Git Bash or any other Linux emulated environment. This works in pure Windows 10.

Software needed

@wreulicke
wreulicke / JDK9-migration.md
Last active February 18, 2018 07:26
マイグレーション用メモ

途中からやる気ないので許して

これはOracle公式のJava9へのマイグレーションに関するポストの和訳です。 翻訳が間違っていたとしても、私は責任を取りませんので その旨を了解した上で、参考程度にご覧になってください。 おかしな点があれば、教えていただければ幸いですが 基本的には本家ポストを読んでください。 https://docs.oracle.com/javase/9/migrate/toc.htm

Migration to Oracle JDK9

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active July 2, 2024 12:33
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@jboner
jboner / latency.txt
Last active July 3, 2024 14:57
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD