Archive for the ‘MacBook-Air’ Category
Posted by jpluimers on 2019/02/22
This has happened to me on most Macs with most Apple Mac OS X / MacOS / whatever versions: the built in sound controls for internal speakers and head phones fail to work (keyboard shortcuts and UI both fail).
The solution at [WayBack ] mavericks – Unable to modify the volume with the keyboard – Ask Different works, but be sure to require the kernel module steps:
open up a Terminal window and run:
sudo killall coreaudiod
sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext
–jeroen
Posted in Apple , Mac , Mac OS X / OS X / MacOS , MacBook , MacBook Retina , MacBook-Air , MacMini , macOS 10.12 Sierra , OS X 10.10 Yosemite , OS X 10.11 El Capitan , OS X 10.9 Mavericks , Power User | Leave a Comment »
Posted by jpluimers on 2018/08/27
[WayBack ] I am on a Mac that is bound to an AD Domain. The AD Domain has a 90 days password expiration policy. When will my password expire? $ cat bin/is-passwor… – Kristian Köhntopp – Google+
For my link archive:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash —
validFor=$(( 90 * 86400 ))
domainPrefix='/Active Directory/DOMAIN/doma.in/"
lastPW=$(dscl "/$domainPrefix" -read /Users/$USER | awk '/SMBPasswordLastSet/ { print $NF }')
unixPW=$(($lastPW / 10000000 – 11644473600 + $validFor))
expireDate=$(date -r $unixPW)
echo "Password expires $expireDate"
Script copied to [WayBack ] Kristian Köhntopp: I am on a Mac that is bound to an AD Domain. The AD Domain has a 90 days password expiration policy. When will my password expire? · GitHub
–jeroen
Posted in *nix , Apple , bash , Development , Mac , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , MacMini , Power User , Scripting , Software Development | Leave a Comment »
Posted by jpluimers on 2018/08/03
Somewhere after Yosemite, braindead Mac OS X forcibly maps “Ctrl+Click” to right-click. In past versions, you could disable but those days have gone.
This means that inside Windows on VMware Fusion, you cannot add/remove items to/from a selection any more (for instance in the Windows Explorer).
Various workarounds turned up in my Google Search, but only this one works:
Holding down CTRL + OPTION together and LEFT CLICKING will do this.
Source: [WayBack ] vmware fusion – How to use the control key in VM Ware? – Super User
–jeroen
via:
Posted in Apple , Fusion , 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.9 Mavericks , Power User , Virtualization , VMware | 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:
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/04/16
Learn one way to change Excel’s Control-U shortcut to the easier-to-use F2 (which also matches the Windows’ shortcut).
Ah, so Ctrl-U is the shortcut to edit a cell on Mac OS X with Microsoft Office Excel (:
Source: [WayBack ] Change Excel’s ‘edit in cell’ keyboard shortcut | Macworld
–jeroen
Posted in Apple , Mac , Mac OS X / OS X / MacOS , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , OS X 10.9 Mavericks , Power User | Leave a Comment »
Posted by jpluimers on 2018/03/30
TL;DR: Connecting to Macs over Thunderbolt is easy and has transfer speeds way faster than other network connections.
Summary of steps from [WayBack ] Connecting two Macs using Thunderbolt | Macworld
Connect the Thunderbolt cable between two Macs
In the Network Preferences find the self-assigned IP address on either side
In that side, ensure you have File Sharing enabled
On the other side, open a Finder, press Command-K, then the IP-address you noted and logon
Transfer files
This also increases LAN sync speeds of DropBox, Google Drive and others.
Note the connection by default using SMB
–jeroen
Posted in Apple , Mac , Mac OS X / OS X / MacOS , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , macOS 10.12 Sierra , Power User | Leave a Comment »
Posted by jpluimers on 2018/03/27
From the “I hate my users” department:
This dialog pops up every 10 seconds
The Office 2011 for Mac update requires non-Office apps to quit as well
–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 »
Posted by jpluimers on 2018/03/26
I forgot to blog about this before, but 2 months ago PowerShell core came available: [WayBack ] PowerShell Core 6.0: Generally Available (GA) and Supported! | PowerShell Team Blog .
[WayBack ] Installing PowerShell Core on macOS and Linux | Microsoft Docs is easy (one way is through homebrew:
$ brew tap caskroom/cask
$ brew cask install powershell
If you already installed a beta, then the steps are these:
$ brew update
$ brew cask reinstall powershell
Note that after installation, it is known as pwsh (at least one of the betas named it powershell) to set PowerShell Core apart from PowerShell*:
$ pwsh --version
PowerShell v6.0.2
Via: [WayBack ] PowerShell Core 6.0 is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux), open-source, and built for heterogeneous environm… – Lars Fosdal – Google+
*pwsh versus powershell
There has been quite a discussion on the PowerShell Core repository on the rename, but I think it is for a good reason.
Too bad that during part of the beta, the old name powershell was used, but beta-time means things break every now and then.
PowerShell Core is sufficiently different from prior PowerShell versions to warrant a name change. This also makes it a lot easier to use them side-by-side.
Many other names (like posh, pcsh or psh) were considered, usually because of naming conflicts with existing tools (like posh) or easy confusion with existing shells (like pcsh and csh). A benefit on Linux/macOS is that it now ends with sh like virtually all other shells.
More background information is at:
–jeroen
Posted in Apple , CommandLine , Development , Home brew / homebrew , Mac , Mac OS X / OS X / MacOS , MacBook , MacBook Retina , MacBook-Air , MacBook-Pro , MacMini , Power User , PowerShell , PowerShell , Scripting , Software Development | Leave a Comment »