Way back in the 1990s I created some “cheat sheets” for Unix training classes that I taught. Somewhere in the 2000s I updated them to make sure they worked with Linux as well, Here then are two Unix/Linux cheat sheets I created (way back when) that you can print out if you’re just learning Linux and the vi/vim editor:
This article titled, Little things I like to do with git, has a fun series of git commands.
A flowchart on how to undo changes in Git, from this tweet.
Mac OS X performance tuning tools and commands. From this tweet by Brendan Gregg.
It took me a few minutes to figure out that when you want help on Play Framework console commands (i.e., the Play command line tool), you may get more useful help by typing
help play instead of just
help. Using the first command shows information on commands like
console, etc., which is what I'm more interested in.
To take a quick look at this, here's what you get when you type
I just started using tmux last week, and created a cheat sheet to help me remember the basic
tmux commands, and I thought I'd share that here.
The cheat sheet has a few things that are specific to my configuration file, so to begin with, here is my ~/.tmux.conf file:
Scala exec FAQ: How do I execute external system commands in Scala?
When it comes to executing external system commands, Scala is a dramatic improvement over Java. The operators Scala makes available are much more like Perl or Ruby, and the operators themselves are consistent with traditional shell commands, and are therefore easy to remember. Let's take a look at a few examples.