Skip to content

Instantly share code, notes, and snippets.

Paul DeCarlo toolboc

Block or report user

Report or block toolboc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
toolboc / k8sbomb
Created Aug 23, 2019
A deployment sure to cause k8s to croak
View k8sbomb
apiVersion: apps/v1
kind: Deployment
name: stress-deployment
app: stress
replicas: 1
toolboc / GWAB Denver
Last active Apr 26, 2019
Endpoint for connecting to shared input and output hubs
View GWAB Denver
toolboc /
Last active Apr 17, 2019
Script to allow for install of Azure Pipelines Agent on Nvidia JetsonTX2 with support for IoT Edge build tasks
# Setup Azure Dev-Ops ARM32
### update your system with the latest drivers
sudo apt-get update
### Install the ARM32 gcc toolchain
sudo apt-get -y install gcc-arm-linux-gnueabihf
toolboc / WebRadio.ino
Created Dec 29, 2018
Talking Web Radio with ESP8266 and Sony Spresense
View WebRadio.ino
WebRadio Example
Very simple HTML app to control web streaming
Copyright (C) 2017 Earle F. Philhower, III
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
toolboc / audio_through_main.cxx
Created Dec 29, 2018
Audio Through for Sony Spresense I2S->Speaker
View audio_through_main.cxx
* audio_through/audio_through_main.cxx
* Copyright 2018 Sony Semiconductor Solutions Corporation
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
toolboc /
Last active May 2, 2019
Provision edge runtime for GPU / CPU platorms on Ubuntu 16.04 (Requires az-cli & jq)
echo "***Azure IoT Edge GPU Provisioning Script***"
echo "Usage: ./ <> <environment> <platform>”
if [ $platform == "gpu" ]
toolboc / sas.c
Last active Aug 31, 2018
SAS token generation in C; compile with `gcc -o sas sas.c -lm -lssl -lcrypto`
View sas.c
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/crypto.h>
#include <time.h>
#include <string.h>
#include <openssl/buffer.h>
#include <stdint.h>
#include <ctype.h>
#include <math.h>
View IoT Edge Provision Script
echo "***Azure IoT Edge GPU Provisioning Script***"
echo "Usage: ./ <> <environment> <platform> <> <acr.username> <acr.password>"
if [ $platform == "gpu" ]
toolboc /
Last active Oct 13, 2017

Migrating WordPress to Ubuntu VM in Azure

Deploy Ubuntu VM

Take note of the ip address given to the VM


If you wish to use a custom domain, obtain your VM ip address from the Azure Portal and create an A record that points @ to the ip of the VM

toolboc /
Created Oct 6, 2017

Exim and Dovecot on Ubuntu on Azure

Create MX Record in DNS

  • Create an A Record for 'mail' that point to the VM ip
  • Create an MX Record that points @ to mail.[sitename.TLD]

Confirm proper routing using:

dig mail.[sitename.TLD]

Install and Configure Exim

You can’t perform that action at this time.