URL | Descriçào |
---|---|
/api/v1/candidate/:cargo | Lista os candidados por cargo |
/api/v1/candidate/:cargo/votes/:abrangencia?limit=n | Informações de votos para cargo e abrangência específica |
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
var gulp = require("gulp"), | |
concat = require("gulp-concat"), | |
minify = require("gulp-minify-css"), | |
sass = require("gulp-sass"), | |
sourcemaps = require("gulp-sourcemaps"), | |
rename = require("gulp-rename"), | |
php = require("gulp-connect-php"), | |
gulpif = require("gulp-if"), | |
env = process.env.NODE_ENV || "dev"; |
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
#!/bin/bash | |
set -e | |
# file: hooks/post-receive inside git repository. | |
$WORK_DIR=path/to/work/directory | |
$GIT_DIR=path/to/git/directory | |
git --work-tree=$WORK_DIR --git-dir=$GIT_DIR checkout -f |