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
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
I’ve upgraded my desktop and laptop last week. By “and” I mean that I’ve bought an desktop replacement class notebook – an Asus G73 series. Amongst many nice parts it has I’m very happy about the harddrives – Seagate Momentus XT, click the link to see an very interesting benchmark of it. Anyways, that’s not [...]
Tags:
bash,
fsf,
linux,
notebook,
script,
terminal
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
Hi guys, todays post is about yet another fun and small hack, namely: Having twitter posts (tweets) to be displayed right along all wordpress blog posts (posts) in the same timeline (wordpress main view). しかし!!! As my blog is being listed on http://www.dworld.pl/Blogsfera (and for other obvious reasons) I didn’t want all my tweets to [...]
Tags:
coding,
guide,
php,
tips,
twitter,
wordpress
At work we use an hacked “up in a few hours” webapp to track our working hours. And its basically “enough”… until I have to get out from work (while being in a hurry – which I always am) and simply turn off my PC before stopping the work timer… I’d then have to switch [...]
Tags:
android,
dependency injection,
fun,
google,
guice,
java
Hi again, this time a short code snippet – but a very useful one. At work I’m working on an Ubuntu 10.4 (love you guys for getting me a PC with Linux without making a fuss about it!) my laptop is on Fedora 13 i586 and my home PC is running Fedora 13 x64. Thank [...]
Tags:
coding,
free software,
gwt,
java,
script,
xsolve