Skip to content

Instantly share code, notes, and snippets.

View 42piratas's full-sized avatar
🎯
Focusing

Ânderson Q. 42piratas

🎯
Focusing
View GitHub Profile
@42piratas
42piratas / sqlite3-in-python.py
Created September 15, 2020 23:02 — forked from 7aman/sqlite3-in-python.py
sqlite3 cheatsheet for python 3
#!/usr/bin/env python3
'''
Thanks to Andres Torres
Source: https://www.pythoncentral.io/introduction-to-sqlite-in-python/
'''
import sqlite3
# Create a database in RAM
@42piratas
42piratas / bobp-python.md
Created August 19, 2020 22:36 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@42piratas
42piratas / pytest.md
Created June 28, 2018 08:23 — forked from kwmiebach/pytest.md
pytest cheat sheet

Usage

(Remember to create a symlink pytest for py.test)

pytest [options] [file_or_dir] [file_or_dir] ...

Help:

@42piratas
42piratas / gist:55b23ca597aad11bef6c780a08ebe284
Created June 6, 2018 13:38 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

Keybase proof

I hereby claim:

  • I am 42piratas on github.
  • I am 42piratas (https://keybase.io/42piratas) on keybase.
  • I have a public key ASApJyg7fNKSMbm4FfPDwRBJABoXVUVY0tMj2qrIfH6DhQo

To claim this, I am signing this object:

Python unittest Cheat Sheet

Skeleton