Skip to content

Instantly share code, notes, and snippets.

@joshwizzy
joshwizzy / main.go
Last active July 30, 2021 17:36
Gin Gorilla Websocket
// Copyright 2015 The Gorilla WebSocket Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
package main
import (
"flag"
@joshwizzy
joshwizzy / kannel_excerpt.conf
Created June 3, 2019 11:49
Kannel Hack to route shared shortcode keywords to services and KSMPPD bind
group = smsbox-route
smsbox-id = KSMPPD
shortcode = "1234;+1234"
smsc-id = http1
group = smsbox-route
smsbox-id = smsbox1
#shortcode = "1234;+1234"
smsc-id = "smsc1;smsc2"
@joshwizzy
joshwizzy / pythontest.py
Created April 3, 2012 09:07
python test
for i,entry in enumerate(mylist):
print i, entry