Skip to content

Instantly share code, notes, and snippets.

View jcchikikomori's full-sized avatar
💭
I may be slow to respond.

John Cyrill Corsanes jcchikikomori

💭
I may be slow to respond.
View GitHub Profile
@JavaGT
JavaGT / get_cookies_locally.user.js
Last active August 11, 2026 03:07
Get cookies.txt LOCALLY - Userscript port. Export cookies in Netscape/JSON/Header format. Safari-compatible.
// ==UserScript==
// @name Get cookies.txt LOCALLY
// @namespace https://github.com/kairi003/Get-cookies.txt-LOCALLY
// @version 0.2.0
// @description Get cookies.txt, NEVER send information outside (userscript port). Supports Safari via Userscripts app.
// @author kairi003
// @match *://*/*
// @grant GM_download
// @grant GM_notification
// @grant GM_setClipboard
@Orangestar12
Orangestar12 / instructions.md
Created February 21, 2026 01:27
How to make KDE Plasma look like Windows 98

Acquiring the assets:

  1. Download Reactionary (select Code > Download Source Code)
  2. Download Chicago95 (select Source Code (tar.gz))

Extracting the assets:

Open reactionary-master.tar.gz

  1. Extract desktoptheme/reactionary and desktoptheme/Reactionary to ~/.local/share/plasma/desktoptheme/
### Run this script on Windows (outside of the devcontainer!) to clear out Docker data and shrink the Docker VHD.
# Check if running as administrator, if not, relaunch as admin
if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
Write-Host "Script requires administrator privileges. Relaunching as administrator..." -ForegroundColor Yellow
# Get the current script path
$scriptPath = $MyInvocation.MyCommand.Path
# Relaunch the script as administrator

How to shrink docker_data.vhdx

Previous tutorials didnt worked for me because my setup is a little bit odd.
I'm using windows 11 machine with WSL2 and docker desktop.
I also use k3d to create kubernetes cluster. Also my k3d cluster have local registry
I also used skaffold and other shinigens

0. How much garbage you have?

%USERPROFILE%\AppData\Local\Docker\wsl\disk\ - there is your docker_data.vhdx

🖱️ Windows 11 - Restore Classic Context Menu

This GITS provides batch scripts to enable and disable the classic right-click context menu in Windows 11.


📋 Description

Windows 11 introduced a new modern-style context menu. If you prefer the classic Windows 10-style menu, these scripts modify the Windows Registry to bring it back.

@gianlucamazza
gianlucamazza / distrobox-macos-setup.sh
Created May 3, 2025 00:12
Installing Distrobox on macOS with full Podman support
#!/bin/bash
# Strict mode: exit on error, exit on unset variable, pipefail
set -euo pipefail
echo "🚀 Installing Distrobox on macOS with full Podman support..."
# 1. Check for Homebrew
if ! command -v brew >/dev/null 2>&1; then
echo "❌ Homebrew is not installed. Please install it first: https://brew.sh"
# Virtual memory settings.
# Kernel documentation: https://docs.kernel.org/admin-guide/sysctl/vm.html.
# Arch zram: https://wiki.archlinux.org/title/zram#Optimizing_swap_on_zram.
# Gaming tuning: https://pastebin.com/fwzW9whL.
# PopOS tuning: https://github.com/pop-os/default-settings/pull/163.
# MaxPerformanceWizard (MPW) https://gitlab.com/cscs/maxperfwiz/-/blob/master/maxperfwiz.
boot.kernel.sysctl = {
# Tunes how aggressively kernel evicts memory pages until a specific amount of free memory is left for your active working set
## Sweet spot for gaming is 125-200, near 200 makes kswapd swap too aggressive
@thenerdlygentleman
thenerdlygentleman / non_steam_games_bottles.md
Last active March 4, 2026 19:23
Start non-steam games in gaming mode with bottles.

Start non-steam games using bottles

My tutorial is based on this one from pudquick

Side note

Introduction

Disclaimer: I know that there are many ways to start a non-steam game on the

@bahadiraraz
bahadiraraz / Git_Commit_Freeze_Solution.md
Last active September 3, 2026 15:59
Git Commit Freeze Due to GPG Lock Issues (Solution)

Git Commit Freeze Due to GPG Lock Issues

If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.

Solution Steps

1. Check for GPG Lock Messages

Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.

@AzimsTech
AzimsTech / !OpenWrt-Stuffs.md
Last active August 6, 2026 20:46
Installing and Using OpenWrt

![banner][banner-img]

📖 Table of Contents

  • 🛠 Setup & Configuration
    • [🔑 SSH into OpenWrt][ssh]
    • [🌐 Configure using LuCI][luci-config]
  • [🖥️ Configure using CLI][cli-config]