A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
http://www.english-for-students.com/FormationofWords.html | |
http://www.gingersoftware.com/content/grammar-rules/nouns/compound-nouns/ | |
http://pt.stackoverflow.com/questions/301/devo-escrever-meu-programa-em-ingl%C3%AAs-ou-portugu%C3%AAs | |
https://dzone.com/articles/best-practices-variable-and | |
https://www.python.org/dev/peps/pep-0008/#naming-conventions | |
https://gist.github.com/sloria/7001839 |
/api/file/: | |
post: | |
summary: Upload (create or update) a new file | |
consumes: | |
- multipart/form-data | |
produces: | |
- application/json | |
parameters: | |
- name: file | |
in: formData |
# Quem contribuiu mais frequentemente? | |
# Quem mais contribuiu em doações? | |
data = read.csv("data/data.csv") | |
data$amount = sapply(data$amount, function(x){ | |
x = gsub("\\.", "", x) | |
x = gsub(",", ".", x) | |
x = gsub("R\\$", "", x) | |
if (x == "Não divulgado") | |
x = '0.0' |
http://www.previdencia.gov.br/servicos-ao-cidadao/todos-os-servicos/aposentadoria-por-tempo-de-contribuicao/ | |
http://www.previdencia.gov.br/servicos-ao-cidadao/todos-os-servicos/aposentadoria-por-idade/ | |
http://www.guiatrabalhista.com.br/guia/tabela_inss_empregados.htm | |
http://www.previdencia.gov.br/wp-content/uploads/2016/01/Fator-Previdenci%C3%A1rio_2016.pdf | |
https://jus.com.br/duvidas/164613/durante-o-auxilio-doenca-devo-recolher-para-o-inss | |
http://oprimorico.com.br/aposentadoria/onde-devo-investir-meu-dinheiro-para-garantir-minha-aposentadoria/ | |
http://www.vivoseudinheiro.com.br/saiba-qual-e-o-teto-maximo-do-inss-em-2016/ | |
http://exame.abril.com.br/seu-dinheiro/noticias/aposentadoria-pelo-inss-veja-quanto-o-governo-ira-te-pagar | |
LEI Nº 8.212 Art 31 |
/** | |
* This code uses Apache Chemistry (http://chemistry.apache.org/). | |
* License accords to Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) | |
*/ | |
import java.io.ByteArrayInputStream; | |
import java.io.UnsupportedEncodingException; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; |
chmod +x alfresco-community-installer-201604-linux-x64.bin
Configuration:
# modified from https://github.com/philjette/InformationGain/blob/master/InformationGain.R | |
# https://philjette.wordpress.com/2015/05/31/feature-selection-using-information-gain-in-r/ | |
library(plyr) | |
data(iris) | |
#compute Shannon entropy | |
entropy <- function(target) { | |
freq <- table(target)/length(target) |
Template engines | |
https://engineering.linkedin.com/frontend/client-side-templating-throwdown-mustache-handlebars-dustjs-and-more | |
https://garann.github.io/template-chooser/ | |
https://www.google.com/trends/explore?date=all&q=%2Fm%2F0h96p1q,%2Fm%2F0j9p3_2,%2Fm%2F0bqlhw,jstl | |
https://github.com/mbosecke/template-benchmark | |
https://www.bearfruit.org/2014/01/20/node-js-showdown-handlebars-compared/ | |
https://medium.com/javascript-scene/jsx-looks-like-an-abomination-1c1ec351a918 | |
https://github.com/FormidableLabs/radium | |
https://speakerdeck.com/vjeux/react-css-in-js | |
https://github.com/ohanhi/hyperscript-helpers |
Chen notation x Crow Notation |