Skip to content

Instantly share code, notes, and snippets.

View msmoode's full-sized avatar

Amy msmoode

  • United Kingdom
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@msmoode
msmoode / app.js
Created December 23, 2015 22:09
tiny discord bot + example implementation
import {Bot, Command} from './bot.js';
var artemis = new Bot("username", "password");
class TestCommand extends Command {
constructor() {
super("ping")
}
run(user, channel, message) {
@msmoode
msmoode / lunar.go
Last active April 14, 2016 20:55
An image/file hosting server written in go - my version of https://gist.github.com/Twister915/d6b5c28753f230fabda3
package main
import (
"github.com/gin-gonic/gin"
_ "github.com/lib/pq"
"github.com/gorilla/context"
"github.com/jinzhu/gorm"
"github.com/spf13/viper"
"time"
"fmt"
@msmoode
msmoode / markov_chain.py
Last active August 29, 2015 14:24
Markov Chain
import random
nonWord = "\n"
class Chain:
words = {}
def __init__(self, data=None, base=None):
if data != None:
self.scan(data)