Nick Yeoman's Blog

Hey everybody! Welcome to my blog, where I’ve placed together tips, tricks, and hacks I’ve learned through out my working life. Whether you're looking for some Bash snippets, tackling Docker, or template PHP, I've got a little of everything. Think of this as your go-to toolkit for making web development easier—because, let’s face it, we’ve all been down the rabbit hole of trial and error. So go ahead, explore, and let’s make coding a little less painful and a lot more fun!

Bash Script Snippets

There are a few bash snippets that I use very frequently in my bash scripts. Here is my collection.

Read More: Bash Script Snippets Updated: 13 Jan 2025

Virtualbox on Windows

This is a video I created to get Virtualbox 7 installed on Windows 11.

Read More: Virtualbox on Windows Updated: 13 Jan 2025

Laravel out of the box

Laravel out of the box explains how to install Laravel, to a working development condition, on a Ubuntu system using Sail and docker.

Read More: Laravel out of the box Updated: 13 Jan 2025

Php Validation Class

This article includes the PHP class I use for simple form validation.

Read More: Php Validation Class Updated: 13 Jan 2025

How To Install Composer On Ubuntu

Read More: How To Install Composer On Ubuntu Updated: 13 Jan 2025

Php Heredocs

Developers who don’t use heredoc’s have really annoying code to edit.

Read More: Php Heredocs Updated: 13 Jan 2025

Php Mysql Insert From Array

I first wrote this article in 2009 when CodeIgniter’s active record class did most of the db work for you.  Eventually I'll update this to talk about my php class helper for MySQL.

Read More: Php Mysql Insert From Array Updated: 13 Jan 2025

Redirect Based On Browser (user agents)

Read More: Redirect Based On Browser (user agents) Updated: 13 Jan 2025

Php Sessions

This is a brief introduction to PHP sessions. Creating sessions are very easy!

Read More: Php Sessions Updated: 13 Jan 2025

Password Protection using Apache's htaccess

Protecting a directory with a password using Apache and htaccess is really simple, I'll tell you how anyway.

Read More: Password Protection using Apache's htaccess Updated: 13 Jan 2025

Using Apache to Redirect Pages

In this article I explain how to do a 301 and 302 redirect using Apache's .htaccess file.

Read More: Using Apache to Redirect Pages Updated: 13 Jan 2025

Htaccess 404 Page

Usually 404 pages are handled within your framework or CMS, but some cases call for an htaccess 404 page.

Read More: Htaccess 404 Page Updated: 13 Jan 2025

Htaccess Subdomains to www

Search engines are making duplicate content an easy problem to solve.

Read More: Htaccess Subdomains to www Updated: 13 Jan 2025

Redirect index.php to root (/)

How to redirect all traffic to a single page.

Read More: Redirect index.php to root (/) Updated: 13 Jan 2025

Getting Started With Ansible

Here is a tutorial of how I would start a server from scratch using ansible and docker

Read More: Getting Started With Ansible Updated: 13 Jan 2025

Bash Aliases To Save Time

Creating an alias allows saves you time by reducing the amount of characters you have to type.

Read More: Bash Aliases To Save Time Updated: 13 Jan 2025

Everything about etc hosts file

I don't work in Windows or Mac often so I always forget where the hosts file is located. The windows etc hosts file and Unix etc host file both work the same, so usage is easy.

Read More: Everything about etc hosts file Updated: 13 Jan 2025

Using Docker Compose

This is the foundation I use for docker-compose.

Read More: Using Docker Compose Updated: 13 Jan 2025

Docker Getting Started

This is my introduction to docker and how to use docker.

Read More: Docker Getting Started Updated: 13 Jan 2025

Git Quick reference (cheatsheet)

I use Git on a daily basis; however, I don’t use every command frequently so here is a quick list of git commands used infrequently. I guess this is meant to be a cheat sheet.

Read More: Git Quick reference (cheatsheet) Updated: 13 Jan 2025

Using grep for web development

grep is a great tool for web development and System administraton.

Read More: Using grep for web development Updated: 13 Jan 2025

Headless Virutalbox (Cheat Sheet)

Virtualbox is exteremly handy on a development server, learn how to run it headless.

Read More: Headless Virutalbox (Cheat Sheet) Updated: 13 Jan 2025

Install Ubuntu Server 1804

Installing Ubuntu Server is really easy, but I though I’d share how I do it with you. The goal at the end of this article is to have a working server you can connect to through ssh using the root user. I may in the future call this a “Root Server”.

Read More: Install Ubuntu Server 1804 Updated: 13 Jan 2025

Introduction to Tmux

tmux is pretty awesome, here is where I write about it.

Read More: Introduction to Tmux Updated: 13 Jan 2025

Mirror a Website With Wget

This article explains how to mirror a website for backup purposes.

Read More: Mirror a Website With Wget Updated: 13 Jan 2025

Back up and restore MySQL databases

This article will briefly explain how to use the command line to backup your databases, making it easy to automate your tasks using bash scripts.

Read More: Back up and restore MySQL databases Updated: 13 Jan 2025

MySQL Runaway Process

Here are the commands to stop a run away process.

Read More: MySQL Runaway Process Updated: 13 Jan 2025

Reset MySQL (or MariaDB) Root Password

This article explains how to reset the database root password.

Read More: Reset MySQL (or MariaDB) Root Password Updated: 13 Jan 2025

