This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import asyncio | |
import io | |
import json | |
import os | |
from pathlib import Path | |
from typing import Optional | |
import aiohttp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
class Article { | |
readonly dom: HTMLElement; | |
readonly userId: string = ""; | |
readonly userName: string = ""; | |
readonly screenName: string = ""; | |
readonly tweetId?: string; | |
readonly tweetUrl?: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"body": { | |
"group": "天体を選んでください", | |
"type": "options", | |
"options": { | |
"0": "太陽", | |
"10": "月", | |
"1": "水星", | |
"2": "金星", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import datetime as dt | |
import json | |
from os.path import exists, join | |
import sys | |
from typing import Any, Dict, List, Optional, Tuple, Union | |
from urllib.parse import urlunsplit | |
from dateutil import tz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"S1S2:Mon:AM": [ | |
"4/5", | |
"4/19", | |
"4/26", | |
"5/10", | |
"5/17", | |
"5/24", | |
"5/31", | |
"6/7", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"semester/term": "S1S2", | |
"day": "Mon", | |
"AM/PM": "AM/PM", | |
"dates": [ | |
"4/5", | |
"4/19", | |
"4/26", | |
"5/10", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
from os.path import exists | |
import pickle | |
from scipy.io.wavfile import read as read_wave | |
import numpy as np | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import IndexLocator, FuncFormatter | |
mpl.rcParams["agg.path.chunksize"] = 100_000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"type": "A", | |
"day": "Mon", | |
"ampm": "AM", | |
"date": [ | |
"9/28", | |
"10/5", | |
"10/12", | |
"10/19", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
学部 | 学科等 | 進学単位 | 段階 | 科類 | 定数 | |
---|---|---|---|---|---|---|
法学部 | 法学部 | 法学部 | 第一段階 | 文科一類 | 267 | |
法学部 | 法学部 | 法学部 | 第一段階 | 理科 | 4 | |
法学部 | 法学部 | 法学部 | 第一段階 | 全科類 | 12 | |
経済学部 | 経済学部 | 経済学部 | 第一段階 | 文科二類 | 200 | |
経済学部 | 経済学部 | 経済学部 | 第一段階 | 理科 | 7 | |
経済学部 | 経済学部 | 経済学部 | 第一段階 | 全科類 | 42 | |
文学部 | 人文学科(思想文化) | A群 | 第一段階 | 文科三類 | 39 | |
文学部 | 人文学科(思想文化) | A群 | 第一段階 | 全科類 | 9 | |
文学部 | 人文学科(歴史文化) | B群 | 第一段階 | 文科三類 | 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate num_bigint; | |
pub struct Combination { | |
pascal: Vec<Vec<num_bigint::BigUint>>, | |
} | |
impl Combination { | |
pub fn init() -> Combination { | |
use num_bigint::ToBigUint; |
NewerOlder