Geekness – closer to the world

Geeky at the Lake of Zurich

Embed a Counter in Your Spam Messages

I’ve got this email in my inbox – my junk folder to be more precise – today. Notice the counter on the bottom? 987994 people have read this email after 2 and a half hours of sending. Including me. The counter is hosted at a site called “Right Stats” (www.rightstats.com). It looks like a “real […]

Continue Reading

Sun Microsystems & Oracle – News and Questions

I’ve just received the newsletter from Sun Microsystems Switzerland regarding the acquisition/merger of Sun into Oracle. On April 20, 2009, Oracle announced a definitive agreement to acquire Sun Microsystems. The proposed transaction is subject to Sun stockholder approval (JAVA), certain regulatory approvals and customary closing conditions. Until the deal closes, each company will continue to […]

Continue Reading

vim: Regex Search and Delete Line

:%g!/\< \(STRING\|VALUE\)\>/d Explanation :%g Range to search. %g means the complete file ! Negotiation. Can be used to negate the regex \< \(STRING\|VALUE\)\ regular expression (regex). Can be anything /d command to execute with each line found. d means delete Example used :%g/INSERT INTO `table` VALUES>/d This command deletes ALL lines with INSERT INTO `table` […]

Continue Reading