See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
#!/usr/bin/env sh | |
set -e | |
color_red=$'\e[1;31m' | |
color_green=$'\e[1;32m' | |
color_reset=$'\e[0m' | |
########################### Usage ############################################## | |
# | |
# password prompt 'hibp' | |
# or |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
Note: Apple wireless mouse devices have a built-in passcode of "0000" (four zeros).
public class ExceptionUtils { | |
/** | |
* Throws {@code t} as a unchecked exception. | |
*/ | |
@SuppressWarnings("unchecked") | |
public static <T extends Throwable> void throwUnchecked(Throwable t) throws T { | |
throw (T) t; | |
} |
stages: | |
- pack | |
### Pack ###################################################################### | |
docker: | |
stage: pack | |
environment: production | |
image: docker:18 | |
script: |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
#user nobody; | |
#Defines which Linux system user will own and run the Nginx server | |
worker_processes 1; | |
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores. | |
#error_log logs/error.log; #error_log logs/error.log notice; | |
#Specifies the file where server logs. |
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
#!/bin/sh | |
# | |
# based on http://sourcery.blogspot.com/2007/09/script-for-openssl-certificate-signing.html | |
# | |
set -e | |
C= | |
ST= | |
L= |
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |