- Termux (From F-Droid)
- ADB (Android Debug Bridge)
- USB Cable (Wireless connection is also possible but it's slower)
Requirements: Termux, Root (preferably Magisk).
Open termux and give it root permissions
Type su to escalate the permissions
Now enter the command dd if=/dev/zero of=swapfile bs=1024 count=6144k replacing 6144k with as much swap as you need, in this case 6GB
Once its done, enter mkswap swapfile to create the sawp file and swapon swapfile to enable the swap file
| # Author: Alex Langhart | |
| # This script "un-decrypts" a veracrypt drive that was accidentally decrypted twice. | |
| # The veracrypt recovery disk allows the user to decrypt twice, but offers no way | |
| # to un-decrypt it, hence the need for this script. Re-encrypting the drive using | |
| # the standard process wouldn't work because it generates new random salts. | |
| from cryptography.hazmat.primitives import hashes | |
| from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC | |
| import os | |
| from cryptography.hazmat.primitives.ciphers import ( | |
| Cipher, algorithms, modes |
Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.
See the credits and also special thanks in below.
Last updated: 31 December 2025
Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22), (deprecated?).
Depending on the age and/or popularity of the video, not all formats will be available.
A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.
By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?
| const nextafter = require('nextafter') | |
| for (let i = -Infinity; i !== Infinity; i = nextafter(i, Infinity)) { | |
| console.log(i) | |
| } | |
| // Whoops, forgot a few the first time I ran this | |
| console.log(Infinity) | |
| console.log(NaN) |
In Windows 10 you can no longer change the last logged on user in the registry like you could in Windows 7. Windows 10 requires the user's SID to be entered as well. Here's an updated guide.
In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI, you'll want to change 4 entries:
LastLoggedOnDisplayName- Enter the user's full name, like
Allan Jude
- Enter the user's full name, like
LastLoggedOnSAMUser- Enter the username, like
SHORTDOMAIN\allan.jude
- Enter the username, like
LastLoggedOnUser- Enter the username again, like
SHORTDOMAIN\allan.jude
| This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/ |
Please see other gists for updated information. https://gist.github.com/XenoPanther/15d8fad49fbd51c6bd946f2974084ef8
