
In a recent post Steve Jobs talks about his thoughts on flash and why it is not supported on apple’s mobile devices such as iphone and ipad.
“Adobe’s Flash products are 100% proprietary. They are only available from Adobe, and Adobe has sole authority as to their future enhancement, pricing, etc. While Adobe’s Flash products are widely available, this does not mean they are open, since they are controlled entirely by Adobe and available only from Adobe. By almost any definition, Flash is a closed system.”
Read more
Its been a while since I started writing a plugin for Silverstripe CMS: “Page Elements“.
I felt myself running into the same problems every time when we build websites, no matter which CMS we chose:
- Multiple columns and content areas on websites are difficult to manage
- WYSIWYG editors leave little room anything else other than formatted text and images, such as flash elements, forms etc
So what I wanted was:
- An interface that is fun to use when dealing with complex layouts
- No more limitation for layouts
- Straight forward extendability
- Re-usability of code and components
- Seamless integration in existing CMS Interface an Workflow.
Read the rest of this entry »
A new script introduced in Ubuntu 9.10 Karmic Koala to add apt repositories and import the gpg key is “add-apt-repository“.
Sample usage:
~$ sudo add-apt-repository ppa:gmpc-trunk/mpd-trunk
For some reason there is no script to remove repositories that have been set up this way.
Luckily the guys from sourceslist.eu (it) wrote a script fixing this issue.
It can be downloaded either as a bash script or as deb package.
After the installation the usage is straighjt forward using the same syntax:
~$ sudo remove-apt-repository gmpc-trunk/mpd-trunk

On a previous post I explained how to build SVN updater script in PHP. This works fine on hosts that allow the webserver runas user to access the subversion binaries, such as Dreamhost.
What if not?
Our favorite hosting provider Webdrive allows our ssh-user access to subversion but not the apache runas user.
What can we do?
In order to avoid being asked to update the working files for website xyz.com every change someone made -> we need a script that executes the command “svn up” via ssh on a remote server!
This script will be hosted locally and the access will be restricted.
Sounds good what are the problems?
Everyone, who ever tried to build a script that connects via SSH to a remote machine in PHP, knows the big question:
“How can I send the password?”
The answer is: “Not“
thanks to ssh key authentication.
Read the rest of this entry »
Jackie Gillies + Associates carry out building conservation and creative re-use of historic buildings to the highest possible professional standards as well as promoting awareness of building conservation.

The release of the FitPC2 brings us a step closer to a ideal workstation:
- Small (101 x 115 x 27 mm)
- Environmentally friendly (8W at full CPU load)
- Powerful (Intel Atom CPU)
- Silent (fanless)
- Cheap (from US$245)
and of course
Simply include these lines and the jQuery library in your document.
$(document).ready(function() {
$('a[href^=http]:not("[href*=://' + document.domain + ']")').click(function() {
pageTracker._trackPageview('/out/'+$(this).attr("href"));
});
});
(please indent them!)
Cheers
PHP Subversion Updater
In our company we use Subversion for version control.
Using a GUI for Mac gives our more graphical team members easy access to common tasks, such as committing changed files to the repository.
However updating the working copy on a (test-) web server still requires knowlegde of a unix shell and having to log in and running it manually can be a full time position.
After doing some research I found the official PECL SVN bindings. These are still very experimental and a hussle to install.
So I decided to use the simplest solution that just executes a “svn up” on the server and does not require any server-side modification:
exec("svn up ".dirname(__FILE__), $out, $ret);
Which serves perfectly for this purpose.
Wrapping this line in a (30secs) self refreshing file makes sure the working copy stays updated.
And the best thing is:
it does not require anything, except installed svn binaries that are executable for the apache user and write access to the webroot.
Download

The Situation
Its been a while since everybody stopped complaining about the standards compliancy of Internet Exporer 6. In fact there was no way of having a website that was not working in the most popular browser.
However.
Times have changed.
Read the rest of this entry »