Skip to content

Instantly share code, notes, and snippets.

@chemputer
chemputer / pveamall.sh
Last active Nov 2, 2021
Bulk Proxmox Container Template Download "pveam download all"
View pveamall.sh
#!/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 / install_ffmpeg_libfdkaac.sh
Last active Jan 29, 2022 — forked from chrisvaughn/install_ffmpeg_libfdkaac.sh
Install FFmpeg with libfdk_aac support (For Ubuntu)
View install_ffmpeg_libfdkaac.sh
# 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
@chemputer
chemputer / PirateSchedule - Tiers.csv
Last active May 29, 2021
World of Warships Pirate Schedule Determine Tiers Script
View PirateSchedule - Tiers.csv
Team Tiers
Alpha VIII, IX, X
Bravo VIII, IX, X
@chemputer
chemputer / README.md
Created May 17, 2021
SFIA Subtitles Condensed up to Episode 290a: Laser Pistols & Lightsabers
View README.md

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 / autoRenameDorfsFromCSV.lua
Created Apr 29, 2021
DFHack Set Dorf Nicknames from List in a file
View autoRenameDorfsFromCSV.lua
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 / Guide to All Lines.md
Last active Mar 30, 2021
World of Warships - A General Overview/Guide to All Tech Tree Lines
View Guide to All Lines.md

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 / Readme.md
Created Nov 6, 2020
Convert Binary To ASCII For Teamspeak Puzzle
View Readme.md

Solution to the Teamspeak Puzzle Programatically

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

@chemputer
chemputer / keybase.md
Created Apr 27, 2020
Keybase.io Identity Proof
View keybase.md

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
Last active Apr 16, 2020
Python Interactive zxcvbn Password Checker
View README.md

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 / RemoveJunk.ps1
Last active Oct 22, 2019 — forked from HauptJ/RemoveJunk.ps1
Powershell script to remove junk apps bundled in Windows 10
View RemoveJunk.ps1
############################################################
# 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.