Shaaf's blog

A technical blog about Java, Kubernetes and things that matter

FedUp and Fedora 18

Just now I made the update from Fedora 17 to 18. I didnt know that fedora 18 has a new update util called fedUp. If you are interested you could read here: https://fedoraproject.org/wiki/FedUp Just do the following yum --enablerepo=updates-testing install fedup And then fedup --network 18 It should ask for a reboot after some downloads, and that should just do the trick. atleast it did for me.

Get on Jekyll with Jekyll bootstrap

Jekyll-Bootstrap makes it easy to get started with Jekyll, if you are looking for a static site generator then you are at the right place

number of lines of code in a directory

I just wanted to find the number of lines of java code in a directory i.e. recursively.. find . -type f -name '*java' -print0 | wc -l --files0-from=- Output: . . 56 ./App.java 550 total

Getting started with JBehave in 8 steps.

This post is about JBehave and how to quickly get started with it. If you would like to know about BDD please use the following link. What is Behavioral Driven Development? Today I have used JBehave for the first time. It does have some convincing factors for instance diving requirements into scenarios which map pretty nicely to the tests that are written with in the Steps. Thus it seems like it would be easier for Stakeholder/s to use it as a good guideline for the initial requirements.

Logging with log4J isDebugEnabled

Excerpt: Alot of times I have seen the questions popping up whether to use isDebugEnabled property or not. Arguably most of the times or rather always about performance. Some of the stuff that I feel important about using it follows. Alot of times I have seen the questions popping up whether to use isDebugEnabled property or not. Arguably most of the times or rather always about performance. Some of the stuff that I feel important about using it follows.