apple
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | apple [2018/05/23 08:14] – [Configuration] homebrew/dupes is deprecated now dblume | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Apple ====== | ||
+ | First time configuration of a new Macintosh. Updated for macOS Sierra 10.12 | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | * System Preferences: | ||
+ | * Trackpad -> Tap to Click (For not having to press hard for a click.) | ||
+ | * Tap-and-drag: | ||
+ | * Open the Photos app, and drag a userpic to it. Then change your userpic in the System Preferences. | ||
+ | * Get [[http:// | ||
+ | * [[http:// | ||
+ | * System Preferences: | ||
+ | * Mouse | ||
+ | * Make tracking speed much faster! | ||
+ | * Enable Secondary click for the right mouse button | ||
+ | * 2017-01-15 (still needed): Consider [[http:// | ||
+ | * Disable [[http:// | ||
+ | * Get SteerMouse (linked below) to stop wheel acceleration (Or [[http:// | ||
+ | * Keyboard | ||
+ | * Set Key Repeat to fastest, and Delay until Repeat to second shortest. | ||
+ | * Some apps don't repeat anything because some keys have a character accent menu. To disable: < | ||
+ | * Microsoft Natural Ergonomic Keyboard 4000 doesn' | ||
+ | * Swap the Option and Command keys. | ||
+ | * Dock | ||
+ | * Position on Right | ||
+ | * Automatically show and hide dock | ||
+ | * Outlook | ||
+ | * Turn off auto underline-to-italic, | ||
+ | |||
+ | **BSD grep** | ||
+ | |||
+ | OS X comes with BSD grep pre-installed, | ||
+ | |||
+ | Go to http:// | ||
+ | |||
+ | brew install grep --with-default-names | ||
+ | brew install gnu-sed --with-default-names | ||
+ | brew install findutils --with-default-names | ||
+ | brew install jq | ||
+ | brew install tree | ||
+ | brew install httpie | ||
+ | brew install inetutils | ||
+ | # Maybe also readline if you brew install python3 | ||
+ | | ||
+ | brew install bash | ||
+ | sudo echo / | ||
+ | chsh -s / | ||
+ | |||
+ | Log out of that console window and log back in again. | ||
+ | |||
+ | ** Python Packages ** | ||
+ | |||
+ | If pip isn't installed yet (Python older than 2.7.9), then install it with easy_install, | ||
+ | |||
+ | sudo -H easy_install pip | ||
+ | sudo -H pip install requests | ||
+ | |||
+ | |||
+ | ===== Tips ===== | ||
+ | |||
+ | ^ Shortcut | ||
+ | | Command+space | ||
+ | | Command+W | ||
+ | | Command+Q | ||
+ | | Command+click | ||
+ | | Command+Tab | ||
+ | | Command+` | ||
+ | | Command+Opt+Esc | ||
+ | | Shift+Opt+Command+V | Paste without formatting | ||
+ | |||
+ | |||
+ | ===== Daemons, Agents, Cron, Launchd ===== | ||
+ | |||
+ | The preferred way to set a repeating task is not to use a cronjob but launchd. | ||
+ | |||
+ | In your ~/bin directory, create a job to run, tag_ip_address.sh | ||
+ | |||
+ | <code bash tag_ip_address.sh> | ||
+ | # | ||
+ | curl --data " | ||
+ | sed -E ' | ||
+ | |||
+ | sleep 11 # if launched as a daemon, live for 11s to not be detected as buggy. | ||
+ | </ | ||
+ | |||
+ | That "sleep 11" is to mitigate the buggy daemon detection mentioned [[https:// | ||
+ | |||
+ | Note that we had to specify the path to the homebrew grep, because LaunchAgent would use the default one instead. | ||
+ | |||
+ | cd into ~/ | ||
+ | |||
+ | <code xml com.dlma.tag_ip_address.plist> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | " | ||
+ | <plist version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Finally, [[http:// | ||
+ | |||
+ | <code bash> | ||
+ | $ launchctl load -w com.dlma.tag_ip_address.plist | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Software to Get ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * If you want [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * GTD: [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * Code Editing | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * Paint program | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * < | ||
+ | * < | ||
+ | * [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | ===== Preferences I don't set anymore ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * Configure [[http:// | ||
+ | * Cofigure [[http:// | ||
+ | * System Preferences: | ||
+ | * Keyboard | ||
+ | * Command Key: Control Panel -> Keyboard -> Modifier Keys... -> swap Command and Control keys | ||
+ | * Except that [[https:// | ||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | ===== iOS Apps ===== | ||
+ | |||
+ | Here are iPhone/iPod apps I really want to make. | ||
+ | |||
+ | * [[wp> | ||
+ | * A [[http:// | ||
+ | * A [[http:// | ||
+ | |||
+ | ==== Sokoban ==== | ||
+ | |||
+ | [[wp> | ||
+ | |||
+ | ==== Scrobbler ==== | ||
+ | |||
+ | What matters here is the ability to scrobble what I've played to last.fm directly from my iPhone/ | ||
+ | |||
+ | ==== Plurk ==== | ||
+ | |||
+ | The existing official client could stand improvement. | ||
+ | |||
+ | ====== Prey ====== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ====== NFS for OS X ====== | ||
+ | |||
+ | On the server side get your user ID and group ID (id -u; id -g), and update / | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | 10.?.?.? would be the IP of the Macintosh. (That' | ||
+ | |||
+ | Get the " | ||
+ | |||
+ | On the client side, you could manually mount the NFS volume with something like, "< | ||
+ | |||
+ | Or better, configure automounter by adding a line to < | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | And then make the file / | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | For the purpose of P4 client compatibility with the dev system, I use a symbolic link at root. | ||
+ | |||
+ | < | ||
+ | $ sudo ln -s / | ||
+ | </ | ||
+ | |||
+ | If you want your changes to take effect immediately, | ||
+ | |||
+ | < | ||
+ | $ sudo automount -vc | ||
+ | </ | ||
+ | |||
+ | ====== Keywords ====== | ||
+ | |||
+ | aps, todo |
apple.txt · Last modified: 2024/04/26 20:44 by dblume