Linux, Apache, Nginx, MySQL, Javascript and PHP

Inject HTML content into Disqus and jQuery
Javascript

Inject HTML content into Disqus and jQuery

My last post looked at how to run Javascript functions after Disqus has loaded using their undocumented callback functions. The
CSS Sprites – making one of the buttons active
HTML And CSS

CSS Sprites – making one of the buttons active

A few months ago I posted using CSS sprites for image navigation which looks at

PHP: Class XsltProcessor not found
PHP

PHP: Class XsltProcessor not found

A PHP install on Debian 5 by default does not include the Xslt extension which means the following error will

PHP: Write and append to files with file_put_contents
PHP

PHP: Write and append to files with file_put_contents

The PHP file_put_contents() function is a useful shortcut for dumping a string into a file (compared with

Keyboard shortcuts for Excel for Mac
Applications

Keyboard shortcuts for Excel for Mac

I have Microsoft Excel for Mac 2011 and have found somewhat annoyingly at least a couple of the shortcut keys

Searching Gmail by date
Applications Quick Tips

Searching Gmail by date

This is a quick post for my own reference to show how to search Gmail by date range. I

border-radius and box-shadow support across browsers
HTML And CSS

border-radius and box-shadow support across browsers

This post is a reference sheet I needed for myself to show which browsers support the CSS3 box-shadow and

Change the default sort order for files and images in SilverStripe
Linux/Unix/BSD

Change the default sort order for files and images in SilverStripe

SilverStripe’s File, Folder and Image objects have a default sort of ‘Name’, ‘Sort’ and ‘Name’ respectively, but if you

Validating an IP address with PHP’s filter_var function
PHP

Validating an IP address with PHP’s filter_var function

PHP’s filter_var function can validate if an IP address is valid and can further validate if it is

Install PHP without Apache on Debian
Linux/Unix/BSD PHP

Install PHP without Apache on Debian

When you go to install PHP on a Debian server, it will attempt to install a whole bunch of

Directory listings slow with ftp server and CentOS
Linux/Unix/BSD

Directory listings slow with ftp server and CentOS

I recently installed the VSFtpd FTP Server onto a CentOS box and have a fairly tight firewall setup script

SilverStripe and PHP version requirements
PHP SilverStripe

SilverStripe and PHP version requirements

This post looks at the minimum PHP version requirements for SilverStripe. I will update this page as new versions are
Web server setup, DNS and Email Hosting, Domain Registrars
Miscellaneous Postings

Web server setup, DNS and Email Hosting, Domain Registrars

I have two VPS servers, one in the USA and one in New Zealand. This post explains a little

Open a jQuery Facebox on page load
Javascript

Open a jQuery Facebox on page load

I was asked this morning how to go about opening a jQuery Facebox when the page loads; while I

Aligning HTML bullet points against the margin
HTML And CSS

Aligning HTML bullet points against the margin

Paddings and margins on <ul> and <ol> elements in HTML are fairly inconsistent across browsers,

Find all symbolic links with the find command
Linux/Unix/BSD Quick Tips

Find all symbolic links with the find command

This quick tip shows how to find all the symbolic links under a particular directory using the “find” command from
OSX Quick Tip: How to remove automator services
PHP

OSX Quick Tip: How to remove automator services

The Automator in OSX allows you to create processes, services, folder actions etc. Once you have created a service

Netbeans Quick Tip: How to use tabs not spaces
Quick Tips

Netbeans Quick Tip: How to use tabs not spaces

If you are like me and you prefer to have tabs and not spaces for code indentation and are

1 3 4 5 6 7 50