Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am pcasaretto on github.
* I am pcasaretto (https://keybase.io/pcasaretto) on keybase.
* I have a public key ASAFMWk6_vjOhjIt7MhC9bT0LlaxdufBcM5JuJ6Ad4BVYQo
To claim this, I am signing this object:
type fakeDriver struct {
}
type fakeConn struct {
exec func(query string, args []driver.Value) (driver.Result, error)
}
var singleton fakeConn
func (f *fakeConn) Exec(query string, args []driver.Value) (driver.Result, error) {
module DMMT
module Time
# get current Time
def self.now
Time.zone.now
end
# get current Dime
def self.today

Summary

A data visualization showing the correlation between alcohol concentration and perceived wine quality. The dataset is relative to red variants of the Portuguese "Vinho Verde" wine. The visualization showcases one of the most interesting findings during the exploratory data analysis of the dataset and also allows some exploration.

Design

package main
import (
"fmt"
"math/rand"
)
func rollDice() int {
return rand.Intn(6) + 1
}
@pcasaretto
pcasaretto / -
Created November 12, 2015 16:47
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://accounts.google.com/ServiceLogin?service=mail&amp;passive=true&amp;rm=false&amp;continue=https://mail.google.com/mail/?ui%3D2%26ik%3D46d306e078%26view%3Dom%26th%3D150f2f8c472e525d&amp;scc=1&amp;ltmpl=default&amp;ltmplcache=2&amp;emr=1&amp;osid=1">here</A>.
</BODY>
</HTML>
@pcasaretto
pcasaretto / -
Created November 12, 2015 16:46
https://mail.google.com/mail/u/1/?ui=2&ik=46d306e078&view=om&th=150f2f8c472e525d
#!/usr/bin/python
from nltk.stem.snowball import SnowballStemmer
import string
import re
def parseOutText(f):
""" given an opened email file f, parse out all text below the
metadata block at the top
(in Part 2, you will also add stemming capabilities)
@pcasaretto
pcasaretto / -
Created September 27, 2015 16:39
FAIL github.com/ResultadosDigitais/bliss [build failed]
ok github.com/ResultadosDigitais/bliss/deployment 0.046s
ok github.com/ResultadosDigitais/bliss/heaven 0.012s
ok github.com/ResultadosDigitais/bliss/notifier 0.080s
? github.com/ResultadosDigitais/bliss/octokitext [no test files]
ok github.com/ResultadosDigitais/bliss/provider 0.015s
@pcasaretto
pcasaretto / -
Created September 27, 2015 16:35
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/pcasaretto/src/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"