by shigemk2

当面は技術的なことしか書かない

2013-06-17から1日間の記事一覧

文字や単語を入れ替える

GNU Emacs Manual - Transpose C-t 2文字を入れ換えます(transpose-chars). M-t 2つの単語の順序を入れ換えます(transpose-words). C-M-t 2つのS式を入れ換えます(transpose-sexps). C-x C-t 2つの行を入れ換えます(transpose-lines).ポイントの前後の文…

忘れたころにprettyコマンドを思い出す

Git

Git - コミット履歴の閲覧 git log --pretty=format:"%h - %an, %ar : %s"%h コミットのハッシュ(短縮) %an author name %ar author relative time(適当) authorの相対日付 %s 件名

97 Things Every Programmer Should Know 96 You Gatta Care About the Code

Good programming is not born from mere technical competence. You want to write good code. You want to be a good programmer. So, you care about the code: In any coding situation, you refuse to hack something that only seems to work. You str…