Skip to content

Instantly share code, notes, and snippets.

View vanessa's full-sized avatar

Vanessa vanessa

View GitHub Profile
@marcelgsantos
marcelgsantos / documentacao-arquitetura-de-sistemas.md
Last active March 12, 2024 19:03
Documentação de Arquitetura de Sistemas - Compilado de Perguntas e Respostas Feitas na Comunidade

Questões sobre Documentação da Arquitetura de Sistemas

1. Perguntas

Fiz algumas perguntas nas redes sociais e ferramentas de comunicação como Twitter, LinkedIn, Slack, Discord e Telegram sobre como as pessoas costumam documentar a arquitetura de sistemas.

  1. Vocês costumam desenhar diagramas para documentar a arquitetura dos sistemas que vocês constroem?

  2. O que vocês costumam representar: código, infraestrutura ou ambos?

@bonniss
bonniss / github-search-cheatsheet.md
Last active May 25, 2025 10:02
Github search cheatsheet from official docs.

Github Search Cheat Sheet

GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.

For more information, visit our search help section.

Basic search

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 1, 2025 14:46
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@rvlb
rvlb / directory_structure.txt
Created May 11, 2018 02:27
Como fazer uma busca em Django ignorando acentuação independente de banco de dados
manage.py
utils.py
templates/
- foo/
- search.html
foo/
- models.py
- views.py
@fjsj
fjsj / talk-types.md
Last active March 25, 2024 20:21
PyCon and DjangoCon commonly accepted talk types (with examples)

Tutorial-like

Best/worst practices

@espozbob
espozbob / install_python3_6_on_C9.md
Last active May 11, 2019 16:31
Install Python3.6 on the C9
$ wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz

$ tar xvf Python-3.6.3.tgz

$ cd Python-3.6.3

$ ./configure --enable-optimizations

$ make -j8
@traumverloren
traumverloren / style.css
Last active January 7, 2024 14:05
VSCode Customizations for Operator Mono, Fira Code, and Dark Candy Theme
/*
Instructions for MacOS:
- Install the fonts 'Operator Mono' & 'Fira Code'
- Install theme 'Dark Candy'
- Add the following config to the VS Code settings.json:
{
"editor.renderWhitespace": "all",
"editor.fontSize": 14,
@NigelEarle
NigelEarle / Knex-Migrations-Seeding.md
Last active February 17, 2025 18:17
Migration and seeding instructions using Knex.js!

Migrations & Seeding

What are migrations??

Migrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using knex command line tool.

To learn more about migrations, check out this article on the different types of database migrations!

Creating/Dropping Tables

@nnja
nnja / post-merge
Created October 2, 2017 01:19
Git Hook: Example post-merge hook that checks for updates to requirements.txt
#!/usr/bin/env python
import sys
import subprocess
diff_requirements = 'git diff ORIG_HEAD HEAD --exit-code -- requirements.txt'
exit_code = subprocess.call(diff_requirements.split())
if exit_code == 1:
print 'The requirements file has changed! Remember to install new dependencies.'
else:
@picaso
picaso / base_repo.py
Last active August 1, 2021 07:11
Repository pattern
from typing import Generic, TypeVar, Optional, List
from sqlalchemy.exc import SQLAlchemyError
from db.postgres_db.db_manager import DBManager
from db.postgres_db.models import db
T = TypeVar('T', bound=db.Model)