Blog Posts

All our latest articles and updates

Remove File from Github Commits

To remove a .env file from your repository's commit history (so it no longer appears in any commit on GitHub), you need to rewrite your Git history to...

PHP Static Setters and Getters

In PHP, magic methods like __get and __set are inherently non-static, meaning they are designed to work with object instances rather than static conte...

PHP Magic Methods

[!note] Info In PHP, magic methods are special methods that start with a double underscore (__). These methods are automatically called in certain si...

Changing MySQL Charsets

If you want to update all tables and columns in a MySQL database to use the utf8mb4 character set and a specific collation without manually listing ea...

Publishing to NPM

Publish to install npm i --save @skem9/package-name npm publish --access public I got it to publish under the @yohns/ organization name! in package.j...

GIT Push Issues

Common GIT errors from VSCode Update your remote URL to use SSH: git remote set-url origin git@github.com:USERNAME/REPO.git Could not resolve host...