Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / Guide to All Lines.md
Last active January 3, 2024 01:18
World of Warships - A General Overview/Guide to All Tech Tree Lines

A General Overview/Guide To All Tech Tree Lines

Credit to YURRA, based on the work shared on Pastebin, original available here. This has been heavily edited, but the original source, the bulk of it, and the idea came from that Pastebin article.

Carriers - CV

IJN
@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 / install_ffmpeg_libfdkaac.sh
Last active January 6, 2024 04:35 — forked from chrisvaughn/install_ffmpeg_libfdkaac.sh
Install FFmpeg with libfdk_aac support (For Ubuntu)
# Criando um script .sh para executar todos os comandos:
#root@servidor:~# vi script.sh
#root@servidor:~# chmod +x script.sh
#root@servidor:~# ./script.sh
apt-get update
apt-get -y install autoconf automake build-essential git-core libass-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libvdpau-dev libvorbis-dev libx11-dev libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev libmp3lame-dev nasm gcc yasm && true
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
git clone --depth 1 git://github.com/mstorsjo/fdk-aac.git