This is a quickstart guide to deploying BOSH Lite v2 locally in VirtualBox that adds some context to the bosh-deployment
and cf-deployment
guides that I think are important to capture in 2021.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# register a subdomain at https://www.duckdns.org/ to get your token | |
# put 'hostname:token' in the 'Host Name' field under DDNS | |
# e.g. myhost:abcdefgh-1234-5678-9876-f71b0ed7a7fe | |
DDNS_HOSTNAME_FIELD=$(nvram get ddns_hostname_x) | |
SUBDOMAIN=$(echo "$DDNS_HOSTNAME_FIELD" | awk -F':' '{print $1}') | |
TOKEN=$(echo "$DDNS_HOSTNAME_FIELD" | awk -F':' '{print $2}') | |
IPV4=$(nvram get wan0_ipaddr) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
yt-dlp -x --audio-format alac --embed-thumbnail --embed-metadata -P "temp:/tmp/" -P /run/media/marek/USB/ "${1}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Prevent sleep | |
gsettings set org.gnome.desktop.session idle-delay 0 | |
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false | |
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing | |
plexmediaplayer | |
# Allow sleep after PMP exists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=rclone | |
After=network.target | |
[Service] | |
User=markieta | |
Group=markieta | |
ExecStart=/usr/bin/rclone --config /home/markieta/.config/rclone/rclone.conf sync --transfers 30 gdrive: /srv/google-drive/markietachristopher | |
#ExecStartPost= # Additional Drives |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
log 127.0.0.1 local2 | |
pidfile /var/run/haproxy.pid | |
maxconn 4000 | |
daemon | |
defaults | |
mode http | |
log global | |
option dontlognull | |
option http-server-close |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
address=/api.ocp.markieta.com/192.168.0.101 | |
address=/api-int.ocp.markieta.com/192.168.0.101 | |
address=/apps.ocp.markieta.com/192.168.0.102 | |
address=/bootstrap.ocp.markieta.com/192.168.0.104 | |
address=/master-01.ocp.markieta.com/192.168.0.105 | |
address=/master-02.ocp.markieta.com/192.168.0.106 | |
address=/master-03.ocp.markieta.com/192.168.0.107 | |
address=/worker-01.ocp.markieta.com/192.168.0.108 | |
address=/worker-02.ocp.markieta.com/192.168.0.109 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (let media of document.querySelectorAll("audio,video")) { media.playbackRate = 2 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# table: xrt500, type: NEC | |
#0x408 KEY_POWER | |
0x445 KEY_UP | |
0x4e2 KEY_UP | |
0x446 KEY_DOWN | |
0x4e3 KEY_DOWN | |
0x447 KEY_LEFT | |
0x4e4 KEY_LEFT | |
0x448 KEY_RIGHT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
table | |
{ | |
table-layout: fixed; | |
width: 100%; | |
height: 100%; | |
} |
NewerOlder