God is a nice “framework” and daemon to watch Linux processes and restart them if necessary. As I’ve configured it today to work on an ubuntu machine here’s a quick howto: First install ruby, gem and god. apt-get install ruby, rubygems gem install god Then paste this initscript into /etc/init.d/god: got init script. Configure it [...]
Tags:
admin,
centos,
devops,
fedora,
god,
keep alive,
process watch,
ruby,
ubuntu
This Saturday we’ve (the Software Craftsmanship in Cracow guys) organized a Code Retreat, right after AgileCE. We’ve invited Corey Haines to join us and facilitate this meetup, and later on even Alexandru Bolboaca AND Maria Diaconu joined us in facilitating the event and so it got even better :-) Before we start, just a quick reminder [...]
Tags:
clean code,
clojure,
coderetreat,
coding,
java,
meeting,
objective-c,
python,
review,
ruby,
scala,
TDD
Hey there guys. I hope some you enjoyed my presentation on SFI last weekend. The workshop was kinda chaotic (network problems mailny) but I’m sure some of you got convinced to use, or begin with trying out, git in yout next projects… :-) Well, that was all nice and cool but git (other DVCS have [...]
Tags:
#maven,
bisect,
coding,
git,
java,
runner,
SCM,
TDD,
testing
I don’t think I’ve blogged about this but I’ve seen this sometime ago and now decided to add it to my .bashrc for good. It’s a simple trick to make an awesome PS1 shell prompt, displaying the branch you are currently on (if you’re in a git versioned directory). Not that I’m forgetting what branch [...]
Tags:
bash,
branch,
git,
prompt,
ps1,
shell,
terminal heroes,
tips,
tricks
As I’ll be leading BOTH a presentation and a workshop about git at the upcomming Academic It Festival I’m preparing myselffor the most problematic of all problems… MS Windows! Just kidding ;-) But it’s highly probable that most users will have Windows installed on their notebooks so I’ll better be prepared :-) One of the [...]
Tags:
diff,
git,
guide,
mergetool,
Project13,
SCM,
tips,
training,
windows
Yup, today I’m releasing yet another piece of cool free software! It solves a problem we’ve had at our company, the tester tometimes tested stuff that wasn’t deployed yet, and the developers thought it was deployed and this caused some weird situations sometimes. Using the plugin I’ve written, we’re able to expose “which version is [...]
Tags:
#maven,
build,
free software,
freedom,
git,
java,
opensource,
plugin,
release,
tips,
tricks
As my team is using a kinda weird source eclipse code formatter setup, that other IDEs can’t emulate in 100% I sometimes found myself committing in a file with only a few changed spaces. Of course, I could use “external-formatter” plugins etc but that’s no good. Running eclipse’s formatter each time I want to format [...]
Tags:
#eclipse,
coding,
git,
hack,
intellij,
java,
netbeans,
SCM,
tip,
xsolve
Yes, it’s time for another JavaCamp mini-review… :-) Without further intros, let’s get down do the presentations: Łukasz Lenart – “Nie samym kodem programista żyje” Łukasz’s presentation was not a technical one this time. He talked about how to be/become an effective programmer. A nice tip he noted was to carry a notebook and note [...]
Tags:
git,
java,
JavaCamp,
JUG,
lombok,
meeting,
polishjug,
review,
TDD
Ok, now for a quick trick before I get into writing more about git and our last javacamp (movies are still being converted, sorry for the long wait). If you code in Java, you most probably use (you really should use) some dependecy injection mechanisms. They’re really great and take care about all the setup [...]
Tags:
coding,
java,
jee,
junit,
junit4,
spring,
TDD,
testing
Yup, it’s time for two follow ups to problems we encountered during my life examples. Why didn’t git see our “rename” as rename? Although yes it is true just as I said during the presentation that “git mv is just an alias” I’ve forgotten about that it’s an little bit bigger alias: git mv oldname [...]
Tags:
git,
git add,
git move,
hack,
move,
mv,
pitfall,
tip