Skip to content

Instantly share code, notes, and snippets.

View macx's full-sized avatar
🚲

David Maciejewski macx

🚲
View GitHub Profile
@yurukusa
yurukusa / agents-md-guide-en.md
Last active September 9, 2026 16:02
Does Claude Code read AGENTS.md? No — it reads CLAUDE.md. The official @AGENTS.md import and symlink methods that actually work (the 'reads it as a fallback' claim is wrong), plus five operator-side patterns for keeping the two files in sync. For the #6235 cluster (5,200+ reactions).

Does Claude Code read AGENTS.md? (No — here's what actually works)

For operators running Claude Code alongside Codex, Cursor, Amp, or Aider — and tired of maintaining two instruction files

Independent operator field guide, updated 2026-06-03. MIT-licensed prose. ~3,000 words.


Short answer: no — and the "fallback" claim you've seen is wrong

@macx
macx / HAWK-GT1191.code-profile
Last active November 28, 2024 09:13
VS Code Profile for Beginners
{"name":"HAWK-GT1191","settings":"{\"settings\":\"{\\n \\\"workbench.colorTheme\\\": \\\"Night Owl Light\\\",\\n \\\"editor.tabSize\\\": 2,\\n \\\"editor.formatOnSave\\\": true,\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\",\\n \\\"editor.fontSize\\\": 15,\\n \\\"window.zoomLevel\\\": 0,\\n \\\"editor.stickyScroll.enabled\\\": true,\\n \\\"editor.bracketPairColorization.independentColorPoolPerBracketType\\\": true,\\n \\\"editor.guides.bracketPairs\\\": true,\\n \\\"editor.wordWrapColumn\\\": 90,\\n \\\"editor.lineHeight\\\": 1.5,\\n \\\"emmet.triggerExpansionOnTab\\\": true,\\n \\\"emmet.showSuggestionsAsSnippets\\\": true,\\n \\\"prettier.bracketSameLine\\\": true,\\n \\\"prettier.singleQuote\\\": true,\\n \\\"prettier.printWidth\\\": 90,\\n \\\"terminal.integrated.fontSize\\\": 16,\\n \\\"indentRainbow.colors\\\": [\\n \\\"rgba(255,255,64,0.07)\\\",\\n \\\"rgba(127,255,127,0.07)\\\",\\n \\\"rgba(255,127,255,0.07)\\\",\\n \\\"rgba(79,236,236,0.07)\\\"\\n ]
@codepo8
codepo8 / 7devsecrets.md
Last active November 16, 2021 13:36
Resources for the "7 Developer Tools secrets that shouldn't be secrets" talks
@fredjoseph
fredjoseph / VirtualBox.md
Last active May 5, 2022 13:44
VirtualBox - Tips and tricks

Tips

Mouse click lost after a while

The solution is to search and kill the processes named /usr/bin/VBoxClient --draganddrop

  • Search pgrep -a VBoxClient
  • Kill kill <pid> (or do both with tools like htop)

Shared clipboard lost after a while

The solution is to kill the current processes named /usr/bin/VBoxClient --clipboard and start a new one.

  • Search pgrep -a VBoxClient
  • Kill kill <pid> (or do both with tools like htop)
@OktarinTentakel
OktarinTentakel / cash-shim.js
Created March 30, 2020 12:40
Cash + Slick Slider
//###[ CASH ]###########################################################################################################
// keep this here in case we want to extend $ or $.fn
import $ from '@client/cash';
_each(
'blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu'.split(' '),
(event) => {
$.fn[event] = function(callback){
if( callback ){
@OliverJAsh
OliverJAsh / foo.md
Created December 8, 2017 11:29
Avoiding CSS overrides in responsive components

Avoiding CSS overrides in responsive components

I would like to demonstrate some of the benefits of scoped styles over mobile-first CSS with overrides for wider breakpoints. I'll start by explaining the two approaches, before listing the benefits.

Mobile-first with overrides for wider breakpoints

h2 {
  color: black;
 font-size: 2em;

Given a subscribed calendar with a url like

https://example.com/example.ics

To force Google Calendar to refresh and reload the contents right now, unsubscribe from the calendar and subscribe to a new calendar with a URL like

https://example.com/example.ics#1

Adding the anchor tag will force Google Calendar to think of it as a new calendar

@shopifypartners
shopifypartners / a-beginners-guide-to-sass-part-3-interpolation.liquid.scss
Last active February 13, 2023 08:04 — forked from stewartknapman/style.liquid.scss
A Beginner's Guide to Sass with Shopify — Part 3: Sass interpolation, Workflow and Object Oriented CSS - https://www.shopify.com/partners/blog/a-beginners-guide-to-sass-with-shopify-part-3
// Escaping Liquid in SCSS.
//
// Expected output:
// a{
// color: {{ settings.link-color }};
// }
a{
color: #{'{{ settings.link-color }}'};
}
@TylerFisher
TylerFisher / README.md
Last active February 25, 2025 11:23 — forked from onyxfish/README.md
Google Spreadsheets script to generate slugs from a range of cells

This script for Google Spreadsheets allows you to generate slugs for your data such as might be used for creating unique urls.

Use it like this!

# A B C
1 a b slug
2 foo baz bing =slugify(A2:B4)
3 bar BAZ
4 FOO baz-bing
@azizur
azizur / Creating a static copy of a dynamic website.md
Last active March 18, 2026 09:39
Creating a static copy of a dynamic website

The command line, in short…

wget -k -K -E -r -l 10 -p -N -F --restrict-file-names=windows -nH http://website.com/

…and the options explained

  • -k : convert links to relative
  • -K : keep an original versions of files without the conversions made by wget
  • -E : rename html files to .html (if they don’t already have an htm(l) extension)
  • -r : recursive… of course we want to make a recursive copy
  • -l 10 : the maximum level of recursion. if you have a really big website you may need to put a higher number, but 10 levels should be enough.