Skip to content

Instantly share code, notes, and snippets.

@maxwellb
maxwellb / # OpenWrt configuration
Last active April 8, 2025 08:47
Netgear R6220 (mt7621)
..
@maxwellb
maxwellb / #! Javascript snippets.md
Last active December 10, 2024 22:01
Bits and pieces

Javascript snippets

@maxwellb
maxwellb / #_# README.md
Created August 23, 2023 20:51
do the thing

mmkay

@maxwellb
maxwellb / # Gitea API for Migration
Created November 23, 2022 18:32
API calls to Gitea to migrate repos from GitHub, Gitlab, etc.
..
@maxwellb
maxwellb / # Azure Pipelines - Sync Repos with Upstream
Created November 22, 2022 06:58
Update my repos in GitHub to remain in sync with the upstream projects
..
@maxwellb
maxwellb / # Blogger Bits #
Last active November 24, 2020 16:46
Blogger Bits
...
@maxwellb
maxwellb / :jsdoc-snippets.md
Last active April 24, 2020 16:55
JSDoc snippets

...

@maxwellb
maxwellb / :HTML group elements.md
Last active April 24, 2020 20:14
JavaScript snippet
...
@maxwellb
maxwellb / .bashrc
Created October 29, 2019 02:37
bashrc snippet - ssh-agent.service
# User mode service for ssh-agent -- set the environment variables
SSH_AGENT_PID=$(systemctl --user show ssh-agent.service | grep ^MainPID= | cut -d= -f2)
if [ "0" = "${SSH_AGENT_PID}" ]; then
systemctl --user restart ssh-agent.service
SSH_AGENT_PID=$(systemctl --user show ssh-agent.service | grep ^MainPID= | cut -d= -f2)
fi
export SSH_AGENT_PID
export SSH_AUTH_SOCK="/run/user/$(id -u)/openssh_agent"