UPDATE: You can create a personalized plugin template by using my WordPress Plugin Template Creator
When I rewrote my WP-DenyHost plugin, I wanted to do it as fast as possible. Instead of reinventing the wheel (again), I googled after a plugin template and found a very good one at Pressography. It had most of what I needed in a plugin template.
More…
@the-border: 1px;
@base-color: #111;
#header {
color: @base-color * 3;
border-left: @the-border;
border-right: @the-border * 2;
}
#footer {
color: (@base-color + #111) * 1.5;
}
ul
{
list-style-type: none;
height: 30px;
li
{
float: left;
padding-right: 15px;
a
{
padding: 5px;
display: block;
color: black;
text-decoration: none;
}
a:hover
{
background-color: @menu_color - #222;
}
}
}
Curious? 4GuysFromRolla has a nice article about .LESS
btw, if you’re not doing ASP.NET, you can create css from .less by using the command line compiler:
dotless.Compiler.exe -m Styles.less Styles.css
Using jQuery and the form and validate plugins, it is simple to add unobtrusive ajax to your existing form page
1, Modify your existing form page
- Add
<input type="hidden" name="isAjax" id="isAjax" value="0" /> to your form. This field will tell the processing script, process_input.php in my example, if the values in the form were submitted using ajax or as an ordinary form submit, defaulting to isAjax = 0 (false).
- Add
class="required" to the fields that requires input
- Add the
<div id="result"></div> where you want the ajax output
<form id="form1" name="form1" method="post" action="process_input.php">
<input type="hidden" name="isAjax" id="isAjax" value="0" />
Name: <input type="text" name="name" class="required" id="name" value="" /> <br />
<input type="submit" name="submit" id="submit" value="submit" />
</form>
<div id="result"></div>
More…
I have reduced the number of splog attacks on my site

I use the Akismet and WP-DenyHost anti-spam plugins for WordPress. Akismet is a must-have and has, since I installed it, caught 304,056 spams (!!). When Akismet catch a spammer, it logs the spammers IP address. WP-DenyHost, written by me, prevents spammers from getting access to my site a second time by blocking access from this IP address.
I installed WP-DenyHost in the fall 2009 and, as you can see from the graph above, the number of spam has dropped dramatically.
.
Please enable Javascript and Flash to view this VideoPress video.
Earlier WordPress.org has release their WordPress for iPhone and WordPress for Blackberry, today they released WordPress for Android
You’ll find WordPress for Android in the Android Market. If you are visiting my site from an Android device, you can download it here
*DRUM ROLL* jQuery 1.4 is released !!!
It has a lot of new features and enhancements like the examples below:
jQuery("<div>", {
"class": "test",
text: "Click me!",
click: function(){
$(this).toggleClass("test");
}
}).appendTo("body");
jQuery("<input>", {
type: "text",
val: "Test",
focusin: function() {
$(this).addClass("active");
},
focusout: function() {
$(this).removeClass("active");
}
}).appendTo("form");
UPDATE: The 1080i 50P ProRes file is available as a torrent (NOTE, it’s a 246GB file !)
Friday November 27th over 1,4 million Norwegians watched parts of “Bergensbanen” on NRK2. The longest documentary ever? At least the longest we have made, almost 7 1/2 hours, showing every minute of the scenic train ride between Bergen on the Norwegian west coast, crossing the mountains to the capital of Oslo.
.. source: http://nrkbeta.no/2009/12/18/bergensbanen-eng/
To wet your appetite, here’s a 10 minute video, from Finse:

Facts:
- 7 hours continues front view recording.
- Recorded on a Sony 700 camera in XDCAM HD 1080 50i.
- Available as 720 50P, 1280×720 version, 22 GB file, and as a 1080i 50P ProRes file (NOTE, it’s a 246GB file !)
- Released under Creative Commons
Trivia:
For more information, and the download, head over to http://nrkbeta.no/2009/12/18/bergensbanen-eng/
Drool Radio version 1.3 is available.
What’s new:
- Drool Radio is now integrated with SHOUTcast.com
- You can now listen to 30 000 radio stations from around the world
- Set volume on Radio Alarm Clock
- Support for ACC+
- Stops playing when you remove the headset
- Stops playing when removed from docking station
- Other minor bug fixes
Web Design Ledger has collected a great list with the best of 2009. Head over and get inspired: