This file contains 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
#If your gitignore it's 'not working' | |
#cleanup your cached files | |
git rm -r --cached . | |
#then add your changes | |
git add . | |
git commit -m "your celebration message" |
This file contains 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
cd ~/Documents/Digimundo | |
export WORKON_HOME=~/.virtualenvs | |
export VIRTUALENVWRAPPER_HOOK_DIR=$WORKON_HOME/hooks | |
source /usr/local/bin/virtualenvwrapper.sh | |
#------ Personal Alias ------------- | |
alias mkv='mkvirtualenv --python=/usr/bin/python3' |
This file contains 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 math | |
class LeastSquares(object): | |
"""docstring for LeastSquares""" | |
def __init__(self, x:list, y:list): | |
super(LeastSquares, self).__init__() | |
if len(x) != len(y): | |
raise NameError('Las listas deben tener misma longitud.') |
This file contains 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
Show hidden characters
[ | |
{"keys": ["ctrl+alt+i"], "command": "reindent", "args": {"single_line": false}}, | |
] |
This file contains 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
print('Hola mundo') |