Skip to content

Instantly share code, notes, and snippets.

View JLospinoso's full-sized avatar

Josh Lospinoso JLospinoso

View GitHub Profile
#include <iostream>
#include <memory>
#include "MemoryPrinter.h"
#define MEM_SIZE 32
#define HEADER "\x01\x02\x03\x04\x05\x06\x07\x08\x09"
#define HEADER_LENGTH 9
#define ALIGNMENT 8
#define BUFFER "\x10\x11\x12\x13\x14\x15\x16\x17"
#define BUFFER_LENGTH 8
@JLospinoso
JLospinoso / mattermost-driver.go
Created June 18, 2016 21:57
Example of using the mattermost golang driver
package main
import (
"log"
"time"
mattermost "github.com/mattermost/platform/model"
)
func printTeams(client *mattermost.Client) {
r, e := client.GetAllTeams()

Please publicly post the following Gist, and name it keybase.md

Keybase proof

I hereby claim:

  • I am jlospinoso on github.
  • I am jlospinoso (https://keybase.io/jlospinoso) on keybase.
  • I have a public key ASDWMxFL1-NPPitPCMXyE4sfiPNdh1KqdJV0pPVFcsLZ6Ao
### Keybase proof
I hereby claim:
* I am jlospinoso on github.
* I am jlospinoso (https://keybase.io/jlospinoso) on keybase.
* I have a public key ASAx6jiqEh-k25O2X7pKpgxRZQR4iICIpPwcae6adcEfnwo
To claim this, I am signing this object: