Skip to content

Instantly share code, notes, and snippets.

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 March 30, 2012 17:16
Finagle MySQL codec in action
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")