- Acir Gurgacz (PDT-RO) - Não foi Eleito (Governador)
- Aécio Neves (PSDB-MG) - Eleito (Deputado Federal)
- Ângela Portela (PDT-RR) - Não foi reeleita
- Antonio Anastasia (PSDB-MG) - Não foi eleito (Governador)
- Antônio Valadares (PSB-SE) - Não foi reeleito
- Armando Monteiro (PTB-PE) - Não foi eleito (Governador)
- Ataídes Oliveira (PSDB-TO) - [Não foi reeleito](https://espe
This file contains hidden or 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
const { shuffle, map } = require('lodash') | |
const { sendMessages } = require('./send-email') | |
const input = shuffle(require('./input.json')) | |
function assign (array) { | |
return map(array, (person, index, array) => { | |
const friend = array[index + 1] || array[0] | |
return { | |
person, |
This file contains hidden or 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
FROM continuumio/anaconda3 | |
RUN /opt/conda/bin/conda install jupyter | |
RUN mkdir -p /opt/notebooks/notebook | |
EXPOSE 8888 | |
CMD /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser --allow-root |
This file contains hidden or 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
FROM node:10.15-alpine as base | |
RUN apk --no-cache --virtual build-dependencies add \ | |
python \ | |
make \ | |
g++ \ | |
&& rm -f /var/cache/apk/* \ | |
&& npm config set unsafe-perm true \ | |
&& npm install --quiet node-gyp -g --cache /tmp/empty-cache |
This file contains hidden or 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
import Vue from 'vue'; | |
import App from './App.vue'; | |
import router from './router'; | |
import store from './store'; | |
import plugins from './plugins'; | |
plugins({ | |
router, store, Vue, | |
}); |
This file contains hidden or 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
import { isEmpty } from 'lodash' | |
import { makeWatch, makeCallback, parseDump } from './utils' | |
const extractDump = context => { | |
const dump = context.$route.query.dump | |
return dump | |
? parseDump(dump) | |
: {} | |
} |
This file contains hidden or 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
import { PromisePipeFactory } from './p-pipe' | |
import { isFunction, isArray } from 'lodash' | |
const w = window | |
/** | |
* @type Function | |
* @param {Function} | |
* @returns {void} | |
*/ | |
const subscribe = (() => { |
This file contains hidden or 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
import $nextTickInSequence from './next-tick-in-sequence' | |
export const install = Vue => { | |
Object.defineProperty(Vue.prototype, `$nextTickInSequence`, { | |
get: () => $nextTickInSequence | |
}) | |
} |
This file contains hidden or 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
self.addEventListener('notificationclick', function(e) { | |
// Android doesn't automatically close notifications on click | |
e.notification.close(); | |
// Focus tab if open | |
e.waitUntil(clients.matchAll({ | |
type: 'window' | |
}).then(function(clientList) { | |
for (var i = 0; i < clientList.length; ++i) { | |
var client = clientList[i]; |
This file contains hidden or 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
function formatTime (timeInMs) { | |
let date = new Date(timeInMs) | |
// ${date.getDate()}/${date.getMonth()}/${date.getFullYear()} | |
return `${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}.${date.getMilliseconds()}` | |
} | |
function log (type, ...args) { | |
if (this.$options.debug) { | |
console[type](`%c[${this.$_id}]${formatTime(Date.now())}>> `, | |
`background:${type === 'log' ? '#384A5E' : type === 'warn' ? '#F1BF39' : '#FF5370'}; padding: 3px; border-radius: 3px; color: #fff`, |