Skip to content

Instantly share code, notes, and snippets.

@neko-neko-nyan
neko-neko-nyan / anime_franchises.py
Created June 12, 2019 13:35
Скрипт поиска не просмотренных аниме в просмотренных франшизах
import json
import os
from time import sleep
import pyshiki
from pprint import pprint
api = pyshiki.Api("<Логин>", "<Пароль>")
@neko-neko-nyan
neko-neko-nyan / find_dups.py
Created June 12, 2019 13:30
Скрипт поиска одинаковых файлов (по sha256)
#!/usr/bin/env python3
import sys
import os
import stat
import hashlib
def index_dir(d):
s = os.stat(d)
// ==UserScript==
// @name WatchAnything
// @namespace https://vk.com/pasha__kun
// @version 1.0.0
// @description [shikimori.org] Кнопка открытия случайного аниме из запланированного
// @author Pasha__kun
// @match https://shikimori.org/*
// @match http://shikimori.org/*
// @require https://code.jquery.com/jquery-3.3.1.min.js
// @grant none
// ==UserScript==
// @name Alt Watcher
// @namespace https://vk.com/shiki_ex
// @version 1.2.0
// @description [shikimori.org] Добавляет ссылку на Альтернативные сайты просмотра аниме ###
// @author STorn
// @match https://shikimori.org/*
// @match http://shikimori.org/*
// @require https://code.jquery.com/jquery-3.3.1.slim.min.js
// @grant none