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,854 other subscribers

Archive for the ‘Apple’ Category

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 »

Reminder to self if I want to include an SD card in a Time Machine backup

Posted by jpluimers on 2018/03/26

It should be all automagic as soon as I format an SD card as journaled HFS, but in case it isn’t, here are some links:

–jeroen

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

macos – How to change the language used on Mac App Store? – Ask Different

Posted by jpluimers on 2018/03/23

This worked for me as suddenly – after upgrading to Sierra – the App Store was all Dutch where previously it was English:

After I fought with the issue for a few hours, I found the solution.

  1. Open Mac App Store and log out of the account.
  2. Restart your Mac.
  3. Log in to the account again.

Thanks [WayBack] Blaszard for the above answer at [WayBackmacos – How to change the language used on Mac App Store? – Ask Different

Note that this syncs the language in the App Store with the one you’ve set on the OS X level; for changing that, see [WayBackmacOS Sierra: Change the language your Mac uses

–jeroen

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

macos – How can I manually delete old backups to free space for Time Machine? – Ask Different

Posted by jpluimers on 2018/03/23

For me the easiest is on a sudo terminal (so I can omit the sudo part in the below commands), but if you’d do it “rather safe then sorry”, you can go from the fine-grained individual backup level:

sudo tmutil delete /Volumes/drive_name/Backups.backupdb/mac_name/YYYY-MM-DD-hhmmss

step by step

sudo tmutil delete /Volumes/drive_name/Backups.backupdb/mac_name

all the way back to

sudo tmutil delete /Volumes/drive_name/Backups.backupdb

Incidentally, the tmutil documentation is now regarded as legacy (I’m not sure why) so before it goes away, I’ve archived it:

[Archive.is] https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/tmutil.8.html

It’s not at http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man8/tmutil.8.html as for instance [WayBack] man tmutil … – Kristian Köhntopp – Google+ referred to a few years back.

Anyway:

–jeroen

 

 

–jeroen

via [WayBackmacos – How can I manually delete old backups to free space for Time Machine? – Ask Different

Posted in Apple, Mac OS X / OS X / MacOS, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, Power User | Leave a Comment »

macos – How can I list all user accounts in the terminal? – Ask Different

Posted by jpluimers on 2018/03/19

With system account starting with underscore:

dscl . list /Users

Without underscore, so only regular accounts:

dscl . list /Users | grep -v ^_.*

Source: [WayBackmacos – How can I list all user accounts in the terminal? – Ask Different

–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.9 Mavericks, Power User | Leave a Comment »

Koushik Dutta (Koush) – Google+Hackintosh Guide: GA-X99P-SLI | Intel 6950X | GTX 980ti

Posted by jpluimers on 2018/03/05

If I ever want to create a GPU grade or server grade Mac system: [WayBackHackintosh Guide: GA-X99P-SLI | Intel 6950X | GTX 980ti New Hackintosh is complete. If you want to recreate my setup, here’s the guide I wrote up.… – Koushik Dutta (Koush) – Google+

It’s nicely wrapped up: koush/EFI-X99: Hackintosh Guide: Gigabyte X99P-SLI, Intel 6950X, GeForce GTX 980ti

(Apple still sells Mac OS X Server, but no server grade hardware any more)

Note there are others having an X99 hackintosh.

More details:

–jeroen

Posted in Apple, Development, Hardware Development, Mac, Mac OS X / OS X / MacOS, macOS 10.12 Sierra, Power User | 1 Comment »

command line – Linux’ `ps f` (tree view) equivalent on OSX? – Ask Different

Posted by jpluimers on 2018/02/14

There still is no ps xf on Mac OS X.

You need brew install pstree for that. Then you can excute pstree which gives you a treeview of the processes running.

via: [WayBackcommand line – Linux’ ps f (tree view) equivalent on OSX? – Ask Different

–jeroen

Posted in *nix, *nix-tools, Apple, Home brew / homebrew, 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.9 Mavericks, Power User, ps | Leave a Comment »

macos – Right-click, create a new text file. How? – Ask Different

Posted by jpluimers on 2018/02/14

I’m still amazed this is not in stock Mac OS X:

In Finder > Select a folder > Right click, we get a popup with an option to create a new folder:Is there a way to add menu item New Textfile for adding a new text file?

[WayBackmacos – Right-click, create a new text file. How? – Ask Different

One way is to use Automator scripts, but: scripting…

–jeroen

Posted in Apple, Automator scripts, Development, 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.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »

unxz on Mac OS X requires the xz formula from homebrew

Posted by jpluimers on 2018/01/30

Most sites explaining how to decompress an xz file mention you should use unxz from the xz utils toolbox.

Running unzx on Msc OS X requires the xz formula from homebrew:

$ brew install xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.2.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.2.2.mavericks.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.2: 91 files, 1.4M

–jeroen

Posted in Apple, Home brew / homebrew, Mac OS X / OS X / MacOS, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.9 Mavericks, Power User | Leave a Comment »