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
/* | |
if文の中が1行のとき,どれがベストなのか | |
コメント募集(下記以外の方法でも可) | |
*/ | |
// 01 | |
if (true) println("true"); | |
// 02 | |
if (true) |
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
/* | |
hatenaCardBackgroundChanger | |
@3846masa | |
iframeの属性にbackgroundを追加してcss方式で書くとなる(多分)。 | |
*/ | |
window.addEventListener('load',function(){ | |
var list = document.querySelectorAll('iframe[src*="hatenablog.com/embed"][background]'); | |
Array.prototype.forEach.call(list, function(node){ |
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
void setup(){int a=0x3030;p(a+'.');p(a+'7'-'!');p(a+'%');p(a+'c');p(a+'='-'!');p(a+')');p(a+'>'-'!');} void p(int a){print((char)a);} |
NewerOlder