Running the Buildkite agent on Linux
You might need to update some paths/names
mkdir -p .config/systemd/user
nano .config/systemd/user/buildkite-agent.service
sudo loginctl enable-linger nicholas
server { | |
listen 443 ssl http2; | |
server_name nchlswhttkr.com; | |
ssl_certificate /home/nicholas/nchlswhttkr.com.certificate; | |
ssl_certificate_key /home/nicholas/nchlswhttkr.com.key; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; |
Running the Buildkite agent on Linux
You might need to update some paths/names
mkdir -p .config/systemd/user
nano .config/systemd/user/buildkite-agent.service
sudo loginctl enable-linger nicholas
Code from Debugging my Terraria Server's Startup.
terraria.nchlswhttkr.com:7777
for my server (if up).
This runs in a detached screen, managed by systemd.
You can download the server itself off the official Terraria website, place the contents of the Linux
directory on a local terraria
user in your droplet, with the accompanying server.config
and terraria.service
.
I hereby claim:
To claim this, I am signing this object:
# files added from latest commit | |
git diff-tree --no-commit-id --name-status -r HEAD | grep "^A" | cut -f 2 | |
# grab jira id from current branch, append to the current commit message | |
# can be run as a pre-commit hook, might need to tailor the sed pattern though | |
git branch | grep "^*" | sed -E "s/.*\/([A-Z]+-[1-9][0-9]*).*/.JIRA ID - \1/" | tr "." "\n" >> .git/COMMIT_EDITMSG | |
# get a list of emails from contributors on a git repo | |
git shortlog -se | sed -n 's/.*<\(.*@.*\)>.*/\1/p' |
let numbers: Array<Int> = Array(1..<11) | |
enum IsOddError: Error { | |
case noNumberProvided | |
case throwForTheHeckOfIt | |
} | |
func isOdd(number n: Int?) throws -> Bool { | |
if let value = n { | |
if value == 10 { throw IsOddError.throwForTheHeckOfIt } |
// touch_map.ino | |
// Authored By: Nicholas Whittaker | |
// FIT1041: Research Project | |
// Tangible Interfaces for the Vision Impaired | |
// WAVE SHIELD LIBRARY | |
// https://github.com/adafruit/WaveHC | |
// Code for reading and playing sound from the chip has been copied and adapted from the | |
// example files, as well as from the tutorials on Adafruit.com |