This shows you the differences between two versions of the page.
- | Both sides previous revision Previous revision Next revision |
- | apple [2011/05/28 02:44] dblume [Software to Get] Added Dan Engler's suggestion |
---|---|
+ | Previous revision |
+ | apple [2023/02/28 17:14] (current) dblume [BSD vs. Linux commands] |
@@ Line -1,26 +1,76 @@ | |
====== Apple ====== | |
12 | |
===== Configuration ===== | |
* System Preferences: | |
* | |
* Tap-and-drag: | |
* Open the Photos app, and drag a userpic to it. Then change your userpic in the 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 | |
* | |
* iTerm2 | |
* User Powerline Fonts per [[private: | |
* Outlook | |
* Turn off auto underline-to-italic, | |
===== Tools Installation ===== | |
The old way of installing Command Line Tools from the Terminal doesn' | |
==== BSD vs. Linux commands ==== | |
macOS comes with BSD grep pre-installed, | |
Go to http:// | |
brew install grep | |
brew install gnu-sed | |
brew install findutils | |
brew install ctags | |
brew install gawk | |
brew install jq | |
brew install tree | |
brew install httpie | |
brew install inetutils | |
brew install telnet | |
brew install gnuplot | |
brew install pv | |
brew install gnupg | |
brew install socat | |
brew install wget | |
brew install nmap | |
brew install tmux | |
brew install saulpw/ | |
brew install ripgrep | |
brew install moreutils | |
brew install bash-completion. " See .bash_profile | |
brew install gitui | |
# Maybe also readline if you brew install python3 | |
brew install bash | |
# Note where it was installed. Then something like... | |
sudo ln -s / | |
sudo echo / | |
chsh -s / | |
Log out of that console window and log back in again. | |
===== Tips ===== | |
@@ Line -35,22 +85,67 @@ | |
| 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. :!: Note that there' | |
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 / | |
</ | |
===== Software to Get ===== | |
* [[http:// | |
| |
| |
* [[http:// | |
* Code Editing | |
* [[https:// | |
* [[http:// | |
* Paint program | |
* [[http:// | |
@@ Line -61,8 +156,21 @@ | |
* [[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:// | |
* [[http:// | |
===== iOS Apps ===== | |
@@ Line -72,5 +180,4 @@ | |
* [[wp> | |
* A [[http:// | |
==== Sokoban ==== | |
@@ Line -82,9 +189,47 @@ | |
What matters here is the ability to scrobble what I've played to last.fm directly from my iPhone/ | |
==== | |
[[https:// | |
====== NFS for macOS ====== | |
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 |