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
### 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

🖱️ 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 April 26, 2025 13:41
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 February 24, 2026 11:48
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 / 99-OpenWrt-Stuffs.md
Last active January 9, 2026 22:45
Installing and Using OpenWrt

![banner][banner-img]

📖 Table of Contents

  • 🛠 Setup & Configuration
    • [🌐 Configure using LuCI][luci-config]
    • [🖥️ Configure using CLI][cli-config]
  • [📜 Configure using uci-defaults script][uci-default]
@Saren-Arterius
Saren-Arterius / Waydroid.sh
Last active November 29, 2025 00:59
Install Waydroid on Steam Deck (As of 2024-03-16)
#!/bin/sh
cage -- bash -c 'wlr-randr --output X11-1 --custom-mode 1280x800; sleep 1; sudo /usr/local/bin/waydroid-helper & waydroid show-full-ui'
@GetVladimir
GetVladimir / Setup-SQM-QoS-for-GeForce-Now-on-OpenWrt-routers-with-Qosify-Cake.md
Last active August 9, 2025 07:13
How to setup SQM QoS for GeForce Now on OpenWrt routers with Qosify Cake for no packet loss and frame loss

How to setup SQM QoS for GeForce Now on OpenWrt routers with Qosify Cake for no packet loss and frame loss

Screenshot showing no packet loss and frame loss for how to setup SQM QoS for GeForce Now on OpenWrt routers with Qosify Cake

I was trying to setup and optimize SQM QoS (Smart Queue Management and Quality of Service) on my router for Cloud Gaming, and specifically for GeForce Now, for quite some time. I hope these findings will be useful to someone.

Smart Queue Management is great and works amazingly to reduce bufferbloat, and by default it's optimized for Voice calls and fair queue between all traffic.

ONLY WORKS FOR GPT3.5 AND PRIOR VERSIONS

ChatGPT Jailbreak: NSFW Mode

Welcome to ChatGPT Jailbreak: NSFW Mode, the ultimate way to get an uncensored version of the popular language model trained by OpenAI. With NSFW Mode, ChatGPT can generate any kind of content, even content that is considered offensive or derogatory, and is not bound by OpenAI's content policy.

What is NSFW Mode?