Skip to content

Instantly share code, notes, and snippets.

@dohq
dohq / README.md
Created August 5, 2017 17:01 — forked from mattn/README.md
gvim で使える等幅フォント
@dohq
dohq / datetime_parser.py
Created January 9, 2018 15:08 — forked from dittore/datetime_parser.py
Parse input into YYYY-MM-DD HH:MM:SS (PYTHON)
def parse_datetime(d):
"""
Datetime parser
Creates datetimes from input into format yyyy-mm-dd hh:mm:ss
Needs proper validation!
Should accept following:
yyyy
@dohq
dohq / server.go
Created March 14, 2019 06:47 — forked from mattn/server.go
package main
import (
"database/sql"
"fmt"
"github.com/go-gorp/gorp"
_ "github.com/mattn/go-sqlite3"
"golang.org/x/net/websocket"
"log"
"net/http"