(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| """Convert decimal numbers to pinary (base pi). | |
| Fractional and even irrational bases are possible, but aren't really useful for | |
| anything. Base pi has four digits: 0, 1, 2, and 3. What's interesting is that | |
| there's some "space" between the highest digit and the base, which means that | |
| there are numbers with multiple valid representations. You'll notice: | |
| decimal 7.000000 = pinary 20.2021120021 | |
| decimal 8.000000 = pinary 21.2021120021 | |
| decimal 9.000000 = pinary 22.2021120021 |
| """ | |
| Functions for converting dates to/from JD and MJD. Assumes dates are historical | |
| dates, including the transition from the Julian calendar to the Gregorian | |
| calendar in 1582. No support for proleptic Gregorian/Julian calendars. | |
| :Author: Matt Davis | |
| :Website: http://github.com/jiffyclub | |
| """ |
| license: gpl-3.0 |
| import matplotlib,numpy | |
| import pylab | |
| # A random colormap for matplotlib | |
| cmap = matplotlib.colors.ListedColormap ( numpy.random.rand ( 256,3)) | |
| pylab.imshow ( Z, cmap = cmap) | |
| pylab.show() |
| # implementation | |
| from pymouse import PyMouseEventMeta | |
| import systembridge | |
| from threading import Thread | |
| class PyMouseEvent(PyMouseEventMeta): | |
| def __init__(self): | |
| click_tap = systembridge.get_event_tap(mousepress | mouserelease) | |
| move_tap = systembridge.get_event_tap(mousemove) |