"openssl sha1" broken on Mac OS X Lion, or is there a maximum file size? I am attempting to install a VMware Fusion virtual machine with Windows 2008 R2 server, but I'm having problems with the ISO file I downloaded.

I want to verify that the file is correct before attempting the installation, and the download page at Microsoft MSDN downloads mentions that the file has a SHA-1 checksum of X.

So, I googled on how to verify the SHA-1 digest for a file, and found this page:

  Mac OS X: How to verify a SHA-1 digest
  ...
  openssl sha1 [full path to file]

Now, here's the fun part. If I execute the command multiple times, I get different digest values.

Is there any way I can, say, make a copy of the file (I know how to do this part), verify that the two copies are indeed the same (to detect that the file is changing, somehow, but I don't know how to compare files)?

Or is there something fundamentally broken either with the "openssl sha1" command, or with my expectations of it?

Here's a sample run:

Lasses-MacBook-Pro:Downloads lassevk$ openssl sha1 en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso
SHA1(en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso)= 6b8e9addd77fdaf7f26ca56729802112445d48ec
Lasses-MacBook-Pro:Downloads lassevk$ openssl sha1 en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso
SHA1(en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso)= db275e4640a61cf4021142bed7593390ebb1bc74
Lasses-MacBook-Pro:Downloads lassevk$ openssl sha1 en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso
SHA1(en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso)= a87acbd3b415440630251ca1f66ed64e444ae96f
Lasses-MacBook-Pro:Downloads lassevk$ ls -la en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso
-rw-r--r--@ 1 lassevk  staff  3166584832 Dec 12 01:02 en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso

This was a faulty memory chip.

I downloaded a program to test the memory, experimented with which chips it might be, and ended up removing one, which made the memtest program stop complaining.

When I execute the "openssl sha1" command now, multiple times, it produces the same digest every time. Sadly, it's the wrong digest (as compared to the one posted on the web site), so I guess I have to redownload the file.


How can I open all the files in all the subdirectories of a folder? I'm trying to recursively open all the files in a folder, including its directories. I've been playing around with open /path/to/folder/*, and this will open all the files inside that folder but not include the sub-directories.

If I had a folder tree that looked like this:

Folder
>subfolder1
>>file1.jpg
>>file2.jpg
>subfolder2
>>file1.jpg
>>file2.jpg
>subfolder3
>>file.jpg

How could I open all the files in one terminal command?


Configuring XAMPP on macOS Sierra (version 10.12.6) On a fresh installation of macOS, I decided to use XAMPP (I have previously used MAMP (free ver.)) but I have encountered some simple issues.

The general tab shows IP address 192.168.64.2 but my system IP is 192.168.1.100. Why is the IP different by default? And how can this be changed to use the same? The "go to application page" loads dashboard on 192.168.64.2 but I'd like to use the localhost on some port like localhost:8888 / 127.0.0.1:8888.
Trying to open phpmyadmin returned an access forbidden page ("... New XAMPP security concept: ..."). I looked up about it in google which showed results suggesting to edit the configuration file to allow external access. I'd like to keep it to localhost, so I guess the IP has to be changed to localhost. How can that be achieved?
Unlike MAMP, there is no option to set the port within the application, so I tried to look for the httpd file in `Applications->XAMPP->(show package contents)->contents->... but did not find the file. So where are the configuration files?

  P.S. Do not suggest to turn off the system provided apache server
  (sudo apachectl stop)

I think the problem is that you installed the XAMPP VM version that executes a virtual machine on macOS. Check on the XAMPP website and download the normal version.
Hope this is the case and that this info helps.


Tweets in my Tweetbot timeline are occasionally marked as a favorite when I see them for the first time. Is that a bug or a feature? While looking through my timeline in Tweetbot, occasionally a tweet will be marked as a favorite even though I'm sure I'm seeing it for the first time.  (I can't resist taking the time to unfavorite it.)  I don't see any mention of this in http://tapbots.com/support/tweetbot/.  Is this a bug, or a "feature" (where perhaps Twitter's API is doing this)?

It's a bug with Twitter, not Tweetbot.
I've seen people ask @tweetbot about it several times now. The answer and response generally look like this exchange:

Q: @tweetbot keeps favoriting random tweets in my timeline. It's almost embarrassing.
A: Sorry, that's a Twitter bug. As you can see on Favstar, they're not real favorites.

That particular exchange happened just yesterday.
Twitter's REST API bug list has this bug still open where the API may erroneously report a tweet as favorited when in fact it is not.


How to get back the missing monitor option in Mountain Lion's menubar? When plugging in an external monitor on every OS X < 10.8 you could set the monitor options to show up on the menu bar.

How do I get this option on Mountain Lion?

I connect a DVI monitor via the hdmi ouput on a retina MacBook Pro and I am unable to find a way to enable this option.

Display Menu (free) on the Mac App store adds the menu options back for OS X 10.8


Does Gmail push on iPhone 4S? I just got the iPhone 4S, and it seems like my email is polling rather than push.  I set up my Gmail account, and emails do not come to my phone instantly.  It appears to be polling, rather than pushing.  I see, on average, about a 10 minute delay between when I see my email in my browser and when it comes to my phone.

Does Gmail push on this device, or have I set something up incorrectly?

If you setup your Gmail account as IMAP, it is not pushed. If you setup your Gmail account as an Exchange account, then it will be. The instructions on how to do this are found on this page. Hope this helps.


Single desktop image for all desktops I upgraded from Snow Leopard to Lion. Afterward when I would set a Desktop picture (either through System Preferences or iPhoto) it was applied to all desktops.

Yesterday I control clicked the desktop and set a picture and it was only applied to that desktop. Now, wether I use System Preferences or iPhoto it only affects the current desktop. I then have to move SP or iP to a new desktop and set that one, then the next, etc.

Does anybody know how to fool Lion back to having single desktop picture for all desktops?

Edit:
I have active windows on each desktop that I would like to stay there, so closing all of my apps and regenerating desktops is not helpful. Similarly, gathering all windows to a single desktop and regenerating desktops is again not helpful.

The point is to reduce tedium, so anything that involves more steps is clearly not what I'm after.

To be explicit, for some reason previously Lion did it the way I want. Some setting in some file somewhere changed this behavior. This is the setting I'm looking for.

The answer is simple (and very Apple-like!).

Simply close all extra desktops until you only have one desktop. (To do this, go to Mission Control, hold down alt and click the crosses which appear on unwanted desktops).

Then change the desktop background for the one remaining desktop.

Now any new desktops you create will inherit the background of that first desktop.


Does Outlook 2016 have a Quick Look plug-in? Spotlight displays nonsensical text when a contact or email message is previewed in Spotlight.

Does Outlook 2016 have a Quick Look plug-in or has my installation of Outlook 2016  (16.14.1) been corrupted?

From what I have seen online and from my own uses Microsoft has not written a quicklook plugin for Outlook 2016.

It is odd though that you get some garbled text in the spotlight/quicklook window. On my Mac quicklook only shows an outlook document icon, the (presumably) UUID of the message and date created/modified/last opened info on the mail message.

So your garbled text might indeed be something going wrong with Outlook or even Quicklook trying to read a file it should not.


How to prevent changes on the iPad I have an iPad with iOS 9 that is used by technological illiterate people of my family. These persons use basically facetime, messages and safari.

They manage that relatively well but if for some reason something happens that prevent them from doing that, they panic and start tapping in a lot of things, swiping here and there, tap tap tap and 7.32 seconds later they have managed to logout from messages and facetime, disable wifi, put the ipad on airplane mode, add members of the family to the facetime blacklist and all sort of things.

I have to spend hours reverting the device back to a useful state and they get pissed because they have to wait for me to use the device again.

Is there a way to prevent them from doing these changes but let them use facetime, safari and messages fully on the ipad?

Apple's Parental Controls can restrict many things.

If that's not enough you can create profiles with Apple Configurator that allow additional restrictions.

You could also teach your family members how to fix the settings they changed accidentally. Give one of them the messed up iPad and tell them the steps to do. If they don't remember next time, make them write down the things to check. Print out the checklist and stick it to the back of the iPad.


How to import older Aperture photo library after setting up new Photos app and a new library I was very timid to check out the new Photos.app, and therefore decided to just start a fresh library and have it sync what my phone had through iCloud Photo Library.

After checking it out for a bit, I think I want to move forward entirely with Photos. But at this point, I don't know how I can add in my Aperture library without opening it as a different library (holding down Option), but then don't know how it handles the current iCloud Photo Library.

I checked the menus, and import only preps you for importing photos, not another library. I can open my other libraries, but worried about what that will do with iCloud Photo Library. Do I just need to export everything? Do I open the other library and let it sync?

There is no way to import an Aperture/iPhoto library except start a new Photos library and have it convert from an existing Aperture/iPhoto library.

I think the best solution would be to start a new Photos library based on your existing Aperture library. Attach your iPhone to the Mac and wait for it to appear in the sidebar in Photos, then import everything it will let you from the phone. Finally, set it as the system library (Photos menu > Preferences > General tab > "Use as System Photo Library") and enable iCloud Photo Library (Photos menu > Preferences > iCloud > iCloud Photo Library).

In theory this should cause the images from your new combined Photos library (old Aperture library + what was on the phone) to upload to iCloud, while also downloading anything in iCloud that does not exist in your new Photos library. And in turn, your phone should download anything new that is uploaded to iCloud.

The step of syncing from your phone directly to the Mac should not be necessary, but is a backup just in case iCloud freaks out with the change in the System Photo Library and removes what you uploaded from your phone. It also saves Photos from having to download any of those photos, assuming it finds them to be duplicates of what's in iCloud.


How can I prevent the iPad 2 from playing music in my rucksack? I have an iPad 2.

Sometimes, after I stow it away into my bag, it will start playing music (using the music app) at the most inappropriate times: during class, in meetings... This behaviour seems to be connected to the screen saver feature, but I can't seem to find a way to turn it off!

Is there a way to turn this off, or to at least make it respect the volume setting? The music is audible even with the iPad muted otherwise.

Or am I just too dumb to find the right setting? I'm not excluding that possibility.

  Edit: I have a passcode set.

Arrrgh.

I found the reason, my own stupidity. :) I use a Bluetooth keyboard whose keys are extremely sensitive to pressure when it's stowed in the backpack. It usually goes to sleep when not used, but wakes up when you press a key. The "play" key on that keyboard was what made the iPad blare away.


Can I set up password protection for an external hard drive? How do I set up password protection for an external hard drive?

Password protecting a drive isn't really possible (or even useful) without also encrypting the contents of the drive. Honestly I'm not even certain that's something you can do since, what would the password be granting access to if the contents of the drive weren't encrypted?

So really the question you want to ask is: how do I encrypt an external hard drive?

With Lion you have FileVault to achieve this. FileVault makes it easy to encrypt your primary drive but you can also use it to encrypt the contents of remote storage. Just about any read/write storage media you attach via USB or FireWire can be FileVault'd and secured. The caveat? You can only use FileVault-protected drives on other Lion machines.

MacWorld has a short slide show that walks you through mounting and formatting the disk with an encrypted file system. To summarize the steps:

Mount the drive
Open Disk Utility
Select the drive and click on the Erase tab
For the format pick either Mac OS Extended (Journaled, Encrypted) or Mac OS Extended (Case-sensitive, Journaled, Encrypted) from the list of available options. In most cases you'll want the former.
Press Erase to start the format
You'll be asked to confirm your choice and enter a password for the volume
Once the formatting is complete you'll need to enter the password to be able to mount and view the contents of the drive

If you're not running Lion or you want something that's portable across multiple OSes you can look at TrueCrypt. It's free software for encrypting file systems, much like FileVault, but it's available for Windows, OS X (both Snow Leopard and Lion) and Linux so you can access the encrypted remote media from just about any machine.


Which backups does Time Machine keep or delete? I know Time Machine promises to keep one backup per hour for the past 24 hours, a daily backup for the past month and a backup per week beyond that. What I’m wondering is: if you’ve connected an external Time Machine drive multiple times on a given day, which of those backups gets kept and which ones get deleted?

I had always assumed Time Machine would keep the last backup of a day (and similarly, the last backup of a week), but that doesn’t seem to be true: I made two backups last Sunday and wanted to get a file back from the second one, but found that only the first one is still on the drive. Some digging through the Console logs shows that Time Machine deleted the second Sunday backup yesterday.

Does Time Machine perhaps simply keep the first, rather than last, backup of a day? Or does it use another criterion to decide which backup to keep, for example the smallest or biggest backup of the day?

For hourly backups Timemachine does indeed only keep the "first" backup of the day. This  is a "Daily" backup.

Backups are automatically deleted after a backup is performed and the storage of old backups is set according to this schedule.

Daily backups are deleted after a month except for the first of each week which is a "weekly" backup.

Weekly backups are deleted as space is required, then one or more of the oldest "Weeklies" will be deleted.


How do I install Jalmus? I am trying to install this music reading software: http://www.jalmus.net/Download.html

I downloaded it and double clicked on it and went through the installer. Now there's a file in my Applications folder (OS X) with a bunch of folders in it but no application to run. What else do I need to do?

The application is probably in .../bin. You can either start it from there or (according to the instructions on the Jalmus website) from the commandline.


Keynote: is there an automated way to batch replace images in presentations? I've created a template with several placeholders for images.

I'd like to do the following:

Create a duplicate of the template
Replace images in the template (from a csv or text file)
Export the presentation as a movie
Repeat for the next duplicate

Is there a way to do this with Applescript? Automator doesn't seem to have any Keynote actions that can achieve this.

Yes, there is. The bulk of the script would be this:

--ImageTemp would from your csv file in a repeat loop, but here's an image from the desktop for demonstration:
set ImageTemp to ((path to desktop as text) & "Screen Shot 2018-04-29 at 2.55.28 PM.png") as alias

tell application "Keynote"
    activate
    --Replace an image
    set SlidesCol to slides of document 1
    set SlidesColcount to (count of SlidesCol)
    (*Assuming here that you are going to replace an image in every slide of the presentation with the same image, ImageTemp, which is unlikely, but to not complicate matters:*)
    repeat with i from 1 to count of SlidesCol
        set slideItem to item i of SlidesCol
        set ImagesItem to image 1 of slideItem
        set file name of ImagesItem to ImageTemp
    end repeat

    --Finally, export File as a movie
    set ReceiveV to (path to desktop as text) & "ReceiverContainer.m4v" as string
    export document 1 as QuickTime movie to file ReceiveV
end tell

Of course you will need to edit to fit your presentation (here, for example, the script replaces the first image of each slide) and it assumes that the presentation is open, but you will need to open and close as you duplicate and repeat. But the rest of the script is much simpler: duplicate the file with the finder and put what you need in a repeat loop.


Capture screenshot of one screen with Shift-Cmd-3? We already known that Command-Shift-3 will capture a screenshot of entire screen. But if you have 2 or more display screens, "entire" also means "all of them".

The question is:
Is there anyway (or is it possible) to force Command-Shift-3 capture screenshot of primary display only if I have more than 1 display screen?

Any help would be appreciated.

To capture one window

⌘ Command +⇧ Shift+4+Space and click on the window you would like to capture. The window to be captured will be highlighted.

Other screenshot shortcuts

⌘ Command +⇧ Shift+3: Screenshot entire screen
⌘ Command +⇧ Shift+4: Screenshot a selected area. Click and drag to select an area to screenshot.
⌘ Command +⇧ Shift+4+Space: Screenshot one window or menu.

To save a screenshot to your clipboard and not Desktop, use Control in addition to the shortcuts defined above. When a screenshot is saved to your clipboard, you can paste the screenshot into a document, spreadsheet etc etc.

Apple provides an article on taking screenshots here: How to take a screenshot on your Mac


How to auto-accept cookies notifications as mandated by EU law? EU law forces websites to notify visitors about the use of cookies. Clicking on these messages is quite a nuisance. I've found a plugin on  https://cookiesok.com but this is only available for Chrome, Firefox and Opera.

Does anybody know of something similar for Safari? Or other means to accomplish the same?

Use an AdBlock Filter

Filter the cookie requests using your preferred advert blocker for Safari and the block-the-eu-cookie-s***-list:

  Adblock / Adblock plus filter list for blocking cookie notifications

  Add https://raw.github.com/r4vi/block-the-eu-cookie-shit-list/master/filterlist.txt to your filter subscriptions if you want to block "EU cookie law" notifications and popups.

Please note the swear word in the link is required. Regrettable, as the name will limit widespread adoption.


WiFi hotspot without internet provider knowing? I have a MacBook Pro with ethernet internet access on a corporate network. Due to corporate restrictions I cannot wire any other device to the network.

My solution was to create a wifi-hotspot from the mac to share the internet connection with my other devices.

I have some privacy concerns. Due to personal reasons I would not like anyone else knowing that I am accessing internet from a second device (please note that this is not illegal or any violation of corporate policy, it is only a matter of privacy). So I have some questions.

Can the corporate IT admins know that I am accessing at the internet from a different device than the Mac? That is, the HTTP requests that I make from the other device, go through the Mac and then reach the corporate network, are any different than HTTP requests originating from the Mac directly?

Any unencrypted HTTP packets (web sites or even streaming commercial content like music) would by default contain the User Agent corresponding to the device and browser/app, which would make it easy to distinguish between devices. It would be rather involved to change the user agent for non-browser traffic; some of those packets are generated deep within the OS.

Effectively masking a WiFi-connected device would be very difficult, if not practically impossible (depending on the sophistication of IT), if it is iOS or tvOS, or especially if it is a non-Apple device. Different devices and OSes have different characteristics for traffic they create.

You could encrypt the traffic with a VPN on the WiFi-connected device(s), but this could easily be noticed and is likely to be a red flag to IT.

The easiest combination to hide would be a device identical to the wired device, e.g., a macOS laptop over WiFi to a macOS laptop. Even then, source port number patterns and other markers would be a good clue to IT if they are paying attention.

In addition, the mere act of connecting another device is problematic. Operating a WiFi hotspot is likely to be noticed, even (again, depending on IT sophistication) if you hide the SSID. Triangulation could probably isolate the location to within a few machines. You could tether a device using USB, Bluetooth, or another hardware port, but any connected device will also leave forensic clues on the wired device.


Manually update tz (time zone) database in Mac OS X? Is there a way to manually update the time zone definitions (“tz” database formerly known as the “Olson database“)?

For example, the Java platform provides the TZUpdater tool to install, and even build, a fresh copy of the tz data.

Is there some such tool or workaround for Mac OS X?

I know Apple tends to include updates to the tz database as a part of the regular system updates. But sometimes last minute changes are made to take effect sooner than Apple may release a system update. Also, for older versions of Mac OS X no longer updated by Apple may need fresh time zone data.

The FreeBSD location is

/usr/share/zoneinfo

and the files are there on MacOSX 10.10.5. I'm not sure if updates to those files will be respected by OSX but it's a good place to start.


Apps stuck in pending update status? I used my MacBook Pro and iTunes to download updates for my mobile apps. I then sync'd and the apps were updated. I verified they were updated through the device's Settings app.

However, when I visit App Store on the mobile device, the apps are shown as Pending Updates status even though they are up to date (see image below). I've opened the app several times, and it has not cleared the incorrect status problem. I've rebooted the device several times, and it has not cleared the incorrect status problem.

I also cycled App Store in the Notifications center with no joy. The App Store app still claims the apps are pending updates.

How do I clear the Pending Updates status?

The MacBook Pro is running OS X 10.8.5 (fully patched). The iPad is running iOS 8.2 (fully patched).

iOS 9.2

Option 1:
Try going to Settings -> iTunes & App Store -> and under Automatic Downloads, toggling the Updates switch next to the App Store logo. Now keep the Settings app open, ensure the App Store is closed, and reopen it. If this works, switch back to the Settings app, and toggle Automatic Downloads for Updates back on; if this doesn't work, still switch back to the Settings app, tap your Apple ID, and sign out of the App Store. Restart your iOS device (for safe measure), then sign back into the App Store with your Apple ID.

Option 2:
Backup your iOS device. Delete the apps pending updates, and reinstall them. This will force the apps to be flushed from the App Store as they no longer exist on your iOS device, but you'll also remove any data contained within the apps. You can easily reinstall the apps by opening the App Store, going to Updates -> Purchased, and downloading the apps from there.


How do I change the login screen background in macOS Big Sur? I'm asking for help with FileVault enabled.
A similar question was answered  for Mojave, but their Swift program doesn't work in Big Sur because /Library/Desktop Pictures/Mojave.heic no longer exists.

The background of the login screen is in this location
/Library/Caches/Desktop\ Pictures/<a specific string>/lockscreen.png

If only one user is registered on your system, you will see a folder with a picture that is displayed on your lock screen and one from the system for which you first need higher rights to view it.
The lock screen folder of the system is there so that if, for example, several people are registered and just want to log in, this image then appears for everyone. The system doesn't know exactly who wants to log in, so there is a lock screen for everyone first. But if the user has clicked on his profile and wants to enter his password, he will see his lock screen again.
By the specific string, I literally mean the UUID, which you can look up:
Go to System Preferences > Users & Groups > Your Account > Right Click (Advanced Options) > Now you will see your UUID


Why can't I open the Creative Cloud folder in terminal I am new to the terminal but find the ability to navigate folders quite handy, so I wanted to cd into the Creative Cloud Files folder but for some reason it doesn't seem to be working do you know what may be the cause here?

To access the folder Creative Cloud Files you have to escape spaces in the folder name:

cd Creative\ Cloud\ Files

or use quotation marks:

cd "Creative Cloud Files"

You can also use the tab key after entering the first letters which will then auto-expand the folder name if the entered string is unique in the directory:

cd Cre tab which will expand to cd Creative\ Cloud\ Files/then.

If the same directory also contains a folder e.g. Credentials you have to enter an additional character (which makes the string unique) to get an auto-completed folder name.


Stream Netflix movie from iPhone to Mac I have a 2017 MacBook Pro and an iPhone 8. I use Netflix app on my iPhone and have downloaded a movie in it for offline viewing.

Is there a way for me to stream the movie on my iPhone onto my MacBook? I can use the MacBook's larger screen for better viewing experience.

Can download Netflix on to phone but can't seem to do it on Mac?

Stream from your iPhone or iPad or iPod Touch to your Mac

The Netflix app for iOS supports AirPlay, a proprietary protocol stack developed by Apple, which allows wireless streaming between devices of multimedia content. This means that you can stream Netflix movies and shows from your iOS devices to any AirPlay-enabled devices over local Wi-Fi. And because the app also supports offline downloads, you have everything you need to enjoy Netflix offline on your Mac. Well, almost everything. You also need an app like AirServer so you can receive AirPlay streams on your Mac.

The easiest and proven solution is to access Netflix via Google Chrome browser on your Mac as @Nimesh Neema explained. You can even stream to any TV using Chromecast in Google Chrome browser and with $35 Cast dongle device (at any best buy) that plugs into any TV with HDMI plug.


accountsd process uses all CPU - AMSAccountStoreCache error the process accountsd is using more than 300 % of my CPU. The error messages in the console that appear are:

AMSAccountStoreCache: [AF547297] An ACAccountStore has no associated media type. Returning the default media type for the current process. accountStore = AMSAccountStoreCache | defaultMediaType = com.apple.AppleMediaServices.accountmediatype.itunes
"Cannot check access to a private account type: com.apple.account.AppleAccount"

What I already tried from other questions:

Remove Mail accounts
Remove calendar accounts
Stop Spotlight from indexing your HDD
Kill AppleSpell and delete Spelling folder

Still the same error. Any ideas? Thanks!

I also tried some things, like removing keychain with a UUID name, but that did not work. For me signing out of iCloud account solved the 300% CPU of accountsd.


why ping registry-1.docker.io returns Request timeout for icmp_seq even when I can nslookup or dig? I used google and cloudflare and  can dig with both set as DNS server on my mac.
$ dig registry-1.docker.io

; <<>> DiG 9.10.6 <<>> registry-1.docker.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16322
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;registry-1.docker.io.      IN  A

;; ANSWER SECTION:
registry-1.docker.io.   5   IN  A   107.23.149.57
registry-1.docker.io.   5   IN  A   34.195.246.183
registry-1.docker.io.   5   IN  A   23.22.155.84
registry-1.docker.io.   5   IN  A   34.238.187.50
registry-1.docker.io.   5   IN  A   52.1.121.53
registry-1.docker.io.   5   IN  A   52.5.11.128
registry-1.docker.io.   5   IN  A   18.213.137.78
registry-1.docker.io.   5   IN  A   54.236.165.68

;; Query time: 62 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Feb 20 23:32:34 GMT 2021
;; MSG SIZE  rcvd: 177

worked with cloudlfare too
$ dig registry-1.docker.io

; <<>> DiG 9.10.6 <<>> registry-1.docker.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64168
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;registry-1.docker.io.      IN  A

;; ANSWER SECTION:
registry-1.docker.io.   29  IN  A   54.236.165.68
registry-1.docker.io.   29  IN  A   52.1.121.53
registry-1.docker.io.   29  IN  A   54.85.56.253
registry-1.docker.io.   29  IN  A   34.238.187.50
registry-1.docker.io.   29  IN  A   34.195.246.183
registry-1.docker.io.   29  IN  A   54.236.131.166
registry-1.docker.io.   29  IN  A   18.232.227.119
registry-1.docker.io.   29  IN  A   52.54.232.21

;; Query time: 60 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Sat Feb 20 23:30:34 GMT 2021
;; MSG SIZE  rcvd: 177

using nslookup too gives result:
$ nslookup  registry-1.docker.io
Server:     8.8.8.8
Address:    8.8.8.8#53
Non-authoritative answer:
Name:   registry-1.docker.io
Address: 54.236.165.68
Name:   registry-1.docker.io
Address: 54.85.56.253
Name:   registry-1.docker.io
Address: 3.211.199.249
Name:   registry-1.docker.io
Address: 34.195.246.183
Name:   registry-1.docker.io
Address: 52.55.168.20
Name:   registry-1.docker.io
Address: 34.238.187.50
Name:   registry-1.docker.io
Address: 18.232.227.119
Name:   registry-1.docker.io
Address: 54.236.131.166
but when I try to ping this is what I am getting:
$ ping registry-1.docker.io
PING registry-1.docker.io (54.236.165.68): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4

I was trying to build a pod when I discovered this issue ! and I am getting ImagePullBackOff while trying
kubectl run redis --image=redis:alpine

The inability to ping the name does not in any way indicate a problem with your setup or anything else.
Using dig and nslookup allows you to look up the IP-addresses linked with the name registry-1.docker.io. This works fine for you and you get a list of IP-addresses.
Now when you ping the name - only one of the IP-addresses will be chosen to be pinged. If the system behind that IP-address has chosen not to respond to pings, you'll get the "Request timeout" message you're seeing.
It is perfectly valid for server operators to choose that they do not want to reply to pings. It does not indicate that the server is down, that the network is flawed, or anything of the kind.
The ImagePullBackOff message you're seeing can be caused by multiple things. I would advise using the kubectl describe command to get an idea of what happened.
It could be for example that you have specified an image that actually do not exist, or that you have specified a private image without giving the proper credentials.


Share the clipboards automatically when using Apple Screen Sharing? Is it possible to share the clipboard of my local machine and a remote machine automatically when using OS X's built-in Screen Sharing utility? The whole Edit -> Send Clipboard, Edit -> Get Clipboard routine starts to feel a little cumbersome if you're doing any regular copy and paste work between your local desktop and a remote session.

Unfortunately, it doesn't seem like the clipboard can be shared automatically. However, instead of going Edit->Send Clipboard and Edit->Get Clipboard, you can use the get/send clipboard buttons:

They're usually hidden by default, but you can get them to appear by clicking this button in the upper right hand corner of the window:
 or going View->Show Toolbar


Where can I find ALL of the memory specs for the Mac Pro? I have a Mac Pro (Mid 2012) with stock RAM, and I'm aware of the usual info about what it's using, e.g. DDR3 1333 PC3-10600E SDRAM, but I want to know more. I understand there are specs such as voltage, timing, bandwidth, rank, registration, and chip configurations.

Where can I find this info for the RAM I currently have instlaled in my machine? Is there some kind of software utility for it? Something I can decipher off of the RAM sticker?

Aha! A quick google search with the alpha-numeric code on the sticker of my RAM led me to the manufacturer's (SK hynix) website, where they have complete details on this particular make of RAM.

https://www.skhynix.com/products/computing/view.jsp?info.ramKind=20&info.serialNo=HMT325U7CFR8C

However, I still wonder if there is software that could have told me all this information.


Folders in Apple Notes app How do you determine what folder a note resides in, in the Notes app? I have about 20 folders and put 30 or so notes in many folders.
All databases use to have some way to view a path.

It does depends on what iOS device you are using but generally
The title above all the notes in that folder indicates the folder name, as shown in the picture.
If you are editing inside the note on an iPhone for instance, the back button is titled with the folder name.


Documents or Desktop not Staying in Favorites in Finder Mac Whenever I add the documents or desktop folder to favorites on macOS Sierra, it stays there for some time but then disappears. Is it a problem with iCloud Drive?

Update: It still occurs in macOS High Sierra. I tried booting into safe mode, resetting PRAM and SMC, resetting finder preferences, but it still doesn't fix the problem.

You can see it here:
https://youtu.be/TJubgY3tUKM

Im not sure what is causing this, but you could try force quitting Finder. Go to the Apple icon in the top left corner and select the Force Quit option. A menu will pop up and you can click on Finder to restart it. Also, if you open the Finder preferences you should be able to select which folders appear in the side bar.


Prevent Network-Discovery on Infrastructure side The Finder displays nearby Computers and Devices in the left column whenever a network connection is present.

Sometimes we let clients use our network when we discuss projects in meetings (aka they bring their Notebooks along). In some cases we would prefer if they couldn't see all the machines and devices in our network.

Is there a way to prevent the discovery of other network clients on the infrastructure side? I tried blocking Bonjour traffic, however, the Macs are still able to see who's around?

It's possible to block Bonjour traffic by configuring pf to disallow:

MAC addresses:
01:00:5E:00:00:FB – IPv4
33:33:00:00:00:FB – IPv6
IP addresses:
224.0.0.251 – multicast IPv4 address
FF02::FB – multicast IPv6 address
UDP port 5353

However, this will also impact your own regular and "desirable" hosts.

One possibility is to configure a VLAN and set it up as default network for your clients. A VLAN - properly set up - spans its own broadcast domain which can't be bypassed or bridged by Bonjour traffic.

You need appropriate devices in your network environment to be able to create VLANs.


Hidden Launchd Process I have a process on my computer which keeps logging to the system.

May  2 19:50:06 laptop com.apple.xpc.launchd[1] (com.coconut-flavour.coconutBattery-Helper[23430]): Could not find and/or execute program specified by service: 155: Refusing to execute/trust quarantined program/file: com.coconut-flavour.coconutBattery-Helper

I cannot figure out where the process is located.

What I have tried:

sudo launchctl list | grep com.coc

sudo find / -iname com.coconut-flavour.coconutBattery-Helper

I have also tried sampling and finding the process in the launchd service in activity monitor.

It does not seem to exist. Anyone know what could be going on?

Forgive my absence and untimely response. Okay, let's take this to the next level.

Let's attempt to locate either coconutBattery or Sparkle, a dependent, apparently.  Do you find a 'coconutBattery.app' in /Applications, or any similar app?

sudo find /Applications -iname "*coconut*" -print
sudo find /Applications -iname "*sparkle*" -print

Is there a relevant package receipt in the package utility?

sudo pkgutil --pkgs | grep -i coconut
sudo pkgutil --pkgs | grep -i sparkle

A brute method to find plists, preference files:

sudo grep -l -i "coconut" -r /System/Library/
sudo grep -l -i "sparkle" -r /System/Library/
sudo grep -l -i "coconut" -r /Library/
sudo grep -l -i "sparkle" -r /Library/

sudo grep -l -i "sparkle" -r /private/var/
sudo grep -l -i "sparkle" -r /private/etc/
sudo grep -l -i "coconut" -r /private/var/
sudo grep -l -i "coconut" -r /private/etc/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Interesting situation.

First, let us determine in what user-context the service is running: login user, or root.  I suspect that the service might be running in the login user context, which would explain why you will not find it by running 'launchctl list' as root ( via sudo ). A quick check:

launchctl list | grep -i "com.coco"

Avoid prepending 'sudo' to the launchctl command.

Also, the process id is reported in the syslog messages -- found within the block brackets [ ].

  com.coconut-flavour.coconutBattery-Helper[23430]

The PID is 23430, in that example. I suggest using a ps like this:

ps -wwwAxo pid,ppid,state,%mem,%cpu,command | grep -i coco

Or grep the PID you discover from the syslog like this:

ps -wwwAxo pid,ppid,state,%mem,%cpu,command | grep 23430

If my hunch is correct, and it is under your login user's context that the service runs, then locate the offending plist in something like:

/Users/[your login user's short name]/Library/LaunchAgents

A quick-and-dirty method:

grep -r -i "coco" ~/Library/LaunchAgents/

This should identify the offending sneak.  If not, please let me know and we will then take the hunt to the next level.


Sync data on external drive to iCloud I have an old iMac running macOS High Sierra 10.13.6. My internal drive was filling up, so I connected a 4 TB external drive.

On my internal drive, my Documents folder contained about 8 GB data. I created a Documents folder on the external drive and moved the contents from internal Documents folder to the external Documents folder, clearing up some space.

However, the internal Documents folder was connected to iCloud. Is it possible to connect my external Documents folder to my iCloud account? If so, how do I do this? I know I can login to my iCloud account and create a new folder and upload files to it. Problem with that is that I have many folders in my new Documents folder, and it won't allow me to upload folders so I'm looking for a way to make the whole Documents folder attached to icloud.

You can move the Documents folder to the external drive and create a symbolic link to Documents folder present on the external drive in your Home directory.

Follow the steps mentioned below:

Move the contents of the internal Documents directory to external Documents directory.
Rename the internal Documents directory. (You'll need to do it via Terminal by executing mv ~/Documents ~/Documents-old as Finder won't allow renaming.)
Open Terminal and create a symbolic link to the external Documents directory in your Home directory.

ln -s /Volumes/<EXTERNAL_DRIVE>/Documents ~/Documents

Now verify that the iCloud sync is working all-right. The old internal Documents directory (which was renamed in step 2) can be safely deleted.


How to delete all iOS Mobile Applications in iTunes except ones being used? I have many gigabytes of old iOS applications on the computer, which originate from my iPhone/iPad that are synced to the computer.

These applications are visible in the main roll-down menu in iTunes 12.5.1 under Apps, and on the macOS hard drive in ~/Music/iTunes/iTunes Media/Mobile Applications as .ipa files.

I know that iOS apps that are still available in the App Store can be re-downloaded if they've once been purchased (free or not), but that withdrawn apps can only be restored from the aforementioned iTunes library.

I do not care about keeping backups of apps I don't actively use – and I don't keep on the devices any old apps withdrawn from the App store – so I would like to delete everything and then restore apps that I currently use on my iOS devices.

What is the best way to delete all the applications and then restore them? If I delete them in iTunes, will syncing my iOS devices recreate the currently used applications again?
If so, is that done by backing up the application from the device, or downloading it onto the computer from the iTunes "app" store – thereby not backing up the app data itself (assumingly, this is something that is done within the iOS device backup in iTunes, not in the App tab)?

Note: The question is not about how to delete Mobile applications (this can be done by right-clicking the apps in the roll-down App view in iTunes, but not under the App tab under the iOS device view). The question is about how to purge unnecessary Mobile Applications from the Mac.

Apparently (based on a comment on my answer in the question you linked), syncing a device with iTunes no longer transfers purchased apps from the device to the computer.

There is no automatic way to "restore" all apps that you want into your iTunes library. Each one would need to be re-downloaded through iTunes. From the Apps section of iTunes, if you go to the App Store tab, there is a Purchased link on the right-hand side a few items down. From there just click on the cloud with the down arrow in the corner of the icon for each app you want to re-download. you can sort that list alphabetically using the Sort drop-down toward the upper-right.

I don't know if there's an easy way to get a complete, alphabetical list of all 3rd-party applications installed on your device. Settings > Cellular will show you a list, but I don't know if it's complete. (I think it should be, though.) Settings > scrolling down past Apple settings will show you a list, but I believe it's only apps that have permission requests built-in, or something exposed for the settings app; I don't believe it's everything. Settings > General > Storage & iCloud Usage > Storage > Manage Storage will definitely show you a complete list, but it's not alphabetized.

You are correct that, even when apps were copied from the device to the computer, user data was not included as part of that. Data from apps is only copied when making a backup.


Why does my MBP say it was restarted "because of a problem"? Since upgrading my MBP from Lion to Mountain Lion, every time I restart (planned restart, with nothing abnormal - I even close all applications before selecting Restart), my MacBook briefly shows the message "Your computer restarted because of a problem" when booting. Then, once I've logged in, I also see a dialog that says "Your computer was restarted because of a problem". As far as I know, there is no problem; everything seems to be working normally.

How can I begin to diagnose or get rid this? It's merely a cosmetic issue, I think, but it is annoying. I have read this Apple support document, but that only seems to be relevant in the scenario where the Mac crashed because of a kernel panic. As far as I know, mine didn't.

I had the same annoying issue on OSX Mavericks (10.9.2), and resetting the NVRAM / PRAM as per Andrew Ferrier's answer didn't resolve it.

Instead, I opened a Terminal window and found a week old Kernel .panic file in /Library/Logs/DiagnosticReports/

I simply renamed it to .panic.old with the following command:

sudo mv Kernel_[rest_of_filename].panic Kernel_[rest_of_filename].panic.old

After a reboot I no longer get the annoying message!


Hide backup drive from guest user I have a backup drive connected to my mac mini, which I just upgraded to yosemite. I created a guest account, and unfortunately, the guest can browse the backup drive. Is there an easy way to prevent that?

If you use TimeMachine you can encrypt the backup. Go to system preferences, (re-)select the drive and tick the checkbox for encryption.
As for the external drive as a whole, you could only apply certain permissions to folders using the information screen (right click the specific folder) or use a drive that supports password protection.


Use a Mini Displayport cable to connect a Late 2013 rMBP to a 2009 iMac? Can I use a male to male Mini Displayport cable to connect a Late 2013 rMBP to a 2009 iMac?

I want to use the 2009 iMac as a secondary display for the rMBP.

My late 2009 iMac works as an external display for my Early 2013 15" Retina MacBook Pro, and for my Mid 2014 15" Retina MacBook Pro, using this cable. Both laptops have Thunderbolt; the iMac does not have Thunderbolt.

I don't have a Late 2013 Retina MacBook to test, but it seems reasonable to assume it has the same compatibility.


How can I bring a window to frontmost without focusing it using Applescript in OS X 10.8 I want to bring a window (QuickTime for example) to frontmost, without focusing it. I can do it in OS X 10.7 using the following code in Applescript.

tell application "System Events"
    set visible of process "QuickTime Player" to true
end tell

This is a Python equivalent.

from ScriptingBridge import *
process = SBApplication.applicationWithBundleIdentifier_('com.apple.systemevents').processes().objectWithName_('QuickTime Player')
process.setVisible_(True)

But it does not work after I upgraded to OS X 10.8. Is there any way to make it work?

If an application has open windows, this should raise them above windows from other applications, but keep them below ones from the current application.

tell application "System Events"
    perform action "AXRaise" of window 1 of process "QuickTime Player"
end tell


Schedule a Mac to sleep, just one time Is it possible to schedule a Mac to sleep just one time? I know I can set a schedule for it, but I want to have control over it.

So occasionally I'll go to bed but leave a file transferring, and I want the Mac to sleep about an hour from now. So how would I go about doing that, without setting a long-term schedule?

The pmset terminal command should do what you want.  The following will put the computer to sleep at 23:45:00 on December 2, 2014.  The command must be run from an administrator account though:

sudo pmset schedule sleep "12/02/14 23:45:00"

The MM/DD/YY date format cannot be changed; so, if you are used to a different format, use caution.

If you do this on a regular basis, you can write a function and save it to your ~/.profile:

# Schedule sleep in X minutes, use like: sleep-in 60
function sleep-in() {
  local minutes=$1
  local datetime=`date -v+${minutes}M +"%m/%d/%y %H:%M:%S"`
  sudo pmset schedule sleep "$datetime"
}


Mac nl only takes lines 2048 chars long I'm having an issue where the Mac version of nl will mark a new line after 2048 characters.  I tried it on Linux, and it doesn't do this.  Any idea why it does on Mac, and how to fix it?

From man nl:

BUGS
     Input lines are limited to LINE_MAX (2048) bytes in length.

To fix, you can either patch the source yourself (might need some work) or get the source for the Linux version (which is probably available on any GNU server).


Caps Lock not working on 10.6.7 my caps lock key doesn't work. I changed the keyboard and it also doesn't work with the new one. Now, every other key works fine, and if I go to pref pane> keyboard and replace caps lock with say option key, then it lights it up, so I know that's not broken.

This is an old macbook pro, 15 inch, 2ghz, but with Leopard worked fine and now it doesn't.

Has anyone come across something similar?

Have you checked to make sure that your CAPS LOCK key is turned on in your Keyboard Preferences?

Go to System Preferences -> Keyboard -> Modifier Keys. Make sure next to Caps Lock, it says Caps Lock and not "No Action".

Also, do you have any 3rd party Keyboard Modification Preference Panes installed, like KeyRemap4MacBook or PCKeyboard Hack? Those can be used in various ways to disable or otherwise alter the CAPS LOCK behavior.


Can Mail warn when emailing certain addresses? I have my own personal mail account (a gmail account) and my academic email account (a university account) as different profiles on my Mail application in OS X Snow Leopard. I sometimes forget to switch the outgoing account to my university account when emailing my students and it will send from my gmail account instead. This is not a huge deal but I would prefer to have my students never get mail from my gmail account.

Is there a way to have Mail warn you when sending to a certain address (or an address that has a certain keyward in it?)

Yes, you can have Mail put certain addresses in the to field in black and all others in red.
I use this to have Mail flag email that's going outside my organization.

Do this by going to Preferences > Composing.
Then under the "Addressing" header check "Mark addresses not ending with [ ]."  Inside the box put ".nameofyourschool.edu".
Then every email address destined within your school will be black, and all others will be red.
Just the thing to ensure FERPA compliance.


Failed to authenticate with Google Just recently, I have been dealing with this frustrating problem of my apple mail not being able to authenticate my Google account. I tried different gmail accounts, removing and re-adding the accounts, rebooting my Mac etc. Still no use.

Can someone guide me through the process of getting this issue fixed? It is super frustrating for me to not be able to check my email using Apple mail.

I had this same issue now, I think. I had updated the password for my gmail account and needed to re-authenticate the Google account in Mac OS. When I went into System Preferences > Internet Accounts I got a dialog saying I needed to re-authenticate and when I clicked the "Open Safari" button in the dialog I just got an error message saying Failed to authenticate with Google.

Solution was to restart my computer, after that it worked just fine.

(I also set my default browser to Safari as recommended on reddit but that didn't help before the restart so I don't think it helped at all)


Make the window title less chunky in big sur In Big Sur the window title bar looks too chunky in icon only mode. It looks like the bar was designed for "Icon + Text" but doesn't shrink when you remove the text.
Example:
Icon and Text:

Icon only:

Text only:

Is there a way to shrink the size of the title bar so that it doesn't look so chunky. So it looks more like this:

good news, the chunky bars problem is being worked on:
here's MEMiniMe.
it needs macForge, and it isn't working on mac m1 yet as far as i know, but hopefully ..soon.. we'll have a solution for these horrible fat bars.


iMovie 10 Project Lost I created a new iMovie 10 project and there was no option to associate it with an event when I created it, which there is when I create one now. I have not updated iMovie since I created the project. After working on the project for a day, I quit iMovie and opened it back up. The project was missing. How do I get it back?

Make sure that it shows nothing over here:  under today's date or the title that you have given it. If there is indeed nothing, then try File > Update Projects and Events. If it still doesn't show up, then your only hope is that you have a time machine and that you backed it up.

Just asking, what version of iMovie are you using?


iTunes 11 does not record Play Counts anymore? I was playing an album the other day and noticed that none of the songs being played are incrementing their play count. I am running iTunes 11.0 and would like play counts to work like before.

What is happening and can I fix this?

According to some articles I've read on the net, it's a design flaw by Apple - disabling crossfade will make the playcount start to work again.


Can an iPad be charged faster with a third party power adapter? I recently came into possession of a Samsung usb charger. This charger has double the power output of the standard apple one (5Vx2A instead of 1A). Of course, it would be nice to decrease the charging time of my iPad (3rd gen) with this adapter. Since I don't have the equipment to measure the power consumption of an iPad during charging I can't produce reliable data on this issue.

I was wondering if somebody ever studied the charging times of mobile apple devices (most notably the iPad) with third-party chargers and could share some  data (like power consumption, charging times, ...) on it.

The standard iPad charger is 2.1Amp at 5V. The 1amp is for iPhone and charges slowly, or not at all if you're using it at the same time.

The 2Amp one will charge it much faster. Works very well with iPhones too.

http://gizmodo.com/5535631/the-fastest-and-slowest-way-to-charge-an-ipad


Sharing folder or adding user to folder permissions using Finder's Get Info not possible I used to be able to add (or remove) users to this folder via Finder's Get Info. Today I noticed I was not able to do that anymore:

When I select the Lock icon in the lower right hand corner and enter an administrator's credentials, the [+] icon in Get Info stayed disabled.

What is going on?

/* Posting this here in case someone else encounters a similar issue. */

This happened on a volume on an external drive. I took a look in Terminal:

Boxx:Test Alex$  ls -la /Volumes/External\ Drive/Users/Test
total 0
drwx---r-x+ 3 Test  501    101 17 Aug 18:56 .
drwx---r-x@ 6 root  admin  203 17 Aug 18:52 ..
drwx------  9 Test  501    305 26 Aug 21:00 Documents

To see if I could change anything via Terminal I tried

sudo chmod 755 /Volumes/External\ Drive/Users/Test/Documents/

and got as response

  chmod: Unable to change file mode on /Volumes/External Drive/Users/Test/Documents/: Read-only file system

That then indicated to me that something was not right with the way the volume was mounted. I don't know why it mounted as read-only, but remember not seeing it at first among the volumes in Finder. So I did Shift+Command+G and entered the volume path before:

The volume mounted, but seemingly only as read-only.

Unmounting and re-mounting it again solved the problem above.


iOS10 restrict "Look Up" feature to dictionary alone I have just upgraded to iOS10 and found that the "Define" feature (that appears after selecting a word) has been replaced with "Look Up", which now
pulls the suggestions from various sources on internet besides the local dictionary.

Is there a way to restrict this "Look Up" feature to search in local dictionaries alone? I couldn't find any solutions on the internet as of today (14th Sep16).

The instructions are in the "About Lookup & Privacy" that you read before using it for the first time... I can't figure out how you could get to see that a second time, fortunately I grabbed a screenshot while I was there.

Settings > General > Spotlight Search - disable Suggestions, for Search &/or Look up.


Share Time Machine disk to WAN through my Asus router My Asus Router (Blue Cave) has the ability to let its disk act as a Time Machine capsule.  For computers on its LAN, that works just fine. You can see the disk advertised (via Bonjour?) in the sidebar of Finder, select it via Time Machine, and back up.

Upstream from the Asus router and its LAN is another Mac, which provides them internet.  The WAN IP for the router is 192.168.2.2 and its parent Mac has the IP 192.168.1.2. On parent mac, I mount afp://router.wan.ip, but can't just mount it without hassle from the Bonjour advertisement.

I'm having a lot of trouble backing up to the disk from both simultaneously.  It's as if mounting on the one "steals" the disk from the other.  They end up telling me they want to do a new backup and they don't have access to delete their .sparsebundle.purgeable and I should probably run first aid on the disk.

Per @klanomath's request, the network architecture is as follows:

modem to internet (internet IP space)
wired router (192.168.1.1/24)
mac mini (192.168.1.2)  sharing internet via pf static NAT
network adapter (en4) (192.168.2.1)
asus w/ network disk (192.168.2.2, serving 192.168.3.0/24)
macbook (192.168.3.251)

It would be really nice to properly forward Bonjour or whatever is
allowing it to be visible in the Finder sidebar (have already tried
forwarding 1900,5300,5351,5353 to 192.168.2.2.

This is not how Bonjour/Zeroconf was intended to function.

Bonjour only works within a single broadcast domain, which is usually
a small area, without special DNS configuration. macOS, Bonjour for
Windows and AirPort Base Stations may be configured to use Wide Area
Bonjour which allows for wide area service discovery via an
appropriately configured DNS server.

Emphasis mine.
Bonjour is a broadcast protocol meaning while on the subnet, it will broadcast out a message to see who responds.  The key here is that it doesn't know the IP addresses of any machine (service) until it responds back.  That's how Finder puts it in the sidebar as you describe.
You can't just enable Bonjour on the WAN or the Internet for that matter.  MIT's IT knowledgebase sums it up:

"While ZEROCONF and Bonjour work well on home or small business
networks, they are not compatible with large enterprise networks which
can frequently have thousands of devices in the same wireless address
space. ZEROCONF relies on multicast traffic to discover devices on the
network, which exhibits crippling performance and load issues on large
enterprise network implementations. Even if it were enabled on the
network, results would be slow to return and potentially return lists
of hundreds of devices to choose from, which can be unmanageable on
devices such as iPhones or iPads."

Just for the sake of argument... if you were able to send out your broadcast packets over the Internet (via WAN), your ISP would most certainly block it because of the massive amount of traffic you would be generating.
Bonjour is basically DNS
It not about port forwarding "Bonjour."  It's much more than that. Currently, you don't "port forward" DNS ports.  Bonjour is a "DNS method".
You don't port forward DNS from your ISP to your computers so you can look up a domain.  Your router either assigns the DNS servers during DHCP so you can query hosts/domains directly or acts as a relay to forward them to the actual DNS servers.
What does this mean?
(Remember the emphasized text at the beginning of this answer?) Technically speaking, you can get Bonjour to search another domain by adding that domain record into DNS (you're telling Bonjour to go search somewhere else).    However, it requires the following:

An Authoritative DNS Server you control
Manually adding Bonjour to that Server
Setting up a Bonjour Name Server

If this is something you're willing to do, then start with learning BIND.
Connecting to Time Machine Shares
To connect to an internal AFP share so you can "Time Machine" across the network, you need to open those ports.  See:  What ports need to be open for netatalk to work as a Time Machine server on my LAN?
In my cursory reading of the Asus router manual, (IMO) it's not capable of this level port forwarding.
Personally, I would set up a VPN between to the two networks, routing all traffic through the VPN thus making it my subnet.  Bonjour traffic will traverse the VPN "autodiscovering" everything. AFP will be immediately accessible as all traffic traverses the VPN without impediment of the firewall; meaning no port forwarding.
Bottom Line
This is not an effective nor productive solution.  Time Machine was designed to work on the local network.  Backups to a network connected Time Capsule over Gigabit can take hours.  Significantly longer over WiFi.  Connecting over the Internet at speeds that sometimes don't even reach 1/10 of that speed would take an eternity.
To get Bonjour service discovery setup to connect an AFP share to share a Time Capsule will require a ton of expended effort for hardly any results, if at all.


If you cancel your Apple Arcade subscription and then later resubscribe, can you continue your games where you left off? Let’s say I end my payments and then resubscribe later. My concern is to continue my games where I left off once I start paying again.

Basically, does cancelling the subscription preserve game data or remove it?

Yes.

As per the Apple Support document:

Access your Apple Arcade gameplay data on all of your devices:

  If you cancel Apple Arcade

  If you cancel your subscription to Apple Arcade for any reason, you can resubscribe and still access your gameplay data. If you wait too long, some of your game saves might not be supported by the time you resubscribe.

  If you're not an Apple Arcade subscriber, you won't be able to play any Apple Arcade games, even if you downloaded them to your device. Delete the apps if you don't need them anymore, or resubscribe to keep playing.


Is the Google Translate Phrasebook Syncing not available in the iOS app? Is the Google Translate Phrasebook Syncing not available in the iOS app?

I can't find my phrasebook listing. It seems the list on the iPhone is not stored online as for the web. I suspect they implement it for Android only.

Sorry, the Google Translate App for iOS does not synchronize with your account.  The phrasebook only synchronizes in the web and Android versions.


Create a LAN between Mac Mini and two MacBooks without internet I have a Mac Mini (with USB 3.0 ports, one Thunderbolt port, and one Ethernet port) and two MacBooks (both with Thunderbolt and USB 3.0 but no Ethernet ports).

I want to use the Mac Mini as a central repository (essentially a NAS or external hard drive) for video footage that the two MacBooks can transfer files from at the highest possible speed.

I've considered and researched the following things and haven't found a solution:

USB 3.0 male to male crossover cables (don't exist)
Ethernet crossover cable network (MacBooks don't have Ethernet jacks, would this work with Ethernet to Thunderbolt adapters?)
daisy-chaining Mac Mini → MacBook 1 → MacBook 2 using Thunderbolt (not sure if this is possible, can anybody verify?)

If none of these options are possible, I guess I'll have to connect the Mini to the network via Ethernet and hope transfer speeds are decent.

I think this is what you're looking for as a cheap and easy solution:

http://store.apple.com/us/product/MC704ZM/A/apple-usb-ethernet-adapter

or:

http://store.apple.com/us/product/MD463ZM/A/thunderbolt-to-gigabit-ethernet-adapter

Get a switch, plug your three computers into it via ethernet, and configure them all with static IPs on the same subnet. You can also run a DHCP server on the Mini if you want, but it's not required for this sort of setup.

If you really want the absolute fastest, you'd need to use IP over Thunderbolt directly, but that's getting rather more complicated: http://forums.macrumors.com/showthread.php?t=1657957 Not even sure there are Thunderbolt networking switches available yet.


(Jailbroken) iOS 7 stock apps missing on springboard All apps from private/var/stash/Applications.xxxxxx are missing suddenly. I can't exactly say when that happened, don't think it was any specific Cydia tweak.
I still can ssh into my iPhone and see that the folder is still there, but the applications inside it won't show up on springboard. I already created a new symlink into root ("/") and I made chmod 775 for the applications folder. I've run out of ideas and would like to avoid a full restore. What could be wrong and what can I do?

It's a Springboard glitch where the apps aren't shown.

Install (or reinstall) a tweak in Cydia, then respring.
Delete /var/mobile/Library/Caches/com.apple.mobile.installation.plist then respring.
Run uicache as mobile, then respring.


Factory Settings to Speed Up Mac? My iMac (2010, i3, 3.06 GHz, 4GB RAM) has been getting a little slower. My research shows memory can cause a slow performance, so I looked and most of the time, my RAM is allocated like this:

.

Would resetting my Mac to factory settings increase performance/speed it up?

I would say, that your RAM usage is not the issue, but you would need to edit in some more measurements about what is slow (or make the detailed measurements in the first place) and look at perhaps network latency (web pages take a while to paint), network bandwidth (iTunes movies take hours to download instead of minutes), or CPU perhaps.

In the RAM snapshot, the system looks to be used lightly, due to a small amount of inactive RAM and the large amount of free memory. Over time, if your programs need more than half the RAM for active and wired, you would see a speed up when switching between seldom used apps if you doubled your RAM so that rather than releasing memory, the system would build up a larger cache of "inactive" memory, but that's just speculation.

Why not pick one or two things that seem slow to you and make 10 measurements on how long they take. At that point you can ask a more pointed question or perform the restore and re-test the speed to see if your change made any difference.


How do I make an AppleScript file into a Mac App? I have an Applescript that simply opens a Dialog Box, asks for a user input and runs a Terminal Command and spits out the answer. It works great in AppleScript Editor yet I am trying to work out how I could package this Script File along with an icon to make a Mac App for my personal use. Thoughts.

In Script Editor, select File > Save As and set File Format to Application. (In Mojave and later, the Save As choice in the File menu is not visible unless you hold down the Option key.)
Open Bundle Contents drawer and see the applet.icns file, copy your icon to that.
See "Saving a script as an application" in Script Editor help.


Why is screencapture taking the screenshot of the desktop image and not the windows on top in Catalina? Why is screencapture command only takes the screenshot of the desktop image and not the windows on top in Catalina?  I keep on trying on Catalina compared to High Sierra or Mojave where this is not the case with screencapture command.

Here is the link to the shell script on my Github: https://github.com/shyamalschandra/screenshot2speech The relevant command is

screencapture -s ~/Downloads/screen.png

http://osxdaily.com/2011/08/11/take-screen-shots-terminal-mac-os-x/

Instead of screencapture -s ~/Downloads/screen.png source where -s is for

  Only allow mouse selection mode.

try -w. It will show a camera icon and wait for you to select a window. Hit esc to cancel the process.

screencapture -w ~/Downloads/screen.png

  -w      Only allow window selection mode.

I cannot say why -s doesn't work, but on Mojave, the man page says

  The screencapture utility is not very well documented to date.  A list of
       options follows.


My iPod touch won't let me save the new iTunes security questions Whenever I try to buy new apps, my iPod asks me to type in my user name and password and answer some security questions.

I tap OK to continue, but nothing happens. I have tried using a different account and even resetting my iPod but nothing seems to be working.

What can I do to fix this?

Even if I went on the compiter and enter my security questions it wouldn't let me save them. What will I do?

I would suggest trying to download an app with iTunes on your computer. You may have better luck getting the questions there, and it shouldn't bug you about it on your iPod after you've done it.


How can we force MacOS to forget that a specific file was downloaded from the web? MacOS remember that things were downloaded. MacOS refuse to open or execute script downloaded and prompt the famous message:

  cannot be opened because it is from an unidentified developer.

Can I make MacOS forget this file was downloaded?

I know I can do a right-click -> open.  But I want to avoid the additional hassle for specific files. The protection is particularly annoying for bash script you may want to open in a text editor multiple time. I'm well aware of the risk of exectuting a downloaded script.

I also know I can remove the protection altogether, but I don't want that.

In the info of the files, you have the information but it's not editable:

You can delete the download source by running

xattr -d com.apple.metadata:kMDItemWhereFroms FILENAME

To also remove the quarantine flag use

xattr -d com.apple.quarantine FILENAME

PS: If FILENAME is an application (ends in .app), add -r to have the attributes removed from all files within the application.


Terminal ~/.profile does not contain `source ~/.bashrc` in OS X 10.9.1 Terminal shows below on this stage on gerris installation page: http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation

Note: make sure that the file ~/.profile contains the line
source ~/.bashrc

But the ~/.profile does not contain source ~/.bashrc. How could I manage it?

GNU nano 2.0.6        File: /Users/samirebalta/.profile

# MacPorts Installer addition on 2014-01-21_at_11:48:31: adding an appropriate $
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

##
# Your previous /Users/samirebalta/.profile file was backed up as /Users/samire$
##

# MacPorts Installer addition on 2014-01-21_at_12:00:12: adding an appropriate $
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

##
# Your previous /Users/samirebalta/.profile file was backed up as /Users/samire$
##

                               [ Read 23 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell

Just add source ~/.bashrc to the end of your ~/.profile file, save it and restart terminal.

Do you have a ~/.bash_profile file? Note that if you have both ~/.profile and ~/.bash_profile then the ~/.profile will not be sourced when Terminal.app starts.


Can Launchbar tag files? I have LaunchBar auto select anything that is dropped into my downloads folder. I wanted to run a Hazel rule but only on files with a certain tag and I want to do this with LaunchBar.

Tagging is supported since LaunchBar 6, released June 11, 2014.

You either send a file or a selection of files from Finder to LB
(alt + holding space) or select a file (or – with nightly build
6.1 – a selection of files) within LB.
Then press tab, type a part of the Finder tag name and add the tag
by pressing return. You have also the option to replace existing tags with the new tag.

You can display a file’s tags by pressing → after selecting the file in LB.

LaunchBar 6.3 added support to work with multiple tags at once.


Is Yosemite Mail caching signature files? How can I get around that? I created a little script that looks up a random signature from an ever-growing list of quotes I have and modifies the HTML of my signature file to insert the quote into place.  I trigger this script via launchd every few minutes so that my signature is 'randomized' throughout the day.

Up to Mavericks, this worked fine.  Now, in Yosemite (10.10), the signature no longer gets updated.  If I go into Prefs -> Signatures and drag/drop the signature from the 'All' list on to my mail account again it will trigger it to update.  It also updates when I restart Mail.  It appears that Mail is now caching the contents of the signature file and only refreshes it when it gets 'triggered' to in some way.

I know that there are now two possible copies of the signature file - a local and iCloud version.  I've updated my script to make sure both are using the updated signature.  If I restart mail or do the prefs trick, it does show the updated quote in the signature, so I know my script is running properly.

Does anyone know anything about this cache and/or how I might trigger Mail to refresh the signature with my script or some other trickery?  I'm not even sure where to start looking for this sort of thing.

I had the same problem as you. I did some digging around and found a solution that used to work back in the OSX 10.8 days and stopped working with OSX 10.9. Oddly enough, it works again with OSX 10.10.1 and Mail 8.1 (1993).

There are multiple parts to this - an AppleScript that you compile into an Application, a text file containing your random quotes, two signatures in Mail.app (one is a template, the other is the actual signature for your messages), and the system 'cron' service. (Ideally you should use launchd, but I haven't got that far yet.)

The AppleScript:

if application "Mail" is running then
    set AppleScript's text item delimiters to "~###~"
    set myQuote to some text item of (read "/Users/Steve/.sigs.in")
    tell application "Mail"
       set the content of signature "MySignature" to the content of signature "MyTemplate" & myQuote
    end tell
end if

In my implementation (which you can deduce from the AppleScript):

My two Mail.app signatures are called "MyTemplate" and "MySignature".
"MyTemplate" contains everything that is static - stuff like my email
address, etc. "MySignature" is the one that I use with my messages.
The text file holding my quotes is called ".sigs.in"
(so that it doesn't appear in Finder windows) and all the quotes are
separated by a line holding only "~###~". This file lives in my home directory.
My crontab entry consists
of * * * * * /Users/Steve/bin/MailRandomSig.app/Contents/MacOS/applet

The compiled AppleScript lives in /Users/Steve/bin (obviously enough), and the "applet" part is the actual compiled binary that we want to run.

I've tested this and it works beautifully. Each minute, cron kicks off my compiled script which updates the signature.

The only "downside" is that if you don't like the quote you have to wait a minute for the script to refresh the signature and then reselect the signature from the drop-down selector in the message composition window. (I have two signatures - one static, the other the output of my script - to get around this.)


How can I teach Facetime some manners? My niece and her grandma both have iPads1. I have a (Windows) computer with Skype installed. If I'm talking to the niece on Skype and her grandma calls her on Facetime, the niece's iPad immediately puts the Skype call on hold, without so much as a by-your-leave. Is there some way to teach Facetime not to be so rude?

As far as I know, everything is the latest version, but this problem has existed through multiple versions. If it matters, the niece uses an iPad 2 with 3G available but not enabled (i.e. nobody has paid for 3G data in months, possibly even years), while grandma has an iPad Mini with no 3G.

1 Well, technically, the niece has my iPad, but I'm resigned to the fact that I ain't ever getting that thing back from her clutches.

Open Settings and go to Notifications > FaceTime. Change the alert style from "Alerts" to "Banners".


Is it possible the create a pkg that doesn't require root access (user & password prompt) The title says it all really, is it possible to create a pkg that can install without the user requiring to enter their password?

There's an option in PackageMaker.

You can still install into /Applications too, but the user would need to be in the admin group because the default permissions for /Applications are drwxrwxr-x+ 90 root  admin, so as long as the user is in admin then they'll have write permissions.


Can I resize a BootCamp partition without reinstalling Windows? Does any one know how to do this?

You can use GParted to achieve this, as it supports HFS+, FAT32 & NTFS resizing.


How to (re)create Recovery HD? I have new macbook pro and I format whole drive to one partition and restore my backup (time machine).

Now I have no "Recovery HD" partition. How can i create it?

I found solution here: https://discussions.apple.com/message/26308588

Download Recovery Partition Creator 3.8
Download Maverics through App Store
Cancel installation (cmd+Q)
Run Recovery Partition Creator
Follow instructions

Thanks all


OpenCV library not installing after using cmake I use Yosemite 10.10, and I need to build and install the OpenCV library using cmake-gui. I was able to configure and generate the binaries readily. But when I try to 'make' the library using the terminal
    sudo make -j4
in the binaries folder, I get the following error -

Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o
In file included from /usr/include/os/object.h:27:0,
             from /usr/include/dispatch/dispatch.h:48,
             from /Users/imecindia/Desktop/Downloaded Libraries/opencv-3.0.0-beta/modules/core/src/parallel.cpp:106:
/usr/include/os/base.h:113:20: error: missing binary operator before token "("
#if __has_extension(attribute_overloadable)
                ^
/usr/include/os/base.h:119:54: error: missing binary operator before token "("
#if __has_feature(objc_fixed_enum) || __has_extension(cxx_strong_enums)
                                                  ^
[ 45%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o
In file included from /usr/include/dispatch/dispatch.h:51:0,
             from /Users/imecindia/Desktop/Downloaded Libraries/opencv-3.0.0-beta/modules/core/src/parallel.cpp:106:
/usr/include/dispatch/object.h:325:20: error: missing binary operator before token "("
#if __has_extension(c_generic_selections)
                ^
/usr/include/dispatch/object.h:363:20: error: missing binary operator before token "("
#if __has_extension(c_generic_selections)
                ^
/usr/include/dispatch/object.h:391:20: error: missing binary operator before token "("
#if __has_extension(c_generic_selections)
                ^
/usr/include/dispatch/object.h:423:20: error: missing binary operator before token "("
#if __has_extension(c_generic_selections)
                ^
/usr/include/dispatch/object.h:143:15: error: expected unqualified-id before '^' token
typedef void (^dispatch_block_t)(void);
           ^
/usr/include/dispatch/object.h:143:15: error: expected ')' before '^' token
/usr/include/dispatch/object.h:362:3: error: 'dispatch_block_t' has not been declared
dispatch_block_t notification_block);
^
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [all] Error 2

I get that in multiple places in this particular file,

Also I specified the compiler for using gcc/g++/gfortran that came with MacPorts. It's mandatory that I use the MacPorts compiler btw.

Can someone let me know what I can do?

I'm sorry but I could fix it myself.
In Cmake GUI WITH, I just enabled WITH_OPENMP.

I'm leaving this question here though just in case someone else faces the same issue later on.


Retime pop-up missing in Final Cut Pro 10.3.4 I've been using FCPX(Final Cut Pro 10) for a long time and when I installed a different version of FCPX(10.3.4) in my MacBook Pro due to a HDD Failure. I started with a new project and wanted to reverse a clip. I went in search of the Retime Button which should look like this:

but instead mine looks like this:

Please tell me where to find the reverse option. Thank you!

You're looking at the wrong side of the editor window!
Look to the left of that line, at the bottom-left corner of the viewer where the preview is shown.


How can I export a Numbers 3.x chart to PDF? I created a chart in Numbers 3 (version 3.6.2). In earlier versions of Numbers I could copy the chart and paste it into, e.g., Adobe Illustrator as a PDF vectorgraphic.

In 3.6.2, copy and paste results in a blurry (low resolution) bit mapped image being pasted.

How can I get a PDF version of my chart?

open the context menu on the chart (e.g., control-click or right-mouse click)
select Copy as PDF.
paste into application (e.g. Adobe Illustrator) or in Preview create a new file with File -> New from Clipboard and save as PDF.

When copied and pasted in this way, the chart remains a high-resolution vector graphic.


Dual boot OS X and Manjaro - Problems (Cross-posted in Linux StackExchange)

So I'm trying to dual boot OS X and Manjaro. Using the graphical installer of Manjaro, you're given the option (well, it's an obligation) to create a partition that mounts to /boot/efi.

Manjaro installs without any problem and when the Mac reboots it goes straight up into Manjaro.

The thing is I want to make OS X the default boot option and not Manjaro. If I press alt on the Mac Keyboard just after booting (and before it goes into Manjaro) I get to the disk selection screen and I can select OS X fine, it'll boot correctly.

BUT if I try to make OS X as default boot drive in OS X System Preferences and then go to the alt menu at boot and select the manjaro drive it instead goes to OS X...

I even tried this https://wiki.archlinux.org/index.php/MacBookPro11,x#Method_1:_creating_an_extra_apple-format_bootable_partition_with_GRUB in the Arch Wiki and it gets me to GRUB but then Manjaro fails to boot....

What should I do?

My guess would be that OS X is clobbering your GrUB when it sets its own bootloader when you make the change in System Preferences. My advice would be to not set OS X or Monjaro as your default in OS X, but rather use GrUB. You can then set GrUB to default to OS X after a customizable delay, which I assume is the behavior you're looking for. Potentially helpful link


Can I upgrade the SSD on the Early 2015 13" Macbook Pro? I do not want to go to Apple to upgrade the SSD on my macbook pro 12,1. Is there a third-party SSD that would work with my Macbook Pro? I currently have the 128GB model, and it is running out of space. I am looking to purchase either a 256GB or 512GB SSD that will run at comparable speeds to the current SSD. I know Apple has tried to stop users from upgrading to third party SSDs, I am more than comfortable upgrading these things by myself, but I just don't know if there is any compatibility. Thanks.

Have a look here at MCE USA.
They offer SSD Blades for MacBook Pro Late 2013 - Early 2015 from 256GB up to 1TB.
http://store.mcetech.com/mm/merchant.mvc?Store_Code=MTOS&Screen=CTGY&Category_Code=PCIEFLASH

OWC/MacSales doesn't have any yet.


reinstall OS on a new HDD I was given a MBP that needs some repairs. Aparently the hard drive is fried so I was planning to replace it with a new one.

Is there a way to download a disk to re install the OS after I get a new HDD in it?
If there is how does licensing work? I am used to windows computers where the Key is on the bottom of the machine. I don't see a key of any kind.
I'm also not sure what version of OSX it should be running.

You can just install the new hard drive and if you have a connection to the internet when you first boot up you can download Mac OS X directly from apple.  If you hold the alt key while the machine is booting it will take you directly to Internet Recovery.

Some features like iPhoto will be missing from this "free" version however they are very cheap and easy to install afterwards via the app store.

This process was tested on a 2011 MBP, also because you have to download the entire OS the process is quite lengthy.


How long can I safely leave my Macbook Pro running? I've set up my Macbook Pro 2011 to run a linux home server through virtualbox. I noticed that this laptop seems to get hot after a few hours compared to my previous laptop (toshiba, windows 8) which I could leave running for days and it never heated up. I am curious though how long I can safely run my Macbook without putting it to sleep? (I have NoSleep installed) I have no problems rebooting once a week or so, just want to know for certain if this actually necessary, cause otherwise I'd put a fan on it and stick it in a corner and forget about it. CPU usage seems to be around 10% when running the server from what Activity Monitor is telling me.

Laptops weren't developed with acting as servers in mind.

The overall-quality of the integrated components is lower than those of common servers. Additionally redundancy for important parts (like the cooling system etc.) is not given.

Especially consumer hard disks and the whole cooling system aren't designed to be run 24/7 a week and guarantee a long lifespan.

The in-case temperature will be generally higher than in a normal server.

This will effect particularly low-cost hard disks. The durability of hard disks may decrease with higher temperatures. (Opposite standpoint: Google)

Namely the Macbook Pro 2011 (i own one myself) heats up fast.

I always would advise to get a (cheap) MacMini, set it up headless and store in  a vibration-free place.

If you insist on using your MBP as server, use something like SMC Fan Control (as mentioned/advised by yourself and dwightk , choose a vibration-free place and don't close the lid. Most laptops rely on losing some of their heat through the keyboard. Try to disable the discrete graphics card by turning off 2D/3D acceleration in your VirtualBox VM (please check this ticket).


Enable autocorrect in Chrome on OSX Sierra? OSX includes pretty decent spell checker and autocorrect. Problem is, it's not working in Chrome, and Chrome is about everything today: we spend our days browsing, lots of modern chat & mail apps are just wrappers around web apps in Chrome window or some other browser-engine.

According to some technical discussions, Chrome decided to ditch Apple's system autocorrect in favour of their own spell checker, which works fairly well, but DOES NOT autocorrect things! It just underlines typos, but won't correct them for me, making it useless in fast-typing scenarios.

I found many questions (mostly dated 2015 and earlier) on the web about this matter, yet no practical solutions for OSX, which makes me wonder -- have we given up on this? Or there's some common solution that I missed?

Another solution I have seen many used is to use a Chrome extension like Grammarly.

Just be aware that their privacy terms and/or security posture may not suit many users. See for example source 1, source 2, and much more info out there if you search for it.


MDM that can control wifi and bluetooth My boss just come up with an idea of having a mobile device management that can control the flow of data (access) from bluetooth and wifi to the iOS devices.

I've actually configured a Profile Manager (mdm) on Lion Server in the past so I'm a little bit familiar with mdm but not sure with the bluetooth access.

Where can I start?

BoxTone EMM does both.

  Configure device security with dozens of policy controls including encrypt device, disable iCloud, disable camera/wifi/Bluetooth, enforce strong passcodes, etc


Where I can buy an original OS X Leopard PPC disc for my iMac G4? I've a wonderful iMac G4 with 2 GB of RAM so I can install/upgrade from Panther to Leopard  but I cannot officially buy from Apple site!

Is there a possibility somewhere to buy an original disk?

Besides maybe posting to Craigslist for a better deal, 10.5.6 is still available for sale on Amazon.

Please know there was no PPC-specific version of the installer (it works cross-architecture), so if you find one it will work on that Mac (as long as its processor is 867 Mhz or faster w/ 9 GB of free disk space and a DVD drive). It was only Tiger that had separate installers.


Do Apple Airpods Support HSP? For reference I am trying to connect them as a headset on linux (where HSP is supported by PulseAudio and HFP requires more work). When I connect them, my bluetooth manager reports an entry for HFP, but I do not see an entry for HSP.

I'm not asking about how to actually connect them, but rather whether HSP is supported given that it seems to be a subset of HFP.

If you look at the Bluetooth diagnostics in System Profiler on a Mac, you'll find that the AirPods are listed as offering the "Handsfree" service, not the "Hand-set" service.

The full list of services supported are: Handsfree, Wireless iAP, AVRCP Controller, Audio Sink, AVRCP Target, AAP Server.

For the Pro model things are a bit different.


BK3001BA Keyboard not connecting after entering correct passcode I can't seem to connect my BA3001BA Bluetooth keyboard to my mac. It pairs, and then asks for a passcode. I enter the passcode and I get the spinning beachball of death and shortly thereafter, it says the pairing wasn't successful. I managed to connect the device to an Ubuntu Laptop by bypassing the passcode, but it's not possible on a mac.

So in my experimenting I stumbled upon the Bluetooth file transfer app. I was desperate it seems so I tried sending a file to my keyboard. It ended up connecting and entering the passcode worked this time. No clue why, but it worked somehow.

I couldn't find anything like this via google, although a few people seemed to have the same problem, so leaving it here.

Thanks


Auto open textmate project on startup How do I get textmate to remember what project i had open last and reopen it automatically?

Right now I have to select it from the menu.

By default TextMate should open the last open project or document - but it can be switched on/off - maybe it is off by you ??

Here is how to switch the feature on/off: http://manual.macromates.com/en/expert_preferences#oakdisablesessionrestore

  22.7 OakDisableSessionRestore

  When you launch TextMate it will open the project / document which was open when you last exited. You can however disable this feature by running:

  defaults write com.macromates.textmate OakDisableSessionRestore 1

This means that you should run the above line in a Terminal - with a 0 instead of 1


Moving apps to a new ipad I have a personal iPad with some work apps on it.  I just received an iPad from my employer.  The 2 have different iCloud accounts.  How can I move work apps from my personal iPad to the work iPad without having to pay for them again?  It only affects a couple of apps

In the Store-App, log in with the account that was used to buy the apps. Then you can re-download the apps without paying (using the bought-tab, or just searching for the app).


How can I find duplicate adjacent cells in Numbers? I have a Numbers sheet that is thousands of rows long. As an example in the image, the sheet has two columns with URLs. What I need to do is find the rows that have the same URL in the two adjacent cells and then change the background color of that row so I can identify the rows and delete them; or write the word "dupe" to column C. In the example, row 4 has the same URL the two cells. How would I flag or mark rows like that in the entire sheet? With a calculation? Or an Applescript/Automator?

Here is an AppleScript method, which demonstrates three different types of action taken upon the rows with duplicate cell entries in columns "A" and "B" (equivalent to cells 1 and 2):

use N : application "Numbers"
--------------------------------------------------------------------------------
# PROPERTY VALUES & GLOBAL VARIABLES
property document : a reference to document 1 of N
property sheet : a reference to active sheet of my document
property table : a reference to table 1 of my sheet

global them
--------------------------------------------------------------------------------
# IMPLEMENTATION:
on run
    if not (exists my table) then return false

    set them to a reference to (every row of my table ¬
        where the value of cell 1 = the value of cell 2 ¬
        and the value of cell 1 ≠ missing value)

    highlight()
    ---OR:
    -- comment()
    --OR:
    -- delete -- WARNING: permanent!
end run
--------------------------------------------------------------------------------
# HANDLERS:
to highlight()
    set the background color of them to ¬
        {65535, 65535 / 4, 65535 / 2}
end highlight

to delete
    delete them
end delete

to comment()
    set the value of cell 3 of them to "SNAP!"
end comment
---------------------------------------------------------------------------❮END❯

I've defined three handlers, highlight(), comment(), and delete, each of which, if called, will perform a particular action upon the rows of interest.  Currently, you can see in the script a few lines within the section labelled IMPLEMENTATION: that I've set it currently to perform the highlight() action, which will change the particular rows' background colour to a shade of pink I like.

Below that line are commands that I have commented out using --, so currently they remain inert.  When uncommented, the comment() handler will enter the word "SNAP!" into the third column of each row of interest; and the delete command (note the lack of parentheses for this one) will simply delete the rows completely.  I've marked this with a warning that implies permanent deletion, although in truth, you can recall the rows back into existence using the application's builtin Undo menu item, or ⌘Z (on a one-by-one basis!)


How do I show the icons of Windows executable on OS X? Instead of the icons all showing up as the same for each .exe in Finder, is there a plugin or something that will let me see what the executable icons actually look like?

For example, .app on Finder has their own icons like this:

I want the .exe ones to also have their own icons depending on what program they are.

This issue is resolved by updating to MacOS 10.12


Console.app needs color themes Black text on white background hurts the eyes while perusing logs in Console.app.

There used to be some hacks like this to change the colors of the display in Console.app. But those hacks apparently no longer work in current versions such as Yosemite.

Any current ways to change Console colors in Mountain Lion or Yosemite?

Try decompiling first, then editing this NIB file.

/Applications/Utilities/Console.app/Contents/Resources/English.lproj/LogWindow.nib


Looking for a free/cheap backup solution on OS X for NTFS external HDD I'm looking for an incremental backup system on OS X that plays nice with USB NTFS-formatted external HDDs. I am currently using NTFS-3G to work with the HDD, but since Time Machine doesn't work with NTFS drives, I have just been manually copying files from my HDD to back it up (ugh).

I need to use an NTFS drive because I am going back and forth between Windows machines at my school and a Mac at home. I have no permissions at my school to install any Windows software, so I am forced to find an OS X solution.

You can use Time Machine. This page tells how to enable NTFS for writing from Snow Leopard.


macOS: Can another user recover files I've deleted? I currently live with someone that I think may be recovering files I emptied from the Trash. It's their computer, they are admin, and I have a standard account. I just want to know are they capable of doing this? Is there anyway to find out obviously without having to just ask cause they'll lie anyways.

There are various ways how this can be done:

They may simply have a background job running which regularly copies all your files (whether in Trash or still in Documents etc) into a folder they control
They may use the backups created by Time Machine or any other backup software used
They can use data recovery software to recover deleted files

However, this doesn't necessarily mean that the other person is reading your files.

If you are concerned about the sensitivity of data/files, you are advised to take measures such as using an encrypted volume, not creating files locally, using an external drive to store and view files and additionally, using Private browsing mode in Web browsers etc.