Skip to content

Instantly share code, notes, and snippets.

View trimechee's full-sized avatar
💯

trimechee

💯
View GitHub Profile
@trimechee
trimechee / locked_cookie_test.py
Created February 1, 2024 10:19 — forked from csm10495/locked_cookie_test.py
POC that fetches cookies from a locked cookies file on Windows with Chromium based browsers
@csm10495
csm10495 / locked_cookie_test.py
Last active April 5, 2025 19:59
POC that fetches cookies from a locked cookies file on Windows with Chromium based browsers
@hl2guide
hl2guide / improve_windows.ps1
Created September 3, 2023 08:00
PowerShell - Improve Windows after New Install (in development)
# Improves Windows 11/10 after a fresh install - Run as Admin
$boolSetDarkModeForApps = $true
$boolSetDarkModeForSystem = $true
# Sets dark or light mode
if($boolSetDarkModeForApps -eq $true)
{
# Sets dark mode for apps
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize `
@vt-idiot
vt-idiot / catbox.ps1
Created February 14, 2023 00:45
Catbox Script for s0hv/foo_discord_rich
<#usage: use the following line as your command in the foobar2000 plugin
pwsh.exe C:\Path\To\catbox.ps1
note: doesn't work right on PowerShell 5 "powershell.exe", you need PowerShell 7#>
$upload = Resolve-Path -LiteralPath $input | Select-Object -ExpandProperty Path
$uri = "https://catbox.moe/user/api.php"
$body = @{
"reqtype"="fileupload"
"fileToUpload"=Get-Item $upload
}
Invoke-WebRequest -Uri $uri -Method POST -Form $body | Select-Object -ExpandProperty Content
@Aldaviva
Aldaviva / wmp_h.265_hevc.md
Last active April 16, 2025 16:40
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.
    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.
@Roshan-R
Roshan-R / channels.json
Created December 28, 2022 06:17
example for custom channels.json for termv
[
{
"name": "&Flix",
"logo": "https://static.epg.best/in/AndFlix.in.png",
"url": "https://sneh-z5api.herokuapp.com/?c=0-9-channel_2105335046",
"categories": [
{
"name": "Movies",
"slug": "movies"
}
⭐ Total Stars: 59
➕ Total Commits: 1,169
🔀 Total PRs: 333
🚩 Total Issues: 91
📦 Contributed to: 11
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active April 17, 2025 21:10
Make Firefox fast again
@luetage
luetage / automatic-line-wrap.js
Last active October 28, 2024 18:36
Collection of bookmarklets for Vivaldi browser command chains. Development version. Get the full recipes here ☛ https://forum.vivaldi.net/post/500553
// Automatic Line Wrap
// Automatically switch on wrapping lines in page source.
javascript: (() => {
document.querySelector("input").click();
history.replaceState({}, "", location.href);
})();
@taskylizard
taskylizard / gh-download.py
Created January 17, 2022 09:08 — forked from pdashford/gh-download.py
Python script to download folders from Github repo
"""
Downloads folders from github repo
Requires PyGithub
pip install PyGithub
"""
import os
import sys
import base64
import shutil