Reading Command Line Arguments in NodeJS
Accessing command line arguments in NodeJS is easy. For simple applications, access the process.argv array directly. For more sophisticated ones, use one of argument parsers.
Nested Classes in Java
I have recently tried one Java quiz and there was a question about class nesting. I didn’t answer correclty since I hardly ever use this language feature and when use nested classes, I use them intuitively.
Let’s refresh this piece of knowledge and add some remarks.
Use q For High IQ
"q" is a nifty command line tool if you would like to do some text file processing and lookups.
So what is it?
Basically SQL for csv/tsv (and other tabelated) files. It supports most of the basic queries and also allows to perform them over multiple files (supports joining).
How does it work? You can imagine a file with tabelated data as a single table of a database. Just type in the command prompt: