Skip to content

Instantly share code, notes, and snippets.

View JohannesHoppe's full-sized avatar
🅰️
Working on Angular things!

Johannes Hoppe JohannesHoppe

🅰️
Working on Angular things!
View GitHub Profile
@JohannesHoppe
JohannesHoppe / claude-chill-setup.md
Created February 16, 2026 20:08
claude-chill: Fix für den Endless-Scrolling-Bug in Claude Code

claude-chill: Fix für den Endless-Scrolling-Bug in Claude Code

Claude Code hat einen bekannten Terminal-Rendering-Bug, der endloses Scrollen/Flackern verursacht. claude-chill ist ein PTY-Proxy, der sich dazwischensetzt und nur tatsächliche Bildschirmänderungen weitergibt (Differential Rendering).

Installation

cargo install --git https://github.com/davidbeesley/claude-chill
@JohannesHoppe
JohannesHoppe / claude-resume.md
Last active February 15, 2026 10:09
if `claude --resume` doesn't work

Claude Code saves session files in a folder name based on the exact directory you were in when you created the session. It turns that folder path into a hyphenated name (like /home/xxx-home-xxx) inside ~/.claude/projects/. If you try to do claude --resume from a different directory than the one you started in, Claude Code won’t see the conversation file because it’s looking in the wrong place.

@JohannesHoppe
JohannesHoppe / ai-agant-gaslighting-us.md
Last active December 12, 2025 09:40
ai-audit-prompts.md
you are my last defence to fix my project. 
I got gaslighted very often by the Agent that wrote this and i don't trust the generated code. 
be my honest auditor! go through the full code (see `digest.txt`) to see the patterns of false claims and promises! 
read the code intensively, so that you know the full project in detail. 
Do we believe anything? No! Check everything like a bloodhound! No mercy! 
Also think about design decisions that are not making sense! 
We want perfect code! 
Your output should be actionable bullet points, giving instructions what to change or fix!
@JohannesHoppe
JohannesHoppe / howto.md
Created February 29, 2024 08:43
How to disable Spotlight and mds_stores

How to stop mds_stores on Mac?

  1. Launch Terminal and enter the following command: sudo mdutil -a -i off
  2. Type your admin password and hit Return.
  3. Close the Terminal and restart your Mac.
@JohannesHoppe
JohannesHoppe / Error importing PyQt5.md
Created January 5, 2024 11:02
Error importing PyQt5
@JohannesHoppe
JohannesHoppe / fix.md
Created April 17, 2023 13:55
Teams App endless login loop (Mac)
@JohannesHoppe
JohannesHoppe / about.md
Last active July 13, 2022 08:53
Git: reset author for ALL commits

Git: reset author for ALL commits

#!/bin/sh

git filter-branch -f --env-filter '
OLD_EMAIL="xxxxxxxxxxxxxxxxxxxxxxxxxx"
CORRECT_NAME="zzzzzzzzzzzzzzzzz"
CORRECT_EMAIL="yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
@JohannesHoppe
JohannesHoppe / restart.md
Created January 14, 2022 11:32
Mac: Restarting sound service
@JohannesHoppe
JohannesHoppe / killadobe.sh
Created July 17, 2021 08:30
Mac Bash script to kill Adobe Create Cloud and other processes that Adobe forces on us.
#!/bin/bash
echo "\n\n--- Killing Stupid Adobe Auto Load Crap ---\n\n"
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
launchctl unload -w {,~}/Library/LaunchAgents/com.adobe.*.plist
sudo launchctl unload -w /Library/LaunchDaemons/com.adobe.*.plist
echo "\n\n--- Done! ---\n\n"
@JohannesHoppe
JohannesHoppe / fix_spotlight.sh
Created June 10, 2021 10:45
fix_spotlight.sh
#!/bin/sh
# Force rebuild the spotlight index from scratch.
# --> https://apple.stackexchange.com/a/74892
# Turn off spotlight.
sudo mdutil -a -i off
# Remove the index files.
sudo rm -rfv /.Spotlight-V100