Skip to content

Instantly share code, notes, and snippets.

@ekrell
ekrell / tutorial_remote-jupyter-notebook.md
Created March 1, 2022 02:52
Tutorial: Remote Jupyter Notebook

The purpose of this tutorial is to be able to work with a Jupyter Notebook on the user's local machine, but with the actual notebook server running on a remote machine. The remote machine is one that the user has SSH access to. Also, these steps show using a notebook kernel associated with a venv virtual environment.

This is a bare-essentials guide for when I need a quick reminder of the commands that I use. For more detailed information, see the sources at the end.

  • remote: commands performed remotely.
  • local: commands performed locally.

Anything within angle-brackets is just an example, like <8888> is the port I am using, but you can choose another.

remote: Initialize the project and virtual environment

@ekrell
ekrell / 99-usb-serial.rules
Last active June 21, 2019 04:14
Odroid XU4 udev mappings for OpenMV cams
KERNEL=="ttyACM*", KERNELS=="3-1.2:1.0", SYMLINK+="OpenMV_0"
KERNEL=="ttyACM*", KERNELS=="3-1.1:1.0", SYMLINK+="OpenMV_2"
KERNEL=="ttyACM*", KERNELS=="2-1:1.0", SYMLINK+="OpenMV_1"
@ekrell
ekrell / tmux_awesomeWM_widget
Created February 28, 2015 05:09
AwesomeWM & Tmux: Display available sessions
--The following is a very simple widget for a tmux session list in awesomeWM, version > 3.5
--Tmux (terminal multiplexer) allows the user to interact with a multitude of terminal sessions,
--within a single terminal window.
--More information on Tmux at: http://tmux.sourceforge.net/
--As I frequently attach and detach sessions, I wished to readily know what sessions I had
--running on my system.
--This widget displays the number of existing sessions in the system tray, and
--lists these sessions in a notification window on mouse roll-over.