Key/Command | Description |
---|---|
Tab | Auto-complete files and folder names |
Ctrl + A | Go to the beginning of the line you are currently typing on |
Ctrl + E | Go to the end of the line you are currently typing on |
Ctrl + U | Clear the line before the cursor |
Ctrl + K | Clear the line after the cursor |
Ctrl + W | Delete the word before the cursor |
Ctrl + T | Swap the last two characters before the cursor |
[aaronciuffo@Aarons-iMac:~/Downloads] | |
$ diskutil list | |
/dev/disk3 (internal, physical): | |
#: TYPE NAME SIZE IDENTIFIER | |
0: FDisk_partition_scheme *15.9 GB disk3 | |
1: Windows_FAT_32 NO NAME 254.8 MB disk3s1 | |
2: Linux 15.7 GB disk3s2 | |
[aaronciuffo@Aarons-iMac:~/Downloads] | |
$ diskutil unmountDisk /dev/disk3 |
# |
Install PyInstaller within the pipenv - this appears to resolve some path searching issues
PyInstaller 2018 Version has issues with virtual environments and specifically with venv 16.7.9 (used by pipenv). This may be resovled by the 9 Jan 2020 Version. The develop branch appears to solve the issue:
pipenv install -e git+https://github.com/pyinstaller/pyinstaller.git@develop#egg=PyInstaller
Forward ports across multiple hosts to provide access to a remote machine
Configuration [remote] --ssh--> [DMZ Host] --ssh--> [host on LAN]
This will map port localhost:8888 on the remote machine port 8888 on the DMZ host; then port 8888 on the DMZ host to port 8888 on the LAN host:
$ ssh -t -p 22 -l user_dmz host_dmz.com -L 8888:localhost:8888 ssh -t -p 22 -l pi lan_host.local -L 8888:localhost:8888
From scratch:
Remove homebrew from Catalina-Mojave:
https://osxdaily.com/2018/08/12/how-uninstall-homebrew-mac/
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
- Create a developer account with Apple
- https://developer.apple.com and shell out $99 for a developer account
- Download and install X-Code from the Apple App Store
- Open and run X-Code app and install whatever extras it requires
- Open the preferences pane (cmd+,)
- click the
+
in the lower right corner - choose
Apple ID
- enter your apple ID and password
- click the
- Previously created keys can be downloaded and installed from https://developer.apple.com
- Install jupyter:
$ pip3 install jupyter
- launch a Jupyter notebook server that is available over the local network:
$ jupyter-notebook --ip=$(hostname -I) --no-browser
$ jupyter-notebook --ip=$(hostname -I) --no-browser
[I 05:51:34.280 NotebookApp] Serving notebooks from local directory: /home/pi
[I 05:51:34.280 NotebookApp] Jupyter Notebook 6.1.5 is running at: