Skip to content

Instantly share code, notes, and snippets.

@erantapaa
erantapaa / ctype_async_raise.py
Created July 18, 2016 05:07 — forked from liuw/ctype_async_raise.py
Nasty hack to raise exception for other threads
#!/usr/bin/env python
# liuw
# Nasty hack to raise exception for other threads
import ctypes # Calm down, this has become standard library since 2.5
import threading
import time
NULL = 0
@erantapaa
erantapaa / 0_reuse_code.js
Last active September 8, 2015 18:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console