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

Archive for the ‘MacBook’ Category

Duplicate File Finder for files & folders on the Mac App Store

Posted by jpluimers on 2017/12/01

Free and – unlike the also free [WayBackdupeGuru – finds duplicate files – hasn’t crashed on my system yet or fails to add folders:

Read reviews, compare customer ratings, see screenshots, and learn more about Duplicate File Finder for files & folders. Download Duplicate File Finder for files & folders for Mac OS X 10.9 or later and enjoy it on your Mac.

[WayBackDuplicate File Finder for files & folders on the Mac App Store

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »

Restoring files from OS X Time Machine with Terminal.app

Posted by jpluimers on 2017/12/01

cd /Volumes/Backup/Backups.backupdb/Joshua\ Priddle’s\ MacBook\ Pro/Latest/Macintosh\ HD/Users/priddle

tmutil restore -v secret_docs.txt ~/

Learned from [WayBackRestoring files from OS X Time Machine with Terminal.app:

  • do not use cp as it will give you wrong permissions
  • do use tmutil

More elaborate steps (including finding the backup in the first place) is at [WayBackCommandline restoration of a file in Time Machine on OS X | Hacks for Macs

–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 »

macbook – OS X 10.9.5 hangs with grey spinner; safe mode last message is “payload 2: device was reinitialized” – Ask Different

Posted by jpluimers on 2017/11/24

[WayBackmacbook – OS X 10.9.5 hangs with grey spinner; safe mode last message is “payload 2: device was reinitialized” – Ask Different

[WayBackRecovery partition: “Restore From Time Machine Backup” stuck at 43.6% for more than 60 minutes – Ask Different

Steps since then:

  1. Restoring an image backup failed: same situation
    • (it took an hour to verify the media, then an OK button appeared before continuing to restore in the middle of the night; actual restore took 4+ hours)
  2. Reinstalling OS X 10.9.5 failed: error -4403F
  3. Restoring a prior Time Machine backup hung at less than 50% (taking like 6 hours)
  4. Reinstalling OS X 10.9.5 over a different fiber connection worked
  5. Mounting the image backup succeeded, but took 3 hours to complete “verifying…”
  6. Migration Assistent on the image backup worked fine

In total it took 2.5 days to get the machine back in working condition.

Related links:

There was no transparent proxy inbetween the MacBook and Apple so these didn’t help:

What did help was ensuring there was only ONE NAT in between the MacBook and Apple.

–jeroen

 

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, OS X 10.9 Mavericks, Power User | Leave a Comment »

OS X El Capitan: Open an app from an unidentified developer

Posted by jpluimers on 2017/11/17

The first trick works for WinBox 3.7 on Mac [download], the second doesn’t.

First trick:

To override your security settings and open the app anyway:

  1. In the Finder, locate the app you want to open.

    Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu.

  2. Press the Control key and click the app icon, then choose Open from the shortcut menu.

  3. Click Open.

    The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.

Second trick:

Note:   Another way to grant an exception for a blocked app is to click the “Open Anyway” button on the Security pane of System Preferences. This button is available for about an hour after you try to open the app.

To open this pane, choose Apple menu > System Preferences, then click Security & Privacy.

Both from [WayBackOS X El Capitan: Open an app from an unidentified developer

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.11 El Capitan, Power User | Leave a Comment »

github – Open Atom editor from command line – Stack Overflow

Posted by jpluimers on 2017/11/17

I have the Atom editor and was wondering how you can open a file or folder from the terminal in Atom. I am using a Mac. I am looking for a way to do this: atom . (opens folder) atom file.js (

The answer to it isn’t any good any more (since then, Atom has evolved), but this comment works splendid:

I solved the issue by choosing “Install Shell Commands” under the “Atom” menu.

It will add a script in /usr/local/bin/atom that starts Atom with the parameters you entered.

Thanks [WayBackrxgx!

[WayBackgithub – Open Atom editor from command line – Stack Overflow

–jeroen

PS: Reminder to self to add a screenshot.

Posted in Apple, atom editor, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.11 El Capitan, Power User, Text Editors | Leave a Comment »

OS X Mountain Lion and up: Zoom content on the screen

Posted by jpluimers on 2017/10/27

"Preferences

Accessibiity -> Zoom -> enable checkbox” class=”size-medium” /> Preferences -> Accessibiity -> Zoom -> enable checkbox

I didn’t know this was built-in since Mountain Lion and up, but it is, is startable from the keyboard and it’s tremendously convenient when presenting: [WayBack]: OS X Mountain Lion: Zoom content on the screen.

TL;DR:

  1. System Prefrecences
  2. Accesibility
  3. Zoom
  4. Checkbox

–jeroen

Posted in Apple, iMac, Keyboards and Keyboard Shortcuts, 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 »

When you believe that you have a keylogger or some sort trojan | Official Apple Support Communities

Posted by jpluimers on 2017/10/16

We thought one of our Macs was compromised, but it wasn’t: it had too many web browsers open so it was crawling like a snake.

The below terminal commands and EtreCheck [Source: etresoft/EtreCheck: Source code for EtreCheck] helped to find out what was running:

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'  

sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'  

launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'  
 
ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  

osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null  

Source: [WayBackI believe that I have a keylogger or some sort … | Official Apple Support Communities

–jeroen

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

Mac OS X – Hardware Monitor Help: remove com.bresink.driver.BRESINKx86Monitoring

Posted by jpluimers on 2017/10/13

Just in case you have this driver installed:

$ kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
com.bresink.driver.BRESINKx86Monitoring (9.0)

[WayBackHardware Monitor Help shows how to remove it:

  1. Ensure you are logged in as user with administrative rights.
  2. Use the Finder to open the folder Library at the topmost level of your system volume, and inside it, the folder StartupItems. If the driver is still installed, you will see the folder BRESINKx86Monitoring at this location.
  3. Drag the folder BRESINKx86Monitoring to the Trash. OS X may ask for your administrator password.

–jeroen

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, 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 »

How-To: Automatically change your Mac’s display resolution when running specific apps [Video] – via: 9to5Mac

Posted by jpluimers on 2017/08/11

Yet another reason I love SwitchResX: : How-To: Automatically change your Mac’s display resolution when running specific apps [Video] | 9to5Mac

A few years ago, SwitchResX helped me switch my Mac machine to 1360×768 and 1888×1062 « The Wiert Corner – irregular stream of stuff

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, 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, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks | Leave a Comment »

sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – via: Ask Different

Posted by jpluimers on 2017/08/07

I had the same issue as in sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – Ask Different which suddenly introduced itself in April 2016 after I had been running El Capitan (OS X 10.11) for a while.

The Mac didn’t have PowerNap active as I verified using How Power Nap works on your Mac – Apple Support

At first it looked like an SMC reset worked as explained by Reset the System Management Controller (SMC) on your Mac – Apple Support and mentioned in Mac Air loses 90% of battery overnight when in … | Apple Support Communities.

The Mac is indeed running Chrome, but I don’t like to turn that off before sleeping.

Executing pmset -g would show hibernatemode 3.

So I opted for the hibernate option as mentioned in the first link:

sudo pmset -a hibernatemode 25

This will take a bit longer to restore the memory from hibernate state, but saves a lot of frustration.

–jeroen

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