Skip to content

Instantly share code, notes, and snippets.

View ryu1-1uyr's full-sized avatar
🐉
ryu

Ryu ryu1-1uyr

🐉
ryu
View GitHub Profile
@ryu1-1uyr
ryu1-1uyr / AA.js
Created May 6, 2020 02:14
jikosyoukai
// let ryu = `
// ⬛⬜⬛⬛⬛⬜⬛⬜⬜⬜⬜⬛⬜⬜⬛⬜⬜⬜⬛⬛ [0] / [0,2,3,4,6,11,14,18,19]
// ⬛⬛⬛⬜⬜⬜⬛⬛⬜⬜⬛⬛⬜⬜⬛⬜⬜⬜⬛⬛ [1] / [0,1,2,6,7,10,11,14,18,19]
// ⬛⬛⬜⬜⬜⬜⬛⬛⬜⬜⬛⬜⬜⬜⬛⬜⬜⬜⬛⬛ [2] / [0,1,6,7,10,14,18,19]
// ⬛⬛⬜⬜⬜⬜⬜⬛⬜⬜⬛⬜⬜⬜⬛⬜⬜⬜⬛⬛ [3] / [0,1,7,10,14,18,19]
// ⬛⬜⬜⬜⬜⬜⬜⬛⬛⬛⬛⬜⬜⬜⬛⬜⬜⬜⬛⬛ [4] / [0,7,8,9,10,14,18,19]
// ⬛⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬛⬛⬜⬜⬛⬛ [5] / [0,8,9,14,15,18,19]
// ⬛⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬛⬛⬛⬛⬛ [6] / [0,8,9,15,16,17,18,19]
// ⬜⬜⬜⬜⬜⬜⬜⬜⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ [7] / [8]
// ⬜⬜⬜⬜⬜⬜⬜⬛⬛⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ [8] / [7,8]
@ryu1-1uyr
ryu1-1uyr / goscraping.md
Created December 19, 2019 12:48
平和利用

Goでえいやっとscrapingをする

注意 すくれいぴんぐがダメなサイトもあります。真似しておれのせいにしないでね!!

あなたは、ついっったーでふぉろいーの誕生日を抜きたいとしましょう

というわけでそういうコードを書いていきます

goqueryを使います

