Skip to content

Instantly share code, notes, and snippets.

View jahan-addison's full-sized avatar

Jahan Addison jahan-addison

View GitHub Profile
@jahan-addison
jahan-addison / who_is_my_mummy.sh
Created September 10, 2021 18:47 — forked from joechrysler/who_is_my_mummy.sh
Find the nearest parent branch of the current git branch
#!/usr/bin/env zsh
git show-branch -a \
| grep '\*' \
| grep -v `git rev-parse --abbrev-ref HEAD` \
| head -n1 \
| sed 's/.*\[\(.*\)\].*/\1/' \
| sed 's/[\^~].*//'
# How it works:
myactivity:
metadata:
title: 'Some Great Section'
description: '_____'
tags:
- 'something'
collection:
- 'pages.mypage'
- 'pages.mypage'
- 'pages.mypage'
var trait = require("../../util/trait");
module.exports = trait("UserServiceInterface", [
"createUser",
"createUserFromForm",
"getUserByEmail",
"authenticateUser",
"authenticateUserFromForm",
"isUserAdmin"
]);