Skip to content

Instantly share code, notes, and snippets.

View Hans5958's full-sized avatar
🏫
Uni and uni and uni and... (limited availability!)

Hans5958 Hans5958

🏫
Uni and uni and uni and... (limited availability!)
View GitHub Profile

Archive description

This is a reupload of the viral video "Charlie bit my finger - again!" The video is downloaded using youtube-dl, with all of its possible metadata also uploaded.

Command used: youtube-dl -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best --no-check-certificate -a "Queue List.txt" -o "Archive\%%(title)s\%%(title)s.%%(ext)s" --write-annotations --write-description --write-info-json --write-all-thumbnails --all-subs --write-auto-sub --write-sub --add-metadata --merge-output-format mkv --console-title

Video description

@Hans5958
Hans5958 / DiscordLinkCrawler-v1.js
Last active May 22, 2021 06:25
Searches links on Discord. For ripping pictures/attachments.
var links = []
var messages = document.getElementsByClassName("messages")[0]
var startLinks
var endLinks
function check() {
startLinks = links.length
array = document.getElementsByTagName("a")
for (i = 0; i < array.length; i++) {
if (links.includes(array[i].href) == false) {
console.log(array[i].href)
@Hans5958
Hans5958 / DeletePrefetch.bat
Last active May 22, 2021 06:26
Deletes Prefetch.
@echo off
echo Showing folder contents!
dir %windir%\Prefetch\*.*
echo Deleting Prefetch!
del /f /q %windir%\Prefetch
echo Showing folder contents!
dir %windir%\Prefetch\*.*
pause
@Hans5958
Hans5958 / EPF Test.ahk
Last active May 22, 2021 06:27
Old AutoHotKey script for EPF test on Club Penguin Rewritten.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
ThrowSnowball(x, y)
{
Send, T
Click %x%, %y%
}
@Hans5958
Hans5958 / Lime Green Dojo Clean.ahk
Last active May 22, 2021 06:27
Old AutoHotKey script for solving Lime Green Dojo Clean on Club Penguin Rewritten.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; SETTINGS
; --------
LagDelay := 2000
SpinBlob := 100
Interval := 100
@Hans5958
Hans5958 / Restart Discord.bat
Last active May 22, 2021 06:28
Restarts Discord.
taskkill /f /im discord.exe
%localappdata%\Discord\Update.exe --processStart Discord.exe
@Hans5958
Hans5958 / BlindShoot.ahk
Last active May 22, 2021 06:28
Old AutoHotKey script for blind shoot on Club Penguin Rewritten.
#NoEnv
SendMode Input
Esc::ExitApp
^t::
Loop 1000
{
Random, x, 301, 1156
@Hans5958
Hans5958 / Kill Office Updates.bat
Last active May 22, 2021 06:29
Kills Office Updates, because they're clogging my PC.
taskkill /f /im OfficeClickToRun.exe
@Hans5958
Hans5958 / r-yanderesimulator.css
Last active May 22, 2021 06:30
My custom CSS for yanderesimulator subreddit.
.arrow {
display: block
}
@Hans5958
Hans5958 / r-The_Donald.css
Last active May 22, 2021 06:30
My custom CSS for The_Donald subreddit.
.access-required {
visibility: visible !important
}
.option.add.login-required.active::after {
visibility: hidden !important
}
.arrow {
display: block !important;