Skip to content

Instantly share code, notes, and snippets.

View onokatio's full-sized avatar
🏠
Working from home

onokatio onokatio

🏠
Working from home
View GitHub Profile
var problems_list;
fetch("https://scoreserver.ictsc.net/api/problems")
.then( problem_json => { return problem_json.json() } )
.then( problems => {
problems_list = problems.data.problems;
return problems_list.map( problem => {
return "https://scoreserver.ictsc.net/api/problems/" + problem.id + "/answers"
})
.map( url => {
return fetch(url)
// ==UserScript==
// @name manaba report type
// @namespace Violentmonkey Scripts
// @match https://manaba.tsukuba.ac.jp/ct/home_library_query
// @grant none
// @version 1.0
// @author -
// @description 2023/10/15 21:21:34
// ==/UserScript==
@onokatio
onokatio / unk.txt
Last active April 14, 2022 15:18 — forked from znppunfuv/unk.txt
unk.txt
*://*.366service.com/*
*://*.alwaysemmyhope.com/*
*://*.answer-id.com/*
*://*.askdev.info/*
*://*.base64.work/*
*://*.code-examples.net/*
*://*.coder.work/*
*://*.fixes.pub/*
*://*.gitmemory.com/*
*://*.i-harness.com/*
@onokatio
onokatio / otoku1
Last active January 9, 2022 06:14
digraph main{
graph [
rankdir = LR, size = "30"
layout = dot;
compound = true;
];
node [
shape = record;
style = filled;
color = "#ffffff";
setInterval(() => {
for (const d of document.querySelectorAll('div[aria-label$="さんのミュートを解除"]')) {
d.click()
}
window.scrollTo(0, document.body.scrollHeight)
}, 1000)
{
"keywords": [
{
"scope": 1610612481,
"source": -1,
"user_key": null,
"value": "#ニコニコ動画"
},
{
"scope": 1610612481,
38.27.106.27 wasabisys.com
76.191.80.18 s3.us-west-1.wasabisys.com
18.212.96.210 console.wasabisys.com
18.212.96.210 iam.wasabisys.com
38.27.106.27 s3.wasabisys.com
18.212.96.210 billing-service.wasabisys.com
@onokatio
onokatio / gist:c1648769454f8370fb2fd749acd21386
Created October 30, 2020 01:04
/usr/share/dict/american-english
This file has been truncated, but you can view the full file.
A
a
AA
AAA
Aachen
Aachen's
aah
Aaliyah
Aaliyah's
#include <stdio.h>
#include <math.h>
int calc(int i,int j,int k){
return pow(2,i) * pow(3,j) * pow(5,k);
}
int main(void){
int count = 0;
int amari;
#!/bin/bash
function command_1(){
echo "Starting thread 1..."
sleep 5
echo "thread 1 finished."
return 0
}
function command_2(){