Twitter :
-
JS
- Kent C. Dodds
- Andre Staltz - creator of cycleJS
- Dan Abramov - creator of the Redux Architecture
- Ben Lesh - lead RxJS
- Eric Elliott - Autour of Programming javascript application
-
CSS
-
Chris Coyier - creator of css-trick / codepen.io
| " Specift a directory for plugins | |
| " - For Neovim: ~/.local/share/nvim/plugged | |
| " - Avoid using standard Vim directory names like 'plugin' | |
| call plug#begin('~/.vim/plugged') | |
| " ==================== | |
| " | Language support | | |
| " ==================== | |
| Plug 'sheerun/vim-polyglot' " Multilanguage |
| image: node:7.6.0 | |
| cache: | |
| paths: | |
| - node_modules/ | |
| stages: | |
| - test | |
| - style | |
| - build |
| 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: |
Twitter :
JS
CSS
Chris Coyier - creator of css-trick / codepen.io
| 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 | |
| } |
| 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 "fmt" | |
| import "bytes" | |
| func main() { | |
| list := []string{"foo", "bar"} | |
| var str bytes.Buffer |