Skip to content

Instantly share code, notes, and snippets.

@jedisct1
jedisct1 / environment-variables.md
Created March 31, 2026 10:16
Claude Code environment variables full list

Claude Code Environment Variables

Scope and methodology

This file documents environment variables visible in the checked-in source of this repository snapshot. It is not guaranteed to be exhaustive for the full product, because many imported files are not present here.

For each variable, this document gives:

  • the visible purpose in code
  • the rough subsystem it belongs to
@roylee0704
roylee0704 / dockergrep.sh
Created December 9, 2016 08:24
how to grep docker log
docker logs nginx 2>&1 | grep "127."
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container
@ThiagoBarradas
ThiagoBarradas / windows-keys.md
Created December 8, 2024 07:35 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@vielhuber
vielhuber / script.js
Last active December 5, 2026 20:22
anton app coin hack #js
coins = 42,
sourceId = localStorage.getItem('sourceId').split('"').join(''),
deviceLogId = localStorage.getItem('deviceLogId').split('"').join(''),
users = JSON.parse(localStorage.getItem('users'));
users.forEach(users__value => {
fetch('https://logger-lb-5.anton.app/events', {
method: 'POST',
'headers': { 'Content-Type': 'application/json' },
body: JSON.stringify({
"events":[{"event":"adjustCoins","value":coins,"src":sourceId,"created":(new Date()).toISOString()}],

How To Make A Working TWRP Device Tree For Your MediaTek Device & Start Building Them, Online

This Guide is tested on 64-bit mt6735/53 chipset device. It will also work on any 64-bit and 32-bit devices.

You will need something from your Stock ROM first. Get them all and Try to modify it using the procedure.

Note: This guide will be helpful for you if you have older mediatek devices (android-5.1 or android-6.0), but up-to-date devices can also work.

Update: This guide had a few typos and derps (Oops..), but I've tried to make it free of those now (Dated November 18, 2020)

Bonus: You can also use this tool by @SebaUbuntu, @yshalsager and @mauronofrio to auto generate the twrp tree. The tool is best if your device runs on android-9.0. The tools is still not 100% compatible to all devices, but I'll still recommend it and give it 8.5/10 in the scale of varsatility.

// ==UserScript==
// @name Instagram Keyboard Shortcuts for Power User
// @namespace http://tampermonkey.net/
// @version 2.4.13
// @description Scroll through posts with J/K, like with L, save with O, play/stop with P, fullscreen with F. Consistent with Gmail, Twitter, Tumblr, etc.
// @author Eduardo Clemens (adapted from French Bond)
// @match https://www.instagram.com/*
// @icon https://www.instagram.com/static/images/ico/favicon.ico/36b3ee2d91ed.ico
// @grant none
// @require https://code.jquery.com/jquery-3.7.1.min.js
@samgaw
samgaw / gist:990778
Created May 25, 2011 10:54
sed One Liners
-------------------------------------------------------------------------
HANDY ONE-LINERS FOR SED (Unix stream editor) Apr. 26, 2004
compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.4
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
@tinuwalther
tinuwalther / kms-settings.ps1
Last active December 5, 2026 20:05
KMS Setting
<#
.SYNOPSIS
Check KMS Settings
.DESCRIPTION
1. Get License Information from Windows Software Licensing Management Tool (slmgr.vbs)
2. Get KMS Information from DNS (nslookup -type=srv _vlmcs._tcp)
3. Get License Information from local Registry Software Protection Platform
4. Check connectivity to KMS Server and the port from the local Registry
5. Check connectivity to KMS Server and the port from the slmgr.vbs
@Mervenguest
Mervenguest / info.txt
Last active December 5, 2026 20:04
KMS-Server list
Computers that are running volume licensing editions of Windows 10, Windows 8.1, Windows Server 2012 R2, Windows 8,
Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Vista, and Windows Server 2008 are, by default,
KMS clients with no additional configuration needed.
@i7zm3
i7zm3 / Check-KMSServers.ps1
Last active December 5, 2026 20:03
How to Use Open PowerShell: Run PowerShell as Administrator. Create the Script File: Open a text editor (e.g., Notepad). Copy and paste the script above into the text editor. Save the file with a .ps1 extension, for example, Check-KMSServers.ps1. Run the Script: In PowerShell, navigate to the directory where you saved the script. Execute the scr…
## .\Check-KMSServers.ps1
# may need to run in powershell first
# Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# Define the list of KMS servers
$servers = @(
"kms.srv.crsoo.com",
"cy2617.jios.org",
"kms.digiboy.ir",
"kms.cangshui.net",
"kms.library.hk",