As configured in my dotfiles.
start new:
tmux
start new with session name:
/** | |
* @file Instrumentor.hpp | |
* | |
* @brief Basic Instrumentation Profiler for C++ | Macro-fied | |
* | |
* Upon execution of profile macro embedded source code, all the profiling data | |
* is dumped to a JSON file compatible with Chrome Tracing tool. The JSON file can | |
* then be loaded to chrome tracing (chrome://tracing) to visualise the data. | |
* | |
* @author TheCherno (primary author) |
def read_nonblocking(path, bufferSize=100, timeout=.100): | |
import time | |
""" | |
implementation of a non-blocking read | |
works with a named pipe or file | |
errno 11 occurs if pipe is still written too, wait until some data | |
is available | |
""" | |
grace = True |
# ------------------------------------------------------------------------------------------------------------ # | |
# --------------------------------------------- Signal Library ----------------------------------------------- # | |
# ------------------------------------------------------------------------------------------------------------ # | |
import weakref | |
class Signal(object): | |
def __init__(self, *types): | |
self._call_types = types | |
self._connections = set() |
As configured in my dotfiles.
start new:
tmux
start new with session name: