Secure your XAMPP local web development environment for macOS
After setting up a local web development environment with XAMPP for MacOS, you should still secure your installation, even if you're the only one working on your computer.
After setting up a local web development environment with XAMPP for MacOS, you should still secure your installation, even if you're the only one working on your computer.
I use Sequel Pro for administering databases on local development environment.
I encountered an error where the database import would reach half way and the importing process prompts an error about the encoding being incorrect. Although the database file was encoded in UTF-8 and it seems that the autodetect failed and does not work.
There seems to be an encoding mismatch when exporting a MySQL database from a Linux environment and then imported into Sequel Pro on Mac.
You can access a Git repository using either SSH or HTTPS and can change to either one depending on your use case.
To check which repository your project is connected to, you can use the following command:
$ git remote -v
To change your project's repository, use the following command:
To clone a GitHub repository with a different user:
Open your terminal or command prompt and navigate to the directory where you want to clone the repository.
If your GitHub username is "username", simply run:
$ git clone https://username@github.com/example/repo.git
Enter your GitHub password when prompted
Publishing a PHP library to Packagist.org is a straightforward process that involves a few simple steps. An existing Github repository that is public is required (although private is also available) in order to submit to Packagist.
HomeBrew is a command line package manager and has native support for macOS and is an essential tool for any web developer. HomeBrew is intended for advanced users that like to have a broad range of command line utilities available.
If you haven’t installed HomeBrew before, install the Command Line tools first.
XAMPP is a popular open-source software stack that provides a development environment for web applications and is completely free. The XAMPP open source package has been set up to be incredibly easy to install and to use. It includes an Apache web server containing MySQL or MariaDB and PHP (including Perl), which is the stack you primarily need for web development.
cd [path/to/site/root/directory]
git checkout master
git fetch --all
git pull
git checkout -b update/core-[version]