Skip to content

Instantly share code, notes, and snippets.

@qnblackcat
qnblackcat / README.md
Last active November 28, 2025 16:02
Downloading older versions of iOS apps using ipatool

Downloading older versions of iOS apps using ipatool

👉 ipatool is an open-source tool developed by Majd, a highly trustworthy and talented developer in the iOS community. Recently, ipatool got a significant update that allows users to easily download older versions of iOS apps on macOS/Windows/Linux!.

👉 Since ipatool doesn't have a graphical user interface (GUI), some of you might think it's tricky to use. But trust me, it's not! Here's a simple guide if you're still a bit scared of the terminal. (Tbh, everything in this *guide can be found on ipatool's repo)

👉 Note: You need to log into your Apple ID via ipatool for the tool to work. Unless you prioritize security above all, you can trust logging into your Apple account with ipatool. As explained earlier, it’s an open-source tool developed by a well-known and reliable developer, minimizing security risks to the lowest level.

#!/bin/bash
# From intel GPU top
DRM=/sys/class/drm/card1
# cat /sys/class/hwmon/*/name to find a right one
HWMON=/sys/class/hwmon/hwmon4
while :
do
POWER1=$(cat $HWMON/energy1_input)
sleep 0.25
POWER2=$(cat $HWMON/energy1_input)
@dhinakg
dhinakg / details.md
Last active October 1, 2025 14:38
tools.lancely.tech archive

tools.lancely.tech archive

Please link to this page instead of linking to the direct download links.

Direct download links

Warning

If this gets maliciously high traffic (ie. abusing multiple connections), I will have to shut this down. This is hosted on Azure Block Storage, it's not free, so be kind.

@L422Y
L422Y / Mass cancel Amazon Subscribe and Save.md
Last active November 9, 2025 08:52
Mass cancel Amazon Subscribe and Save
  1. Open your subscriptions page:
https://www.amazon.com/auto-deliveries/subscriptionList?shipId=mpkmmwlssrkq&ref_=mys_nav_op_D
  1. Paste into devtools console
  2. Wait a few moments, and then refresh/repeat for any additional pages
  3. Confirm by checking to see if you've received cancellation emails
@achadha235
achadha235 / annas-archive-download.js
Created July 8, 2024 04:02
Anna's archive auto download
/**
* Wait on a slow download page for Anna's archive and auto * click the Download button once it is ready
*/
function checkAndClickDownloadButton() {
const intervalMs = 1000;
let clicked = false;
let intervalId;
function check() {
const btns = Array.from(document.getElementsByTagName("a")).filter(
(ele) => ele.innerText === "Download now"
@vitorcalvi
vitorcalvi / macM1Install.bash
Last active April 22, 2025 07:30
Comprehensive Bash script to automate macOS developer setup: installs essential apps with Homebrew, sets up Zsh with Oh My Zsh and Powerlevel10k, downloads FlutterFlow, updates /etc/hosts, sets up a conda environment, and installs Anaconda.
#!/usr/bin/env bash
set -euo pipefail
# --- Configurable lists ---
CASKS=(
macs-fan-control whatsapp discord lm-studio android-file-transfer balenaetcher
flutter visual-studio-code sublime-text android-studio rectangle iterm2
android-platform-tools tradingview jan xcode
)
FORMULAS=(
@shikhir-arora
shikhir-arora / delete_dmg_after_use.sh
Last active September 26, 2024 00:11
macOS Automator / Folder Actions Script to mount, move and automatically trash .dmg files
#!/bin/bash
# Configuration file path
CONFIG_FILE="$HOME/.dmg_script_config"
# Function to setup configuration
setup_configuration() {
echo "Setting up configuration..."
read -r -p "Enter the destination path [$HOME/Applications]: " DESTINATION
DESTINATION=${DESTINATION:-$HOME/Applications} # Default to $HOME/Applications if input is empty
@ChristopherA
ChristopherA / ssh-keys-best-practices.md
Last active October 9, 2025 17:24
SSH Keys - Best Practices

SSH Keys Best Practices

(VERY rought draft, still a work-in-progress)

SSH Key Seperation

Authentication and signing keys serve different purposes, especially on platforms like GitHub where code integrity and access control are crucial. Here's a comparison based on their functions and best practices:

Authentication Keys:

  1. Purpose:
@fritolays
fritolays / mover_tuning_exclusions.sh
Last active November 11, 2025 15:16
This script enables the Mover Tuning plugin for Unraid to be able to exclude files and/or folders.
#!/bin/bash
# (https://forums.unraid.net/topic/70783-plugin-mover-tuning/)
# This script enables the Mover Tuning plugin for Unraid to be able to exclude files and/or folders.
# Script activity can be viewed in Unraid's system log (Tools -> System Log).
# First, it reads lists of directories and files from provided text files.
# Then, it converts any Windows line endings to Unix line endings in these lists.
# Next, it checks if the paths listed in the files are valid directories or files.
# Finally, valid file and directory paths are compiled into a single output file for use by the Mover Tuning plugin.
@anthony1x6000
anthony1x6000 / qbit-fastresume-path-changer.py
Last active January 23, 2025 04:46 — forked from Roardom/qbit-fastresume-path-changer.py
Hopefully replace paths + subdir easily in qBittorrent .fastresume (useful when switching from windows to linux)
import os
import re, shutil
# Insert the path where you keep your fast resume files here.
# Make a backup first!!!
torrentsDir = r'1/'
# Insert paths to be replaced here. Dictionary key is current path. Dictionary value is new path
# If left empty, the script will only detect paths