- copy the file
commit-msgto.git/hooks/commit-msg - make sure your delete the sample file
.git/hooks/commit-msg.sample - Make commit msg executable.
chmod +x .git/hooks/commit-msg - Edit
commit-msgto better fit your development branch, commit regex and error message - Profit $$
| \ProvidesFile{absender.lco} | |
| \KOMAoptions{% | |
| % fromemail=true, % Email wird im Briefkopf angezeigt | |
| % fromphone=true, % Telefonnumer wird im Briefkopf angezeigt | |
| % fromfax=true, % Faxnummer wird im Briefkopf angezeit | |
| % fromurl=true, % URL wird im Briefkopf angezeigt | |
| % fromlogo=true, % Logo wird im Briefkopf angezeigt | |
| % subject=titled, % Druckt "Betrifft: " vor dem Betreff | |
| locfield=wide, % Breite Absenderergänzung (location) |
| #!/usr/bin/perl | |
| # | |
| # Pre-commit hook for running checkstyle on changed Java sources | |
| # | |
| # To use this you need: | |
| # 1. checkstyle's jar file somewhere | |
| # 2. a checkstyle XML check file somewhere | |
| # 3. To configure git: | |
| # * git config --add checkstyle.jar <location of jar> | |
| # * git config --add checkstyle.checkfile <location of checkfile> |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
| interface NumericTest { | |
| boolean computeTest(int n); | |
| } | |
| public static void main(String args[]) { | |
| NumericTest isEven = (n) -> (n % 2) == 0; | |
| NumericTest isNegative = (n) -> (n < 0); | |
| // Output: false | |
| System.out.println(isEven.computeTest(5)); |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.