brew brew uninstall --cask aldenterm -rf ~/Library/Application\ Support/Aldenterm -rf ~/Library/Caches/com.apphousekitchen.aldente-prorm ~/Library/Preferences/com.apphousekitchen.aldente-pro_stats.sqlite3rm ~/Library/Preferences/com.apphousekitchen.aldente-pro.plistsudo rm /Library/PrivilegedHelperTools/com.apphousekitchen.aldente-pro.helpersudo rm /Library/LaunchDaemons/com.apphousekitchen.aldente-pro.helper.plist
Remove Chrome configurations
rm -rf ~/Library/Googlerm -rf ~/Library/Application\ Support/Googlerm -rf ~/Library/Caches/Googlerm -rf ~/Library/Preferences/com.google.*
Remove Firefox configurations
rm -rf ~/Library/Mozillarm -rf ~/Library/Application\ Support/Firefoxrm -rf ~/Library/Application\ Support/Mozillarm -rf ~/Library/Caches/Firefoxrm -rf ~/Library/Preferences/org.mozilla*
Remove Slack configurations
rm -rf ~/Library/Application\ Support/Slack/rm -rf ~/Library/Containers/com.tinyspeck.slackmacgap/rm -rf ~/Library/Preferences/com.tinyspeck.slackmacgap.plistrm -rf ~/Library/Saved\ Application\ State/com.tinyspeck.slackmacgap.savedStaterm ~/Library/Safari/LocalStorage/slack
A fake Apache Userdir on Ubuntu
Change your_username by your username.
cd /home/your_usernamemkdir Sitescd /var/www/htmlsudo ln -s /home/your_username/Sites your_username
Go to the user site:
http://localhost/your_username
Extend the SSH connection timeout
sudo nano "ClientAliveCountMax 2" >> /etc/ssh/sshd_configsudo nano "ClientAliveInterval 120" >> /etc/ssh/sshd_config
Configure PHP 8 for WordPress on macOS
echo "pcre.jit=0" >> /opt/homebrew/etc/php/8.1/php.inibrew services restart phpsudo apachectl restart
In wp-config.php configure DB_HOST as 127.0.0.1 =)
Create a MySQL user on macOS
USE mysql;CREATE USER 'your_username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';GRANT ALL PRIVILEGES ON * . * TO 'your_username'@'localhost';FLUSH PRIVILEGES;
Install MySQL on macOS
brew install mysqlbrew services start mysqlmysql -uroot
Create a ssh key
ssh-keygen -t ed25519