Skip to content

Instantly share code, notes, and snippets.

View htdvisser's full-sized avatar

Hylke Visser htdvisser

View GitHub Profile
@htdvisser
htdvisser / seed.sh
Last active December 12, 2019 10:43
Seed end devices
#!/usr/bin/env bash
set -e
export TTN_LW_CONFIG=~/.config/ttn-lw-cli/ttn-lw-cli.yml
ttn-lw-cli login
echo -e '\n\nCreating Application...'
ttn-lw-cli app create \
@htdvisser
htdvisser / README.md
Last active July 15, 2022 08:28
NetID Assignment Extraction Tool

NetID Assignment Extraction Tool

Extract NetID assignments and generate table for documentation

Preparation

  • Download the latest NetID Allocations sheet from the TC Workspace.
  • Save it as netids.xlsx

Usage

@htdvisser
htdvisser / README.md
Last active June 5, 2022 11:38
The Things Stack Bootstrap

The Things Stack Bootstrap

A script to bootstrap The Things Stack, based on the getting started guide.

Preparation

  • Clone this gist.
  • Spin up a fresh Ubuntu 18.04 server.
    • Var SSHUser: the username that will be used to SSH into the server. This user must be able to sudo.
  • Point a public DNS record to your server's IP address. It may take some time before this resolves.
@htdvisser
htdvisser / README.md
Last active March 29, 2021 06:52
Device Migration

TTN Device Migration

This program migrates TTN devices from one v2 application to another v2 application.

Installation

If you work inside GOPATH you'll first need to export GO111MODULE=on.

TIP: for faster downloads you can also export GOPROXY=https://proxy.golang.org.

@htdvisser
htdvisser / keybase.md
Last active September 28, 2017 18:04
Keybase proof

Keybase proof

I hereby claim:

  • I am htdvisser on github.
  • I am htdvisser (https://keybase.io/htdvisser) on keybase.
  • I have a public key ASB8Vh-_0rGeh9hsivLF4yGcVI0h2tsn3EJCqt6NHCOWFQo

To claim this, I am signing this object: