- Thanks to /g/Windows XP friendly thread
- Thanks to >>77965472
- Thanks to @MrBruh
- Thanks to person4268
- Thanks to @NTDEV
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 | |
set -e | |
# This script creates a patched boot.img with KernelSU GKI kernel and cmdline tweaks | |
SCRIPT_PATH="$(dirname "$(realpath -s "$0")")" | |
MAGISKBOOT="$SCRIPT_PATH"/magiskboot | |
MAGISK_VER="v26.1" # used for downloading magiskboot, newer versions print "unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive)" warning(?) | |
ANYKERNEL_FILE_NAME="CHANGE_ME" # for downloading from the latest KernelSU github release, e.g. "AnyKernel3-android13-5.10.157_2023-03.zip" |
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
// Even with a subscription, videos are saved online only for 3 months. | |
// Downloading videos manually is a pain since you can only select 50 at a time, and 'Select Multiple' only has up to 'First 100'. | |
// 1. Go to https://account.ring.com/account/activity-history | |
// 2. Click button 'Manage'. | |
// 3. Scroll down in the event list to load as many events as you want. | |
// 4. Open Chrome Dev Tools (cmd+alt+i) and open Console to paste the following: | |
f = (xs, i) => { | |
const n = xs.length; | |
xs.slice(Math.max(0, n-i*50), Math.max(0, n-(i-1)*50)).map(x => x.click()); |
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
<?php | |
/** | |
* Get UUID from Username | |
* | |
* @param string $username | |
* @return string|bool UUID (without dashes) on success, false on failure | |
*/ | |
function username_to_uuid($username) { | |
$profile = username_to_profile($username); |
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
#!/usr/bin/env python | |
#coding: utf-8 | |
import os,socket,threading,time | |
#import traceback | |
import sys | |
#sys.setdefaultencoding('utf8') | |
#allow_delete = False | |
allow_delete = True |
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
#!/usr/bin/env python2 | |
# coding: utf-8 | |
import os,socket,threading,time | |
#import traceback | |
allow_delete = False | |
local_ip = socket.gethostbyname(socket.gethostname()) | |
local_port = 8888 | |
currdir=os.path.abspath('.') |