Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(() => {if (window.location.href.startsWith("https://bookwalker.jp/de")) {twitterImage = document.querySelector('meta[name="twitter:image"]').content; window.location = "https://c.bookwalker.jp/coverImage_" + twitterImage.slice(27,twitterImage.indexOf('/', 27)) + ".jpg"}})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(() => {if (window.location.href.startsWith("https://steamcommunity.com/") || window.location.href.startsWith("https://store.steampowered.com/")) {window.location = "steam://openurl/" + window.location.href;}})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Latest Win-O' Archive Redirect | |
// @namespace Violentmonkey Scripts | |
// @match https://desuarchive.org/co/search/subject/official%20win-o%27-thread/ | |
// @grant none | |
// @version 1.0 | |
// @author neckothy | |
// @description -1 click | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# really low effort, assumes internal page names follow something close to the Madokami naming scheme | |
# originally started to be able to auto update tracking sites before I realized I don't care enough | |
# > python get_vapters.py path/to/archive.cbz [path/to/additional/archives.cbz] | |
# path/to/archive.cbz: v01, c001-005 | |
import os | |
import re | |
import sys | |
import zipfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Temporarily inject your mitmproxy cert to the system certificate store on a rooted Android emulator / device. | |
Based on (and heavily borrowed from) HTTP Toolkit's awesome adb interceptor: | |
https://github.com/httptoolkit/httptoolkit-server/blob/main/src/interceptors/android/android-adb-interceptor.ts | |
Requires: | |
adb_shell - https://github.com/JeffLIrion/adb_shell | |
openssl in path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
API_URL = "https://api.kodansha.us/product/ReleaseCalendar" | |
def filter_format(filt): | |
if filt.lower() in ("manga", "man", "m"): | |
return "?filterBy=manga" | |
elif filt.lower() in ("books", "book", "boo", "b"): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://github.com/noDRM/DeDRM_tools/discussions/440 | |
# REQUIRES ROOTED DEVICE / EMULATOR | |
# get Notifications.pref.xml | |
xml=$(adb shell su -c 'cat /data/data/com.amazon.kindle/shared_prefs/Notifications.pref.xml') | |
# extract dsn from xml | |
dsn=$(echo -n "$xml" | grep -Po '(?<=<string name="serializedDeviceAttributes">{"dsn":")[0-9a-f]{32}') | |
# convert to hexadecimal | |
hex=$(echo -n "$dsn" | od -A n -t x1 | sed 'N;s/[\n ]//g') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://www.imagemagick.org/discourse-server/viewtopic.php?t=19580#p81226 | |
# https://unix.stackexchange.com/a/9499 | |
# http://www.fmwconcepts.com/imagemagick/tidbits/image_info.php#gray | |
find . -type f \( -name '*.jpg' -o -name '*.png' \) -exec sh -c ' | |
for file do | |
graytest=$(identify -format "%[colorspace]" "$file") | |
if [[ $graytest != Gray ]]; then | |
sattest=$(convert "$file" -colorspace HSL -channel g -separate +channel -format "%[fx:mean<.12?1:0]" info:) |
A nonexhaustive collection of links which may be helpful in some form. Quality and functionality will vary.
This is not a how-to. Most tools have their own documentation.
NewerOlder