MacBook Pro sleeps randomly on the train

More than likely, the Reed switch1 that detects when the lid is open/closed is momentarily making contact and sending your MacBook into sleep/hibernation mode. It could be faulty.

This YouTube video shows a MBP going to sleep when a magnet is applied to the area where the switch is located.

It's happening on the train because there is enough movement or bumps in the ride to cause the switch to close.  Closing and opening the lid "resets" the switch which then sends the signal to wake up.  Normally, these switches are pretty robust and movement like that of a vehicle isn't enough to to trip them, but I have seen defective ones that would fail by simply turning the machine upside down (Dell, not Apple).  That said, in over 25 years in IT, I can count the number of times on one hand I have seen this type of symptom.

If you still have Apple Care, take a video of the MacBook going to sleep on the train and how you wake it back up.  Take the video and the MacBook to Apple and have them fix the issue for you.

1 Wikipedia:  Reed switch The Reed switch is an electrical switch operated by an applied magnetic field


Which SSD to choose for a white late 2009 macbook

If you don't use your optical drive I would recommend Crucial M4 128GB as best bang for a buck SSD from big name manufacturer. And buying SATA 9.5mm caddy from ebay to put SSD inside it. So you still have your 250GB HDD + 128 GB of SSD


How can I set dark mode for Word documents

The easiest way is to create a new template file:

File -> New Document

click on Design tab then click on Page Color icon and select More Colors.
There, you can use a color picker to sample you favorite color (I picked #282a36 in the Dracula theme in BBEdit) and set this color as your page color.
And after that, select

File -> Save as Template

and then Save.
From now on, when you open Word, select

File -> New from Template

and select your template.


Macbook Pro gets warm while running Android virtual device

As long as your fans shut off soon after you close the application, there is no problem. When your computer is working hard it will turn on the fans to cool it self off. It would be more concerning if the fans didn't turn on as that could result in permanent damage.

Virtual machine will often work a computer because its running two virtual devices on one physical device.

Just know your fans are

Keeping your mac's internals safe
Allowing your Mac to perform at its best
Not an indication of a problem (unless they are on all the time)


In iTunes, when you purchase a movie in HD/4K, is the SD copy included?

According to Apple's site about downloading or streaming movies:

After you buy a movie or TV show from the iTunes Store, you can stream it on the device that you bought it on or on any of your other devices, as long as you're signed in with the same Apple ID.
Videos stream and download at the highest-quality version available based on the device that you're using, your device's settings, and your Internet speed.
The SD version won’t have iTunes Extras, 4K, HDR, Dolby Vision, or Dolby Atmos formats, even if you play it later on a device that supports those features and formats.

According to that, I would say it will stream to your older device but the SD version is not automatically downloaded along with the HD version.


How can I pair my Apple Magic keyboard to my mac without USB Cable?

I don't know if this was because of lower battery or just that it needed to be plugged in, but simply by connecting a charger (from the wall) to my keyboard and then going to MacBook's Bluetooth I was able to connect/pair it.
This makes me wonder how you can avoid accidentally pairing another person's keyboard or potentially highjacking a few of keyboard strokes...

Credits: https://www.reddit.com/r/applehelp/comments/6z3u9k/is_there_a_way_to_pair_a_magic_mouse_without/dmsa4jk


Why do I have a picture on my contact list of a iPhone number I wrote down?

You can remove any contact photo from the contacts app. It’s going to be hard for us to guess your setup without sitting shoulder to shoulder and reviewing all the places you could have added an account. The likely culprit is the other person chose to share that image with you when asked by Apple permission to share their name and icon. They may not be aware this happens or mistakenly tapped the allow button while they were putting the phone in their pocket. It’s a one tap to share situation in some cases.


As per your comment, I am writing a solution for you that might be helpful.
Temporarily Disable Startup Apps
Enter your login information as you normally would, but hold down the Shift key on the keyboard before submitting your credentials. Hold down Shift until the Dock appears, and the startup apps won't load this time.
This is how it works on a password-protected Mac if you don't have proper priviledge on machine to hide/remove the login items.


MacBook Air as primary monitor for Windows PC?

Only certain (mostly older) iMacs could be used as an external monitor for another computer; see the answer at this question as a starting point: What are the requirements to use iMac screen as a second monitor - Target Display Mode?

Your best bet would probably be to:

Have the PC and the MacBook Air on the same wired or wireless network,
connect to the PC with Microsoft’s free Remote Desktop client (Instructions / More info & download link), using the IP address of the PC and your Windows username/password.

Notes:

You will probably need to use a HDMI television, borrow a monitor from someone, or move the hard drive/SSD to a PC with a monitor in order to do the initial setup on the Windows side.

Due to security issues, this will no longer (currently) support the advanced features (e.g. 3D acceleration) of your PCs graphics card, but as a ‘budget’ PC that will likely not be much of an issue.

You can even use your MacBook’s built-in camera and speakers with the PC, and if you connect a second monitor to the MacBook then you can use both screens with the PC. It just has to happen over the network.

If you are using Linux instead of Windows on the PC, you’ll need VNC instead of Remote Desktop, and you won’t be able to share as much of the MacBook’s hardware with the PC.


How can I install Mac OS X 10.7.5 on my Macbook Air?

The MacBook Air should have come with either a DVD or a USB pen-drive containing the operating system installer. If you haven't got these in your eBay purchase, try contacting the seller to see if he'll send you a digital or physical copy. Otherwise you can try to borrow from a friend.

If you have a USB pen-drive with the installer, you can ofcourse install directly from there.

If you have a DVD with the OS X installer, you can use a USB-connected DVD-drive to run the installer. If you haven't got such a drive, you can use the DVD-drive on a seperate PC (or Mac). Apple has a guide for that scenario here:

https://support.apple.com/en-us/HT3263#

The easiest way to solve your problems seems to be to take the Mac to an Apple Store. They should be able to reload the OS on your MacBook Air. I don't know if the original USB pen-drives are still sold at Apple Store as they were back in the day.


When I click and delete a message, how does Mail.app decide which to select next?

When you click with the mouse button on an item directly above or below the currently selected one, Mail behaves the same way as it would with the down and up arrows on the keyboard.

When you hit the down or up key to select the next item in the list, Mail is programmed so that it remembers your "working direction". Which means when you move the selection one item downwards and delete that item, the selection moves to the next item below the currently deleted item. So this also happens when you click with the mouse on the first item below the currently selected one, which is the case in your video.


Where is Safari Reader CSS or HTML in El Capitan?

I tried mdfind -name Reader.html and on my copy of El Capitan it yields the following path:

/System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/Resources/Reader.html

So it looks like the file has indeed been moved.


Reserve a static IP address on an older Airport Extreme base station

What you could try is set the DHCP range to start at +1 and manually set the IPs on your server. For example, set the DHCP range to be 10.0.1.3 to 10.0.1.200. The 10.0.1.2 IP will be free to be used by your server. In AirPort Utility for me this is at Network > Network Options.


kernel_task taking too much CPU despite low CPU temperatures

All signs point to your system that measures temperature is out of spec or failing/failed. It’s also likely software is piling on, adding legitimate load to the kernel, making the issue worse.

One SMC reset a month is too often to cure any physical defect. Second and third resets too quickly won’t help you.

A single SMC reset cures a wrong state measurement if that’s
the cause of an issue. You won’t have to do that again for months on functional hardware in my experience.
Sadly, the cost to diagnose and fix a main board is high so most people do the swap as Apple recommended if you can’t live with the system design to let kernel task protect the system.

Too high CPU is a judgement / budgetary call on how much you value your time and not so much a technical issue.

The system does what it’s designed to do based on measurements. Worse, installing software to track temperature moment to moment can put enough load on a system to cause CPU spikes and add legitimate work kernel_task now has to perform while its stalling - simply observing the system can change it. You might have to remove all modifications to tell if your software is the cause here.
To test a clean system you need a cheap USB drive that holds 32 GB and network that can download about 15 GB of data from Apple. You can do the test faster with fast internet and speedy external storage, but a weekend and cheap parts, slow internet is all that’s needed to run a clean new OS to validate your SMC and kernel_task isn’t a software issue.


Boot Camp Windows partition lost after El Capitan upgrade

Since I need to work with both operations urgently, I have wiped out the entire 320GB drive using an OS X Yosemite startup USB.


Connect to Screen Sharing (VNC) using Debian/Ubuntu?

Yes, it is possible to connect to an OS X host using VNC.

It seems, however, that your method of turning it on from the command line doesn't work.

Instead, try

sudo defaults write \
/var/db/launchd.db/com.apple.launchd/overrides.plist \
com.apple.screensharing -dict Disabled -bool false
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist

To test it I'd install telnet one the host Mac (you can do it with homebrew - brew install telnet and then try telnet localist 5900 which should get a connection. Then try the same from your Debian box. Once you know you can get a connection from the Debian box try your VNC client.


Remote desktop to Mac with broken graphics card

Screen Sharing can be enabled via the terminal : sudo sh -c "/bin/echo -n enabled > /Library/Preferences/com.apple.ScreenSharing.launchd"

I have had the AppleVNC service freak out because it couldn't determine the clients screen resolution.


How to know whether Mac has SSD or HDD installed

Apple Menu -> About This Mac -> System Report
Select Storage in the Hardware section
Select "Macintosh HD" on top

Alternatively you can run system_profiler SPSerialATADataType or system_profiler SPStorageDataType in Terminal which more or less gives you the same information


This feature is called Universal Links. You can read Apple's documentation on this here.

Basically for this to work the developer of the NYTimes website needs to have a file called apple-app-site-association on their server. You can view that file on the NYTimes website here http://nytimes.com/apple-app-site-association. Within the file they can specify which URLs are redirected (on the NYTimes site, any that have a year between 2000 and 2099 immediately after the domain name) and which apps they are redirected to (four NYTimes apps). At a glance the file looks okay on their website, but interestingly it does mean that only links like this http://www.nytimes.com/2016/... will work, while anything else like this for example http://www.nytimes.com/reuters/2016/... will not. So right away it is worth noting that they've decided that they don't want all links to the nytimes.com website to open in their apps.

They also need to change a setting within their iOS apps to list which domains it is willing to receive links from. This takes the form of an entitlement called com.apple.developer.associated-domains. Due to the way their app is configured I'm unable to check the plist files within their app to see if they are configured correctly. But in my own testing, this feature seems to work okay. When I go to this article I've randomly picked on DaringFireball and click on the NYTimes link, the NYTimes app automatically launches and opens the article rather than Safari.

What may have happened is that you can tell iOS that you don't want it to pass Universal Links from Safari to the relevant app. You do this by clicking on the link that appears in the top-right corner of the screen when iOS has opened an app with a Universal Link. From that point on iOS will ignore the Universal Link feature for that site. This is fairly non-intuitive, so you might have done this without realising that it disables the Universal Links feature for the site.

There are two methods to re-enable Universal Links for that site. Either long press on a NYTimes link and select "Open in "NYTimes" from the menu, or open the NYTimes website in Safari and click on the "OPEN" link in the Smart App Banner at the top of the site.

Let us know how you get on.


Trying to drop Mac OS 9 disk image over sheepshaver on Sierra gives me error "Please drop either a file named 'Mac OS ROM'... "

I had a similar issue and realised that I was running the application from my Downloads folder, this violates the "app translocation" introduced in macOS sierra. You need to copy the application to another directory, e.g. the Applications directory and then copy the ROM file over.


Make sure that your wife has her own card in your address book. Then open up an email message and start dictating, saying things like:

"Rindy is my wife period."

"Rindy is a person period."

"I am meeting with Rindy today."

"Where is Rindy questionmark"

Each time the computer misspells Rindy's name, go back and correct it. Eventually you will show the computer whose boss, and it will start to spell Rindy's name properly. (Really: there appears to be an algorithm that looks at spelling corrections and uses this as feedback on dictation.)


Dock isn't responding to mouse movement in Yosemite when external mouse (Cyborg R.A.T. 5) is attached

Okay, so it turns out the thing I was doing wrong was having an external mouse attached to the Macbook. As soon as I detached the mouse (an old Cyborg R.A.T. 5), everything started working normally again.

But it's still weird that that happens.


iCloud backups from a very old iPhone are not seen during the restore

The answer to my question is located here: https://support.apple.com/kb/PH12520?locale=en_US

  Important: If you don’t back up your iOS device to iCloud for 180 days or more, Apple reserves the right to delete your device’s iCloud backups.


How to clean ._AppleDouble files from unix packages?

I need to learn proper xattr usage.

Apparently, xattr has a "clear" (-c) command that can be applied using a wildcard (*), as follows,

xattr -cr *

This results in a recursive removal of all ._AppleDouble files from the current folder on down (the -r flag does recursive, while the -c flag clears them), thus making the process a trivial one line command.

This does not however clear out the .DS_Store files. For that, you can employ the good old "find" command:

find . -type f -name .DS_Store -delete

This will find and delete any .DS_Store files from the current directory on down (recursively).

Lastly, we can bring it all together in the form of an alias that is called upon by simply typing "xat" (put the following in your .bash_profile):

alias xat='find . -type f -name .DS_Store -delete && xattr -cr *'

Now just run "xat" on any directory and it'll strip those pesky resource forks and remove those irritating .DS_Store files from anything inside of it.


El Capitan get current desktop name from bash

I'm not sure exactly what you mean by "active desktop", but the command "system_profiler" can generate a vast amount of information about your computer. Between it's various settings and text filtering, you should be able to pluck out almost anything need to know.


I use binchunker to convert .bin/.cue files to a single .iso file on my Mac. You can obtain binchunker via Homebrew or Macports.

Here's some more info from the manpage:

bchunk - CD image format conversion from bin/cue to iso/cdr

SYNOPSIS
       bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename>

DESCRIPTION
       bchunk converts a CD image in a ".bin / .cue" format (sometimes ".raw / .cue") to a set of .iso and .cdr tracks.

       The  bin/cue  format is used by some non-Unix cd-writing software, but is not supported on most other cd-writing pro-
       grams.

       image.bin is the raw cd image file. image.cue is the track index file containing track types and  offsets.   basename
       is used for the beginning part of the created track files.

       The  produced .iso track contains an ISO file system, which can be mounted through a loop device on Linux systems, or
       written on a CD-R using cdrecord.  The .cdr tracks are in the native CD audio format. They can be either written on a
       CD-R using cdrecord -audio, or converted to WAV (or any other sound format for that matter) using sox.

       It  is  advisable  to  edit  the  .cue  file to either MODE2/2352/2048 or MODE2/2352/2324 depending on whether an ISO
       filesystem or a VCD is desired, respectively.  The format itself does not contain this feature and  in  an  ambiguous
       case it can only guess.


The caret is moved in an expected place when I add/remove a space in text I before entered in a textarea field

I wasn't able to reproduce this on a MacBook Air running Mac OS X 10.6.6 and Safari 5.0.3. When I press backspace (it's called delete on my keyboard), it doesn't cause the carat to jump to the next word.

