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 ‘Apple’ Category

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 »

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 »