$ git tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/hmac" | |
"crypto/sha512" | |
"encoding/hex" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/hmac" | |
"crypto/sha512" | |
"encoding/hex" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
build: . | |
working_dir: /go/src/github.com/mesainc/sode-combination-service | |
volumes: | |
- .:/go/src/github.com/mesainc/sode-combination-service | |
networks: | |
- rabbitmq_default | |
external_links: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################## | |
## Development Dockerfile for Golang Applications ## | |
############################################################################## | |
# Start from a Debian image with the 1.9.2 version of Go installed | |
# and a workspace (GOPATH) configured at /go. | |
FROM golang:latest | |
# Create Working Directory | |
RUN mkdir -p /go/src/github.com/luizpaulogodoy/app-service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim " set the runtime path to include Vundle | |
call vundle#begin() " and initialize | |
" Keep Plugin commands between vundle#begin/end. | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kien/ctrlp.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim " set the runtime path to include Vundle | |
call vundle#begin() " and initialize | |
" Keep Plugin commands between vundle#begin/end. | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kien/ctrlp.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"NomeMunic": "ALTA FLORESTA D'OESTE", | |
"UF": "Rondônia", | |
"CodUF": "11", | |
"Codmun": "110001" | |
}, | |
{ | |
"NomeMunic": "ARIQUEMES", | |
"UF": "Rondônia", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@app.directive "scroll", ['$window', ($window) -> | |
(scope, element, attrs) -> | |
angular.element($window).bind "scroll", -> | |
if this.pageYOffset >= 400 | |
scope.visibleGotoTop = true | |
else | |
scope.visibleGotoTop = false | |
scope.$apply() | |
] |