Skip to content

Instantly share code, notes, and snippets.

View MarcHagen's full-sized avatar
🐣
I may be slow to respond.

Marc MarcHagen

🐣
I may be slow to respond.
View GitHub Profile
@PickleBoxer
PickleBoxer / 1Password_CLI_Windows_WSL_Setup.md
Last active April 26, 2025 12:32
1Password CLI on Windows Host Running on WSL

1Password CLI on Windows Host Running on WSL

This guide will walk you through the process of installing the 1Password Command Line Interface (CLI) on a Windows system and setting up an alias for it in the Windows Subsystem for Linux (WSL) using Zsh.

Prerequisites

  • Windows 10 or later with WSL enabled.
  • Zsh installed on your WSL distribution.
  • Windows Package Manager (winget) installed on your Windows system.
@konarskis
konarskis / release-versioned.yml
Created June 2, 2024 10:30
Organization-wide GitHub release notifications to Slack - Versioned
name: Create a new release (manual versioning)
# Creates a new release on GitHub using the specified version.
# Sends a Slack notification to the specified channel.
# Only use for the versioned release workflow.
on:
workflow_call:
inputs:
name:
description: |
@c0m4r
c0m4r / alpine_hetzner_arm_ipv6.md
Last active May 17, 2025 16:40
Alpine Linux installation on Hetzner Cloud VPS (Arm64/IPv6-only)

Alpine Linux installation on Hetzner Cloud VPS

(Arm64/IPv6-only)

This guide describes how to install Alpine Linux on Hetzner Cloud VPS CAX ARM64 Servers with IPv6-only setup.

image

Table of contents:

@Blackshome
Blackshome / sensor-light-add-on.yaml
Last active April 7, 2025 21:48
sensor-light-add-on.yaml
blueprint:
name: Sensor Light Add On
description: >
# ♾️ Sensor Light Add On - Media & Movie - House Alarm - Smoke Alarm + More
**Version: 2.3**
Lights, Camera, Action! Get ready to grab the popcorn because it's movie time with a touch of cinematic magic! 🎬✨
@bkuhl
bkuhl / release.yml
Created September 7, 2022 16:56
Manual GitHub Action for creating a release and publishing release details to Slack
# This github action is a Manual workflow that will create a release and generate release notes from
# merged pull requests. After creating the release, it will generate a Slack message from the release
# notes and publish a release notification to a given Slack channel.
#
# Relevant links:
# - https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
# - https://app.slack.com/block-kit-builder
#
# This file goes into your project's .github/workflows folder
@ImMyst
ImMyst / .zshrc
Last active November 20, 2020 14:50
My .zshrc config
🟢 Zsh config, snippets and aliases
@bearice
bearice / gist:331a954d86d890d9dbeacdd7de3aabe8
Created August 8, 2019 07:09
ubuntu preseed file for EFI booted software RAID1 rootfs
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US.UTF-8
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
@noamtamim
noamtamim / README.md
Last active April 23, 2025 16:57
Markdown with PlantUML

How to use PlantUML with Markdown

PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.

Here's how I combine the two, to create docs with embedded diagrams.

Step 0: Setup

Get the command-line PlantUML from the download page or your relevant package manager.

@candlerb
candlerb / missing-device-ports.py
Last active September 4, 2019 08:18
Report to highlight devices which are missing ports that are in the DeviceType template
# Install as reports/missing-device-ports.py
# Run as: python3 manage.py runreport missing-device-ports
from extras.reports import Report
from dcim.models import Device
class MissingDevicePorts(Report):
description = "Find devices which are missing ports that are in the device type template"
def test_add_ports(self):
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active June 1, 2025 22:41
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com