Skip to content

Instantly share code, notes, and snippets.

View alexyslozada's full-sized avatar
🏠
Working from home

Alexys Lozada alexyslozada

🏠
Working from home
View GitHub Profile
@alexyslozada
alexyslozada / recursive-cte.sql
Last active October 5, 2018 14:32
Consultar recursivamente una tabla con la estructura de árbol
/*
Original Data:
id idparent jobNO
--------------------------------
1 0 1
2 1 2
3 1 3
4 0 4
5 4 5
6 5 6
@alexyslozada
alexyslozada / .gitlab-ci.yml
Created October 2, 2018 23:29 — forked from moemoe89/.gitlab-ci.yml
Example Gitlab CI Setup for Go-Lang
image: golang:1.8.1
variables:
BIN_NAME: go-practice-ci
ARTIFACTS_DIR: artifacts
GO_PROJECT: gitlab.com/go-practice-ci
stages:
- build
- test
@alexyslozada
alexyslozada / Spinner Go
Created September 21, 2018 19:16
Crear un spinner en consola con Go
package main
import (
"fmt"
"time"
)
func main() {
spinner(150 * time.Millisecond)
}