天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。
- gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
| $ mysql_config --socket |
| $ ps x | grep ruby | |
| $ kill -KILL 12801 |
| function () { | |
| var entity = { | |
| quot: '"', | |
| lt: '<', | |
| qt: '>' | |
| }; | |
| return function () { | |
| return this.replace(/&([^&;]+);/g, | |
| function (a, b) { | |
| var r = entity[b]; |
| #!/bin/sh | |
| [[ -e ~/.dotfiles ]] || git clone [email protected]:ymkjp/.dotfiles.git ~/.dotfiles | |
| pushd ~/.dotfiles | |
| git submodule init | |
| git submodule update | |
| for i in `ls -a` | |
| do | |
| [ $i = "." ] && continue |
| (function(){ | |
| for (var n = 1; n<=100; n++){ | |
| if(n%3 == 0 && n%5 == 0){console.debug("FizzBuzz")} | |
| else if(n%3 == 0){console.debug("Fizz")} | |
| else if(n%5 == 0){console.debug("Buzz")} | |
| else console.debug(n); | |
| } | |
| })(); |
| <?php | |
| $end = 1000; // Set the end of number here | |
| $step = 4; // Set the step of Fibonacci, in this script it's set as tetranacci numbers | |
| $arr = array(); | |
| $nacci; | |
| if ($step < 2) { | |
| trigger_error('ERROR: $step must be 2 or greater.', E_USER_ERROR); |
| <a href="%URL%" target="_blank">%TITLE%</a><img src>"http://b.hatena.ne.jp/entry/image/%URL%" alt="%TITLE% - はてなブックマーク" title="%TITLE% - はてなブックマーク"> |
| (function () { | |
| "use strict"; | |
| var ContentScripts = (function () { | |
| function isBook(category) { | |
| if (category.value === "books") { | |
| return true; | |
| } | |
| return false; | |
| } |
| bzip2: Compressed file ends unexpectedly; | |
| perhaps it is corrupted? *Possible* reason follows. | |
| bzip2: Undefined error: 0 | |
| Input file = books.tar.bz2, output file = (stdout) | |
| It is possible that the compressed file(s) have become corrupted. | |
| You can use the -tvv option to test integrity of such files. | |
| You can use the `bzip2recover' program to attempt to recover | |
| data from undamaged sections of corrupted files. |