Gmail spam "mark-as-read"
Google changed their Mailbox names (from Google Mail, to Gmail) so here is the update from my previous php script I made a few years ago.
Edit: Gmail reverted back to the previous version (imap folders were “Google Mail”, changed to “Gmail” yesterday and today). To version v0.03 won’t work anymore. I’m guessing this was a temporary change to implement their exchange/push-support.
Windows update error 80070005
This is usually an error due to incorrect rights on certain files on your system.
In my case, Windows 2008, as domain controller, I was added to the “Domain Guests” group.
Make sure you’re not member of that group, and reboot. This should fix the problem.
Prowl: check server status (using ping)
Yesterday I’ve start using Prowl, as I heard good comments about it. And one of the things I want it to check, are my server statuses. I made a quick script using bash and crontab to check every 10 min if it replies on ping. Per server, I created “host.domain.tld.sh” (e.g. zero.rootspirit.com.sh), and added this in the file:
#!/bin/bash
KEY=YourApiKey
HOST=zero.rootspirit.com
ping -c 1 $HOST &>/dev/null
if [ $? -ne 0 ] ; then
curl -k -s "https://prowl.weks.net/publicapi/add?apikey=$KEY&application=Server%20Connectivity%20Failure&event=&description=$HOST&priority=2"
fi
Of course, change KEY to your API key, HOST to the IP or DNS of the server it should ping. Also, make sure, that when pinging on your host where you’ll run the bash script on, a non-existing domain actually returns:
iRail issues
Today, I received an e-mail informing iRail was broken, and not showing any information.
The issue has been solved and the site is working again as it should be.
I have no idea for how long the website has been broken, as currently I’m not using any trains to reach my destinations. ;)
Don’t forget to e-mail me if you come across bugs. Much appreciated.
Display iPhone battery status in percent
With the new firmware, you can now display your battery status in percent (%).
For my iPhone 3G this came, out of the box, right after the update to 3.0. I could clearly see the 100% next to my battery icon.
But yes, I did have my iPhone jailbroken before I upgraded.
Now, appearantly, this feature is only available for iPhone 3GS, and not iPhone 3G and iPhone 2G, though, it is possible using e.g. Bossprefs. Lame from Apple !
Anyhow, after some Googling, I came to the conclusion:
- iPhones that used to be jailbroken will have the % displayed next to the battery icon.
- Regular iPhone 2G and 3G will not have the switch in "Settings > General > Usage", whereas 3GS will.
I found a cool workaround right here, although it requires you to jailbreak your iPhone.
Don’t forget to install “openssh” and “wget” or “lynx” (makes it a lot easier) using the Cydia package manager.
I’ve hosted the plist file right here, just in case it would go offline.
Basicly, you have to add these 2 lines to the .plist:
<key>gas-gauge-battery</key> <true/>
This works with the current iPhone version (3.0).
Vodafone Mobile Connect - Incorrect Pin code
As I usually use my SIM card in my iPhone, I booted my PC, plugged in the Vodafone USB Mobile Connect modem (HAUWEI 220 or something). I then inserted, with the USB device plugged in, my SIM card, and booted up the Mac (and later on Windows) Vodafone application, to connect my PC to the Proximus 3G network.
This resulted in a constant error; “The pin code was not accepted by the mobile device”.
Tuinslak @ Last.fm
Had to follow the hype, so here we go:
|
|

