Skip to content

Instantly share code, notes, and snippets.

View noaione's full-sized avatar
🥐
ゆび!ゆび!

noaione

🥐
ゆび!ゆび!
View GitHub Profile
@noaione
noaione / discordpy_AnilistPagination.py
Last active December 24, 2019 00:17
Discord.py Pagination example for anyone to use. I'm using it for Anime/MangaSynopsys list API from Anilist.co that have multiple list of data (json format)
import asyncio
import time
from datetime import datetime, timedelta
import aiohttp
import discord
import discord.ext.commands as commands
"""
Note: I'm using Discord.py version 1.2.5 (Not async version)
@noaione
noaione / Nyaa v2 All category as number.md
Last active August 6, 2018 10:29
pyNyaav2 - Category Listing

Nyaa.si

All Categories*: 0_0 or type: all

Anime: 1_0 or anime

  • Anime Music Video (AMV): 1_1 or type: amv
  • Anime English-translated: 1_2 or type: anime_eng
  • Anime Non-English-translated: 1_3 or type: anime_non-eng
  • Anime Raw: 1_4 or type: anime_raw

Audio: 2_0 or audio

@noaione
noaione / u2_bot_rss_updater_feed
Last active January 14, 2020 08:22
U2 title checking for discord bot update/announcer
[BDMV][B: 彼之初][B: The Beginning][BDMV][1080p][Vol.1][GER][31.860 GiB][zanros]
@noaione
noaione / u2discord_sentry.py
Last active August 8, 2021 13:02
U2 + SkyeySnow Discord Bot Announcer
import asyncio
import difflib
from datetime import datetime, timedelta
import aiohttp
import discord
import feedparser
client = discord.Client()
@noaione
noaione / convert_curr.py
Created November 5, 2018 07:46
Convert Currency using free.currencyconvertapi.com JSON API
import json
import requests
mainurl = "https://free.currencyconverterapi.com/api/v6/convert?q={}&compact=ultra"
symbolurl = "https://free.currencyconverterapi.com/api/v6/currencies"
askf = input("Source > ")
askt = input("To > ")
amount = input("Amount > ")
if amount == "":
amount = 1
@noaione
noaione / perpusindo_darkmode.css
Last active November 16, 2018 01:15
PerpusIndo Darkmode Custom CSS
/* Sidebar */
.sidebar {
background: #2b2b2b !important;
color: #b3b3b3 !important;
}
.sidebar>.nav>li>.nav-item,
.sidebar>.nav>li>a {
color: #b3b3b3 !important;
@noaione
noaione / N4O Project.md
Last active April 2, 2019 02:40
N4O Fansub/Encode Project list that i do from the start until now

Planned

  • Zoku Owarimonogatari (TS, Encode) [Fansub: USFK-Imaji-Delsubs-Aisesubs]
  • FLCL Progressive + Alternative (TS?, Edit, Encode) [Fansub: N4O]
  • TBA 1

Spring 2019

  • Sewayaki Kitsune no Senko-san (TS, Encode) [Fansub: Anti-Delay]

Winter 2018/2019

@noaione
noaione / PNG2SUB.py
Created December 5, 2018 10:37
PNG2SUB, OCR PNG + XML File to Subtitle File (.ass or .srt)
import pytesseract
import numpy as np
from PIL import Image, ImageOps
import xml.etree.ElementTree as ET
import os, sys
import argparse
ASS_HEADERS = """[Script Info]
; File generated by N4O PNG2SUB
Title: PNG2SUB
@noaione
noaione / skyey_updater_feed
Last active December 12, 2019 11:12
SkyeySnow title checking for discord bot update/announcer
[Movie] Code Geass 复活的鲁路修 / Code Geass: Fukkatsu no Lelouch / コードギアス 復活のルルーシュ
@noaione
noaione / TUTORIAL-IDN.md
Created January 23, 2019 07:41
Cara Install Vapoursynth yang baik dan benar