Jul 11 2009

How to remove all appointments from pocketpc/pda windows mobile calendar

When you want a fresh calendar, and need to re-sync all data with your exchange/zarafa server, you will have to manually delete all appointments.

There is an easy hack on how to remove all appointments from your pocketpc calendar:

  1. Disconnect smartphone from PC.

  2. Open ActiveSync on the smartphone.
  3. Go to Menu, Options.
  4. Untick “Calendar” from the list of items to synchronise.
  5. It will prompt you to delete all calendar items (synchronised with your PC).
  6. Check your calendar is empty.
  7. Close and re-open Activesync (on the smartphone).
  8. Re-tick the calendar item on the sync list.

Other keywords:

  • remove appointments
  • windows mobile calendar erase or delete

2 responses so far

Apr 16 2009

Monitoring bank accounts with munin

Published by pj under abnamro,prive

I have hooked up my online banking to munin. Whenever the amount on any of my accounts drops below $0 I receive warning. When it drops below -$800 it becomes an alert.

localhostlocaldomain-abnamro-day

15-04-2009:
localdomain :: localhost.localdomain :: abnamro saldi
WARNINGs: Saldo on account XXXXXXXX is -377.87 (outside range [0:]).

16-04-2009:
localdomain :: localhost.localdomain :: abnamro saldi
OKs: Saldo on account XXXXXXXX is XXXX.XX.

One response so far

Mar 18 2009

Filtering out gallery hack attempts

Published by pj under opensource

This week my virtual ran out of diskspace. I had mysql query logging enabled and a distributed attack on the login and self-register modules of gallery2.

Because I rarely login through the admin-interface and I have disabled the user self registration, I created this htaccess filter to deny any requests to those
modules. Keep in mind that if you want to login yourself, you need to add a rewrite condition for your own ip:

RewriteEngine On
RewriteCond %{QUERY_STRING} g2_controller=core.Logout [OR]
RewriteCond %{QUERY_STRING} g2_view=core.UserAdmin&g2_subView=register.UserSelfRegistration [OR]
RewriteCond %{QUERY_STRING} g2_view=core.UserAdmin&g2_subView=core.UserLogin
RewriteRule .* - [F]

No responses yet

Feb 07 2009

Monkey Island vs Interview with a vampire: Vampyre!

Published by pj under games


(click for amazon link)

Deep within the walls of a gloomy castle in the equally gloomy land of Draxsylvania, the young, gifted opera singer Mona De Lafitte is held captive by her tormentor, vampire Baron Shrowdy von Kiefer. Ever since she was transformed into a vampire by Shrowdy and whisked off to Draxsylvania, her greatest wish has been to return to Paris, continue her singing career, and one day become a star at the Paris Opera. When Shrowdy fails to return from a nightly foray, she at last sees an opportunity to flee. Together with her only friend and confidant, a cheeky bat named Froderick, she escapes from her prison and tries to find her way back to Paris. During her flight through Draxsylvania, where she encounters some strange inhabitants and some even stranger challenges, Mona must learn not only to accept her vampire nature, but also to use the abilities she has acquired to her advantage.

No responses yet

Jan 31 2009

Java weirdness

Published by pj under java

“In Java, int x = 5; x += 2.5; works (x is now 7), whereas int x = 5; x = x + 2.5; gives a type error.”

The first one to explain this wins a free beer .. ;-)

2 responses so far

Nov 07 2008

Adding a bit of security to your server

Published by pj under opensource,ssh

If you really need to keep your sshd running on a publicly accessible port and IP, this is a piece of configuration

that adds a tiny bit of extra security to your server. By specifying which usergroups are allowed to actually use ssh, you are guarding the default (system) accounts (which shouldn’t have easily guessable passwords in the first place!) with an extra layer.

Add a new group:

addgroup sshusers

Add the users which are allowed to connect using ssh:

vigr (and add the users to the group)

Add the following line to /etc/ssh/sshd_config:

AllowGroups sshusers

And restart sshd. Make sure that you have a working ssh session when testing out the changes!

No responses yet

Jul 13 2008

Steve & Ikea

Published by pj under site

Wat doet Steve Jobs in deze Ikea-keuken? 8)

jobs & ikea

No responses yet

Jun 22 2008

Issues with hanging screen/ssh/irssi

Published by pj under Uncategorized

After having encountered this issue several times, I’m glad I have found a solution on the osdir site.

http://osdir.com/ml/gnu.screen.user/2005-04/msg00051.html

This solves:

  • irssi screen hangs
  • ssh timeout hang screens

The workaround for this issue: kill all “old” ssh connections to that screen that are no longer connected.  According to strace, it seems screen is trying to write to the client, which is no longer connected:

write(1, “[22;1H\33[1L\33[1;24r\33[?25l\33[24;11H\33″…, 235 <unfinished …>

No responses yet

May 01 2008

Opencli in action

Published by pj under Projects,opensource

In a previous post, I wrote about the release of Open Panel and OpenCLI.

OpenCLI is going to change the way we maintain systems – for too long many repetitive steps have been automated hundreds of times by different sysadmins without having produced a standard. I think OpenCLI will become the standard that covers 99% of the tasks you perform while maintaining your systems.

See OpenCLI in action: http://blog.openpanel.com/2008/04/28/the-openpanel-cli-in-action/

No responses yet

Apr 27 2008

Mozilla thunderbird new mail notification

Published by pj under opensource

Tired of getting mail notifications of e-mails you’ve already seen but have not read? The default mozilla thunderbird new e-mail notification tool has the tendency to display old mail and mail that has already been moved to junk folders. When you flag your e-mail as ‘read’ when you filter out junk, you can work around the displaying of junk messages.

With this new thunderbird add-on, you can configure more: https://addons.mozilla.org/en-US/thunderbird/addon/2610

note: use “%subject” and “%sender” in the notification text to display message details. More info on these variables on the author’s website: http://tjeb.nl/Projects/Mailbox_Alert/index.html

One response so far

Next »