Skip to content

Instantly share code, notes, and snippets.

View sizumita's full-sized avatar
💜
Natori Sana!!!

sizumita sizumita

💜
Natori Sana!!!
View GitHub Profile

必要な機能

  • 自分のdotfilesと組み合わせて使える
  • dotfilesでzshとかの初期化をした後にsetupできる
    • ZDOTDIRとか設定したやつちゃんと読み込んでくれる
  • configファイルを編集した後にsyncコマンドとかでうまくバージョンアップとかしてくれる
  • .zshrcとかでenvコマンドみたいなの使ったらconfigに書いたaliasとpathを通してくれる
  • nとかpyenvとかで対応しているサービスの環境を切り替えたらsyncコマンドしたら自動的に同期してくれる

対応したいサービス

Keybase proof

I hereby claim:

  • I am sizumita on github.
  • I am sizumita (https://keybase.io/sizumita) on keybase.
  • I have a public key ASBAVTd2TuTEDRJ-acnktekZUcgojOuIXQtiYd_uDu5_nwo

To claim this, I am signing this object:

import os
import discord
from discord.ext.ui import ViewTracker, MessageProvider
from view import LookThatWayView
client = discord.Client(intents=discord.Intents.all())
id unit name hold created_at max_amount member_count distribution
756134813521412096 ng NG 440 2020-09-20 06:22:05.138944 4380000 17 t
749249384780267531 a annko 59210 2020-09-20 06:22:05.138944 4380000 71 t
636118869622128640 p ペリカ 1250060 2020-09-20 06:22:05.138944 438000000 1048 t
794813440224526365 mc mc-coin 0 2020-09-20 06:22:05.138944 4380000 11 t
763766295010869258 pk ポケコード祭金券 60 2020-09-20 06:22:05.138944 4380000 4 t
773536227487907881 sq square 76240 2020-09-20 06:22:05.138944 43800000 109 t
778242349054033980 pien velmoney 6333 2020-09-20 06:22:05.138944 4380000 7 t
749528414288871465 ss ss 10815 2020-09-20 06:22:05.138944 4380000 40 t
691422537682386974 _t Test🪙 3930 2020-09-20 06:22:05.138944 4380000 13 t
id guild_id amount
684173723632140291 749528414288871465 434
557603709496983562 773536227487907881 50
558223732473200641 773536227487907881 450
714099723354767381 749528414288871465 50
615382528349437954 754191887203696731 51
663602681046237215 749528414288871465 430
570243143958528010 754191887203696731 12
484201298997149716 754191887203696731 10
340857858889613313 749528414288871465 0
import matplotlib.pyplot as plt
import random
import numpy as np
import itertools
from matplotlib.patches import RegularPolygon, Circle
CITY_COUNT = 10
width = 16
height = 16
.cache/p10k-dump-sizumita.zsh:typeset -g __p9k_cached_param_sig=$'v99\C-A5.8\C-Azsh-5.8-0-g77d203f\C-A264\C-Asizumita%\C-A\C-A\C-A\C-A\C-A\C-A\C-A1\C-A0\C-A0\C-A\C-A%B%S%#%s%b\C-A/usr/bin/locale\C-AUTF-8\C-A\C-AApple_Terminal\C-A\C-A0\C-A/usr/bin/uname\C-A/Users/sizumita/.zprezto/modules/prompt/external/powerlevel10k\C-A\C-A\C-A1${${${${CONDA_PROMPT_MODIFIER#\\(}% }%\\)}:-${CONDA_PREFIX:t}}\C-A7\C-A5\C-A0\C-A5\C-A0\C-A1\C-A0\C-A4\C-A0\C-A0\C-A4\C-A0\C-A3\C-A0\C-A7\C-A1\C-A2\C-A0\C-A4\C-A0\C-A2\C-A0\C-A4\C-A0\C-A5\C-A0\C-A6\C-A0\C-Afalse\C-A4\C-A0\C-A1\C-A0\C-A208\C-A0\C-A\C-Atrue\C-Ashell\C-Blocal\C-Bglobal\C-A*\C-BDEFAULT\C-Aaws|awless|terraform|pulumi\C-Aaz|terraform|pulumi\C-Afalse\C-A2\C-A2\C-A3\C-A1\C-A20\C-A\\uf58d\\uf579\\uf57a\\uf57b\\uf57c\\uf57d\\uf57e\\uf57f\\uf580\\uf581\\uf578\C-Afalse\C-A3\C-A0\C-Ad h m s\C-A0\C-Atook \C-A3\C-A/Users/sizumita/.p10k.zsh\C-A0\C-A\C-A\C-A3\C-Awith \C-A0\C-A3\C-A0\C-A3\C-A%n@%m\C-A%n@%m\C-A0\C-A1\C-A%n@%m\C-A\C-A\C-A%n@%m\C-Atrue\C-A255\C-A4\C-A254\C-Afalse\C-A80\C-
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
XHC1: flags=0<> mtu 0
XHC0: flags=0<> mtu 0
let n = read_int ()
let n2 = n / 2
(* 文字列をcharのlistにする *)
let explode s = List.init (String.length s) (String.get s)
let is_even = (if n mod 2 = 1 then true else false)
let a = Array.init n @@ fun _ -> read_line () |> explode
let rec main_loop i result =
if i >= n2 then result else
let rec loop lst =
match lst with
let n,m,q = Scanf.sscanf (read_line()) "%d %d %d" (fun n m q -> n, m, q)
let tree_dp = Array.init n @@ fun _ -> []
let rec loop i =
if i >= m then () else (
let u,v = Scanf.sscanf (read_line()) "%d %d" (fun u v -> (u-1),(v-1)) in
tree_dp.(u) <- v :: tree_dp.(u); tree_dp.(v) <- u :: tree_dp.(v); loop(i+1)
)
let _ = loop 0
let color_dp = read_line () |> String.split_on_char ' ' |> List.map int_of_string |> Array.of_list
let print_color i = Printf.printf "%d\n" color_dp.(i)