Interesting read: [WayBack] Setting Up a New Mac: Should You Migrate or Do a Clean Installation? | The Mac Security Blog
–jeroen
Posted by jpluimers on 2019/10/07
Interesting read: [WayBack] Setting Up a New Mac: Should You Migrate or Do a Clean Installation? | The Mac Security Blog
–jeroen
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2019/08/23
I forgot about the announcement that Signal had also become available on the Desktop, but it is via [WayBack] https://signal.org/download/:
$ curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
$ echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
$ sudo apt update && sudo apt install signal-desktop
I like the mix of echo and tee to update the [WayBack] /etc/apt/sources.list.d folder with the signal-xenial.list file.
These links will always give you the latest download filename:
The files you get there will be relative to the path https://updates.signal.org/desktop/ so will be similar to:
Signal-win-1.0.36.exe -> https://updates.signal.org/desktop/Signal-win-1.0.36.exeSignal-mac-1.0.36.zip -> https://updates.signal.org/desktop/Signal-mac-1.0.36.zipYou can get the sources at https://github.com/WhisperSystems/Signal-Desktop/releases
Via:
–jeroen
Posted in *nix, Android Devices, Apple, Debian, iMac, iOS, iPhone, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, Power User, Windows | Leave a Comment »
Posted by jpluimers on 2019/06/07
For my link archive:
–jeroen
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, macOS 10.13 High Sierra, OS X 10.11 El Capitan, Power User | Leave a Comment »
Posted by jpluimers on 2019/04/29
From [WayBack] osx lion – osx change printer ip address without adding new printer – Super User:
Q
Is there a way to change a printer’s IP address in OSX (Lion) without having to add a new printer? I did find Printer IP Remedy, but was curious if there was an ‘official’ method.
A
You can do this in the CUPS web interface with the following steps:
- Open Terminal.app and run
cupsctl WebInterface=yes. This enables the CUPS web interface- Open
http://127.0.0.1:631/printersin your web browser- Click on the printer you want to change. From the “Administration” drop down, select “Modify Printer”.
- Log in with your local admin account
- Select the new printer IP either from “Discovered Network Printers” or add it manually with “Other Network Printers”. Make sure that you keep the same connection protocol as it says in “Current Connection” (for me, this was LPD).
Once you’re done with this, Mac OS X will directly print to the new IP address. There is no need to reboot or so. If you want to disable the CUPS web interface again, run
cupsctl WebInterface=no.
The CUPS solution works splendid in MacOS as well, so there was no need for [Archive.is] Printer IP Remedy 1.3 free download for Mac | MacUpdate.
Without the CUPS web interface enabled, the web-interface at http://127.0.0.1:631/printers looks like this:
Web Interface is Disabled
The web interface is currently disabled. Run “cupsctl WebInterface=yes” to enable it.
After enabling it like the CUPS web interface wit cupsctl WebInterface=yes, you can see I have the same printer configured multiple times with different communication protocols and output languages:
Printers
Search in Printers:
Showing 6 of 6 printers.
Queue Name Description Location Make and Model Status OKI_MC342_36855D OKI-MC342-PSO-36855D Office MC342-AirPrint Idle OKI_MC342_36855D_PCL OKI-MC342-36855D PCL 1060NP-Office Generic PCL Laser Printer Idle OKI_MC342_IPP OKI-MC342-IPP Office Generic PostScript Printer Idle OKI_MC342_LPR OKI-MC342-LPR Office Generic PostScript Printer Idle
The first two printers were mapped by DNS, but the last two were mapped by IP address.
Changing the IP address was simple:
This is also the place where you can change “Default options”, like paper size (which – for all but the first – somehow defaulted to US Letter 11 inch, while it is actually filled with A4 paper).
At the end, disable the web interface: cupsctl WebInterface=no.
Related:
–jeroen
Posted in *nix, *nix-tools, Apple, iMac, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, macOS 10.13 High Sierra, Power User | Leave a Comment »
Posted by jpluimers on 2019/03/29
When connecting from my Mac to my ESXi rig, some commands (especially less) show this output:
So I created this alias to connect from my Mac to the internal address of my ESXi rig:
alias ssh-esxi-X10SRH-CF-internal='TERM=xterm ssh -p 22 root@192.168.71.91'
The trick is the bold part: TERM=xterm (which you can also replace by export TERM=xterm; if you want future ssh sessions to use the same [wayback] TERM setting).
The reason is that the Mac defines the TERM variable as containing xterm-256 which is defined on the Mac itself, but ESXi has a hard time coping with it.
Some Mac OS and Xcode combinations had a problem with
xterm-256not being present ([WayBack] macos – Terminal strangeness after installing Xcode on Lion – Super User), but this isn’t the case on my system:
$ ls -alh `find /usr/share/terminfo | grep 'xterm-256color'`
-rw-r--r-- 1 root wheel 3.2K Jul 30 2016 /usr/share/terminfo/78/xterm-256colorOn the Mac you really want to use
xterm-256coloras it looks way better thanxterm-colororxterm: [WayBack] linux – What is the difference between xterm-color & xterm-256color? – Stack Overflow (thanks [WayBack] Chris Page!)
It seems I already did something similar on ESXi itself to get esxtop working: ESXi: when esxtop shows garbage. That was on the ESXi side and works as well for this problem too.
However, it is a bit harder to have a script run during ESXi boot time that sets this, so it is easier to fix this on the Mac side.
It works for all OS X and ESXi versions I’ve tested so far.
–jeroen
Posted in *nix, Apple, ESXi5.1, ESXi5.5, ESXi6, ESXi6.5, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2018/10/15
Very useful when you want to give your WiFi less priority than an USB or Thunderbolt network adapter: [WayBack] macOS Sierra: Change the order of the network ports your computer uses to connect.
It is not just that the topmost adapter gets more priority: it also determines the DNS search!
Anyway: after choosing “Set Service Order” on the right, choose the order as seen below.
–jeroen
PS: Since Apple is cleaning up their site, only the above WayBack works, but luckily the below link explains it in a very similar way when using Locations:
[WayBack] How to use network locations on your Mac – Apple Support
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, Power User | Leave a Comment »
Posted by jpluimers on 2018/07/31
There are [WayBack] 7 ways to lock your MacBook – CNET: When it comes to locking your Mac, you have options.
For now I’ve added the below alias to my ~/.bash_profile which only works if you have “require a password immediately after sleep or screensaver begins”. I have that enabled (with a 5 second delay, not immediate so that when I’m behind my laptop and it starts the screensaver I can still move the mouse or touch a key to keep it awake).
alias sleep-display='pmset displaysleepnow'
See:

