Posts Tagged: bash

Small (Mac OS) Script to Backup Raspberry Pi

Posted by & filed under , .

I’m a big fan of Raspberry PI — to the point where I have actually 2 of these little rascals. (I actually use one of them occasionally to run bits of development stuff on it — test things like nodejs and groovy scripts etc; and the other one I sort of keep for experimental PI […]


Posted by & filed under , , , .

Quite a while back, (and I mean quite a while back, that’s been enough water under the bridge so I can now tell the story 🙂 ) I used to work for this guy who quite frankly was way out of his depth in the position he was in. He was my (and others’) boss […]

Running Multiple JDK Versions on Mac OS X

Posted by & filed under , , .

If you’re a Java developer like me, working on a bunch of different projects at the same time, then you quite likely find yourself in the situation where you need to switch in between different JDK versions every time you switch context/project. In my case, I am working on the (good) stuff we got going […]

Script to Quickly Create a Java Spring MVC Project

Posted by & filed under , , .

I’ve been (a bit) frustrated recently with the lack of support for quickly creating a Spring MVC project skeleton — there seems to be some maven archetypes but most of them I found to either not be maintained for a while and/or they install so much stuff that I decided not to use them. All […]

(Very Very Simple) Bash Script to Delete Old Log Files

Posted by & filed under , , .

So here’s the deal: you have an application running on a Linux box which generates log files. And these files keep mounting up and grow and grow and grow in both number and size and you have start considering cleaning up old logs which you don’t use anymore. I know about logrotate, it’s an awesome […]

java code

Of Java and Assembler

Posted by & filed under , , .

The title would no doubt puzzle quite a few of you — after all I’m putting in the same sentence a low-level, processor-specific language (for no better term for “assembler” — I know, I know, I know, “it’s not really a language”, right?) with a rather high-level, even platform-independent language like Java. So, right away […]

Running Tomcat on Port 80 on a Mac — shell script

Posted by & filed under , .

If you’ve been messing about with Tomcat on a Mac OS X, you probably came across the problem of not being able to run the damn Tomcat on port 80. This to many won’t come as a problem, as in most cases port 8080 works fine for local development/testing. However, I found out that this […]

Configure autofs auto.smb on Debian Linux

Posted by & filed under , .

Yet another post from my old website brought back to life — just as with the previous such posts, I hope this still stands. Nowadays I’ve moved most of my “infrastructure” to Amazon, I don’t have to use this anymore, but I remember at the time having to do a bit of research into this […]

Automating iptables on Debian Linux

Posted by & filed under , .

It’s interesting to dwell occasionally into researching how people are reaching my blog and what are they looking for when they do so. As you have seen so recently I have brought back a few old articles that seem to have triggered the attention of some people on the net — at least that’s what […]