Skip to content

Instantly share code, notes, and snippets.

View Melraidin's full-sized avatar

Kevin Martin Melraidin

  • Balance.ca
  • Toronto, Ontario, Canada
View GitHub Profile
@devdazed
devdazed / slack-pagerduty-oncall.py
Last active September 10, 2024 20:00
Updates a Slack User Group with People that are on call in PagerDuty
#!/usr/bin/env python
from __future__ import print_function
import json
import logging
from urllib2 import Request, urlopen, URLError, HTTPError
from base64 import b64decode
@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active August 5, 2024 13:01
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap