This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin neumorphism($background) { | |
$highlight: lighten($background, 4%); | |
$lowlight: darken($background, 4%); | |
$shadowhigh: lighten($background, 9%); | |
$shadowlow: darken($background, 9%); | |
background: linear-gradient(145deg, $highlight, $lowlight); | |
box-shadow: 2em 2em 4em $shadowlow, -2em -2em 4em $shadowhigh; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const ENCODING = 'base64'; | |
function token(user, pass) { | |
return base64([user, pass].join(':')); | |
} | |
function base64(string) { | |
return new Buffer(string).toString(ENCODING); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Automatically adds Jira key to commit message | |
# | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=(master develop) | |
fi | |
BRANCH_NAME=$(git symbolic-ref --short HEAD) |