Quantcast
Channel: Simon Davies
Browsing latest articles
Browse All 13 View Live

Syncing MAMP with Dropbox

I use MAMP as my local development environment. MAMP is brilliant as it installs the software (Apache, MySQL and PHP) used to run a web server similar to a LAMP server. This is great as it means you...

View Article



Finally!

Ok so I've finally got my site live and its a great feeling. It has only taken me a year, if anyone says its been longer than this, well they are probably right! I'm not a designer, which has been one...

View Article

The dangers of search and replace in WordPress

This week I learnt an important lesson when using Search and replace in WordPress. When I'm working on a site in development I have WordPress running on a dev domain so the client can view the website...

View Article

Locking down WordPress

I just came across a free eBook called Locking Down WordPress from CodePoet featuring Rachel Baker, Brad Williams, and John Ford. It's an interview style book asking the 3 pro's how they handle...

View Article

Using MAMP and Pow on the same machine

I've been playing with Ruby on Rails recently and I've been using Pow as a rack server for the applications I'm working on. So I don't have to keep running "rails server" when I want to test an app...

View Article


Using composer with MAMP's version of PHP

After my laptop has been running really for a couple of weeks now, I have decided to order some new RAM and do a clean install of Lion. This has given me a great opportunity to configure my...

View Article

PHP Insert into array at position

The other day I found myself needing to insert into an array at a given position, so I wrote this little function. For example if you have pulled a list of posts from a database and are going to loop...

View Article

Website relaunch

I've found that one of the best parts of putting my site live in May earlier this year, was being able to start again and use what I had learnt to improve my site. Today I have launched my new design...

View Article


Backing up MySQL Databases

As a web developer you learn that there is nothing more important than keeping regular backups of your databases. I've created a little bash script to help with Backing up MySQL databases for this...

View Article


WP-Admin broken after updating WordPress

Have you just updated your local of WordPress and its now all broken on MAMP, I've had this problem a few times now so thought it would be worth sharing how to fix this. The problem is caused by the...

View Article

Setting a different ul bullet colour in CSS

I've always found it annoying that you can't set a different ul bullet colour through CSS. It should be as simple as: ul { color: red; } li { color: black; } But unfortunately CSS will render both...

View Article

Show Woocommerce stock status for unmanaged products

The WooCommerce stock status (In Stock, Out of stock) will only show if WooCommerce is managing the stock for you. I was working on a project and the client wanted the ability to manually set if the...

View Article

Namespacing Models in Laravel

I have been using Laravel quite a bit recently and it's a great framework, which is really good fun to code with. I've just started writing a registration system in Laravel and came across a problem...

View Article

Browsing latest articles
Browse All 13 View Live


Latest Images