例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
以下転載:
| #!/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 |
| 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 |