Skip to content

Instantly share code, notes, and snippets.

View jpastoor's full-sized avatar

Joost Pastoor jpastoor

  • Mendix BV
  • The Netherlands
View GitHub Profile
@jpastoor
jpastoor / main.go
Created January 30, 2020 13:00
example amqp to mqtt bridge
package main
import (
"fmt"
"github.com/eclipse/paho.mqtt.golang"
"github.com/streadway/amqp"
"net/url"
)
func main() {
@jpastoor
jpastoor / keybase.md
Created April 6, 2018 12:54
keybase.md

Keybase proof

I hereby claim:

  • I am jpastoor on github.
  • I am joostpastoor (https://keybase.io/joostpastoor) on keybase.
  • I have a public key ASDYR72SWuuxy89PhMNIWuXLW-P0SUi_BxZ1-yMxIUv5xwo

To claim this, I am signing this object:

@jpastoor
jpastoor / main.go
Created August 30, 2017 06:14
Shortening go filenames in directory to prevent filename too long errors on Windows
package main
import (
"path/filepath"
"os"
"fmt"
"strings"
"strconv"
)