Skip to content

Instantly share code, notes, and snippets.

View kissge's full-sized avatar
😮‍💨
優秀エンジニア手伝ってくれたのむ

Yusuke Kido kissge

😮‍💨
優秀エンジニア手伝ってくれたのむ
View GitHub Profile
@kissge
kissge / H4sI.html
Last active January 24, 2025 11:16
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>H4sI</title>
</head>
<body>
<textarea id="raw" autofocus placeholder="ここに平文を入力"></textarea>
<div id="bottom">
@kissge
kissge / quine.js
Last active October 7, 2024 04:44
Legalscape logo Quine
(W= ()=>(E='! !!!!!O5', m='f NZ3 ~Wff',p=' Pxr@&PB, ',R= 'replace' ,e=`PlPqU
#1e `,V=(cc)=> '!'.repeat (cc*8) ,r= '/d{z@U}8' ,t=s=>(s[ ((R))] (/\s/gs,'' )),l=`0R@_
Ji{ @`, o= '* )r M>9 \\ #' ,L =` %Sn _PW
R+` ,i= '8K u1 99X "', g= "7I \\? 'V @0" ,n=
'9p #b_ <7 s', P= 'V8 S;{ @B x' ,f= `2J ahw
i@[ `,a='HUHe. 6~ V',w=' +n \\ 5e~ LE',s='CI Av oB I$ ',M={264: 135,259:24
,32 :13,18:13, 8: 13, 134 :16 ,56 :13,256: 23 ,3: 13, 123:13,66 :13,257:87
,99 :13 ,[ 92 ]:13,248:+ 109 ,[4 *7 *9 ]: 109 ,[9
*17 +5]
@kissge
kissge / README.md
Last active August 29, 2024 07:31
:warn: の作り方

warning.png:

warning


warning-roll.gif:

warning-roll

// "事件番号", "事件名", "裁判年月日", "法廷名", "裁判種別", "結果", "原審裁判所名"
const results = [
["令和6(す)739", "保釈保証金没取請求事件", "令和6年11月19日", "最高裁判所第一小法廷", "決定", "その他"],
["令和6(し)761", "証拠開示に関する裁定請求棄却決定に対する即時抗告棄却決定に対する特別抗告事件", "令和6年11月15日", "最高裁判所第三小法廷", "決定", "その他", "福岡高等裁判所宮崎支部"],
["令和5(行ヒ)165", "不動産登記申請却下処分取消請求事件", "令和6年11月12日", "最高裁判所第三小法廷", "判決", "破棄自判", "東京高等裁判所"],
["令和5(受)906", "地位確認等請求事件", "令和6年10月31日", "最高裁判所第一小法廷", "判決", "破棄差戻", "大阪高等裁判所"],
["令和6(許)1", "仮差押命令認可決定に対する保全抗告審の取消決定に対する許可抗告事件", "令和6年10月23日", "最高裁判所第三小法廷", "決定", "破棄差戻", "大阪高等裁判所"],
["令和6(許)5", "文書提出命令に対する抗告審の変更決定に対する許可抗告事件", "令和6年10月16日", "最高裁判所第二小法廷", "決定", "破棄自判", "大阪高等裁判所"],
["令和4(あ)1059", "各組織的な犯罪の処罰及び犯罪収益の規制等に関する法律違反被告事件", "令和6年10月7日", "最高裁判所第三小法廷", "決定", "棄却", "東京高等裁判所"],
["令和4(行ヒ)352", "退職共済年金及び老齢厚生年金減額処分無効確認乃至取り消し等請求事件", "令和6年9月13日", "最高裁判所第二小法廷", "判決", "破棄自判", "東京高等裁判所"],
@kissge
kissge / birthday_paradox.py
Created August 12, 2023 22:00
誕生日のパラドックス
def birthday(days: int, people: int):
all_different = 1
for i in range(1, people):
all_different *= days - i
return 1 - all_different / (days ** (people - 1))
birthday(365, 23)
# => 0.5072972343239854
import re
from dataclasses import dataclass
# Usage:
# dbxcli ls -lR > dropbox.txt
# python3 dropbox-large-files.py
with open('dropbox.txt') as fp:
lines = fp.readlines()
sudo apt install -y git zsh tmux locales pkg-config cmake g++ && sudo dpkg-reconfigure locales
bash -c "$(curl -fsSL https://raw.githubusercontent.com/kissge/dotfiles/master/setup.sh)"
curl https://pyenv.run | bash
gsutil cp gs://loyalmate/pyenv.tar.gz /tmp/ && tar zxvf /tmp/pyenv.tar.gz
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
@kissge
kissge / unixbench.md
Last active September 10, 2022 07:25
@kissge
kissge / loop.html
Last active September 20, 2022 07:52
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Loop Background with BGM</title>
<style>
html,
body {
margin: 0;
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>開設する</title>
<style>
body {
font-family: monospace;
font-size: 10pt;