Skip to content

Instantly share code, notes, and snippets.

View sgbaird's full-sized avatar

Sterling G. Baird sgbaird

View GitHub Profile
@sgbaird
sgbaird / firewall-list.csv
Created June 26, 2025 13:53
My running list of firewall allows, to be added to COPILOT_AGENT_FIREWALL_ALLOW_LIST as a copilot environment, environment variable (typically I've been assigning a first issue to copilot so it autocreates that environment). See https://docs.github.com/en/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent
pishop.ca primecables.ca mcmaster.com pypi.org pypi.python.org www.shopperplus.ca www.raspberrypi.com doi.org github.com api.github.com install.python-poetry.org tailscale.com gh.io
@sgbaird
sgbaird / copilot-coding-agent-config.json
Last active June 26, 2025 13:55
My running attempt at creating an MCP config for GitHub Copilot Coding agent (note this is for ones to be adding to settings on a GitHub repo, see `https://github.com/<username>/<repository>/settings/copilot/coding_agent`). See github docs: https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/coding-agent/extending-cop…
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
],
"tools": ["*"]
},
"Perplexity": {
@sgbaird
sgbaird / copilot-instructions.md
Last active June 26, 2025 13:54
My attempt at refining a customized .github/copilot-instructions.md and using it in conjunction with GitHub Coding Agent. See https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks for additional context on the intention of this file.

Development Practices

  • Start with minimal, lean implementations focused on proof-of-concept
  • Avoid implementing things from scratch
  • Avoid defensive error handling for hypothetical failures
  • Use print statements and logging sparingly, unless asked
  • Avoid light wrappers and custom classes, unless asked
  • Avoid if __name__ == "__main__" patterns in package code
  • Skip unit tests unless explicitly requested
  • Follow patterns in CONTRIBUTING.md when present
@aallan
aallan / ap_webserver.py
Created July 7, 2022 13:43
Running a web server on an wireless Access Point for Raspberry Pi Pico W in MicroPython
import socket
import network
import machine
ssid = 'MicroPython-AP'
password = '123456789'
led = machine.Pin("LED",machine.Pin.OUT)
ap = network.WLAN(network.AP_IF)
@dblalock
dblalock / ML Meta-analyses.md
Last active November 28, 2023 14:50
List of meta-analyses / independent benchmarking of machine learning and data mining papers
@piyushrpt
piyushrpt / customfeedstock.md
Last active October 21, 2021 20:17
Setting up custom conda feedstock
@kylemcdonald
kylemcdonald / Earth Mover's Distance.ipynb
Created April 7, 2019 02:08
Faster 1d Earth Mover's Distance with numpy and numba.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bmaupin
bmaupin / free-database-hosting.md
Last active June 29, 2025 20:22
Free database hosting
@borlaym
borlaym / animals.json
Created December 15, 2014 13:38
Array of animal names
[
"Aardvark",
"Albatross",
"Alligator",
"Alpaca",
"Ant",
"Anteater",
"Antelope",
"Ape",
"Armadillo",