Skip to content

Instantly share code, notes, and snippets.

View tigrik626's full-sized avatar

Peter Vajda tigrik626

View GitHub Profile
@tigrik626
tigrik626 / uptimerobot_discord.js
Created November 9, 2019 10:23 — forked from T0biii/uptimerobot_discord.js
Uptime Robot Discord integrations
// Alert Contact Type: Web-Hooks
// URL to Notify: https://discordapp.com/api/webhooks/{WEB_HOOK_ID}/{TOKEN}?
// POST Value UP (JSON Format):
{
"content": "@here: πŸ”₯ **Monitor is:** `*alertTypeFriendlyName*` πŸ’‘ **Service:** `*monitorFriendlyName*` ⌨️ **DNS/IP:** *monitorURL* :hourglass_flowing_sand: **Downtime:** `*alertDuration* seconds` :hourglass: \n```*alertDetails*```"
}
// POST Value DOWN (JSON Format):
{
"content": "@here: πŸ”₯ **Monitor is:** `*alertTypeFriendlyName*` πŸ’‘ **Service:** `*monitorFriendlyName*` ⌨️ **DNS/IP:** *monitorURL* \n```*alertDetails*```"
}
@tigrik626
tigrik626 / arch-linux-install
Created December 7, 2018 09:43 — forked from mattiaslundberg/arch-linux-install
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