Skip to content

Instantly share code, notes, and snippets.

View jessicacarneiro's full-sized avatar

Jéssica Carneiro jessicacarneiro

View GitHub Profile
@lukebelliveau
lukebelliveau / CLAUDE_SUBAGENTS_TODO.md
Last active October 10, 2025 07:48
Keeping Claude Code on track during long-running tasks

Keeping Claude On Track With Planning Lists and Subagents

tl;dr: Claude struggles to maintain focus over long sessions and large codebases. To mitigate this, require Claude to maintain a detailed plan in a file and use subagents to complete the plan's tasks one after the other.

Claude Code is great at doing small, self-contained tasks. It starts to show its limitations over the course of longer sessions and larger codebases. As its context fills with information that is no longer relevant, it loses track of the task at hand, its design decisions become less sensible, and it gets worse at following basic instructions as a session progresses.

Often, the biggest struggle with Claude Code is just to help it remember what it's supposed to be working on. As we run out of context space, the agent gets "dumber" and "dumber" until eventually we need to start a new session.

@gauchy
gauchy / notion2Habitica.py
Last active October 10, 2025 00:06
Notion to Habitica Sync tool
import requests, json
#Notion's token and databaseId
token = 'XXX'
databaseId = 'XXX'
#Notion's headers
headers = {
"Authorization": "Bearer " + token,
"Content-Type": "application/json",
#!/usr/bin/env bash
set -e
readonly CONTENT_MAIN_TF='module "wrapper" {}'
readonly CONTENT_VARIABLES_TF='variable "items" {
description = "Maps of items to create a wrapper from. Values are passed through to the module."
type = any
default = {}
}'
@jamesmacfie
jamesmacfie / README.md
Created October 22, 2019 02:53
iTerm 2 - script to change theme depending on Mac OS dark mode

How to use

In iTerm2, in the menu bar go to Scripts > Manage > New Python Script

Select Basic. Select Long-Running Daemon

Give the script a decent name (I chose auto_dark_mode.py)

Save and open the script in your editor of choice.

@FradSer
FradSer / iterm2_switch_automatic.md
Last active April 6, 2025 09:19
Switch iTerm2 color preset automatic base on macOS dark mode.

The latest beta (3.5) includes separate color settings for light & dark mode. Toggling dark mode automatically switches colors.

Vist iTerm2 homepage or use brew install iterm2-beta to download the beta. Thanks @stefanwascoding.


  1. Add switch_automatic.py to ~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch with:
@aprilmintacpineda
aprilmintacpineda / Using Multiple SSH keys - Beginner Friendly.md
Last active February 24, 2026 06:43
Beginner Friendly: Using Multiple SSH keys

How to follow this guide

The problem

I have one computer and two different github accounts. One is for work, the other is for my personal stuff. I can't use the same ssh key twice, so I have to use different ssh key for each of my accounts. How do I do that? How do I switch between these ssh keys?

@pfichtner
pfichtner / tinytx.vagrantfile
Created June 5, 2017 23:06
A Vagrantfile for an Arduino IDE supporting arduino-tiny (https://nathan.chantrell.net/tinytx)
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<EOF
apt install -y arduino
usermod -aG dialout vagrant
wget 'https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/arduino-tiny/arduino-tiny-0150-0020.zip' -O arduino-tiny.zip
unzip arduino-tiny.zip
rm arduino-tiny.zip

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@vasanthk
vasanthk / System Design.md
Last active March 18, 2026 09:58
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@parmentf
parmentf / GitCommitEmoji.md
Last active March 16, 2026 01:28
Git Commit message Emoji