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
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 / 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)
@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 / 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 / changelog-v2.20.2.md
Last active March 8, 2019 23:59
Hephy Workflow v2.20.2 Changelog

Releases

  • controller v2.20.1 -> v2.20.2
  • postgres v2.7.2 -> v2.7.3
  • minio v2.4.2 -> v2.4.3
  • workflow v2.20.1 -> v2.20.2
  • workflow-cli v2.20.1 -> v2.20.2
  • workflow-e2e v2.20.1 -> v2.20.2
@Cryptophobia
Cryptophobia / changelog-v2.20.1.md
Created February 14, 2019 15:06
Hephy Workflow v2.20.1 Changelog

Releases

  • controller v2.20.0 -> v2.20.1
  • postgres v2.7.1 -> v2.7.2
  • redis v2.3.0 -> v2.4.0
  • router v2.15.0 -> v2.15.1
  • slugrunner v2.6.0 -> v2.6.1
  • workflow v2.20.0 -> v2.20.1
  • workflow-cli v2.20.0 -> v2.20.1
@Cryptophobia
Cryptophobia / changelog-v2.20.0.md
Created November 29, 2018 16:40
Hephy Workflow v2.20.0 Changelog

Releases

  • builder v2.13.0 -> v2.13.1
  • controller v2.19.0 -> v2.20.0
  • fluentd v2.13.0 -> v2.13.1
  • minio v2.4.1 -> v2.4.2
  • monitor v2.11.0 -> v2.11.1
  • nsq v2.3.0 -> v2.4.0
  • postgres v2.6.0 -> v2.7.1
@Cryptophobia
Cryptophobia / helm-setup.md
Last active April 23, 2020 17:16
Helm Init GKE RBAC Hephy Workflow

Running Hephy Workflow on GKE Kubernetes Cluster Fix:

There is a fix for Helm that we need to do if we are using Helm 2.x in order to give helm enough permissions to create releases.

Hopefully this will be fixed in Helm 3.x as promised.

This is a known issue and was first found here: helm/helm#3055

Before we deploy Hephy Workflow, we need to enable our user to be able to create RBAC roles since Hephy Workflow needs to configure its own clusterroles through Helm:

Prerequisites for using Helm on GKE Role-Based Access Control:

@Cryptophobia
Cryptophobia / Team Hephy Code of Conduct
Last active July 23, 2018 15:22
Team Hephy Code of Conduct
Team Hephy Code of Conduct
Like the technical community as a whole, the Hephy team and community is made up of a mixture of professionals and volunteers from all over the world, working on every aspect of the mission - including mentorship, teaching, and connecting people.
Diversity is one of our huge strengths, but it can also lead to communication issues and unhappiness. To that end, we have a few ground rules that we ask people to adhere to. This code applies equally to founders, mentors and those seeking help and guidance.
This isn’t an exhaustive list of things that you can’t do. Rather, take it in the spirit in which it’s intended - a guide to make it easier to enrich all of us and the technical communities in which we participate.
This code of conduct applies to all spaces managed by the Hephy project. This includes IRC, the mailing lists, the issue tracker, events, and any other forums created by the project team which the community uses for communication. In addition, violations of this code outs
@Cryptophobia
Cryptophobia / changelog-v2.19.0.md
Created June 29, 2018 21:03
Hephy Workflow v2.18.0 -> v2.19.0

Releases

  • builder v2.12.0 -> v2.13.0
  • controller v2.17.3 -> v2.19.0
  • dockerbuilder v2.7.3 -> v2.8.0
  • fluentd v2.12.0 -> v2.13.0
  • logger v2.4.5 -> v2.5.0
  • minio v2.3.6 -> v2.4.1
  • monitor v2.10.1 -> v2.11.0