Skip to content

Instantly share code, notes, and snippets.

Volodymyr wowkin2

  • Ukraine
Block or report user

Report or block wowkin2

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
wowkin2 /
Created May 21, 2020 — forked from cnicodeme/
ImprovMX handler
import ssl
import socket
import asyncio
import logging
import collections
import time
from asyncio import sslproto
from email._header_value_parser import get_addr_spec, get_angle_addr
from email.errors import HeaderParseError
wowkin2 / data_parser.js
Last active Feb 6, 2020
Scripts for download photos from with original names
View data_parser.js
Following script will parse all photos on
and will prepare list of files with appropriate names (like it they were originally)
to be downloaded on the next step
Scroll till the end of the page, so all images will be lazy-loaded.
Press F12 in browser copy-paste following code and press Enter.
Copy result and add it to the following Python script.
var data = [];
wowkin2 /
Last active Mar 4, 2019
Python parser of all non-commented links from html document.
import re
content = '''
<img src="/images/lol/hallo.png" />
<!-- /images/lol/commented.png -->
wowkin2 /
Created Jan 22, 2019
API to check password on HaveIBeenPwned service
import hashlib
import requests
import getpass
def test_pw(byte_string):
hasher = hashlib.sha1()
digest = hasher.hexdigest().upper()
print(f'Hash: {digest[:5]}, {digest[5:]}')
wowkin2 /
Created Dec 26, 2018 — forked from 0xpizza/
TCP Network scanner using asyncio for Python 3.7
import asyncio
import ipaddress
import re
import sys
wowkin2 /
Created Oct 7, 2018 — forked from mdsrosa/
Modified Python implementation of Dijkstra's Algorithm (
from collections import defaultdict, deque
class Graph(object):
def __init__(self):
self.nodes = set()
self.edges = defaultdict(list)
self.distances = {}
def add_node(self, value):
wowkin2 /
Last active Apr 25, 2020
Solution: "Exceeded 4 calls per second for api client" Python Shopify API - shopify_python_api

Solution for API call limit "shopify_python_api"

If you are using Python Shopify API and getting following error
"Exceeded 4 calls per second for api client. Reduce request rates to resume uninterrupted service."
but want your script to continue working with some timeout after that,
you can use following script from

For that just copy to your project and import shopify_limits_patch.

Or if you want to call it implicitly import it, remove last line patch_shopify_with_limits()
and call it before all your shopify calls.

import base64
from Crypto.Cipher import AES
class AESCipher(object):
BS = 16
def __init__(self, key):
self.key = key
wowkin2 /
Created May 4, 2018 — forked from dokenzy/
AES Encrytion Example in Python
#-*- coding: utf-8 -*-
# Python 3.4
# author:
# date: 2015. 4. 8
# References
wowkin2 /
Last active Apr 23, 2018
Solution to benchmark blocking and non-blocking http-requests using aiohttp session, requests and requests in async executor.
import time
import asyncio
import concurrent.futures
import requests
URL_SESSION = 'http://localhost:8061/session'
URL_REQUESTS = 'http://localhost:8061/requests'
URL_REQUESTS_EXECUTOR = 'http://localhost:8061/requests_executor'
You can’t perform that action at this time.