Macbook Pro, Access Top Menu

Use [Ctrl]+[F2] - Access to top menu bar starting at the Apple icon and use the arrow keys to navigate.

Use [Ctrl]+[F8] - Access to the top right menu and use the arrow keys to navigate

Ubunbtu Work .bashrc Items


alias halup=nmcli\ con\ up\ id\ gateway.hollandamerica.com
alias haldown=nmcli\ con\ down\ id\ gateway.hollandamerica.com
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
alias bf=cd\ ~/Documents/bookingflow/
alias getbf=sh\ ~/Documents/Scripts/get-bookingflow.sh
alias getsbf=sh\ ~/Documents/Scripts/get-sbn-bookingflow.sh
alias scripts=cd\ ~/Documents/Scripts/
alias escripts=cd\ ~/Documents/Scripts/Expect
alias sdown=sudo\ shutdown\ -h\ now
alias prepiqa=meld\ /home/mruckman/Documents/bookingflow/src/assets/configuration.js\ /home/mruckman/Documents/Scripts/Environments/iQA.configuration.js
alias prepstage=meld\ /home/mruckman/Documents/bookingflow/src/assets/configuration.js\ /home/mruckman/Documents/Scripts/Environments/Stage.configuration.js
alias prepprod=meld\ /home/mruckman/Documents/bookingflow/src/assets/configuration.js\ /home/mruckman/Documents/Scripts/Environments/Production.configuration.js

Homebrew for Mac

Installing on M1 Silicone

Install Home Brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

After installation, ensure Homebrew is in your PATH by adding the following to your ~/.zshrc (for Zsh, the default shell on macOS). Instead of the following, please follow the prompts from the terminal int includes instructions too.

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
source ~/.zshrc

Install Midnight Commander itself

brew install mc

Verify Installation

mc --version

Launch Midnight Commander

mc

Press F10 to exit or [Ctrl]+[o] to toggle back and forth and then enter exit from terminal to close it.


Older Notes

The missing package manager for OS X
http://brew.sh/

From your Mac

$ brew help

If you just want the package names for all formulas:
$ brew search

The following command will list the info snippets for all existing Homebrew formulae:
$ brew info --all

You can also start a server to browse the formulae locally at http://localhost:4567:
$ brew server

Or browse the local Git repository—thanks to Mk12 for that:
$ ls $(brew --prefix)/Library/Formula

Online - Other than that, you can just browse the following website:
https://github.com/mxcl/homebrew/tree/master/Library/Formula

Recommended Homebrew Items

download intellij
download java
download java from oracle
download sublime
download source tree
buy forklift
download brew
midnight commander

 

Add sublime package manager

Ctrl+[`] and then enter the python script form here

https://sublime.wbond.net/installation#st2

Sublime 2 was this:

import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')

Copy terminal output to clipboard

xclip seems to do better with VirtualBox

alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'

Note: When using VirtualBox there seems to be a limit how much can be copied to the clipboard and copied to the host OS

$ ls -ltr | xsel --clipboard