Skip to content

Instantly share code, notes, and snippets.

@nocuwu
nocuwu / discord_BOT.py
Created December 18, 2019 07:10
discord_BOT.py
import discord
import getTimeByMessageId
TOKEN = ''
# 接続に必要なオブジェクトを生成
client = discord.Client()
# 起動時に動作する処理
@client.event
@nocuwu
nocuwu / getTimeByMessageID.cpp
Created December 18, 2019 06:09
getTimeByMessageID.cpp
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <cmath>
#include <iomanip> //fixed << setprecision(10)
#include <sstream> // std::stringstream
#include <bitset> // std::bitset<N>
#include <stdlib.h>
@nocuwu
nocuwu / index.html
Created January 6, 2019 16:57
index.html
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-1.4.2.min.js"></script>
<script src="jquery.csvToTable.js"></script>
</head>
<body>
<h1>
Here is osu! Golobal Ranking Transition.
</h1>
@nocuwu
nocuwu / getRank_PD.py
Last active January 6, 2019 16:08
getRank_PD.py
# coding: UTF-8
from requests_html import HTMLSession
from datetime import datetime
import csv, time
import subprocess
# diffとるためのやつ
ranking_old = 75514
time_flag = True