Skip to content

Instantly share code, notes, and snippets.

View Deanosim's full-sized avatar
💭
Getting annoyed at code or playing Video Games

Deanosim Deanosim

💭
Getting annoyed at code or playing Video Games
View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 7, 2025 14:38
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@SanteriHetekivi
SanteriHetekivi / youtubeShortsAutoNext.user.js
Last active November 14, 2025 17:46
Automatically plays the next YouTube short.
// ==UserScript==
// @name YouTube Shorts Auto Next
// @description Automatically plays the next YouTube short.
// @version 2024-03-02
// @author Santeri Hetekivi
// @match https://www.youtube.com/shorts/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @license Apache-2.0
// ==/UserScript==
{
"content_type": {
"title": "Nebula Product Page",
"description": "",
"options": {
"is_page": false,
"singleton": true,
"sub_title": [],
"title": "title"
},
@Deanosim
Deanosim / Halo Infinite Login Loop Fix.md
Last active June 27, 2023 13:49
For the Halo Infinite login loop instead of manually deleting each entry (oh which there was many for me) you can just run two powershell commands.

cmdkey /list | ForEach-Object{if($_ -like "*Target:*" -and $_ -like "*Xbl|2096818168*"){cmdkey /del:($_ -replace " ","" -replace "Target:","")}}

cmdkey /list | ForEach-Object{if($_ -like "*Target:*" -and $_ -like "*Xbl|2043073184*"){cmdkey /del:($_ -replace " ","" -replace "Target:","")}}

@ExampleWasTaken
ExampleWasTaken / discord_webpack_code_snippets.md
Last active June 17, 2025 09:12
Enable Discord Developer Options and more

DISCLAIMER

I am in no way, shape, or form responsible for any damage caused by the usage of these snippets. You use them at your own risk! I am not related to Discord in any way.

This gist is unmaintained! Feel free to fork it.

What is this?

Using the Chrome dev tools you can do some fun stuff with the Discord client. As they are disabled on the stable version you need to use the canary version which is used to test new features before they get released to the stable version. It's usage is totally legal and within ToS. Discord does not promote it but encourages users to use it to find bugs, etc.

You can download the latest Canary builds here:

@usayamadx
usayamadx / ExportKindle.js
Last active October 13, 2025 21:17 — forked from jkubecki/ExportKindle.js
Amazon Kindle Export
// init
let xhr = new XMLHttpRequest()
let domain = 'https://read.amazon.com/'
let items = []
let csvData = ""
// function
function getItemsList(paginationToken = null) {
let url = domain + 'kindle-library/search?query=&libraryType=BOOKS' + ( paginationToken ? '&paginationToken=' + paginationToken : '' ) + '&sortType=recency&querySize=50'
xhr.open('GET', url, false)
@Demiu
Demiu / move_appdata_win10.md
Last active October 29, 2025 09:32
How to properly move AppData in Windows 10

Moving AppData folder on Windows 10

  1. Create a new user with administrator permissions
  2. Sign out of the current user and sign in as the newly created user
  3. Navigate to C:\Users in File Explorer
  4. Click into the account you want move AppData from
    • There could be a popup telling you that you need to allow yourself to access that user's data, do so
  5. Cut the AppData folder
    • If invisible, go to View and check Hidden Items
  6. Paste in the desired location
@luuk00000000000000000000000000000000000
luuk00000000000000000000000000000000000 / tutorial.md
Last active October 13, 2025 20:09
This is a tutorial on how you can backup and restore your Discord favorite gifs (on windows)

This won't work anymore because Discord moved to cloud storage for the gifs

Backup

  1. Open Discord.
  2. Press CTRL, SHIFT and I on your keyboard at the same time.
  3. In the newly opened window, at the top, click the >> button, and then click on Application.
    Image 1
  4. Once in the Application tab, click the little triangle next to Local Storage, and then click on https://discordapp.com.
    Image 2
@gempir
gempir / filters.md
Last active December 1, 2025 15:14
Chatterino Filter Collection
Filter out every user without color (greynames) 2.0
(!(author.no_color) || flags.system_message || flags.whisper || flags.highlighted || flags.points_redeemed || flags.sub_message)
Filter out every user without color (greynames)
!(author.no_color)
@Decicus
Decicus / README.md
Last active November 9, 2025 00:33
A userscript for displaying the actual date & time (relative to local time) of when a Twitch clip was created.

Twitch clip datetime userscript

A userscript for displaying the actual date & time (relative to local time) of when a Twitch clip (and video) was created.

FYI: It only works on URLs that start with https://clips.twitch.tv/.
This script does not work with URLs that are on the Twitch "channel pages" (https://www.twitch.tv/CHANNEL_NAME_HERE/clip/...).
This has been added as of v0.5.0.

"Under the hood" the script uses Date.toLocaleString() to format the date. The format of the date & time may differ from the screenshots below.