Skip to content

Instantly share code, notes, and snippets.

@chemputer
chemputer / RemoveJunk.ps1
Last active October 22, 2019 10:07 — forked from HauptJ/RemoveJunk.ps1
Powershell script to remove junk apps bundled in Windows 10
############################################################
# Powershell script to remove shit features bundled in Windows 10
# Removes junk bundled with Windows 10
# App list: https://www.howtogeek.com/224798/how-to-uninstall-windows-10s-built-in-apps-and-how-to-reinstall-them/
# King shit: https://care.king.com/en/candy-crush-soda-saga/how-to-remove-candy-crush-soda-saga-from-windows-10-with-a-powershell-command
# Author: Joshua Haupt josh@hauptj.com Date: 19.12.2017
# Original gist: https://gist.github.com/HauptJ/e09a8b7e699115f8f35e699a09816da2
# Author: Ben Turner Ben.Turner@turnerb.com 10.22.2019
# Added ability to remove Hidden City and Disable "Consumer Experience", removed the line that removed the "people"
# app, as it failed due to being a system app.
@chemputer
chemputer / README.md
Last active April 16, 2020 23:31
Python Interactive zxcvbn Password Checker

This is a simple password checker based on zxcvbn. It's simple, short program that you can use to easily check your passwords on a local machine, rather than using a website that promises it's definitely not storing your passwords.

The only main prerequisite is zxcvbn, which can be installed by either: python3 -m pip install zxcvbn or pip3 install zxcvbn

Then you simply need to execute the program. The program will ask you for a password, which you type into the terminal. It will keep looping, over and over, until you enter exit, quit, or stop as the password.

@chemputer
chemputer / keybase.md
Created April 27, 2020 23:51
Keybase.io Identity Proof

Keybase proof

I hereby claim:

  • I am chemputer on github.
  • I am chemputer (https://keybase.io/chemputer) on keybase.
  • I have a public key ASCo0LlVt721z0067h9fuFK_u1wHVl5-qjpB8w8si1gPCQo

To claim this, I am signing this object:

@chemputer
chemputer / Readme.md
Created November 6, 2020 21:23
Convert Binary To ASCII For Teamspeak Puzzle

Solution to the Teamspeak Puzzle Programatically

Teamspeak published a challenge on Twitter here and it included this image.

@chemputer
chemputer / MSProtection.ps1
Last active November 21, 2020 15:11
Stops MS from downloading unwanted apps onto your computer. I recommend setting up the script to run at startup using task scheduler, so that when MS resets this during an update, it automatically goes back.
$error.clear()
try {
New-Item –Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent" -Force | New-ItemProperty -Name "DisableWindowsConsumerFeatures" -Value "1" -PropertyType "DWORD"
}
catch { "Error occured" }
if ($error) {
Set-Itemproperty -path HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent -Name 'DisableWindowsConsumerFeatures' -value '1'
}
@chemputer
chemputer / autoRenameDorfsFromCSV.lua
Created April 29, 2021 20:44
DFHack Set Dorf Nicknames from List in a file
local open = io.open
-- see if the file exists
function file_exists(file)
local f = io.open(file, "rb")
if f then f:close() end
return f ~= nil
end
@chemputer
chemputer / README.md
Created May 17, 2021 20:29
SFIA Subtitles Condensed up to Episode 290a: Laser Pistols & Lightsabers

What is this?

It's all the subtitles available in english from the "SFIA in Chronological Order" playlist for the channel Science and Futurism with Isaac Arthur.

Why is this?

Well, I wanted to know what all the First Rules of Warfare were. So, the only reasonable thing was to use youtube-dl to download all the subtitle files, combine them together, strip most of the WebVTT formatting data, and then comb through it for "The First Rule of Warfare". It worked. You can see it here.

What's with the weird stuff, like by lowering the Sun’s mass, well, I'm not 100% sure, but I believe it's a byproduct of them being

WebVTT files originally, and so things like ' would be encoded differently. Sadly, just replacing it doesn't work, as there are other things,

@chemputer
chemputer / PirateSchedule - Tiers.csv
Last active May 29, 2021 23:53
World of Warships Pirate Schedule Determine Tiers Script
Team Tiers
Alpha VIII, IX, X
Bravo VIII, IX, X
@chemputer
chemputer / pveamall.sh
Last active November 2, 2021 21:35
Bulk Proxmox Container Template Download "pveam download all"
#!/bin/bash
#
# Title: pveam download all - pveamall.sh
# Description: Automates downloading all of the available container images via the Proxmox tool pveam, with options for selectivity for certain categories.
# Author: Chemputer
# Date: Nov 2nd, 2021
#
# simply put the name of the storage, like local, or whatever you named it.
@chemputer
chemputer / Steam_Summer_Sale_2022_Cheat.js
Last active July 5, 2022 21:41
Steam Store - Cheat Summar Sale 2022 Badge (originally by Revadike)
/* eslint-env browser */
/* global g_sessionID jQuery */
/* HOW TO USE:
1. Open Console tab of your browser's DevTools.
Chrome: CTRL+SHIFT+J
Firefox: CTRL+SHIFT+K
2. Copy-paste this entire script.
3. Press ENTER and wait.
It should claim all 10 badges and then the final reward.