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
clickBindings: => | |
# Mobile | |
for el in document.querySelectorAll("#header a") | |
el.addEventListener 'click', (evt) -> | |
evt.preventDefault() | |
return unless hashMatch = evt.srcElement.href.match(/(#.+)$/) | |
@scrollToSection hashMatch[1] |
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
<script> | |
n = prompt().split(""); | |
c = "q=n[0];w=n[1];r[x=n.join('')*1] || e(y[(x+'').length])"; | |
t = "tausend"; h = "hundert";j='zig'; | |
y=[,,"w==0?r[q]+j:(q==1?r[w]+r[10]:r[w]+'und'+(i[q]||r[q]+j))","n.shift();r[q]+h+e(c)","n=n.slice(-3);r[q]+t+e(c)","k=n.splice(2);u=e(c);n=k;u+t+e(c)","e(y[5].replace(2,3))"]; | |
r="0ein0zwei0drei0vier0fuenf0sechs0sieben0acht0neun0zehn0elf0zwölf".split(0); | |
r[20]="zwanzig";r[30]="dreißig";i=[,,r[20],r[30]]; | |
alert((e = eval)(c).replace(/(en|s)z/,'z').replace(/in$/,'$1s')) | |
</script> |
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
<script>n=prompt().split("");e=eval;c="q=n[0];w=n[1];r[x=n.join('')*1]||e(y[(x+'').length])";t="tausend";h="hundert";j='zig';y=[,"r[q]","w==0?r[q]+j:(q==1?r[w]+r[10]:r[w]+'und'+(i[q]||r[q]+j))","n.shift();r[q]+h+e(c)","n=n.slice(-3);r[q]+t+e(c)","k=n.splice(2);u=e(c);n=k;u+t+e(c)","e(y[5].replace(2,3))"];r=" ein zwei drei vier fuenf sechs sieben acht neun zehn elf zwölf".split(" ");r[20]="zwanzig";r[30]="dreißig";i=[,,r[20],r[30]];alert(e(c).replace(/(en|s)z/,'z').replace(/(^ein$)|(ein$)/,'eins'));</script> |
NewerOlder