Skip to content

Instantly share code, notes, and snippets.

View Coldblackice's full-sized avatar

Coldblackice

  • NYC
View GitHub Profile
@echo off
cls
dir
echo yolo
::exclude
::exit
@Coldblackice
Coldblackice / README.md
Created July 24, 2025 13:28 — forked from MichaelCurrin/README.md
Jekyll - how to build a REST API

Jekyll - how to build a REST API

Serve your data as static JSON

How to make a read-only JSON REST API using Jekyll.

This doesn't need any Ruby plugins - you just use some built-in templating features in Jekyll 3 or 4.

You will end up with a single JSON file contains data for all pages on the site, and another JSON file of just posts. Alternatively, you can replace every HTML page and post with a JSON version.

@Coldblackice
Coldblackice / twitchtest.txt
Created July 16, 2025 05:52 — forked from lazarusjames/twitchtest.txt
CSS Chatbox Full Username
@import url(https://fonts.googleapis.com/css?family=Martel:700);
* {
box-sizing: border-box;
}
html, body {
height: 100%;
overflow: hidden;
}
@Coldblackice
Coldblackice / enable-shadowplay-task.xml
Created July 2, 2025 12:45 — forked from schlarpc/enable-shadowplay-task.xml
Enable ShadowPlay on computer unlock (RDP fix)
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2021-01-08T12:52:30.0596384</Date>
<Author>MUFFIN\User</Author>
<URI>\Enable ShadowPlay</URI>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
@Coldblackice
Coldblackice / Repair-ServicingError_800f082f.ps1
Created June 9, 2025 15:29 — forked from Ioan-Popovici/Repair-ServicingError_800f082f.ps1
Repairs error 0x800f082f~ encountered during offline servicing by setting the HKLM:\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionsPending\Exclusive value to 0.
<#
.SYNOPSIS
Repairs error 0x800f082f~ encountered during offline servicing.
.DESCRIPTION
Repairs error 0x800f082f~ encountered during offline servicing by setting the
HKLM:\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionsPending\Exclusive value to 0.
.INPUTS
None.
.OUTPUTS
None.
@Coldblackice
Coldblackice / fast_firefox.md
Created June 4, 2025 06:39 — forked from RubenKelevra/fast_firefox.md
Make Firefox fast again
@Coldblackice
Coldblackice / SteamRedeemKeys.js
Created June 2, 2025 09:21 — forked from makazeu/SteamRedeemKeys.js
Steam Batch Redeem Keys for Tampermonkey
// ==UserScript==
// @name SteamRedeemKeys
// @namespace https://gist.github.com/zyfworks/ccb12bd87f09cf49d0a3465d167bece9
// @version 1.5.0
// @description Steam网页激活 —— 批量激活
// @author Makazeu
// @match https://store.steampowered.com/account/registerkey
// @grant GM_addStyle
// @run-at document-end
// ==/UserScript==
@Coldblackice
Coldblackice / WindowsBoot.md
Created May 29, 2025 20:24 — forked from drodsou/WindowsBoot.md
Windows boot related commands

WINDOWS 10 BOOT TROUBLESHOOTING 😥

NO-HOPE WARNING: There is a HUGE probability that none of these things or the recovery options will bring back your Windows 10 to life. Also become aware that you CAN'T "reinstall preserving your data" from the installation DVD if your PC doesn't boot already. Great for you Microsoft...

Tips

  • Windows 10 has its small boot partition (which must be the "active" one -see diskpart or diskmgmt.msc- with a \boot\bcd file where the boot options of bcdedit are stored

  • Booting from installation DVD / recover usually c: and d: are swapped from normal boots (being c: the boot partition and d: where windows\system is, so don't freak out

@Coldblackice
Coldblackice / w10_bcd_error_0xc0000098.md
Created May 29, 2025 20:21 — forked from diffficult/w10_bcd_error_0xc0000098.md
Windows 10 Error: BCD missing - error 0xc0000098

Fixing Boot Error 0xc0000098 on Windows 10 (8 & 7)

Method 1: Run Automatic/Startup Repair

  1. Insert the Windows 10 bootable installation DVD and restart your PC.

  2. When prompted to Press any key to boot from CD or DVD, press any key to continue.

  3. Select your language preferences, and click Next. Click Repair your computer in the bottom-left.

@Coldblackice
Coldblackice / decryptchromecookies.py
Created May 24, 2025 11:19 — forked from GitHub30/decryptchromecookies.py
Simple Decrypt Chrome/Firefox Cookies File (Python 3) - Windows
import sqlite3
def get_chrome_cookies(db=None):
import json
from base64 import b64decode
from win32.win32crypt import CryptUnprotectData # pip install pywin32
# should use Cryptodome in windows instead of Crypto
# otherwise will raise an import error
from Cryptodome.Cipher.AES import new, MODE_GCM # pip install pycryptodomex