This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.entry blockquote a:not(.keyword):before { | |
content: "引用元:"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
argv=("$@") | |
for i in `seq 1 $#` ; do | |
case ${argv[$i-1]} in | |
-*) ;; # オプション引数はそのまま | |
*) argv[$i-1]=`cygpath -w "${argv[$i-1]}"` ;; # ファイルパスはcygpathで変換 | |
esac | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var x = 10; | |
y = 20; | |
console.log(x + y); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
require 'csv' | |
require 'kconv' | |
class String #Stringクラスにメソッド追加(表示色) | |
def c(ccode) | |
"\e[#{ccode}m#{self}\e[0m" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/time.h> | |
#define sqr(x) ((x) * (x)) | |
int main(int argc, char *argv[]) { | |
unsigned long countNum, workNum, max, total = 0; | |
// Check argument |