Command Line Blogging in 2 Commands

It’s exam season for me at the moment and I really hate revising. Because of that, I’m doing what I call “useful procrastination”. I work on something useful that isn’t to do with exams for the sake of avoiding having to revise.

During the most recent round of useful procrastination, I created something I’m calling “echochamber”, which gives me the ability to write and deploy a blog post in two simple commands.

Prerequisite knowledge: Some command line fu and perseverance if you want to get this working for yourself.

Pipes: How They Work and How to Use Them

In this post I’m going to use a very small program that I wrote recently as a little bit of a joke for a friend to explain and demonstrate how the famous Unix pipes work.

Prerequisite knowledge: A little command line fu, a little Ruby knowledge and an understanding of the terms STDIN and STDOUT.

Facebook Chat From the Command Line

I’m slowly trying to migrate my entire life into the command line. I realise that there are certain things that just can’t be done, like navigating the modern web, but most other things are possible. Today it was Facebook chat’s turn.

Prerequisite knowledge: Some command line fu, access to a Facebook account and a strong desire to be cool.

Static: What, Why, and How?

The Static Keyword

Prerequisite knowledge: Basic object orientation (especially the this keyword), basic Java. I will be compiling and running the Java from the command line, code examples that start with a dollar sign $ are lines executed from the command line from the directory that the code resides.

So you’ve been programming for a little while now, maybe you’re programming in Java and you’ve been noticing this “static” word lying around. What does it mean?