Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Harry harrisonturton

🏠
Working from home
View GitHub Profile
@harrisonturton
harrisonturton / queue.go
Last active Mar 24, 2021
RabbitMQ client that automatically reconnects when the connection fails, and has a confirmed push method (i.e. the server is guaranteed to recieve the message)
View queue.go
package main
import (
"errors"
"github.com/streadway/amqp"
"log"
"os"
"time"
)
@harrisonturton
harrisonturton / auto_build.sh
Last active Sep 16, 2018
Script to autobuild COMP2310 Assignment 1. It automatically detects your OS, and allows you to easily set the build mode from the commandline.
View auto_build.sh
#!/bin/bash
# Harrison Turton 2018
# --------------------------------------
# This script will automatically detect your
# operating system, and build accordingly.
#
# A build mode flag can be included, wherein
# the script will supply the relevant build
# mode flags to gnatmake. Defaults to
View gist:4fe6634f0dbceebba8c2069abe202831
Verifying my Blockstack ID is secured with the address 1MyqUD58TPzSG1ib1zKdruZVSohii2wnBC https://explorer.blockstack.org/address/1MyqUD58TPzSG1ib1zKdruZVSohii2wnBC