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 pandas as pd | |
| import numpy as np | |
| import csv as csv | |
| # Filesname | |
| output_file = 'emails.txt' | |
| file_descriptor = open(output_file, 'w') | |
| df = pd.read_csv('registers.csv', header=0) # Load the test file into a dataframe | |
| df = df.drop(["#","name","experience","start","submit","network"], axis=1) |
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
| node * insert(node * root, int value) { | |
| if (!root){ | |
| node *newLeaf; | |
| newLeaf->data = value; | |
| newLeaf->left = NULL; | |
| newLeaf->right = NULL; | |
| root = newLeaf; | |
| } | |
| else { |
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
| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| ignorecase = true | |
| precomposeunicode = true | |
| [remote "origin"] | |
| url = https://gitlab.com/ferreiro/new-dotfiles.git | |
| pushurl = https://gitlab.com/ferreiro/new-dotfiles.git |
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
| Error: No such file or directory @ rb_sysopen - /Users/Jorge/hdhfghfg |
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
| class CracklePop(object): | |
| def __init__(self, left, right): | |
| self.left = left # Left index | |
| self.right = right # Right index | |
| # Private methods | |
| def valid_bounds(self): | |
| """ | |
| Checks that the left and right bounds |
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
| class CracklePop(object): | |
| def __init__(self, left, right): | |
| self.left = left | |
| self.right = right | |
| # Private methods | |
| def valid_bounds(self): | |
| left = self.left | |
| right = self.right |
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
| log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow) %d%C(reset)' --all | |
| git config --global alias.superlog "PONER LO DE ARRIBA" |
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
| git config credentials.helper osxkeychain |
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 random import randint | |
| games = [] # It's a list og games where each element is a dictionary {'name': '', 'type':'', 'used': False|True} | |
| cons_type = ['inteligencia','deporte','aventura','familiar'] | |
| cons_numPlayers = ['uno', 'dos', 'MasDeDos'] | |
| cons_difficulty = ['facil', 'media', 'dificil'] | |
| cons_time = ['poco', 'medio', 'mucho'] | |
| cons_age = ['TP', 'Mas13', 'Mas18'] |
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
| # Subject classs. That has a constructor (__init__) and a method (getSubjectInfo) | |
| class Subject: | |
| def __init__(self, name, teacher, year, degree): | |
| self.name = name | |
| self.teacher = teacher | |
| self.year = year | |
| self.degree = degree | |
| def getSubjectInfo(self): | |
| info = "-------------------------------------\n" |