Skip to content

Instantly share code, notes, and snippets.

View tkrynski's full-sized avatar

Tevye Krynski tkrynski

View GitHub Profile
@tkrynski
tkrynski / ImageUploader.py
Last active March 5, 2021 17:57
Python ImageUploader refactor
import ImageUtil
class ImageUploader():
def __init__(self):
self.dimension = [0,0]
def cacheImageInMemory(self, imageFile):
# ...
return
package rhumbix.rhumbix;
class ImageUploader
{
public static int[] dimension = new int[2]; // dimension[0] = width, dimension[1] = height
void cacheImageInMemory(File imageFile) {
...
}
@tkrynski
tkrynski / gist:892e5775ffa9fe6bd8ef
Created November 7, 2014 01:51
email-builder request
{
"url": "http://internal-email-builder-prod-238214135.us-east-1.elb.amazonaws.com:4008/email-builder",
"headers": {
"x-app-id": "682"
},
"strictSSL": false,
"rejectUnauthorized": false,
"json": true,
"body": {
"appDoc": {
@tkrynski
tkrynski / gist:8943112
Created February 11, 2014 20:11
How to compare two redis dbs