Archive for October, 2008

Disabling buttons for non-admins in dokuwiki

Wednesday, October 22nd, 2008

I am using dokuwiki for an intranet on one of the sites I am maintaining. I wanted to disable certain buttons for users who are not administrators, like the profile and the revision buttons. It was for me not easy to find. Hence I am posting it here. The way I did it was editing the following in the main.php of the template:

if ($INFO['isadmin']) tpl_button('history');

Maybe other developers can use this.

Birthday present!

Saturday, October 18th, 2008

I have received a couple of nice presents for my birthday. On is on the picture below. I am quite happy with it.

So.. you are probably  thinking:  “ok that is just a pair of scissors…” but trust me they are not. Using scissors is something the majority are familiar with. But for lefties like I am, using scissors is terrible. It hurts around our fingers and it is more difficult to make a cut. Left handed scissors are the same as right handed ones, but only mirrored. As you can see the blades are attached the other way around (grap a pair of your own scissors to check).

If you are a lefty.. seriously buy one. Well worth the money.

Bike shed…. and pie!!

Sunday, October 12th, 2008

After my holiday I still had a couple of days off before work will start again. My dad and I (dad of course mostly) took this opportunity to finish my bike shed. It is done!

(more…)

Brasil : Day 7 and 8

Sunday, October 12th, 2008

Day 7 Relax day, with some shopping, lunch, packing and dinner in Olinda

Day 8 After a nice breakfast, I went by bus back to Natal to take a flight back home

It was a very nice, but short holiday.

Brasil : day 4,5,6

Saturday, October 4th, 2008

Day 4 went to the island, went to the beach for a swim and some beer. In the evening the local town was crowded with locals holding a campagne for their local major candidate.

Day 5 Went on a boattrip to see some sites. Returned sun burned from the boat trip to see a fort and some sea cows (that right? no ídea to lazy to look :-) ) Went for a beer in the town and again at an Italian restaurant.

Day 6 Started the day at the beach. After that we went back to Olinda. I will be going to my brothers percussion band who are rehearsing tonight.

Brasil : day 1,2,3

Wednesday, October 1st, 2008

Day 1 Had a terrible flight. My brother was waiting for me in Natal. We had a nice beer at the beach of Natal.

Day 2 Had a nice morning at the beach of Natal, went to Olinda by bus. We had a nice dinner in Olinda and had a lot of fun after at a local bar there. Olinda is very nice and social place to be!

Day 3 Went to a meeting of my brother’s work in Recife after that we went site seeing down town.

In short, everthing goes well. Although a bit hot :-) Tomorrow we are going to an Island near Olinda for 2 days. Maybe I can post again this weekend.


Bad Behavior has blocked 93 access attempts in the last 7 days.