Skip to content

Instantly share code, notes, and snippets.

View rafaelnovello's full-sized avatar

Rafael Novello rafaelnovello

View GitHub Profile
@rafaelnovello
rafaelnovello / README.md
Created June 6, 2018 19:49 — forked from curran/README.md
The Iris Dataset

This is the "Iris" dataset. Originally published at UCI Machine Learning Repository: Iris Data Set, this small dataset from 1936 is often used for testing out machine learning algorithms and visualizations (for example, Scatter Plot). Each row of the table represents an iris flower, including its species and dimensions of its botanical parts, sepal and petal, in centimeters.

The HTML page provides the basic code required to load the data and display it on the page (as JSON) using D3.js.

Built with blockbuilder.org

web counter
from xlwt import Workbook, easyxf
colors = ['aqua', 'black', 'blue', 'blue_gray', 'bright_green', 'brown', 'coral', 'cyan_ega',
'dark_blue', 'dark_blue_ega', 'dark_green', 'dark_green_ega', 'dark_purple', 'dark_red',
'dark_red_ega', 'dark_teal', 'dark_yellow', 'gold', 'gray_ega', 'gray25', 'gray40', 'gray50',
'gray80', 'green', 'ice_blue', 'indigo', 'ivory', 'lavender', 'light_blue', 'light_green',
'light_orange', 'light_turquoise', 'light_yellow', 'lime', 'magenta_ega', 'ocean_blue',
'olive_ega', 'olive_green', 'orange', 'pale_blue', 'periwinkle', 'pink', 'plum', 'purple_ega',
'red', 'rose', 'sea_green', 'silver_ega', 'sky_blue', 'tan', 'teal', 'teal_ega', 'turquoise',
'violet', 'white', 'yellow']
@rafaelnovello
rafaelnovello / askfor.py
Last active December 11, 2015 04:48 — forked from heynemann/askfor.py
servers = {
'frontend': {
'address': '33.33.33.33',
'user': 'vagrant',
'roles': [
FrontEnd
],
'options': {
'mysql-db-password':
AskFor('mysql-db-password',
@rafaelnovello
rafaelnovello / VagrantFile
Last active December 10, 2015 22:49 — forked from heynemann/VagrantFile
Alteração no VagrantFile para correção de erros ao levantar a VM. O método forward_port recebe apenas dois argumentos e o método network precisa da definição de hostonly ou bridged. A instrução update_file estava com o caminho e o owner errados. Alterado de frontend para backend
Vagrant::Config.run do |config|
config.vm.define "frontend" do |inner_config|
inner_config.vm.box = "base"
inner_config.vm.forward_port(80, 8080)
inner_config.vm.network :hostonly,"33.33.33.33"
end
config.vm.define "backend" do |inner_config|
inner_config.vm.box = "base"
@rafaelnovello
rafaelnovello / Usage
Created December 9, 2011 16:20 — forked from DP6/Usage
Virtualenv bootstrap script to create a Django environment
$ python generate_bootstrap.py bootstrap_base.py > django-bootstrap.py
$ python django-bootstrap.py ENV --project=NAME [ --hg --git --mysql --south --fabric --nose ]