Fork me on GitHub
wbus.fubar.si moved to www.trola.si
22. Oct. 2010 at 17:04 written under , english

Title says it all, I bought domain to remember the pages easier. PS: It's a Slovenian website for inner Ljubljana bus arrivals in relative time.

Read and Post Comments
Redmine and mercurial-server
11. Mar. 2010 at 16:19 written under , english

I managed to put together Redmine as issuetracker/wiki/younameit and mercurial-server which manages multi-user access to mercurial repository through ssh.

Redmine installation: redmine:redmine /var/lib/redmine/

Mercurial-server installation: hg:hg /home/hg/

I have put redmine into group hg.

The issue

When you add repository lets say /home/hg/vim/ to redmine, it does not recognise it. Not until you ofcourse make repository read/writeable for hg group (chmod 760). Now comes punchline; $HOME directory must be executable in order for Redmine to read repository info. In my case, I had to do "chmod 710 /home/hg/" in order to redmine to work.

Note that if you change write permissions to home user in linux, pubic keys ssh authentication will not work anymore for security reasons.

Read and Post Comments
upcoming project: spaces
02. Jan. 2010 at 23:00 written under , english

I have been thinking about my development issue for a while. Working on many projects and quick switching is a pain. I could not find a solution that even thouches this subject, so I started my own development project management called spaces.

Here is the basic configuration file (in YAML) that already works:

--- !project
name: gspaces

--- !chromium-browser
urls:
    - http://docs.python.org/dev/library/logging.html
    - http://docs.python.org/dev/library/subprocess.html
    - http://docs.python.org/dev/library/optparse.html
    - http://en.wikipedia.org/wiki/YAML#Basic_components_of_YAML
    - http://docs.repoze.org/configuration/index.html

--- !gvim
mode: tabbed
open:
    - gspaces/__init__.py
    - setup.py
    - gspaces.yml

--- !screen
windows:
    - title: gspaces
      cmd: python manage.py runserver

Obviously, it prepares your workspace and opens some stuff for you. I also plan to add "shutdown" support. I will release it under BSD licence and hope somebody else will find it useful.

Read and Post Comments
vnstat — useful CLI utility to get current network traffic rates
18. Sep. 2009 at 11:28 written under , english

Today I was looking for a GNU tool to output current rates of networking traffic. Seems there is no built-in tool in GNU Linux.

I decided to go for third-party software and vnstat does it's job pretty good.

$ vnstat -i eth0 -tr
6 packets sampled in 5 seconds
Traffic average for wlan0

      rx           7.34 kB/s              9 packets/s
      tx           0.94 kB/s              7 packets/s

Add a little of PandoraFMS power, and we have a nice looking graph:)

Read and Post Comments
How to please a woman?
15. Sep. 2009 at 07:04 written under , english

Man asks; how do I please a woman?

Well, down there... It depends. Whether you want her to enjoy it, suffer or you just need to take a shit and hurry up. It's like a football park.

If you need to take a shit, just go straight to the goal and keep shooting.

If you want her to enjoy it, just play football on whole field, both goals.

But if you want her to suffer, play both halfs plus injury time.

Read and Post Comments