Skip to content

Instantly share code, notes, and snippets.

View Coldblackice's full-sized avatar

Coldblackice

  • NYC
View GitHub Profile
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)
@f1shy-dev
f1shy-dev / best_SAE_trick.md
Last active April 19, 2025 12:56
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 February 6, 2025 15:31
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 April 21, 2025 11:17
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@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
@FabulousCupcake
FabulousCupcake / tst-colored-tab-groups.css
Last active April 17, 2024 12:08
TreeStyleTabs – Colored and Spaced Tab Groups
/* ---
Config: moz-extension://61148767-1029-7e4d-810c-8847305901bd/options/options.html
Docs: https://github.com/piroor/treestyletab/wiki/How-to-inspect-tree-of-tabs
--- */
#tabbar {
background: linear-gradient(to bottom, #342735 0%, #4B5670 50%);
}
@jetfir3
jetfir3 / tmpdevmodify.sh
Last active January 4, 2025 00:51
Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
#!/usr/bin/env bash
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
showHelp () {
echo -e \
"Usage: ./tmpdevmodify.sh [option]\n
Options:
-c, --clearcache Clear Spotify app cache
-d, --debug Add Debug Tools to user dropdown menu