Skip to content

Instantly share code, notes, and snippets.

View Coldblackice's full-sized avatar

Coldblackice

  • NYC
View GitHub Profile
@CommanderRoot
CommanderRoot / badges-all-2025-03-17.txt
Last active July 7, 2025 15:28
Twitch chat badges of all accounts 2025-03-17
Affiliates (3,459,377):
-> Twitch Recap 2024: 1,782,080 (51.51%)
-> Twitch Recap 2023: 1,640,947 (47.43%)
-> Prime Gaming: 1,285,219 (37.15%)
-> Raging Wolf Helm: 545,360 (15.76%)
-> SUBtember 2024: 388,943 (11.24%)
-> Share the Love: 360,145 (10.41%)
-> GLHF Pledge: 230,552 (6.66%)
-> Destiny 2: The Final Shape Raid Race: 213,758 (6.18%)
-> La Velada del Año IV: 172,965 (5%)
import os
import time
import urllib.parse
import requests
import json
from slugify import slugify
import logging
from nltk.tokenize import sent_tokenize
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <Shlobj.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
bool replaceAllInFile(const TCHAR* filePath)
@diousk
diousk / offset.md
Created December 12, 2024 16:08 — forked from hexcowboy/offset.md
Twitch Helix API - Get Video/VOD Offset and Comments from Clip ID

Since Twitch decomissioned API V5, there's no correct way to get the VOD offset for a clip. So I just inspected what the Twitch web app was doing and came up with a super cool hack.

I know this looks really complicated but really it just does two things. First it gets the clip information from the official API, then it uses Twitch GraphQL API to get the offset.

kimne78kx3ncx6brgo4mv6wki5h1ko is the Client ID that the Twitch web app uses. It can be used to access Twitch's GraphQL API (undocumented & not for public use). The postData variable contains a request and a sha256Hash. The sha256Hash is basically a job ID and may change in the future, but I added the current hash which should work for all clips as of posting this.

const clientId = "" // Put your Twitch Client ID here
const clientSecret = "" // Put your Twitch Client Secret here
@f1shy-dev
f1shy-dev / best_SAE_trick.md
Last active November 26, 2025 00:28
sneakyf1shy's apple intelligence tutorial

the sneakyf1shy apple intelligence tutorial v2.0

Warning

This is patched as of iOS/iPadOS 18.1 DevBeta 5. If you want to follow this, stay on Beta 4.

This actually downloads the models, and is NOT just new SiriUI. Hence, this process is complex and probably not worth it.

⚠️ Prepare to be disappointed and annoyed, and have your time wasted! ⚠️

  • What does not work: Writing Tools, Memories, Reduce Interruptions, Image Eraser and other tools that are within official Apple Intelligence on supported devices.
@devdammit
devdammit / SnapTap_CS2.md
Last active August 25, 2025 17:05
SnapTap + JumpThrow Macro for QMK Keyboards

SnapTap + JumpThrow Macro for QMK Keyboards

Enhance your CS2 gameplay with the SnapTap + JumpThrow macro designed for QMK keyboards. This macro enables precise movement control and consistent grenade throws, giving you a competitive edge, all while remaining undetectable by CS2 due to its careful imitation of human behavior.

Features:

  • SnapTap Functionality: Execute rapid direction changes with minimal input delay, allowing for swift and responsive strafing during gameplay.
  • JumpThrow Macro: Perform perfectly timed grenade throws with a single key press, ensuring consistent and accurate throws every time.
  • Customizable Delays: Adjust delay settings to fine-tune the responsiveness and behavior of the SnapTap and JumpThrow actions according to your playstyle.
  • Seamless Integration: Easily incorporate this macro into your existing QMK firmware, with simple configuration options.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 6, 2025 16:28
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:
@Bergbok
Bergbok / excluding-[contains-local-files]
Last active December 16, 2024 11:54
Playlist Tags
tags:6uu6SyarK48UK2rUk8cevU === ["media","game","game/indie","game/yandere-simulator","[year:2021]","[artist:CameronF305]","[artist:M.W.]"]
tags:2HaBipmaBtQfLvWPhZ7zL0 === ["jazz","[year:1973]","[artist:Hareton-Salvanini]"]
tags:4aNWrxcIgQCvC7VTNuiJtJ === ["jazz","fusion","[year:2012]","live","[artist:CASIOPEA]"]
tags:2KmBFhzycmlZXHibWEWXHq === ["psychedelic","[year:2013]","[artist:Tame-Impala]"]
tags:32Lfs0igSU29eDdXNRj0jW === ["media","game","game/indie","game/company/the-behemoth","game/pit-people","[year:2019]","[artist:Patric-Catani]"]
tags:5GoEqBseSWx5CNTbYrXbb6 === ["[year:2024]","[artist:2-Mello]","[artist:Million-Sunday]","[artist:TV-MA]"]
tags:5uyIgjgopEMlS2ChWTITW0 === ["media","content-creator","content-creator/thorhighheels","content-creator/adolf-nomura","[year:2022]","[artist:ThorHighHeels]"]
tags:7AV3xPawacGTNGE69xz0SC === ["media","movie-music","movie-music/superhero","[year:2017]","[artist:Mark-Mothersbaugh]"]
tags:66caNdpfYB54XmuLxwb7WH === ["game/series/overcooked","indie","game","
@soulhotel
soulhotel / gist:b65294053bd4da3272c58686cad427c3
Last active November 11, 2024 04:53
BackupFox for Windows OS (backup your UserChrome Profiles with one click)
simple .bat application that will copy your userchrome profile from its main location to a backup location.
this cuts out the need for downloading another application
or having to dig through file explorer to copy paste and sort your info
simply download this bat or make it paste the text below in notepad
change the name in the file to your Windows Name and backup location
save it as a .bat file
@jsonMartin
jsonMartin / ghub.lua
Last active August 6, 2024 04:52
ghub lua bindings for gestures (give g-hub mice similar features to mx mice)
--[[
**********
Updated Author: jsonMartin
Original Author: Mark van den Berg
Version: 1.0
Date: 09-13-2023
**********
Updated:
- Updated Gesture button to work with button G9, and to work with option keys