Skip to content

Instantly share code, notes, and snippets.

View cactushydrocodone's full-sized avatar

cactushydrocodone

View GitHub Profile

Frick you Steam

Idk why steam is so weird sometimes, but they somehow decided to add hundreds of unrelated demo games to my account. I googled around and other people have that too, one guy made a very radicale erase script, which removes all f2p's, but i want to keep my favourite f2ps :<

so i modified it a bit to only remove the dogsh1t demo games:

Please dont just execute this into your web developer console, im clearly not a js dev and this could seriously damage your account.

@cactushydrocodone
cactushydrocodone / flash.sh
Last active June 8, 2019 13:13
[Motorola BECKHAM] Flash slot_a to slot_b
#!/bin/sh
# This script has one simple target: copy slot_a to slot_b.
# Or in other words: Copy the working slot (in my case slot_a) to the defunct slot (slot_b)
# Use this in TWRP
# I dont expect this to work on ANY other phone!
# dd is commented out down there, as i dont want people to accidentally flash their phones to bricks. Uncomment to flash.
# Go to the named partitions dir in /dev/
cd /dev/block/platform/c0c4000.sdhci/by-name
# I just wanted a simple way to extract all urls from a season from a series on bs.to so i wrote one.
# everyone could do this, but i share it, because im a cool retard.
# You have to go in your browser on the following url: "https://bs.to/serie/SERIESNAME/SEASONNUMER" as an example, https://bs.to/serie/Danny-Phantom/1
$('.episodes').children().children().each (function () {
var url = $(this).children("td").children("a").attr('href');
console.log("https://bs.to/" + url + "/OpenLoad");
});