Category Archives: Programming

Composer Memory Limit Issues when updating/installing

If you run into memory limit issues while trying to use composer, you can disable(or limit to a higher limit e.g. 1024M) with via the method below.

Installing WHM/Cpanel on Digital Ocean

After you setup your centos droplet, you can do these steps. Make sure your hostname is a FQDN.

1. Change Root Password

2. Update Server

3. Add user

4. Modify SSH Settings

5. Disable SELinux

6. Setup a SWAP file

7. Install PERL

8. Install screen and wget

9. Install Cpanel

Once it is complete, you can access WHM from your hostname, or droplet IP on port 2087

Setup of AWS RTMP Server with EFS

Dell Laptop wifi connection slow?

After hours of debugging, I finally found the issue with wireless speeds, and it happened to be a piece of software. Go to your add/remove programs and look for ‘smartbyte drivers and services’. It happened to be limiting a laptop I was working on to 12MBPS. I removed it jumped to 200MBPS.

Commision Junction and Shopify with CJEVENT

Add this code to within your theme code

Add this code to your additional scripts area

FYI – Apparently since responsive checkout the liquid {{order_number}} is different from the order number in your admin panel. So, if your order number in your admin panel is 98777141384, the order number sent to commission junction might be 1384 (last 4 digits of full order number), so you will need to prepend 9877714 to the OID