Enable Universal Control

How to setup your iPad to be controlled from your Mac via “Universal Control,” new to macOS Monterrey 12.3 (released in March 2022).

1. Ensure that you are running macOS 12.3+ and iPadOS 15.4+

2. Open System Preferences

3. Choose Displays

4. Click Universal Control and configure your settings

macOS Terminal History Search

ctrl+r starts the search.

Repeatedly hit ctrl+r to cycle through the results.

Enter executes the current result.

right arrow will insert the current result into the current line.

$ history will display all executed commands.

$ history | grep 'git' will display all commands that contained git.

Download a List of URLs

Follow these steps to download a list of URLs using Terminal on a Mac:

  1. Make a text file with the URLs you’d like to download (one URL per line)
  2. Open Terminal and cd to the directory you’ve saved the text file to
  3. Run this command: xargs -n 1 curl -O < file.txt

Setup ODBC on macOS

In order for Easy Catalog’s ODBC extension to connect to a MySQL server, you need to have an ODBC DSN already configured.

  1. Download and install the ODBC Administrator from iodbc.org
  2. Download and install the driver from dev.mysql.com
  3. Open the ODBC app and click on “System DSN”
  4. Click “Add” and choose the appropriate driver
  5. Name your source and add Keyword/Value pairs like this
    • HOST: server IP or domain
    • USER: username
    • PASSWORD: password
    • DATABASE: dbname

Show Hidden Files in Yosemite

If you’re looking for a way to show your hidden files in Yosemite (Apples latest OS as of March 2015 — OSX 10.10). All you have to do, is change a setting for Finder and then relaunch Finder. This can be done with aa couple of very simple terminal commands.

  1. Open terminal
  2. Type the code below and hit return
    defaults write com.apple.finder AppleShowAllFiles TRUE
  3. Then type this and hit return again
    killall Finder

When you’ve had enough of seeing all your hidden files just reverse it!

  1. Open Terminal back up
  2. Type this and hit return
    defaults write com.apple.finder AppleShowAllFiles FLASE
  3. Type this hit return and you’re back to normal!
    killall Finder