TIL 2020-08-01
-
Python
collections.defaultdict
- Takes a type not a value. It will initialize based on the default value for that type. -
Git Last Commit ID -
git log --format="%H" -n 1 | cat
outputs the last commit ID. -
Node.js Command Line Arguments - Node.js uses the
process
object to access command line arguments.