Posts by author: David Carr

PHP & MySQL | Tutorials

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 past I...

David Carr


Tools

Get a free SSL certificate using Cloudflare

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

David Carr


PHP & MySQL | Tutorials

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 usually reach...

David Carr


Tools

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 hearing...

David Carr


Personal | Design

My office setup

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

David Carr


Development

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 together...

David Carr


Nova Framework | PHP & MySQL | Tutorials

Using X-editable for inline editing

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

David Carr


CSS

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...

David Carr


Laravel Framework

Laravel 5.3 login with username instead of email

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

David Carr


Laravel Framework

Laravel 5.3 send errors to email

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

David Carr


Laravel Framework

Laravel 5.3 install whoops

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

David Carr


Laravel Framework

laravel 5.3 disable registration

Laravel comes with build in auth which includes, login, register and forgot password. In this post I...

David Carr


Laravel Framework

Laravel Auto redirect if not logged in

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

David Carr


Python | Tutorials

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 ‘...

David Carr


Tools

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 I w...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.