Skip to content

Instantly share code, notes, and snippets.

View michael-jennings's full-sized avatar

Michael Jennings michael-jennings

View GitHub Profile
@0xfauzi
0xfauzi / agents-md-best-practices.md
Created October 17, 2025 11:08
Agents.md best practices

AGENTS.md Best Practices for AI Coding Assistants: Comprehensive Guide

AGENTS.md has emerged as the de facto open standard for guiding AI coding assistants, now adopted by over 20,000 repositories and formalized in August 2025 through collaboration between OpenAI, Google, Cursor, Factory, and Sourcegraph. This file acts as a "README for machines"—providing structured, technical context that helps AI assistants write better code from the start. For Python + AWS + Terraform projects, a well-crafted AGENTS.md dramatically reduces friction, ensuring generated code follows your conventions, uses the right tools, and adheres to security requirements.

What is AGENTS.md and why it matters

AGENTS.md is a dedicated Markdown file that complements, not replaces, README.md. While README targets human developers with project overviews and quick-start guides, AGENTS.md contains detailed technical instructions specifically for AI coding agents. Think of it as onboarding documentation for an AI team member: ex

@michael-jennings
michael-jennings / unpinAllGoogleKeepNotes.js
Last active March 28, 2025 21:58
A script you can run in browser dev tools that will automatically unpin all pinned notes in google keep.
/*
WARNING: This has the side effect of reversing the note order, since it unpins the most recent notes to oldest, the notes end up getting added to the
unpinned list in the order they got unpinned. TLDR: The last pinned notes show up at the top of the unpinned list, since they
are the most recenlty unpinned ones.
To work with the script in the browser's Developer Tools just like you would with a normal JavaScript file and set breakpoints, you can follow these steps:
1. **Open the Sources Tab in DevTools**
@sechel
sechel / @ BroadcastChannel Polyfill.md
Created September 13, 2018 15:47
BroadcastChannel Polyfill

BroadcastChannel Polyfill

BroadcastChannel is a new communication API proposed in the HTML Standard but not yet widely implemented. It allows messages to be sent to all other BroadcastChannel instances sharing the same channel name within the same browsing context and origin.

var bc = new BroadcastChannel('name');

bc.postMessage(payload);
@SnuktheGreat
SnuktheGreat / modlist.md
Last active October 20, 2020 02:20
Fallout 4 VR mod list

Fallout 4 VR playthrough modlist

@LotteMakesStuff
LotteMakesStuff / 1.md
Last active June 30, 2025 09:30
UPM: How to make a custom package

UPM: How to make a custom package So, Unity has this shiny new package manager, and you have code you want to share between projects - wouldn't it be great if we could bundle up our shared code and plug it into all the projects that need it? Let's figure out how to make our own Package!


Todo

  • Modify the project manifest
  • Make a package manifest
  • Package the manifest up with some test code
  • Try it out in Unity!

@michael-jennings
michael-jennings / cloudSettings
Last active August 3, 2020 05:53 — forked from phosphoer/GravityItem.cs
Mario Galaxy Gravity for Unity
{"lastUpload":"2020-08-03T05:53:04.220Z","extensionVersion":"v3.4.3"}
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active September 4, 2026 00:42
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@antonfisher
antonfisher / material-ui-flexible-fixed-header-table.js
Last active March 16, 2020 23:22
React.js Material-UI Table component with flexible height and fixed header
/*
* React.js Material-UI Table and TableRow components with flexible height and fixed header
* - fixes "jumping" scrolling bar in WebKit browsers
* - shows permanent scrolling bar for other browsers
*
* Usage: import this Table and TableRow component instead of
* 'material-ui/Table' and 'material-ui/TableRow' component
*/
import React, {PropTypes} from 'react';
@runewake2
runewake2 / PhysicsDeformer.cs
Created December 21, 2016 04:40
Physics based mesh deformation. This is the physics system.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PhysicsDeformer : MonoBehaviour {
public float collisionRadius = 0.1f;
public DeformableMesh deformableMesh;
// Use this for initialization
@ChrisMBarr
ChrisMBarr / tslint-ban-config.json
Last active December 26, 2017 02:27
Configuration for TSLint's "ban" rule for modern Angular applications
"ban": [
true,
[ "angular", "each", "Don't rely on angular to perform loops. Either use a 'for of' loop or the native 'array.forEach': https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_each" ],
[ "jQuery", "each", "Don't rely on jQuery to perform loops. Either use a 'for of' loop or the native 'array.forEach': https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_each" ],
[ "$", "each", "Don't rely on jQuery to perform loops. Either use a 'for of' loop or the native 'array.forEach': https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_each" ],
[ "_", "each", "Don't rely on Underscore to perform loops. Either use a 'for of' loop or the native 'array.forEach': https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_each" ],
[ "_", "forEach", "Don't rely on Underscore to perform loops. Either use a 'for of' loop or the native 'array.forEach': https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_