Skip to content

Instantly share code, notes, and snippets.

View mynameismaxz's full-sized avatar
🙂
Just smile

MAC (a.k.a. bigb0ssjaaaaa) mynameismaxz

🙂
Just smile
View GitHub Profile
const delay = (millis) =>
new Promise((resolve, reject) => {
setTimeout((_) => resolve(), millis);
});
async function postData(url = '', data = {}) {
// Default options are marked with *
const response = await fetch(url, {
method: 'POST', // *GET, POST, PUT, DELETE, etc.
mode: 'cors', // no-cors, *cors, same-origin
@mynameismaxz
mynameismaxz / client.py
Created June 15, 2019 14:35 — forked from kittinan/client.py
Python OpenCV webcam send image frame over socket
import cv2
import io
import socket
import struct
import time
import pickle
import zlib
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(('192.168.1.124', 8485))
@mynameismaxz
mynameismaxz / uNoWatermark.py
Created December 13, 2015 14:16
Removes the annoying watermarks of it-ebooks.info's downloaded eBooks
import re
import shutil
import argparse
from os import path
from sys import stderr
#
# Author: Daxda
# Date: 02.04.2014
# WTF: This is a quick tool I've hacked together to easily remove the meta