MacBook Keyboard Shortcuts to Position Window to Left or Right side of Screen

Refer: https://www.paulsahner.com/posts/window-movement

  • Apple Logo, Upper left hand corner
  • System Settings
  • Keyboard, Keyboard Shortcuts...
  • App Shortcuts
  • Choose "All Applications"

You are going to add two settings by clicking the plus key. I'm using [Ctrl]+[Windows]+[Alt]+[Right Arrow] and [Ctrl]+[Windows]+[Alt]+[Left Arrow] for my settings.

You will use the following menu titles, you need to type these EXACTLY, and copy and paste does NOT work, since it assumes you are setting your keyboard combination.

Move Window to Left Side of Screen
Move Window to Right Side of Screen

Save each setting and click "Done" to complete.

Graphical List of Directories using Tree

Use this to return a list of just the folders of current directory

Sample Usage

tree -L 1

Sample Output

├── Desktop
├── Documents
├── Downloads
├── Music
├── Pictures
├── Public
├── Templates
└── Videos

Example of using "prune" to show ONLY files container pom.xml files.

Refer: https://blog.mruckman.com/2019/10/tree-list-of-pom-xml-files/

tree --prune -P "pom\.xml"

Visual Studio Code – Workspace Color Themes and Keyboard Bindings

Don't open last folder

Refer: https://blog.mruckman.com/2019/09/visual-studio-code-dont-open-last-folder/

For your workspace

mkdir .vscode

Copy this file there

settings.json

{
    "cSpell.words": [],
    "editor.fontSize": 13,
    "window.zoomLevel": 1.2,
    "files.trimTrailingWhitespace": true,
    "workbench.colorTheme": "Monokai"
}

Update keyboard bindings

File, Preferences, Keyboard Shortcuts

Triple dot, upper right hand corner, Show User Keybindings

Then upper right hand corner, "Open Keyboard Shortcuts

Here's the current keybindings.txt

Refer: https://stackoverflow.com/questions/71225580/move-to-the-next-line-when-commenting-a-line-in-vs-code

Simple Knot – Taut Line Hitch

Refer: https://youtube.com/shorts/C_NW4atfc14?feature=share
Refer: https://www.netknots.com/rope_knots/tautline-hitch

Tautline Hitch Knot Tying Instructions

  • Make a turn around a post or other object several feet from the free end.
  • Coil the free end twice around the standing line working back toward the post.
  • Make one additional coil around the standing line on the outside of the coils just made.
  • Tighten the knot and slide it on the standing line to adjust tension.

Broken Icon on Ubuntu 22.04 with Parallels

The broken icon seems to be a symptom of Ubuntu and M1.

Refer: https://forum.parallels.com/threads/gear-icon-parallels-shared-clipboard-icon-in-ubuntu-22-04.358588/

I just found that you can work around this issue by disabling Wayland in Ubuntu and use the standard Xorg server that was the default in versions prior to 22.04. There are full instructions here, but you can simply edit the file

sudo gedit /etc/gdm3/custom.conf

and uncomment the line

#WaylandEnable=false

After a restart the gear icon goes away, focus stays in the window you where using when switching desktops, and shared clipboard still works.