Skip to content

Instantly share code, notes, and snippets.

View varunsridharan's full-sized avatar
😀

Varun Sridharan varunsridharan

😀
View GitHub Profile
@artemgetmann
artemgetmann / claude-code-token-saving-guide.md
Last active October 17, 2026 16:41
Practical workflow for reducing token usage in Claude Code while preserving session continuity. Includes compacting strategies, CLAUDE.md structure, modular context management, and prompt engineering tips.

🧠 How to Save Context Tokens When Using Claude Code

This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).


✅ Setup: Populate CLAUDE.md

Claude loads CLAUDE.md automatically at session start.

@mostwanted002
mostwanted002 / blocklists.md
Created March 2, 2024 12:52
Indian PC Hardware #homelab Adblocking Lists
List Link
Abuse.ch ThreatFox IOC DB Link
OISD - Domain Blocklist Ads Link
OISD - Domain Blocklist Big Link
AdAway List Link
AdGuard List Link
Blocklist.site Abuse Link
Blocklist.site Ads Link
Blocklist.site Crypto Link
@jcmartinezdev
jcmartinezdev / smart_contract.sol
Last active January 5, 2023 19:16
Access a Smart Contract from your web application
pragma solidity ^0.6.6;
contract CoolNumberContract {
uint public coolNumber = 10;
function setCoolNumber(uint _coolNumber) public {
coolNumber = _coolNumber;
}
}
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active November 19, 2026 13:23
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@xezpeleta
xezpeleta / edgerouter_dns.md
Created January 22, 2019 12:11
Dynamic DNS on the Ubiquiti EdgeRouter X

Ubiquiti EdgeRouter X: custom dynamic DNS

ssh ubnt@<your-ip>
configure

Obtain your public IP address behind a NAT: using ipinfo.io

@goofball222
goofball222 / docker-compose.yml
Created November 29, 2018 23:17
Pi-Hole stack docker-compose.yml for Android Private DNS ad filtering
version: '3'
services:
dns-over-https-client:
image: goofball222/dns-over-https
container_name: dns-over-https-client
restart: unless-stopped
networks:
external:
internal:
@jcallin
jcallin / apline-s3fs-install.sh
Last active May 23, 2023 09:19
Install s3fs on Alpine Linux
apk update && apk add git
apk add build-base automake autoconf libxml fuse-dev curl-dev
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse
./autogen.sh
./configure
make
make install
@KulaGGin
KulaGGin / openInPhpStorm.bat
Created September 21, 2018 23:34
Add `Open with PhpStorm` to Windows right click context menu
@echo off
SET PhpStormPath=D:\Programs\JetBrains\PhpStorm 2018.1.6\bin\PhpStorm64.exe
echo Adding file entries
@reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm" /t REG_SZ /v "" /d "Open in PhpStorm" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm" /t REG_EXPAND_SZ /v "Icon" /d "%PhpStormPath%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm\command" /t REG_SZ /v "" /d "%PhpStormPath% \"%%1\"" /f
echo Adding within a folder entries
@jbjonesjr
jbjonesjr / getting-going-best-practices.md
Created May 2, 2018 19:57
Getting Going and Best Practices Guide

GitHub Onboarding and Introduction

A guide for getting started and best practices for teams new to, or improving their interactions with, GitHub

image GitHub's features and capabilities

This document is meant to help new teams to GitHub familiarize themselves with the features and platform, as well as start to explore some of the best practices. While not a complete exploration, it's meant as a introduction to the key tenets of using GitHub for your business. For teams and organizations that desire more one on one support, GitHub Professional Services has many different options available to customize tools, training, and process to best meet your needs. The GitHub offerings listed in the diagram above are just a sampling of the various capabilities and we'd love to create a customized offering to meet your specific organizational needs.

Overview and Intr