Perhaps it's some 3rd party software interfering with your keyboard?


Macbook Pro 2012 deleted files become the “other” space and need to know how to delete

This could be due to the files still being kept in APFS snapshots created by Time Machine, so you could try running the following in Terminal to clear some of them:
tmutil thinlocalsnapshots / 1000000000 1

The documentation for “tmutil” can be read using the command “man tmutil”, it says:
     thinlocalsnapshots mount_point [purge_amount] [urgency]
             Thin local Time Machine snapshots for the specified volume.

             When purge_amount and urgency are specified, tmutil will attempt
             (with urgency level 1-4) to reclaim purge_amount in bytes by
             thinning snapshots.

So the above command thins the snapshots on the Mac’s internal drive (which is normally mounted at the path “/”), to reclaim 1GB (1,000,000,000 bytes) with urgency level 1.
The output of the command will list the snapshots it removed. In this example output, 1 snapshot was removed:
Thinned local snapshots:
com.apple.TimeMachine.2020-07-17-200440


Run the following commands in order in Terminal. Same issue for me and fixed it. I'm not sure what's causing it but I have to run it every so often to fix it.

sudo mkdir /private/tmp
sudo chmod 0777 /private/tmp


How do I get the photos off my iPhone to my Windows PC without using iCloud?

I installed an iOS update and also some Windows updates and it worked. I don't know why, because I restarted my phone already and that didn't help. I didn't have to restart my computer. The phone now appears in 'This PC'.


How to get Apple to repair iPhone under statutory warranty?

Danijel was right. The 0800 hotline did the trick. Apple was very willing to help and replaced the iPhone. Since it was only 13 months old and there were no damages, they handled it very quickly and without fuss.


"Trust request error" 0xE8000003 when connecting iPhone to Mac

