Microsoft Edge preview builds for macOS

Speaking of IE in the previous post: Microsoft just (officially) released the first preview builds for Microsoft Edge for macOS, which uses the Chromium rendering engine internally.

Although I don’t use my Mac’s Touch Bar – I’ve got set it to always show the full control strip – I really like how they’ve linked it to the browser’s tabs:

🤔 I’m wondering if that would place nice with tab hoarder like me though … I rarely have less than 250 tabs open (spread across several windows) … so much to read and watch.

Introducing the first Microsoft Edge preview builds for macOS →
Download Microsoft Edge preview builds →

Disable Hardware Media Keys Support in Chrome

A new feature that landed in Chrome 73 is support for hardware Media Keys. Whenever you press one of the play/pause/next/prev buttons on your keyboard, Chrome can now respond to this and will pause/play the actively playing element.

Whilst this might be a good addition for many, it doesn’t work me, as I’m constantly playing music through iTunes. With iTunes jingling around, here’s my experience:

  • Open a site with a video and watch it play
  • Hit (keyboard) pause button to pause iTunes
  • Not iTunes but the video in the browser gets paused (😠)
  • CMD+TAB into iTunes
  • Hit (keyboard) pause button to pause iTunes
  • Video in the browser resumes playback (with iTunes still playing too) (😡)

Looks like the browser (or macOS?) isn’t properly releasing/giving the focus, redirecting all media keys’ keystrokes to Chrome (instead of the focussed iTunes).

~

Thankfully, one can disable the support for Hardware Media Keys through some flags.

  1. Visit chrome://flags/#hardware-media-key-handling
  2. Set the dropdown value to “Disabled”
  3. Restart Chrome

Ah, much better now!

Did this help you out? Like what you see?
Thank me with a coffee.

I don't do this for profit but a small one-time donation would surely put a smile on my face. Thanks!

☕️ Buy me a Coffee (€3)

To stay in the loop you can follow @bramus or follow @bramusblog on Twitter.

Trigger macOS notifications from the CLI with node-notifier-cli

$ notify -t "Hello" -m "My Message" -s --open http://github.com
$ notify -t "Agent Coulson" --icon https://raw.githubusercontent.com/mikaelbr/node-notifier/master/example/coulson.jpg
$ notify -m "My Message" -s Glass
$ echo "My Message" | notify -t "Hello"

Installation per NPM/Yarn:

yarn global add node-notifier-cli

TIP: As with many packages you can also run it using the aforementioned npx:

npx -p node-notifier-cli notify -t 'Hello' -m 'My message'

node-notifier CLI →

ProvisionQL – Finder Quick Look plugin for .ipa and .mobileprovision files

One of the Finder Quick Look plugins I have installed is ProvisionQL. It allows one to have a quick preview of .ipa and .mobileprovision files.

Installation possible via Brew-Caskroom:

brew cask install provisionql

ProvisionQL →

Automatically set up your Mac and configure macOS using ./freshinstall

Recently I configured my new MacBook Pro. I decided to start with a clean slate and not migrate anything from my old MacBook. To configure macOS I whipped up ./freshinstall, which automates that process.

Steps included are:

  1. Configure macOS Preferences and the like
  2. Generate and load SSH keys
  3. Install the essentials: XCode, Git, Homebrew
  4. Copy over my (starter) dotfiles (also contained in the repo)
  5. Install (and sometimes also configure) all most of the software that I use.

The heavy lifting is done by defaults and Homebrew + Homebrew-Cask. Thanks to the aforementioned mas-cli, I’m also able to automatically install software from the Mac App Store.

Many of the settings are inspired upon the work of others. Mainly Mathias Bynens his dotfiles repo came in handy, along with a few other repos and of course the use of a few Google Search Coupons.

./freshinstall

Did this help you out? Like what you see?
Consider donating.

I don’t run ads on my blog nor do I do this for profit. A donation however would always put a smile on my face though. Thanks!

☕️ Buy me a Coffee ($3)

Login with root and no password on any mac running macOS High Sierra

This tweet is currently making rounds on Twitter:

And yes, that actually works: enter root as a username, leave the password empty, and *BOOM* you’re in.

The exploit also works at the login screen, and with remote management (Screen Sharing, etc).

UPDATE 2017.11.29: Apple has released a security update, fixing this nasty bug. Open AppStore.app and check the updates section to download it. No reboot required.

As Mattias detailed a root with no pass gets created upon testing this. Awaiting a security patch from apple you can lock this user down by explicitly setting a password for its account (using Terminal.app):

sudo passwd -u root

If you’re not too fond of the shell, follow the instructions from this video.

And to say Apple already had a huge security slip-up with that Disk Utility Bug which showed the password instead of the password hint but this one is much, much worse … #functionalhighground aye?