Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

49 total results found

Debug PHP with XDebug and VSCode (docker edition)

Devops

If you are using Docker you will want to add this to your Dockerfile (runs when container being created).   RUN pecl install -f xdebug-2.9.8 \ && rm -rf /tmp/pear \ && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/loca...

SSH Access with Nautilus

Devops

If using Linux with Nautilus you can connect directly to the server.  1.) create a config file in .ssh directory. sudo gedit ~/.ssh/config Paste the following and save. You may need to edit the path to your pem files. Host myserver HostName 18.216.138.59 ...

NameCheap SSL Certificates

Devops

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

Devops

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

Devops

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

Devops

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

Devops

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

Devops

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

Devops

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

Devops

Mkcertt is a simple tool for making locally-trusted development certificates. It requires no configuration. https://github.com/FiloSottile/mkcert To install on Debian (Ubuntu) use the following commands: sudo apt install libnss3-tools Install LinuxBrew  – ...

Apache Tricks

Devops

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

Devops

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

Off-grid System Monitoring IOT Project

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

ESP32 survival guide

    See:  https://homelab.impressto.ca/image2hex.php  

Tombstone Ghoul

Animatronics

WLED

Animatronics

  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

ESP32 survival guide

  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  ...

AICC content delivery

Devops

AICC Communication Basics AICC standards are used to enable communication between an LMS and content hosted on different servers, allowing for tracking learner progress, scores, and completion. AICC courses rely on HTTP-based messaging between the course c...

SQL simplified

Devops

Localstack notes

Devops

To simulate SQS, it internally uses ElasticMQ You can start LocalStack via Docker, for example, and it will start the following services: API Gateway at http://localhost:4567 Kinesis at http://localhost:4568 DynamoDB at http://localhost:4569 DynamoDB St...