Report SPAM to SpamCop Automatically (almost) on Mac OSX
If you’re email provider uses the SpamCop RLB to help block SPAM coming into your account, then you can use the steps below to more easily report SPAM messages you receive and help reduce it. Setup is...
View ArticleMAMP Pro Setup
Install Download MAMP Pro and Install Note: all MAMP Pro specific configuration files are in /Library/Application Support/appsolute/MAMP PRO/ Configure PHP Preferences Click the “PHP” section Set...
View ArticleList Unique IPs that Accessed Linux Server
IPs from Apache access logs… [code]$ cat ./access_log | awk ‘{print $1}’ | sort -n | uniq -c | sort -nr | head -20[/code] IPs that logged into server (via SSH, etc)… [code]$ last[/code] The post List...
View ArticleInstall MySQL Time Zone Support on MAMP Pro
To setup the ability to use time zone features in MySQL like CONVERT_TZ(), for example, you need to setup time zone support in your MySQL install. These steps are specifically for MAMP Pro, but will...
View ArticleCreate Custom URL Paths and Templates in WordPress
If you need to create a custom URL Path (rewrite) it’s easy enough to just create the page in the admin and create a custom shortcode that will output the HTML that you want. However, you would not...
View ArticleDisable WHM Two-Factor Authentication via Command Line
In the event you lose your device or two-factor just isn’t working for whatever reason, you have the ability to disable it by logging into your server via command line as root. Then run the following...
View ArticleAdd Custom Image Field to WordPress Theme Customizer
To make the theme preview work, in JS in the admin you will need to add… Then to output in your theme you can either output directly using… However, since we are saving this in the DB as an attachment...
View ArticleCleanup Git Branches Already Merged into Master
Here are some command line statements to help cleanup your branches. Clean remote git branches already merged into master Switch to master, fetch and pull the latest updates from master. List the...
View ArticleInstall Magento 2 on Mac OSX Running MAMP
Option 1: Install Magento 2 with Composer 1) Install Composer The first step is to install Composer if you haven’t already. 2) Install Magento Run the following to install the version of Magento you...
View ArticleCreate Magento Custom Frontend Route
To create a custom URL path (route) such as example.com/test/, use the following as a guide. This assumes you already have created a custom module with your three initial files (registration.php,...
View Article