Skip to content

Instantly share code, notes, and snippets.

@mono0926
mono0926 / commit_message_example.md
Last active March 26, 2026 20:05
[転載] gitにおけるコミットログ/メッセージ例文集100
@johnl
johnl / scsi-log-parser.rb
Created May 13, 2015 15:30
script to parse Linux scsi command logs
#!/usr/bin/ruby
# Parses linux scsi command logs
# http://www.seagate.com/staticfiles/support/disc/manuals/scsi/100293068a.pdf
# give this program itself as input to test
# DE AD BE EF == 3735928559
# CA FE == 51966
# CDB: Write(10): 2a 08 DE AD BE EF 00 CA FE 00
@t-nissie
t-nissie / !HowToGist.md
Last active June 17, 2026 23:24
Gistの使い方のメモ

Gistの使い方のメモ

Gistを使い始めて気がついた点をメモした。 Gistはこのようなメモや短いコードをバージョン管理しながら公開するのに便利。

特にこのメモでは、画像を同一ディレクトリに置いて、 それGFMファイル内に挿入する方法を解説。

このメモにはgitコマンドの使い方の解説はない。 このメモは随時更新される予定。

@oraccha
oraccha / linux-0.01-rm-3.5-rt20110112a.patch
Created January 12, 2011 09:40
Linux 0.01: fix compile errors with gcc 4.4.5
diff -rc linux-0.01-rm-3.5.orig/fs/Makefile linux-0.01-rm-3.5/fs/Makefile
*** linux-0.01-rm-3.5.orig/fs/Makefile 2008-01-14 05:58:48.000000000 +0900
--- linux-0.01-rm-3.5/fs/Makefile 2011-01-12 18:23:37.336449408 +0900
***************
*** 3,9 ****
CC =gcc
LD =ld
CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer \
! -fno-stack-protector -nostdinc -I../include
CPP =gcc -E -nostdinc -I../include