ejemplo de arica para allData_ddl_legend.json
{
"agno": 2016,
"cod_com_alu": 15102,
"cod_com_rbd": 15101,
"cod_reg": 15,
"flow": 64,
"lat_com_alu": -19.155567,
"lat_com_rbd": -18.47895865,
ejemplo de arica para allData_ddl_legend.json
{
"agno": 2016,
"cod_com_alu": 15102,
"cod_com_rbd": 15101,
"cod_reg": 15,
"flow": 64,
"lat_com_alu": -19.155567,
"lat_com_rbd": -18.47895865,
sudo apt-get install -y git curl tmux weechat net-tools
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev
env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.7.0
or whatever version you like. --enable-shared
is needed for other packages to work properly, like vundle
.set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
" check https://github.com/VundleVim/Vundle.vim for details | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') |
[user] | |
email = daquintanav@gmail.com | |
name = Diego Quintana | |
[alias] | |
a = add | |
co = checkout | |
st = status | |
ci = commit | |
br = branch | |
unstage = reset HEAD -- |
# basic renaming of files, to enforce a minimum consistency | |
from pathlib import Path | |
for ix, file in enumerate(sorted(Path.cwd().glob('*'))): | |
new_filename = f'{ix:02}_' + file.name.lower().replace(' ','_') | |
print(f'{file.name} > {new_filename}') | |
file.rename(new_filename) |
Check http://flask.pocoo.org/docs/1.0/testing/
# test_stuff.py
class StuffTestCase(unittest.TestCase):
def setUp(self):
self.app = create_app('testing') # app factory
## instance/config.py | |
HELLO_ENABLED = False |
The struggle is real: Basically this bit in a setup.py
worked for me.
extras_require={
'extrapackage': ["git@git+ssh://git@gitlab.com/<user>/<repository_name>.git"],
},
then it's possible to do pip install -e .[extrapackage]
given you have proper ssh
access
import sys [0/6141] | |
"""A simple python implementation of the FizzBuzz problem. | |
*caveat*: It considers zero as divisible by three and five | |
see https://www.google.com/search?client=ubuntu&channel=fs&q=fizzbuzz+problem&ie=utf-8&oe=utf-8 | |
and http://wiki.c2.com/?FizzBuzzInManyProgrammingLanguages | |
""" |