This file contains hidden or 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
#!/usr/bin/env bash | |
mkdir -p vanilla-website/{public/assets/{images,scripts,styles},src/{scripts,styles}} | |
cd vanilla-website | |
cat <<EOF > .babelrc | |
{ | |
"presets": [ | |
[ | |
"@babel/preset-env", |
Use a git hook to match a Jira issue ID from the current branch, and prepend it to every commit message
Assuming the current branch contains a Jira issue ID, you can use a git hook script to prepend it to every commit message.
-
Create an empty commit-msg git hook file, and make it executable. From your project's root directory:
install -b -m 755 /dev/null .git/hooks/commit-msg
-
Save the following script to the newly-created .git/hooks/commit-msg file:
This file contains hidden or 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
#!/usr/bin/env bash | |
# Install Jenkins and Nginx as proxy on AWS | |
# [source: https://serversforhackers.com/c/installing-jenkins] | |
# | |
# | |
# USAGE | |
# | |
# curl -sSL https://gist.githubusercontent.com/thomd/8708966d6b55e5b32c8da9b1fb7fa48f/raw/aws-nginx-jenkins.sh | sudo sh | |
# open http://<IP> |
This file contains hidden or 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
#!/usr/bin/env bash | |
# npm help 7 npm-scripts | |
scripts=(prepublish prepare prepublishOnly prepack postpack publish postpublish preinstall install postinstall | |
preuninstall uninstall postuninstall preversion version postversion pretest test posttest prestop stop | |
poststop prestart start poststart prerestart restart postrestart preshrinkwrap shrinkwrap postshrinkwrap) | |
n=${#scripts[@]} | |
- AnsiColor Plugin for colored console output
- Embeddable Build Status Plugin
- Config File Provider Plugin
- Green Balls
- Credentials Binding Plugin
- babar - CLI bar charts