This file contains hidden or 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 | |
| # go to https://store.rg-adguard.net/ | |
| # paste this in https://apps.microsoft.com/detail/9pktq5699m62 | |
| # find the entry that's named like "AppleInc.iCloud_*_x64_*.appx" | |
| # paste the link below | |
| ITUNES_URL="" | |
| # update these if you like (latest as of 04 sept 2025) |
This file contains hidden or 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
| -- define your commands here | |
| commands = { | |
| help = { | |
| description = "List all commands, or see one's description", | |
| exec = function(cmd) | |
| if cmd[2] ~= nil then -- if user supplied a command name | |
| if commands[cmd[2]] ~= nil then -- and if that command exists | |
| print(cmd[2] .. ": " .. commands[cmd[2]].description) -- print the command's description | |
| else -- if it does not exist | |
| print("Command not found: " .. cmd[2]) -- inform the user |
This file contains hidden or 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
| local random = math.random | |
| local function uuid() | |
| local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' | |
| return string.gsub(template, '[xy]', function (c) | |
| local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) | |
| return string.format('%x', v) | |
| end) | |
| end |