See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
/* | |
Copyright 2017 Bryan Keller (https://github.com/widget-) | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
CFLAGS="-I$(brew --prefix readline)/include -I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" \ | |
LDFLAGS="-L$(brew --prefix readline)/lib -L$(brew --prefix openssl)/lib" \ | |
PYTHON_CONFIGURE_OPTS=--enable-unicode=ucs2 \ | |
pyenv install -v 3.6.0 |
eval $(docker run --rm \ | |
-e AWS_ACCESS_KEY_ID=$aws_access_key_id\ | |
-e AWS_SECRET_ACCESS_KEY=$aws_secret_access_key \ | |
-e AWS_DEFAULT_REGION=ca-central-1 \ | |
cgswong/aws aws ecr --no-include-email get-login) |
#!/bin/sh | |
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then | |
echo "This is a pull request. No deployment will be done." | |
exit 0 | |
fi | |
if [[ "$TRAVIS_BRANCH" != "master" ]]; then | |
echo "Testing on a branch other than master. No deployment will be done." | |
exit 0 | |
fi |
sudo su - | |
mkdir -p /opt/bin | |
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
CASSANDRA=/opt/cassandra/bin/cassandra | |
PIDFILE=/var/run/cassandra.pid | |
LOGFILE=/var/log/cassandra/init.log | |
PARAMS="-p ${PIDFILE}" | |
writelog() { | |
echo "`date` : $1" >> "$LOG" | |
} |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Redis has a feature called lists. The lists can be treated as a stack where elements can be pushed onto or popped from. There are several calls which help you to manage such lists. Once nice feature is the blpop command which does a blocking call on the queue. Therefore it's a nice and elegant way to implement a queue systems for tasks.