Skip to content

Instantly share code, notes, and snippets.

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

kissge

😮‍💨
優秀エンジニア手伝ってくれたのむ
View GitHub Profile
事件番号 事件名 裁判年月日 法廷名 裁判種別 結果 原審裁判所名
令和5(受)604 損害賠償等請求事件 令和6年4月26日 最高裁判所第二小法廷 判決 破棄差戻 大阪高等裁判所
令和6(し)262 勾留の裁判に対する準抗告棄却決定に対する特別抗告事件 令和6年4月24日 最高裁判所第三小法廷 決定 棄却 神戸地方裁判所
令和4(受)1266 各株券引渡請求及び独立当事者参加事件 令和6年4月19日 最高裁判所第二小法廷 判決 破棄差戻 東京高等裁判所
令和5(受)365 損害賠償等請求本訴、損害賠償請求反訴事件 令和6年4月16日 最高裁判所第三小法廷 判決 その他 福岡高等裁判所
令和4(許)18 臨時社員総会招集許可申立て却下決定に対する抗告棄却決定に対する許可抗告事件 令和6年3月27日 最高裁判所第三小法廷 決定 棄却 東京高等裁判所
令和4(行ツ)318 犯罪被害者給付金不支給裁定取消請求事件 令和6年3月26日 最高裁判所第三小法廷 判決 破棄差戻 名古屋高等裁判所
令和4(受)2332 遺言無効確認等請求事件 令和6年3月19日 最高裁判所第三小法廷 判決 棄却 東京高等裁判所
令和4(受)1041 共通義務確認請求事件 令和6年3月12日 最高裁判所第三小法廷 判決 破棄自判 東京高等裁判所
令和5(あ)1305 公職選挙法違反被告事件 令和6年3月8日 最高裁判所第二小法廷 判決 棄却 広島高等裁判所松江支部
@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;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Emoji check</title>
<style>
/** Color Emoji hack: originally from https://necomesi.jp/blog/tsmd/posts/154 */

Note aaa

bbb

@kissge
kissge / debug-print.js
Last active April 17, 2022 07:31
2022-04-17 JSでいい感じのデバッグ出力をする
// @ts-check
/**
* @type {JSON['stringify']}
* @param {any} value
*/
const debugPrint = (value, replacer = null, space = null) => {
const n = JSON.stringify(value)?.length || String(value).length;
return postprocess(JSON.stringify(preprocess(value, n), replacer, space), n);