apple
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apple [2017/01/16 14:45] – dblume | apple [2025/05/27 16:19] (current) – dblume | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
|   * System Preferences: |   * System Preferences: | ||
| * Trackpad -> Tap to Click (For not having to press hard for a click.) | * Trackpad -> Tap to Click (For not having to press hard for a click.) | ||
| - |     * Tap-and-drag: | + |     * Tap-and-drag: | 
| - | * Open the Photos app, and drag a userpic to it. Then change your userpic in the System Preferences. | + |   * Open the Photos app, and drag [[https:// | 
| + |   * Set your [[http:// | ||
|   * Get [[http:// |   * Get [[http:// | ||
|   * [[http:// |   * [[http:// | ||
| + |   * Download and install [[https:// | ||
| + |   * Set bash as your default shell (seem [[https:// | ||
|   * System Preferences: |   * System Preferences: | ||
| + |     * Set some of these [[https:// | ||
| * Mouse | * Mouse | ||
| * Make tracking speed much faster! | * Make tracking speed much faster! | ||
| Line 21: | Line 25: | ||
| * Set Key Repeat to fastest, and Delay until Repeat to second shortest. | * 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: < |       * Some apps don't repeat anything because some keys have a character accent menu. To disable: < | ||
| - |       * Microsoft Natural Ergonomic Keyboard  | + |       * 2024 Microsoft Natural Ergonomic Keyboard  | 
| + | * left_option -> left_command | ||
| + | * application -> left_option | ||
| * Swap the Option and Command keys. | * Swap the Option and Command keys. | ||
| * Dock | * Dock | ||
| * Position on Right | * Position on Right | ||
| * Automatically show and hide dock | * Automatically show and hide dock | ||
| + | * iTerm2 | ||
| + |       * User Powerline Fonts per [[private: | ||
| * Outlook | * Outlook | ||
|       * Turn off auto underline-to-italic, |       * Turn off auto underline-to-italic, | ||
| - | **BSD grep** | + | ===== Tools Installation ===== | 
| - | OS X comes with BSD grep pre-installed, | + | The old way of installing Command Line Tools from the Terminal  | 
| - |   - Go to http:// | + | ==== BSD vs. Linux commands ==== | 
| - |   - < | + | |
| - | - Log out of that console window and log back in again. | + | |
| - | ** Python Packages ** | + | macOS comes with BSD grep pre-installed, | 
| - | If pip isn't installed yet (Python older than 2.7.9), then install it with easy_install, then install requests. | + | Go to http:// | 
| - | sudo -H easy_install pip | + | After installation, | 
| - | sudo -H pip install requests | + | |
| + | ==> Next steps: | ||
| + | - Run these commands in your terminal to add Homebrew to your PATH: | ||
| + |       echo >> / | ||
| + |       echo 'eval " | ||
| + |       eval " | ||
| + | - Run brew help to get started | ||
| + |   - Further documentation: | ||
| + |       https:// | ||
| + | |||
| + | brew install grep gnu-sed findutils universal-ctags | ||
| + | brew install gawk jq tree httpie inetutils pv | ||
| + |   brew install gnupg socat wget nmap tmux  # but not saulpw/ | ||
| + |   brew install ripgrep moreutils neovim  | ||
| + |   brew install bash-completion  | ||
| + | |||
| + | I noticed that [[https:// | ||
| + | |||
| + | To install gnuplot 6.0 with " | ||
| + | |||
| + | Log out of that console window and log back in again. | ||
| + | |||
| + | ==== tmux and " | ||
| + | |||
| + | We set tmux to set $TERM to " | ||
| + | |||
| + | VisiData will complain it "could not find terminfo database" | ||
| + | |||
| + |   curl -O " | ||
| + | sudo tic -x tmux-256color | ||
| + | |||
| + | That should install the database into / | ||
| ===== Tips ===== | ===== Tips ===== | ||
| Line 60: | Line 96: | ||
| ===== Daemons, Agents, Cron, Launchd ===== | ===== Daemons, Agents, Cron, Launchd ===== | ||
| - | The preferred way to set a repeating task is not to use a cronjob but launchd. | + | The preferred way to set a repeating task is not to use a cronjob but launchd. :!: Note that there' | 
| In your ~/bin directory, create a job to run, tag_ip_address.sh | In your ~/bin directory, create a job to run, tag_ip_address.sh | ||
| Line 66: | Line 102: | ||
| <code bash tag_ip_address.sh> | <code bash tag_ip_address.sh> | ||
| # | # | ||
| - | curl --data " | + | curl --data " | 
| - | sed -E ' | + | sed -E ' | 
| + | |||
| + | sleep 11 # if launched as a daemon, live for 11s to not be detected as buggy. | ||
| </ | </ | ||
| - | cd into ~/ | + | 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> | <code xml com.dlma.tag_ip_address.plist> | ||
| Line 82: | Line 124: | ||
|     < |     < | ||
|         < |         < | ||
| + |     < | ||
| + |         < | ||
| + |     < | ||
| + |         < | ||
|     < |     < | ||
| - |      | + |          | 
| - |         < | + |             < | 
| - |         < | + |             < | 
| - |         < | + |             < | 
| - |         < | + |             < | 
| - |     </ | + |         </ | 
| </ | </ | ||
| </ | </ | ||
| Line 96: | Line 142: | ||
| <code bash> | <code bash> | ||
| - | $ launchctl load -w com.dlma.tag_ip_address.plist | + | $ launchctl load -w / | 
| </ | </ | ||
| Line 102: | Line 148: | ||
| ===== Software to Get ===== | ===== Software to Get ===== | ||
| - |   * [[http://iterm2.com/|iTerm2]] and install your [[http:// | + |   * [[https://ghostty.org/download|Ghostty]] and install your [[http:// | 
| - |   * If you want [[http://ipython.org/ | + | * <del>[[http://iterm2.com/|iTerm2]]</del>. | 
| - |   * [[http:// | + |     * Preferences  | 
| - |   * [[http:// | + | * Install Powerline Fonts per [[private:fonts]]. | 
| - |   * [[http:// | + | |
| - |   * [[http:// | + | |
| - |   * [[http:// | + | |
| - |   * [[http:// | + | |
| - |   * GTD: [[http:// | + | |
| - |   * [[http:// | + | |
|   * [[http:// |   * [[http:// | ||
| * Code Editing | * Code Editing | ||
| - |     * [[http://www.sublimetext.com/3|Sublime Text 3]] and then [[http:// | + | * [[https://code.visualstudio.com/|Visual Studio Code]] | 
|     * [[http:// |     * [[http:// | ||
| - |     * [[http:// | ||
| - |     * [[http:// | ||
| - |     * [[http:// | ||
| - |   * [[http:// | ||
| * Paint program | * Paint program | ||
|     * [[http:// |     * [[http:// | ||
| Line 128: | Line 164: | ||
|     * [[http:// |     * [[http:// | ||
| - | [[http:// | + | [[http:// | 
|   * http:// |   * http:// | ||
| Line 142: | Line 178: | ||
| * Command Key: Control Panel -> Keyboard -> Modifier Keys... -> swap Command and Control keys | * Command Key: Control Panel -> Keyboard -> Modifier Keys... -> swap Command and Control keys | ||
|         * Except that [[https:// |         * Except that [[https:// | ||
| - |       * [[http:// | + |       * [[http:// | 
| + |   * [[http:// | ||
| Line 151: | Line 188: | ||
|   * [[wp> |   * [[wp> | ||
|   * A [[http:// |   * A [[http:// | ||
| - |   * A [[http:// | ||
| ==== Sokoban ==== | ==== Sokoban ==== | ||
| Line 160: | Line 196: | ||
| What matters here is the ability to scrobble what I've played to last.fm directly from my iPhone/ | 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 ====== | ====== Prey ====== | ||
| Line 169: | Line 201: | ||
| [[https:// | [[https:// | ||
| - | ====== NFS for OS X ====== | + | ====== NFS for macOS ====== | 
| On the server side get your user ID and group ID (id -u; id -g), and update / | On the server side get your user ID and group ID (id -u; id -g), and update / | ||
apple.1484606700.txt.gz · Last modified: 2023/04/12 20:44 (external edit)