With these steps I managed to get Pimox on my Raspberry Pi 4 and 5 in february 2024.
Install "RPi OS Lite 64-bit" with Raspberry Pi Imager. It's listed under "Raspberry Pi OS (Other)"
With these steps I managed to get Pimox on my Raspberry Pi 4 and 5 in february 2024.
Install "RPi OS Lite 64-bit" with Raspberry Pi Imager. It's listed under "Raspberry Pi OS (Other)"
| #!/bin/bash | |
| # Set the SMTP server name and port number | |
| SMTP_SERVER="email-smtp.ap-south-1.amazonaws.com" | |
| SMTP_PORT="587" | |
| # Set the sender email address and AWS SES username and password | |
| SENDER_EMAIL="[email protected]" | |
| SES_USERNAME="XXXXXXXXXXX" | |
| SES_PASSWORD="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| const resolved = Promise.resolve() | |
| const nextTick = fn => resolved.then(fn) | |
| const _runListeners = (thisArg, args, listeners, runAfter = fn => fn()) => { | |
| listeners?.forEach(listener => runAfter(() => listener.apply(thisArg, args))) | |
| } | |
| export function EventEmitter (context = null) { | |
| const _events = {} |
Below table listed the HiDPI resolution on all apple device.
| Mac Display Type | Air/Pro 13" (Intel) | Air/Pro 13" (M1) | Pro 16" | iMac 21.5" | iMac 27" | Pro Display XDR |
|---|---|---|---|---|---|---|
| Monitor Size | 13 inch | 13 inch | 16 inch | 21.5 inch | 27 inch | 32 inch |
| Native Resolution | 2560 x 1600 | 2560 x 1600 | 3072 x 1920 | 4096 × 2304 | 5120 x 2880 | 6016 x 3384 |
| HiDPI Level 1 | 1024 x 640 | 1024 x 640 | 1152 x 720 | 1280 x 720 * | 1600 x 900 * | 1504 x 846 * |
| HiDPI Level 2 | 1280 x 800 | 1280 x 800 | 1344 x 840 | 1680 x 945 * | 2048 x 1152 * | 1920 x 1080 * |
| HiDPI Level 3 | 1440 x 900 | 1440 x 900 | 1536 x 960 | 2048 x 1152 | 2560 x 1440 | 2560 x 1440 * |
| HiDPI Level 4 | 1680 x 1050 | 1680 x 1050 | 1792 x 112 |
| function interceptNetworkRequests(ee) { | |
| const open = XMLHttpRequest.prototype.open; | |
| const send = XMLHttpRequest.prototype.send; | |
| const isRegularXHR = open.toString().indexOf('native code') !== -1; | |
| // don't hijack if already hijacked - this will mess up with frameworks like Angular with zones | |
| // we work if we load first there which we can. | |
| if (isRegularXHR) { |
This tutorial describes how to install TLS to a mail server consisting of Postfix and/or Dovecot by using Let's Encrypt certificates with automatic renewing and firewall management.
The system used for this tutorial was:
$ lsb_release -idrc
Distributor ID: UbuntuI am moving this gist to a github repo so more people can contribute to it. Also, it makes it easier for me to version control.
Please go to - https://github.com/praveenpuglia/shadow-dom-in-depth for latest version of this document. Also, if you find the document useful, please shower your love, go ⭐️ it. :)
Heads Up! It's all about the V1 Spec.
In a nutshell, Shadow DOM enables local scoping for HTML & CSS.
| /** | |
| * @desc Basic linear value animation that can accept simple easing functions and provides update & complete callbacks | |
| * @param {Object} values - Object with numerical values. eg. { value1: 0, value2: 20, someKey: 55 } | |
| * @param {Number} duration - How long (in milliseconds) the animation will be | |
| * @param {Object} options - target values, update callback & complete callback | |
| * @param {Function} [options.onComplete=(values) => values] - Callback that fires once animation is complete | |
| * @param {Function} [options.onUpdate=(values) => values] - Callback that fires when animation frame updates | |
| * @param {Function} [options.ease=(t) => t] - easing method eg. https://gist.github.com/gre/1650294 | |
| * @example | |
| * |