Skip to content

Instantly share code, notes, and snippets.

View fn-hide's full-sized avatar
:shipit:
What?

Huda Febrianto Nurrohman fn-hide

:shipit:
What?
View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active March 14, 2025 08:03
Conventional Commits Cheatsheet

Conventional Commit Messages starline

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

Tip

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

Commit Message Formats

Default

@curiousest
curiousest / read_postgres_sqlalchemy.py
Created November 23, 2016 15:20
Use automap_base to use an existing db with sqlalchemy
from sqlalchemy import MetaData, create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.automap import automap_base
from sqlalchemy.sql import select
from sqlalchemy import func
engine = create_engine('postgres://db_user@db_host:5432/db_name', client_encoding='utf8')
Session = sessionmaker(bind=engine)
session = Session()