Skip to content

Instantly share code, notes, and snippets.

View cbandera's full-sized avatar

Claudio Bandera cbandera

  • Stuttgart, Germany
View GitHub Profile
@lukeocodes
lukeocodes / gh-issueBranch.alias
Last active June 4, 2022 10:54
Github CLI alias to create a branch from GitHub Issue
gh alias set issueBranch --shell \
'title="$(gh issue view $1 --json title --jq .title)"; \
slug="$(source $HOME/.zshrc && slugify "$title")"; \
git checkout -b "prefix-$1.$slug"'
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active May 9, 2025 01:11
set -e, -u, -o, -x pipefail explanation
@NathanGiesbrecht
NathanGiesbrecht / noip2.service
Last active March 18, 2025 13:47
Systemd Service file for no-ip.com dynamic ip updater
# Simple No-ip.com Dynamic DNS Updater
#
# By Nathan Giesbrecht (http://nathangiesbrecht.com)
#
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin)
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file
# 3) Copy this file noip2.service to /etc/systemd/system/
# 4) Execute `sudo systemctl daemon-reload`
# 5) Execute `sudo systemctl enable noip2`
# 6) Execute `sudo systemctl start noip2`