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

Archive for the ‘Apple’ Category

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 »

Installing A Maccon Card In A Macintosh Se/30 – Asante MacCon Family Ethernet Network Cards For The Macintosh Installation Manual [Page 29]

Posted by jpluimers on 2018/01/19

To get started:

Pictures, binary driver image from Index of /pdf/apple/nubus/asante/MacCon_SE30

Index of /pdf/apple/nubus/asante/MacCon_SE30

[ICO] Name Last modified Size Description

[PARENTDIR] Parent Directory
[   ] 5000118-00-01.BIN 2018-01-11 10:16 16K
[IMG] Asante_MacCon_SE30_1.JPG 2018-01-10 14:24 545K
[IMG] Asante_MacCon_SE30_2.JPG 2018-01-10 14:24 418K
[IMG] Asante_MacCon_SE30_3.JPG 2018-01-11 10:17 573K
[IMG] Asante_MacCon_SE30_4.JPG 2018-01-11 10:17 543K
[IMG] Asante_MacCon_SE30_5.JPG 2018-01-11 10:17 439K
[IMG] Farallon_SI_A_Series_b.JPG 2018-01-11 10:17 438K
[IMG] Farallon_SI_A_Series_f.JPG 2018-01-11 10:17 637K

Apache/2.4.18 (Ubuntu) Server at bitsavers.trailing-edge.com Port 80

 

–jeroen

Posted in Apple, Classic Macintosh, History, Macintosh SE/30, Power User | Leave a Comment »

Reminder to self: Sort out empty (zero size) Icon? files in Google Drive folder on OS X and Windows

Posted by jpluimers on 2018/01/12

It looks like when syncing folders between Mac OS X (MacOS X?) and Windows, many directories get empty Icon? files have a size of 0 bytes.

None of these directories had custom icons, so I’m inclined to remove them all from the Google Drive folder:

find . -name 'Icon*' -size 0 -print0 | xargs -0 rm

as [WayBackDidier Trosset answered at [WayBackHow to delete many 0 byte files in linux? – Stack Overflow

Before I do that, I need to read these in more detail:

–jeroen

Posted in Apple, Google, GoogleDrive, 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 »

Chrome on Mac OS X keeps all old versions it ever installed…

Posted by jpluimers on 2018/01/08

Like many, I’m a digital packrat. Somehow all your storage space somehow becomes full over time. But sometimes that’s not because just you are a digital packrat. Applications can be digital packrats too.

Chrome is such an example as on Mac OS X it will keep every prior version filed under /Applications/Google Chrome.app/Contents/Versions. In my case GrandPerspective showed it as one big blob of close 20 gigabyte. Which is odd as the download itself is was slightly short of 20 gigabyte of Chrome versions.

There are various ways to clean up this by script, but I find the easiest to do this in Finder:

  1. From Grand Perspective, right click the entry, then choose “Reveal in Finder”
  2. In Finder, right click the entry, then choose “Show Package Contents”
  3. In Finder, with the expanded “Contents” folder, browse to the “Versions” folder and expand it.
  4. From Finder, delete unwanted versions.

–jeroen

References:

Posted in Apple, Power User | Leave a Comment »

“simply” hold the refresh button and then tap on Request Desktop Site – How to Use WhatsApp on iPad

Posted by jpluimers on 2018/01/05

… simply hold the refresh button and then tap on Request Desktop Site. The page should refresh and you should be redirected to web.whatsapp.com and you should be looking at a QR code on the screen of your iPad.

If you know it’s “simply”.

Source: How to Use WhatsApp on iPad

–jeroen

Posted in Apple, iOS, iPad, Power User | Leave a Comment »

htop – an interactive process viewer for Unix

Posted by jpluimers on 2017/12/25

Great tool: [WayBackhtop – an interactive process viewer for Unix because it’s both interactive and supports a wide range of OSes: Linux, FreeBSD, OpenBSD and Mac OS X.

Thanks to Warren Postma who suggested it in his comment at [WayBack18 Useful Commands to Get Hardware Information on Linux – Linuxslaves.

Note that on OS X you get this warning after brew install htop :

htop requires root privileges to correctly display all running processes,
so you will need to run `sudo htop`.
You should be certain that you trust any software you grant root privileges.

On Linux you don’t get this message as there you have the /proc file system providing enough information as explained at [WayBackosx – Why does htop on Mac OS X require root privileges to see data for all processes, but on Linux it runs without root – Super User.

A workaround (involving the setuid bit) is at [WayBackRunning htop on Mac OS X needs root. Why?! | Blog | JoeNyland.me or by running visudo ensuring you don’t need a password for it at [WayBackosx – htop isn’t returning CPU or memory usage!? – Super User

–jeroen

 

Posted in *nix, *nix-tools, Apple, BSD, Linux, Mac OS X / OS X / MacOS, macOS 10.12 Sierra, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »

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 »

Objective-See: the Mac OS X / MacOS / Mac OS 10 root password issue tracked down

Posted by jpluimers on 2017/11/29

[WayBackObjective-See: tracking down the cause a serious authentication flaw in Mac OS X / MacOS / Mac OS 10: resetting the root password by just clicking OK.

Via: [WayBack] How the MacOS High Sierra ##IAmRoot bug actually works. ##insightful … TL;DR the return value of the verify password function is interpreted wrong. Fix looks trivial. But this IS a serious bug. – Jan Wildeboer – Google+

Note the bug was already revealed two weeks ago: [WayBack] … after updating to High Sierra, the two admin accounts on this machine are all of a sudden standard accounts …

Via: [Archive.is] Mike Myers‏ @fristle: Perhaps nobody noticed two weeks ago when the root login vulnerability in macOS High Sierra was shared as a helpful tip on Apple’s own Developer forums. https://forums.developer.apple.com/thread/79235

The bug has already been fixed: [WayBack] About the security content of Security Update 2017-001 – Apple Support

Via: [WayBack] That was reasonably fast! ##Apple has released the fix for the embarrassing ##IAmRoot bug. https://support.apple.com/en-us/HT208315 – Jan Wildeboer – Google+

–jeroen

Read the rest of this entry »

Posted in Apple, Mac OS X / OS X / MacOS, macOS 10.12 Sierra, 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 »