Skip to content

Instantly share code, notes, and snippets.

View akrantz01's full-sized avatar

Alexander Krantz akrantz01

View GitHub Profile
@akrantz01
akrantz01 / main.go
Created August 5, 2021 23:07
new Influx line protocol parser testing
package main
import (
"fmt"
"time"
"github.com/influxdata/line-protocol/v2/lineprotocol"
)
func main() {
@akrantz01
akrantz01 / tunnel.sh
Created July 7, 2019 21:59
A simple script for SSH port tunneling that supports n ports to be forwarded
#!/bin/zsh
usage="tunnel.sh [--host host] [--port port] [--user user] local_port remote_port [local_port remote_port]..."
user="root"
host="127.0.0.1"
port="22"
# Display help if no args
if [[ $# -eq 0 ]]; then
echo $usage
exit 1

Keybase proof

I hereby claim:

  • I am akrantz01 on github.
  • I am akrantz (https://keybase.io/akrantz) on keybase.
  • I have a public key ASAvoQsZWA65AN9XTfer6aZOJ6tVtmN5fvpcQKGjFNTEqgo

To claim this, I am signing this object: