Skip to content

Instantly share code, notes, and snippets.

diff --git a/git-flow-feature b/git-flow-feature
index b993f8e..55198ad 100644
--- a/git-flow-feature
+++ b/git-flow-feature
@@ -46,7 +46,7 @@ init() {
usage() {
echo "usage: git flow feature [list] [-v]"
echo " git flow feature start [-F] <name> [<base>]"
- echo " git flow feature finish [-rFkDS] [<name|nameprefix>] [<base>]"
+ echo " git flow feature finish [-rFkDS] [<name|nameprefix>]"
@sawtell
sawtell / gist:68d48be141dcc106a6ac69497c1d0434
Created November 21, 2018 10:07
Platform.sh and Sequel Pro
@see https://thinktandem.io/blog/2017/03/03/connecting-to-a-remote-platform-sh-database/
However, the database connection details do not work for me.
Get the DB credentials from Platform.sh via the following command:
platform drush 'php-eval "print_r(json_decode(base64_decode(getenv(PLATFORM_RELATIONSHIPS)), TRUE))"' -e staging
@sawtell
sawtell / visualise.js
Created November 19, 2020 11:49
Visualise xState with plantUML
import { Machine } from "xstate";
import visualize from "xstate-plantuml";
import plantumlEncoder from "plantuml-encoder";
const promiseMachine = Machine({
id: "promise",
initial: "pending",
states: {
pending: {
on: {