The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘Mac’ Category

PowerShell on Mac OS X and other non-Windows systems

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 »

Apple Extends Free Repairs of Anti-Reflective Coating on Select MacBook and MacBook Pro Models – Mac Rumors

Posted by jpluimers on 2018/07/02

I hear stories of people having their replacement screens stain as well, some of them get a renewed free repair. [WayBackApple Extends Free Repairs of Anti-Reflective Coating on Select MacBook and MacBook Pro Models – Mac Rumors.

Affected models for an initial repair:

  • MacBook Pro (13-inch, Early 2013)
  • MacBook Pro (15-inch, Early 2013)
  • MacBook Pro (13-inch, Late 2013)
  • MacBook Pro (15-inch, Late 2013)
  • MacBook Pro (13-inch, Mid 2014)
  • MacBook Pro (15-inch, Mid 2014)
  • MacBook Pro (13-inch, Early 2015)
  • MacBook Pro (15-inch, Mid 2015)
  • MacBook Pro (13-inch, 2016)
  • MacBook Pro (15-inch, 2016)
  • MacBook Pro (13-inch, 2017)
  • MacBook Pro (15-inch, 2017)
  • MacBook (12-inch, Early 2015)
  • MacBook (12-inch, Early 2016)
  • MacBook (12-inch, Early 2017)

–jeroen

Read the rest of this entry »

Posted in Apple, Mac, MacBook, MacBook Retina, MacBook-Pro, Power User | Leave a Comment »

SD cards solutions to add 256 gigabyte to your non USB-C Retina MacBook

Posted by jpluimers on 2018/06/12

I was asked what I used to extend my Retina Macbook storage. Mine still has an SD-card slot so the sit flush solutions below work fine.

I could have used USB-3 to micro-SD card adapters that sit flush.

There are no USB-C to micro-SD adapters that sit flush, so they do not work for more modern Retina MacBook devices.

Via: [WayBack] Haha wow. Apple announced new Macbook Pro’s just little over 6 months after they did the last models. And now you do get all the stuff you wanted back then… – Jeroen Wiert Pluimers – Google+ (except 32 gigabyte RAM, that’s for later).

Either [WayBackTranscend 256GB JetDrive Lite 360 Storage Expansion Card for 15-Inch MacBook Pro with Retina Display (TS256GJDL360)

Or the adapter [WayBack] BASEQI aluminum microSD Adapter for MacBook Pro 15″ Retina (Late 2013 onwards) and one of:

–jeroen

Read the rest of this entry »

Posted in Apple, LifeHacker, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Power User | Leave a Comment »

Stop Spotlight from Indexing Time Machine Backup Volumes & External Drives

Posted by jpluimers on 2018/06/11

  1. Connect the volume you want excluded to the Mac, even if Spotlight is currently indexing
  2. Launch “System Preferences” and click on “Spotlight” followed by the ‘Privacy’ tab
  3. Drag the drives icon into the Privacy window

Source and more information (including how to do this from the terminal): [WayBackStop 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 »

Change Excel’s ‘edit in cell’ keyboard shortcut | Macworld

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: [WayBackChange 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 »

macos – When /tmp/wifi-*.log will show up and how can I stop it? – Super User

Posted by jpluimers on 2018/04/13

When you have many /tmp/wifi-{date}__{time}.log files, then this is how to get rid of them (it happened to me on a fresh Sierra machine):

At least on macOS Sierra (10.12):

  1. You can see what WIFI related components have debug logging enabled with:shell# /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport debug
  2. You can disable all debug logging with:shell# /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport debug -AllUserland -AllDriver -AllVendor

For whatever reason, the debug logging flag was enabled for ‘DriverWPA’ on my machine and that resulted in /tmp/wifi-{date}__{time}.log files getting generated when joining new WPA2 protected WIFI networks.

Source: [WayBackmacos – When /tmp/wifi-*.log will show up and how can I stop it? – Super User; thanks [WayBack] MattLord for answering that!

–jeroen

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, macOS 10.12 Sierra, Power User | Leave a Comment »

Connecting two Macs using Thunderbolt | Macworld

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 [WayBackConnecting 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 »

Capturing from a Magewell XI100USB on a Mac using OS X

Posted by jpluimers on 2018/03/28

Some notes and links on http://www.magewell.com/usb-capture-hdmi with specs at http://www.magewell.com/usb-capture-hdmi/tech-specs

USBCaptureHDMI-Installation-Guide-en-2.0.pdf USB-Capture-HDMI-User-Guide-en.pdf USB-Capture-HDMI_Spec-sheet.pdf

http://www.magewell.com/files/CaptureStudio.zip

The video at https://www.youtube.com/watch?v=UbjIx1qhvpM uses Quickier

I used QCamera: the XI100USB shows up as a camera.

Note capturing takes a lot of CPU power, so ensure you’re not running on battery.

I didn’t need any of these downloads:

On a Mac any of these software tools should work as well:

  • Adobe Flash Media Live Encoder
  • Adobe Connect
  • CoGe VJ
  • Discover Video Streamsie
  • Gotomeeting
  • GrandVJ
  • MadMapper
  • mimoLive
  • OBS studio
  • Quicklaunch
  • QuickTime Broadcaster
  • QuickTime Player
  • Resolume
  • Skype
  • Streambox
  • Video Stitch
  • VirtualDub
  • VLC
  • Wirecast
  • Zoom.us

 

–jeroen

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, macOS 10.12 Sierra, Power User | Leave a Comment »

Office 2011 for Mac update pesky Window pops up every 10 seconds

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 »

Installing PowerShell Core on macOS and Linux | Microsoft Docs

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 »