Adding shortcuts with Forklift

From: BinaryNights Support [mailto:support@binarynights.com]
Sent: Tuesday, December 02, 2014 7:27 AM
Subject: Re: Go, Connect

Hi Maurice,

1. Go to ‘Favorites > Show Favorites’ (or press Esc) 2. Click on the plus button at the bottom 3. Select the protocol and fill in the fields then click on Save 4. Connect to the server from sidebar (or from Favorites)

kind regards,
Bam

Create Encrypted Disk Image on MacBook Pro

Refer: http://www.howtogeek.com/183826/how-to-create-an-encrypted-file-container-disk-image-on-a-mac/

Macs don’t need third-party utilities like TrueCrypt to create a secure, encrypted container for your sensitive files. You can create an encrypted disk image using the built-in Disk Utility.

Whenever you want to access your files, you can “mount” the image file and provide your password. Whenever you want to lock access to your files, you can unmount the image file.

Create an Encrypted Disk Image
To get started, you’ll need to open the Disk Utility application. Open a Finder window, click Applications in the sidebar, double-click the Utilities folder, and double-click Disk Utility. You can also just press Command+Space to open Spotlight search, type Disk Utility, and press Return to open it.

mac-disk-utility-new-image

Click New Image on the toolbar in the Disk Utility window. This will create a new disk image (.dmg) file. Here are the options you’ll need to configure:

Save As: Provide a file name for the disk image file. For example, if you name it “MyImage”, the container file will be saved on your hard drive as a file named MyImage.dmg.
Name: Enter a name for the disk image file. This name is more of a description — it will appear as the name of the container when the file is mounted.
Size: Choose a size for your disk image file. For example, if you choose 100 MB, you’ll only be able to store up to 100 MB of files inside it. The container file will take up the maximum file size immediately — so, if you choose 100 MB, it will take 100 MB of space on your hard drive even if you have no files saved inside it yet. You can enlarge or shrink the disk image later.
Format: Select Mac OS Extended (Journaled) as the file system.
Encryption: Choose either 128-bit or 256-bit AES encryption. 256-bit is more secure, while 128-bit is faster. If you’re encrypting sensitive files, you’ll probably want to choose 256-bit and accept the slight slow-down for more security.
Partitions: Select Single partition – Apple Partition Map to use a single partition inside your disk image file.
Image Format: Select read/write disk image so you can read from and write to the disk image at any time.
create-encrypted-disk-image-with-disk-utility-on-mac

Click Create and you’ll be prompted to create an encryption password for your disk image. Provide a strong password — this dialog will estimate your password strength to help you with choosing a password. If you lose this password, you’ll lose access to the files inside your encrypted disk image. Be sure to pick something memorable.

You’ll probably want to uncheck the “Remember password in my keychain” option. This option will remember the password in your Mac user account’s keychain so it can be automatically filled in the future.

choose-password-for-encrypted-file-container-on-mac

The disk image will be created, formatted, and automatically mounted for you. You’ll find it on your desktop and in the Finder under Devices. To encrypt files, just save them to this device.

To unmount the encrypted disk image, click the Eject button under Devices in finder or right-click or Ctrl+click its desktop icon and select Eject.

use-and-unmount-encrypted-disk-image-on-mac

Mount the Encrypted Disk Image
To mount the encrypted disk image in the future, locate its file on your hard drive — it will have the .dmg file extension — and double-click it. You’ll be asked for the encryption password you provided while setting it up.

After you provide the password, you can access the contents of the file just as you would access any other disk image or removable device.

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')