Skip to content

Instantly share code, notes, and snippets.

@inconshreveable
inconshreveable / client.go
Created Sep 13, 2016
Rails 500 Internal Server Error
View client.go
package main
import (
"io"
"net"
"os"
"time"
)
func main() {
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@inconshreveable
inconshreveable / test_listen.py
Created Mar 2, 2014
sqlalchemy test cases for bug in listen() on Engine events fired on the Connection
View test_listen.py
import sqlalchemy
from sqlalchemy import create_engine, Column, Integer
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
def setup():
# set up a simple in memory sqlite db with two table
engine = create_engine('sqlite:///:memory:')
Base = declarative_base(bind=engine)
class A(Base):
You can’t perform that action at this time.