Skip to content

Instantly share code, notes, and snippets.

Thomas Dürr thomd

Block or report user

Report or block thomd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@thomd
thomd / Jenkinsfile
Created Jun 4, 2019 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
View Jenkinsfile
Some Jenkinsfile examples
@thomd
thomd / dashboards.md
Created May 23, 2019
Dashboard Libraries and Frameworks #list #dashboard #ui
@thomd
thomd / react-native-components.md
Last active Apr 24, 2019
React Native Components #react #list #components #react-native
@thomd
thomd / bootstrap.sh
Created Sep 5, 2018
Build a Website with Modern Tooling and No Frameworks
View bootstrap.sh
#!/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",
View auto-prepend-jira-id-to-git-commit-msg.md

Automatically Prepend a Jira Issue ID to Git Commit Messages

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.

  1. 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
    
  2. Save the following script to the newly-created .git/hooks/commit-msg file:

@thomd
thomd / aws-nginx-jenkins.sh
Last active Apr 14, 2018
Install Jenkins on AWS Ubuntu with Ngins as Proxy
View aws-nginx-jenkins.sh
#!/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>
You can’t perform that action at this time.