Skip to content

Instantly share code, notes, and snippets.

btaba

Block or report user

Report or block btaba

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sort_on_disk.py
import os
import time
import shutil
import random
import heapq
def remove_file(f):
if os.path.exists(f):
os.remove(f)
View smart-color-inverter.py
import PIL.ImageOps
import numpy as np
import cv2
from PIL import Image
from PIL.ImageOps import invert
from scipy.misc import imread
from matplotlib import pyplot as plt
from scipy.misc import imsave
View CracklePop.scala
object CracklePop {
def cracklePop(start: Integer, end: Integer): Unit = {
val cracklePopStr = new StringBuilder()
if (start % 3 == 0) {
cracklePopStr.append("Crackle")
}
You can’t perform that action at this time.