I wanted to abort an OSX Automator workflow if there’s no internet connection. That function does not exist. It can be done by inserting the action Run Applescript though: try do shell script "curl http://www.apple.com" on error do shell s…
I wanted to abort an OSX Automator workflow if there’s no internet connection. That function does not exist. It can be done by inserting the action Run Applescript though: try do shell script "curl http://www.apple.com" on error do shell s…
Posted on nerd.vasilis.nl
August 4 2009, 4:05pm
Shaun Inman redefined the feed reader with his brilliant application Fever. The best thing about it, apart from the brilliant user interface, the beautiful layout, the usability, the feel of a native app, is the fact that you can actually use high volume feeds without reading them. The idea is th…
Posted on nerd.vasilis.nl
August 2 2009, 1:47pm
Je kan alle elementen, ook de head en de title, gebruiken
Display everything || 2009-195 || NERD!
July 15 2009, 1:54pm
I just discovered a nice feature for minimalist frontend developers. You can use all elements with content for styling simply by using * {display:block;} Or display inline, or table-cell or whatever. All elements, including title, style and head can be used for styling now. Have fun with it! (I h…
Posted on nerd.vasilis.nl
July 15 2009, 1:45pm
The designer wants all images to be centered inside a square box with defined dimensions. The longest side of each image is the same length as this dimension but the smaller side is unknown and variable. Easy you say. <div style=”background:url(path/to/image-w100xh75.jpg) no-repeat 50% …
Posted on nerd.vasilis.nl
July 14 2009, 3:40pm
My design buddies @work came up with one of the most complex layouts I ever had to build. You could desribe it as an elastic layout with boxes with a flexible width which should have the same height as it’s siblings. With rounded corners and dropshadows offcourse. But that would be too easy…
Posted on nerd.vasilis.nl
May 14 2009, 3:52pm
A few weeks ago I upgraded an old Pivot weblog to the latest version of WordPress, a weblog system which is a bit more flexible, I think. One of the things I dislike though is some of the HTML that comes out of it’s core functions. For example an image with a caption. The known problem with…
Posted on nerd.vasilis.nl
April 21 2009, 3:25pm
The last few weeks I used my small URL generator a lot. I even bought a new, smaller, domain for it to make it a bit more useful. For Twitter it’s perfect. But when using it in e-mails I got some complaints. People are happy that all links are clickable (some mail programs cut of every line…
Posted on nerd.vasilis.nl
February 4 2009, 1:28pm
I switched to HTML 5. A nerd blog should have a nerdy doctype. There’s not much to say about it. I replaced the first div in the old HTML with a new element called header, I replaced the following divs which are direct children of the body with the new element section, I replaced the div th…
Posted on nerd.vasilis.nl
January 23 2009, 4:03pm
UPDATE: check out the extended version of this script: fitting URL. Since I started twittering a few days ago, and Twitter allows just a few letters for each tweet, the need arose for a small URL generator, a service that replaces a long URL (like Posted on nerd.vasilis.nl
January 18 2009, 12:22pm
1