- There are some situations that are difficult to distinguish mechanically, so I now consider all of those cases problematic, even when they are not obviously wrong.
- You should be coding for readability and error resistance.
- The place to express yourself in programming is in the quality of your ideas, and the efficiency of execution. The role of style is the same as in literature. A great writer doesn't express himself by putting the spaces before his commas instead of after, or by putting extra spaces inside his parentheses.
- Many people think they have good reasons for doing things badly.
- [The purpose of JSLint is not to make you feel good about inadequate coding standards.](http://tech.groups.y
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
TZ=$(date +%z) git log --reverse --date-order --format="%cd" --date=iso-local \ | |
| cut -d- -f1-2 \ | |
| uniq -c \ | |
| column -t \ | |
| perl -pwe 's{\s+}{\t}' |
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
TZ=$(date +%z) git log --reverse --date-order --format="%cd" --date=iso-local \ | |
| dateround -S Sun \ | |
| cut -d'T' -f1 \ | |
| uniq -c \ | |
| column -t \ | |
| perl -pwe 's{\s+}{\t}' |
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
repo_age=$(git log --date=relative --reverse --format="%ad" | head -n1) | |
commits_in_history=$(git log --pretty=oneline | wc -l) | |
echo "$commits_in_history commits since $repo_age" |
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
git log -n1 |
- How many programmers does it take to change a lightbulb?
- Only one. But then the whole house falls down.
- How many programmers does it take to change a lightbulb?
- None. That is a hardware problem.
- How many programmers does it take to change a lightbulb?
- This is a known issue. When we installed the lightbulb we knew it had a finite TTL. How many programmers does it take to change a lightbulb?
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
One always has, at every stage, in the process, a working system. I | |
find that teams can grow much more complex entities in four months | |
than they can build. | |
-- Fred Brooks, "No Silver Bullet" | |
% | |
I made this letter longer than usual because I lack the time to make it shorter. |
A novice was trying to fix a broken Lisp machine by turning the power off and on.
Knight, seeing what the student was doing, spoke sternly: “You cannot fix a machine
by just power-cycling it with no understanding of what is going wrong.”
Knight turned the machine off and on.
The machine worked.
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
%H: commit hash | |
%h: abbreviated commit hash | |
%T: tree hash | |
%t: abbreviated tree hash | |
%P: parent hashes | |
%p: abbreviated parent hashes | |
%an: author name | |
%aN: author name (respecting .mailmap, see git-shortlog(1) or git-blame(1)) | |
%ae: author email | |
%aE: author email (respecting .mailmap, see git-shortlog(1) or git-blame(1)) |
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
USAGE: /usr/local/bin/gjslint [flags] | |
flags: | |
closure_linter.checker: | |
--closurized_namespaces: Namespace prefixes, used for testing | |
ofgoog.provide/require | |
(default: '') | |
(a comma separated list) |