This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket | |
(require 2htdp/universe) | |
(require 2htdp/image) | |
;; diagonal overlayed circles | |
(overlay/offset | |
(overlay/offset (circle 30 'solid (color 185 26 217 175)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
irc "github.com/fluffle/goirc/client" | |
"github.com/janne/go-lisp/lisp" | |
"log" | |
"os" | |
"os/signal" | |
"regexp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sqlite | |
import ( | |
"database/sql" | |
_ "github.com/mattn/go-sqlite3" | |
"testing" | |
) | |
func Test_SqliteDriver(t *testing.T) { | |
db, err := sql.Open("sqlite3", ":memory:") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// visiting localhost:8080/blah?blah=blah outputs this: | |
// { status: 404, | |
// headers: {}, | |
// body: { error: 'Could not find path: /blah?blah=blah' } } | |
var http = require('http'); | |
var director = require('director'); | |
var router = new director.http.Router(); |
NewerOlder