Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Santos DanicoSantos

  • Octopass
  • Belém- Pará - Brasil
View GitHub Profile
@DanicoSantos
DanicoSantos / gist:4501cc8b6d5616e2208984c0b729bb1b
Created Jul 12, 2021 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions
View gist:4501cc8b6d5616e2208984c0b729bb1b

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@DanicoSantos
DanicoSantos / obituario.md
Last active Aug 23, 2020
Obituário - Daniel Santos
View obituario.md

Obituário

Morreu às 21:00h da noite de ontem o cidadão Daniel Nascimento dos Santos.

Daniel era gente boníssima, assaz caridoso, afeito as coisas boas da vida, no entanto sem jamais deixar de se importar com o sofrimento de sua gente.

Não era homem religioso, porém era um autêntico cristão. Acumulou ao longo de sua vida um patrimônio considerável, que fazia questão de não ostentar, antes sim se ocupava em investí-lo na educação de seu povo.

@DanicoSantos
DanicoSantos / simbiose-day.md
Created Aug 8, 2020
Simbiose Day - Daniel Santos
View simbiose-day.md

O que acho que precisamos discutir

Conselho de Gestão

  • Por quê as reuniões deixaram de acontecer? Sei que não cobramos e essa falha é nossa responsabilidade, mas não foi dado nenhuma notícia em relação ao Conselho de Gestão.
  • Elas irão voltar a acontecer?

Uma única fonte da verdade

@DanicoSantos
DanicoSantos / web-development-roadmap.md
Last active Aug 8, 2020
Planejamento de estudos de hard do mês de Agosto
View web-development-roadmap.md

Organização do Planejamento

Fase 1: Pesquisa e avaliação de cursos

Descrição:

Pesquisa na plataforma alura, de preferência seguindo as formações já existentes.

Procedimento:

  • Assistir a primeira aula do curso
View alias.md

Aliases

alias infra='cd /home/dev-dan/infrastructure/docker/scripts' alias runsh='bash /home/dev-dan/infrastructure/docker/scripts/run.sh api' alias runapi='infra && runsh' alias stopall='infra && bash /home/dev-dan/infrastructure/docker/scripts/stop.sh' alias presto_stop="docker exec -it shannondb-presto supervisorctl stop presto" alias gss="git submodule sync && git submodule update --init --recursive --remote" alias clean_api="cd ~/infrastructure/docker/scripts && ./clean.sh && cd ~" alias exec_api="docker exec -it api bash"

@DanicoSantos
DanicoSantos / eslintError.md
Last active Jul 24, 2020
Error generated when pre-commit hook triggers on a javaScript file
View eslintError.md
Error: Cannot find module 'eslint-config-airbnb'
Referenced from: /home/dev-dan/websites/qc-website/querycache-website/.eslintrc.json
    at ModuleResolver.resolve (/home/dev-dan/.cache/pre-commit/repo87bozx_4/node_env-system/lib/node_modules/eslint/lib/util/module-resolver.js:74:19)
    at resolve (/home/dev-dan/.cache/pre-commit/repo87bozx_4/node_env-system/lib/node_modules/eslint/lib/config/config-file.js:471:25)
    at load (/home/dev-dan/.cache/pre-commit/repo87bozx_4/node_env-system/lib/node_modules/eslint/lib/config/config-file.js:542:26)
    at /home/dev-dan/.cache/pre-commit/repo87bozx_4/node_env-system/lib/node_modules/eslint/lib/config/config-file.js:421:36
    at Array.reduceRight (<anonymous>)
    at applyExtends (/home/dev-dan/.cache/pre-commit/repo87bozx_4/node_env-system/lib/node_modules/eslint/lib/config/config-file.js:403:28)
    at loadFromDisk (/home/dev-dan/.cache/pre-commit/repo87bozx_4/node_env-system/lib/node_modules/eslint/lib/config/config-file.js:514:22)
View gist:18eb6862e994ded83045eaecf0428124
- [ ] Use of !important
color: #ffffff !important;
- [ ] base.css
20: warning at line 83, col 9
Use of !important
background: var(--secondary) !important;
- [ ] base.css
21: warning at line 84, col 9
View gist:503cfde78835589374696ca01ec569ea
File "/home/dev-dan/sd-control-panel/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 157, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
View gist:c45fc131ab36661a20e01bafeae5ad77
Collecting mysqlclient
Using cached https://files.pythonhosted.org/packages/f8/9b/5db9a03e2088a87c26e3e4d4c7f7e8f4c2dbae610f9521cdfac15755a795/mysqlclient-1.4.5.tar.gz
Building wheels for collected packages: mysqlclient
Building wheel for mysqlclient (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/dev-dan/slicing-dice/control_panel/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pkgu82xf/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pkgu82xf/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-sx5z75gf --python-tag cp36
cwd: /tmp/pip-install-pkgu82xf/mysqlclient/
Complete output (31 lines):
running bdist_wheel
running build
View gist:00d53fdfe816b3b7165e581685f1fb82
=================================== FAILURES ===================================
__________________________ test_remove_expired_column __________________________
[gw2] linux -- Python 3.6.8 /sd_api/venv/bin/python
async def test_remove_expired_column():
db = util.get_mysql_session()
column_sqlalchemy = None
try:
creation_date = datetime.datetime.now() - datetime.timedelta(days=9)
database = get_test_purpose_database(db, is_test=True)