Posts

Showing posts from December, 2008

How to format (prettify) XML

Today I used Eclipse with the XMLBuddy plugin to format (prettify) a chunk of XML. I then tweaked it with TextPad... as follows. 1) Get Eclipse at http://www.eclipse.org/downloads/ . The IDE for Java developers will probably be fine for you. (It may seem like serious overkill for formatting a bit of XML, but that all depends on how badly you want to format that bit of XML now doesn't it? :)) 2) Get the XMLBuddy plugin: http://www.xmlbuddy.com/2.0/download.php 3) You just need to unpack the XMLBuddy plugin ZIP file to the Eclipse "plugins" directory, but here are some XMLBuddy install tips in case you have problems: http://www.xmlbuddy.com/2.0/faq.html#install 4) Then just open your XML file with Eclipse and choose "Format" from the "XML" menu. 5) The only problem is that it uses tabs to indent the XML, which you may find a bit of a pain, so I then tweaked it in TextPad as follows: Copy the XML you formatted in Eclipse into TextPad (or some other text ...

Automatisch opnieuw opstarten in XP uitschakelen

Image
Voor het geval dat je het wilt weten, om te zorgen dat Windows XP zich niet automatisch herstart na het installeren van Windows updates, moet je de volgende stappen volgen: 1. Ga naar Start -> Uitvoeren en tik gpedit.msc 2. Druk op OK en komt het venstertje "Groepsbeleid" tevoorschijn. 3. Deze instelling uitschakelen: "Niet automatisch opnieuw opstarten als gebruikers zijn aangemeld na geplande installaties van Automatisch updates" Je ziet het ook in het plaatje hieronder. bron: 4sysops

Recover data on a restored iPhone

I haven't yet attempted to or succeeded in recovering any data from the previous increment of my 2G iPhone, so this is more of a note-to-self. After screwing it up with a new version of Installer (don't touch Installer with a long barge pole people, stick to good old Cydia.. and u know what they say about curiosity and what it did to the cat, well I was the proverbial cat) I restored it in iTunes. My shopping list for trying to dump the iPhone disk image to my PC in URLs is: A tutorial from the people that know: http://www.modmyi.com/forums/file-mods/237321-how-iphone-data-recovery.html#post1484071 A guide to setting up an SSH server on Cygwin http://lifehacker.com/software/home-server/geek-to-live--set-up-a-personal-home-ssh-server-205090.php And er, a newbie's guide to Cygwin http://lifehacker.com/software/cygwin/geek-to-live--introduction-to-cygwin-part-i-179514.php Wish me luck!