shut down the mac, boot it up in Recovery mode, CMD + R, go to disk utility, select your main disk, and erase it, format it as Mac extended,
close that window, go to Reinstall MAC OS X, and then follow the instructions, thats the best, way to re-install, it will never go wrong.


Why would port 19421 be open on an iPhone?

It's not a standard service. I would suggest rebooting the iPhone and checking again. Then you can start one app after another until you get to one that opens that port. Possibly the port number is dynamically allocated, so that you wouldn't fall upon the same port number again.


Import a bazillion photos from iCloud to mac

Select a photo, go to another, far away photo, hold Shift and select another. It should download more photos at a time.

This is not a comprehensive solution to such a situation. Just because questioner can select 40-50 photos in browser, I am suggesting a way to select more.

I recommend Firefox for such download. It comes from experience of Firefox Send. Safari gets stuck in bigger downloads.


Partially delete path in zsh (Option + Backspace)

An arbitrary number of alphabetic characters and digits as well as chars defined by WORDCHARS are considered all one word in zsh.

The default value of WORDCHARS is:

% echo $WORDCHARS
*?_-.[]~=/&;!#$%^(){}<>

By defining another/a new WORDCHARS in .zprofile (and/or .zshrc|... - depends on how you configured your zsh environment), you can modify the behaviour of werase (word erase - usually ctrl/^w).

Simply add the line export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' in .zprofile|..., close the Terminal window or source .zprofile|... and werase  works as you want afterwards.

Keep in mind that other shortcuts (like alt/⌥←) will also be affected then.

If you want a different behaviour, check this question & answer: zsh: using different WORDCHARS for kill-word and forward-word / backward-word


How do I do a clean install of Yosemite?

I downloaded the OS X Yosemite GM from the App Store.  Quit the installer that pops up with out installing and made a bootable flash drive with it on it.  Used the following command below just change the paths to fit your need.

