Loading...
Using Carbon time ago aka diffForHumans() with Nova Framework

Using Carbon time ago aka diffForHumans() with Nova Framework

Carbon is an amazing date library that is included with Nova. One of it’s features is bein...

David Carr

1 min read -

Fixing Chrome Syncing problem

Fixing Chrome Syncing problem

Recently I reinstalled Google Chrome signed into my Google account to sync my passwords. M...

David Carr

1 min read -

MySQL next record order by title

MySQL next record order by title

A common requirement for web applications is the ability to be able to move to the next an...

David Carr

1 min read -

MySQL find and replace

MySQL find and replace

There are times when you need to bulk update a database. Such as changing all references o...

David Carr

1 min read -

Free SSL's with A2hosting and Let's Encrypt

Free SSL's with A2hosting and Let's Encrypt

Recently many browsers will start flagging sites that do not use the HTTPS protocol as uns...

David Carr

1 min read -

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 -