Skip to content

Instantly share code, notes, and snippets.

View karlhillx's full-sized avatar

Karl Hill karlhillx

View GitHub Profile
@karlhillx
karlhillx / macos_high_sierra_apache_php_brew_2018.md
Last active August 1, 2024 16:18
macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL

macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL

Homebrew Installation

First let's install Homebrew.

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

@karlhillx
karlhillx / macos_mojave_homebrew_apache_php_mariadb_2019.md
Last active February 21, 2024 09:51
macOS Mojave Setup: Homebrew + Apache + PHP + MariaDB (Regularly updated)

macOS Mojave Setup: Homebrew + Apache + PHP + MariaDB

This document provides help on getting your macOS development environment up and running with the latest versions of Homebrew, Apache, PHP, etc.

Homebrew Logo

Homebrew Installation

Homebrew is an excellent package manager for macOS; let's install it.

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@karlhillx
karlhillx / .gitignore_global
Created October 11, 2018 21:48
Global .gitconfig file.
# macOS generated files #
#########################
.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
Thumbs.db
# Editors #
###########
@karlhillx
karlhillx / laravel-mix-font-awesome.md
Last active December 21, 2022 15:35
Want to use Laravel and Font Awesome? (Regularly updated)

Laravel Mix & Font Awesome Setup: Compiling Assets

This document provides help on getting your Laravel instance running with the latest versions of Laravel Mix and Font Awesome. Note: This guide is for Laravel versions 5 through 7. If you are using Laravel 8, please go here.

Laravel Mix

macOS Catalina Setup: Homebrew + Apache + PHP + MariaDB

This document provides help on getting your macOS development environment up and running with the latest versions of Homebrew, Apache, PHP, and MariaDB.

Before we get started we need to make sure XCode Command Line Tools is installed on your system.

$ xcode-select --install

@karlhillx
karlhillx / macos_big_sur_homebrew_apache_php_mariadb_2020.md
Last active October 20, 2024 02:33
macOS Big Sur 11.0 Setup: Homebrew + Apache + PHP + MariaDB (Regularly updated)

macOS Big Sur 11.0 Setup: Homebrew + Apache + PHP + MariaDB

This document helps get your macOS development environment up and running with the latest versions of Homebrew, Apache, PHP, and MariaDB.

@karlhillx
karlhillx / laravel-8-laravel-mix-6-font-awesome.md
Last active August 25, 2023 14:29
Want to use Laravel 8 and Font Awesome 5? (Regularly updated)

Laravel asset compilation for Laravel 8 + Laravel Mix 6 + Font Awesome 5

This document provides help to get your Laravel 8 instance running with the latest versions of Laravel Mix and Font Awesome.

Laravel Mix
@karlhillx
karlhillx / laravel-9-laravel-mix-6-font-awesome-6.md
Last active February 7, 2023 18:00
Want to use Laravel 9 and Font Awesome 6? (Regularly updated)

Laravel asset compilation for Laravel 9 + Laravel Mix 6 + Font Awesome 6

This document provides help to get your Laravel 9 instance running with the latest versions of Laravel Mix and Font Awesome.

Laravel Mix
@karlhillx
karlhillx / Dockerfile
Last active October 11, 2024 11:48
Dockerfile to run Tomcat 9 in the latest Ubuntu container
# Docker file for Ubuntu with OpenJDK 18 and Tomcat 9.
FROM ubuntu:latest
LABEL maintainer="Karl Hill <[email protected]>"
# Set environment variables
ENV TOMCAT_VERSION 9.0.71
ENV CATALINA_HOME /usr/local/tomcat
ENV JAVA_HOME /usr/lib/jvm/java-18-openjdk-amd64
ENV PATH $CATALINA_HOME/bin:$PATH
@karlhillx
karlhillx / macos_ventura_homebrew_apache_php_mariadb_2022.md
Last active September 23, 2024 23:26
macOS Ventura 13.0 Setup: Homebrew + Apache + PHP + MariaDB (Regularly updated)

macOS Ventura 13.0 Setup: Homebrew + Apache + PHP + MariaDB

This document helps get your macOS development environment up and running with the latest versions of Homebrew, Apache, PHP, and MariaDB.