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