Skip to content

Instantly share code, notes, and snippets.

View gclitheroe's full-sized avatar

Geoff Clitheroe gclitheroe

  • Xero
  • New Zealand
View GitHub Profile
@gclitheroe
gclitheroe / sysconfig mule
Created May 13, 2014 01:32
/etc/sysconfig/mule
SPRING_PROFILE=production
LOGENTRIES_TOKEN=blah123abc
@gclitheroe
gclitheroe / gist:919e1ef46b3e415a4603
Created March 25, 2015 08:31
Golang - Log to Logentries
ackage main
import (
"log"
"log/syslog"
)
func main() {
w, err := syslog.Dial("tcp", "api.logentries.com:10000", syslog.LOG_NOTICE, "LE_TOKEN")
if err != nil {
@gclitheroe
gclitheroe / gist:8c40bc84da4227b8e4df
Created March 25, 2015 08:52
Golang - Log to Logentries - TLS
package main
import (
"github.com/GeoNet/log/logentries"
"log"
"time"
)
func init() {
logentries.Init("LOGENTRIES_TOKEN")

Keybase proof

I hereby claim:

  • I am gclitheroe on github.
  • I am geoffc (https://keybase.io/geoffc) on keybase.
  • I have a public key whose fingerprint is BCC4 3F71 EC8F C6E3 768C 4812 48D3 5E7E EDEF 918E

To claim this, I am signing this object: