Skip to content

Instantly share code, notes, and snippets.

View RileyEv's full-sized avatar
🦄

Riley Evans RileyEv

🦄
View GitHub Profile
/* ========================================================================
// Multi Select
// ========================================================================*/
/* ------------------------------------------------------------------------
// Sortable
// ------------------------------------------------------------------------*/
function multiSelectSortableAfterInit(that, container){
@everilae
everilae / threadedgenerator.py
Last active March 26, 2024 18:49
Threaded generator wrapper for Python
# A simple generator wrapper, not sure if it's good for anything at all.
# With basic python threading
from threading import Thread
try:
from queue import Queue
except ImportError:
from Queue import Queue