Advanced Search
Search Results
50 total results found
NameCheap SSL Certificates
Namecheap is as the name suggests; a cheap place to get stuff. Their SSL certificates cost 1/5 of what they cost at Godaddy and are pretty much just as good. There are some odd bugs with the namecheap site. Below are the steps you need to successfully create a...
Using Cloudfront For CDN
Basic Setup To setup a CDN using Cloudfront you first need to create an S3 bucket and make it public. In this example we will use pslampdemo.s3.amazonaws.com Note that when setting up a cloudfront distribution you will need to assign an SSL certificate. See:...
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://cloud.netapp.com/blog/amazon-s3-as-a-file-system Here are the commands you need for Ubuntu. Replace BUCKETNAME with the name of your S3 bucket. cd ~/; # fo...
Protecting wp-admin from bots
The most common attack on a wordpress site it the login page. Weak or compromised passwords are used by automated bots that will hit thousands of sites a day trying multiple username/password combinations. In this article I will show you how to use .htaccess ...
Skip Password Prompts for Sudo commands
When administrating a development machine or server you may find yourself needlessly entering sudo password. On a production machine this is something you’d want but for a local or develpment machine not so much. Here’s how you can bypass the password: Open ...
Fix Localhost Binding for Safari
Safari does not automatically bind *.localhost domains to 127.0.0.1. To use Safari for local development and especially when using docker with SSL you will need to add the entries to your /etc/hosts file. Here is an example: sudo nano /etc/hosts # add the f...
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 create a new SSH key pair do the following: 1.) Open a terminal on Linux or macOS, or Git Bash / WSL on Windows. 2.) Generate a new ED25519 SSH key pair: ssh-key...
Install Mkcert for SSL on Localhost
Mkcert is a simple tool for generating locally-trusted development SSL/TLS certificates. It requires minimal configuration. https://github.com/FiloSottile/mkcert Prerequisites (Ubuntu / Debian) Make sure you have: libnss3-tools installed Homebre...
Apache Tricks
Set Server Agent Name sudo apt-get install libapache2-mod-security2 Once the module is installed, you can modify the Apache config under the file /etc/apache2/apache2.conf. Add this line around the end of the file. <IfModule mod_security2.c> SecServerSigna...
NodeJS Proxy via Apache
Here is how to serve nodejs entry points by using an Apache proxy. This hides the port number and the nodeJs entry points simply appear as part of the “monolithic” application. WINDOWS: Setup is easy: Include "conf/extra/httpd-proxy.conf" LoadModule proxy...
Battery voltage and current draw monitor
For this project the goal was to keep track of backup batteries during float and active states - and also to save a few $$$. Total cost for this setup was about $20 CAD in parts. This monitor helps to ensure the trickle (solar) charger is still functioning, an...
creating graphics for monochrome lcd displays
See: https://homelab.impressto.ca/image2hex.php
Tombstone Ghoul
WLED
https://install.wled.me/ DO NOT select a beta version - wifi settings will not work.
Remotely control an esp32 with a built-in web server and clourflare
cloudflared tunnel create tunnel-name cloudflared tunnel route dns tunnel-name tunnel.example.com cloudflared tunnel run --url http://localhost:5467 tunnel-name Update /etc/cloudflared/config.yml and add an entry: - hostname: leds.impressto.ca ...
SQL simplified
MP3 sound control
This simple project will use a mp3 player, a simple, recycled speaker, and arduino and a HLK-LD2420 human motion sensor to play sounds when a human walks past the device. sketch code: /* * Arduino Sketch for Motion-Activated MP3 Playback, Servo Contro...
Jolly Roger
Overview This project implements a distributed network of Halloween animatronics controlled by ESP32 microcontrollers. The system is organized around a master/slave architecture, with the Jolly Roger animatronic acting as the master unit and several additio...
animated eyes
Find a ralatively square image, and if not square, use gimp or an equivalent image editor to crop it to square. Idealy resize it to match your display (240x240 for round displays), then uoload the image to https://impressto.ca/bmp_converter.php Source:...
Setup a WebSocket Server with Cloudflare
1. What WebRTC is WebRTC (Web Real-Time Communication) is a set of APIs built into modern browsers that lets two peers (e.g., two users in React apps) connect directly to each other to exchange: Audio/video streams Data (via a “data ch...