Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am stevegury on github.
  • I am stevegury (https://keybase.io/stevegury) on keybase.
  • I have a public key whose fingerprint is 80FF 1359 7C3E 9A6A E3F0 718D 21C5 9995 F21A 49B3

To claim this, I am signing this object:

@stevegury
stevegury / Console log
Created Mar 30, 2012
Finagle MySQL codec in action
View Console log
import com.twitter.finagle.mysql._
import java.net.InetSocketAddress
val login = "stevegury"
val client = MySQLClient(new InetSocketAddress("localhost", 3306), login, password)
val query = for {
_ <- client.use("my_db")
res <- client.query("select * from my_table")