–jeroen
Posted in Apple, iMac, Mac, MacBook, MacBook Retina, MacBook-Pro, Power User | Leave a Comment »
Posted by jpluimers on 2018/07/17
I wasn’t expecting it to be so easy to install PowerShell on Mac OS X:
brew install Caskroom/cask/powershell
In the background it executes this script: https://github.com/caskroom/homebrew-cask/blob/master/Casks/powershell.rb. which indirectly goes through the URL template https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}.pkg.
On other non-Windows systems, you have to go through GitHub yourself: https://github.com/powershell/PowerShell. The PowerShell team at Microsoft has many more repositories including the Win32-OpenSSH port which you can find through https://github.com/PowerShell.
At the time of writing, PowerShell was available for these platforms:
Platform Downloads How to Install Windows 10 / Server 2016 (x64) .msi Instructions Windows 8.1 / Server 2012 R2 (x64) .msi Instructions Windows 7 (x64) .msi Instructions Windows 7 (x86) .msi Instructions Ubuntu 16.04 .deb Instructions Ubuntu 14.04 .deb Instructions CentOS 7 .rpm Instructions OpenSUSE 42.1 .rpm Instructions Arch Linux Instructions Many Linux distributions .AppImage Instructions macOS 10.11 .pkg Instructions Docker Instructions
The first version I installed on Mac OS X was this: ==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.17/powershell-6.0.0-alpha.17.pkg
By now I really hope it is out of Alpha state.
–jeroen
via:
Posted in *nix, Apple, CommandLine, Development, iMac, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, openSuSE, Power User, PowerShell, PowerShell, Scripting, Software Development, SuSE Linux, Ubuntu | Leave a Comment »
Posted by jpluimers on 2018/06/11
- Connect the volume you want excluded to the Mac, even if Spotlight is currently indexing
- Launch “System Preferences” and click on “Spotlight” followed by the ‘Privacy’ tab
- Drag the drives icon into the Privacy window
Source and more information (including how to do this from the terminal): [WayBack] Stop Spotlight from Indexing Time Machine Backup Volumes & External Drives
–jeroen
Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2018/03/27
From the “I hate my users” department:
–jeroen
Posted in Apple, Development, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, Office, Office 2011 for Mac, Power User, Software Development, Usability, User Experience (ux) | Leave a Comment »