@ryu1-1uyr
ryu1-1uyr / hanakin.js
Created October 25, 2019 08:40
ついーとでっく開いてコンソールで実行すると華金仕様になる
d=document;[a,g,_,t,r,c,b,a.style,a.innerText]=[d.createElement('h1'),'background','center','transform','rotateX',d.createElement('style'),d.body,'animation:q 5s infinite;z-index:1000','🍺🍺🍺🍻🍻🍻🍺🍺🍺\n🍻🍻🍻花金だ🍻🍻🍻\n🍺🍺🍺🍻🍻🍻🍺🍺🍺'];x=`@keyframes q{from{${g}:red;${t}:${r}(180deg)}to{${g}:yellow;${t}:${r}(0deg)scale(14)}}`;b.style=`display:flex;justify-content:${_};align-items:${_}`;f=(x,y)=>x.append(y);f(c,x);f(b,c);f(b,a);
@ryu1-1uyr
ryu1-1uyr / nemui.js
Last active October 25, 2019 08:09
みやすいように改行しています。
d=document;
[a,g,_,t,r,c,b,a.style,a.innerText]=[d.createElement('h1'),'background','center','transform','rotateX',d.createElement('style'),d.body,'animation:q 2s infinite','ねむい'];
x=`@keyframes q{from{${g}:red;${t}:${r}(0deg)}to{${g}:blue;${t}:${r}(90deg)scale(8)}}`;
b.style=`display:flex;justify-content:${_};align-items:${_}`;
f=(x,y)=>x.append(y);f(c,x);f(b,c);f(b,a);
[][([...{}+{}])[(-~[]+[]+-~[]>>-~[])]+([...{}+{}])[-~[]]+([]['']+[])[-~[]]+(![]+[])[-~[-~[-~[]]]]+(!![]+[])[-[]]+(!![]+[])[-~[]]+([]['']+[])[-[]]+([...{}+{}])[(-~[]+[]+-~[]>>-~[])]+(!![]+[])[-[]]+([...{}+{}])[-~[]]+(!![]+[])[-~[]]][([...{}+{}])[(-~[]+[]+-~[]>>-~[])]+([...{}+{}])[-~[]]+([]['']+[])[-~[]]+(![]+[])[-~[-~[-~[]]]]+(!![]+[])[-[]]+(!![]+[])[-~[]]+([]['']+[])[-[]]+([...{}+{}])[(-~[]+[]+-~[]>>-~[])]+(!![]+[])[-[]]+([...{}+{}])[-~[]]+(!![]+[])[-~[]]]((!![]+[])[-~[]]+(!![]+[])[-~-~[-~[]]]+(!![]+[])[-[]]+([]['']+[])[-[]]+(!![]+[])[-~[]]+([]['']+[])[-~[]]+' '+[][[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+[...{}+[]][-~[]]+([]['']+[])[-~[]]+(([]==[])+[])[(-~-~[-~[]])]+(-~[]/[]+[])[(-~-~[-~[]]+-~-~[-~[]])]+(!![]+[])[-~[]]+([]['']+[])[+[]]+[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+(!![]+[])[+[]]+[...{}+[]][-~[]]+(!![]+[])[-~[]]][[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+[...{}+[]][-~[]]+([]['']+[])[-~[]]+(([]==[])+[])[(-~-~[-~[]])]+(-~[]/[]+[])[(-~-~[-~[]]+-~-~[-~[]])]+(!![]+[])[-~[]]+([]['']+[])[+[]]+[...{}+[]
@ryu1-1uyr
ryu1-1uyr / ryu.js
Created October 23, 2019 10:35
自己紹介っぽいページにしちゃうやつ
document.body.innerHTML='';let css, rules, fadein
css = document.createElement('style')
css.media = 'screen'
// フェードイン
fadein = '@keyframes fade-in{' + [
'0% {opacity: 0}',
'100% {opacity: 1.0}'
].join(' ') + '}'
rules = document.createTextNode([fadein].join('\n'))
css.appendChild(rules)
@ryu1-1uyr
ryu1-1uyr / kigou.php
Last active September 13, 2019 20:47
tano_c
<?php
$__=$_[].=$_; // Array
//$__[0] => A
//$__[1] => r
//$__[3] => a
//$__[4] => y
// 0 !_ ""not string => false => [ false ] => (int) 0
@ryu1-1uyr
ryu1-1uyr / kigouOneLiner.js
Created August 24, 2019 09:52
JavaScriptのこーどです
console.log(
[][[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+[...{}+[]][-~[]]+([]['']+[])[-~[]]+(([]==[])+[])[(-~-~[-~[]])]+(-~[]/[]+[])[(-~-~[-~[]]+-~-~[-~[]])]+(!![]+[])[-~[]]+([]['']+[])[+[]]+[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+(!![]+[])[+[]]+[...{}+[]][-~[]]+(!![]+[])[-~[]]][[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+[...{}+[]][-~[]]+([]['']+[])[-~[]]+(([]==[])+[])[(-~-~[-~[]])]+(-~[]/[]+[])[(-~-~[-~[]]+-~-~[-~[]])]+(!![]+[])[-~[]]+([]['']+[])[+[]]+[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+(!![]+[])[+[]]+[...{}+[]][-~[]]+(!![]+[])[-~[]]]((!![]+[])[-~[]]+(!![]+[])[-~-~-~[]]+(!![]+[])[+[]]+(!![]+[])[-~[-~[]]]+(!![]+[])[-~[]]+([]['']+[])[-~[]]+' "'+'\\' +([]['']+[])[[]-[]] +'{' +(-~[-~[]])+([...{}+{}])[-~[]<<-~[]]+ '}'+'"')()+[][[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+[...{}+[]][-~[]]+([]['']+[])[-~[]]+(([]==[])+[])[(-~-~[-~[]])]+(-~[]/[]+[])[(-~-~[-~[]]+-~-~[-~[]])]+(!![]+[])[-~[]]+([]['']+[])[+[]]+[...{}+[]][(-~-~[-~[]]+-~-~[-~[]])- -~[]]+(!![]+[])[+[]]+[...{}+[]][-~[]]+(!![]+[])[-~[]]][[...{}+[]][(-~-
@ryu1-1uyr
ryu1-1uyr / Y_fibonacci.js
Created April 3, 2019 07:52
ドヤ顔,10じゃなくてもいける
(f => (g => m => (f(g(g))(m)))
(g => m => (f(g(g))(m))))
(f => (n => ((n <= 2) ? 1 : (f(n-1) + f(n-2)) ) ))(10)
@ryu1-1uyr
ryu1-1uyr / YCombinator.js
Created April 3, 2019 07:40
nanikasitai
const fib = (n) => {
return (n <= 2) ? 1 : (fib(n-1) + fib(n-2));
};
console.log(fib(10))
// (f => (n =>((n <= 2) ? 1 : (fib(n-1) + fib(n-2))) ))(10)
console.log(
(n => (n <= 2) ? 1 : (fib(n-1) + fib(n-2)) )(10)
);