This file contains hidden or 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
for (let num = 1 ; num < 31;num++){ | |
console.log( | |
(n => (str => (x=>x||n)(n % 5 ? str : `${str}Buzz`)) | |
((str => n % 3 ? str : `${str}Fizz`)("")) | |
)(num) | |
) | |
} |
This file contains hidden or 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
Number.prototype.fizz = function fizz () { | |
if (this % 3 == 0) { | |
return "Fizz" | |
} else { | |
return this | |
} | |
} | |
Number.prototype.buzz = function buzz () { | |
if (this % 5 == 0) { |
This file contains hidden or 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 FizzException() { | |
this.name = "Fizz" | |
} | |
function BuzzException() { | |
this.name = "Buzz" | |
} | |
function FizzBuzzException() { | |
this.name = "FizzBuzz" |
This file contains hidden or 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
const gg=-~[-~-~[]];p=console.log;__=-~-~[-~[]];const $g_ = x => { | |
___=(!![]+[])[-~[]]+(!![]+[])[__]+(!![]+[])[+[]] +(!![]+[])[-~[-~[]]]+ | |
(!![]+[])[-~[]] + ([][""]+[])[-~[]] + ' \"'+'\\'+([][""] + [])[[]-[]]+ | |
'{'+x+'}'+'\"';return ___};g=-~[]+[]+(true+true)+(__*__);gqg=__+[]+-~[]; | |
_$_ = new TextDecoder().decode(new Uint8Array([227,129,141,227,130,138, | |
227,129,191,227,130,147,227,129,161,227,130,131,227,130,147])); p(_$_); | |
g='g'||ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg|| | |
ggggggggggggggggggggggggggggggg||'dq$keek$qdd'||gggggggggggggggggggg|| | |
gggggggggggggggggggg||'d$$ggggd$eyfstzzzzztujykd'||ggggggggggggggggg|| | |
ggggggggggggggggggg||'hr_rugdhftzzzzzzzzzzzzzztfh'||gggggggggggggggg|| |
This file contains hidden or 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
" vim-bootstrap b0a75e4 | |
"***************************************************************************** | |
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif | |
let vimplug_exists=expand('~/.vim/autoload/plug.vim') |
This file contains hidden or 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
const R = require('ramda'); | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); | |
let lines = []; | |
let reader = require('readline').createInterface({ | |
input: process.stdin, | |
output: process.stdout |
This file contains hidden or 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
const R = require('ramda'); | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); | |
let lines = []; | |
let reader = require('readline').createInterface({ | |
input: process.stdin, | |
output: process.stdout |
This file contains hidden or 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
const | |
$_='+' | |
const | |
_ =' ' | |
let $= | |
[...Array | |
(15)].map(()=>[... | |
Array(15).fill(' ')]);$[0][7]= | |
$[1][6]=$[1][7]=$[1][8]=$_;$[2][6] = | |
$[2][7]=$[2][8]=$_;$[3][6]=$[3][7]=$[3] |
This file contains hidden or 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
for (let i :number = 0;i<31;i++){ | |
if (i % 15 == 0) { | |
console.log("fizz buzz") | |
} else if (i % 5 == 0) { | |
console.log("buzz") | |
} else if (i % 3 == 0) { | |
console.log("fizz") | |
} else { | |
console.log(i) | |
} |
This file contains hidden or 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
const | |
exec =require( | |
'chil' +'d_process') | |
["exec"]; exec( | |
'asciify'+ ' “JavaScript”'+ | |
' -f univers', (err, stdout, stderr)=>{ | |
console ["log"] | |
(stdout); }); |