Skip to content

Instantly share code, notes, and snippets.

We can't make this file beautiful and searchable because it's too large.
atleta_id,rodada,clube_id,participou,posicao_id,jogos_num,pontos_num,media_num,preco_num,variacao_num,partida_id,mando,titular,substituido,tempo_jogado,nota,FS,PE,A,FT,FD,FF,G,I,PP,RB,FC,GC,CA,CV,SG,DD,DP,GS
37958,1,262.0,1,1.0,1,8.0,8.0,19.69,1.69,179872.0,1,1.0,0,1.0,6.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0
68873,1,262.0,0,1.0,0,0.0,0.0,4.0,0.0,179872.0,1,0.0,0,0.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
37701,1,262.0,1,2.0,1,0.4,0.4,16.97,-5.03,179872.0,1,1.0,0,1.0,6.0,0,7,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0
71602,1,262.0,0,2.0,0,0.0,0.0,3.0,0.0,179872.0,1,0.0,0,0.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
37684,1,262.0,1,3.0,1,9.1,9.1,10.68,5.68,179872.0,1,1.0,0,1.0,6.0,2,1,0,0,1,0,0,1,0,2,1,0,0,0,1,0,0,0
68958,1,262.0,1,3.0,1,6.3,6.3,15.38,1.38,179872.0,1,1.0,0,1.0,6.0,1,1,0,0,0,1,0,0,0,2,2,0,1,0,1,0,0,0
81223,1,262.0,0,3.0,0,0.0,0.0,4.0,0.0,179872.0,1,0.0,0,0.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
38311,1,262.0,1,4.0,1,3.0,3.0,7.57,0.57,179872.0,1,1.0,0,1.0,6.0,2,3,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,0
50301,1,262.0,1
10 26.6588387834389
10.4013377926421 27.3064353457772
10.8428093645485 22.1324101716143
11.2441471571906 21.1698405046065
11.6454849498328 15.1926335164307
12.0869565217391 26.3989510407284
12.4882943143813 17.435306578572
12.8896321070234 25.5078852305278
13.2909698996656 36.884594694235
13.7324414715719 39.666108747637
@gabrielfern
gabrielfern / Medições
Last active July 1, 2019 12:56
adsd medição usando ffmpeg
[1 min]
[1080p30]
cpu 384% mem 606,628k time 72.34s
cpu 384% mem 606,724k time 72.74s
[1080p60]
cpu 388% mem 608,724k time 122.89s
cpu 388% mem 609,192k time 124.12s
[4k30]
cpu 387% mem 2,145,880k time 267.67s
cpu 386% mem 2,145,648k time 267.61s
@gabrielfern
gabrielfern / hello.asm
Created November 25, 2018 18:11
hello world em assembly, linux x86_64
# assembly para "hello world" em linux x86_64
# assemblar e linkar
# as hello.asm -o hello.o && ld hello.o -o hello
# executar
# ./hello
.data # secao de dados do programa
msg: .ascii "Hello, World!\n" # mensagem a ser escrita na tela
@gabrielfern
gabrielfern / RLGDT_Walls.java
Created November 13, 2018 00:40
Robo que pega o Walls
import java.awt.Color;
import robocode.AdvancedRobot;
import robocode.BulletHitEvent;
import robocode.HitRobotEvent;
import robocode.ScannedRobotEvent;
public class RLGDT_Walls extends AdvancedRobot {
final int NE = 0, SE = 1, SO = 2, NO = 3;
double eixoDeDescida;
@gabrielfern
gabrielfern / pi.c
Created October 29, 2018 23:58
Leibniz to find π
#include <stdio.h>
#include <stdlib.h>
double calc(unsigned long n) {
unsigned long i = 0;
double sum = 0;
while (i < n) {
sum += (i%2 == 0 ? 1.0 : -1.0) / (2*i+1);
i++;
@gabrielfern
gabrielfern / hamming.c
Last active October 11, 2018 18:11
Detecção e correção de erro por hamming
#include <assert.h>
/* retorna 0 caso não exista erro
retorna 1 caso exista erro */
int checa_erro(void *dados, unsigned long num_bits) {
unsigned char *array = dados;
unsigned i = 1, j = 0;
while (j < num_bits) {
@gabrielfern
gabrielfern / userChrome.css
Created October 11, 2018 03:42
Firefox csd fix (theme: Mint-Y-Darker)
.titlebar-placeholder[type="pre-tabs"] {
display:none !important;
}
#TabsToolbar {
background-color: #2f2f2f;
}
@gabrielfern
gabrielfern / paridade.c
Last active October 1, 2018 22:56
Detecção de erro por paridade
#include <assert.h>
// Implementado paridade par
/* retorna 0 caso não tenha erro de paridade
retorna 1 caso exista erro de paridade */
int checa_erro(void *dados, unsigned tamanho) {
unsigned long total = 0;
while (tamanho > 0) {
unsigned char byte = ((char *) dados)[tamanho-1];
@gabrielfern
gabrielfern / n-queens.py
Last active September 26, 2018 00:04
Find the number of solutions to a n queen problem
from sys import argv
from itertools import combinations
class Board:
def __init__(self, n):
self.board = [[0]*n for _ in range(n)]
def __repr__(self):