Skip to content

Instantly share code, notes, and snippets.

from __future__ import print_function, unicode_literals
import io, sys, os, struct, zlib
ogg_crc_table = [
0x0, 0x4C11DB7, 0x9823B6E, 0x0D4326D9, 0x130476DC, 0x17C56B6B,
0x1A864DB2, 0x1E475005, 0x2608EDB8, 0x22C9F00F, 0x2F8AD6D6,
0x2B4BCB61, 0x350C9B64, 0x31CD86D3, 0x3C8EA00A, 0x384FBDBD,
0x4C11DB70, 0x48D0C6C7, 0x4593E01E, 0x4152FDA9, 0x5F15ADAC,
0x5BD4B01B, 0x569796C2, 0x52568B75, 0x6A1936C8, 0x6ED82B7F,
0x639B0DA6, 0x675A1011, 0x791D4014, 0x7DDC5DA3, 0x709F7B7A,
0x745E66CD, 0x9823B6E0, 0x9CE2AB57, 0x91A18D8E, 0x95609039,
@drojf
drojf / batoto_follows_to_mangadex.js
Last active January 25, 2018 01:13 — forked from akrolsmir/batoto_follows_to_mangadex.js
Import your manga from Batoto to Mangadex
/*
Instructions:
1) Go to https://mangadex.com on Chrome.
2) Open the Chrome console (Ctrl+Shift+J on Windows).
3) Copy + paste the code in this file.
If using JSON export, use (A).
If using raw CSV Text (copy from a text editor), use (B).
If using exel/newline separated values, use (C).
4) Hit Enter.