Skip to content

Instantly share code, notes, and snippets.

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
Shape := class<abstract>:
draw<public>() : void =
Print("Hello, world!")
Circle := class<concrete>(Shape):
draw<override>() : void =
[ 100] /tmp/FASTBUILD_TEMP/_fbuild.tmp
├── [ 40] 0x00000000
├── [ 60] target
│   └── [ 60] include
│   └── [ 0] _lock
└── [ 60] worker
└── [ 60] toolchain.1ff03b798451c16c
└── [ 100] Engine
├── [ 60] Binaries
│   └── [1.3K] Linux
@joshuacox
joshuacox / gist:7f9e45f6741a1ca18e059116650734f4
Last active June 23, 2022 14:16
NomadConsulWaypointVagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu2004"
config.vm.provision "shell", inline: <<-SHELL
#!/bin/bash
: ${NOMAD_VERSION:=1.3.1}
: ${WAYPOINT_VERSION:=0.8.2}
: ${CONSUL_VERSION:=1.12.2}
@joshuacox
joshuacox / initialize.sh
Created May 30, 2022 16:17
building a theme
#!/bin/bash
# This follows the building a theme tutorial and sets up everything for you
# https://www.gatsbyjs.com/tutorial/building-a-theme/
set -eux
TMP=$(mktemp -d)
cd $TMP
mkdir authoring-themes-tutorial
cd authoring-themes-tutorial
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu2004"
config.vm.provision "shell", inline: <<-SHELL
#!/bin/bash
: ${NOMAD_VERSION:=1.3.1}
: ${WAYPOINT_VERSION:=0.8.2}
set -ux
@joshuacox
joshuacox / nomad.stdout
Created May 22, 2022 22:46
verbose waypoint logs and nomad stdout
==> Loaded configuration from nomad.config
==> Starting Nomad agent...
==> Nomad agent configuration:
Advertise Addrs: HTTP: 127.0.0.1:4646; RPC: 127.0.0.1:4647; Serf: 127.0.0.1:4648
Bind Addrs: HTTP: [127.0.0.1:4646]; RPC: 127.0.0.1:4647; Serf: 127.0.0.1:4648
Client: true
Log Level: DEBUG
Region: global (DC: dc1)
Server: true
#!/bin/bash
: ${NOMAD_VERSION:=1.3.1}
: ${WAYPOINT_VERSION:=0.8.2}
set -ux
mkdir dl bin
cd dl
cat > Dockerfile << EOF
FROM alpine:latest
@joshuacox
joshuacox / archdebug
Created May 20, 2022 14:36
archdebug
-> Initializing Nomad client...
-> Checking for existing Waypoint server...
-> Installing Waypoint server to Nomad
-> Waiting for allocation to be scheduled
-> Nomad allocation pending...
-> Nomad allocation created
-> Waiting for allocation "e4d24585-28e9-3ab3-46a5-da93a7e307b6" to start
-> Waiting for allocation "e4d24585-28e9-3ab3-46a5-da93a7e307b6" to start
-> Waiting for allocation "e4d24585-28e9-3ab3-46a5-da93a7e307b6" to start
-> Waiting for allocation "e4d24585-28e9-3ab3-46a5-da93a7e307b6" to start
@joshuacox
joshuacox / fulldeploy.log
Created May 20, 2022 14:20
Full waypoint deploy log
2022-05-20T14:18:59.410Z [INFO] waypoint: waypoint version: full_string="v0.8.2 (5b8885480)" version=v0.8.2 prerelease="" metadata="" revision=5b8885480
2022-05-20T14:18:59.410Z [TRACE] waypoint: starting interrupt listener for context cancellation
2022-05-20T14:18:59.411Z [DEBUG] waypoint: home configuration directory: path=/root/.config/waypoint
2022-05-20T14:18:59.412Z [TRACE] waypoint: no API client provided, initializing connection if possible
2022-05-20T14:18:59.412Z [TRACE] waypoint.server: Local server may be created later - server credentials optional
2022-05-20T14:18:59.412Z [INFO] waypoint.server: attempting to source credentials and connect
2022-05-20T14:18:59.412Z [DEBUG] waypoint.serverclient: connection information: address=10.11.5.250:9701 tls=true tls_skip_verify=true send_auth=true has_token=true
2022-05-20T14:18:59.413Z [TRACE] waypoint: interrupt listener goroutine started
2022-05-20T14:18:59.458Z [DEBUG] waypoint.server: connection established with sourced credentials
2022-05-20T14:18:5
# This manifest is autogenerated via `make manifests` command
# Do the modification to the zfs-driver.yaml in directory deploy/yamls/
# and then run `make manifests` command
# This manifest deploys the OpenEBS ZFS control plane components,
# with associated CRs & RBAC rules.
# Create the OpenEBS namespace
# This is the default namespace where the ZFS driver will create all
# its resources. If we want to change it to use a different namespace