Skip to content

Instantly share code, notes, and snippets.

@satwikkansal
satwikkansal / cheatsheet.cpp
Last active June 27, 2023 04:53
C++ STL cheatsheet for competitive progrmming
/*
This a header file that includes every standard library.
You can use it to save time.
NOTE: This header file may not be recognized by compilers
other than gcc.
*/
#include <bits/stdc++.h>
/*
//Use this if the above header file doesn't work.
@tomdean
tomdean / bulk.py
Last active September 9, 2023 23:56
from collections import OrderedDict
import datetime
from typing import Iterator, List, Sized, Union
import numpy as np
import pandas as pd
from psycopg2.extensions import QuotedString
from sqlalchemy import and_, exists, MetaData, Table, Column as SAColumn
import logging