Codebook

Useful Code, Commands, Scripts and Stuff

The latest posts

Laravel storage directory file permissions

Created: Jun 1, 2017

This one catches me out every time I'm not using a Forge built server!

Design Patterns simply explained

Created: May 29, 2017

If, like me, you've decided to smarten up your PHP code you'll be needing to know about design patterns...

Git commands I use a lot but can't remember!

Created: May 19, 2017

A few useful git commands that I often need

Laravel's Higher Order Messaging

Created: Apr 25, 2017

These arrived in 5.4 and I didn't really pay much attention, but they're actually quite interesting when you go behind the scenes

Useful find and grep command line snippets

Created: Apr 7, 2017

A collection of find and grep commands that I've used over the years

Some ls commands

Created: Apr 6, 2017

These are commands that I always forget so I'm putting them here so I can copy paste them.

Some useful netstat commands

Created: Apr 6, 2017

These are pretty useful for quick checks on suspicious looking traffic on your Linux server

Apache HTTP to HTTPS redirects don't need to be painful!

Created: Feb 1, 2017

A lot of information out there on the web suggests using mod_rewrite but an easier way exists

Converting PHP's deprecated mysql_ functions to mysqli

Created: Nov 10, 2016

It's 2016 and nobody should be talking about the mysql api, but I'm going to...

Work with Cowshed:Works

Ready to start your next website or app project? Give us a call or send us an email.



© Cowshed Works Ltd: UK Staffordshire-based website design, build and management

VAT: 251 4480 22 - Registered in England: 10399485

Terms: Website | Service