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
import java.util.Random; | |
public class Fields | |
{ | |
Random dice = new Random(); | |
int oneDThree; | |
public void getRand() | |
{ |
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/bash | |
# per @madeindjs's suggestion: | |
# For a quick install, into your project folder enter this command line: | |
# | |
# curl https://gist.githubusercontent.com/thealexbaron/fd2a390dc6f8958d1b1ffe8b66b676bb/raw/5f5ed22c281a8488116a41e4496075f8b28d106a/prepare-commit-msg.sh > .git/hooks/prepare-commit-msg && chmod u+x .git/hooks/prepare-commit-msg | |
# | |
# which does: | |
# - get Gist | |
# - copy into .git/hooks/prepare-commit-msg file |