Skip to content

Instantly share code, notes, and snippets.

View Cryptophobia's full-sized avatar
〰️
always seeking a state of flow

AMO 🐶⛺🌳 Cryptophobia

〰️
always seeking a state of flow
View GitHub Profile
@Cryptophobia
Cryptophobia / changelog-v2.21.0.md
Created May 6, 2019 00:34
Hephy Workflow v2.21.0 Changelog

Releases

  • router v2.15.1 -> v2.16.0
  • slugbuilder v2.7.0 -> v2.7.1
  • workflow v2.20.2 -> v2.21.0
  • workflow-cli v2.20.2 -> v2.21.0
  • workflow-e2e v2.20.2 -> v2.21.0

Features

@Cryptophobia
Cryptophobia / recursive.sh
Last active October 25, 2019 19:22
SegmentationFault.sh
#!/bin/bash
# recursive.sh
#
# ./recursive.sh
# Segmentation fault (core dumped)
#
# set -e
# trap 'case $? in
# 139) echo "segfault occurred"; sleep 20;
# esac' CHLD && ./recursive.sh
@Cryptophobia
Cryptophobia / 99vpn-ipv6-switch
Created February 13, 2020 16:10
/etc/NetworkManager/dispatcher.d/99vpn-ipv6-switch
#!/bin/sh
# Network Manager Dispatcher Hook:
# enables/disables ipv6 on vpn-down/vpn-up respectively
# Args
INTERFACE="$1"
ACTION="$2"
case $ACTION in
vpn-up)
git --git-dir=../<some_other_repo>/.git \
format-patch -k -1 --stdout <commit SHA> | \
git am -3 -k
# https://stackoverflow.com/questions/5120038/is-it-possible-to-cherry-pick-a-commit-from-another-git-repository
@Cryptophobia
Cryptophobia / fedora-43-hibernation-setup.md
Last active March 12, 2026 18:58
Fedora 43 Hibernation Setup

Enabling Hibernation on Fedora 43

A complete guide to enable hibernation on Fedora 43 (Workstation) with UEFI and btrfs filesystem, including fixes for Secure Boot and SELinux issues.

Complete Command Reference

Run these commands in sequence to enable hibernation:

# Calculate swap size (RAM-based formula)