Devops
Linux server administration, docker, AWS, nginx, apache, sql ...
Accessing file systems for linux machines on the local network
Locate the other machines on your local network: sudo arp-scan --localnet result example: Inte...
Cloudflare for local server
Use skiff for email. Copy DNS setting from skiff to cloudflare. See: https://www.youtube.com/...
Certbox & NGINX on AWS
Did you know you can use CertBot and NGINX to have a wildcard certificate? Here’s how to do it ...
Debug Docker Errors
Seriously have you tried just rebooting your machine? For general container logs you can...
Certbox & NGINX on AWS
Did you know you can use CertBot and NGINX to have a wildcard certificate? Here’s how to do it wi...
Install and Configure Memcached
Memcached is a lightweight alternative to Redis for storing short lived cache which would otherwi...
PHP-FPM Optimization
Out-of-box php fpm is configured for very low server specs such as a 2 core machine. It needs to ...
Automatic AWS EC2 Backups
If you have a lot of developers working on the same server, there is nothing worse than having to...
Generally Useful Docker Commands
Remove all Docker Containers Stop the container(s): cd ~/mydocker-repo-folder; docker-compose ...
Connect to Remote Servers with VSCode
By far one of the coolest VSCode extensios I’ve used in a whole. This saves me so much time when ...
Create your own “cloud” storage with Syncthing
I have been using Syncing for years now and had assumed eveyone had at least heard of it. Apparen...
Debug PHP with XDebug and VSCode (docker edition)
If you are using Docker you will want to add this to your Dockerfile (runs when container being c...
SSH Access with Nautilus
If using Linux with Nautilus you can connect directly to the server. 1.) create a config file i...
NameCheap SSL Certificates
Namecheap is as the name suggests; a cheap place to get stuff. Their SSL certificates cost 1/5 of...
Using Cloudfront For CDN
Basic Setup To setup a CDN using Cloudfront you first need to create an S3 bucket and make it pu...
Connect to S3 from your local Ubuntu file system
For Mac and Linux you can connect to s3 buckets from your local file navigator using s3fs https...
Protecting wp-admin from bots
The most common attack on a wordpress site it the login page. Weak or compromised passwords are u...
Skip Password Prompts for Sudo commands
When administrating a development machine or server you may find yourself needlessly entering sud...
Fix Localhost Binding for Safari
Safari does not automatically bind *.localhost domains to 127.0.0.1. To use Safari for local deve...
Create an SSH Key for Git
SSH keys are not just for Git but if you want to use SSH cloning for git, yeah you need em. To c...
Install Mkcert for SSL on Localhost
Mkcertt is a simple tool for making locally-trusted development certificates. It requires no conf...
Apache Tricks
Set Server Agent Name sudo apt-get install libapache2-mod-security2 Once the module is installe...
NodeJS Proxy via Apache
Here is how to serve nodejs entry points by using an Apache proxy. This hides the port number and...
AICC content delivery
AICC Communication Basics AICC standards are used to enable communication between an LMS and c...
SQL simplified
Localstack notes
To simulate SQS, it internally uses ElasticMQ You can start LocalStack via Docker, for example, ...