Skip to content

Instantly share code, notes, and snippets.

{
"basics": {
"name": "Dmitri Meshin",
"label": "NodeJs (Full Stack, Microservices, ReactJS), Java, PHP, Python, DevOps",
"picture": "",
"email": "dmitri.meshin@gmail.com",
"phone": "+972534313488",
"website": "",
"summary": "I studied in University of Moldova on cathedra of Math, Physics and Automation Engineering.\nGraduated master degree.\n\nLater after finishing education in University I used my Knowledge about LAMP Systems I gained there for lecturing. Worked two years as Lecturer in operating systems and programming on C++ in Linux environment, that was my hobby during working as a Freelancer on oDesk (Upwork.com)\n\nLater on I was hired by Upwork and spent there few happy years of intensive front and back end development, yes, it was also my job to work and migrate really huge codebase to merge Elance and oDesk, and after few years of efforts from guys like me - we finally got new branded product - Upwork!\n\nTechnologies that I worked with during all my career:\n\nDatabas
import re
import dns.resolver # Requires dnspython
email_host_regex = re.compile(".*@(.*)$")
gmail_servers_regex = re.compile("(.google.com.|.googlemail.com.)$", re.IGNORECASE)
def is_gmail(email):
""" Returns True if the supplied Email address is a @gmail.com Email or is a Google Apps for your domain - hosted Gmail address
Checks are performed by checking the DNS MX records """
m = email_host_regex.findall(email)
# the idea was come from https://gist.github.com/jvanasco/1616707
import types
def _var_dump(variable, depth = 0, not_new_line = False):
padding = " " * 4 * depth
key_padding = " " * 4 * (depth+1)
first_padding = '' if not_new_line else padding
not_new_line = True
depth+= 1