Nano Bottom Page

How to get the bottom of the page To get to the bottom of a page in nano, type: “ctrl + W” and then “ctrl + V”. How to select text (to copy/delete) press “cntrl + 6” you will see “mark set” select the text copy, delete, or do whatever then, press “cntrl + 6” and you will see “mark unset”; this stops the highlighting mode.

October 2, 2023

Command L: Searching with my keyboard

I am now one step closer to not needing my mouse! I’m working directly on my laptop at Barnes and Nobel, and it gets difficult to have to constantly adjust my bluetooth keyboard to access the mouse when I want to search something on the web. So far, on my keyboard, I can Switch tabs from VSCode to Safari/Chrome (cmd + tab) Open a new browser tab (cmd + t) Open a new browser window (cmd + n) switch between different windows/instances of an app or browser window (cmd + ~) Close a window to tab (cmd + w) Copy text (cmd + c) Pate text (cmd + v) But none of these tricks really mattered if I end up moving my mouse a few pixels to access the search bar of a browser....

May 27, 2023

Git Remote Add: Managing Remote Repositories

Introduction Did you know: You can manage your project by pushing it to different repos. Pushing to GitHub What do I mean by this? Say on our desktop, you have a project called “Hello.py”. Let’s say it’s a basic python script that prints hello world. print("hello world") Your options for uploading and saving this code is traditionally through github. So, when you’re ready to upload your code, you may type:...

May 23, 2023

Linux Commands: df

Checking disk space To check disk space on your machine or remote server, simply run: df -h . If you include the period, you make get an output that looks similar to this: Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk3s5 228Gi 165Gi 44Gi 80% 2088008 457632960 0% /System/Volumes/Data If you do not include the period, your output may look something like this: Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk3s1s1 228Gi 14Gi 44Gi 25% 501730 457632600 0% / devfs 208Ki 208Ki 0Bi 100% 718 0 100% /dev /dev/disk3s6 228Gi 4....

May 10, 2023
Port Forwarding

Port Forwarding for Jupyter Notebook

Port forwarding onto a single remote server ssh into remote server run “jupyter notebook –no-browser –port=port-forwarding note: the port-forwarding can take on almost any value; 8888 is the commonly used port for jupyter port forwarding open a new shell run “ssh -L local-port:localhost:port-forwarding username@remove-server” note: local-port can take on any value and is the port we use to access localhost jupyter notebook instance. Often, many people use 8000 for jupyter notebook note: port-forwarding must match the value we specified in step 2 That’s it!...

March 28, 2023