| """ | |
| Hello, here is a script to restore a deleted PR even if you don't have it locally : | |
| Run it in the project folder with the project and PR number as argument : | |
| openfisca-core> python3 recover_pr.py openfisca/openfisca-core 1338 | |
| It will give you the command line to restore : | |
| Analyzing PR openfisca/openfisca-core#1338... | |
| Found force-push event by Ndpnt on 2025-11-25T21:32:00Z | |
| Before: 65a22ed928d579284a36c1252be67d8f43d9f0dd | |
| After: d2e7131536b0087227353a220a58577eca98c169 | |
| ---------------------------------------- |
- ✅ Full integration with Mimir's memory bank
- ✅ Graph functions enable multi-hop reasoning
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.
Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1
- Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
- Select "Create new custom chat mode file"
GitHub Copilot Custom Agent Mode
I modified that beast mode to be more robust, and I love it. Refactored an entire older repo I made from years ago just for fun and was able to do perfectly
I call it "Extensive Mode"
"Extensive Mode.chatmode.md"
The tools should be customized per environment and what you have available,
| import os | |
| import time | |
| import shutil | |
| import argparse | |
| # Create the argument parser | |
| parser = argparse.ArgumentParser(description='Pico Firmware Flasher') | |
| parser.add_argument('uf2_file_path', metavar='UF2_FILE', type=str, help='Path to the UF2 file') | |
| parser.add_argument('-d', '--drive_letter', type=str, default='D:', help='Drive letter of the Pico (default: D:)') |
For awhile now, each time I got a new Windows laptop I would dig up strasis gist on how to set up agent forwarding for SSH in WSL2 -- but recently I tried to point someone else at it and they were very confused by it, so this is my attempt at simpler instructions.
With Chocolatey, you must use an elevated PowerShell session. If there's no choco command found, it will fall back to winget for the npiperelay install. To force using Winget even if you have choco installed, you need to download it, so you can pass parameters to it.
Easy mode: just run this in PowerShell:
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU General Public License for more details. |