Skip to content

Instantly share code, notes, and snippets.

View toonarmycaptain's full-sized avatar
💭
Looking for FTE.

David toonarmycaptain

💭
Looking for FTE.
View GitHub Profile
@QuinnyPig
QuinnyPig / resignation.txt
Last active January 31, 2023 06:51
Templated resignation letter
Dear BOSS,
Please accept this letter as formal notification that I am resigning from my position as JOB TITLE with COMPANY. My last day will be DATE OF LAST DAY.
Thank you so much for the opportunity to work in this position for the past DURATION. I’ve greatly enjoyed and appreciated the opportunities I’ve had to WTF DID YOU DO, and I’ve learned many things, all of which I will take with me throughout my career.
During my last two weeks, I’ll do everything possible to wrap up my duties and train other team members. Please let me know if there’s anything else I can do to aid during the transition.
I wish COMPANY continued success, and I hope to stay in touch in the future.
Sincerely,
#from math import floor
#
#LIMIT = 1000
#
#prime_list = []
#list_primes2 = [True for x in range(LIMIT)]
#list_primes2[0], list_primes2[1] = False, False
#
#for index, value in enumerate(list_primes2):
# if value:
@kissgyorgy
kissgyorgy / sqlalchemy_conftest.py
Last active May 6, 2024 08:06
Python: py.test fixture for SQLAlchemy test in a transaction, create tables only once!
from sqlalchemy import create_engine
from sqlalchemy.orm import Session
from myapp.models import BaseModel
import pytest
@pytest.fixture(scope="session")
def engine():
return create_engine("postgresql://localhost/test_database")