byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used).
| Key Combination | Action |
|---|---|
F2 |
Create a new window |
F3 |
Move to previous window |
F4 |
Move to next window |
| byobu-enable | |
| byobu-select-backend tmux | |
| byobu-enable-prompt | |
| . ~/.bashrc |
| import PySpin | |
| NUM_IMAGES = 5 | |
| class GainNodeCallback(PySpin.NodeCallback): | |
| def __init__(self): | |
| super(GainNodeCallback, self).__init__() |
| KEYBINDINGS | |
| byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used). The common key bindings | |
| are: | |
| F2 - Create a new window | |
| F3 - Move to previous window | |
| F4 - Move to next window |
| #!/usr/bin/env python | |
| import rospy | |
| import cv2 | |
| from cv_bridge import CvBridge | |
| from sensor_msgs.msg import Image, CompressedImage | |
| def image_publisher(): | |
| rospy.init_node('local_image', anonymous=True) | |
.tmate.conf - Be sure to use a difficult session name as it is basically a plaintext password.| import olefile | |
| from zipfile import ZipFile | |
| from glob import glob | |
| # How many PDF documents have we saved | |
| pdf_count = 0 | |
| # Loop through all the .docx files in the current folder | |
| for filename in glob("*.docx"): | |
| try: |
| #!/bin/bash | |
| net_interf=enp0s5 | |
| vm_ip=192.168.7.172 | |
| gateway_ip=192.168.7.1 | |
| sudo ip address add ${vm_ip} dev ${net_interf} | |
| sudo ip route add ${gateway_ip} dev ${net_interf} | |
| sudo ip route add default via ${gateway_ip} dev ${net_interf} |
| #!/bin/bash | |
| # Ubuntu 18.04 | |
| # This script prepares a fresh Ubuntu installation for general ROS development | |
| # Define software switches | |
| utilities_enable=true | |
| ros_enable=true | |
| husarnet_enable=true |