MacOS
Install telnet for MacOS
Install and run memcached service on MacOS:
Installing homebrew php extensions with PECL Setting memcached on mac for local Drupal development
brew install memcached
cp /usr/local/Cellar/memcached/1.6.6/homebrew.mxcl.memcached.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
If it loaded you will see an output from the list command
launchctl list | grep memcached
launchctl start homebrew.mxcl.memcached
Verify memcached service has started
telnet localhost 11211
(if you dont have telnet see instructions for installing it on this page)
type quit to exit a telnet session
launchctl stop homebrew.mxcl.memcached
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
Start and Stop memcached with brew services
brew services start memcached
brew services stop memcached
List brew services
brew services list
Clipboard
cmd-shift-3 takes the whole screen, saves it to the desktop (Doesn't go to the clipboard)
cmd-shift-4 lets you select an area on the screen, and saves it.
cmd-ctrl-shift-3 takes the whole screen, and copies it to clipboard.
cmd-ctrl-shift-4 allows you to select an area on screen to copy to clipboard.
Keyboard shortcut to open Activity Monitor
Press Commnad+Spacebar to get the spotlight search field
Start typing "Activity monitor"
Cut and Paste a file in Mac Finder
Click on the file you wish to cut (or move) and either
right click and select copy
or
use command+C keys
go to the directory where you want to move the file
hit commnad+option+v to move the file
or
Click on Edit menu then hit the "option" key. Click on "move item here" item which will appear under the Edit menu.
SSH
Go to System Preferences->Sharing
Then select Remote Login
This will start the ssh server on port 22
To log in to mac remotely from another mac terminal
ssh username@hostname
enter password for the mac computer when prompted