Loading...
Using MAMP and dealing with the error: mysql No such file or directory

Using MAMP and dealing with the error: mysql No such file or directory

I’ve got a fresh install of Nova Framework installed and decided to use MAMP as my server...

David Carr

1 min read -

Creating an alias in terminal

Creating an alias in terminal

I often run local sites from a projects folder that is stored in a dropbox folder the full...

David Carr

1 min read -

Splitting an array into smaller arrays using array_chunk

Splitting an array into smaller arrays using array_chunk

There a times when you have an array and need to slit that array into smaller ones, I usua...

David Carr

1 min read -

Get a free SSL certificate using Cloudflare

Get a free SSL certificate using Cloudflare

Cloudflare will give you a free SSL certificate, the steps involved are really simple, thi...

David Carr

2 min read -

Quick way to get the number of days in a month with PHP

Quick way to get the number of days in a month with PHP

I’m building a php calendar and need to know the total number of days in a month in the pa...

David Carr

1 min read -

Cases where php's short tags should be avoided

Cases where php's short tags should be avoided

When designing my email layout files I like to break them down into parts and include them...

David Carr

1 min read -

My office setup

My office setup

At work we recently moved into a new building, my desk setup changed as a result a few peo...

David Carr

2 min read -

Using X-editable for inline editing

Using X-editable for inline editing

X-editable allows you to create editable elements on your page. Includes both popup and in...

David Carr

3 min read -

Bear writing app for iPhone, iPad and Mac

Bear writing app for iPhone, iPad and Mac

I’ve heard a lot of people talking about how good a writing app called Bear was, after hea...

David Carr

1 min read -

Stop Bootstrap drop menu's being cut off in responsive tables

Stop Bootstrap drop menu's being cut off in responsive tables

Bootstrap’s dropdown menu’s a great for display items in a tidy way but suffer for being c...

David Carr

1 min read -

Laravel 5.3  login with username instead of email

Laravel 5.3 login with username instead of email

Laravel’s built in auth system uses an email address and password to validate credentials...

David Carr

1 min read -

Laravel 5.3 send errors to email

Laravel 5.3 send errors to email

Errors in Laravel are logged to files. That’s useful for monitoring when things go wrong....

David Carr

1 min read -

Laravel Auto redirect if not logged in

Laravel Auto redirect if not logged in

Some application are login only meaning there is no ‘front page’ so when landing on the ho...

David Carr

1 min read -

laravel 5.3 disable registration

laravel 5.3 disable registration

Laravel comes with built in authentication to enable it first create the users table by ru...

David Carr

2 min read -

Laravel 5.3 install whoops

Laravel 5.3 install whoops

In older versions of Laravel error’s where displayed using the Whoops. In recent versions...

David Carr

1 min read -

Run Python 3 as default when Python 2 is installed on a Mac

Run Python 3 as default when Python 2 is installed on a Mac

I’ve started to learn Python version 3 I had Python 2 already installed so when typing ‘py...

David Carr

1 min read -

Stop the Mac's play button auto opening iTunes by default

Stop the Mac's play button auto opening iTunes by default

The Play/Pause key on mac’s default behavior is to open iTunes, which for me is never what...

David Carr

1 min read -

Using MPDF with Nova Framework

Using MPDF with Nova Framework

MPDF is my go to library when I need to generate a PDF using PHP. It’s perfect for taking...

David Carr

2 min read -