sudo /Applications/Path to *Yosemite Installer*.app/Contents/Resources/createinstallmedia --volume /Volumes/*FlashDrive* --applicationpath /Applications/Path to *Yosemite Installer*.app --nointeraction

Then booted the computer to the usb flash drive and wiped the previous partitions using Disk Utility.app and installed a fresh copy.


Will Find my iPhone app still run when my iPhone restarts?

Since Find my iPhone is a service rather than an app, it is retained when the device is restarted, and your device will still be available for accessing through Find my iPhone providing there is still an internet connection.


messages stopped working on my iMac computer

The registration can fail and need to be re-established. Before you contact Apple support, I would open messages on the Mac and sign out of your AppleID.

Sign out of messages with your AppleID
Check the date / time in the Mac in system preferences. Within 60 seconds of reality should be fine, closer is better of course, but it’s not sub second critical.
Sign back in to Messages (quit the app and retry after signing out if it’s stubborn). https://support.apple.com/en-us/HT204408

The system should log an error to the diagnostics or the screen if your sign in fails.


Less free space after securely erasing free space?

That's it. Do you have external SSD and FileVault enabled? Having SSD drive, Secure Erase and Erasing Free Space commands aren't needed for SSD drives 'cause a regular erase command makes it difficult to recover data from an SSD.

Also, if you don’t include freespace word, diskutil will start securely erasing the entire disk, instead of just the free space! 1 means single-pass method run of random numbers.

diskutil secureErase freespace 1 /Volumes/SSD

Be careful with it. Securely erased means there’s no chance you’ll be able to recover the data.

Read this useful AD post: Why is a secure erase 'not necessary' for SSD ?


How do I remove a name from my VIP list in Mail?

In Mac Mail, under the VIPs Mailbox, control-click the VIP you would like to remove, and select remove from VIPs.


To find out exactly what is taking up the space, follow these steps:

Go to Finder
Press and hold the option key while you click on the Go menu
Select Library
You can let go of the option key now
Within the Library folder open the Caches folder
Now you'll see a com.apple.bird folder

Now you can browse within this folder to determine what's taking up the space.

If you happen to have WhatsApp installed and it's taking up a lot of the space, then refer to my answer to this question


How to find more Game Center games on Mountain Lion?

If you open the Game Center app, at the bottom of the Games tab there is a "Find Game Center Games" button:

Which goes to this page which has a list of Game Center games (there are currently only 8).

Also, some apps on the App Store will mention in their description that they have Game Center support. And you can see some games are featured with text saying they've been updated to support Game Center:


The most recent data I've been able to find is for iPhones from 2015 and it's from Localytics.  The company states they...

  ...examined over 100 million iPhone devices. The data for this study
  represents iPhones that had active app sessions logged during August
  2015.

Here's the hightlights of the study, the details can be found here.

Here's some info from Unity3D based on their usage for March, 2016.  It inlcudes all Apple devices.

Top on 2016-03:

iPhone 5S: 21.0%
iPhone 6: 13.5%
iPad Mini: 9.5%
iPhone 6S: 6.7%
iPhone 5: 5.6%
iPhone 6 Plus: 5.5%
iPad Air: 5.2%
iPad Mini 2: 4.6%
iPhone 4S: 4.4%
iPad 2: 3.6%
iPad Air 2: 3.2%
iPad 4: 3.1%
iPhone 6S Plus: 2.9%
iPhone 4: 2.7%
iPhone 5C: 2.6%
iPad 3: 1.8%
iPod Touch 5th: 1.3%
iPod Touch 6th: 0.9%
iPad Mini 3: 0.8%
iPad Mini 4: 0.7%
iPad Pro: 0.2%
Apple TV 4: 0.0%
iPod Touch 3rd: 0.0%

As a developer, I just use AutoLayout and not worry about what device my users have.  That seems to work for me but each app is different.


What prevents an iPad or iPod charger from overcharging?

All Apple products have a charging demand circuit that senses the battery charge level and only engages charging current when the battery needs a charge.

When you plug in power to the iPad, it only initially channels enough current to run the system (or boot it up if it's off) and establish some sensing of the battery. At that point, it will start charging (and drawing more current) if needed.

If you think of electricity like water plumbing, there are two pipes - one to run the CPU/screen and another valve that only gets open when you want to send some of the water pressure into a water tower for use later. Just like a town wouldn't pump water into the tower when it's full (or when they decide they need to send all the output into town) - the iOS device isn't a simple unregulated system where the batter gets a charge whether it wants it or not.

The Dynex charger simply has a time limit so it would work normally until the 8 hour shut off finished (most iOS batteries — even old failing ones — are done charging by 4-5 hours) and at that point, rather than have your iOS device stay running on wall current, the battery would have to kick in and start self-powering the device. For that reason, I would say skip the Dynex for Apple product and save it for less sophisticated / simple electronics that don't self-govern charging current.


Is it possible to create an invisible rule in Mail?

No you cannot do that within Mail.app.

However you can add for example a mail filtering proxy that sits between your mail provider and Mail.app. This proxy will be able to filter away mail without Mail.app displaying that it does so. Depending on your mail provider it might also be able to move mail into subfolders, etc. (for example this is possible on IMAP).


When was the compact cube charger introduced for the iPhone?

The cube charger was released with the iPhone 3G on July 11, 2008. A review of the 3G mentions it:

  The plug is pleasantly smaller than on the original iPhone's, but it's compatible with a standard USB cable.


Globally move mouse pointer and click using VIM keystrokes?

A tool that might just help you is Cliclick. With it, you can read the mouse position using the p:. command, move the mouse using the m:x,y command, and click using the c:. command.

This is a bit of a hack, really, but regarding the multi-monitor support, you can use Slate, where you can programmatically call Cliclick with the coordinates of the mouse in a different monitor. I'm sure there are other alternatives, though. I also used Slate to bind the other first calls to Cliclick.

The "mouse mode" is a bit tougher. In Slate you can create "modal hotkeys" pressing two hotkeys in succession (like ^W in Vim), but no support for whole modes. You could, however, dynamically edit the .slate.js binding file to contain "normal mode" or "mouse mode" bindings each time you change the mode.

I did something similar yesterday, so hope this helps. :)


Can I adjust the sensitivity of 3D Touch?

You can adjust the sensitivity to light, medium, or firm by going to Settings > General > Accessibility > 3D Touch.


I would check the actual space settings on your phone. iCloud can show how much space might be needed.

Also, I would turn save space option to see if that makes the device more willing to sync down at least all the thumbnails needed.


Will the MacBook Air (2011) perform as well as my MacBook Pro (2008)?

The CPU will be adequate, but the MacBook Air is limited to 4 GB of RAM. This effectively gives you somewhere between 1 and 1.5 GB for your Windows 7 VM, which is not much. While the SSD will make for much faster IO than the HDD in your MBP, I expect you'll be doing a lot of pageouts.


Multiple Windows on Startup Items - How to Remove

Remove Windows from Startup Manager

You at least need to remove the hybrid partitioning on disk1. I assuming this drive would be /dev/sda under Ubuntu. If not, then make the appropriate substitution. The command below can be entered in a Ubuntu terminal window to list the drives and partitions.

sudo lsblk -e7

You can use gdisk included with Ubuntu to remove the hybrid partitioning. This is a interactive command. The command and user input is given below.

sudo gdisk /dev/sda
x
n
w
y

How to change EFI Boot to Ubuntu (Optional)

I noticed you have a icon for Ubuntu, but are still using the default label.

Enter the following commands in a macOS Terminal application window.

sudo diskutil mount disk1s1
sudo bless --folder /Volumes/EFI/EFI/Boot --label Ubuntu
diskutil unmount disk1s1

How to Restore Hybrid Partitioning to the Windows Drive.

I assuming this drive would be /dev/disk0 under macOS. If not, then make the appropriate substitution. The command below can be entered in a Terminal application window to list the drives and partitions.

diskutil list

You can use gdisk installed in macOS to partially convert disk0 from a GPT to MBR partition table. This is a interactive command. The command and user input is given below.

sudo gdisk /dev/disk0
r
h
1
n
07
y
n
w
y

Next, use the following commands to finish the conversion.

sudo fdisk -e /dev/disk0
s 2
0
q
y
diskutil unmountdisk disk0
gpt destroy /dev/disk0


An alias is merely a shortcut to another file or folder, so it doesn't have any "file size" other than what is sufficient to create the alias.


How to copy/export emails from old iPhone

If at least one of the Mail Accounts available on both phones you can

create a mail folder in this account
copy all mails from the shutdown account into this folder (on the old phone)
wait a while to have the phone sync the mail folder back to the Server
access the Mail folder from your new phone


Connecting to EC2 Amazon using iTerm and .pub-file

ssh -i /path/to/keypair.pem user@host should do it.


Where does the sudo .bashrc file reside?

I prefer to use sudo --set-home and/or sudo --login when I care about the dot files so that the environment gets set up more like the normal user than the restricted environment.

This seems a bit like an XY problem though, it really depends on what you are trying to do if setting up a proper root user with a proper environment is needed or if you can modify the sudo behavior using standard flags and functionality.

You can find the home folders generally with this set of commands:

sudo -s
who am i
whoami
pwd

In the first case, you are the normal user with root - sticking to the old user home folder and dot files. If you instead do sudo --login you'll see the home folder for root. By default it is /var/root


Connect a Thunderbolt Display to windows 8 desktop

Thunderbolt is not backwardly-compatible with any other display technology. It is an active technology, all before it were passive. It is a combination of video & PCIe.

You can connect Thunderbolt to DisplayPort, but not the other way round.

From how do I connect an Apple Thunderbolt display to a PC?

  If the Wikipedia article is to be believed (and I do believe it is correct based on what thunderbolt is), then your configuration will not work.

  Compatability

  Apple Thunderbolt Displays, like the video input on Thunderbolt iMacs,
  drop compatibility with all previous standards, including VGA, DVI,
  and DisplayPort.[3] As such, they cannot be connected to computers
  lacking a Thunderbolt port, including pre-2011 Macs and the vast
  majority of PCs.

Thunderbolt is not the same as Display Port.  Therefore you can only connect thunderbolt equipped Mac's (or some PC's with thunderbolt hardware and appropriate drivers) to the Thunderbolt display.

From the Apple Mini DisplayPort FAQ

  My computer has the same connector but the symbol is different, what does that mean?

  Some Apple computer have a Thunderbolt port instead of a Mini
  DisplayPort. Computers with a Thunderbolt port will have the following
  symbol next a port although the port physically appears the same as a
  Mini DisplayPort:

  Thunderbolt ports:

  Are compatible with all of the Mini DisplayPort adapters referenced
  below in question 5 and with Apple Mini DisplayPort equipped displays.
  Support adapters like Apple's Thunderbolt to Gigabit Ethernet Adapter
  and Thunderbolt to FireWire Adapter which are not otherwise compatible
  with Mini DisplayPorts. See Thunderbolt ports and displays: Frequently
  asked questions (FAQ) for more information on Thunderbolt.

So with your adaptor you can drive a DisplayPort based monitor to your PC, but not a thunderbolt display as it lacks support for DisplayPort.  That's why it didn't turn on and work.

Some Googling and I haven't yet been able to find a USB based thunderbolt adaptor, it seems there is talk of such a device using USB 3.0 to thunderbolt although at reduced speeds.  There are a few thunderbolt PCIe cards available and some PC motherboards support thunderbolt.


Playing the same music on multiple computers

There are certainly multiple ways to accomplish this, but what I figured out is the simplest free approach I know of: use SoundFlower (a free download from Cycling 74) to pipe your system audio to iChat, and use iChat to send the audio to another computer.

In your System Preferences go to Sound and set SoundFlower as both Input and Output. Note that this will make your system sound not go through your speakers, so to turn that back on also run SoundFlowerbed (the front end that comes with SoundFlower) and set SoundFlower's output to the speakers.

Now launch iChat and go to Preferences. In the Video/Audio preferences you can set what input to use; it'll probably be defaulting to your microphone but you can set that to SoundFlower. Now when you do a voice chat with someone else they will hear your computer's audio.


How to increase the Apple Dictation timeout?

The official answer (which clearly isn't the one you want based on how the question is phrased) is no for OS X 10.8 and earlier. For the initial implementation, dictation on OS X was limited to 30 seconds of audio per transcription event.

Mac Basics: Dictation - HT5449

Hopefully this helps others that are looking for an official answer or explanation. On OS X 10.9 (Mavericks), offline dictation and longer dictation are allowed and you can enable it by answering yes when asked if you want enhanced dictation. You can also control it by going to the Dictation tab of the Speech & Dictation system preference pane:


Is it possible to copy paste between Mac OS and its virtual machine?

You can find a lot of documentation about copy/paste, drag and drop,... on the website of VMWare, and they stated:

  To use the copy and paste feature, VMware Tools must be installed on
  the virtual machine.

But since you've already installed those tools, I recommend you reinstall them. Just to be sure.

Also, make sure you don't stumble upon the limits of this feature:

  You cannot copy and paste or drag and drop content that exceeds the internal buffer limit of 4MB.
  Copy and paste or drag and drop of formatted text containing images might not work across different operating systems.
  Copying and pasting files from the host to an Outlook email message or compressed folder in the guest and vice versa might fail.
  Workaround: Copy files from host to the guest desktop first and then
  paste the files from the guest desktop into the Outlook email message
  or compressed folder.


If IT is being intractable even when you tell them that you are prevented from updating your OS (which in itself is a security issue), you have three options:

Download macOS updates directly from Apple at https://support.apple.com/en_US/downloads/macos.  You can download these off site (if necessary) and copy them to USB external storage.
Use a mobile hotspot
Physically take the Mac to another network without this restriction (like you home for example)

It still surprises me that they are completely unwilling to assist - they could literally bypass the rules or  put it on the DMZ for the duration of the update and return the machine back to the being protected after the update.


Will Eclipse + Android Developer Tools plugin work on OS X Yosemite?

I got this error

I tried updating the Java to the latest Java 8 update 25 but still didn't work.

but after going to the recommended website from apple and download and install it: http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

it worked just fine again. It was able to start.

It says Java 6. I'm not really sure what other repercussions will be. It's like a downgrade.

i still do have 1.7 in my eclipse compiler though.


It's pretty secure, since any new device attempting to read your iCloud Keychain requires one of the following:

One of your existing devices verifies the connection through a push notification with manual acceptance.

  When you enable iCloud Keychain on an additional device, your other devices that use iCloud Keychain receive a notification requesting approval for the additional device. After you approve the additional device, your iCloud Keychain automatically begins updating on that device.

Your iCloud Security Code

  When you set up iCloud Keychain, you're asked to create an iCloud Security Code. It can be a 4-digit code similar to the passcode lock for your device, or you can have a more complex code automatically generated for you. The iCloud Security Code is used to authorize additional devices to use your iCloud Keychain. It's also used to verify your identify so that you can perform other iCloud Keychain actions, such as recovering your iCloud Keychain if you lose all your devices.

Entering the code incorrectly multiple times causes manual verification method
SMS verification to your phone.

  The device that is using the SMS-capable phone number you provided when you first set up iCloud Keychain. A verification code is sent via SMS to this phone number. If you don't have access to this number, contact Apple Support, who can verify your identity so that you can complete setup on your new device.

Furthermore, you can also protect your iCloud account / Apple ID by enabling two factor authentication so that in many cases - the first use of your iCloud password on a new device triggers a push notification warning in addition to the automatic email that Apple sends when your password is used on a new device.

In summary:

You get email notification when your password is used on a new device for iCloud - no opt-in steps needed.
Keychain syncing has enhanced protection / two factor authentication baked in, again no opt-in is needed.
You can opt-in to AppleID two factor authentication to further protect against password loss/skimming.


In my opinion, Time Machine is the best solution. If you do a full restore from backup, all your configurations are retained. You'll need to enable FileVault after the restore is finished. If you do a nuke-n-pave and a pristine install, migrating profile data, apps and settings invariably misses some stuff, e.g., VPN configurations, automatic wifi connections, current RVM environment, 3rd-party printer drivers, etc.

If you repartition the drive and lose the local recovery partition, internet recovery will be slow; as such, you may wish to download your OS X version from the App Store and use DiskMaker X to create a bootable installation USB or DVD from which to proceed. Note that a local recovery partition is not created unless you do the actual OS installation first, which'll burn a good 30 minutes of your day. After that, you can reboot to the USB and head into the restore process.


Disable the Command-Tab shortcut from Dock

You might use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__KeyToKey__ KeyCode::TAB, VK_COMMAND | ModifierFlag::NONE, KeyCode::F19</autogen>
    <autogen>__KeyToKey__ KeyCode::TAB, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, KeyCode::F19, ModifierFlag::SHIFT_L</autogen>
  </item>
</root>

Then remap F19 or shift-F19 in Quark if it is possible.

This would actually disable command-tab and shift-command tab:

<autogen>__KeyToKey__ KeyCode::TAB, VK_COMMAND | ModifierFlag::NONE, KeyCode::VK_NONE</autogen>
<autogen>__KeyToKey__ KeyCode::TAB, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, KeyCode::VK_NONE</autogen>


As noted in a PDF released by Apple, there is a java tool to export the data from iTunes connect.

This is to compensate the absence of API for iTunesConnect. Still in late 2017, Apple provides no API for iTunes connect or app review services.


What adapters work from Thunderbolt to HDMI?

Yes - you might be overlooking that all the Display Port adapters work perfectly well with Thunderbolt macs.

Just place it at the end of the chain. It's not an issue since your VGA or HDMI device isn't going to have another Thunderbolt port in the chain to send the data further. You are necessarily connecting at the end of the line.

The Moshi is my favorite, but any of the Apple ones VGA, DVI are fine choices as well. You should find many "equivalents" from other vendors as well once you realize you can skip the Thunderbolt part for now.


Shortcut to move windows between Mission Control spaces?

Options provided by OSX

Using your mouse, click and hold the window you want to move to another Space.
a) While still holding your mouse button down, use your Spaces keyboard shortcut to move to the desired Space. (default: ctrl+←/→)

b) Drag the window to the edge of the screen. Wait a second or two and the window will be dragged into the next space.

You can change the delay before the OS switches spaces using...(here 2 seconds)

 defaults write com.apple.dock workspaces-edge-delay -float 2.0; killall Dock;

Third-party solutions

SizeUp (unlimited free trial available)

Your question has been asked before on stackoverflow.com.


This is not a answer but a comparison.

I had to use it to show screen shoots.

First here is my basis: (my WiFi connection)

Second here is a sample when downloading two large files (at same time). As you can see the download did not budge, so I am not at the limit.

First file is 853 Meg size while second is 442 MB. Both are downloading with about 160 KB/sec.

And I am using Firefox to access the download sites.

However my example is strictly downloading. And there is no limit on download speed. How ever there is a speed limit to Upload.  As you know Torrenting could be tricky since you are also uploading (sharing).

So if you can limit the number for Uploading, that also uses your Internet connection and can slow it down significantly.


Copying across embedded HTML links using Safari

As far as I have seen Safari does not copy the URLs when you select text with URLs in them. However that may be more of a function of the destination. I say this because if you select text (pictures too) from a web page that has hyperlinks in it, paste it into an MS Office document and MS Word preserves all formatting, including hyperlinks, pictures and formatting as it appeared on the source web page.

So you may have to use Firefox on your new iMac to do that particular thing assuming you don't want to copy the source of the page just the intact URLs.


The simple way is to use wipe the drive then use Internet Recovery to reinstall the OS. Internet Recovery will always download a copy of the original version of OS X that the Mac came with regardless of Apple ID, etc. Once the OS is installed, upgrade it to Mavericks for free using your Apple ID.

Boot into Internet Recovery using ⌘⌥R.
Erase and Install OS X.
Once the installation is complete, go to the App Store and download and install Mavericks.


When is the GUID partition table (GPT) preferred over Apple partition map (APM) for external drives?

It's always better unless you must use the drive with an OS that is too old or too different to support the GPT format. Windows, Unix, macOS all support GPT / GUID and APM is not widely supported on other OS.

To elaborate, GUID (or more properly GPT - the GUID partition table scheme) is the new bootable standard for Macs so use it unless you have macs that need to boot from this drive and cannot support GUID. APM is your only option in that unlikely case. The vast majority of macs will work with both in all instances - especially if you don't need it to be bootable.


External USB3.0 4TB HDD is not recognized by Mac OS X

I had this problem where I couldn't see my external usb hdd with ntfs format in mac os and I tried DiskUtil where it stuck at loading.

None of above worked for me. But I found this piece of command which miraculously made my hdd drive visible in mac:

set devmgr_show_nonpresent_devices=1

Got it from here:

https://www.online-tech-tips.com/computer-tips/external-hard-drive-not-recognized/


My understanding from the Debian wiki:

Quote:

  I found that I didn't want any of the Wake On LAN settings except Wake on "Magic Packet" (g). I only wanted my machine to turn on when I specifically told it to, not on unicast messages (u), broadcast messages (b) or multicast messages (m).

Instead of Wake on "Magic Packet" (g), you would want Wake on unicast messages (u).

Disclaimer: I haven't tried it.


How to remove shortcuts from Launchpad installed by Windows through Parallels 10?

Just found a useful article for my problem: http://kb.parallels.com/112798

1) Open finder, then press Shift+CMD+G and type "~/Applications/"
2) Locate your Virtual Machine's folder (there will be 2 similar folders, click on one that has application icons inside)
3) Remove all necessary shortcuts and they will be gone from Launchpad as well.


Recovering AppleID using my rescue email address

Start at https://iforgot.apple.com and follow the instructions. If you don't know the Apple ID address used, choose ‘look it up’ and enter your name and email address.


Notability is pretty optimized for the trackpad. Works well if you have an iPad stylus and use it on the trackpad too. Not to mention, iCloud sync and iOS apps to go along with it. Check it out if you haven't had a chance.

If that's not what you're looking for, then maybe Pixelmator is more your cup of tea. It is fully optimized for the Mac as well.

To be honest, when you say "fully optimized for the trackpad," I think you'll find that there isn't much for that. The trackpad is great for a lot of things, but it certainly ain't no Wacom Bamboo tablet. In other words, it may be necessary to understand that the trackpad isn't specifically built for "drawing objects and shapes," although a Wacom tablet is. The programs listed above will certainly get you the desired results without much trouble.

One other thought... If you have an iPad, there are a slew of apps that will allow you to use your iPad as a mouse or a pseudo-trackpad. It may be worth while stopping by your local electronics store, picking up a $10 stylus for an iPad, and using that for drawing instead of the trackpad itself. One example of these apps is Rowmote. I've used it myself for a few years and love it.

Hope all this helps!


If you want a folder that's accessible from within Mail, you can create a local mailbox (using "Mailbox" > "New Mailbox…") and then copy the messages you want from your iCloud mailbox across to it.

You can also use "Mailbox" > "Export Mailbox…" to export mail to a file on your hard disk - however you can't browse this from within Mail without importing it again (using "File" > "Import Mailboxes…").

I'm almost certain that Mail will be keeping iCloud messages on your hard disk in any case. OS X Mail keeps all its data in conventional (for Unix) mbox files. You can find them in:

/Users/<your username>/Library/Mail/V2

(Note however since OS X 10.7, the Library directory is hidden by default.)

Even if the account were to stop working, you should still be able to see all of the mail in it. It would only be removed if you were to delete the account.


Does the new AppleTV need to be connected to the internet to access content on my Mac?

Turns out it needs to be on the internet initially, in order to set up Home Sharing.

But once Home Sharing is set up, it can access content on your Mac as long as your Mac is on the same local network, and has iTunes running.


Vertical lines on left side of MacBook Pro screen

I took it to the genius bar and they said the crack itself was accidental damage so couldn't be fixed under warranty.

However the employee looked for other damage which could be and found that the space bar had been rubbing on the screen causing a little damage, and that could be replaced under warranty so I got the entire repair for free. The total cost would have been £558 plus tax.

I should get it back sometime this weekend. I'm impressed by Apple support this time.


PDF reader that refreshes at updates and stays put

The answer was in a comment by Jonathan Schuster to the question Reopen PDF in Preview on the same page when modified externally that Graham Miln pointed at.

In his comment, Jonathan wrote

  For what it's worth, I've found Skim to be a good viewer that doesn't
  have this issue. Just make sure to check "Check for file changes" in
  the Sync section of Preferences.

which neatly answers my question.


Zip the contents of every sub-folder in a folder in Mac automatically

Not sure about Automator, but you can easily accomplish this in Terminal.

find "parent folder" -type d -depth 1 -execdir sh -c 'cd "$1" && zip -r "$1" .' _ '{}' \;

find "parent folder" -type d -depth 1 lists all subdirectories of "parent folder" (just run it to see the result)
-execdir executes the part up to the \; for each subdirectory found
sh -c 'cd "$1" && zip -r "$1" .' _ '{}' starts a subshell to change into the directory to pack and then zip the content there. The {} contains the name of the subdirectory and is the value $1 will be set to within the subshell, _ is syntactically required but the actual content is ignored.


Keyboard Shortcut to Right Size All Columns Individually in Finder in OSX Lion?

What works for me (although some quirks remain) is this: in view options (CMD-J) set up your finder window exactly how you would like them all to be. Make sure to check "Always open in ... view" and "Browse in ... view". When you're happy, click "use as defaults". Then open a terminal window and enter the following command:

sudo find / -name .DS_Store -delete; killall Finder

(it prompts for password and generates some "no permission" errors. Could take a minute or two)

It removes all the .DS_Store files from your folders. These are hidden files that contain the view settings of a specific folder (you might have noticed them when opening a mac USB stick on a windows machine or whatever).

It's not perfect, right size is relative to your finder window size i believe, but it's much better than the frustrating craziness that comes from every folder having different settings...

CMD-J opens the view options. When in that window, Fn will change the "Use as Defaults" button to "Restore to defaults". That's pretty close to a shortcut, I'll do some digging to find out how to make it full circle...


Adobe reader XI font error with Chrome > print > save as pdf

This is a Chrome bug.  It has been marked fixed in version 27, so the easiest thing to do would be to wait for the upgrade or to upgrade now.

To fix the existing PDFs, you can do the following:

Open the PDF in Preview
File->Save

This will rewrite the PDF so that it does not have the issue.


The article cited in your question is from before iOS 4 started using "Data Protection, which is Apple's term for creating an encryption key based on the users lock code or password. Basically the hardware encryption is used, but only accessable after a user has created an encryption key (which is based on the entered Passcode), and as soon as the phone is locked or turned off, the key is erased.

The problem is that apps are only going to encrypt data if they utilize the Data Protection API, which the Mail app does: http://support.apple.com/kb/HT4175

It's also what setup the groundwork for the remote wipe feature, which destroys the Key as well. source


Preview cannot display two different eps files with the same name simultaneously

You might want to use and Open two instances of Preview at once.

  Unfortunately, Preview (like most Mac OS X applications) lets you have
  just one instance of a file open at a time. But there’s a way around
  that restriction.

  The open command line program accepts a parameter -n that allows it to
  launch the application again, even if it’s already running. So, if
  you’re currently viewing file.pdf in Preview, enter open -n file.pdf
  in Terminal. (You’ll need to supply the full and complete path to the
  file, of course; the easiest way to do that is to type in open -n,
  then drag the file from the Finder to the Terminal command line.)
  Another instance of Preview will launch, complete with its own Dock
  icon, with the PDF document open.


Is there a way to validate that an apple update is legitimate?

On other software updates (and for not having any doubt about the legit of them) sudo through terminal.

To install all available software updates, instead use the command sudo softwareupdate -i -a. The -a switch simply instructs the command to install all updates. Again, you’ll need to enter your admin password when prompted.

There’s no traditional progress bar, but you will see updated text entries in the Terminal window as each step is completed, letting you know both when certain updates have been downloaded and when the entire installation process is complete.

If you installed software updates that require a reboot, you’ll see a final message instructing you to restart your Mac. You can do this via the normal macOS interface, but since we’re already using UNIX commands in Terminal, you can also type sudo shutdown -r now, which instructs shutdown command to restart the Mac (“-r”) immediately (“now”).


OK, I found the issue. Apparently two options have to be set in order for any extension to disappear (except for .app). First you have to go into Finder's Preferences > Advanced. Untick Show all filename extensions. Then you tick Hide extension in the Get Info window for your file and the extension is hidden.


The homebrew homepage has a single step instalation:

paste

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

into terminal and hit return


Pass a variable (folder pathway) to AppleScript in Automator

When using on run {input, parameters}, input is a list, and as such you need to change the following line of your code:

set thefolder to (input as text)

To:

set thefolder to (item 1 of input)

That will fix the Can’t get every file of ... error.

Also, while you didn't state the complete settings of the Get Value of Variable action, I'll assume that under Options, you have checked the [√] Ignore this action's input checkbox to unlink it from the preceding Set Value of Variable action. Otherwise, it passes the variable twice to the Run AppleScript action! That is, in this example workflow you've presented.


In the Solarized themes the bright green, yellow, blue, and cyan foreground colors seem to be almost the same as the default foreground color.

Or if you were expecting it to add color to new places, it doesn't. Terminal setting files only change the settings that can also be changed from Terminal's preferences, like the values of ANSI colors.


Set SublimText 3 as default app for files without extension

The solution was doing it with public.data

1) Go to ~/Library/Preferences/com.apple.LaunchServices

2) Open com.apple.launchservices.secure.plist with Xcode

3) Add this :

4) Save & Reboot


Establishing ssh session using Back To My Mac

"Back to my Mac" uses a special tunnel device configured with two - more or less random and unique - IPv6 addresses from the local address room:

a link local address: fe80...
a unique local unicast (ULA): fc00… to fdff…

All IPv6 traffic (computer_name.number.members.btmm.icloud.com is the DNS name of a IPv6 host/device!) is wrapped into IPv4 packets, so that a IPv6 capable router isn't needed. On the Apple side it's unwrapped - probably with some 6in4 relay - and then routed to the remote device.

Apparently this doesn't work if you want to ssh from your own host into your own host (aka ssh -6 %localhost-utun1-ULA%). It works with a second device (also registered with your Apple ID in iCloud) in your own private or a remote network.

It's really slow though (tested with two Sierra VMs on one hosting Mac all using the same physical network interface!).


why can't i watch this .avi file on my mac (mountain lion)?

OS X doesn't have codecs for AVI files built-in, so you'll either need a plugin to allow QuickTime to play the files directly, or use a different media player that can handle those file types.

For plugins, Perian has been the go to choice. However it is no longer supported or developed — at the moment it still works well, but as OS X changes, that may no longer be the case.

For third party players, VLC is pretty robust and will play virtually anything you can find. It has the benefit of ongoing development, but the interface is not always the best (the preferences in particular are pretty convoluted). You can also look at MplayerX. There are other options (Movist and Niceplayer come to mind), but none seem to have been updated in the past year or more.


Dual display with MacBook Pro (13-inch, Mid 2012)

Your Mac technically can only support it's own internal display and one external display.  However, there is a "hack" that you can use to get a 3rd screen (2nd external monitor)

What you will need:

mini Display Port to DVI cable/adapter
USB to DVI adapter

There's a YouTube video with someone using this method with 3 external monitors (total of 4 screens) so this is entirely doable.  Keep in mind that the bandwidth on USB is nowhere near the bandwidth of DisplayPort so there will be some lag when it comes to intensive video type applications.  In other words, don't expect excellent results if you are gaming.


What is the icon next to Spotlight in menu bar, and how to remove it?

This is Notification Center icon. You can get rid of it using http://www.macbartender.com app.


What is the source version of Final Cut Pro?

According to the App Store, the current version is 10.4.8. Your best course of action is to delete the trial app (or indeed all instances of FCP if you're unsure which is which), and then download the purchased version from the Store again.


Remove OSX shortcut to switch between spaces (ctrl + number shortcut)

Please check and uncheck accordingly

Go to System Preferences > Keyboard > Shortcuts > Mission Control


How do I use tabs in Mac Mail on El Capitan?

Yes, it’s possible. You just need to run Mail in full screen mode first. You do this by clicking on the green button at top left of Mail’s window.

Once in full screen mode, create a new mail message as usual. This opens the New Message window, but now whenever you do commandN it’ll add a tab to the existing New Message window for your other new message.


How to remove defaults write -g InitialKeyRepeat -int 10

You can delete it using the command defaults delete -g InitialKeyRepeat.

I'm not quite sure what the original value is, so deleting it seems to be your best option. However, some sources seem to indicate that 25 is the original value so you can try setting the value via defaults write -g InitialKeyRepeat -int 25.


Trackbar Gesture for Mission Control / Spaces: Two fingers + click

On a trackpad:
slide with 4 fingers up to open Mission Control
slide with 4 fingers to the left or right to switch to another 'space'

On a magic mouse:
you can dubble tap with 2 fingers ( don't click ) on your mouse to open mission control

But assuming you have a mighty mouse ( your nickname ) you can assign Mission Control to a hot corner. Go to System preferences -> Mission Control -> and press the hot corners button to change or assign the hot corner you want.

Also you might want to check out BetterTouchTool which let you define al sorts of gestures on your magic mouse, normal mouse, touchpad and or keyboard. Assigning them to whatever you want. ( like opening Mission Control )


Mojave install crashes after power on login

Found both old Coriolis iDefrag and Little Snitch 3 kexts present in the system. Uninstalled LS3 and deleted the iDefrag stuff which I had deleted the app for ages ago.

MBA now boots.

In more detail.

Checked the system reports in Console.app and found kernel panics by time. I'm no expert in reading trace files, but that this showed up caused some concern.

0xffffff80b4c1bfa0 : 0xffffff80213590ce
  Kernel Extensions in backtrace:
     com.coriolis-systems.driver.Snapshot(113.0)[B6C0FE6D-76C9-3C71-A43A-2D67ED604116]@0xffffff7fa1ffe000->0xffffff7fa2075fff
        dependency: com.apple.iokit.IOStorageFamily(2.1)[499E27C9-AC4D-3239-9FC4-754C7699FA76]@0xffffff7fa1fce000

After doing a check to remind me what this was from I found it was an old installation of iDefrag from the pre-SSD days. Although I had removed iDefrag a long time ago when moving to SSD it seems the kexts did not cause an issue up to Mojave.

I checked to see what other items had been quarantined by the Mojave install process, going by what had been reported in the syslog I searched for The Coriolis kexts and found them in the following folder (the migration folder name has been anonymised here...)

$ cd /Library/SystemMigration/History/Migration-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/QuarantineRoot/Library/StagedExtensions/Library/Extensions
$ ls -l
total 0
drwxr-xr-x  3 root  wheel  96 12 Jun  2014 ACS6x.kext
drwxr-xr-x  3 root  wheel  96 27 Jun  2016 ATTOCelerityFC8.kext
drwxr-xr-x  3 root  wheel  96 27 Jun  2016 ATTOExpressSASHBA2.kext
drwxr-xr-x  3 root  wheel  96 27 Jun  2016 ATTOExpressSASRAID2.kext
drwxr-xr-x  3 root  wheel  96 20 Aug  2013 ArcMSR.kext
drwxr-xr-x  3 root  wheel  96  1 Sep  2013 CalDigitHDProDrv.kext
drwxr-xr-x  3 root  wheel  96 11 Apr  2017 CoriolisOnlineHelper.kext
drwxr-xr-x  3 root  wheel  96 11 Apr  2017 CoriolisSnapshot.kext
drwxr-xr-x  3 root  wheel  96 15 Aug  2014 HighPointIOP.kext
drwxr-xr-x  3 root  wheel  96 15 Aug  2014 HighPointRR.kext
drwxr-xr-x  3 root  wheel  96  5 Dec  2017 LittleSnitch.kext
drwxr-xr-x  3 root  wheel  96 31 Mar  2017 PromiseSTEX.kext
drwxr-xr-x  3 root  wheel  96 22 Aug  2017 SoftRAID.kext

That the LittleSnitch.kext was also present here gave me the clue that Little Snitch 3 was possibly incompatible. After verifying this on the OBDev website I removed LS3 using the uninstaller https://www.obdev.at/support/index.html?product=LS&topic=faq&entry=245442241039726

Although kexts get quarantined it appears they are still present in the system somewhere, so the uninstall seemed the best approach. Indeed the LS3 uninstaller rebuilt boot caches.

The normal boot now succeeds.


When I open a minimized window, I don't jump to the space it opens in

You need to go to System Preferences > Mission Control, and find "When switching to an application, switch to a Space with open windows for the application"

You need to check this box.


If you prefer the top row of keys to always behave as standard function keys without holding the Fn key:

Choose System Preferences from the Apple menu.
From the View menu, choose Keyboard.
Click the Keyboard tab if it is not already selected.
Enable "Use all F1, F2, etc. keys as standard function keys."


Calendar Sync with Google Calendar Problem: Deleted Calendar Event still Exist

Have you tried to make sure that the calendar is setup through: http://www.google.com/support/mobile/bin/answer.py?answer=139206

Also, make sure you setup as an exchange server and not a Gmail account.


Terminal.app and tmux session, can't use "open" command (without tmux it works)

The command is supposed to move the tmux process from a newly created bootstrap context under the root, to the user's login bootstrap context.

To explain that in slightly more common terms:

macOS (formerly OS X) is built with a Mach-kernel at the lowest layer. Programs executing at this layer are called tasks.

On top of the Mach-kernel is the BSD subsystem. Programs executing at this layer are called processes. The applications you run and know on OS X (such as for example tmux or Terminal.app) use the BSD subsystem, so when running they become processes.

When a running program (a process or task) needs to communicate with another process/task over a Mach port it will go through the so called bootstrap task. This very low-level task is responsible for looking up requests for Mach port, and essentially direct the information to the right place.

macOS / OS X is essentially a multi-user system. Multiple users can be logged in at the same time, and each can be running multiple processes. They are generally not allowed to interact with each other, except when explicitly allowed.

In addition to user processes, the system will at boot (and sometimes later) run background programs called daemons. They are not associated with a specific user login, and keep running when users log out.

The previously mentioned Mach bootstrap task groups all tasks into either the "startup context" for daemon programs, or the "user login context". There's one of the latter for each currently logged in user.

In essence when programs look up Mach ports to communicate over, they can only see ports in their current context. When you start a normal program, it is started in your user's login context - and thus you can communicate with other programs you have started.

The tmux process however uses the function call daemon() to "daemonize" - i.e. keep running in the background. This also has the effect of moving the tmux process from the user's login context to the startup context.

Now programs such as "open" will no longer work, because they function by looking up the WindowServer's Mach port for the currently logged in user, and sends it commands to do their job. The lookup will fail, as tmux is now in the wrong bootstrap context.

The reattach-to-user-namespace program fixes this problem by using an uofficial way of interacting with the launchd process (which is responsible for managing daemon processes) - to get launchd to tell it which context is the user's login context.

Then it uses the Mach system call task_set_bootstrap_port() so that further port looks from the tmux processes (and its child processes) will hit the user's login context bootstrap task.

As to why it is not working for you: Have you remembered to kill and restart your tmux server after installation? (do this by running "tmux kill-server)

Also you could try running the reattach-to-user-namespace command manually from Terminal.app to see if you really have got it installed and it runs properly.


Can the list section shown in Day view in Calendar removed?

Sadly I think you are out of luck when it comes to this. Like most Apps that comes with OS X there isn't much space for customizing the UI.


I am an active software developer and DBA, who looks at the code all day long, and I absolutely LOVE my new retina MacBook Pro with Windows 7 installed under Boot Camp!

A quick sidebar is that I am still confused when I read articles about the lack of NVIDIA driver availability and other issues posted in reviews even on prominent sites like Anandtech. I think they may have created their reviews before Apple started to officially ship these laptops... - i.e. I got my laptop on June 18th, used Boot Camp wizard to create USB with Win 7 Ultimate x64 with SP1 and installed it outright (after resolving a quick NTFS support issue using NTFS-3g under Lion) and have been happy ever since. There is a support folder created by Boot Camp that contains Boot Camp installer, which installs all of the drivers (including the supposedly missing NVIDIA driver) and everything is tip-top.

Now, back to the resolution, and the use of this laptop for development…

Out of the box you will get the maximum resolution (2880x1800) and Windows will apply 150% DPI scaling (actually it is 144 DPI as opposed to 92 DPI by default). And although you will marvel at the display, you will quickly realize that the text is still too small. I got a near perfect 20x20 and I still had to go up to 168% before I felt more or less comfortable. (Note that I tried 200%, 175% and some other values in-between, and although text gets bigger, many UI elements (even Windows / Office 2010) start mis-behaving, look pixelated, etc.) So, again, after some experimenting, I settled at 168%.

Once you settle in at whatever DPI you are most comfortable with, you will start setting up all of your apps – Office, Other browsers, RDP, Management Studio, Visual Studio, etc., and that is where it starts being a little challenging. Not all apps support high DPI (or non-"standard" DPI setting). While IE8 and MS Office 2010 handles everything reasonably well, other apps may require you to adjust compatibility setting and disable the effect of DPI, which makes them work right, but text is super tiny unless you go in and adjust default text size (which is what you will end up doing just about everywhere). So, get ready to Zoom like crazy, although many apps will remember and respect the zoom setting once you dial it in.

Quick note regarding other browsers - as of this commentary, I somewhat refrain from using Opera and Chrome, because I could not find a right Zoom combination that worked well for web page UI elements. Sure – the text is bigger – but layout breaks and things look weird enough for me to go to another browser. So far, I am happy with IE8, Firefox 14, even Safari, but not with Chrome or Opera.

Another side note is that unless you have other super hi-rez monitors, moving the application form MBP screen to a monitor with less than 25XX resolution will present a challenge (unless aforementioned compatibility setting is set, and even then you will need to reduce text / zoom out.) This is because even a "typical" hi-rez 1080p monitor (i.e. 1920 x 1080) will display your app like 680 x 480 when you move it from MBP display - not physically, but perceptually - blame your new retina display if you like...

But back to the retina display - the display itself is amazingly sharp and clear, and with a little effort you will get tremendous benefit (especially if you are a coder) as you get smaller, but much, much... much clearer text (so smaller text is no longer a problem), which means you can display a lot more code on the screen and your efficiency will improve significantly!

In closing, once you go retina, you cannot go back - a few hours working with it and you will not be able to use a typical laptop (or low-rez display), because everything will look pixelated and fuzzy.

That's all I have to say - thanks for reading.


Would "erase all content and settings" disassociate my phone with the carrier?

No. Cellular plans do not get erased since that registration belongs to the SIM card and cellular systems, not something that’s a setting on the phone that can be erased by the OS or a restore.
If you go to

Settings -> General -> Reset -> Erase All Content and Settings

This will restore the device to an 'Out of the Box' state and allow you to start the process of set up again. It will not deactivate the device as far as the carrier is concerned and you can still make and receive calls and SMS but will lose contacts and call history, etc....


How can I set up my DNS servers to be configured differently for each wireless network?

Set and Change in Network Preferences

You can set your own custom DNS settings on a location basis by defining a "Location" in Network Preferences

You would then enter your preferred DNS settings (click "Advanced") under the DNS tab:

After you create set the configuration to your liking, you can call it up by returning to this preferences page and just selecting the location of your choice.

Or...

You can switch from the directly from Apple Menu ().  Just choose "Location" and select the location you want

Switch using command Line

For a quicker way, you can switch using the command networksetup.  So, to switch to a profile you have already created called "School" your command would be:

networksetup -switchlocation School

Bonus footage...

You could create small bash scripts with the command pre populated and placed (or linked) on your desktop.

#!/bin/bash
#Script to set the location to School

networksetup -switchlocation School
exit

Name it something meaningful like school.sh or school.command (or even just school).  Make it executable by issuing the command chmod +x /path/to/school.command (or whatever you called it).  Make another for Home, Work, In-Laws, or wherever.  When you double click on it, it will change the network location and your preset settings.

Caveat

If your organization (like your school) blocks outside DNS servers and traffic limiting it to the DNS servers they specify, you won't be able to override them.


Calendar event repeating every month but on a certain day

Select the event. Go into repeat. Select Custom. Change your frequency to monthly and "on the" to whichever day you want.


This is how I did it. You may need a pair of headphones if you use the bult-in microphone.

Open quicktime and click File->New Screen Recording
Select the audio source by clicking on the small down-pointing arrow
Turn up the sound that appears below the record button
Click File->New Movie Recoring
Resize the movie window and place it where you like it
Click record on the screen recorder window


Prevent services from prompting for imported keychain password on login

Doesn't look like this is possible. At least according to this blog post.

Reference: Mac and iOS Keychain Tutorial: How Apple’s iCloud Keychain Works

  Note that while your login keychain is the default, it is unlocked as
  soon as you log into your Mac. You can increase security by creating a
  non-login keychain — all this requires is an additional password when
  you start up or log into your Mac

I think what you'd need to do here is likely import the copied keychain file's content to the main keychain file if that's the behavior that you want.


Do I need to apply this update at all?

Is your Mac exhibiting any of the symptoms described?  If not, then no, you don't need to apply it.

Should I apply it anyway?

There are two schools of thought concerning this, so you're not going to get a concrete answer.  They are:

All updates should be applied to keep the machine up to date whether it needs the update or not.

Updates should only be applied to fix/address a particular problem.  With this line of thinking, you can refer to the old adage "If it ain't broke, then don't fix it."

What should you do?
Move forward with installing High Sierra.  If the problem manifests, then you want to install the firmware.  But even after you install High Sierra, you have to do a "gut check" of sorts.

Do you feel more comfortable with a system with all the latest updates?  Then do the update
Are you OK with not having the latest firmware especially since there isn't a problem to fix?  Don't apply it, keep calm and carry on.

The thing is, it comes down to you and how secure you feel about it.


How can I save SSH Bookmarks in Terminal?

I'm not sure what SSH bookmarks are, but you might find the SSH config file useful. I would advocate it over the alias approach.

This option will work in all terminal emulators, and all shells (e.g. zsh instead of bash), and even other apps that use SSH (e.g. rsync, scp, git). Also, if you synchronise your dotfiles (e.g. via a github repository), your bookmarks/alias can be shared across machines.

You can store host specific settings (and aliases) in:

~/.ssh/config

Instead of doing:

ssh admin@mywebsite.com

You could type:

ssh mw

If you added the following to your SSH config:

Host mw
Hostname mywebsite.com
User admin

You could also setup passwordless SSH and add the location of your identify file here. A bit more secure than storing passwords, and quicker than typing it out.

For more info about SSH config do:

man ssh_config


My new Sennheiser G4ME ZERO headset won't send audio to my Mac

If you are using a MacBook with a single 3.5mm jack, you need to make sure you are using the TRRS cable from Sennheiser. That's the one that will have 3 narrow bands on the shaft of the jack (separating the four metallic connections stereo/left, stereo/right, microphone, and ground). Is that how your Siberia works? Single cable?

Also be sure that the "boom arm" is not raised up as that will mute the microphone.


Long press key to reveal special characters does not work after update to High Sierra

The problem has 'fixed itself'.

Today, I found out the character picker works again. I have no clue why it did not want to work. Possibly, it requires multiple reboots before the functionality is back (I already rebooted a few times in the meantime). Maybe it's because I fiddled with some keyboard settings. I've also used an external keyboard in the meantime, which could (in some strange way) influence the keyboard settings.

I will never know what has definitely solved the problem.

So, if you're having this problem too, then try setting your keyboard layout to that of your locale, but in the layout of your choosing (mine is Dutch language with US international layout). Then reboot multiple times, or maybe turn off your computer completely a few times. If that doesn't work, connect an external keyboard and try if that works.

If you happen to find a solution or even a cause, report back here in an answer or comment, as it will help others facing the same issue.


Duplicate birthdays in Calendar but only on Mac

macOS Catalina (10.15.7)
Unchecking and renabling birthdays on the calendars sidebar will only toggle visibility and did not remove the duplicates, but unchecking and renabling 'Show birthday calendar' in the calendars settings seems to reload it - that's what worked for me.


iCloud Drive not downloading files after reset

I see you've resolved your situation, but I wanted to write up a formal answer.

When you enable iCloud Drive, it has to go through a (very slow) process for each container of files before they show up. Each App Folder is one such container, and then all standalone files including Desktop and Documents goes in a generic container.

If you have lots of files (10+ GB can cause this to start happening) it can take hours (or days) before the files show up, even though they haven't even started downloading. In this time sync will not finish. If you have just enabled iCloud drive (either on a new computer or because you had turned it off) and you have a lot of files, trying to leave it plugged in etc. may help it go faster. Do not try to turn it off and then on, because it'll just start over.

I'm not sure why this happens, but it's the way it works right now. So if you don't see files after turning it on, let it sit for at least a day or two of having proper power and internet connection before trying other things.


Make chart series rise when number of rows rise

The trick is to refer to your Value set by name rather than cell-address-range. Example procedure, starting from your example chart:

Ensure Table 1 row 1 is a Header Row
Put a cosmetic name in B1, naming your column B series, say… Series
Change the Chart's Data Value field from a cell reference to the new column header name, e.g. Table 1::Series

Since the chart is now set to simply reflect all of that column's data, it will update live as new data appears.


Unable to install Chrome or Safari extensions after creating new user account

You don't describe how the Safari extensions fail to install, but if you had the same problem as I you would first get a dialog box saying that something went wrong, and the extension install button is then replaced with a red "installation failed" message.

I solved this by going into the keychain manager preferences and resetting the default keychain. After that all extensions installed normally.

For some reason, every time I started Safari it asked for the password to the default keychain, and being a freshly installed OS I just typed the only password I had -- my user password -- which it didn't accept. Apparently Safari just couldn't verify the extensions' signatures.

I got the idea while reading Repeated "Safari wants to use the 'Local Items' keychain" alert


iPhone 5s stuck at Apple logo and progress bar

As I wasnt here for a longer period of time, here is what did I do to solve this:

I finally managed to boot the phone. Here is what I did.

After I've already tried on another computer, a customer brought me a desktop PC (before I had 2 laptops). I installed Win 8.1, previous laptops have win 10. So from this point of view, I gained hope.

A fresh installed OS, newly downloaded iTunes.  As next, I've connected the device to the PC which succesfully installed new Apple drivers (I was carefull at those events).

So I ran into DFU mode (power off > sleep/wake + home button > release sleep/wake button). It successfully detected it in 'recovery mode'.  I chose RESTORE. I had the notification for the new 9.1 (which usually wasn't here - except probably for the first time I ran the app on other PCs), And as next the Restore button greyed out. I thought it was 'frozen'. As I checked in the task manager, the iTunes process was using network, which was meaning it downloads the new large 9.1 iOS.

When it installed, everything was as usual. Finished the extracting, verifying...that it rebooted and disappeared from iTunes. With no other option left, I decided to let it install, even if for hours. BUt then I unplugged it and saw low battery.  When I began with charging, after few minutes a vibration with "Hello" screen appeared.

I would advice other who have the same issue to be careful at these steps.


Do the current Apple USB Keyboards support charging the iPad?

Yes, but only with the iPad in sleep mode.
The iPad requires at least 500mA from a USB port:

Apple peripheral devices may request more than 500 mA (Milliamps) at 5 V (Volts) from a port to function or to allow for faster charging. Such Apple peripheral devices include:

iPad
iPhone
Alluminum Wired Keyboard*

About wired keyboard we get the information:

*When connected to a computer that supports a connection of 1100 mA at 5 V, the first port on the keyboard to have a device or peripheral connected to it that requests standard 500mA power will receive that power. At that point, 100 mA at 5 V is available through the remaining port on this keyboard. This keyboard does not support extra power out of its two ports simultaneously; it requests extra power from the host computer to provide power out of either one of its two ports, then the second keyboard port receives the standard 500mA.
Note: Apple computers and displays that were introduced before 2007 support only 500 mA at 5 V from their ports and do not offer additional power.

[source 1 from support.apple.com]
As the wired keyboards can provide the minimum 500mA required by the iPad (just like older Macs can), it should be possible for it to power the iPad. However, it can not provide an additional current which would allow for faster charging.
But, the new iPad can only charge in sleep mode when connected to a low powered USB hub:

The fastest way to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter. When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge, but only when it's in sleep mode. Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.

[source 2 from support.apple.com]


How to restrict access to applications in Big Sur?

I personally don’t recommend blocking things that you as the administrator can unblock, but I understand friction can be good for many people so I would encourage use of screen time - if only to show you the amount of time you spend so you ca track that and build healthy habits over time. Also, it’s quick and easy so start with it while you wait for other answers to arrive.

You can not delete apps in a meaningful way to accomplish your goal in Big Sur. It’s not easy and you have to circumvent the sealed system / patch and update process. Plus you may waste more time than you save in a week, but have at it if someone documents a solution there.
Use Screen Time to block whole apps.
Use the SelfControl app to block sites in Safari (and other browsers) https://github.com/SelfControlApp/selfcontrol/wiki/FAQ

Be sure you read the self control FAQ. It has some amazing gems of wisdom in it. Good luck tailoring your experience - don’t be out off by parental controls or screen time instructions - that’s the best way to block things without breaking the OS.


How to open a shell script in a new Terminal window and run it with administrator privileges

I'd try writing a simple script:

#!/bin/bash
sudo /usr/bin/id

save this as something.command, change its permissions to executable with chmod +x, and then run this from AppleScript with

osascript -e 'do shell script "open -a Terminal ./something.command"'

Instead of /usr/bin/id you can call whatever script you need to run with admin privileges then.

EDIT:

This will work:

osascript -e 'do shell script "sudo /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal" with administrator privileges'


Can I use other brand laptop chargers instead of my macbook pro adapter?

Let's start off by addressing the video you linked to....
It's a video by Louis Rossman of The Rossman Group the owner of a laptop repair facility that specializes in component level repair (repairing logic boards).  In it, he explains why he uses a bench top power supply to deliver exactly 18.5V; so he can monitor the amperage draw.  Suffice to say, it's not a "wall wart" he is using.
The MagSafe Adapter.
The MagSafe power adapter can supply voltages from 14.5V to 20VDC.  However, it's not the "brick" that determines if it can charge or not, it's the actual MagSafe adapter that actually determines whether or not it will interface with your Mac.  The brick just supplies the power.
The connector end is what communicates with your laptop and tells the brick how much power to supply.  Basically, the way it works is that it that it identifies the power supply as having so much capacity (wattage).  If it's enough, it will charge/power the laptop.  If not, it won't accept the voltage.
This is why you could use a 90W adapter on a Mac that came with a 40W but couldn't use a 40W adapter on a Mac that needed a 90W.  This is true with all other power supplies except Apple added some logic into their connector.
Is it safe to Use a 3rd party power supply?
If you know what you're doing, then yes, it is.
Will the 18.5V, 6.5A charger work?
It should because it's supplying 120 watts of power (18.5V * 6.5A = 120W; more than enough to satisfy any Mac.
TL;DR
Yes, based on the info you supplied that power adapter will work.  Whether it's safe or not depends on your skills with DC power supplies and electrical circuits.


Can I transfer my purchased apps from iPod Touch 2G to the new iPod Touch 4g?

Yes - I had to do this for the same devices: 2G to 4G.  I think I just synced the new iPod Touch (there is no such thing as an iTouch) with iTunes, and everything went over, but I might have had to restore a backup from the old to the new.


I figured out that it is possible to do with Midnight Commander.


Adjusting the beginning of a track on garage band

You need to grab the middle of the track, not the edge, and pull it back to the point where you want it to start. You can move all your tracks at the same time by selecting all of them with Cmd-A and then grabbing some place in the middle of the track and pulling them back.

If you're grabbing your tracks in the correct spot to move them on the track arrangement grid, your cursor will stay as an arrow instead of turning in to a bracket-type icon which indicates you're extending or shortening the length of the clips, not moving them on the grid.


Error when downloading Window support software under Boot Camp

I had that exact same problem. I don't have an easy fix for it but what I did was just keep retrying and it eventually made it to 100% and worked fine.


What does the badge on the Store icon in the Messages app indicate?

The badge indicates the count of iMessage apps that can be enabled. This appears after you have installed an iOS app(s) with iMessage counterpart available.

Image Source: Apple Discussion Forums


Restore Access to File System for Emacs on MacOS Catalina

I solved the problem by granting Full Disk Access to /usr/bin/ruby as suggested here. Quoting from the reply,

  Emacs.app actually launches using a ruby script. As a result, MacOS Catalina uses the permissions set for ruby, not the permissions for Emacs.app.

Grant access as follows.

Go to "System Preferences -> Security & Privacy -> Privacy"
Select Full Disk Access from the left menu. It is about half way down in the menu. A list of apps will appear in the main region of the window.
Click the lock on the lower left and authenticate in order to allow making changes.
Click the + button under the list of software and select /usr/bin/ruby.

/usr is usually a hidden folder and may not appear by default. If so, press shift+cmd+. (the last one is a dot) at the root directory to make it appear.

Emacs.app should now be able to access the file system without any hindrance!


How Do I Create a Named Fork and Store Data In It?

I don't know about named forks except the resource fork. I can create it like so in Terminal (Bash shell):

echo "data fork area" > /tmp/test.txt
echo "resource fork area" > /tmp/test.txt/..namedfork/rsrc
cat /tmp/test.txt
cat /tmp/test.txt/..namedfork/rsrc

I don't know about size limitations.

You can also copy a binary executable into the resource fork, and extract the bytes back out into a file, and execute that file:

cp /usr/bin/whoami > /tmp/test.txt/..namedfork/rsrc
# get ready for some bells to sound in your terminal
cat /tmp/test.txt/..namedfork/rsrc > /tmp/test.bin
chmod u+x /tmp/test.bin
/tmp/test.bin

Note that the whoami command is kind of weird when you do this because it's really the id command, and so when you restore it, it reverts to the id command and you can do man id to learn more about that.


rsync errors, but only when run in launchd

Your running in different contexts when you use launchd and iterm2. With iterm2 your profile gets run but your profile isn't run when you use launchd.

Some programmers invoke there profile from their launchd script. I do everything so it works without the need to run my profile.

I suggest you cd to whatever directory you ended up in iterm2.

I wrote a little function to display all my terminal settings.
Run this in iterm2 and launchd while sending output to a file and compare.

settings ()
{
    ( echo "---------- env ----------";
    env;
    echo "--------- set ----------";
    set;
    echo "--------- export ----------";
    export;
    echo "--------- export -f ----------";
    export -f;
    echo "--------- alias ----------";
    alias;
    echo "--------- set -o ----------";
    set -o;
    echo "--------- shopt ----------";
    shopt;
    echo "--------- enable -a ----------";
    enable -a ) | less
}

for terminal you can copy & paste settings to terminal.

settings >>/Users/mac/xset
cat xset


Disable `use safari suggested password` without disabling autofill

The correct answer is: there is no way to disable the suggested passwords "feature" without completely disabling auto-fill.


CalDAV only works for first synchronisation, and then stops updateing the calender forever

Did you check in Settings > Mail, Contacts, Calendars > Fetch New Data > Fetch Every 15 minutes.

Maybe it is set to Manually.


Are there hidden files taking up 10GB on my hard disk?

There are easily 10Gb of files hidden from the Finder.

Get Info on a disk and Get Info on a folder work differently. On a disk, it simply asks the disk resource for a count of the used blocks and thus gets an answer almost immediately. This value accurately reflects how much is stored on the drive in question.

Get Info on a folder digs through that folder and adds up the size of each file that you are able to read. You cannot, for example, know how much another user has in their Mail folder by running Get Info on the User folder.

Also, there is a difference between the file size and the space-on-disk size. Storing a single character in a file will consume 4kb of disk space, the rest is wasted. One million one-byte files will therefore use 4Gb of space on disk.

Files hidden from the Finder include almost the entire Unix subsystem, many low-level config files, virtual memory, sleep images, and the system caches. Don't even think about deleting them - your computer will not boot, and the caches will simply get refilled.

On the plus side, the Mac OS takes care of itself quite well. You the user, have absolutely no need to concern yourself with the inner workings, nor do you need 3rd-party utilities to do any maintenance (most of them don't do anything effective except reduce your bank balance).

A very easy way to reclaim a lot of space is get an external and move your iPhoto and iTunes libraries there.


what does installd do in privacy setting?

I've had this question as well and finally went digging.  This information is stored in the OS X Privacy database.  This db can be accessed with the command-line tool tccutil, but the only ("supported") option is reset.  That is of course not very useful here. I found someone at this page who wrote a short python utility to edit this database.  Examining the code, the db is located at /Library/Application Support/com.apple.TCC/TCC.db (you will need sudo access for this).  It is a SQLite db.  There are entries in there for /System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd which is almost certainly the installd referenced in the preference pane.  This is the daemon which occasionally checks for software updates. Since it is Apple code, I am inclined to trust it.


Try this: sudo /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)".


Why does the fan speed up like they do when there's a firmware update?

The fan speedup happens because normally the fan speeds are controlled dynamically in response to CPU temperature by the firmware (and as the CPUs are typically underutilized, there is rarely or never any need to run the fans at anything like the maximum speed).

However, when the firmware is being updated, that dynamic temperature control is not possible - for safety the speed is just set to the maximum and left there until the update is complete.

This is true for all systems (even PCs - you will often notice a high fan speed for a moment when booting them as well)

So the real question is why is the difference between normal and maximum fan speeds is so great in the laptop (MacBook) systems as opposed to Mac desktop/tower/mini systems - and the answer to that is simply that the laptop hardware has much smaller clearances and therefore poor airflow without fans running.  So for safety and increased CPU speeds on laptop systems, more powerful (louder, faster) fans are needed (although they will eat your battery, as much or more than the increased CPU power consumption itself when the CPUs are fully utilized).


How can I convert a pdf to a format that is compatible with iBooks

The good news: you don't have to! iBooks will happily take PDF files and display them just fine and dandy.


How do I remove my network from the recovery partition before sale?

The answer was indeed to reset the NVRAM by holding cmd-alt-p-r during boot. Cheers :)


Two key combos for Enclosing Folder, but same result

In Lion and Snow Leopard, the option/alt key makes a subtle change:

⌘+▲ reuses the existing finder window (preserving sort, view and size of the child folder).
⌥+⌘+▲ opens a new finder window with the saved settings for that parent folder (closing the child folder)


Export/Import Sublime Text 3 Configuration Across Two different Apple Computers

Your question is a bit unclear the way it is worded, so hopefully I got the gist of it.

If you already have a license for Sublime text (or it is share/freeware), then yes all you have to do is copy it from one Mac to another. You can do this with thumb drives, over the network or just download a fresh copy from the developer's web site.

You are not "creating" an app, you are just copying it.

If you check the developer's web site it should indicate what version(s) of macOS the app you have is compatible with. You may need to know what version you have (Sublime Text menu > About Sublime Text) as often different versions are compatible with only some versions of macOS.


How to copy Finder path to Parallels Windows Explorer?

Check your Services option the Context Menu. Right click your Users/myname/topic/subtopic/project/aspect/subaspect folder in Finder. You should see "Reveal in Windows":

Result:


When pairing a bluetooth keyboard(-like) device with Yosemite, can the pin number be skipped?

You mention a “6 digit number” but from what I understand about how Bluetooth gamepads pair in Mac OS X it should be a 4 digit PIN.

Regardless, you can enter any series of digits from your main system keyboard and it should work. Try something like 0000/000000 or 1234/123456 and it should be able to pair without issue.


You can use View -> Slideshow to do this in Preview


Are "Favorites" and edits synced with Photos for Mac/iOS?

According to this Support article from 2016 the answer depends on how you sync:

If you import photos from an iOS device to Photos over USB, the favorite status will not sync (!)
If you use iCloud Photo Library to sync across devices the favorite status will sync.

Source: Apple Support - Q: iOS Photos to OSX Photos favorites sync

FWIW this is totally offensive and horrible, I can hardly believe it. I just did an import of 3k images and apparently have lost all of my favorite statuses. What a mess.


Apple Pencil app without any analytics or syncing or network use

Apple notes is the clear defacto standard for this use case.

Don’t turn on iCloud syncing for notes or don’t sign in to iCloud and you have pretty much all the items you mentioned.
If you have iCloud backups, by default that does save your content. However if you disable notes to backup, Apple documents that they delete your copies in the cloud when you elect to not back up that data so even if you mistakenly allow that, you should have reasonable control over your data retentionand know what to expect.


How do I reset DHCP address allocation on my iPhone 6?

You might also try Settings -> General -> reset -> reset network Settings

I believe that will flush DNS and DHCP and should have the desired effect.

Note that you will also have to re-enter any WiFi passwords that were previously saved.


You could try Ukelele that allows you to edit key mappings for free.


Should a USB Switch work with late 2018 Macbook Air

In my investigations, I have found that for a switch to work successfully, it needs to be connected to a USB hub. Even the Apple USB/HDMI to USB-C adapter will do.
Also, plugging a USB switch after the KVM switch helps to deal with some devices (My USB mic) that seem to cause trouble when directly plugged into the KVM switch.
The two switches I have experimented with are the USB3.0 4 port 2 way KVM from UGreen and a similar one from Belkin. (No HDMI, only USB switching)
It is a little finicky, and I am not sure why. The same switch works flawlessly between by Thinkpad and Desktop (Windows)
Hope this helps.
This is what my ioreg -p IOUSB currently looks like:
+-o Root  <class IORegistryEntry, id 0x100000100, retain 23>
  +-o AppleUSBXHCI Root Hub Simulation@00000000  <class AppleUSBRootHubDevice, id 0x100000405, registered, matched, active, busy 0 (0 ms), retain 13>
  | +-o USB 10/100/1000 LAN@00200000  <class AppleUSBDevice, id 0x100000407, registered, matched, active, busy 0 (0 ms), retain 14>
  | +-o USB3.1 Hub@00100000  <class AppleUSBDevice, id 0x1000019d1, registered, matched, active, busy 0 (0 ms), retain 12>
  +-o AppleUSBXHCI Root Hub Simulation@01000000  <class AppleUSBRootHubDevice, id 0x100000418, registered, matched, active, busy 0 (0 ms), retain 8>
  +-o AppleUSBVHCIBCE Root Hub Simulation@80000000  <class AppleUSBRootHubDevice, id 0x100000433, registered, matched, active, busy 0 (0 ms), retain 15>
  | +-o FaceTime HD Camera (Built-in)@80200000  <class AppleUSBDevice, id 0x100000435, registered, matched, active, busy 0 (0 ms), retain 14>
  | +-o Apple T2 Controller@80100000  <class AppleUSBDevice, id 0x100000439, registered, matched, active, busy 0 (0 ms), retain 13>
  | +-o Apple Internal Keyboard / Trackpad@80500000  <class AppleUSBDevice, id 0x100000440, registered, matched, active, busy 0 (1 ms), retain 20>
  | +-o Headset@80400000  <class AppleUSBDevice, id 0x100000446, registered, matched, active, busy 0 (0 ms), retain 11>
  | +-o Touch Bar Display@80600000  <class AppleUSBDevice, id 0x10000044a, registered, matched, active, busy 0 (0 ms), retain 13>
  | +-o Ambient Light Sensor@80300000  <class AppleUSBDevice, id 0x10000044e, registered, matched, active, busy 0 (0 ms), retain 11>
  | +-o Touch Bar Backlight@80700000  <class AppleUSBDevice, id 0x100000456, registered, matched, active, busy 0 (0 ms), retain 11>
  +-o AppleUSBXHCI Root Hub Simulation@14000000  <class AppleUSBRootHubDevice, id 0x10000046a, registered, matched, active, busy 0 (0 ms), retain 9>
    +-o USB2.0 Hub@14100000  <class AppleUSBDevice, id 0x1000019be, registered, matched, active, busy 0 (0 ms), retain 14>
      +-o USB-C Digital AV Multiport Adapter@14120000  <class AppleUSBDevice, id 0x1000019e2, registered, matched, active, busy 0 (3 ms), retain 12>
      +-o USB2.0 Hub@14110000  <class AppleUSBDevice, id 0x100002349, registered, matched, active, busy 0 (1 ms), retain 14>
        +-o IOUSBHostDevice@14114000  <class AppleUSBDevice, id 0x100002364, registered, matched, active, busy 0 (1 ms), retain 14>
        | +-o HHKB Professional@14114100  <class AppleUSBDevice, id 0x100002378, registered, matched, active, busy 0 (3 ms), retain 12>
        | +-o USB Receiver@14114300  <class AppleUSBDevice, id 0x10000238b, registered, matched, active, busy 0 (6 ms), retain 16>
        +-o USB2.0 Hub@14111000  <class AppleUSBDevice, id 0x1000023ed, registered, matched, active, busy 0 (1 ms), retain 15>
          +-o Samson GoMic@14111100  <class AppleUSBDevice, id 0x100002405, registered, matched, active, busy 0 (11 ms), retain 18>
          +-o HD Pro Webcam C920@14111200  <class AppleUSBDevice, id 0x100002454, registered, matched, active, busy 0 (13 ms), retain 19>
          +-o Flash Drive@14111300  <class AppleUSBDevice, id 0x100002f5a, registered, matched, active, busy 0 (4 ms), retain 12>

The USB-C Digital AV Multiport (at address 0x1000019e2) was necessary for the switch to function. But it was still being finicky with my USB mic (Samson GoMic@14111100) so I added a USB2.0 Hub@14110000 (this one by Sabernet) in-line and everything is working well.


You can use the Terminal command defaults read on the .plist file which stores the screen capture settings to check the location and the graphic format of the screenshot file type:

defaults read com.apple.screencapture
{
    type = jpg;
}

The output above is the default setting for macOS. If another location appears in the output, that's where the screenshots are going.

If you want to reset the destination back to your Desktop, execute this Terminal command:

defaults write com.apple.screencapture location /Users/[yourusername]/Desktop

Want to change the file type from JPEG to PDF?

defaults write com.apple.screencapture type pdf

Other file type qualifiers are tiff, png, and gif.

To effect the defaults write changes on your current user session, you must execute this command when you are done:

killall SystemUIServer

Info gleaned from LifeWire.


Another possibility is your backlight may have gone bad.  You can check by holding a flashlight up to the display and looking closely.  If you can see the icons on your desktop once illuminated with the flashlight then your backlight is out.  This is a relatively simple repair you can have done at the Apple Store.


What directory does homebrew use to build programs?

When you install a Homebrew package, if it needs to compile it from source, it will extract the files to /tmp/package-XXXXXX and compile them there before installing to /usr/local/Cellar/package.

You can specify a different temp folder by setting an environment variable...

export HOMEBREW_TEMP=/Users/USERNAME/Desktop/temp


How long are deleted text messages saved on the phone after they have been deleted

If you delete a message it will be deleted permanently.

Hardware

Messages save in the memory. So once you deleted a message or any kind of file, it will be deleted permanently. But there are softwares to recover them and it is possible sometimes. The explanation of that is not suitable here since you have asked a simple question.

iCloud

If you have made a backup using iCloud and if the messages you were deleted, existed in that particular moment when that iCloud backup was made, then messages are still in the iCloud. iCloud keeps backups until you run out of iCloud storage. So you can restore those messages from iCloud anytime you want (by restoring entire backup) if those were backed up properly. If you don't need them in iCloud, you have to delete that backup.


Macbook Air (13" 2012) Fails to wake from sleep

Try resetting the Parameter Ram PRAM  Reset your computer’s PRAM .

And if that does not work try  Resetting the System Management Controller (SMC)

If the problem still persists after trying the above contact Apple Support.


Requirements for iPhone 6 battery replacement

From the Apple site
https://support.apple.com/en-us/HT201557
Before you bring in your device
Follow these steps before you take your device to an Apple Store, Apple Authorized Service Provider, or carrier. If your device won't turn on or respond, finish as many steps as possible:

Back up your iOS device.

Have your Apple ID password ready. For some
repairs, you'll need your Apple ID password to erase your device and
turn off Find My iPhone.*

Bring your sales receipt (if possible), in
case your service requires proof of purchase.

Bring your device and any accessories that you need help with.

Bring a form of personal identification, like a driver’s license, passport, or other government-issued ID.

If you haven't already, call to check whether you need an appointment before you go to a service location. For example, schedule a Genius Bar reservation before you go to an Apple Store.

Before you send your device
Follow these steps before you send your device in for repair or replacement. If it won't turn on or respond, finish as many steps as possible:

If you need to send in an iPhone that's paired with an Apple Watch, unpair your devices. When you unpair, your iPhone will create a new backup of your Apple Watch. You can use the backup to restore your Apple Watch when your iPhone returns from service.
Back up your iOS device.
Go to Settings > Messages and turn off iMessage.
Erase your device. Go to Settings > General > Reset > Erase All Content and Settings. If asked, enter your passcode and Apple ID password. If you can't erase your device because it won't power on or isn't responding, you can erase it from iCloud.com. Learn how.
Make sure that Activation Lock is disabled.
Remove any SIM card, case, or screen protector from your device and keep your cable and charger.
Now your device is ready to send. If you arranged a repair request, you should have received instructions for how to mail in your device. If you didn't get instructions or you haven't set up a repair request, contact Apple Support.

You can find additional answers here: https://support.apple.com/iphone/repair/battery-power


How can I change the iTunes login for my iPad?

This is easily done form the iPad itself, you can just enter the iTunes or AppStore app on the iPad, scroll to the bottom of the frontpage, and press the button labeled "Apple ID:[your email here]". A box will pop up, where you can choose to log out of the currently logged in Apple ID. You will then be able to press the same button again, and then log in with your wife's ID.

Good luck :)


Strokes is getting deleted while writing

I've run into this problem and it was caused by part of my hand hitting on the area where I am trying to write. If a finger or side of my hand accidentally comes in touch with screen the corresponding keystroke will not appear.


Can video input over thunderbolt connection be used for Facetime and Skype?

OK, some recent update to Catalina broke things. Fix is here: https://forum.blackmagicdesign.com/viewtopic.php?f=4&t=110981#p621269 for zoom. I got it working with zoom. Not sure about skype and facetime.


Crawl live website and do a text/code search?

When I needed to do this I used AppleScript to feed the text to BBEdit which has a full POSIX regex and excellent AppleScript support. You can probably do it with Automator as well and simply use due shellscript to pipe the text through your regex.


Is there a web-based iCloud interface for editing items?

Since your iPhone let you sign up for an iCloud account, you have full access to the web services provided by iCloud.com, which include:

Contacts
Calendars
Mail
Find My iPhone

You are only limited by your computer, but still have access to the web tools.

There may be (unsupported) ways to get some of these applications on your 10.5 Mac to sync, especially with Mail. Most of iCloud uses standard networking protocols, and therefore older programs may be able to use them. One may want to tread lightly though, since this is unsupported, and may cause issues/corruption in other parts that are supported (ie, you wouldn't want to edit your contacts in a way on 10.5 even if you could, since it could break them on your iPhone).


Why is there a yellow bar over my Finder icon?

It's a corrupt icon cache. It can be fixed by running the following code from fabiofl:

sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;


There are two approaches you can take.

OSA / AppleScript

Use macOS's Open Scripting Architecture (OSA) to interact with the Pages application.

Apple continue to support AppleScript within Pages. You may find this approach is enough, with iWork Automation's helpful examples.

Decompress, Edit, and Recompress

Alternatively, you can directly edit the Pages document using a custom script.

Pages documents used to be a compressed archive of XML and supporting files. More recent iWork documents (Pages, Numbers and Keynote) use iwa named files which are also documented but compressed versions of the data.

From the excellently documented open source project iWorkFileFormat comes this description:

  Components are serialized into .iwa (iWork Archive) files, a custom format consisting of a Protobuf stream wrapped in a Snappy stream

If this sort of technical scripting is your idea,
start by unzipping the file, apply your script to the resulting data files, and recompress.


Why is iTunes photo sync showing separate event for each photo?

I have same problem with iphoto latest version 9.4.2. At genius bar nobody know a solution. Genius talked to Cupertino, they know about the problem, we have to wait for an update for iphoto software.  I tried using "iphoto library manager" software (not apple) to recover the iphoto library. Apparently problem was solved in itunes, but iphoto became very slow and i came back to normal iphoto library.
In itunes events have a date as a name and each contains few pics, some of them have been deleted from the iphoto library but still in those strangfe events, maybe as a miniature.
Somebody can help?
Deleting ipod photo cache non solution, unfortunately.


How to convert all photos in iPhoto library to no bigger than 1920x1920 resolution?

Because these digital images represent irreplaceable data, and exporting in smaller resolutions in essence deletes some data, I'd move these images to an external HD to keep them in their original sizes.

For data-dense backups, inexpensive external dual-layer Blueray burners can store 50GB per disc.


Looks like your MacSSD2 partition has been turned into a Core Storage volume. Core Storage is Apple's underlying system for disk encryption - I assume you enabled encryption when you created the partition?

You can show the Core Storage volume group using the command diskutil cs list and then delete it using diskutil cs delete <volumegroup-uuid>, where you get the volume group's UUID from the output of the previous command.

That should either delete it entirely or make it deletable in Disk Utility.


Display PowerPoint notes on iPhone during presentation?

Have you taken a look at Slideshow Remote?
http://www.slideshowremote.com/

This is a well-regarded app (with both free and pro versions) that can remotely control PowerPoint on a PC and allow you to view and edit the presenter's notes.


Screen sharing on Skype is one-way only. Only one person in the call can share their screen with the other callers at one time. With the free accounts the sharing is limited to one-to-one. With the premium accounts you can do a one-to-many broadcast and share your screen out to multiple people at the same time.

This does make some sense, two-way sharing has to overcome a huge problem of mirror-in-mirror replication. The same sort of effect you get when you place two mirrors, facing each other, and look into them. There's an infinitely repeating, but gradually reducing, view of the other mirror, in the other mirror, in the other mirror, in the other mirror...

A similar thing would occur if you were to do a 2-way share.

If you use VNC for screen sharing you can actually force the two-way share to happen and see the effect for yourself.


Change "Third Party Content" answer for app in iTunes Connect

You must reject your binary to change this setting. Remove the build from review using the link at the top of the versions' page, then resubmit a build.


Add export PATH=/usr/local/bin:$PATH to your .bashrc for example to use the bin installed with Homebrew.


Mac OSX not automatically remapping windows key to cmd

I fixed the issue!

Turns out that on this keyboard, doing fn + f12 actually disables the windows key. This was turned on by default. This is why nothing was working when I would press the windows key. I pressed fn + f12 again and now everything works :| weeks of frustration all due to me not looking at my keyboard layout :(


SSH connection to Mac works from the outside but not locally

The router does the NAT on the external interface. However when you ssh to your WAN address the router will recognize packets coming in on on the internal interface as being sent to its own address and will just send them to its local port 22. What you want does exist but isn't often supported, it's called "NAT loopback".

See NAT Loopback Routers


Is there a way to delete an app of an iPad that used the same Apple ID without touching it?

It's bought & paid for - you own it forever, you can't send it back.

If you can't physically delete it from your friend's iPad, then there's no way to remove it. They won't ever be able to update it without knowing your Apple ID log & pass, but it will remain until they choose to delete it.

Removing it from any/all other devices will not affect that one.


Are "proof-of-concept" apps allowed in the App Store?

There are a great many apps which offer very little in terms of functionality, and essentially advertise a company and accessories (such as the Jabra and Plantronics apps) and some which just display information about select services of the company.

There are also many apps which require specific infrastructures to be in place for an organisation to even use the app which offer no functionality for the average user, such as Good for Enterprise, or Excitor DME.

As long as it complies with the submission guidelines, there's no reason Apple would reject it.


If you want to make a custom emoji, you would need to create a font that contains the glyph for it.  Common font creation apps for OS X are FontForge, FontLab, RoboFont, Type, and Glyphs.

Once it is in a font, you can set a keyboard shortcut for it in system prefs/keyboard/text.

Of course other people's computers will not display your emoji unless they have your font installed, except in cases where you can embed it, such as a pdf or via a webfont placed on a server.


Option to choose reply from address on mail.app in Lion

On the fly in the reply dialog:

Set default in the preferences: