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
_=-~-~-~[];alert(([][[]]+[])[_+_-_/_]+(!+[]+[])[_-_]+' '+([][[]]+[])[_+_-_/_]+(![]+[])[_]+' '+(![]+[])[_-_]+([][[]]+[])[_+_-_/_]+([][[]]+[])[_+_]+(!+[]+[])[_]); |
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
_=-~-~-~[];__=[][(![]+[])[_-_]+([][[]]+[])[_+_-_/_]+(![]+[])[_-_/_]+(!![]+[])[_-_]+(!![]+[])[_]+(!![]+[])[_/_]]+[];___=__[_]+__[_+_]+__[_-_/_]+(![]+[])[_]+(!![]+[])[_-_]+(!![]+[])[_/_]+(!![]+[])[_-_/_]+__[_]+(!![]+[])[_-_]+__[_+_]+(!![]+[])[_/_];___[___][___]((![]+[])[_/_]+(![]+[])[(_+_)/_]+(!![]+[])[_]+(!![]+[])[_/_]+(!![]+[])[_-_]+"(\""+'\\'+(([][[]]+[])[_-_])+(_)+(_-_)+(_+_/_)+(_+_)/_+"\");")(); |
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
#!/usr/bin/env gosh | |
#| | |
Metallic Ratio Split | |
<USAGE> | |
1. Research Splited Values by metallic ratio | |
$ gosh metallic-split.scm 960 | |
2. Generate CSS Format | |
$ gosh metallic-split.scm -c -b 1 -p 10 960 > style.css |
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
#!/usr/bin/env gosh | |
#| | |
Font Size Converter | |
This programm convert font size for each unit, and display standard output. | |
Usage: gosh font-size-conv.scm [-dpi][-Qpmx][--] [fonr-size] | |
Example: $ gosh font-size-conv.scm -dpi 300 -p 144 | |
Base Font Size (pt) : 144 pt |
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> | |
int cmp(const void *a, const void *b){ | |
return -(*(int*)a - *(int*)b); | |
} | |
int main(void) { | |
int i, height; | |
int l = 10; | |
int hills[l]; |
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
main(){for(var i=0;++i<101;)print((i%3?'':'Fizz')+(i%5?'':'Buzz')||i);} |
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
main=mapM_(putStrLn.f.(b!!))[0..99];b=1:scanl(+)1b;(%)=mod;f n|n%15<1=f 3++f 5|n%5<1="Buzz"|n%3<1="Fizz"|0<1=show n |
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
// Functional list programinng Factory | |
class FF { | |
static fold(func(x, r), [init, Iterable it]) => | |
init === null ? | |
(init, [Iterable it]) => FF.fold(func, init, it) : | |
it === null ? | |
(Iterable it) => FF.fold(func, init, it) : | |
(){ | |
var result = init; |
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
// already loaded jQuery.js | |
(function(){ | |
function searchHoge(name, list){ | |
var reg = new RegExp('^'+name+'$','m'); | |
return list.filter(function(i, v){ | |
return reg.test($(v).text()); // v -> TopLevelHTMLObject | |
}); | |
} |
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
var buttons = document.querySelectorAll('button'); | |
// fool | |
for (var i = 0, l = buttons.length; i < l; i++){ | |
buttons[i].onclick = function(){ | |
alert(i); // always alert buttons length. not inclemental. | |
}; | |
} | |
// should |