Skip to content

Instantly share code, notes, and snippets.

View dstotijn's full-sized avatar

David Stotijn dstotijn

View GitHub Profile
@dstotijn
dstotijn / index.js
Created November 10, 2017 08:23
Web server that logs incoming SMS message callbacks from MessageBird
const app = require("express")();
const bodyParser = require("body-parser");
const port = process.env.PORT || 3000;
app.use(bodyParser.urlencoded({ extended: true }));
/**
* @see https://developers.messagebird.com/docs/messaging#messaging-receive
*/

Keybase proof

I hereby claim:

  • I am dstotijn on github.
  • I am dstotijn (https://keybase.io/dstotijn) on keybase.
  • I have a public key ASBIOjZvK81cI53YA0OjCjR3AXzkJ7XiitYhmX6A7zgB_Ao

To claim this, I am signing this object:

@dstotijn
dstotijn / pcm2wav.go
Last active December 9, 2023 07:26
pcm2wav
package main
import (
"encoding/binary"
"io"
"log"
"os"
"github.com/go-audio/audio"
"github.com/go-audio/wav"