Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am tarasyarema on github.
  • I am tarasyarema (https://keybase.io/tarasyarema) on keybase.
  • I have a public key ASB6McGHkDmYly2lJ0mU5RQiGEpuwy8RzXgGzSNpvUhHqgo

To claim this, I am signing this object:

1,2,3
@tarasyarema
tarasyarema / compress_image.py
Last active September 13, 2019 10:59 — forked from ShantanuJoshi/compressMe.py
Python Image Compress
# Reference
# https://shantanujoshi.github.io/python-image-compression/
import os
import sys
from PIL import Image
def compressMe(file, verbose=False):
filepath = os.path.join(os.getcwd(), file)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tarasyarema
tarasyarema / c++Template.cpp
Created October 8, 2018 20:56 — forked from kodekracker/c++Template.cpp
Basic C++ Template for Competitive Programming
/*
* Note: This template uses some c++11 functions , so you have to compile it with c++11 flag.
* Example:- $ g++ -std=c++11 c++Template.cpp
*
* Author : Akshay Pratap Singh
* Handle: code_crack_01
*
*/
/******** All Required Header Files ********/