Posts under guide

Keeping processes alive using God’s power

Posted by Ktoso under coding, english, guide, terminal heroes (No Respond)

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: , , , , , , , ,

[git] bisect + maven = automate “breaking” commit search

Posted by Ktoso under coding, english, guide, terminal heroes (No Respond)

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: , , , , , , , ,

[terminal heroes] Display git branch in shell prompt (PS1)

Posted by Ktoso under english, fun, guide, terminal heroes (2 Responds)

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: , , , , , , , ,

Setup git on windows to use kdiff3 as it’s mergetool

Posted by Ktoso under coding, english, guide (1 Respond)

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: , , , , , , , ,

[release] maven-git-commit-id-plugin

Posted by Ktoso under coding, english, freedom, fun, guide, java (15 Responds)

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: , , , , , , , , , ,

G73 keyboard backlight scripts

Posted by Ktoso under coding, freedom, fun, gaming, guide, terminal heroes (18 Responds)

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: , , , , ,

Git@JavaCamp: fix-1: When does git “see” an rename explicitly?

Posted by Ktoso under coding, english, fun, guide, java (4 Responds)

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: , , , , , , ,

Tweets in WordPress; same timeline but skip in rss feed

Posted by Ktoso under coding, english, fun, guide, Project13 (No Respond)

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: , , , , ,

Android: The “right way” – dependency injection

Posted by Ktoso under coding, english, fun, guide (1 Respond)

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: , , , , ,

GWT Firefox 3.6+ plugin on 64bit Fedora 13

Posted by Ktoso under coding, guide, java (7 Responds)

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: , , , , ,