a full css3 checkbox style
Inspiration got thanks to http://scotch.io/tutorials/css/create-a-google-polymer-checkbox-using-css3
a full css3 checkbox style
Inspiration got thanks to http://scotch.io/tutorials/css/create-a-google-polymer-checkbox-using-css3
package main | |
import "fmt" | |
import "bytes" | |
func main() { | |
list := []string{"foo", "bar"} | |
var str bytes.Buffer |
package main | |
import "fmt" | |
import "math/rand" | |
func shuffleSlice(slice []interface{}) []interface{} { | |
for i := range slice { | |
j := rand.Intn(i + 1) | |
slice[i], slice[j] = slice[j], slice[i] | |
} |
package main | |
import "github.com/garyburd/redigo/redis" | |
func GetRedisConnection() (*redis.Pool, error) { | |
connPool := redis.NewPool(func() (redis.Conn, error) { | |
conn, err := redis.Dial("tcp", "redis.host:6379") | |
if err != nil { | |
return nil, err | |
} |
Twitter :
JS
CSS
Chris Coyier - creator of css-trick / codepen.io
image: golang:1.7 | |
before_script: | |
- export GO_PROJECT_PATH="$GOPATH/src/git.int.rtblw.com/$CI_PROJECT_NAMESPACE" | |
- echo $GO_PROJECT_PATH | |
- mkdir -p $GO_PROJECT_PATH | |
- ln -s $(pwd) $GO_PROJECT_PATH | |
- export GO_PROJECT_PATH="$GO_PROJECT_PATH/$CI_PROJECT_NAME" | |
- echo $GO_PROJECT_PATH | |
- cd $GO_PROJECT_PATH | |
stages: |
image: node:7.6.0 | |
cache: | |
paths: | |
- node_modules/ | |
stages: | |
- test | |
- style | |
- build |