Skip to content

Instantly share code, notes, and snippets.

View Coldblackice's full-sized avatar

Coldblackice

  • NYC
View GitHub Profile
@Coldblackice
Coldblackice / screenwriting.md
Created October 4, 2026 17:31 — forked from dideler/screenwriting.md
Save the Cat! - Beat Sheet

A formula that lays out, on a page-by-page basis, exactly what should happen when, in a screenplay.
Each page is roughly equivalent to a minute of screen time.
Page counts don’t need to be followed strictly, but it’s important to get the proportions fairly close.

Opening image (p. 1)
Sets the tone for the story and suggests the protagonist’s primary problem.
Theme is stated (p. 5)
A question or statement, usually made to the protagonist, indicating the story’s main thematic idea.
@Coldblackice
Coldblackice / Mediakeys.ahk
Created May 12, 2026 20:50 — forked from mistic100/Mediakeys.ahk
Media keys shortcuts for AutoHotkey
; AutoHotkey Media Keys
^!Space::Send {Media_Play_Pause}
^!Left::Send {Media_Prev}
^!Right::Send {Media_Next}
^!NumpadMult::Send {Volume_Mute}
^!NumpadAdd::Send {Volume_Up}
^!NumpadSub::Send {Volume_Down}
@Coldblackice
Coldblackice / administrator_context.ps1
Created March 28, 2026 07:22 — forked from MyITGuy/administrator_context.ps1
Check if user has Administrator role
function Test-AdministratorContext {
[CmdletBinding()]param()
$CurrentWindowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$CurrentWindowsPrincipal = New-Object System.Security.Principal.WindowsPrincipal($CurrentWindowsIdentity)
$IsAdministratorContext = $CurrentWindowsPrincipal.IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)
Write-Verbose "Current Context Is Administrator = $IsAdministratorContext"
return $IsAdministratorContext
}
@Coldblackice
Coldblackice / bitrock-unpacker.tcl
Created February 25, 2026 11:34 — forked from mickael9/bitrock-unpacker.tcl
Bitrock unpacking script
#!/usr/bin/env tclkit
#
# Bitrock unpacking script
#
# This script must be executed using 32-bit tclkit
#
# Author : mickael9 <mickael9 at gmail dot com>
#
# Latest version can be found at:
# https://gist.github.com/mickael9/0b902da7c13207d1b86e
@Coldblackice
Coldblackice / medium.user.js
Created February 23, 2026 18:29 — forked from mathix420/medium.user.js
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@Coldblackice
Coldblackice / fuck_telemetry.cmd
Created December 25, 2025 18:32 — forked from FadeMind/fuck_telemetry.cmd
Turn Off Telemetry in Windows 10
@echo off
echo.
openfiles > NUL 2>&1
if %errorlevel% NEQ 0 (
echo You are not running as Administrator...
echo This batch cannot do it's job without elevation!
echo.
echo Right-click and select ^'Run as Administrator^' and try again...
echo.
@Coldblackice
Coldblackice / exportportfilteredfirewallrules_KeyColumns.ps1
Created September 4, 2025 08:47 — forked from AlexFielder/exportportfilteredfirewallrules_KeyColumns.ps1
Export Windows Firewall rules to human readable csv file - PORTS ONLY (Filtered columns!)
get-netfirewallrule | Get-NetFirewallPortFilter | select-object Protocol, LocalPort, RemotePort,
InstanceID, CreationClassName | export-csv "C:\path\to\script\output-PORTS_Filtered.csv"
@Coldblackice
Coldblackice / twitch_react_native.js
Created August 28, 2025 08:14 — forked from maxgfr/twitch_react_native.js
Twitch library using react-native (expo)
import { AsyncStorage } from 'react-native';
import { WebBrowser, AuthSession } from 'expo';
import {
TWITCH_CLIENT_ID,
TWITCH_SECRET_ID
} from 'react-native-dotenv'
const TWITCH_REDIRECT_URI= AuthSession.getRedirectUrl();
const TWITCH_BASE_URL="https://api.twitch.tv/kraken/";
@Coldblackice
Coldblackice / wmp_h.265_hevc.md
Created August 28, 2025 01:48 — forked from Aldaviva/wmp_h.265_hevc.md
Play H.265/HEVC videos in Windows Media Player (Classic) without a third-party codec pack or media player. Tested using Microsoft.HEVCVideoExtension_2.0.60091.0_x64__8wekyb3d8bbwe with WMP 12.0.20348.1311 on Windows Server 2022 21H2 and 12.0.22621.1105 on Windows 11 22H2.

Download

  1. Go to https://store.rg-adguard.net.
  2. Search for the HEVC Video Extensions from Device Manufacturer (Microsoft.HEVCVideoExtension) app by entering the following store URL into the search box and clicking the ✔ button.
    https://www.microsoft.com/en-us/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq
    
    • Do not use the normal HEVC Video Extensions app URL, because that can't play HEVC videos in Windows Media Player for some inscrutable reason.
  3. Download the AppxBundle file.
    • You may have to right click › Save Link As because the URL scheme is http, not https, if your browser is set to enforce HTTPS-only mode.
  • If it tries to save as a filename that's just a GUID, you may copy the correct .AppxBundle filename and save it as that instead.