Rsync

This article is my reference for everything to do with Rsync. I use Rsync for docker containers, backups and moving servers.

Read More: Rsync Updated: 13 Jan 2025

Server Storage

This article outlines everything I can think of about space on your server drives.

Read More: Server Storage Updated: 13 Jan 2025

Split Files Into Chunks

Split is a really easy Linux command you can use to split large files into smaller chunks.

Read More: Split Files Into Chunks Updated: 13 Jan 2025

SSH Keys

Everything about ssh keys on Ubuntu

Read More: SSH Keys Updated: 13 Jan 2025

Ubuntu Keyboard Shortcuts

The purpose of this article is to quickly teach you useful time-saving keyboard shortcuts available in Ubuntu.

Read More: Ubuntu Keyboard Shortcuts Updated: 13 Jan 2025

Using Screen (Linux)

Screen is a linux command line tool that allows you to store sessions and create windows without a GUI.

Read More: Using Screen (Linux) Updated: 13 Jan 2025

What's using your Bandwidth

A quick article that lets you know what's using your bandwidth.

Read More: What's using your Bandwidth Updated: 13 Jan 2025

Google Authorship Markup

Google displays the author of content in certain search results.

Read More: Google Authorship Markup Updated: 13 Jan 2025

Canonical Link Tag

I find there is still some confusion with canonical link tag.Here I explain and provide resources to everything canonical tag realted in this article.

Read More: Canonical Link Tag Updated: 13 Jan 2025

Coming Soon Page

Will a coming soon page hurt your rankings?

Read More: Coming Soon Page Updated: 13 Jan 2025

Dont Hide Text

There was a time when a spammer would hide text from either the user or a search engine.  This technique doesn't work because Google is really good at catching spam.  This article discusses some common spam tatics that should not be used.

Read More: Dont Hide Text Updated: 13 Jan 2025

How Many Links per Page

Do you know how many links (a href) you should have on a single page? Matt Cutts has written a great article which puts things into perspective.

Read More: How Many Links per Page Updated: 13 Jan 2025

Keyword Tool

Are you trying to pick a domain name? or choosing keywords to litter through your site? A great way to see which words are searched for the most are Keyword tools.

Read More: Keyword Tool Updated: 13 Jan 2025

How Google Uses Metatag Keywords

I wrote this article because I found there were a lot of SEO Experts stating that the meta tag keywords is important.

Read More: How Google Uses Metatag Keywords Updated: 13 Jan 2025

Moving A Website

How to move a website keeping Search Engine's in mind.

Read More: Moving A Website Updated: 13 Jan 2025

No Follow

Nofollow is a great way to reduce comment spam and keep your site a reputable source for search engines.

Read More: No Follow Updated: 13 Jan 2025

Robots noindex meta tag

Matt Cutts did some great research on how the index meta tag is handled between search engines.  I summarize his results in this article.

Read More: Robots noindex meta tag Updated: 13 Jan 2025

Remove a Page From Search Engines

In this article I explain how you can remove pages or sites from Google.

Read More: Remove a Page From Search Engines Updated: 13 Jan 2025

Everything you need to know about robots.txt

Robots.txt doesn't quite work as most people assume, so I am writing this article to clear things up.

Read More: Everything you need to know about robots.txt Updated: 13 Jan 2025

Choose A Good Domain Name

In this article I will explain the steps you should take when choosing a domain for your organization.  Domain Names are very important because they are what your customers, visitors or users will use to return to your website.  In order for your site to be successful they will need to implement most of the following steps.

Read More: Choose A Good Domain Name Updated: 13 Jan 2025

Compress and Combine CSS

In this article I'm going to show you how I merge and compress my CSS files using PHP.

Read More: Compress and Combine CSS Updated: 13 Jan 2025

CSS HTML Stylesheet

The HTML CSS style sheet is one of the files I use with my own personal CSS framework.

Read More: CSS HTML Stylesheet Updated: 13 Jan 2025

CSS Library

By creating a standard library for all my sites, I'm able to rapidly develop web sites and reduce repetitive work.

Read More: CSS Library Updated: 13 Jan 2025

Override Inline Styles

Why would you want to overwrite in-line styles? The most common reason I can think of is when a CMS or plugin automatically posts in-line styles to it's output.

Read More: Override Inline Styles Updated: 13 Jan 2025

CSS Specificity

CSS Specifity is one of the most important concepts to grasp with css.

Read More: CSS Specificity Updated: 13 Jan 2025

Intro to Html

This article quickly outlines basic HTML with the intent of teaching someone enough to edit a page of a corporate website which uses a Content Management System(CMS).

Read More: Intro to Html Updated: 13 Jan 2025

HTML 5 Boilerplate

This article is going to go through some of the features and how you can use them with PHP, Hugo, Joomla, CodeIgniter & Wordpress.

Read More: HTML 5 Boilerplate Updated: 13 Jan 2025

404 Resources

My collected resources of 404 pages.

Read More: 404 Resources Updated: 13 Jan 2025

Install Git on Ubuntu

How to install git on Ubuntu.

Read More: Install Git on Ubuntu Updated: 13 Jan 2025

Windows Tips, Tricks and Gotchas

Windows tips, tricks and gotchas that I have accumulated.

Read More: Windows Tips, Tricks and Gotchas Updated: 13 Jan 2025