As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/usr/bin/env python | |
| # Linux usage: ./extract_tampermonkey_script.py "/home/<USER>/.config/<BROWSER>/Default/Local Extension Settings/<EXTENSION_ID>" | |
| # i.e.: ./extract_tampermonkey_script.py "/home/foo/.config/google-chrome-beta/Default/Local Extension Settings/gcalenpjmijncebpfijmoaglllgpjagf" | |
| # Mac usage: ./extract_tampermonkey_script.py "/Users/<USER>/Library/Application Support/Google/Chrome/Default/Local Extension Settings/<EXTENSION_ID>/" | |
| # i.e.: ./extract_tampermonkey_script.py "/Users/foo/Library/Application Support/Google/Chrome/Default/Local Extension Settings/dhdgffkkebhmkfjojejmpbldmpobfkfo/" | |
| import leveldb | |
| import sys | |
| import re |
| ;End GCode | |
| M104 S0 ;extruder heater off | |
| M140 S0 ;heated bed heater off (if you have it) | |
| G91 ;relative positioning | |
| G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure | |
| G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more | |
| G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way | |
| M84 ;steppers off |
| """ | |
| This module defines additional "IP-Address" type decorators for use with | |
| SQLAlchemy and PostgreSQL. These types will convert the PostgreSQL values | |
| to/from Python :py:mod:`ipaddress` classes. | |
| These classes can be used in model definitions:: | |
| class MyTable(Base): | |
| ... | |
| ip = Column(PgIpAddress, ...) |
Setup etcdctl using the instructions at https://github.com/etcd-io/etcd/releases/tag/v3.4.13 (changed path to /usr/local/bin):
Note: if you want to match th etcdctl binaries with the embedded k3s etcd version, please run the curl command for getting the version first and adjust ETCD_VER below accordingly:
curl -L --cacert /var/lib/rancher/k3s/server/tls/etcd/server-ca.crt --cert /var/lib/rancher/k3s/server/tls/etcd/server-client.crt --key /var/lib/rancher/k3s/server/tls/etcd/server-client.key https://127.0.0.1:2379/version
| #!/usr/bin/env python3 | |
| import signal | |
| import sys | |
| import gi # type: ignore | |
| gi.require_version("GLib", "2.0") | |
| gi.require_version("Gst", "1.0") | |
| from gi.repository import GLib, Gst # type: ignore |