Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| #!/usr/bin/env bash | |
| ## Usage: ./get_docker_layer_links.sh public.ecr.aws/amazonlinux/amazonlinux:2023 | |
| # URLs returned can then be used to submit proxy whitelist request in enterprise environment. | |
| set -euo pipefail | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: $0 <image:tag>" | |
| echo "Example: $0 public.ecr.aws/amazonlinux/amazonlinux:2023" | |
| exit 1 |
| This guide is tested on Linux and should work on any other OS. | |
| 00. Connect both the computer and the TV to the same network. | |
| 01. Register yourself at https://us.lgaccount.com/join/terms | |
| 02. Install "Developer Mode" on your TV via the LG Store | |
| 03. Login to the developer mode app, with the credentials that you registered at point 1 |
| VMware vSphere 6 Enterprise Plus | |
| 1C20K-4Z214-H84U1-T92EP-92838 | |
| 1A2JU-DEH12-48460-CT956-AC84D | |
| MC28R-4L006-484D1-VV8NK-C7R58 | |
| 5C6TK-4C39J-48E00-PH0XH-828Q4 | |
| 4A4X0-69HE3-M8548-6L1QK-1Y240 | |
| VMware vSphere with Operations Management 6 Enterprise | |
| 4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
| 1Y48R-0EJEK-084R0-GK9XM-23R52 |
| #!/usr/bin/env python3 | |
| import os | |
| import select | |
| import struct | |
| DEV = '/dev/hidraw1' | |
| def read_temperature(device_path=DEV): | |
| # Credit to https://github.com/urwen/temper for this byte sequence | |
| QUERY = struct.pack('8B', 0x01, 0x80, 0x33, 0x01, 0x00, 0x00, 0x00, 0x00) |
| import string | |
| def hexdump(src, length=16, sep='.'): | |
| DISPLAY = string.digits + string.letters + string.punctuation | |
| FILTER = ''.join(((x if x in DISPLAY else '.') for x in map(chr, range(256)))) | |
| lines = [] | |
| for c in xrange(0, len(src), length): | |
| chars = src[c:c+length] | |
| hex = ' '.join(["%02x" % ord(x) for x in chars]) | |
| if len(hex) > 24: |
Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target