This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).
Claude loads CLAUDE.md automatically at session start.
| <?php | |
| class NestopiaExtractor { | |
| //private vars for storage of stats | |
| var $home; | |
| var $away; | |
| //hex locations for stats | |
| const SCORE_LOC = 0x3CD; |
| // Remember: import UserNotifications | |
| func sendNotification(title: String, body: String = "") { | |
| let content = UNMutableNotificationContent() | |
| content.title = title | |
| if body.count > 0 { | |
| content.body = body | |
| } | |
| #!/Users/brian/bin/perl -CASD | |
| use v5.30; | |
| use open qw(:std :utf8); | |
| use Math::Random::Secure qw(irand rand); | |
| =encoding utf8 | |
| =head1 NAME |
| #!/bin/bash | |
| # | |
| # arp-monitor, an ARP tables monitor | |
| # inspired by https://gist.github.com/maugern/30ace2764aafc683a802de2ed82f91af | |
| # | |
| # This script is intended to start on launch and run on an always connected device on a network (eg: server). | |
| # It scans the network with 'arp -a' and sends a notification webhook whenever recognizes a new mac address on the network. | |
| # | |
| # For auto-run on login you can rename the script to a .command and add it to your Login items on Mac OS or | |
| # modify the script to remove the loop and take a look at crontab |
| package Less::Boilerplate; | |
| use 5.26.0; | |
| use strict; | |
| use warnings; | |
| use feature (); |
| #/bin/bash | |
| # Installs google-drive-ocamlfuse on Debian (Stretch & Buster) | |
| # | |
| # Run this oneliner to make it happen | |
| # bash <(curl -sSL https://gist.github.com/hannesbe/6c110e9de6644f07a48eecfdbe6b728d/raw) | |
| sudo apt install -y software-properties-common dirmngr | |
| sudo cat > /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-bionic.list << EOF | |
| deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main |
This tutorial describes how to install TLS to a mail server consisting of Postfix and/or Dovecot by using Let's Encrypt certificates with automatic renewing and firewall management.
The system used for this tutorial was:
$ lsb_release -idrc
Distributor ID: Ubuntu| /* NOTICE: THIS WAS MADE BACK IN 2017, OF COURSE IT'S NOT GOING TO WORK WELL NOW THAT TWITTER'S FUCKED THINGS UP */ | |
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain("twitter.com") { | |
| [data-component-context="suggest_recap"], | |
| [data-component-context="suggest_who_to_follow"], | |
| [data-component-context="suggest_activity"], | |
| [data-component-context="suggest_activity_tweet"], | |
| [data-component-context="suggest_recycled_tweet_inline"], | |
| [data-component-context="suggest_recycled_tweet"]{ |