Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Eduardo Vieira vieiraeduardos

Block or report user

Report or block vieiraeduardos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View App
import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View} from 'react-native';
import RadioForm, {RadioButton, RadioButtonInput, RadioButtonLabel} from 'react-native-simple-radio-button';
var radio_props = [
{label: 'param1', value: 0 },
{label: 'param2', value: 1 }
];
View test.json
{
"_id": "5c9fc74eb105230fe4d3c4c4",
"name": "Q2",
"description": "",
"creator": {
"_id": "5c8ec37cb10523381c490698",
"name": "Eduardo Silva Vieira",
"email": "eduardo@gmail.com",
"password":"pbkdf2:sha256:50000$El6ShTOD$b9b468a659173299e1a0d25f15f4b56f15e8444c3e6b55b4fc44714d4b848c9a"}, "classes": [],
"questions": [
View courses.csv
1 246 7
2 142 9
3 177 9
4 97 10
5 178 1
6 161 9
7 129 10
8 112 7
9 12 10
10 127 7
View train.csv
We can't make this file beautiful and searchable because it's too large.
View test.csv
We can't make this file beautiful and searchable because it's too large.
NU_INSCRICAO,CO_UF_RESIDENCIA,SG_UF_RESIDENCIA,NU_IDADE,TP_SEXO,TP_COR_RACA,TP_NACIONALIDADE,TP_ST_CONCLUSAO,TP_ANO_CONCLUIU,TP_ESCOLA,TP_ENSINO,IN_TREINEIRO,TP_DEPENDENCIA_ADM_ESC,IN_BAIXA_VISAO,IN_CEGUEIRA,IN_SURDEZ,IN_DISLEXIA,IN_DISCALCULIA,IN_SABATISTA,IN_GESTANTE,IN_IDOSO,TP_PRESENCA_CN,TP_PRESENCA_CH,TP_PRESENCA_LC,CO_PROVA_CN,CO_PROVA_CH,CO_PROVA_LC,CO_PROVA_MT,NU_NOTA_CN,NU_NOTA_CH,NU_NOTA_LC,TP_LINGUA,TP_STATUS_REDACAO,NU_NOTA_COMP1,NU_NOTA_COMP2,NU_NOTA_COMP3,NU_NOTA_COMP4,NU_NOTA_COMP5,NU_NOTA_REDACAO,Q001,Q002,Q006,Q024,Q025,Q026,Q027,Q047
73ff9fcc02f0a99919906c942c2e1a1042cdcf98,41,PR,22,F,3,1,1,5,1,,0,,0,0,0,0,0,0,0,0,1,1,1,16f84b7b3d2aeaff7d2f01297e6b3d0e25c77bb2,9cd70f1b922e02bd33453b3f607f5a644fb9b1b8,01abbb7f1a90505385f44eec9905f82ca2a42cfd,81d0ee00ef42a7c23eb04496458c03d4c5b9c31a,464.8,443.5,431.8,0,1,120,80,80,100,40,420,B,A,C,A,A,C,C,A
View avaliacao_usuario.csv
Titulo Documentary Sci-Fi Mystery Horror Romance Thriller Crime Fantasy Comedy Animation Children Drama Adventure Duracao Investimento Gostou
Nixon (1995) 0 0 0 0 0 0 0 0 0 0 0 1 0 114.496547 7.930748498 1
Leaving Las Vegas (1995) 0 0 0 0 1 0 0 0 0 0 0 1 0 110.1401909 18.27655533 1
Persuasion (1995) 0 0 0 0 1 0 0 0 0 0 0 1 0 105.7475965 16.58223236 1
Babe (1995) 0 0 0 0 0 0 0 0 0 0 1 1 0 126.1319776 13.00455253 1
Carrington (1995) 0 0 0 0 1 0 0 0 0 0 0 1 0 85.0254686 14.41812043 1
Dead Man Walking (1995) 0 0 0 0 0 0 1 0 0 0 0 1 0 109.6215458 43.7608499 1
Across the Sea of Time (1995) 1 0 0 0 0 0 0 0 0 0 0 0 0 81.60425277 14.94324027 0
To Die For (1995) 0 0 0 0 0 0 0 0 1 0 0 1 0 138.6375948 6.299150069 1
Seven (a.k.a. Se7en) (1995) 0 0 1 0 0 0 0 0 0 0 0 0 0 116.1432613 3.795008325 1
View movies_multilinear_reg.csv
We can't make this file beautiful and searchable because it's too large.
movieId,Titulo,Documentary,Sci-Fi,Mystery,Horror,Romance,Thriller,Crime,Fantasy,Comedy,Animation,Children,Drama,Adventure,Duracao,Investimento,Bilheteria
1,Toy Story (1995),0,0,0,0,0,0,0,1,1,1,1,0,1,103.4683096,11.04821649,5623234.602
2,Jumanji (1995),0,0,0,0,0,0,0,1,0,0,1,0,1,112.3379163,14.92767805,5714951.757
3,Grumpier Old Men (1995),0,0,0,0,1,0,0,0,1,0,0,0,0,116.2457324,27.11459654,9524339.124
4,Waiting to Exhale (1995),0,0,0,0,1,0,0,0,1,0,0,1,0,120.3177316,4.994241717,6331568.779
5,Father of the Bride Part II (1995),0,0,0,0,0,0,0,0,1,0,0,0,0,110.0235716,19.14224634,6409617.277
6,Heat (1995),0,0,0,0,0,1,1,0,0,0,0,0,0,97.32484507,9.977310643,4956557.317
7,Sabrina (1995),0,0,0,0,1,0,0,0,1,0,0,0,0,88.9788932,14.25746091,4654565.066
8,Tom and Huck (1995),0,0,0,0,0,0,0,0,0,0,1,0,1,78.53601116,8.871800033,3950017.325
9,Sudden Death (1995),0,0,0,0,0,0,0,0,0,0,0,0,0,104.934703,29.11280008,6850971.551
@vieiraeduardos
vieiraeduardos / virtual.conf
Created Mar 19, 2019
configuration file to NGINX
View virtual.conf
server {
listen 80;
server_name your_public_dnsname_here;
location / {
proxy_pass http://127.0.0.1:8000;
}
}
@vieiraeduardos
vieiraeduardos / anubis.conf
Last active Mar 19, 2019
configuration file to Supervisor
View anubis.conf
[program:anubis]
directory=/root/anubis
command=/root/anubis/venv/bin/gunicorn app:app -b localhost:8000
autostart=true
autorestart=true
stderr_logfile=/var/log/anubis/run.err.log
stdout_logfile=/var/log/anubis/run.out.log
You can’t perform that action at this time.