Firstly, you can try reseting Privacy and Location settings on your iOS device, as this removes the trust file on the iOS device with your Mac (as well as any other Macs/PCs you have trusted to connect to the iOS device). It will affect all your other privacy/location settings as well.
But, once this has been reset, you should be prompted to trust the iOS device when it reconnects to your Mac. Once the two devices have trusted each other, the plist file in the Mac's Lockdown folder should be overwritten with the new trusted plist.
If you really want to remove the lockdown plist manually, I am not too sure how Catalina works with the separate OS system partition, as I am on macOS Mojave. But on macOS Mojave, you need to have SIP disabled and remove the plist through rootless. Only do this if you are comfortable with using rootless. If you are not comfortable using rootless, reseting privacy and location settings on the iOS device should be more than enough.
However, if you decide to use rootless, you really shouldn't remove the entire lockdown folder, but rather the specific plist for the UDID associated with your iOS device.
You can find the UDID of the iOS device (when connected) in macOS's System Information>USB>Serial number. Alternatively, run the  command system_profiler SPUSBDataType and look for the serial number for the iPhone. The iPhone should still show up in System information when it's physically connected via USB, even if you can't access it in Finder.
Once you have found your UDID, note it down (because the serial number doesn't contain a hyphen, but there is one in the UDID's plist filename).
Now you will have to go into rootless, which you can do through terminal using sudo su - command, and navigate to the lockdown directory (on macOS Mojave it's /var/db/lockdown) and list all the files in the directory, and look for the plist with a filename that matches your UDID of your iOS device (again there should be a hyphen in the filename somewhere).
You should then be fine to remove the file (still in rootless) using the rm command, you don't need to use sudo rm in rootless. For me (on Mojave), the command to remove the plist in rootless is rm /var/db/lockdown/UDIDnumber.plist.
When you are finished in rootless, remember to logout by pressing Control+D in terminal. Once again, don't use rootless if you are not comfortable with it. So, be VERY CAREFUL using rootless.
Let me know if this solves your problems. I know there's a few trust issue bugs with iOS devices connecting to some Macs (but not all?) or only when hotspot is turned on. But hopefully this won't be your issue.


My earlier answer was incorrect. iOS 4 does incorporate file system level encryption - impressive!

The answer to your question is here:

  It is important to understand that GoodReader itself doesn't encrypt
  or decrypt your files. It does two things - restricts the access to
  protected files via GoodReader's own user interface, and asks iOS to
  encrypt certain files (or all of them, if you're using app startup
  password). iOS, in its turn, locks these files within a few seconds
  after you lock your device with a passcode, and instantly unlocks them
  when you unlock your device with a passcode. It means that when you
  unlock your device with a passcode, all your files become decrypted
  and fully accessible, even if GoodReader app is not being run at the
  moment, and you haven't entered any of GoodReader's passwords yet. So,
  if your device is unlocked, GoodReader will prevent the access to
  protected files via its own user interface, but nothing prevents from
  copying these files via, for example, File Sharing section of iTunes
  (USB transfer), without knowing GoodReader's passwords. So please be
  sure to ALWAYS lock your device with a passcode, even if you leave it
  just for a minute. This will turn the physical hardware-based
  protection on. And while Auto-Lock option in main device Settings may
  be of great help with this, it never hurts to manually lock your
  device every time you leave it.

From:

http://www.goodiware.com/gr-man-general.html#dataprot

Put concisely, while the iPad is unlocked all data is unencrypted, so in principle, hackers could access your files during this time.


What is the point of 'sync music' in iTunes if I have to click 'make available offline'?

I hope you only use iTunes purchases not Apple music.
So the answer for your first problem is,
that If you sync them, they will be available on all of your devices. However, making them available offline means that you can listen to your music wherever you go. You do not have to be connected to WiFi. So sync only add them to your Music app automatically. Point is that some people don't have enough space to download every song since their library is like 20GB. So they use Wi-Fi to download their song when they needed.
Answer for second question :
So as far as I know , they now use iCloud to sync all of your music to your every device through iCloud. So whenever you purchase some music it will automatically being available on your iPhone. Then you have select download if you wanna listen offline.
If you like to make them automatically download to your phone without touching download for every single song, just goto Settings -> Music -> Under downloads turn on "Automatic Downloads" . That would automatically download your songs.
Since you have DRM enabled songs on your device ( Purchased from Apple) you cannot simply do whatever you want. If you want to play with them as before they use iCloud, you have to manually download that song from internet and add them to iTunes. Then sync to your iPhone. Otherwise as Apple Supportive person told me there will be no option because, you run out of space.
If you don't like to manually do what I said, you have to do keep itunes purchases only synced. But that will not solve your problem. If this ain't clear enough just add a comment. Thanks.


Apple Music checkbox is disabled and greyed out in Music

I called Apple and they helped me in about 10 minutes, all you need to do is enable iTunes. For some reason, you need iTunes enabled to have Apple Music enabled.


TV app home screen on iOS and Apple TV not working

You can delete the TV app and download it again. It often helps as it clears the cache files and sometimes even takes care of these kind of bugs and even app crashes. It’s not ideal but it often works.


how to reset mac local host name to defaults

From any admin account:

Open Terminal
Run sudo gzcat /var/log/system.log.7.gz | head (admin password required)
The name as of seven days ago will be shown at the beginning of each line right after date/time.


Maximum number of pages on iPad, and maximum apps in a folder?

There is a maximum of 11 pages of apps on your iPad.  Those that don't show up can be launched by swiping all the way left to the iPad spotlight, and searching for the app title.  As for maximum number of apps in a folder, I was able to fit 20 (as you mentioned).

I was not able to find any official documentation regarding this matter.


My own solution to this problem, for both Macs here is

Local Time Machine backups, hourly, on-site
Backblaze once a night [best for my data plan]

That way, even if the building burns down, my maximum data loss is one day.
Backblaze is accessible from any web browser & files can be downloaded on demand; or if the data is huge, can be mailed on HD. It doesn't, however, contain the OS itself, only your data, prefs, settings etc.

Additionally, I swap out the Time Machine drives once a year, when I do any major upgrade - 10.10 to 10.11 etc.

I also make sure I have at least one clone of the current boot drive, though I don't keep it up to date on any regular basis. It will contain enough historical data - old installs I've lost the disks for, audio plugins where the authorisation site no longer exists, etc.

I also make sure to have Recovery Partitions on more than one drive.

A further step would be to have an additional Time Machine drive, which normally lives off-site.

I just checked - Backblaze is also available for iOS & Android - though it's not something I've ever really investigated.


Find specific attached disk, not volume, by Applescript

I'm not that great in writing Apple scripts but here is an idea how to solve your problem.

In the first method outlined below I search the device tree of system_profiler to get the DiskIdentifier of a disk device attached to the USB3 card reader built into your Dell monitor. In the second method I use ioreg.

system_profiler:

To get the DiskIdentifier of a SD-card attached to the external SD-Reader use something like:

system_profiler -detailLevel mini | grep -A 30 0x0307 | awk '/disk/ {gsub("BSD Name:", ""); print $NF}'

with grep -A 30 0x0307: output the next 30 lines after finding the string 0x0307
and awk '/disk/ {gsub("BSD Name:", ""); print $NF}' to get the disk number but remove BSD Name: from the output.

The command takes about 10 seconds on my system.

You may have to adjust the value of -A and the characteristic string (in the example above I used your USB3.0 Card Reader Product ID: 0x0307). Check the device tree with the app System Information and search for an appropriate string.

Wrap all that in a variable like $SDDiskToErase and hand it over to your diskutil eraseDisk command.

Using the above slightly modified line I got the diskIdentifier (disk2) of an external USB disk directly attached to my Mac:

system_profiler -detailLevel mini | grep -A 30 0x1c26 | awk '/disk/ {gsub("BSD Name:", ""); print $NF}'
disk2

ioreg:

Another initial command is ioreg -l | grep … (… is similar to the above) which is much faster (less than a second).

Attach an SD-card and get its DiskIdentifier with diskutil list. Then make a dump of ioreg with ioreg -l > ~/Desktop/ioreg-dump.txt.

Search in ioreg-dump.txt for the diskIdentifier found above. The disk is connected to a superior controller (the one in your monitor) visualized by the long vertical and short horizontal "lines" on the left in the dumb file. Use a characteristic and unique string of the controller like a serial number, IOName, deviceID etc. Then choose a number of subsequent lines for -A big enough to contain the diskIdentifier (e.g. disk6) but small enough not to contain the volume identifiers (e.g. disk6s1).

Example:

ioreg -l | grep -A 350 0x100000214 | awk '/disk/ {gsub("\"",""); print $NF}'
disk2

To use the command in Apple Script you have to escape all inner " and \:

"ioreg -l | grep -A 10 SD/MMC/MS/MSPRO | awk '/disk/ {gsub("\"",""); print $NF}'"

becomes:

do shell script "ioreg -l | grep -A 10 SD/MMC/MS/MSPRO | awk '/disk/ {gsub(\"\\\"\",\"\"); print $NF}'"


Keyboard shortcut (almost) never works for Automator service

In summary you will need to use:

Automator to create a service that runs your bash script
System Preferences to assign a keyboard shortcut to the service

Below are the steps involved for each.

1. Create a service using Automator

Launch Automator (usually found within your Applications folder)
Go to File > New
Select Service and click Choose
In the top right hand of the window that appears, ensure that "No input" is selected from the Service receives drop-down list
Ensure the In drop-down list is showing "Finder"
In the second column containing the long list, find "Run Shell Script" and double-click on it
This will add the Run Shell Script window on the right
Within the Run Shell Script section ensure you have selected the "/bin/bash" option for your Shell
Now add your code
Save the service using a meaningful name (e.g. Take Reference Screenshot).

Now to the next step.

2. Creating your shortcut

