Posts By:

The new TSW Webcoder 2010

Posted by & filed under TSW Webcoder.

I’ve been using TSW webcoder since 2005 as my ‘everyday’ editor for all things code. It is unbloated, quick, has some rather splendid time-saving feature. But until the latest release it could not really be classed as an IDE. Well I’ve just upgraded to Webcoder 2010 and it now includes a nice PHP debugger as… Read more »

WordPress XML-RPC publishing

Posted by & filed under Wordpress.

Well I thought I would try XML-RPC publishing in a WordPress blog. The main advantage I see in using RPC vs. email publishing is the use of font–styles. It also works with my SyntaxHighlighter plugin… I’m using the ScribeFire plugin for Firefox to write this blog, but Microsoft Live Writer looks like a good desktop… Read more »

Shell – change permissions recursively

Posted by & filed under Linux.

To change BOTH file and directory perms recursively: chmod -R 777 To change just files: find . -type f -exec chmod 777 {} \; To change just directories: find . -type d -exec chmod 777 {} \; or this should work too: chmod 644 $(find . -type f) chmod 755 $(find . -type d)

Making a feed from Joomla Category

Posted by & filed under Joomla.

Use the following link and just change the category id: index.php?option=com_content&view=category&id=1&format=feed&type=rss See this link… there might be a better way in Joomla 1.5.22+ but this works fine. Link

CSS Rounded corners

Posted by & filed under CSS.

This works on Opera, Safari, FF and IE NB: make sure you download the link – don’t try and run it cross domain)

CSS gradients, or graduated tints

Posted by & filed under CSS.

Thanks to this link and this link. Here’s a useful tool for IE when you need rounded corners AND gradient tints http://www.pagecolumn.com/tool/roundcorner.htm

Online resources for Bash commands

Posted by & filed under Linux.

Try these: http://www.gregrobert.com/sshputty.php http://www.debianhelp.co.uk/commands.htm And the master of all: http://ss64.com/bash/

WordPress permissions or ownership

Posted by & filed under Linux, Wordpress.

I was recently trying to upload a plugin to WordPress and found that the plugin could not create a directory. The problem was not directory permissions – it was user/group ownership. PHP running as fastCGI is running as user nobody on my VPS. I tried changing directory perms to 777 for wp-content/uploads and wp-content/plugins but… Read more »

Conditional CSS

Posted by & filed under CSS.

If you want conditional CSS to be inside the external CSS file (which is really the best place for it) try http://www.conditional-css.com From here you can download a PHP class that builds your CSS file, allowing you to use simple conditional statements for blocks or single lines. This is definitely the time saver! Update PHP… Read more »

CSS Definition Lists

Posted by & filed under CSS.

Results: first item definition for first item in list second item definition for second item in list extending across more than one line third item definition for third item in list Here is a good link for styling Definition Lists: http://www.maxdesign.com.au/articles/definition/

Bitnami