Skip to content

Instantly share code, notes, and snippets.

@taizan-hokuto
taizan-hokuto / mat9_2.py
Last active July 4, 2020 10:34
teratail 274328質問への回答 (2)
import matplotlib.pyplot as plt
import math
import numpy as np
from scipy import interpolate
def main():
fig = plt.figure(figsize=(11.0, 5.0))
ClickAddPoints(fig)
@taizan-hokuto
taizan-hokuto / mat9.py
Created July 3, 2020 17:21
teratail 274328への回答
import matplotlib.pyplot as plt
import math
import numpy as np
from scipy import interpolate
from matplotlib.widgets import Slider
def main():
fig = plt.figure(figsize=(11.0, 5.0))
ClickAddPoints(fig)
#environment : python3
#before use this script, install pytchat:
#pip install pytchat
from pytchat import LiveChatAsync,JsonfileArchiver,Extractor,VideoInfo
import asyncio
from concurrent.futures import CancelledError
class ProcessorA:
def __init__(self,data):
self.data = data
def process(self):
print(self.data)
class ProcessorB:
def __init__(self,data):
self.data = data
@taizan-hokuto
taizan-hokuto / YtlClient.cs
Created November 15, 2019 15:33 — forked from n0mimono/YtlClient.cs
Unity script example for YouTube Live Streaming
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEngine.Networking;
using SimpleJSON;
namespace YouTubeLive {
public class Chat {
public class Msg {