Skip to content

Instantly share code, notes, and snippets.

View diiigle's full-sized avatar

Tobias Rittig, Ph.D. diiigle

View GitHub Profile
@tomasiser
tomasiser / _ Python tev IPC wrapper.md
Last active April 22, 2021 12:18
Python tev/IPC wrapper

A simple Python wrapper to communicate with tev over IPC

This wrapper allows remotely creating, updating, and closing images in the tev image viewer. It is quite fast and is even suitable for semi-real-time usage like sending a raw video feed from a camera. See this tev issue for more information about its IPC.

Example usage:

with TevIpc() as tev:
    image_data = np.full((100,100,3), 1.0)
    image_data[40:61,:,0] = 0.0
@diiigle
diiigle / Google Chrome always incognito on Windows
Last active November 27, 2018 09:10
Enable default incognito mode for Google Chrome on Windows even when clicking on a link!
.