Skip to content

Instantly share code, notes, and snippets.

@skyrocknroll
skyrocknroll / blink.lua
Last active January 10, 2021 21:51
nodemcu led blink lua script nodemcu ESP12E
@niccokunzmann
niccokunzmann / RemoteException.py
Last active March 24, 2024 16:02
See the traceback of the error occurring from the other process with multiprocessing.
import sys
import traceback
import StringIO
from copy_reg import dispatch_table, pickle
def exc_info(hide_calls = 0):
'''as sys.exc_info() but returns a remote exception object'''
ErrorType, thrownError, traceback = sys.exc_info()
for i in range(hide_calls):