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
@Hans5958
Hans5958 / keybase.md
Last active July 12, 2022 02:53
Keybase verification proof (now revoked, see https://gist.github.com/81c7924d8460295ca3dea775fcea5e2f)

Keybase proof

I hereby claim:

  • I am Hans5958 on github.
  • I am hans5958 (https://keybase.io/hans5958) on keybase.
  • I have a public key whose fingerprint is E128 0A38 C6BE 5FF5 0AB3 C449 0EDA 2FD5 3E54 C2D7

To claim this, I am signing this object:

@Hans5958
Hans5958 / keybase.md
Last active July 12, 2022 02:53
Newer Keybase verification proof

Keybase proof

I hereby claim:

  • I am Hans5958 on github.
  • I am hans5958 (https://keybase.io/hans5958) on keybase.
  • I have a public key whose fingerprint is CF7E C77E 184B E60E 002D F879 28B1 DEC4 70E8 08BB

To claim this, I am signing this object:

@Hans5958
Hans5958 / Remove All Videos from YouTube Playlist.js
Created July 13, 2022 13:50
Remove all videos from a YouTube playlist. Open a playlist page and run this script. Adjust the interval time if needed, but as low as 50, or maybe lower, should be fine.
setInterval(() => {
document.querySelector('.ytd-playlist-video-list-renderer #menu yt-icon.style-scope.ytd-menu-renderer').click()
setTimeout(() => document.querySelector('#items > ytd-menu-service-item-renderer:nth-child(4) > tp-yt-paper-item > yt-formatted-string').click(), 1)
}, 100)
@Hans5958
Hans5958 / Switch To YouTube Uploads Playlist.js
Last active July 13, 2022 13:54
Simple script to switch to the uploads playlists (Uploads by...) on YouTube
var params = new URLSearchParams(location.search)
var listId = params.get('list')
if (listId && listId.startsWith('UU')) {
params.delete('list')
params.delete('index')
} else {
params.set('list', 'UU' + ytInitialPlayerResponse.videoDetails.channelId.substr(2))
}
location.search = params.toString()
@Hans5958
Hans5958 / data.js
Last active October 21, 2022 02:48
Membuat pengaturan AWB:Typos dari Data Terbuka Sipebi (https://id.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos)
words = `abadiah abadiat
abaimana abimana
abdu abdul
Abrab Abrap
Abrab Abrop
adang hadang
adendum adenda
adenina adenin
adhesi adesi
adik adek
@Hans5958
Hans5958 / A Study of Funkipedia Mods.md
Last active December 21, 2022 10:58
A Study of Funkipedia Mods – What Can Be Improved

A Study of Funkipedia Mods – What Can Be Improved

Notice regaring updates

Updates are made as I learned more on the wiki. Please review the revisions page for any changes that I have made.

Preword

Within my English barriers, I fond of writing long texts just so my texts are in no way ambiguous or to be misintepret it. This includes this essay, because I wish to improve this by giving improvements based on what I learned on editing wikis. I would like to write this in small notes on your Discord server, on your Twitter, but it seems to me that it is not enough for me to deliver my message that I intend.

ffmpeg -i "Outrunning Blue Shells for an Entire Race 😳 [HD].webm" -ss 4:28.0628033333333 -i "..\Audios\Lynyrd Skynyrd - Free Bird.m4a" -map 0:v:0 -map 1:a:0 -c:v copy -shortest "Outrunning Blue Shells for an Entire Race 😳 [HD].webm.new.webm"
@Hans5958
Hans5958 / rb-cachebuster.py
Last active January 30, 2023 10:48
Roblox Cache Buster: Simple script to convert Roblox cache files on `%temp%/Roblox/http` folder to normal, openable files (if valid). Run the script inside `%temp%/Roblox/http`.
from genericpath import isfile
import puremagic, io, os
os.makedirs('cachebuster', exist_ok=True)
for file_name in os.listdir('.'):
if not os.path.isfile(file_name):
continue
# print(file_name)
@Hans5958
Hans5958 / confession.md
Last active March 31, 2023 12:01
This is a very serious confession, there is absolutely zero tomfoolery on this writing. :)

Alright, I think this is a good time to talk about this. Ever since my inception of my internet adventures, I have discovered a lot of these so-called cultures.

Part of this is fueled with my curiosity. As someone who is from a developing country, the internet is quite a niche. People would still have computer courses. I can't believe the technology has advanced so much, people have phones at this time.

Right, back go the topic, at this time I have discovered this kind of community. A community that is quite acceptable to me and by everyone. Something I rarely see in the sea on the internet toxicity.

Inside, I realised that I think I was destined as a part of the community. It was a shame to me since the bad things of this community, such as what I heard as animal abuse, but I guess we know that this is just a vocal minority.

Let's just say that I'm now opening myself to hate, that I'm declaring myself that I am a part of this community, and I can say that I am proud of it. Partially, because I don't want

@Hans5958
Hans5958 / A Pledge of Content Preservation.md
Last active April 22, 2023 15:46
A Pledge of Content Preservation (SUPERSEEDED: Check the blog post)

Warning: This has been superseeded with the version on the blog. Check the new version on the post below. https://hans5958.github.io/blog/a-pledge-of-content-preservation/

A Pledge of Content Preservation

There are many instances where an entity (including, but not limited to, general people, content creators, institutions, businesses, organizations) retracts their content from existence. We have seen this in various cases, and it is not rare to see a disappointed group of people condemns such action, myself included.

With that, I pledge the following.

  1. To preserve and not remove public content that I have shared.