Notes - Scanner Problems

Zebra Scanner(LS2208)

How to enable a carriage return suffix after every scan?

Scan the following barcodes in order to automatically send an Enter key after each barcode scan.

Notes - Computer Problems

PC won’t turn on

How to boot to USB drive from Dell Alienware Aurora R16?

You can enter the One Time Boot menu, turn on your computer, and then press F12 immediately.

Notes - Misc for Work

Meeting

Connect to display

To connect your laptop to the meeting display, press Windows logo key + K from your laptop, type in the numbers shown on the display and connect.

Notes - Website Design

Favicon

A favicon is a small image displayed next to the page title in the browser tab.

Tip:

  • A favicon is a small image, so it should be a simple image with high contrast.
  • You can generate the icons and codes by following the instruction from Favicon generator.

The most common favicon formats are ICO, PNG, and SVG, JPEG, GIF.

Notes - Hugo website on VPS

Follow these steps to set up a server for my document site.

Server Setup

Vultr

  • Go to https://my.vultr.com/
  • Deploy new server > Ubuntu
  • Get root password and login to server
  • Create and add sudo user

Putty

  • SSH to server
  • Login as sudo user

Caddy server

Installation

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list

sudo apt update
sudo apt install caddy

Useful Commands

// show caddy service status
systemctl status caddy

// check log file for caddy service
journalctl -xeu caddy.service

// rename "public" folder to "rlpro"
mv /var/www/html/public /var/www/html/rlpro

// remove tags folder
rm -f -r tags/

// remove all folders which name start with s
rm -f -r s*/

// reload caddy service after updated the Caddyfile
systemctl reload caddy
// or this command
systemctl daemon-reload

Caddyfile

Tips:

Notes - Power Automate

Tips

Variable inside a message

  • You can use a variable on its own: =ExcelData
  • Or you can add the variable inside a message: The data is: ${ExcelData}.

Loop number

  • Start from: =1
  • End to: =3
  • Increment by: =1

If you type 1 in the Start from field, it will be treated as a string and cause error:

Notes - Allen&Heath QU-24

QU-16 Mixer Panel

qu-16 front panel

qu-16 rear panel

Church Sound System

How to power on the mixer?

Press the ON/OFF switch. The mixer takes just a few seconds to boot up. It restores its previous settings. LR mix is selected and it’s processing shown on the screen.