Reset User Password in Cognito (with easy to use script)
Reset an AWS Cognito user password with the CLI using admin-set-user-password. Includes a reusable interactive shell script for quick resets.
Reset an AWS Cognito user password with the CLI using admin-set-user-password. Includes a reusable interactive shell script for quick resets.
Quickly create AWS Cognito users with verified emails and permanent passwords using this reusable shell script and the AWS CLI.
Recommended VS Code workspace settings for TypeScript projects including Prettier, ESLint, format-on-save, and node_modules exclusion config.
Automate SSL certificate creation in AWS using CloudFormation with DNS validation. Includes wildcard support and a ready-to-use shell script.
Reliably wait for MySQL to be ready in Docker for CI/CD pipelines. A shell script solution for GitHub Actions and docker-compose workflows.
Integrate Pentair ScreenLogic pool and spa controls into Home Assistant using Docker, MQTT, and node-screenlogic for full pool automation.
Install Eclipse Mosquitto MQTT broker on a Synology NAS using Docker. A visual step-by-step guide for home automation messaging setup.
Retrieve secrets from AWS SSM Parameter Store using Node.js and TypeScript. A simple helper library for encrypted and plain parameter lookups.
Send SMS alerts from AWS CloudWatch alarms using Twilio via SNS and a serverless Lambda function. Includes TypeScript code and serverless config.
Host a Gatsby site on AWS CloudFront with S3 and Lambda@Edge. Solve the AccessDenied error with a simple origin request mutation function.
Encode 128-bit numbers like UUIDs in Base-58 using MySQL DECIMAL types. Includes functions for base58_encode and uuid_base58 generation.
Explore unique identifier strategies for applications including auto-increment, UUID v4, and Base-58 encoding to balance security and performance.
Set up an affordable OpenVPN server on AWS with Let's Encrypt SSL certificates. A step-by-step guide to VPC access via a t3.nano instance.
Turn a Fujitsu ScanSnap S1500 into a headless network scanner using a Raspberry Pi with SANE, scanbd, and Samba for shared PDF scanning.
A real-world comparison of the EnvisaLink EVL-4E and IT-100 for DSC alarm integration with Home Assistant. The EVL-4E wins on stability.
Update Home Assistant running on Docker in three simple commands using Docker Compose. Includes a reusable update script for quick upgrades.
Run Home Assistant on a Raspberry Pi 4 using Docker Compose with Z-Wave support, automatic startup via systemd and health check monitoring.
Automate backups of your Docker-based Home Assistant configuration to AWS S3 with a simple bash script and cron job on a Raspberry Pi.
Install the latest Docker and Docker Compose on a Raspberry Pi 4 running Raspbian. Includes install, update and Python pip-based setup commands.
How to use an inexpensive Raspberry Pi to give your Amp a JSON API
Secure passwords and secrets in your dotfiles and scripts using pass (Password Store), GPG encryption and a private GitHub repo on macOS.
Run phpMyAdmin instantly with Docker against any local or remote MySQL, MariaDB or Aurora database. No PHP setup required, just one command.
Step-by-step guide to connecting two pfSense routers with an IPSec site-to-site VPN tunnel. Includes Phase 1, Phase 2 and firewall rule setup.
Build a 12-zone whole house audio system for under $3200 using Monoprice multi-zone amps, Polk speakers and a Raspberry Pi for remote control.
How to wire four 8-ohm speakers in a series-parallel configuration to maintain 8 ohms impedance for mono bridged amplifier output.
Build a personal blog with Jekyll, Markdown and Docker. Host it free on GitHub Pages with HTTPS and your own domain name. Step-by-step guide.
Connect a DSC alarm to Home Assistant using an IT-100 board and Raspberry Pi. Includes setup for the Envisalink emulator and zone configuration.
Step-by-step guide to factory reset and reprogram a DSC PC1832 alarm system including zones, keypads, partitions and installer codes.
Learn how to take a screenshot on Mac with a perfect drop shadow using built-in keyboard shortcuts. Quick guide for CMD+Shift+4 and Spacebar.
Extract all Smarty template variables from source files using a simple grep command with a regex pattern to find every variable reference in .tpl files.
Step-by-step instructions for installing vzdump for OpenVZ backups on 32-bit CentOS 5.4, including cstream and Perl dependency installation.
SQL query to export email addresses with first and last names from phplist, useful when migrating away from phplist to another email platform.
Simple process for installing and configuring the Nagios NRPE agent on CentOS and RHEL servers for remote monitoring using yum and chkconfig.
How to add, enable, and update packages from the REMI repository on CentOS and RHEL with simple step-by-step installation commands using RPM and yum.
Quick guide to re-numbering an OpenVZ container CTID using vzctl checkpoint, dump, and restore commands to migrate from one CTID to another.
Learn how to use the non-breaking hyphen HTML character entity (‑) to prevent unwanted line breaks at dash characters in your web pages.
Step-by-step guide to updating Ghostscript to version 8.70 on CentOS 5.4 by building from SRPMs, including prerequisites and pre-built RPM packages.
Browser.php updated to version 1.2 with improvements based on community feedback. Download the latest PHP browser detection class from the project page.
Learn how to quickly adjust disk space and inodes for an OpenVZ VPS using vzctl commands, with a clear explanation of diskspace and diskinodes params.
PHP code snippet to extract and display only images from a WordPress post using preg_match_all, stripping all other content within the Loop.
Quick three-command guide to installing Webmin on CentOS or RHEL using YUM by adding the official Webmin repository and importing the GPG key.
How to install vzdump for OpenVZ backups on CentOS, including required dependencies like cstream, Perl LockFile::Simple, and Postfix as the MTA.
Opera 10 reports version 9.8 in its user agent string with the real version appended at the end. Learn how Browser.php v1.6 handles this quirk.
Browser.php v1.6 released with numerous updates to the PHP browser and platform detection class. Download the latest version for improved accuracy.
A simple bash script to set the timezone across all running OpenVZ VPS containers from the host node using vzlist and symbolic links to zoneinfo.
SQL queries to migrate a WordPress installation from one domain to another by updating posts, options, and metadata tables in the database.
Build a DNS server quickly using OpenVZ and CentOS 5.3 with Bind and Webmin for easy zone management. Includes VPS creation and package install steps.
Ready-to-use vzctl commands for adjusting guaranteed and burstable RAM on OpenVZ VPS containers, with examples from 64MB up to 2GB configurations.
Quick guide to enabling NFS support on an OpenVZ VPS by loading the NFS module on the host node and installing nfs-utils inside the container.
Complete walkthrough for installing OpenVZ on a 64-bit CentOS 5.3 server, including kernel setup, sysctl configuration, and disabling SELinux.
How to set up a web and mail server inside an OpenVZ VPS on CentOS with Apache, PHP, MySQL, and Postfix using the REMI repository for packages.
Browser.php v1.5 fixes a typo affecting Internet Explorer v1 and v1.5 detection. Update to the latest version of the PHP browser detection class.
A cleaner PHP method for removing images from WordPress posts using preg_replace and get_the_content instead of output buffering. One line of code.
Browser.php v1.4 adds detection support for GoogleBot, Yahoo! Slurp, and the W3C Validator to the PHP browser detection class. Download it now.
Browser.php v1.3 released with added support for iPod and iPhone detection as both browsers and platforms in the PHP user agent detection class.
How to backup an OpenVZ VPS using vzdump with a simple shell script that stops, dumps, compresses, and copies backup images to a remote NAS.
Step-by-step guide to installing and configuring a Bind DNS server on an OpenVZ VPS running CentOS 5, including setup commands and named.conf tips.
Fix the 'No such file or directory' error for dig on CentOS by installing the bind-utils package via yum or RPM with direct download links.
Monitor TFTP server requests on Linux using tcpdump when xinetd-based TFTP lacks built-in logging. Useful for Cisco phone provisioning.
Prevent Linux terminal screen blanking and power save mode using setterm commands to keep the console display always on for monitoring.
How to auto-mount NFS shares at boot by adding entries to /etc/fstab with proper options for rsize, wsize, timeout, and interrupt settings.
Fix the Perl error 'Base class package Tree::DAG_Node is empty' in XML Validator by installing the perl-DAG_Node package via yum.
Build a HylaFAX fax server with IAXModem on an OpenVZ VPS running CentOS 5 to send faxes over Asterisk without a dedicated PSTN line.
Upgrade Ghostscript from 8.15 to 8.63 on CentOS 5.2 or RHEL5 with pre-built RPMs including required Jasper library dependencies.
Browser.php v1.1 release adds Google Chrome detection and a new isBrowser() method for easier PHP-based user agent browser detection.
Complete guide to installing PBX in a Flash (PIAF) with Asterisk on an OpenVZ VPS using CentOS 5, including FreePBX and SIP configuration.
An init.d startup script for running OpenOffice.org 2.3+ in headless mode on RHEL5 for server-side document conversion to PDF and PNG.
Step-by-step guide to installing Sun's Java JDK on CentOS 5.2 using the binary package from Sun and configuring alternatives for java.
Monitor an Adaptec 2400A RAID array on CentOS 5 or RHEL using raidutil with step-by-step installation and device configuration instructions.
Remove images from WordPress post content using PHP output buffering and preg_replace to strip img tags from the_content() output.
How to remove the passphrase from an Apache SSL certificate private key using openssl rsa to enable automated server restarts.
How to edit Firefox's spell check dictionary to remove accidentally added words by locating and editing the persdict.dat profile file.
Fix the curl error 'error setting certificate verify locations' on CentOS by correcting ca-bundle.crt file permissions instead of disabling SSL.
CSS equivalents for HTML4 cellpadding and cellspacing attributes using border-collapse, border-spacing, and padding with practical examples.
A quick reference for finding all symbolic links in a Linux directory path using the find command with the -type l option.
Learn how to replace deprecated HTML cellpadding and cellspacing table attributes with CSS using border-collapse for modern web development.
How to install pdftk (AccessPDF) on CentOS 5 with pre-built RPM packages for both 32-bit and 64-bit systems when repos fall short.
A quick reference guide to common web banner sizes including banner, leaderboard, skyscraper, rectangle, and square ad dimensions in pixels.
Learn how to perform a search and replace across multiple files using a simple Perl one-liner with regex support from the command line.
Enable MP3 playback in Fedora 8 with KDE by adding Livna repositories and installing the kdemultimedia-extras-nonfree package for Amarok support.
Enable MP3 playback in Fedora 8 with Gnome by adding Livna repositories and installing Rhythmbox with gstreamer-plugins-ugly for audio support.
A growing collection of essential vi editor shortcuts and commands, including how to remove every other line and other powerful text editing tricks.
Fix the rpmdb lock table out of available locker entries error by rebuilding the damaged Berkeley database files used by RPM and yum.
Set environment variables in Perl using the %ENV hash instead of system export calls. Changes propagate to child processes and system() commands.
Extract specific data like names, emails, and phone numbers from text files using grep with Perl regular expressions and the -o output flag.
Enable MP3 playback in Fedora 7 by adding Livna repositories and installing Rhythmbox with the gstreamer-plugins-ugly package for audio support.
Reload new entries in /etc/fstab without rebooting your Linux server. Use the mount -a command to quickly mount all new filesystem entries.
Fix the HTML Validator Firefox plugin fatal error on Fedora Core 6 and Fedora 7 by installing missing compatibility libraries and tidy packages.
Check how long a Windows server has been running since its last reboot using the net statistics server command as an alternative to Linux uptime.
Troubleshoot SSL key and certificate mismatches by comparing modulus values using openssl. Fix the RSA server private key configuration error.
Fix the phpize command not found error when installing PECL extensions by installing the php-devel package with yum on Fedora or RHEL systems.
Learn how to parse and extract unique email addresses from text files exported from Outlook using grep and Perl-compatible regular expressions.
Automate MySQL database backups with this shell script that dynamically discovers and dumps all databases without manual configuration changes.