Skip to content

Instantly share code, notes, and snippets.

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

BrokenEagle

🏠
Working from home
View GitHub Profile
@BrokenEagle
BrokenEagle / sqlite_info.py
Last active November 18, 2022 18:21
Outputs various information about an SQLite3 database file. Includes outputting the hierarchical binary parsing of the SQL entities such as tables or indexes.
# SQLITE_INFO.PY
# ## PYTHON IMPORTS
import os
import io
import re
import math
import enum
import json
import copy
@BrokenEagle
BrokenEagle / ProxyUploader.user.js
Last active September 10, 2022 14:15
Client-side option for downloading images and uploading them to Danbooru.
// ==UserScript==
// @name ProxyUploader
// @namespace https://gist.github.com/BrokenEagle
// @version 4.0
// @description Shows the tag changes made since the original upload.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/uploads/*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant GM.xmlHttpRequest
@BrokenEagle
BrokenEagle / CommentaryEdits.user.js
Last active May 29, 2022 23:59
UI for editing commentary from the artist commentary index on Danbooru.
// ==UserScript==
// @name CommentaryEdits
// @namespace https://gist.github.com/BrokenEagle
// @version 1.0
// @description Edit commentary from commentary listing.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match https://*.donmai.us/artist_commentaries*
// @exclude /^https://\w+\.donmai\.us/artist_commentaries/search.*
// @exclude /^https://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
@BrokenEagle
BrokenEagle / PaginationHelper.user.js
Last active May 13, 2023 02:33
Helps with pagination with posts on Danbooru.
// ==UserScript==
// @name PaginationHelper
// @namespace https://gist.github.com/BrokenEagle
// @version 1.3
// @description Has various fixes and features to help with pagination.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/
// @match *://*.donmai.us/posts*
// @match *://*.donmai.us/settings
@BrokenEagle
BrokenEagle / BatchUploads.user.js
Last active February 27, 2022 00:58
Brings back the batch page removed by Danbooru.
// ==UserScript==
// @name BatchUploads
// @namespace https://gist.github.com/BrokenEagle
// @version 1.1
// @description Shows the tag changes made since the original upload.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/uploads/new*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant GM.xmlHttpRequest
@BrokenEagle
BrokenEagle / TranslatorAssist.user.js
Last active March 6, 2022 08:45
Provides an addition UI and other functions to assist translators.
// ==UserScript==
// @name TranslatorAssist
// @namespace https://gist.github.com/BrokenEagle
// @version 3.8
// @description Provide information and tools for help with translations.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @include /^https?://\w+\.donmai\.us/posts/\d+(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / PostModeMenuPlus.user.js
Last active August 19, 2022 21:37
Additional options to the post mode menu on Danbooru.
// ==UserScript==
// @name PostModeMenu+
// @namespace https://gist.github.com/BrokenEagle
// @version 4.2
// @description Provide additional functions on the post mode menu.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/
// @include /^https?://\w+\.donmai\.us/posts(\?|$)/
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
@BrokenEagle
BrokenEagle / PrebooruFileUpload.user.js
Last active September 11, 2021 18:15
A helper script for Prebooru, which will can be used to upload from dead sources. https://github.com/BrokenEagle/Prebooru
// ==UserScript==
// @name PrebooruFileUpload
// @namespace https://gist.github.com/BrokenEagle
// @version 1.0
// @description Facilitates uploading dead illusts through file uploads.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/uploads/new*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant none
@BrokenEagle
BrokenEagle / ForumPostVotes.user.js
Last active March 11, 2021 03:07
Shows voted/unvoted BURS on the forum topic index.
// ==UserScript==
// @name ForumPostVotes
// @namespace https://gist.github.com/BrokenEagle
// @version 1.0
// @description Show vote status on the index page.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/forum_topics
// @match *://*.donmai.us/forum_topics?*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
@BrokenEagle
BrokenEagle / ValidateNotes.user.js
Last active February 19, 2021 21:29
Provides the capability to validate note HTML on Danbooru.
// ==UserScript==
// @name ValidateNotes
// @namespace https://gist.github.com/BrokenEagle
// @version 1.1
// @description Provides validation capability for notes.
// @source https://danbooru.donmai.us/users/23799
// @author BrokenEagle
// @match *://*.donmai.us/posts/*
// @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/
// @grant GM.xmlHttpRequest