This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const STATE_LOCAL_PART = "STATE_LOCAL_PART" | |
export const STATE_DOMAIN = "STATE_DOMAIN" | |
export const ALPHANUMERICS = "abcdefghijklmnopqrstuvwxyz1234567890" | |
export const LOCAL_PARTS_CHARACTERS = [...ALPHANUMERICS, ..."!#$%&'*+-/=?^_`{|}~."] | |
export const LOCAL_DOMAIN_CHARACTERS = [...ALPHANUMERICS, ..."-."] | |
export const tokenize = function(input) { | |
const characters = [...input] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import websocket | |
try: | |
import thread | |
except ImportError: | |
import _thread as thread | |
import time | |
import json | |
import ssl | |
import sublime, sublime_plugin, os |
NewerOlder