Go to System Preferences > Keyboard > Shortcuts
Select Services from the sidebar
Find your service (it'll be in the list on the right-hand side)
Add a shortcut by double clicking on the service name
Now go to System Preferences > Security & Privacy > Privacy
Select Accessibility in the sidebar
Click on the + sign (you may need to unlock the padlock if it's locked)
Add Automator.
Add Finder (to find this you will need to navigate to /System/Library/CoreServices/Finder.app).
Exit your System Preferences.

Let me know how you go.


Translucent menu bar option is simply gone after system reboot / freeze (Mac OS X Lion)

Did another reboot and the menu bar is back to normal.


Use another AppleID in iOS 7.1.2 AppStore?

You need to update the app using the Apple ID it was installed with.

For example, say if I install app A with Apple ID B, then sign out and in using Apple ID C, to update app A I need to use Apple ID B.

The most optimal solution to this is re-installing the app on the new Apple ID after saving snaps backing up any data.

From the comments:

  Note that this may require paying for apps and in-app purchases again. You can avoid this in some (but not all) cases by setting up family sharing between the two Apple IDs.


iPhone "Trust this computer": How to re-trust

Source: http://osxdaily.com/2014/03/24/trust-this-computer-alert-ios/

Try disconnecting/reconnecting the phone;
If that does not work, try going to iTunes, in the Preferences, Advanced, click the “Reset Warnings” button.


Change html files to txt on entire folder

I guess actually you just want to rename them. Run the following from inside the folder. If you do not trust the command, add echo before mv to see what it would do.

find . -type f -name "*.html" -exec bash -c "mv {} \`dirname {}\`/\`basename -s.html {}\`.txt" \;

This does the following:

Looks up every file (-type f) in the current folder (.) whose name is ends with ".html" (-name "*.html")
It than finds out the path of the file (dirname), adds a slash (/) and the name of the original file without the ".html" suffix (basename -s.html) and adds a ".txt" suffix.
Then it renames the original file (mv).

   Actually, the ` ` notation for using a programs output as part of a command is deprecated. $() should be used instead, but in the case of find the backticks are easier to use.


Are there performance issues with iOS 6 running on iPhone 3GS?

According to this ArsTechnica article

  iOS 6 doesn't make the iPhone 3GS any slower or more difficult to use than it was before, which should be good news to anyone who keeps theirs around as a secondary or backup phone—indeed, it's pleasantly surprising how many of the refinements and improvements make their way down to Apple's oldest-supported piece of iOS hardware. However, that hardware has been surpassed so thoroughly by other iOS and Android handsets at this point that it's difficult to recommend it as a primary handset. You don't have much to lose if you upgrade a 3GS to iOS 6, but there's a lot more to gain by investing in a newer device.


Mac OS X 10.6.8 not storing password in system profile - used for pre-authentication to the wireless network

Make sure that you haven't enabled the security settings in System Preferences -> Network -> Wi-Fi (Airport?) -> Advanced -> Wi-Fi: "Require administrator password to:"...

It may also help to examine log files on the computers that are having the issues. Best place to start is probably the log at /var/log/system.log. If you're using RADIUS, it may help to enable EAPOL logging:

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.eapolclient LogFlags -int 1

To disable EAPOL logging, you can perform this command:

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.eapolclient LogFlags -int 0

You may need to reboot after applying this command. The resulting log file should be located at /var/log/eapolclient.< interface >.log (e.g., eapolclient.en1.log)


How can I retrieve my product key without the disc or case?

Your Macbook Pro doesn't have a product number; it has a serial number.

You can obtain your serial number by looking at the bottom of your Macbook Pro or by clicking  the "apple" at the top of the screen and selecting About This Mac

Once to select about this Mac, you will get a screen similar to the ones below that will give you your serial number.

For Mavericks or earlier....

For Yosemite and later....


How to safely and conventiently have an external drive connected to an OS X laptop

Actually, the assumption behind your question is incorrect.

While other operating systems may manage the ejection of external drives differently (to some degree), they still require users to eject or safely remove them prior to physically unplugging them while the computer is still powered up.

The reason why this is important is that any computer (regardless of OS) can initiate a read or write sequence while it's powered up. It's important to note that not all read/write sequences are initiated by the user. Often they're initiated by the OS or other software, so even though you may think it's safe to remove that drive, it in fact may not be.

In terms of how you may be able to have this drive consistently connected so that backups happen automatically without the worry of damaging your drive, there's no 100% safe way without either ejecting the drive or fully shutting down a computer first. However, your next best bet is to ensure you close the lid of your MacBook prior to unplugging the laptop and taking it somewhere. By doing this and waiting a few moments the MacBook will go to sleep and unplugging the external drive will be safer (although not 100% safe).


How to get Outlook email indexed by Spotlight after reinstalling Office 2011?

Finally found the solution to this problem. Outlook provides a custom importer to Spotlight to index email. It is typically found in:

  "/Applications/Microsoft Office 2011/Microsoft Outlook.app/Contents/Library/Spotlight/Microsoft Outlook.mdimporter",

You can use the command /usr/bin/mdimport -L to list all installed importers. When I did that I saw that the importer from the old installation of Outlook was still installed because it was still in the trash can. When I tried to manually import an email using the command usr/bin/mdimport -d2 /[path]/x00_138.olk14Message I saw that it was failing to load the importer from the trash.

Emptying the trash fixed the issue. Wish there was a way to selectively empty the trash without deleting everything.

Once I emptied the trash, I had to force Spotlight to reindex the email folder by adding the /Users/jim/Documents/Microsoft User Data folder to the Privacy tab of Spotlight System Settings, and then removing it again. After spotlight reported the indexing was complete (via the Spotlight dropdown in the upper right) the email was all indexed again.

Hope that helps!


YouTube keeps crashing on iPad Pro 13 inch

It is about of symbol that is killing ios devices. I think they have added it in the description. Symbol instantly kills ios app that tried to open it.


Will my iPhone receive messages after i re-activate it?

OK, here is the good and bad news.

  If I have my device turned off, will I still receive text messages?

  If a message is sent to you while your device is off, or while you're
  traveling outside of the Verizon Wireless coverage area, your message
  will be stored for later delivery. Your device must be turned back on
  and have coverage for the message to be delivered to you. The network
  will attempt to deliver the message for five days (120 hours) from the
  date of receipt. Messages not delivered within five days will be
  deleted.

If it is officially Deactivated at Verizon store (or web site) then you will get nothing


MacBook Pro keeps returning to login screen

I found this problem after not using my MacBook for a while.
I removed the battery. Pressed the on button for 30 seconds with the battery removed and power chord unplugged.
Put the battery back in. Restart, and mine was o.k


Exclude a mailbox from "All Inboxes" or compose a custom multiple inbox view

Simple answer: no you cannot. But if you want, you could download other mail apps like "Mailbox" or "Mail Pilot".


I mean when I open the Wireshark, the layout supposed to display three pane(Packet List, Packet Details &Packet Bytes)

If you double-click on Wireshark, it will not show the three capture file panes, because there's no capture file to show!  That's been the case for several releases now, since before the 2.0 release - the 1.12 release does the same thing.  If you double-click on a capture file, it should open that file and show you the three capture panes.

  instead of the native UI...

The splash screen (which is what your screenshot shows) and the three-pane list are both part of the UI, whether it's in the 1.12 release (which, on OS X, uses X11) or the 2.0 release (which, on OS X, uses Qt directly atop Quartz with no X11 - this is not a "native" vs. X11 issue).

  I think when I open this app, it should has different UI...

That's not what it was written to do - not on OS X, not on Windows, and not on {Linux, Solaris, *BSD, HP-UX, AIX, etc.} with X11 (or Wayland or Mir).  If you open it directly, it shows the splash screen, just like the screen you saw; if you open it by double-clicking on a file, it'll open the file and show you the three panes.


How to clean MacOS? (Ad keeps popping up)

I would run Malwarebytes Anti-Malware for the Mac and clean things up. It is free. Get it direct from Malwarebytes: https://www.malwarebytes.com/mac/


Using ThunderBolt 27" Display with a Second VGA Display not working in Bootcamp

Yo.  I've tried with every possible scenario.  I found a note on Apple's site somewhere that stated that only one tb monitor is allowed for use in windows 7.  So...  Until they update the drivers for Win7 you can't get it working.  However...  If you use a TB Imac and add a second monitor to it, that does work as I have that setup at home.


How to disable a floating right arrow button that makes FaceTime calls

Apparently, the ">" button did seem to have something to do with Assistive Touch, despite attempts to turn that setting on/off not affecting it. That was Apple Support's thought, but something was screwed up, causing that button to exist when it shouldn't, so they had me force-restart the phone and that made it go away. I.e. We held down the power and home button (iPhone 6s plus) until the apple logo appeared in the center of a black screen. Once it fully booted back up, the ">" button was gone.


Time Machine backup of an external drive (to another external drive)

I have finally found the perfect answer to this. Behold the aptly-named rsync-time-backup project on GitHub. This is an easy-to-use bash script which can back up a source folder to a destination folder. Each backup made will create a time-labeled folder in the destination directory containing a full mirror of the source folder at that time, à la Time Machine.


What specifications does my iPhone 5c require to charge?

It does not matter. As long as it is 5 Volts DC. The iPhone will choose the current by itself. I use generic 5V buck converters, like this one, to charge from my solar system.


First check name resolution with the system resolver:

dscacheutil -q host -a name localhost

If you get an output like:

name: localhost
ipv6_address: ::1

name: localhost
ip_address: 127.0.0.1

the system resolver works correctly.

Stop your node.js app, create a simple node.js server by using this file with an arbitrary name (e.g. multiserver.js):

var http = require('http');
function handler(req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
};
http.createServer(handler).listen(3000, '127.0.0.1');
http.createServer(handler).listen(3001, 'localhost');
http.createServer(handler).listen(3002, '192.168.0.5');
http.createServer(handler).listen(3003, 'host.example.com');
http.createServer(handler).listen(3004, 'LocalHostName.local');

(replace the IP of the :3002 server by an IP of your host (ifconfig), the host.example.com of the :3003 server by the output of echo $HOSTNAME and LocalHostName by the output of scutil --get LocalHostName)

and start it with

node ../multiserver.js

Now test your "multiserver" with Google Chrome by entering http://name:port (don't forget to prepend http://).

The first two ports should work with both "names" (127.0.0.1/localhost). So entering either http://127.0.0.1:3000, http://127.0.0.1:3001, http://localhost:3000 or http://localhost:3001 should all yield "Hello World".

Also check the nine permutations of the next three ports and names (e.g. http://LocalHostName.local:3002 or http://192.168.0.5:3004) which should also all yield "Hello World" if the hostname/DNS are set up correctly.

If all this works, your express/node.js app is faulty.


Is it possible to trim a workout from an Apple Watch?

As of watchOS 4.0 and iOS 11.0 there is no way to adjust the length of a workout with Apple Watch or iPhone.

I experienced the same issue in the past and the only known way to do this is by

creating an encrypted backup with iTunes and to
edit the Health.app SQL database's entries
Restore the backup to your iPhone.

You should let Apple know that this is a feature you want to see in future releases:

https://www.apple.com/feedback/watch.html


Could aluminium dust inside a Macbook Air create a short circuit?

Loctite make a range of semi-permanent gunks for "gluing" screws in place.  A good hardware shop (on-line or in real life) would help.

There would have to be a lost of dust for it to be a problem.


2006 MacPro - Worth upgrading for use as a VM host?

Short answer, yes.

The MacPro 1,1 can run 10.7.5 as it's latest OS.  I have a 2008 Black MacBook which runs the same.  Despite being on an OS from 2011, you can still run the latest version (v7.1.0) of VMWare Fusion.  You can also jam 32 GB of RAM in there.  Plus, the Xeon from 2006 will almost be comparable to a Core i5 from a couple of years ago.

Like you, I also updated to an SSD.  Even though the RAM in my MacBook is only 2 GB, it is an amazingly fast machine considering it's specs.  SSDs are simply amazing, they are the best upgrades you can make.

I also have a 2012 Mac Mini.  I installed the maximum 16GB of RAM and a 240 GB SSD.  I am able to run OS X as well as a Windows VM and 2 Linux VMs with almost no degrdation in performance.

It's worth noting 10.7.5 might soon be cut off from receiving security updates, however I imagine you can configure some networking where the VMs have internet access yet the host machine only has access to the local LAN.

I'd say go for it.  That machine is far from dead, there are still some amazing things you can do with it.


In System Preferences under Energy Saver, is there a check in the checkbox for Enable Power Nap while plugged into a power adapter?

If so, then this is possibly why your iMac is waking up.  The description of Power Nap in System Preferences says: "While sleeping, your Mac can back up using Time Machine and periodically check for new email, calendar, and other iCloud updates".


Airdropped .avi between OSX 10.10 and iOS 8 not found

You can only send and receive iOS-compatible video files such as .m4v, etc.


How to use WiFi and Ethernet at the same time

The solution was extremely simple.

Prioritize ethernet to be first.
Under System Preferences->Network Settings: where EN0 is Manually configured, leave the router field blank.

I thought the router field was required, so I filled it in. My Ethernet connection has a "router" per say, but it is not used to access general connections. By filling in that field, the Mac OS would automatically try to create a default route through the Ethernet NIC. This would redirect all miscellaneous traffic through the wrong router.

I also tried to delete this route in the routing tables before I found the solution to my problem. This would delete the route appropriately and allow the my software system to run correctly. However after around a minute or so, the route was re-added (as I later discovered) by the operating system. After the route was re-added the connections would fail, so I had to restart the process all over again. This fix proved to be unproductive.

I hope this helps someone with their networking issues.


External Display recognized as DisplayPort, but connected via adapter using HDMI

The system is reporting that your Dell monitor is connected via DisplayPort be because you're actually connected to the DisplayPort port.  That said, it's not what's causing the problem you're describing.

What you're doing is converting the signal from DisplayPort (DP) to HDMI and most likely using a passive adapter; what you need is an active adapter or better still, just go from DisplayPort to DisplayPort (that monitor supports it).

I describe this in further detail in these posts:

External monitors show blank screen until restart
MacBook Pro detects syncmaster (monitor) but doesn't display
USB-C to Displayport cable or adapter


New MBP suddenly can't find any more Wi-Fi networks

Did you try to delete those network plist file?

Doing this you "Reset" the Wi-Fi:

Close your Wi-Fi from Macbook
From toolbar select -> Go -> Go To Folder
Paste this address /Library/Preferences/SystemConfiguration/
Locate and delete these files

com.apple.airport.preferences.plist
com.apple.network.identification.plist
com.apple.wifi.message-tracer.plist
NetworkInterfaces.plist
preferences.plist

Now restart your Macbook
Open your Wi-Fi and test again


How do I delete just the Time Machine files on my Drobo external filesystem?

Can't you delete it from the Time Machine interface?  Or is this a backup from a computer you no longer use?  If the latter then there shouldn't be much/any risk in just force deleting it.  If I remember right then you need to clear the immutable flag from the directory (or from all the files?)


why my Mac disk size become zero while Mac running long time?

A lot of temporary files and pages of virtual memory were paged to RAM. I know this could take up quite a bit of space, so it's non impossible that it used up the last few gigabytes with those processes open.


One way get a current 100% genuine Windows 10 USB flash drive would be to run the MediaCreationTool18.09.exe application. This would require Windows. To get Windows you would have to download the latest Windows 10 ISO file and install Windows a virtual machine. Oracle offers A free virtual machine called VirtualBox. I believe you will need to instal the Oracle VM VirtualBox Extension Pack after installing VirtualBox.

The link to get the MediaCreationTool18.09.exe application is given here. However, you can not access this link from macOS. You will need to click on the link while running a web browser under Windows. See this answer for an explanation.

A possible alternative would be to MS-DOS (FAT) format (using the Master Boot Record Scheme) a flash drive and copy all the files from the Windows 10 April 2018 Update ISO file to the flash drive. If you use the Windows 10 October 2018 Update ISO file, then the flash drive will need to be ExFAT formatted. These ISO files can be downloaded from this website.

  Note: The official Windows 10 USB installer is FAT32 formatted. There is no guarantee your PC can boot from a ExFAT formatted USB flash drive.


Is there a way to hide/remove the drop box folder (not dropbox.com) that is inside of public folder?

You can hide it from from Finder by setting the hidden flag with Terminal

chflags hidden /path/to/folder/

and if you want to remove the flag

chflags nohidden /path/to/folder/


Is it possible?

Yes.

The question is can you get a drive to upgrade to?

Apple uses a "proprietary PCIe 2.0 x4" interface for their storage.  There are SSDs out there that match the specs (like this Samsung on Amazon), but for some reason they are not compatible

So, bottom line....

Yes, you can upgrade it, but only with a genuine Apple SSD (at this point).  Your best bet is to get the most you can afford now because there is zero cost savings plus the added headache of disassembly/reassembly.  IMO, it just isn't worth it.


Disk usage in Mac terminal not working with --max-depth


Ability to add non-SMS non-Apple 2FA to an Apple ID?

No, you cannot use TOTP-authentication as implemented by for example Google Authenticator (i.e. RFC6238) with Apple-ID. The only supported system is Apple's own system, which works very similarly to TOTP.

This hasn't got anything to do with the SMS-requirement at all.

As a collary to the above, hardware-based OATH-TOTP solutions such as a YubiKey won't work with Apple-IDs either.


Removing Air Watch without removing WiFi/Exchange profiles

Apple signs the profiles cryptographically so this would most likely require a jailbreak to even attempt modifying the OS code that handles chaining MDM enrollment with MDM granted Apps, profiles, shared secrets, and MDM delivered trust certificates.

Unless there is an exploitable bug in either the MDM (AirWatch in this case) or iOS, you won't be able to accomplish either of your goals. Apple restricts the MDM technical documentation to enterprise level developers and to selected partners - even paid developers cannot generally see the details of the implementation, so I can't link to an official Apple page listing how this works.

Now - here's what you can to to learn more about the certificates and the profile you (the end user) can control:

Open the Settings app
Tap General
Scroll to below Date & Time and tap Device Management
Tap your MDM Enrollment profile (and yes, this is just a file that gets emailed to you or downloaded from a web page, so you could probably download it with a computer to inspect it if your MDM endpoint is publicly available)

You should be able to see who has signed the profile and whether your device trusts / can verify the cryptographic chain used to sign that certificate for the date/time your device reports. These profiles generally have a start and end time bracket that automatically invalidates the profile except for a window of time.

The system is designed to keep you from changing anything in the file - and you can either opt in to keeping the restrictions or Remove Management which removes everything that depends on this profile in a cryptographic/mathematical sense.

Now for the good news, you can try this management for free with one MDM solution I'm familiar with: http://www.bushel.com

You'll also want to watch some introductory presentations about certificates. I'd recommend the "Let's Talk about Certificates" by Ben Toms (a.k.a. mac mule)

http://www.jamfsoftware.com/resources/all/jamf-nation-user-conference-2015/
http://www.jamfsoftware.com/resources/lets-talk-about-certificates/

Warning, the last link contains humor since there are a lot of acronyms and technical jargon to be cut through that dryness with some levity. Skip to 2:30 to learn about trust and identification and whether you want to watch the entire presentation or not. And, what you ask would be like Apple and AirWatch being crew there to catch the woman in her "trust" fall.


How to disable `Microsoft Outlook`'s keybindings in macOS

Solution with Karabiner
Add this to the directory ~/.config/karabiner/assets/complex_modifications as a .json file with whatever unique filename you would like.
{
    "title": "Microsoft Outlook rules",
    "rules": [
        {
            "description": "Microsoft Outlook Unmap command-A",
            "manipulators": [
                {
                    "type": "basic",
                    "from": {
                        "key_code": "a",
                        "modifiers": {
                            "mandatory": ["command"],
                            "optional": ["caps_lock"]
                        }
                    },
                    "to": [
                        {
                            "key_code": "home"
                        }
                    ],
                    "conditions": [
                        {
                            "type": "frontmost_application_if",
                            "bundle_identifiers": ["^com\\.microsoft\\.Outlook$"]
                        }
                    ]
                }
            ]
        }
    ]
}

After you do this you will need to enable the complex modification by going to Karabiner-Elements Preferences > Complex Modifications > Rules > Add and picking it from the list.
More Info and Tools
Here is a link to the documentation for writing your own complex modifications.
If you want to do this for another application you can add a regex for the bundle ID of the app to the "bundle_identifiers" JSON entry. An easy way to get the bundle ID for an app is to use my Alfred workflow. Just open Alfred and type bundle <application_name> and it will give you autocomplete results from the applications you have installed. It copies the bundle ID for the application to your clipboard.
You can also use defaults to get the bundle ID: \
defaults read <path_to_the_application>/Contents/Info CFBundleIdentifier

P.S. If you want to make your own complex modifications I would actually suggest using Goku.


How to find out whether NVRAM was reset?

Doesn't appear to be a direct way to do this. Part of the problem is that your changes to the NVRAM, if you were to clear it (nvram -c), will not take effect until after a reboot.

You could try this method which will perform a side-by-side diff of the contents of NVRAM prior to running a nvram -c.

For example:

$ sdiff <(nvram -xp) <(nvram -c &> /dev/null; nvram -xp) | less

If there's any changes you should see lines with vertical bars (|) which will denote lines that changed. Content on the left side will be your before and content on the right will be your after.

References

How to View & Clear the Mac NVRAM Contents from Terminal in Mac OS X


I'm not sure about #2, but I suspect #1 is due to trailing slashes in the file path. cp -Rp /path/to/Application.app /path/to/destination will copy the entire package, while cp -Rp /path/to/Application.app/ /path/to/destination (note the trailing slash after the source) will copy just the contents.
BTW, you should use cp -R instead of cp -r -- in some implementations of cp they're the same, but in some versions the lowercase option has ... oddities. According to the man page on OS X:

COMPATIBILITY
Historic versions of the cp utility had a -r option.  This implementation
supports that option; however, its use is strongly discouraged, as it
does not correctly copy special files, symbolic links, or fifo's.


How Photo Stream Works
If you have Photo Stream enabled on both iPhone and iPhoto, any picture you take on iPhone is automatically uploaded to Photo Stream, and the automatically downloaded to iPhoto. iPhoto must be open for this to occur (but don't worry, the photos stay in Photo Stream for 30 days or until 1000 more pictures are taken, whichever comes first, so you don't have to have iPhoto running constantly).
Uploading Photos to Photo Stream
Photo Stream only uploads from iPhone while connected to WiFi. Occasionally a picture is missed, and as of now (August 2013) videos are never uploaded. There is no way to trigger an upload later if a photo fails to upload to Photo Stream. You can, however manually sync iPhone with iPhoto to sync videos as well as any missed photos.
Syncing iPhone with iPhoto Manually
Plug iPhone into your Mac then in iPhoto, click on your device in the left sidebar. There will be an Import button. It will automatically skip any photos previously imported from Photo Stream. Once imported you can choose whether to remove them from Camera Roll on the phone. If you do this, make sure you are syncing them back to iPhone in iTunes if you want them on the phone in albums.
Deleting Photos
Deleting from Photo Stream
When you delete a photo from Photo Stream, it removes it from Photo Stream entirely. If it was already downloaded into iPhoto it will remain there under the (MonthName Year) Photo Stream album, but not in Photo Stream itself.
Deleting from Camera Roll
When you delete a photo from Camera Roll it removes it from that area but does not delete it from Photo Stream.


Copy an iPhone's disk contents (filesystem) to a computer

One way to copy the data is to jailbreak the iOS device, then using a terminal program on the device or log in via ssh from a remote computer, then copy the data with the dd command, as explained here. But that only works if

The iOS is bootable and
The iOS can be jailbroken.

So, this is not the answer I am looking for but it's still an option that fits the above question, somewhat.


How can I use my Mac to determine the optimal WiFi channel to use with my wireless router?

You can easily determine the best channels to use in the native Wireless Diagnostics scanner:

Open the "Wireless Diagnostics" Application
Ignore the prompts and open "Window", "Scan" in the menu bar
Press "Scan Now"

The recommended channel(s) for both 2.4 GHz and 5 GHz will now be present in the Summary pane.

More info on OSXDaily.


Is iTunes required for file management on the iPad?

iPhone Explorer is the best one out there today. By far.

On the iPad itself, only if you jailbreak. Then get iFile.


How do I convert from Case-Insensitive to case-sensitive in 10.8

I've run in to this before and the only solution I'm aware of is to reformat your file system. Here's what I suggest you do:

Boot off of your OSX install media and use Disk Utility to clone your OS image on to another drive.
Reformat your main drive with the file system you want
Restore the contents of your backed-up system to the main drive.

You could also go largely through Time Machine for this, but I'd recommend going straight at Disk Utility. TimeMachine refuses to restore from backups that have a different case-sensitivity setting.

Here's a random link to someone's article on cloning a drive with Disk Utility.


User folder on mac OS is empty, but still uses 60GB of hard drive space

The space is most likely being occupied by the various files and folders in ~/Library, which is hidden by default on OS X. You can show the Library folder by navigating to your home folder in Finder, pressing ⌘J and showing the Library folder.

Furthermore, you can run the following command in your home folder which will list all the files and folders in your home folder, including hidden files and folders, and display their sizes.

du -shc .??* *


Unable to log into any accounts (regular or root)

The issue seems to have been that I accidentally added a tag (in Finder) to the root user's home directory (`/private/root). Removing it fixed the issue.


Mac does not recognize iPhone when it is connected by USB

Lots of reasons this could happen.

Rather than us guessing, here's the recipe for isolating the cause:

https://support.apple.com/en-us/HT203979 - If you don't see your connected device in iTunes for Mac


UI Lag OSX Yosemite (10.10) on Retina MacBook Pro late 2013

I'm experiencing some slowdown after a while even on my MBA. It's exactly how you described it. It's perfectly smooth after booting the machine but eventually, after using it for one day or so the animations (especially launching Mission Control, switching between spaces and full screen apps) get noticeably choppy. I don't think there's anything that can be done about it right now, I made a clean install and even executed an Onyx automation, but the problem persists.  This is clearly an optimization problem in Yosemite and I really hope it will get better with the future updates.


There's a bug somewhere (maybe a PostScript bug related to Preview) in the Mac workflow when you Save as PDF. There is a rare occurrence where a line like that will occur, and the workaround is to repeat the Save as PDF command. The bug is rare, so you probably won't get a repeat the second time.

I've encountered the bug a handful of times because I frequently use Preview to compile screenshots (from online seminars) into a single PDF for later review. Here is the workflow I'm using when I encounter the bug:

Select all your screenshots, right-click, open with Preview.
Review the screenshots; right-click and delete any you don't want.
On the left, use [Cmd+a] to select all the screenshots.
Use [Cmd+p] to open the Print dialog, but at the bottom-left, choose Save as PDF.

After step (4), I find it necessary to quickly skim through the resulting PDF, just to confirm that a random line hasn't occurred. If it has, then I repeat step (4) and check again.

If my descriptions above are not helpful to you, then another thing to check is the software that was used to generate the PDF. For example, if you open a PDF in Acrobat (I'm not certain about Adobe Reader), then use [Cmd+d] to open the Document Properties dialog, and the Description tab will list the software used to produce that PDF. Knowing this, you can potentially identify the source of issues.


How to display preview of any data from iPad on external monitor?

You can give Keynote for iPad a try.

You can put all the presentation content in a keynote file (PDF, images, videos), start the presentation from Keynote from iPad app, display the presentation on an externally connected monitor while still working on something else on your iPad. The iPad app acts as the remote for controlling the presentation while you can also use your iPad for other tasks.

Keynote for iPad: Play a presentation on a separate display


Safari wants to access my keychain doesn't offer "always deny"... How can I implement this?

There is not an always deny functionality in keychain. Put another way, there is a white list but not a black list.

A somewhat elegant workaround is to turn off AutoFill of passwords in Safari's preferences and you won't even get the request to access the keychain in the first place.


First thing I would always try for Flash issues is to disable Hardware Acceleration...

Right click any Flash video & select Settings...

Then click the first tab at the bottom & uncheck Enable hardware acceleration


How can I transfer my iPhone’s contents to an empty iTunes library?

Download DiskAid (free trial). You can transfer all your music and apps over to iTunes from your iPhone. It’s pretty straightforward so I think you don’t need instructions for that.
Connect your iPhone to the PC. The content won’t be deleted right away, it will be deleted only if you choose to.
Right click on your phone in the left pane in iTunes. Click Backup.
Make sure you have transferred all your content by checking the Music, Apps, etc. libraries on iTunes.
Reset the phone by going into Settings > General > Reset > Erase all Content and Settings. Make sure you have backed up before doing this.
After the reset, choose to restore from an iTunes backup in the setup screen.
The phone will restore first your settings, then your music and apps.
It is a time-taking and painful process, but eventually things will be restored.


Can't turn on FileVault after restore from Time Machine

From http://support.apple.com/kb/HT4790

FileVault 2 requirements
FileVault 2 requires OS X Lion and Recovery HD installed on your startup drive, which the OS X Lion installer will attempt to create at installation. If you receive an alert that no Recovery HD could be created and continued to install OS X Lion, you will be unable to use FileVault 2. See this article for more information. Please note that Recovery HD must be present on your computer's startup volume to use FileVault 2 (not an external Recovery HD).

Also, if you partitioned the new SSD yourself, ensure that you used the GUID partition table scheme.
Re-installing lion over the top of your existing install will recreate it for you.


Backing up External drive to Time Machine - what if it's not connected?

I also have my external HDD connected from time to time. To answer to Afmrak, Time Machine only prepares (stashes) backups once it finds out you connected your Time Machine HDD. So if you haven't connected your HDD for some time, it will take a while for Time Machine to prepare and make backup.
I have never been backing up external volumes.


Finder icon size slider broken, how to fix?

When you are in Thumbnail view, press cmd+ 2 (to get the List view) and then switch back to Thumbnail view with cmd+ 1.
Normally, it should get your slider working!


After looking a little further, I found what I was looking for on this page: How can I prevent my Macbook Pro 2011 from going to sleep when I close the lid?


My mom is still using my 2009 MBP without any issue.  If the CPU is fast enough for you, I'd recommend refurbing it.

I'd also agree with Robuust about getting an SSD.  The prices are low enough now that you should be able to get 250GB for < $250 and anything smaller is still < $1/GB.  If you've been getting by with a 160GB spinning drive, you'll be amazed by the speed increase.  Mine went from a 40s boot time to about 12s.

The only caveat I see is that my mom's MB DID need a new keyboard a couple years ago due to the mouse button failing to click anymore.  That was a $80 repair -- bought one from ebay and installed it myself.  So if you have any kind of HW problems, you would need to address those down the road.

Then again, you can get a complete late-model MBP on ebay for $700-ish.  If you aren't afraid of buying a used one, that may be the better way, but for what you are doing, the old one should continue to work well.


Why do Ctrl+F2 and Ctrl+F3 sometimes stop working?

I think I have figured this out:

ctrl+F1 apparently turns keyboard access on/off, which disables the other shortcuts. So I have now disabled this shortcut and hopefully the others will no longer get accidentally disabled.

If this happens to you, try ctrl+F1 to re-enable. Also you can disable this in:

 System Preferences Keyboard Keyboard & Text Input


Mac OS Extended (Journaled) is an OSX extension to the older HFS+ file system. While it can be read by OS9, the journal block will be ignored. OS9 needs a HFS+ file system without journaling. Also, unstuffing on an OSX file system will not add the resource fork which is essential for OS9. The blinking folder with the question mark tells you that while the file system can be read, no bootable operating system is present.
The original Mac OS held data in two forks, the data fork and the resource fork. That was a clever way of preserving precious disk space because many UI elements could be shared by all programs and read from the operating system files. ResEdit should be included in your OS9 installation and can be used to study and change resource forks once you get the system up and running.
Dragging files on OSX dives will not produce a bootable disk. Better try to burn a DVD directly from the .toast file because this will also copy files that OSX will ignore. Then boot from that DVD and do all file copying from within that OS9 system because only then will the resource files be copied as well.


How can my apple watch receive notifications if bluetooth is disabled on my iphone?

Source.

Your Apple Watch can use both bluetooth and wifi to communicate with the paired iPhone.

  To enjoy every feature on your Apple Watch, you need to turn on Wi-Fi
  and Bluetooth on your paired iPhone. Swipe up on your iPhone to open
  Control Center. Then make sure Wi-Fi and Bluetooth are on.

  Your Apple Watch uses Wi-Fi and Bluetooth to communicate with your
  paired iPhone, switching between connections as needed:

  Your Apple Watch uses Bluetooth when your iPhone is near, which
  conserves power.
  If Bluetooth isn’t available, your Apple Watch will
  try to use Wi-Fi. For example, if compatible Wi-Fi is available and
  your iPhone isn't in Bluetooth range, your Apple Watch uses Wi-Fi.


App to use iMac as digital photo frame for photos on a network drive?

Nobody volunteered a solution, so here's what I did...

Screensaver: I used the in-built screensaver, with a few changes (see below)
The Default duration of the slide show was too quick (3 seconds), so I used OS X Mavericks screensaver changes pictures too quickly: How do I slow it down? to fix it. Note the special csrutil instructions since Yosemite.
Network drive: I mounted a network drive, then changed the Login Options to permanently mount it. See: How to Automatically Connect to a Network Drive at Login in OS X
On/Off control: I used the Energy Saver control panel to Wake & Sleep the machine at set times. Not as good as sensing light/motion, but it will do for now.


iPad not reacting to screen orientation - screen lock

Understanding The Screen Rotation Lock
Apple has a support document that explains this called "iPad: Understanding the side switch".
Here's a quick explanation:
If your iPad has version 4.2.1 or later of iOS installed (Settings > General > About > Version) there are two possible ways your screen can be locked.
The default is the software lock. To adjust this rapidly click the home button twice. This will reveal a bar below your dock. Swipe the icons that are revealed once to the left to reveal some additional controls. Your screen should look like this:

You can also enable a hardware lock. This will cause the small switch on the side of your iPad to lock and unlock screen rotation. The setting for this is found in the settings apps here:

If this setting is set to "Lock Rotation" instead of "Mute" the software lock will be replaced with a mute button like this:


How Can I Delete Some Disk Images in My Recovery Partition?

None of those are a real problem in that they interfere with recovery functions.

Why wouldn’t you make a bootable installer and then boot from that (or internet recovery) and just delete your recovery and re-run the os installer?


Two possibilities. There is a problem with the software and/or hardware on your Mac, or the disk wasn't truly burned properly.

If your Mac reads all other DVDs fine, I'm guessing the problem is with how it was burned.

I'm not sure what software or method you used, but maybe there's a problem with the partition or something on the DVDs. Try to see what it says in Disk Utility.


Equivalents for genisoimage and qemu-img on Ubuntu

You can use mkisofs instead of genisoimage - they are almost identical (mkisofs is actually newer and better maintained, while genisoimage is debian's old fork of it).

It comes with cdrtools, which you can install from brew:

brew install cdrtools


ipython/python broken after upgrading to OS X Mavericks

OS upgrades from Apple tend to wreck havoc on Python installations, usually resulting in the re-installation of whatever packages you had installed. There is no way to fix it at this point, but going forward you could consider running virtualenv to keep your Python installs and packages separate from the OS.

A little more info can be found here.


OS X 10.9.1, Mail 7.1; Mail: Mail rules reset with restart

Uncheck the box marked Documents & Data in the iCloud preference pane.
Then try to set up the rules and test it again.


App Store apps can't be opened after upgrading macOS 10.12 to 10.13

Ok, I got so sick of it that I decided to reinstall my OS.
I even formatted the HD, and I did not restore from any backup.
While at it, I moved to 10.14.6.
When that installation was freshly done, the first thing I did was security updates and a reboot.
After that I wen't to the App Store and tried to install the app again.
The error from yesterday was gone but to my surprise I got the following error:

Then I followed all the steps here except the Upgrade to macOS Catalina:
https://www.saintlad.com/we-could-not-complete-your-purchase-app-store-on-mojave/

Check Network Connectivity
Verify Apple ID in App Store & iTunes
Accept iTunes New Terms & Conditions
Clear App Store Cookies and Cached Files
Clear App Store Temporary Files
-U-p-g-r-a-d-e- -t-o- -m-a-c-O-S- -C-a-t-a-l-i-n-a-
Get Support from Apple

When I was on the phone, I clicked to get the same error as in the picture to make sure I didn't confuse it with yesterday error's message. And yes I still got the error. Later in the conversation he asked me to try another app, which I had done before. But magically it worked now, and suddenly all worked.
So yeah, I recommend people to call Apple, and let them do whatever it is they are doing to fix this problem.


How can I automate changing the quality of several photos?

Here is a simple Applescript that uses the Image Events built into OS X. Add salt to taste.

property kFileList : {}

tell application "Finder"
    set theSourceFolder to choose folder
    set theDestinationFolder to choose folder

    my createList(theSourceFolder)

    set lastItem to (count kFileList)
    repeat with thisItem from 1 to lastItem
        set theFile to (theSourceFolder & item thisItem of kFileList) as string

        tell application "Image Events"
            set theImage to open theFile
            save theImage as JPEG2 in ((theDestinationFolder & item thisItem of kFileList & ".jpg") as string) with compression level high
        end tell
    end repeat
end tell

on createList(mSource_folder)
    set item_list to ""

    tell application "System Events"
        set item_list to get the name of every disk item of mSource_folder
    end tell

    set item_count to (get count of items in item_list)

    repeat with i from 1 to item_count
        set the_properties to ""

        set the_item to item i of the item_list
        set the_item to ((mSource_folder & the_item) as string) as alias

        tell application "System Events"
            set file_info to get info for the_item
        end tell

        if visible of file_info is true then
            set file_name to displayed name of file_info
            set end of kFileList to file_name
            if folder of file_info is true then
                my createList(the_item)
            end if
        end if

    end repeat
end createList

Acorn is also good for cheap and easy automation via Applescript that will offer more choices than what Image Events, but Image Events is free so there's that


How to remotely connect Macs across different networks?

Assuming you have a central and stationary management unit (a Mac) and several remote Macs (1:n relationship), I would choose an inverted VPN-approach:

Set up a VPN-server on your central Mac. The network address of the VPN-net mustn't collide with local network addresses. Port-forward all necessary ports to your Mac on your local router. Depending on your Internet service provider and your Internet connection get a dynamic DNS-address.
Set up VPN-clients on the remote Macs and connect them to your central VPN-server. The clients mustn't route all traffic via the VPN-connection.
Enable Screen Sharing on the clients
Connect "locally" with your VNC-app.

Since the question misses some details (e.g. macOS versions/number of remote Macs/safety rules in the remote networks/24-7 service/Internet & network stability locally and remote etc.), I can't answer the question in all its particulars.


Installer of Oracle jdk-7u45-macosx-x64 hangs on Mavericks

You could always proceed at your own risk to install the package using Pacifist, a free download that asks you to donate, as I have done before with Java. It just places the files in and doesn't ask questions, and then you reboot… Really, proceed with caution if you do that. It worked for me on the JDK, but I was in a slightly different situation.


How to set default input source in Mac OS X Lion

To expand on Han's answer, here is the excerpt from the article Managing input methods in OS X

  To change your default input method in OS X and avoid having to make
  these adjustments for each application and document you open, you
  first have to be sure the setting to allow a different input source
  for each document is disabled. To do this, go to the Input Sources
  system preferences and select the option to "Use the same one in all
  documents." With this setting in place, go to the input menu and
  select the desired method you would like to have as your primary input
  source. After this is done, you can go back to allowing a different
  input source for each document, and any newly opened documents and
  applications will now use the desired primary input method, until you
  manually change it for that document.


How does the Touch-Bar interact with HTML5 videos, and other media on the web?

The touch bar controller does not interact as such directly with HTML5 and it is not using Javascript.

It is instead the other way around. It is the browser that asks the touch bar controller to do something (i.e. for example to display buttons for previous and next page, open tab, etc.). This is done through the NSTouchBar class provided by Apple in AppKit.

The touch bar hardware in itself does not for example know that a button means to open a new tab in Firefox. Instead the application (for example Firefox) is told via NSTouchBar that the button has been pressed, and the application (Firefox in this example) must implement that functionality itself.

Therefore it is the browser that implements the action and thus controls the video – not the TouchBar.


There seems to be no way to get formatted html tables into Pages, though other kinds of formatting will work. On Firefox, you're out of luck unfortunately. I just tested this now, using the latest version of Pages.

Firefox to Pages: unformatted
Firefox to TextEdit: unformatted
Chrome to Pages: unformatted
Chrome to TextEdit: formatted with tables
Safari to Pages: formatted, no tables
Safari to TextEdit: formatted with tables
TextEdit to Pages: formatted, no tables


Try following in Terminal to adjust the Dock behavior.

defaults write com.apple.dock autohide-time-modifier -float 0.5

compliment that with killall Dock to make it active.

The number at the end is in seconds (delay) so choose what it suits you.

To return to original settings use

defaults delete com.apple.Dock autohide-time-modifier


Which songs in my iTunes library are DRM protected?

Create a smart playlist and use "kind contains protected" as the first rule.


Windows-Logo-Key + Left/Right Arrow -- Keyboard shortcut equivalent on Mac

If you hold down the green fullscreen button, it gives you the option to split/share the screen with a second window


Changing the $HOME environment variable in terminal on mac 10.8

In bash (the default shell of Terminal on 10.8) the syntax:

HOME=/your/path
export HOME


How do I change the icon of an alias to a custom ICO file?

As you've already found out you cannot customize the icon of an alias.

What you'll need to do, is create an application bundle using either Applescript, Automator, included in OS X, or use third-party app like Platypus.

You can then use custom .incs files or copy and paste supported images into the Get Info Sheet Icon and then add the application bundle to the Dock.

I have 10 WinApps I've done this for using Automator, creating an Application and adding a Run Shell Script Action to it.

One App in particular is GIF Movie Gear and the command added to the Run Shell Script Action is:

open "$HOME/Wine Files/drive_c/Program Files/GIF Movie Gear/movgear.exe"

I can't remember where I got the GIF Movie Gear Icon File however it is an .icns file that I renamed to AutomatorApplet.icns in the application bundle replacing the original.

Notes: I do not have any ICO files to test with, so I can't say whether or not that file type is supported directly and if not, then it will need to be converted into a supported type.

Also if you do replace the AutomatorApplet.icns, do this last before adding it to the Dock and note that if you edit the Automator Application afterwards, it will replace the .icns file with a default one.

Doing the copy and paste method into the Get Info Sheet Icon I believe survives edits.


Sync bookmarks between iOS8 and OS X 10.10 without iCloud

Answering my own question: no this is not possible. The non-free workaround is to buy the 40$ SyncMate from Eltima Software: http://www.sync-mac.com/

I'm not affiliated with that company. It's just all I found to solve this problem. If anybody has a better solution please post it.


Bluetooth Explorer removed from Xcode Tools in 12.x?

Not only it's been removed, I've tried to use the Bluetooth Explorer for Xcode 11.4 and it's not functional.
I believe it is part of Apple's new changes of making their prperietary chips, M1  and thereafter,  part of a single ecosystem where if the iPhone and iPhone don't support other chips, like intel and Qualcom, then the OS XI won't neither.


Numbers Won't Open On My MacBook Pro with OS X 10.8.5

The first thing to do when troubleshooting an iWork app that connects to iCloud is to test launching the app from a brand new user. This will isolate whether your user settings are causing problems or the problem is truly with the App itself or the OS install.

Open System Preferences
Select Users & Groups
Make a new user - test or something obvious.
Log out of your current user (users if you have fast user switching enabled).
Log in to the new account.
Open Numbers.

At that point, you can see if the console app has information about Numbers from the current user launching the app and the previous user. Console app is in /Applications/Utilities.

Since this won't actually solve the problem you may need to edit the question or ask a new question - but it should help inform you if the problem relates to your documents in Numbers or the Numbers app itself. From there, you'll have a more narrow problem to ask/chase/fix.


Can I add my own commands/scripts to the mail.app toolbar?

I think you can use Mail Act-on for this, it provides Shortcuts for doing stuff with various mails. Not a Visual Shortcut, but a Keyboard one.

  Move messages by keystroke only Mail
  Act-On’s interface includes the
  ability to move or copy messages to
  any folders by keystroke, even if you
  don’t have an Act-On rule for a
  particular mailbox.

http://www.indev.ca/MailActOn.html

Hope it helps,

Karl


Will installing XtraFinder make my system vulnerable?

Go ahead and follow the directions. When you finish, re-enable System Integrity Protection and restart.


iTunes' music sharing disconnects when Macbook sleeps

Try the following. On your Mac, click System Preferences > Security&Privacy > Firewall > Advanced > Deselect Log out after xx minutes of activity. This will stop iTunes switching off even though your Mac is in sleep mode. If the number of minutes in the prior selection equals the time at which the connection is lost, this is probably your problem.


any Virtual Ipad/Iphone applications for PC that has network connections?

As there are no emulation / simulation engines that I've seen that work well enough to run tutorials in anything resembling a smooth manner, your least expensive option would be to get a cheap secondhand iPad and then use AirPlay emulation software on the PC to capture the screen and make your videos.

You could even save money by taking static screen captures and then animating them on the PC.

The only simulator that even comes close to what you need runs on OS X and is part of Xcode delivered from Apple. You could probably virtualize that, but the cost there is more than buying cheap used iOS hardware. Even an iPod touch is often good enough for walk through videos on basic settings for corporate users.


Mail.app showing odd characters instead of actual text

We went digging through FontBook and found a bad copy of Georgia installed by Microsoft Office. After going through about a dozen duplicated font files, and removing the older versions of each, we restarted Mail.app. At this point everything is working perfectly.


I found out why this was happening. I have a Windows box which I completely forgot I installed iCloud on. For some reason, that temp folder would not get deleted on the Windows machine, and it was re-uploaded to iCloud every night. That's why it was re-appearing on the other devices.

After deleting the folder from the Windows machine, the issue stopped happening. Case closed.


How to not import duplicates from shared Photos album

Open Photos app in OS X as usual.
Pull down the “Photos” menu and choose “Preferences”
Under the “General” tab, look for “Importing: Copy items to the Photos library” and uncheck that box to disable image copying.
Close Preferences.

Happy snapping! :)


Mac on High Sierra won't shutdown cleanly: black screen with mouse

Restarting in safe mode allowed proper shutdown:

  Start your Mac, then immediately press and hold the Shift
  key. The Apple logo appears on your display.

  Release the Shift key when you see the
  login window.

I was able to use safe mode used this to update to 10.13.6 (problem still existed) and 10.14 (problem resolved -- can now shutdown).


One of the main reasons people would go with a Smart Cover over a full case is to avoid adding extra bulk.  The Smart Cover provides good protection for the screen at a minimal size/weight cost.

I use an iPad 2 with a Smart Cover daily, and it's really a great alternative to a case in my opinion.  To provide extra protection without bulk, I have added an InvisibleShield (thin scratchproof film) to the front and back of the iPad.

That said, if you are clumsy or will be using your iPad in more hazardous environments, you should probably go with a full case.


How do I fix macOS Mojave httpd syntax error in a localhost setup?

It sounds like you do actually not have any configuration files in the /private/etc/apache2/users/ directory, and thus you cannot include them - therefore the configuration check fails.

If you have users on your system with shared a shared Sites folder, you would usually have configuration files in this directory named username.conf with the following contents:

<Directory "/Users/username/Sites/">
    Options Indexes MultiViews
    Require all granted
</Directory>

(Note: You'll need to replace "username" in the filename and the contents with the actual name of the user)


How do I compile vim with the --enable-gui=yes flag on OS X 10.8.2

You can fix the error about missing header files by exporting CFLAGS like this before running make:

export CFLAGS="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/Headers/FlatCarbon/"

Unfortunately, a new attempt to compile vim fails with loads of errors:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h:17:24: error: #include nested too deeply
(...)
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:156: error: conflicting types for ‘Boolean’
/usr/X11/include/X11/Intrinsic.h:155: error: previous declaration of ‘Boolean’ was here
(...)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h:11:20: error: missing binary operator before token "("
(...)

and README_mac.txt doesn't offer much help:

(...)
Sorry, this text still needs to be written!

After some more failed attempts with other compile options, and after skimming through the errors, one quickly gets the impression that GUI support is not yet implemented for OS X, at least for Quartz.

A look to the other options for getting vim, HomeBrew and MacPorts, pretty much confirms the suspicion: The former doesn't offer GUI support at all (see here) and the latter only using X11 (see here).

So to compile vim with GUI support you will have to revert to the good ol' X11 (I tested the Athena widgets, other options are motif and, if you use GTK, gtk1 and gtk2):

$ make distclean
$ ./configure --enable-gui=yes --enable-gui=athena --disable-darwin

After launching XQuartz I could start vim in GUI mode:

$ export DISPLAY=:0
$ ./src/vim -g

However, I have the impression that this is not the GUI support you need to embed vim inside Eclipse.


error: login: /bin/false: No such file or directory

I fixed issue by selecting the bash I want to use:

System Preferences -> Users & Groups -> Advanced


The COMODO RSA Certification Authority certificate (Serial Number 4C AA F9 CA DB 63 6F E0 1F F7 4E D8 5B 03 86 9D) is not a default trusted root in El Capitan. You can find the list of the trusted root certificates in El Capitan at https://support.apple.com/en-us/HT205204

That root became trusted in Sierra and later. You can find that list of the https://support.apple.com/en-us/HT205204.

Either upgrade your macOS, or install the updated COMODO SHA-2 roots and intermediates from  https://support.comodo.com/index.php?/Knowledgebase/List/Index/71 and install them as X509 roots in Keychain.

Start with https://support.comodo.com/index.php?/Knowledgebase/Article/View/969/108/root-comodo-rsa-certification-authority-sha-2

Download the .crt file, click on it, and follow the instructions at https://www.askdavetaylor.com/how_to_install_trusted_root_certificate_mac/

Alternatively, you can use Firefox, which maintains a certificate store independent of the one in your outdated Keychain.


Error when parsing my .bashrc -- sytax error: operand expected (error token is " ")

There is no /proc/loadavg on macOS, so SYSLOAD is most probably empty (or at least not numeric).


Is there any way to have macOS Photos bulk convert all of my past JPEG images to HEIC format?

Unless somebody writes a plugin to manipulate photos in place, converting all the JPGs outside of Photos, deleting them from the library and then reimporting seems to be the only way. Which of course means that you loose all the albums etc.
As for a plugin, I wouln't be surprised if this is nearly impossible to do as plugins usually manipulate just the content of a photo, they change neither file type nor file name. And with the in-place editing Photos provides (and the versioning/edit history this requires) even a hack accessing photos.db directly will be challenging to do.


Added LG monitor and cannot get display icon to show

To show the Apple Menu Bar on both displays, (and thus see the Monitors menu item,) Check "Displays have separate spaces" in System Preferences > Mission Control.


How can I execute sudo commands as a cron job?

Cron is not in any way deprecated, but LaunchD has more versatility and is used, and actively maintained/supported by Apple.  Their best practices guide is here

LaunchDaemon jobs(versus LaunchAgents, which take on a users id) run in root's context without needing to enable the root user. All that is required is a properly formed XML file(you can just copy-paste pre-existing ones in /Library/LaunchDaemons, substituting your script for the ProgramArguments with the applicable schedule keys) with the proper ownership/permissions.  An older writeup can be found here:
afp548's launchd-in-depth article


How can I turn on the macOS firewall from a script

macOS now uses the pf firewall (from OpenBSD).  Since Mac OS X Lion (10.7) circa 2012, the firewall ipfw was deprecated in favor of pf

The command to disable the pf firewall is:

% sudo pfctl -d

For full command line options for pfctl see man pfctl.


The only reliable (and legal) source of macOS is the Mac App Store.

There are python scripts to download from Apple as well. Apple code signs the installers, so you are taking on risk to re-implement or bypass those checks.


How fast is 256GB to 128GB on mid-2013 MacBook Air?

Sandisk/Marvell drives are about ~500MB/s write and Samsung drives are ~700MB/s write speed. Both have around 700MB/s read speeds.

It's important to note that while these are different, under regular use it's very unlikely that either will have any sort of performance implications. Benchmarks tell very little about day-to-day performance.


Mobile data not turning off for some apps iOS 8.4.1

There's a bug which occurs sometimes where the CellularData.db is corrupted/malformed and iOS can't write the preferences to it.

You can fix this by deleting the file, located in /var/wireless/Library/Databases/CellularUsage.db.

Source: Fix cellular data app preferences not being saved on iOS 7


MacBook Pro (Retina, 13-inch, Mid 2014) 2.6 GHz Intel Core i5 Intel Iris 1536 MB Mac OS Sierra 10.12.5 (16F73)

The NETBIOS name can be edited in the Network Preference pane: Select the network connection currently in use on the left, click the "Advanced..." button then the "WINS" tab. Edit the name there.

Specifically it is there so that you can share files with Windows-based PCs via SMB. You can turn that option off under the Sharing Preference pane, then click on File Sharing and the Options button and uncheck "Share files and folders via SMB."

I have the same OS and see no "Network Neighborhood." That is Windows Nomenclature and might be that you are seeing a Windows PC or PCs on your local network. Some people have file sharing turned on and don't realize it.

Remote disc is a way of sharing an optical drive from a Mac that has one to a Mac that doesn't. You can choose what you seen the Finder sidebar by going to the Finder (I just usually open a new Finder window) and tap COMMAND , (or go the the Finder menu and select preferences). Then click on the sidebar tab and check or un-check the items you do or do not want to see.


Error installing Windows 10 64 bit under El Capitan's Boot Camp

You must do everything (install, partition, uninstall, repartition, delete partition) with BootcampAssistant, nothing else.
Start bootcampAssistant and delete the windows partition.
restart the mac. Then do everything agian, with BootcampAssistant.


Games no longer appear to be using Retina graphics

It seems the Angry Birds Seasons you're trying to play, doesn't have retina support. If you take a look at the customer reviews, you'll see some people complaining about the lack of retina support.

And if you're used to an iPhone 3G screen and make the switch to the gorgeous retina display, you'll see a huge difference. But so far, no retina support for Angry Birds Seasons.

UPDATE:
It looks like Rovio is adding Retina support  to his latest creation (Space), so I'm guessing it won't be too long when the others games will support the Retina display too.

(Or maybe the opposite, they don't add Retina support in order to convince the users to buy the latest Rovio products...)


Can businesses send money to users with apple pay?

Yes. My business has a business credit card that’s activated on Apple Pay and that works for depositing funds into Apple Pay Cash as well as Square Cash. And when Apple Cash is low, the debit card will fund sending monies.

I wouldn’t use it for payroll or large payments, but it works well enough to be super handy. There is no API and the payments are iOS and macOS TouchID /FaceID centric.