Skip to content

Instantly share code, notes, and snippets.

View thomaskanzig's full-sized avatar
😎
Knowledge is responsibility

Thomas Känzig thomaskanzig

😎
Knowledge is responsibility
View GitHub Profile
@thomaskanzig
thomaskanzig / how-to-update-.gitignore-file.md
Last active August 28, 2022 11:35
How to update .gitignore file

How to update .gitignore file

In some case, in the middle of our developlment, you have to add a new file or directory to the .gitignore file.
How do you do that?

Well, first of all make sure that the changed files in your project are saved in a commit. Then, add your file or directory to your .gitignore file.
Run these commands below to clear your repository cache and save again in a new commit:

git rm -r --cached . 
@thomaskanzig
thomaskanzig / how-to-install-php-apache-mysql-phpMyAdmin-on-macos-monterey-using-homebrew.md
Last active March 15, 2025 08:00
How to install PHP + Apache + MySQL + phpMyAdmin on macOS Monterey using Homebrew

How to install PHP + Apache + MySQL + phpMyAdmin on macOS Monterey using Homebrew

This is a simple process with all instructions for the Development Environment on Mac OS X.
All steps will be launch in your Terminal (/Applications/Utilities/Terminal).

XCode Command Line Tools

If you don't already have XCode installed, it's best to first install the command line tools as these will be used by homebrew: