Skip to content

Instantly share code, notes, and snippets.

@psyaro
psyaro / 1.csv
Created June 30, 2022 11:34
駅人口面積按分500m
N02_003 N02_004 N02_005 ekicode p
6号線三田線 東京都 西台 6321 3303
4号線丸ノ内線 東京地下鉄 新中野 6166 2943
4号線丸ノ内線 東京地下鉄 新大塚 6169 2905
13号線副都心線 東京地下鉄 東新宿 10075 2795
5号線東西線 東京地下鉄 西葛西 6207 2728
6号線三田線 東京都 蓮根 6322 2683
総武線 東日本旅客鉄道 亀戸 7456 2666
常磐線 東日本旅客鉄道 三河島 7138 2637
8号線有楽町線 東京地下鉄 地下鉄成増 6231 2577
@psyaro
psyaro / gomi.css
Created April 25, 2021 02:33
Twitterのゴミ掃除(StylishというChromeの拡張機能に使う)
div[data-testid="sidebarColumn"] {display: none!important;}
a[data-testid="AppTabBar_Explore_Link"] {display: none!important;}
@psyaro
psyaro / jiu.tsv
Created February 22, 2021 08:51
jiu
らぶ ℒℴνℯ 名詞
えへへ (´>∀<`)ゝ))エヘヘ 名詞
うぅ (ノω・、)うぅ… 名詞
ぎゅっ (っ´>ω<))ω<`)ギュッ♡ 名詞
あやしい (¬、¬) アヤシイ 名詞
えへへ (´>∀<`)ゝ))エヘヘ 名詞
かわいすぎる (((*♥д♥*)))カッカワイスギルッ💕 名詞
でれでれ ♡(///>_<///)デレデレ♡ 名詞
やだやだ c(`Д´と⌒c)つ彡 ヤダヤダ 名詞
じうちゃん ٩(*´ ꒳ `*)۶ 名詞
@psyaro
psyaro / test.ipynb
Created April 18, 2020 12:53
aaaaaa
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psyaro
psyaro / ncvideo.py
Created December 10, 2019 08:09
ncdl
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import sys, time
import requests
from os.path import expanduser
from traceback import print_exc
from bs4 import BeautifulSoup
from uuid import uuid4
def main():
@psyaro
psyaro / main.py
Created November 28, 2019 21:32
picture2pdf
import img2pdf
from pathlib import Path
import ffmpy
from glob import glob
import os
def main():
names = []
for x in glob('*.jpg') + glob('*.png'):
x = os.path.splitext(x)
@psyaro
psyaro / main.py
Created November 26, 2019 09:00
youtube_subtitles_collecter
import time
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from bs4 import BeautifulSoup
from datetime import timedelta
import pandas as pd
def get():
options = Options()
options.add_argument('--headless')
@psyaro
psyaro / typhoon19root.py
Created October 16, 2019 23:20
typhoon19root
import matplotlib.pyplot as plt
import tilemapbase
import pandas as pd
def main():
tilemapbase.start_logging()
tilemapbase.init(create=True)
t = tilemapbase.tiles.Tiles("http://mt0.google.com/vt/lyrs=m&x={x}&y={y}&z={zoom}", 'google_m')
extent = tilemapbase.Extent.from_lonlat(120, 170, 10, 50)
extent = extent.to_aspect(1.0)