How do redemption codes work in Apple Business Manager when NOT using MDM

I am also using Apple Business Manager for my company but we have an MDM also with it. However, on your question, I think you have to go through the following steps:

Log in to your Apple Developer Account connect your App to the client’s Apple Business Manager account by adding their Organization ID and Company Name for distribution. See the highlighted blue area below.

This connection is immediate. Once your App is connected to the client’s Apple Business Manager Account, it will be visible under the Custom App section of the ABM account.
By selecting that custom app, you can generate 1-time use redemption codes and links for employees to download your app.

Once the codes are created, you can download the list.

You can use these codes and proprietary processes to enable your client’s employees to access your application.


Is it safe to edit App Bundles in Core Services?

What's the worst that can happen?

1) You break something and have to safe boot or target mode boot to put the original file back in place? You have to have a short term plan to fix things.

2) You forget you edited it and some system update or process changes and the mac crashes later? No worry if you have backups (running Time Machine keeps you an hour or so of lost work plus whatever time you lose realizing, fixing and restoring from the last backup) You might lose some time scratching your head later, but even though it could ruin other data, it probably would just be a crash or an error that would be obviously wrong and you'll eventually remember the change you made.

Protect yourself, get a second boot drive ready, and have at it would be my advice.


Set a Volume's permissions to group write for all files and folders

You can fix this on a folder on the drive using an Access Control List (ACL) to set the right permissions.

Check the man page for chmod(1) and you will need to set 'file_inherit' and 'directory_inherit' on the parent folder and then set permissions on it to read and write the group but nothing for all users.

You may also need to turn on the use of ACLs for SMB sharing if you are sharing via SMB rather than AppleShare.


Roll back to Mountain Lion without time machine backup

Open the Mac App Store.

Then go to the Menu "Store" > Sign Out.

Now you can login with your account and you should be able to download the desired software.


It would appear that the upgrade has failed to update your Calendar app. OS X 10.9 has Calendar v7.0 and if you do have 6.0 then something went wrong.

I would suspect that there is some serious problem with your existing Calendar app such as permissions.

Delete your Calendar app and either grab a copy from another Mavericks Mac or re-install 10.9.

If you go the re-install route I would be tempted to do a reformat and clean install myself, just to make sure there are no hidden gotchas since you already have one. At the least I would boot into recovery mode and run "Fix Permissions" before the re-install.


Can iPhone work with Bose dock and a Bluetooth speaker at the same time

No - the iPhone will only send audio to one of the two, with the physical speaker it is attached to being the preference.

You could possibly have the physical speaker output sound and send it to the Bose wireless but that's the only thing I can think of.


Auto Downloaded Emails Marked As Read in Inbox

This can occur with some providers if you have another device that receives the E-Mails via IMAP.

Make sure all devices that access the account use IMAP or all use POP.


"The client side is set up in the usual fashion" - I've had different results due to Firewall Unique Identifier. At least on a Mac OS X 10.8 client.

The SonicWall configuration guide (Equinox document SonicOS_Standard-6-EN.pdf) clearly states a need for Firewall Unique Identifier. It's "Item 1" in things to write down and have users enter into the client software.

Firewall Unique Identifier appears to be a non-standard extension (its not discussed in RFC 2409). Fortunately, Equinox sells VPN Tracker Personal for $130. I believe that's known as Vendor Lock In.


How to take a screenshot of the front window from the command line?

The -l option allows capturing a window by ID. It is only shown in the help message and not on the man page.

I don't know any way to find the window IDs that would work with all applications though. This doesn't work with Preview, Activity Monitor, or Chrome:

screencapture -l $(osascript -e 'tell application (path to frontmost application as text) to id of window 1') /tmp/screencapture.png


GParted didn't really create unallocated disk space. Instead the MBR got bogus. The CoreStorage LVG and all subsequent containers got corrupted also, because the whole stack wasn't resized as required. Usually - in macOS - the whole stack is resized with the command diskutil cs resizeStack .... As far as I can say from remote, the ending boundary of the second partition was simply moved to lower block numbers which usually works with normal HFS+ volumes in GParted but not in this case with a CoreStorage stack. Fortunately some invisible data structures of the CS stack weren't overwritten.

Additionally the recovery partition wasn't moved properly. But this a different problem.

Instead of the MBR you should have a pMBR. After removing the bogus MBR you have to destroy and recreate the GUID partition table:

Boot to Internet Recovery Mode
Open Terminal in the menubar Utilities -> Terminal
Get an overview (especially the gpt command is important!):

diskutil list
gpt -r show disk0

Unmount disk0:

diskutil umountDisk /dev/disk0

Delete the MBR:

dd if=/dev/zero of=/dev/disk0 bs=512 count=1

Destroy the GUID partition table and create a new one (this also creates a fresh pMBR):

gpt destroy disk0
gpt create -f disk0

Rebuild all previous GUID partitions:

gpt add -i 1 -b 40 -s 409600 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk0
gpt add -i 3 -b 488965176 -s 1269536 -t 426F6F74-0000-11AA-AA11-00306543ECAC disk0
gpt add -i 2 -b 409640 -s 409602008 -t 53746F72-6167-11AA-AA11-00306543ECAC disk0

If you get a resource busy error after one of the steps, just unmount disk0 again with

diskutil umountDisk /dev/disk0

Check the disk with diskutil verifyDisk disk0 afterwards.

Enter diskutil cs list and check if all four CoreStorage containers appear: a Logical Volume Group, a Physical Volume and Logical Volume Family and a Logical Volume.

With the UUID of the Logical Volume mount the LV:

Example:

    +-> Logical Volume 9A7B21AA-F9FE-4E65-8C7E-ED2A73744C15
        ---------------------------------------------------
        Disk:                  disk17
        Status:                Online

Then use:

diskutil mount 9A7B21AA-F9FE-4E65-8C7E-ED2A73744C15

Then after getting the disk identifier of the mounted LV with diskutil list verify the volume:

diskutil verifyVolume disk17 # probably it's disk17, disk16 or disk18

Below I assume the disk identifier is disk17

If the Logical Volume Family and the Logical Volume don't appear try the following:

Boot to Internet Recovery Mode
Open Terminal in the menubar Utilities -> Terminal
Get an overview (especially the gpt command is important!):

diskutil list
gpt -r show disk0

Unmount disk0:

diskutil umountDisk /dev/disk0

Remove the current partition entry for the second partition:

gpt remove -i 2 disk0

Add a new "expanded" second partition entry:

gpt add -i 2 -b 409640 -s 488555536 -t 53746F72-6167-11AA-AA11-00306543ECAC disk0

Then repeat all verify steps:

Check the disk with diskutil verifyDisk disk0 afterwards.

Enter diskutil cs list and check if all four CoreStorage containers appear: a Logical Volume Group, a Physical Volume and Logical Volume Family and a Logical Volume.

With the UUID of the Logical Volume mount the LV:

Example:

    +-> Logical Volume 9A7B21AA-F9FE-4E65-8C7E-ED2A73744C15
        ---------------------------------------------------
        Disk:                  disk17
        Status:                Online

Then use:

diskutil mount 9A7B21AA-F9FE-4E65-8C7E-ED2A73744C15

Then after getting the disk identifier of the mounted LV with diskutil list verify the volume:

diskutil verifyVolume disk17 # probably it's disk16, disk17 or disk18

If you get errors backup the data or the whole partition to an external volume then repair the volume with diskutil repairVolume disk17.

One possibility to backup the data is dd. Attach a HFS+ formatted drive with at least 250 GB free space. Get the path to the external volume with ls /Volumes. Then unmount disk17 and disk0 with diskutil umountDisk disk17 and diskutil umountDisk disk0.

Then clone the partition to a file:

dd if=/dev/disk0s2 of=/Volumes/ExternalDriveName/disk0s2.rawdevice bs=4m

If the volume name contains spaces, escape the spaces with backslashes: ...of=/Volumes/ExternalDriveName\ With\ Spaces/disk0s2.rawdevice....

You can also use asr to restore the partition to another disk (as a temporary "backup"). Check man asr.


Why is SSH still asking for my passphrase on a private key provided by the server admin? (No passphrase set on private key)

Turns out I copied the data from the SSH key itself, but not the header/footer, and that was the entire issue. Note to self: make sure to copy everything from the start of the line BEGIN RSA PRIVATE KEY to the end of the line END RSA PRIVATE KEY including all dashes.

In other words, the private key is not...

4OoXTO0cqjtyd7rPWaKeKHgmF5Zu9h7AdZCIJuUTpbBhzER7nW1tMZVPAHMed3r
...
Z9BX7lae9FN/dv5TSAFdSG1Ow011ZvENw25l4mKMPREcHRvDMedeL6oQSBL2m9c

... but rather ...

-----BEGIN RSA PRIVATE KEY-----
4OoXTO0cqjtyd7rPWaKeKHgmF5Zu9h7AdZCIJuUTpbBhzER7nW1tMZVPAHMed3r
...
Z9BX7lae9FN/dv5TSAFdSG1Ow011ZvENw25l4mKMPREcHRvDMedeL6oQSBL2m9c
-----END RSA PRIVATE KEY-----


iOS 10 double click home to pay issue iPhone 6s

You can change the behaviour of the Home button in iOS 10, although this may reduce the way you'd like to use the new lock screen features in iOS 10.

To change the Home button behaviour, follow these steps:

Go to Settings > General > Accessibility
Scroll to and tap the Home Button setting
Change the Click Speed and/or Rest Finger to Open settings

Test the changes out and see if it works for you.


Tetherme is an app you can purchase and install on a jailbroken device that will attempt to enable the iOS personal hotspot feature on devices and with carriers that don't support it.

Reports are mixed, some user indicating it doesn't work with their particular configuration, others reporting that some carriers detect this usage and disconnect when the personal hotspot is active.

While you are interested in using the iOS personal hotspot, chances are good that the more reliable method is to use a third party utility.

However, if you must use the iOS personal hotspot feature, tetherme seems to be only available option right now.


Turns out those are some .mp3 files- probably got carried-over from my Aperture library ¯_(ツ)_/¯


How do I transfer mp3 files from my Lumia 730 to MacBook Pro?

Okay so I did a simple transfer from my SD card, inserting it in my mac! If anyone has a more elegant solution, do share!


Authenticate with phone instead of password

I'm not aware of other 2FA softwares to unlock a Mac, however I've recently found this software that might be of use to you: http://www.knocktounlock.com/. It uses an iPhone to unlock a Mac. Otherwise, you could consider using an unused USB flash drive to serve as a key (for example Rohos Logon Key http://www.rohos.com/products/rohos-logon-free/).


Apple ID has been disable , how to enable and reset password?

All you do is go to https://iforgot.apple.com and you can go through several paths to attempt to reset your password.


How can I determine why keyboard response is intermittently very slow with large display?

This is a bug in Chrome as recorded at google as issue 319580.

The other symptoms as described in that bug report are that display update is very slow when the animated icon for the browser tab is on any 4K display such as the Seiki 39 mentioned in the question.  One work around is to move the browser tab animation off screen and performance returns to normal.  There is a fix forthcoming to Chrome that is available now in the Canary builds.


How do I create a menu shortcut which involves the delete key?

You can edit the property list that stores the shortcuts directly. For example open ~/Library/Preferences/com.apple.AddressBook.plist with TextMate or TextWrangler, and add:

<key>NSUserKeyEquivalents</key>
<dict>
    <key>Delete Card</key>
    <string>~@&#x0008;</string>
</dict>

The shortcut strings are documented in http://www.hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System.html.


How can I mount an encrypted disk from the command line?

You want to run diskutil coreStorage unlockVolume <UUID>, where the UUID is the Logical Volume UUID associated with your encrypted disk, /dev/disk3.  You can get the lvUUID by running diskutil cs list in the terminal and looking for the output related to /dev/disk3.  The identifier is a long string that would look something like this 'B807C2A0-577F-3DB0-9002-F82B9137696C'.

It will prompt you for a password at that point and if it's correct, unlock the disk.


Terminal has gone weird after screen sharing

The default prompt in Mac OS X is derived from System Preferences -> Sharing -> Computer Name. If that is set correctly and you still see kellys-iphone in new terminal prompts, your terminal environment variable PS1 has been set in either .bashrc, .bash_profile or some other local file.

You can check which files set PS1 like so: grep PS1 ~/.*

Side note: If you see a line like this:

[ -z "$PS1" ] && return

which just means "if this is not an interactive shell, disregard the rest of this file" - so that's not the droids you're looking for.

That should reveal a file that has a line akin to this:

export PS1="\u@\h\w$ "

Or, if I'm right:

export PS1="kellys-iphone-2:\w "

Edit that file/line to reflect what you really want. More info about custom prompts in OS X


Automator crop image is doubling the inputted dimensions

I see you are cropping twice. Maybe you must clear the clipboard between getting the variable because automator adds more info to the memory instead of replacing. Try placing an Applescript Action between the crops and paste this code to clear the memory:

tell application "System Events"
    try
        set the clipboard to {}
    on error err_message
        display dialog err_message
    end try
end tell


Android Studio on El Capitan - issues in setting up the SDK

This is what worked for me:

Download the command line tools, place them in the SDK folder (e.g., on mac: /Users/user/Library/Android/sdk), unzip there and then add the tools/bin folder to the PATH.
Install the latest platform: in a terminal, execute sdkmanager "platforms;android-25"
Open Android Studio, and go to the SDK Manager (Appearance and Behavior > System Settings > Android SDK)
Click on "Edit", and then select the sdk folder. Then "Next" > "Next" > "Finish".

I hope this works for you too.

Original answer found here: https://stackoverflow.com/questions/42732684/dependant-package-with-key-emulator-not-found-while-updating-android-sdk-and-too

P.S: I'm on Sierra, but I think that's not a macOS problem but Android Studio installer for mac.


Is there a way to mount or expose a folder within a package to another folder?

You can create an alias outside the bundle to expose this folder (by command-option dragging "Masters" out of the bundle). However, it is not always advisable to mess with the contents of a bundle, so proceed with caution. If you're just reading the photos, there's no problem, but Photos may not take kindly to modifications. The "safest" (but most annoying) way to access items in your Photos library is to export them from Photos itself.


Can two different phone numbers be used to receive voice and text on one iPhone?

The short answer appears to be no - regarding an iOS 6 device. It certainly isn't possible without jailbreaking. Also iPhone's Phone.app and Messages are clearly designed for a 1 phone number type setup.

However, there may be some "hacks" that may work well for you. If I were you, I would look into Google Voice. It certainly isn't ideal, but may be the best you can get. What you can do is have things forwarded to your regular phone number.

Check out http://www.google.com/voice/.

I believe you could work it so that you port one number into Google Voice, and then have your main/regular number on your iPhone in a standard way. When you get a call from your alternate phone number I believe it will forward it to your normal number and allow you to take the call normally. You can get the Google Voice app to text and call from your alternate phone number. The catch with that is that you will need data service - not just voice signal.


Screen Sharing
Screen sharing is actually built-in already. Enable "Screen Sharing" in System Preferences -> Sharing on the computer you want to access remotely. Then you can access it from the Finder either by selecting it in the sidebar window or directly via Cmd-K and entering the address vnc://IP-Address or vmc://Bonjour Name.local.


Automatic numbers superscripting in OS X Maverick and Pages 5

Not yet.  I would recommend staying with Pages 4 if that feature is important.  A workaround might be to add what you need to the Text Substitution section of system prefences using Unicode superscripts, but it may not work or look that great.

ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ


Compression / archival utility which stores the most metadata?

If it's FAT32, use 7zip. Turn on the "slower but more effective" options, which use a larger dictionary. The results can be spectacular; I use it to move database backups around machines and I often get 96% compression.


How does a Mac's Screen Sharing service work?

If we are speaking only about Screen Sharing (SS) (forgetting ARD), it is working as follows:

First, there is a daemon configuration file (/System/Library/LaunchDaemons/com.apple.screensharing.plist). It contains a record that tells launchd to start SS Server (and then SS Agent) every time when someone connects to port 5900. The server is located at /System/Library/CoreServices/RemoteManagement/screensharingd.bundle, the agent is at /System/Library/CoreServices/RemoteManagement/ScreensharingAgent.bundle.

The SS Server is the main part of SS Service. It performs network interacting, implements used protocols, performs image encoding, authentication and so on. In turn, SS Agent impersonates current user and handles things like providing image of user screen, “pressing” keys, “moving” mouse.

(AFAIR, this separation began with Mac OS X 10.7. Formerly the service was monolithic, was named AppleVNCServer and has been always running while the “Screen Sharing” switch in System Preferences was on).

SS Service also can start the following helpers as needed:

SSPasteboardHelper (located in SS Agent bundle) — pastes pasteboard data to system pasteboard as it arrives from the client,
SSAssistanceCursor — appeared just recently, I’m wondering what it is for,
SSFileCopyReceiver / SSFileCopySender (in SS Server bundle) — is used for transmitting/receiving files.

As for protocols, SS Service uses the same RFB protocol as all VNC clients, but with some specific extensions.
The server reports that it supports protocol version 3.889 (most other servers report versions 3.3 to 3.8).
It also supports most common codecs — raw, ZLib, ZRLE — as well as Apple’s custom ones (black-and-white and grayscale ZLib, and “adaptive” codec that uses JPEG-like compression algorithm).
Also there are many Apple-specific protocol extensions, implementing drag-and-drop, files transmission, automatic pasteboard synchronization, transmission of gesture events, and so on.

This is a very general explanation, but if you ask a more specific question, I’ll be glad to help.


Spotlight can't do this. You can probably hack something using AppleScript, Automator etc, but it might be easier to use Alfred which allows for this and a lot of other interesting things.

For your scenario it will actually learn which application you pick from the list and offer it as the default selection after a few times.


RDP Client for Mac with File Copy&Paste Feature

iTap RDP for Mac (http://itap-mobile.com/desktop/rdp/) supports clipboard redirection and a bunch of advanced RDP features (RemoteFX, TS Gateway to name a few). I use it on a daily basis.


I don't have a recent MBP, but in my experience the applications should run well.

For games, I suggest to look at youtube videos. For example, Diablo 3 Beta Gameplay MacBook Pro.

You can find a good comparison of the graphics chips here:
Apple 15-inch MacBook Pro (Late 2011) Review

If you have time, I would wait about one month (until June/July 2012); the chances for new MacBook Pros being released are high.


Virtual machines to install for OS+Ubuntu+Windows

Yes it's possible. You don't need to install multiple virtualization software to run multiple virtualized systems.

You can use one virtualization software (VMware, Parallels or VirtualBox for example) to run multiple virtual machines at the same time.

You can edit the Virtual Machines.

You can change the amount of memory and the number of cores used by each virtual machine among other things, but it requires shutting down the VM you will edit.

For non Bootcamp virtual machines, you can also change the settings of virtual hard drives by creating new drives, removing existing ones or even resizing existing virtual hard drives (which are just files on your hard drive).

Getting the best of both worlds.

I would recommend you install Windows in Bootcamp first. Then back in Mac OS you create your Windows virtual machine from the bootcamp install. Follow this procedure.

This way you will be able to either launch Windows from Mac OS and run both systems at the same time and restart your computer to boot into Windows natively for better performance (for video games or power hungry applications).


When an old iPhone 3 can connect to WiFi but not associated with a Cell Phone carrier, can it still send files?

After you switch to a new iPhone, the old iPhone will still be able to access data over WiFi, just not the 3G network.


How can I slow down scroll on mac more than the system preferences let me

https://www.smoothscroll.net/mac/ seems to work pretty well.  I'd be interested to hear if anyone has other suggestions though.


Trouble Installing Pygame on Mac - error code 255 in None

Using brew and not hg fixed the problem, I used this line for installation:

brew install homebrew/python/pygame


Editing and syncing a pdf file on Mac and iPad through iBooks

It appears that only synchronizing the original, pristine copy of a pdf file is supported. Synchronizing edits is not implemented, or at least similar questions on discussions.apple.com remain unanswered.


Can I use a retina display at actual pixel size?

Yes you can, but you probably will not choose to do so. When you really want to force the display into 2880x1800 you can easily configure it that way. Here are four of the better options available today to do what you ask:

SwitchResX
Retina DisplayMenu (used to be SetResX)
scrutil
ChangeResolution

That said, items like the menu bar with the Apple icon are extremely small at 2880x1800 and you don't need the entire screen to at that high resolution for a properly build application to let the windows it controls have the full resolution. The scaling modes are pretty good, and you can always reduce your font sizes even while running at the doubled 1440x900 resolution. Most people will never need to set 2880x1800 since they really only care that the applications they use get the retina treatment and don't need to force the rest of the UI to run with such a dense packing of pixels.


Why is SSH key different for user@ipaddress vs user@devicename.local (same device)

I think you have it backwards - it is not your computer that is treated as two different devices, rather it is the Linux device that is treated as two different devices.

The first time you connect to 111.222.333.444, the SSH (host) key of the Linux device is saved on your computer (usually in the ~/.ssh/known_hosts file). This makes it possible for SSH to check that the key is the same the next time you connect - otherwise you'll get a warning that something is up.

Similarly, the first time you connect to devicename.local, the key is again saved. SSH doesn't know that 111.222.333.444 and devicename.local is actually the same computer, so the key will be saved twice under different names on your computer.

Therefore in the future if you update one key and not the other, you'll experience different behaviour regarding host key warnings when you connect via the IP address or the host name.

Regarding the inconsistencies with your firewall - it is not entirely clear, how you think that is related to your question about the SSH keys being different. In general, a firewall on the server has no way of knowing whether you have opened the connection by typing in the IP address or host name of the server. That information is simply not transferred over the network.

If you observe a difference, it is because the host name does not translate to the same IP address as the one, you're entering manually. This can happen if the server has multiple alias IP addresses, and you're using two of those - or if the server has both an IPv4 address and an IPv6 address, and you're typing one and using a host name that is set to the other.


Is there any way to have a badge appear on the Terminal icon in the Dock when a command completes?

As of Mac OS X 10.7 Lion, Terminal has exactly this feature.

If you emit a bell (BEL, Control-G) in a background tab or window, the Terminal application Dock icon will show a badge with the number of “unread” bells

and a bell icon is displayed in the tab of the terminal

(If there is only one tab in the window, choose View > Show Tab Bar to see the tab, which also displays other status information.)

This also applies to minimized windows.

When you bring the window to the front or select the background tab, the bell indicator is removed from the tab and the badge count goes down.


How do I prevented the hackers (secret intel) manipulating my terminal again

Most likely you have sprung to an incorrect conclusion - that your Mac was hacked.

The most likely cause of "unwanted" or "surprising" host name changes is that your DHCP server gave your computer a new hostname. The DHCP server could be a router/modem in your own house, a system at your ISP or indeed hardware at anywhere you have connected to a WiFi network (such as a coffee shop, school or whatever).

Removing sudo rights from yours won't help this problem, as the DHCP client on your Mac will still be able to change your hostname.


Command + C does not always work from the first try in Microsoft Word (Office 2011)

This issue is real and I think every mac user experience it on a weekly basis, but likely people continue to doubt themselves over if they actually command c or not properly.
The fix. If you are using Karabiner like real hacker should:
Just add this to your karabiner complex configurations:
[
    {
        "from": {
            "key_code": "c",
            "modifiers": {
                "mandatory": [
                    "left_command"
                ]
            }
        },
        "to": [
            {
                "key_code": "c",
                "modifiers": [
                    "left_command"
                ]
            },
            {
                "key_code": "c",
                "modifiers": [
                    "left_command"
                ]
            },
            {
                "key_code": "c",
                "modifiers": [
                    "left_command"
                ]
            }
        ],
        "type": "basic"
    }
]

Now that should make the copy flash a few times in the menu.
You can increase or decrease as much as you want. Personally I have a few more.


Use FFMPEG

It's open source, free and its libraries are what Handbrake (and others) use to encode MPEG file formats.  If you are going to have to use their software anyway, why not get it from the source?

You can download it from here:  http://ffmpeg.org/download.html

Once you have it installed, just issue the command in Terminal:

ffmpeg -i input.mov output.mp4

Where input.mov and output.mp4 are the actual file names and paths of the files you want to convert from and to respectively.

I used to use Handbrake and VLC in the past to do this sort of thing, but ever since I discovered FFMPEG command line utility, I have no need for either apps any longer.


Bluetooth Serial Port Profile (SPP) support in OS X Yosemite

I was able to pair a bluetooth serial port via the preferences panel:

Apple Menu > System Preferences... > Bluetooth

My adapter was discoverable, failed auto-pairing, but I was able to pair with the pin code provided in the online documentation. The system automatically created a serial port:

alf@my-mac:~ ls -l /dev/tty.*
crw-rw-rw-  1 root  wheel   18,   6 Aug 12 15:09 /dev/tty.HC-06-DevB

Screen will open this port, but I don't have the correct baud rate just yet:

screen /dev/tty.HC-06-DevB


Depending on the source of the file, you may wish to investigate its contents in other ways than just opening it (double clicking).  For this, you should use the command line.

Some suggested starting points (where "whatever.xml" is the name of the file):

file whatever.xml

This will tell you what type the file is.  Not by file extension, but by actual examination of the contents.

head whatever.xml

This will show you the first ten lines of the file.  However, be warned: It is possible to have an entire 50 MB XML file consisting of a single line.  Press Ctrl-C to stop if it starts spewing garbage.  (Yes, Control C, not Command-C.)

To just view the file without even the possibility of editing it:

less whatever.xml

If the file does consist of very long lines, for reading it, you could force periodic line wraps (formatting):

fmt whatever.xml | less

But actually, less will wrap the lines by default unless you tell it not to.  For no wrapping of lines (so you can use sideways arrow keys to scroll):

less -S whatever.xml

It is a good probability that one of these commands will disclose a problem with the file.


Find out if account is disabled using terminal

I think this will work.

dseditgroup -o checkmember -u testuser com.apple.access_disabled

Source: https://www.jamf.com/jamf-nation/discussions/14825/ea-for-disabled-accounts


How can avoid to open the apps that I was using on my last session when I start the Mac?

Maybe ticking this option can help (System Preferences -> General):


Black or displaced screen when screen sharing headless mac mini on macOS 10.12

These are solutions that I found but that do not work for me:

UPDATE: The issue finally and miraculously disappeared after  updating to macOS 10.12.4.
If you run third party applications, such as AirParrot or f.lux, you should try completely uninstalling those, as discussed here.
If your mac is 100% headless (i.e. no screen attached), you can either add an HDMI dongle or hack your own Thunderbolt dongle using a VGA adapter. This is a common trick to activate the GPU and comes with the added benefit that Screen Sharing gets much faster. This actually works for me, but is not a permanent solution to my problem.


I think your best course of action would be to commit to a factory reset after backing up your data.

According to this support doc you can do so by plugging your device into a machine with iTunes installed, unlocking the device if it has a passcode and then clicking on it in iTunes.

In the device summary there should be a button that reads "Restore iPhone..." or something of the like. Click on that and then click Restore on the resulting new window to confirm your decision.

Your device will then be erased and re-installed with a brand new factory image corresponding to the latest version of iOS available for your device.


Photos projects are stored in the Photos library, which you can copy to another computer. By default, the Photos library is located in ~/Pictures, i.e. the Pictures folder in your home folder. Copy this to your new computer in the same place, then open the Photos app.


how can I fix disk permissions on a headless Mac that won't boot?

Two options:

You can repair permissions using Target Disk Mode from your MacBook - as you mentioned, you'll need a FireWire or Thunderbolt cable to do so. No need to use the recovery partition on the Mini - you can use Disk Utility on the MacBook to repair the drive on the Mini. In order to use Target Mode on a headless machine that won't boot, hold the 'T' key down during startup.
Alternatively - since you need to buy a cable, you could instead buy an adapter to connect a monitor (if you have one) & repair using the recovery partition on the Mini.

I'd have both options on hand in case of issues. Target Disk Mode will work if you have a keyboard & a FireWire cable.


This is pretty easy. In fact there are articles out there that describe how to do this.
Briefly, open terminal app in /Applications/Utilities and paste in this command
sudo nvram StartupMute=%01
It will ask for your password and then just return to the terminal prompt. When you reboot the chime will be gone.
Note that if you reset NVRAM (some old farts like me still call it PRAM) the chime will return, you just have to do that command again.
to turn the chime on
sudo nvram StartupMute=%00
In case you change your mind...


How can I route traffic to different gateways by protocol

If you are prepare to do a lot of research and command line work then you should be able to do it using the built in routing and firewall software.

There is a good package IPNetRouterX which makes doing it a lot easier. They also claim to be faster since they operate at the kernel level. They offer a 21 day trial so you can see if it works well for you before paying the $100 they want for it. I have had some success with it for other uses in a couple of clients.


If my top button on my iphone 4 doesn't work can I turn on my phone without connecting it to a charger?

No, there is no way to do it. To make things easier,  you could turn on Assistive Touch, but it doesn't work when iPhone is turned off.


Why do I get this error: "The name of your computer is already in use on this network"?

Open a terminal.
Type the following command to change the primary hostname of your Mac:

  This is your fully qualified hostname, for example, myMac.domain.com

 sudo scutil --set HostName <new host name>

Type the following command to change the Bonjour hostname of your Mac:

  This is the name usable on the local network, for example myMac.local.

sudo scutil --set LocalHostName <new host name>

If you also want to change the computer name, type the following command:

  This is the user-friendly computer name you see in Finder, for example
  myMac.

 sudo scutil --set ComputerName <new name>

Flush the DNS cache by typing:

dscacheutil -flushcache

Restart your Mac


Avoid Unwanted/Blank Text Annotations in Preview.app

I might state the obvious. When it's the first (accidental) edit you make in a document, Undo/Command-Z will not only remove the involuntary text box, but will also revert the document state back to 'unchanged'.

After test addition: You may have to click on a 'safe' zone outside of the text box for Undo to function. Thus creating additional 'edits', you have to Undo-away. My experience is, that after two or three undos the 'edited' tag disappears behind the filename in the window title.

Just tried it and had one additional observation:
The only way I found to get the text box to appear was clicking on or near a line in the pdf. That's a feature not a bug: Preview assumes you want to fill out a form.

Hope this helps.

Eerk


iPod touch bad battery performance after updating to iOS 4

Try to completely disable Push Notifications in the Settings application. This might lead to the iPod not trying to maintain a WiFi connection all the time and thus increase battery life.


Apple id security questions not allowing me to download apps

Have you tried resetting your phone? Otherwise known as Powering Off ... and then, like, On again.

"Hold down Sleep/Wake button and Home button for at least 10 seconds, until the Apple logo appears."

(Direct quote from Apple graphic, as seen on Gizmodo, in an attempt to thin down the Genius Bar crowds.)


How can I increase font size in Spotlight

Maybe I'm missing something, but once you enter an equation such as 7/3 in Spotlight and pause for a moment, it'll also preview the result below right of the search field:

You can also press return to display the result in the Calculator:


AirPlay turned off and can't be turned on

The AirPlay icon in the menu bar is only shown when an AirPlay device is available, per the option ‘Show mirroring options in the menu bar when available’ (emphasis mine).

You're unable to change the option from Off because there are no AirPlay devices to choose from. There is no ‘On’ option ever, only a list of devices to choose, except there are no devices found so the list is empty.

There is never an AirPlay icon on the desktop.


Short Answer
Your link appears to be for bash. The latest versions of macOS now use zsh as the default shell. The table below summarizes possible zsh equivalents.

Orignal bash
Close zsh Equivalent

trap -l
for sig in $(kill -l); do printf "%2s) SIG$sig\n" $(kill -l $sig); doneorbash -c 'trap -l'

trap -p
trap

trap -p sig
trap | grep -E sig$

trap -p sig1 sig2 ...
trap | grep -E -e sig1$ -e sig2$ ...

Longer More Detailed Answer
Your link appears to be for bash. The latest versions of macOS now use zsh as the default shell.
Under zsh, the command below will list the signal names.
kill -l

For example, the above command produces the following output
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2

Also, the command below will list the corresponding signal number for each sig that is a name.
kill -l [ sig ... ]

For example, the command
kill -l INT QUIT ILL TRAP ABRT

will produce the following output.
2
3
4
5
6

You can enter man zshbuiltins to get help with the trap and kill builtins for zsh.

When you entered trap -l, the command -l was associated with no signals. This can be shown to be true by adding a signal to the trap -l command, as shown below.
trap -l USR1

Here, the command -l is associated with the USR1 signal. This can be demonstrated by entering the command given below. This command prints the list of commands associated with USR1 signal
trap | grep -E USR1$

The output from the above command is given below.
trap -- -l USR1

Normally, the command -l would not exist.

The commands below would produce output similar to using the bash builtin  trap -l.
for sig in $(kill -l); do printf " '%2s) SIG$sig'" $(kill -l $sig); done | xargs printf "%-15s %-15s %-15s %s\n"

The output from entering the above command is given below.
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL
 5) SIGTRAP      6) SIGABRT      7) SIGEMT       8) SIGFPE
 9) SIGKILL     10) SIGBUS      11) SIGSEGV     12) SIGSYS
13) SIGPIPE     14) SIGALRM     15) SIGTERM     16) SIGURG
17) SIGSTOP     18) SIGTSTP     19) SIGCONT     20) SIGCHLD
21) SIGTTIN     22) SIGTTOU     23) SIGIO       24) SIGXCPU
25) SIGXFSZ     26) SIGVTALRM   27) SIGPROF     28) SIGWINCH
29) SIGINFO     30) SIGUSR1     31) SIGUSR2

I suppose the above commands could be wrapped in a function, as shown below.
trap-l() { local sig; for sig in $(kill -l); do printf " '%2s) SIG$sig'" $(kill -l $sig); done | xargs printf "%-15s %-15s %-15s %s\n"; }

This would allow the output to be produced by just entering trap-l. However, this might just be folly, since apparently you could have simply entered the command bash -c 'trap -l'.


Monitor is not recognized via a KVM switch

The issue appears to be an incompatibility in the DVI Cable types. I was using a DVI-D dual link cable and swapped it out for a DVI-D Single link one. My monitor is connected to the KVM also with a DVI-D single link.

I presume somehow the MacBook was detecting dual link support, though the KVM does not support it I believe. By switching the cable I guess I forced the entire chain to be recognized as single link only.


Is there something like macros in Outlook 2016 on Mac?

Here is a way in Outlook 2016 on Mac to do the equivalent of Windows "Write a VB script and assign it to a key".  Thanks to those who pointed me in the right direction.  On Mac this is done with Applescript, Automator, and Keyboard Shortcuts.  I'm including the Applescript here that moves selected Outlook emails to an archive folder.   Also shown below for reference is the original VBA I was trying to emulate on Mac.

Step 1 – Write Applescript to move selected Outlook item to Archive

Press Command-Tab to launch Spotlight Search, type “Script Editor” to
launch it.
Optional: Install a shortcut to the script editor in the
Apple menu as follows.  You have to be in the script editor first,
then in the menu at the top choose Script Editor->Preferences.  Then
in preferences choose General, and check (enable) “Show Script menu
in menu bar” and also “Show Computer scripts”.
Start with the following script.  Run it, test it, play with it.  Look elsewhere for help on changing this to do exactly what you want.  This script moves the currently selected email(s) to a folder named “IZ – Archive”. Change the folder name to suit yourself.  There’s lots of room for improvement here.  I’d like to solve the Reminders problem.

tell application "Microsoft Outlook"
    -- get the currently selected message or messages
    -- NOTE in this version it fails if the Outlook Reminder window is open, even if you select a message in the main window.
    set selectedMessages to current messages

    -- if there are no messages selected, warn the user and then quit
    if selectedMessages is {} then
        display dialog "Please select a message first and then run this script." with icon 1
        return
    end if

    set aMessage to item 1 of selectedMessages
    set emailAcct to account of aMessage
    set inBoxFolder to folder "Inbox" of emailAcct
    set ArchiveFolder to folder "IZ - Archive" of inbox

    repeat with theMessage in selectedMessages
        move theMessage to IZArchiveFolder
    end repeat
end tell

Step 2 – Assign the Applescript to a Service using Automator

Press Command-Tab to launch Spotlight Search, from there launch
Automator
In Automator, choose a type for your document, choose
“Service”.  You will create a service from your script.
At the top of the service, set the two settings to: Service receives no input in any application From the left panel, choose Library, then in the second panel from the long list find “Run Applescript”, and drag that into the main service window.
Copy and paste your Applescript replacing (* Your script goes here *)
Save the service, giving it a name like MoveSelectedOutlookMailToArchive.   It’s not obvious how to “Save As” in Automator.  Play around with the “File” menu at the top of the screen and do some googling.
The service will be saved under ~/Library/Services/yourservicename

Step 3 – Assign the Service to a Key

Go to Keyboard Shortcuts either from Outlook Menu->Outlook->Services->Services Preferences or from System Preferences->Keyboard->Shortcuts->Services
In the Keyboard Shortcuts editor choose “Services” on the left, then go to the bottom under the “General” section where you will find your new service.
Click on that, and assign the keyboard shortcut you would like.

============

For reference and comparison here is the original VBA script I was trying to emulate on Mac.  As you can see, the Applescript is more concise and intuitive, on the other hand the mechanism to assign it to a key (not shown here) is WAY easier on PC.

'Outlook VB Macro to move selected mail item(s) to a target folder
Sub MoveToIZArchive()
On Error Resume Next

Dim ns As Outlook.NameSpace
Dim moveToFolder As Outlook.MAPIFolder
Dim objItem As Outlook.MailItem

Set ns = Application.GetNamespace("MAPI")

'Define path to the target folder
Set moveToFolder = ns.GetDefaultFolder(olFolderInbox).Folders("IZ - Archive")

If Application.ActiveExplorer.Selection.Count = 0 Then
   MsgBox ("No item selected")
   Exit Sub
End If

If moveToFolder Is Nothing Then
   MsgBox "Target folder not found!", vbOKOnly + vbExclamation, "Move Macro Error"
End If

For Each objItem In Application.ActiveExplorer.Selection
   If moveToFolder.DefaultItemType = olMailItem Then
      If objItem.Class = olMail Then
         'objItem.UnRead = False
         objItem.Move moveToFolder
      End If
  End If
Next

Set objItem = Nothing
Set moveToFolder = Nothing
Set ns = Nothing

End Sub


MBP Mid 2010 crashes with single color on screen

From looking at the pictures and combining this with the fact that the screen reverts back to normal after turning off the laptop for a few hours, I suspect a hardware problem. Which means that you need to get the laptop to the next Apple Store (or other Apple dealer) to have it fixed.


Open New Terminal From Finder When Terminal is Already Open

In Catalina, and perhaps earlier macOSs, there are three ways to open a new Terminal window when a Terminal window is already on the desktop:

From within Terminal, go to the Menu Bar, select > Shell > New Window
From within Terminal, press Command-N to open a new window
In any application, go to the Dock, right-click on Terminal's icon > New Window


How to get user GUI input from BASH scripts?

I've found two solutions.  The best one is second.

Solution #1: use Tcl/Tk:

#! /usr/bin/env wish8.5
# Adapted from brilliant example here:
#   http://stackoverflow.com/questions/166231/tcl-tk-examples

package require Tk

proc main {} {
if {[lsearch -exact [font names] TkDefaultFont] == -1} {
    # older versions of Tk don't define this font, so pick something
    # suitable
    font create TkDefaultFont -family Helvetica -size 12
}
# in 8.5 we can use {*} but this will work in earlier versions
eval font create TkBoldFont [font actual TkDefaultFont] -weight bold

buildUI
}

proc buildUI {} {
frame .toolbar
scrollbar .vsb -command [list .t yview]
text .t \
    -width 80 -height 10 \
    -yscrollcommand [list .vsb set] \
    -highlightthickness 0
.t tag configure command -font TkBoldFont
.t tag configure error   -font TkDefaultFont -foreground firebrick
.t tag configure output  -font TkDefaultFont -foreground black

grid .toolbar -sticky nsew
grid .t .vsb  -sticky nsew
grid rowconfigure . 1 -weight 1
grid columnconfigure . 0 -weight 1

set i 0
foreach {label command} {
    awake     {prevent_computer_sleep}
    sleep     {allow_computer_sleep}
    status    {pmset -g | grep sleep}
} {
    button .b$i -text $label -command [list runCommand $command]
    pack .b$i -in .toolbar -side left
    incr i
}
}

proc output {type text} {
.t configure -state normal
.t insert end $text $type "\n"
.t see end
.t configure -state disabled
}

proc runCommand {cmd} {
output command $cmd
set f [open "| $cmd" r]
fconfigure $f -blocking false
fileevent $f readable  [list handleFileEvent $f]
}

proc closePipe {f} {
# turn blocking on so we can catch any errors
fconfigure $f -blocking true
if {[catch {close $f} err]} {
    output error $err
}
}

proc handleFileEvent {f} {
set status [catch { gets $f line } result]
if { $status != 0 } {
    # unexpected error
    output error $result
    closePipe $f

} elseif { $result >= 0 } {
    # we got some output
    output normal $line

} elseif { [eof $f] } {
    # End of file
    closePipe $f

} elseif { [fblocked $f] } {
    # Read blocked, so do nothing
}
}

main

where prevent_computer_sleep just does sudo pmset sleep 0 and allow_computer_sleep does sudo pmset sleep 1.

Solution #2: modify KeepingYouAwake to use system sleep and not display sleep: my fork of KeepingYouAwake.


How do I detect failed remote login attempts and block them?

Login attempts are logged in the file /var/log/secure.log, but there's a lot of other entries in the file also. You could search for lines containing the phrase "Failed to authenticate user" to narrow down the failed login attempts.

In Mac OS X, by default, telnet and rlogin are not enabled at all. As far as ssh is concerned, it can be turned off and on using System Preferences. If you deselect "Remote login" then it should not be possible to ssh into your computer.


Backup/Time Machine solution for an office full of iMacs?

You can simply put an Apple Time Capsule in your network and select this as Time Machine backup volume. And you may choose an encrypted backup to ensure more privacy. This works perfect in my office with a dozen MacBooks.

A more cost efficient solution may be a 3rd party solution like a Synology DiskStation containing a Raid 1or 5. Synology also offers Time Machine support which works seamless for me at home.


How to remove iPhone music from Amazon Music app?

Unfortunately after contacting Amazon, it looks like the only way is to remove the Amazon music app and reinstall it again and download the songs that were downloaded before!


Require login to be able to see anything on wiki server?

Check the following link https://discussions.apple.com/thread/4156010 I have not tried it.


OSX Mavericks horizontal scrolling doesn't work well in Finder?

No. Horizontal scrolling is butter smooth in Finder for several of my machines. I've tried several different resolution settings on the Retina MBP as well as tried mouse and trackpad scrolling on older machines with less CPU / GPU power than the 13 inch MacBook Pro.

None lag in any manner scrolling horizontally as opposed to vertically in my experience. Due to the voting on this question, perhaps there are some issues for certain configurations or something else that I'm doing differently than you, but even for all different views (icon, list, hierarchical, etc...) and finder windows with a thousand files in the folder, I'm not able to see slowness when scrolling horizontally.


Is the new SSD properly formatted?
I’ve had issues before where the drive was still FAT or whatever, but the Mac partition was properly formatted and looked ok.


DELL WD15 DOCK with Macbook Pro 2018 - max resolution issue

The limitation is the Dell WD15 Dock only supports HDMI 1.4a (see specifications), which only supports 3840 x 1600 at 24p, and the dock does not support HDCP (content protection). Your Mac wants to run at 60p unless it is playing a movie, in which case Netflix wants HDCP. Count yourself lucky that your 2017 Mojave Mac will let you use 3840 x 1600 at all.
The fix is to use DisplayPort. Get yourself a mini-DisplayPort to DisplayPort cable (around $10) and use that to connect your dock to your display and you should be able to get the full 3840 x 1600 at 60 Hz support.


Maybe you can ask the developer of SleepCycle to put some iPod scheduling controls into the app? That seems like the best solution.

I do know of one other solution, but I'm afraid it's a Jailbreak app. There's a paid app in Cydia called SBSchedule, which (when combined with the free SBSettings and SBSettings iPod toggle) can toggle the iPod off on a schedule.


Prepending section/subsection numbers to headings in Pages

In your Format sidebar, you have a section titled Bullets and Lists. You can add numbers to your headings just like what you want.


Since Apple doesn't offer an API to use their Siri services, you might be limited to coming up with some Rube Goldberg machine that presses the home button of your iPhone and rubs a buddha belly for luck (or whatever else you desire to have happen simultaneously with the incoming call) so that Siri will work at the exact moment your caller is speaking to her.

Again, there is no API to do anything except listen to what Siri responds sonically so it's not clear how this might be useful for anything but a fun youtube video.

Now, your business might very well be able to license a voice like Siri (or the same exact voice for enough $$) by contacting Nuance or some other computer speech vendor - but their product likely won't run on iOS since other custom hardware is likely to be more capable for an automated PBX.


Simply being supervised grants the following:

Remote wipe, which won't provide access to your information, only resetting the device.
Activation Lock bypass, allowing a reset device to be used again by the administrator.
Managed Lost Mode, providing the device's location (but you'll know about this through a large modal message).

Supervision also allows the administrator to install a number of features on the device, including a web proxy, allowing internet traffic to be monitored. To tell if these features have been installed, go to Settings → General → Profiles & Device Management → profile name.


Configure new IMAP mail account in IOS 10

Mine doesn't do that - maybe it fails to connect over POP for some reason.
However - try putting in the wrong password - it'll fail to connect and should present you with the manual server options so you can input everything yourself.


How to give one time only camera access to Skype app

You can just give it access for that one call and then revoke its access after.

To change the camera permissions on a specific app who has requested for it:

Settings > Security & Privacy > Camera Tab and then click the check mark next to the app you want to change permissions to.

You may have to click the lock icon on the bottom left corner to change these settings.


Force Mac OSX to restart instead of waking up

You can hold down the power button for 10 seconds, wait a couple seconds, then press the power button again and it should boot.  However, if the computer battery is still dead, it may take a few minutes before the battery will charge up enough before the computer will boot.

So, once the battery has had enough time to charge up from dead (~5-10%) it should allow you to restart it.


Apple Watch - Power Reserve

Power Reserve allows you to continue to see the time on your Apple Watch while preserving your battery life.

Your Apple Watch will automatically enter Power Reserve if the battery gets too low, and you might see  next to the time. In Power Reserve, press the side button to show the current time in a 24-hour format. The time will display for six seconds.

While your Apple Watch is in Power Reserve, your Apple Watch and iPhone won't communicate, and you can't access other watch features.

Turn off Power Reserve
To turn your device back on, press and hold the side button until you see the Apple logo and wait for your Apple Watch to restart. You might need to charge your Apple Watch first.

Turn on Power Reserve
If you need to, you can turn on Power Reserve. Press and hold the side button until you see the Power Off, Power Reserve, and Lock Device options. Then drag the slider to turn on Power Reserve.

You can also turn on Power Reserve using Glances. Swipe up on the watch face to open Glances, then swipe left or right to find the Battery Glance. Tap Power Reserve, then tap Proceed.

Source: Apple KB - Using Power Reserve


Octave: Can't start GUI after installing from homebrew

I had same problem and asked same question. I answered it myself. Remove homebrew version of Octave. Install MacPorts version of Octave. MacPorts is a package manager like Homebrew. Their version of Octave works fine. Instructions for installing MacPorts and Octave are given at MacPorts home page.


Yes, it can be very slow this way, at least compared to other methods. You have a few throttle points: the USB connection, the USB and the wireless connection to your computer & Apple TV. If you stream a movie from your iTunes Library to Apple TV while Time Machine is backing up, you are effectively routing two data streams through the USB hub, and three data streams through your wireless router.

Your best bet is to get some of the hard drives off of the AirPort Extreme's USB drive. The exact solution can vary greatly based on your exact network and computer setup. A solution could involve moving some external hard drives to plug directly into your Mac or replacing some of the drives with a NAS that can be plugged in via Gigabit Ethernet.

If you can post more specifics in your question, I can update this answer to be more specific as well. How many Macs do you have? What types? Which Macs access which drives for which purposes? Etc.


Any message can be edited. This does not affect the message for anyone else, it simply lets you edit the message for yourself.


What SSD models and brands can I get for my Late 2012 MBP (MacBookPro9.1) that Yosemite supports?

I personally can't tell you about SSD compatibility for MBP, but I went through the same process when I did a HD upgrade on my 2009 MBP. I found numerous reviews on sites like newegg, amazon, bestbuy and so on and many people said they used the drive to upgrade their MBP's. I ended up buying a HD from newegg that said it was for a MBP and it ended up not working for me. I then looked at OWC's HDs and bought an identical one on newegg with the same results.

The one that I ordered from newegg was the following: WD Scorpio 750GB

The problems that I was having with the new HD's was that their connection would be intermittent. It would work for about a minute then everything would freeze for about 2 min then repeat. The HD itself was not failing because I tried it in an external enclosure attached to my mac and it work perfectly fine. The OS was not the problem and would install every time, but would take around 2 hours to install (normal install time was 30 min).

I ended up ordering a new one from OWC and worked perfectly in my MBP. One thing I noticed about OWC's HD was that there was a different firmware loaded on them specifically designed for apple products.

The specific HD from OWC is: HGST 750GB (OWC)

Hope this helps.


The ~/Library folder is where the system stores different things(settings for apps, steam games, iOS backups, downloads of iOS apps from iTunes and etc.)

You can look at the folder by going to your home folder in Finder, press Command(⌘)+ j and check the box that says "Show Library folder"


Cloud Backup Options for HD Attached to Time Capsule

For cloud/online based backups here are a few to consider:

Backblaze
Mozy
Carbonite
Crashplan

They are all mostly the same - you install their software, pay an annual or monthly fee and your data is constantly backed up to their servers. A few offer more advanced features like mirroring to their servers and another machine.

I've put Backblaze at the top because thats what I use at home to backup my photos and music. Its cheap @ $50 per year for unlimited storage. I set it up once and never had to look at it again. Last week I recovered a folder of files through their web-interface, though you can (like most cloud backup companies) order a hard-drive with the contents.

Another more DIY solution is using AmazonS3 combined with a backup program like GoodSync. You use S3 for the storage and then setup your backup/sync options in Goodsync. We use this at work to backup important project files. The advantage of this method is you have the same level of control you get when using backup software (timed backups/backups when files are changed/email notifications/advanced file comarison etc)

Here is a good starter article for AmazonS3 backups. Its also worth noting that AmazonS3 might end up being more expansive than a regular cloud backup service. You can calculate how much S3 would cost using their Simple Monthly Calculator


How to batch add folders to Folder Actions

This following AppleScript code will ask you to choose the script file to attach then we'll give you two separate options for adding multiple folders to attach that script file to

This works for me using the latest version of MacOS Mojave.

property pathToFolderActions : ((path to workflows folder as text) & "Applications:Folder Actions:")

tell application "Finder"
    set resourceName to (choose file with prompt ¬
        "Choose The Script File To Attach")
    set resourceName2 to name of resourceName
    set folderActionScript to (container of resourceName as text) & resourceName as string
    try
        duplicate resourceName to folder pathToFolderActions with replacing
    end try
end tell

activate
set theFolders to (choose folder with prompt ¬
    "Choose Folders" default location (path to desktop) ¬
    invisibles false ¬
    with multiple selections allowed)

activate
set chooseAgain to button returned of (display dialog ¬
    "Would You Like To Choose  Additional Folders?" buttons {"NO", "YES"} ¬
    default button "YES" with title ¬
    "Would You Like To Choose  Additional Folders?" with icon 1)

if chooseAgain is "YES" then
    activate
    set moreFolders to (choose folder with prompt ¬
        "Choose Folders" default location (path to desktop) ¬
        invisibles false ¬
        with multiple selections allowed)
    set theFolders to theFolders & moreFolders
end if

repeat with i from 1 to count of theFolders
    set thisItem to item i of theFolders
    tell application "Finder"
        set nameOfTriggerFolder to name of folder thisItem
        set attachFolderActionTo to (container of thisItem as text) & nameOfTriggerFolder
    end tell

    tell application "Folder Actions Setup"
        activate
        try
            set addedFolderAction to make new folder action with properties {name:nameOfTriggerFolder, path:attachFolderActionTo}
        end try
        try
            delay 0.5
            tell addedFolderAction to make new script with properties {name:resourceName2, path:(pathToFolderActions & resourceName2)}
        end try
        if not folder actions enabled then
            set folder actions enabled to true
        end if
    end tell
end repeat

delay 5
tell application "Folder Actions Setup" to quit


Can't extend Macintosh HD partition after removing Linux

Try run Disk Utility from Recovery Mode as described in http://support.apple.com/kb/ht4718


Apple Music - Allowing Explicit Content Disabled

This is the reply i got after chatting with the customer team for over half an hour - Due to the laws between the countries. The iTunes Store in India does not offer explicit content on the music store!!!


The short answer is No.

Apple Notes and OneNoe can't be sync'd. You can export content from Notes and import it into OneNote, but they won't sync.


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

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

Then change the desktop background for the one remaining desktop.

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


How do I choose the disk to install macOS Sierra?

I don't know how good this may work, but once you boot into recovery mode, from the menu bar on the top, under Utilities you should find Disk Utility. Once you open disk utility, select the disk you want to install the OS on, and then click the Mount option, this should give you a prompt to provide the password to unlock the drive.

Once you have successfully unlocked and mounted the drive, quit Disk Utilities, and the default window with the option to install macOS should come back, from thereon you may continue with the installation as usual.

I didn't have the opportunity to boot in Recovery mode and make sure this works, so your milage may vary. Also, I would highly suggest you take a look at the guide posted by one of the comments, as well as make a back up of everything important in that drive before you proceed with this! Good luck!


There are a few possibilities.

This person has iMessage disabled in their settings.

They have an older iPhone that doesn't support iMessage.

They have mobile data turned off, in which case, they would only be able to use iMessage when connected to wifi.


Cool problem showing how amazing bash, pipes and open are. You are so close on the fourth try:

wget -qO- 'https://www.com/big.pdf' | open -f -a Preview.app

Luckily the -a argument lets the -f take the data from stdin but not open in TextEdit.


Why does Mail.app take three minutes plus to open?

Let’s see what Mail is doing:

Run the following Terminal command to enable kernel symbolication: $ sudo nvram boot-args="keepsyms=1"
Reboot your machine and don’t open any apps except for Terminal.
Open Mail and wait a few moments for it to reach its steady-state unresponsiveness.
Run the following command in Terminal, making sure you’re only running it during the window of time that Mail is unresponsive: $ sudo spindump -reveal -noProcessingWhileSampling
After waiting for 10 seconds to collect a sample and another minute or two to symbolicate and format, you’ll get a file in /tmp/spindump.txt that contains a stackshot of every process.
Upload the file to PasteBin or some equivalent place and we can take a look to see what Mail’s main thread is blocked on.


How can I make my microSD card writable?

I had a PNY 32gb SD Card. Spent hours trying to find out how to make it re-writeable. Well the answer is simple. The slider on the left side of the card must be "up" (the read-writable position) BUT ALSO the tiny "notch" opposite the slider must be covered with a piece of tape. It's really the opposite of the old video tapes, which we had to break the tab if we did not want anything recorded over it. But I can guarantee you I've bought a lot of SD cards and have NEVER had a card that was write-protected out of the package that required me to do anything but raise the slider on the left side.


How do I resurrect a Thunderbolt display?

I have had a similar issue a few weeks ago. In my case the screen was not "completely" black, but it was close. Going to the "Display" tab in the settings app and turning up the brightness did the trick.

However, it may also be an actual hardware failure if there is nothing at all visible on the screen. In that case you should take the display to an Authorized Apple Service center.

In the pulldown, select Mac repair since these require the same training, tools and skill to repair as an iMac does.


How do I check the effective file permissions/accessibilty for/of a given file and a given user?

One commercial app which provides the effective permissions for a user and a selected file or folder is TinkerTool System:

In the example below the effective permissions of the file /private/var/log/clamav.log for the user Spotlight are shown. The user Spotlight can neither read nor write data.

Triggering the tab Show or Set Permissions the POSIX permissions/ownership are shown explicitly.


Calendar event showing new time change notification every day

Finally, a solution.

Unfortunately the meeting organizer will have cancel and recreate the event to solve this problem. The problem is a result of the meeting organizer including themselves as an attendee which creates a sort of loop for meeting updates.

To solve, the organizer must create a new event that does not include themselves as an attendee. If the a distribution list is used, they must expand it and remove their name from the list.

Answer source.


What is the maximum WiFi speed of iPhone 6s?

All iPhone 6s models support 802.11a/b/g/n and ac Wi‑Fi with multiple input multiple output (MIMO).

The iPhone SE also supports 802.11a/b/g/n and ac Wi‑Fi (but without MIMO).

While you should get better speeds with the iPhone 6s, the reality is that there are many factors that can impact speed at any given point of time.

However, if my reading of your question is correct, I think it's based on a misunderstanding of what the ac router claiming a max speed of 1300 Mbps actually means. This 1.3Gbps (1300Mbps) figure can be highly misleading because it is a theoretical maximum. It translates to 166 megabytes per second (MBps) or about 1331 megabits per second (Mbps), which of course sounds fantastic, but these figures are never realised in real world scenarios.

Most 802.11ac routers will perform closer to a range of 250-300Mbit.

In terms of your devices, you'll find that the speed obtained by 802.11ac capable devices will differ considerably depending on how many antennas they can physically fit in. While the maximum supported by the 802.11ac standard is 8 antennas, most smartphones only have 1 antenna, most tablets will have between 2-4 antennas, and so on. Even 802.11ac routers will differ in terms of how many antennas they will incorporate.


iPhone iOS7 apps stay open in App Store after install

To remove from my updates page I merely went to Settings, under Date and Time and toggled off Set automatically and changed the date and time a few weeks ahead. You can change the settings back after checking your app page to see that they're gone. It works!


You're almost there. Wrap your first script in a while loop and you are set:

#!/bin/sh

while true; do
    read MSG
    echo $MSG
done

This is necessary to keep the process alive. Without the loop the script exits after the first line of input.

The exec approach works because you replace the current shell with /bin/cat. It is the same as calling /bin/cat directly.


Re-colorize iTunes/iPhoto sidebar icons?

There's an app called Lion Tweaks that can do what you want (at least with the Finder icons). There's also a Mountain Lion version.


Weather apps that report snow accumulation

Dark Sky shows expected accumulation... In my experience it is pretty inaccurate, but it tries. It has almost always forecasted more accumulation than actually accumulates. It is pretty accurate with its other predictions though.

The prediction engine that runs Dark Sky is available at http://forecast.io if you want to try it out for free. I can't remember for sure if it shows expected accumulation, but I think it does.


How do you set the maxopenfiles limit in Yosemite?

I created a /etc/sysctl.conf file with the following contents:

kern.maxfiles=100000

If I run sysctl kern.maxfiles after restarting it does show the new value there.


Not entirely sure if it fits the bill, but a great alternative App Store search app is AppShopper. It lets you do far more advanced searches and really helps pick up bargains and special offers too!


Spotlight search returns no results on iOS (intermittently)

I have this to they only resolution so far is either go old turn off and on again or reboot then seems to work again. Do you use other keyboards too? because I thought it was linked to this.


How to use `adb shell screenrecord --output-format=h264` together with VLC

Your command adb shell screenrecord --output-format=h264
is missing a - at the end.
It should be

adb shell screenrecord --output-format=h264 - | /Applications/vlc.app/Contents/MacOS/VLC -


The Final Cut Library Manager is a wonderful app that lets you selectively remove optimised and proxy media as well as render files, freeing space. These can be recreated if necessary from the original media and timeline.

The original media is still required if you wish to edit the footage in the future.


How to override the delay timer on a Keynote slide during a presentation

Try this:

shift+↓ during playback.

EDIT:

These are the Navigation keyboard shortcuts for use during presentation.


Is it possible to rename network interfaces in system preferences?

Rename them using the cogwheel at the bottom of the window.


How to ask siri about event length in calendar?

As far as I know (I am on iOS 9.0.2), Siri cannot explicitly tell you the duration of the event. For events that are longer than three (3) hours, it also does not provide the end time of the event. Siri also (mostly) cannot do things related to previous items requested if you do not refer to it clearly, which is why "how long does it take" or "how long is it" will confuse Siri.

You can only work out the duration of the event if they are or shorter than 3 hours as Siri will only show you the start and end time. Past 3 hours, you have to physically enter your calendar app to find out.


How to fix VirtualBox that can't open since Mountain Lion upgrade?

There should be no problems upgrading to the latest version of VirtualBox. You can just download and run the installer to upgrade, no additional uninstall steps are required.

You can also update automatically from the "VirtualBox" menu, by choosing "Check for Updates...". It should find a newer version, and prompt to download and install.


Replacing HDD with SSD; what about non-APFS/APFS?

No, you don't need to convert the HDD. I recently did exactly what you're doing (though I installed the new SSD myself, which meant not having to worry about erasing the HDD) and didn't have to do any conversion.

But, just to be on the safe side, it would be smart to not only make sure you have a Time Machine backup but also clone your HDD to a different drive than the one that has your Time Machine backup. That way if, for whatever reason, you have a problem with restoring from the Time Machine backup, you have a fall-back plan. Better safe than sorry. You can clone the internal HDD to a second drive using Apple's Disk Utility or something like Carbon Copy Cloner. Instructions are readily available.

The other thing I'd suggest is that instead of simply restoring everything from your Time Machine backup to the new SSD you do a clean installation of macOS onto the new drive and then just restore your files and data using Migration Assistant. That way you get the benefits of a fresh OS installation along with the benefits of your new SSD.


Time machine "Don't use" option on disk select

An excellent question. There may be a file on your backup drive called .com.apple.timemachine.donotpresent. Remove it, if it's there, and that should solve your problem. The file is invisible, so you'll have to use Terminal's rm to remove it.

However, with SMB, Time Machine doesn't support it natively, so you may have to run this command in Terminal for the drives to appear. Be sure to restart System Preferences.

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 && killall Finder


View the file names and directories of eBooks in iTunes

If your files are not in \iTunes Media\Books\ which is the default place to be when you tell iTunes to keep your media organized the they're in their original place.

How to know where that place is?

Go to books section in your library
Click the book you want
Get Info. You can right click or use your keyboard (control+I in Windows / command+I in Mac).
In the summary tab (first one loaded by default) you'll find a "Where" section at the bottom. with the path to the file.


How to package a command line software to an Application

Use Platypus to make the app and then add your resources.


The only REAL way to  recover the passcode is to factory reset your iPhone. There's no way to recover it and find the code unless you remember it. If you would like to confirm what I'm saying is true, I suggest contacting apple support.

But yeaaa... The only way is to do a factory reset on your iPhone and create a new passcode

Theres plenty of guides online on how to reset your phone!


Screen sharing - Remote screen off turns main display off

I believe that the answer to this is to use Remote Management instead of Screen Sharing.

Remote Management includes Screen Sharing, but when you disconnect it does not seem to turn off the screen, at least as of 10.11.3.

See also: How to stop display from turning off when I disconnect a Screen Sharing client.


OS X Yosemite Hard Disk Errors even after Repairing them

error 22 is the EINVAL in libc error codes. Maybe your glibc is corrupted? I think you can reinstall it from Xcode based on this question https://stackoverflow.com/questions/9353444/how-to-use-install-gcc-on-mac-os-x-10-8-xcode-4-4


Yes. At the login screen, login as >console with an admin password.

To get the user name field, open the Login Options in System Preferences and change the default login window display option:


Depends on what you mean by sync. Yes your comcast mail will not be synced to iCloud.
However you can read the comcast email on the IPad etc (assuming hat comcast is IMAP).

To set up the Comcast mail go to Settings->Mail then add accounts. Googolling for Comcast iphone email provides more help including this video.


You need to 'echo` your words into the files.

echo test >test.md
echo hello >hello.md
cat test.md hello.md >combined.md


Letters getting inserted randomly as I type. Has this ever happened to anyone?

Yes this happens due to several causes. USB hub issues (there are several internal “hubs” that can fail - liquid damage is a likely cause, but not the only one). Connecting faulty or failing usb and Bluetooth input peripherals is also a likely cause until you rule that out.

Lastly, software automation could be a far less likely cause. Booting a brand new OS on an external drive might be a good way to check for that rather than erasing and reinstalling your Mac.


Can Login Items be added via the command line in High Sierra?

macOS Catalina Update: While the information in this answer holds true as stated and tested in the versions of OS X/macOS listed below, it does not work in macOS Catalina 10.15.

I tested the following under macOS 10.14.6, macOS 10.13.1 and OS X 10.8.6.

In Terminal, using the following syntax:

osascript -e 'tell application "System Events" to make login item at end with properties {path:"/path/to/itemname", hidden:false}'

Note: If there are spaces in a path filename, do not escape the spaces with a backslash (\) when it is in quotes.

Tested with an application named EventScripts:

osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/EventScripts.app", hidden:false}'

It returned:

login item UNKNOWN

Which is apparently the normal output with this command and was verified by preforming the same action in Script Editor.

Then looking in System Preferences > Users & Groups > $USER > Login Items, EventScripts was added.

Notes:

In OS X 10.8.6 it updated the following file:

~/Library/Preferences/com.apple.loginitems.plist

In macOS 10.13.1[1] it updated the following file:

~/Library/Application Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm

Which, by the way, is also a plist file, but with a btm extension.

You can also delete a Login Item from Terminal using the following syntax:

osascript -e 'tell application "System Events" to delete login item "name"'

Where "name" in the command is as show in the output of the following command:

osascript -e 'tell application "System Events" to get the name of every login item'

[1] Update: The backgrounditems.btm file is still the target file since macOS 10.13.1 and later.


Conditional SUM() based on text of a cell using iWork

It would appear that SUMIF() does exactly this

 =SUMIF(test-range, “test”, [sum-range])


Open /Applications in Finder in list view and show the Last Opened column by right-clicking the column titles and adding the column. This will show the last time an app was opened, and sorting by that column will order by most recently used.


How can I change the text colour and font of the username and password in Lion login

Apple's ideology is mostly to not let the user tweak the design because, in many cases, the user may choose inferior fonts, colors, etc, and thus make Apple production look bad.

Instead of forcing design choices on user, as proudly does Linux and often does Windows, OS X contains settings that Apple considers “best” for everyone.

Of course, some people complain about certain decisions but it's much like MySpace vs Facebook. You can't change fonts and colors on a Facebook page, but frankly, imagine what a mess it would be if anyone could.

Presumably for this reasons, you can't customize how the text looks in input fields, including the login screen.


How should I use Two Step and/or Two Factor authentication with many Apple accounts?

Two-factor authentication

Macworld has a great tip on enabling two-factor authentication for an iTunes-only Apple ID (or any Apple ID not being used as the iCloud account on an iOS device):

Add a new user account on your (or a friend's) Mac.
In the new user account, log into iCloud with your iTunes-only Apple ID.
Enable two-factor authentication (iCloud preference pane > Account Details > Security tab).

It may be a bit cumbersome to switch to this Mac user account though, if you need to manage your Apple ID often.

Macworld also has some tips on using your trusted phone number(s) to receive verification codes when you don't have a trusted device nearby.

Two-step verification

It may no longer be visible in the Apple ID web management interface, but you can still enable two-step verification if you want:

From the Apple Support page for two-step verification, under the section How do I set up two-step verification?, click the link "Set up two-step verification now."; or
Click this link: https://appleid.apple.com/manage/security/2sv/enrollment


Macbook Pro won't connect to internet via Wi-Fi or ethernet

The first thing I would try is removing your Wi-Fi service, restarting your MBP, and then adding your Wi-Fi service back.

Follow these steps:

Go to Apple > System Preferences > Network
Select the Wi-Fi service on the left-hand side
Click on the cog icon at bottom-left and select Make Service Inactive
Now delete the service by clicking on the minus sign (i.e. the - button) at left of the cog
Click on the Apply button
Exit Network preferences
Restart your MBP
Go to Apple > System Preferences > Network
Click on the plus sign (i.e. the + button) at left of the cog
In the pop-up window, ensure that Wi-Fi is selected from the drop-down menu
Click on the Create button
Make sure Wi-Fi is on and connected (it should remember your previous settings, but if not just re-add your Wi-Fi network again)

If this doesn't work you can test to see what happens in Safe Mode.

Boot into Safe Mode

Fully shut down your MBP
Restart your MBP
Immediately press the Shift key and keep it down
Let go of the Shift key when you see the login window (NOTE: If you
have FileVault enabled you may need to log in twice).
Test to see what happens (i.e. try connecting to Wi-Fi)
Exit Safe Mode by restarting your MBP as normal
Test again to see what happens

Note: Booting into Safe Mode will take longer than usual.

If you're still having problems during Safe Mode, then try testing your hardware.

Run Apple Hardware Test

Your model MBP uses Apple Hardware Test. To use this, follow these steps:

Shut down your MacBook Pro
Restart your MacBook Pro
Press and hold the D key before the gray startup screen appears.
After a while, Apple Hardware Test (AHT) will start.
When prompted, select your language and click the right arrow.
When the AHT console appears, you can choose to run Basic tests by clicking the Test button. However, I suggest you select the "Perform extended testing" checkbox before you click the Test button.
Your test results will appear in the window in the bottom-right of the console.

Note 1: The extended test will take some time. Take a note of the results and report back.

Note 2: If pressing and holding the D key at Step 3 doesn't work, start again at Step 1 and, at Step 3 press and hold both the OptionD keys instead. This will try and run diagnostics from the internet instead, so you will need to allow more time for it to complete.

Run these Terminal commands

Let's confirm what macOS believes the status of your Wi-Fi service is. To do this:

Launch Terminal (usually found in Applications > Utilities)
Enter the following command:

sudo networksetup -listallnetworkservices
Press Enter
Enter your password (note you will not see the cursor move, nor the characters appear on the screen)

Now, in the list that appears I assume you will see an asterisk (*) next to the Wi-Fi service. This denotes that it is currently disabled. Assuming this is what happens, let's try enabling it as follows:

Make sure you're still in Terminal
Enter the following command:

networksetup -setnetworkserviceenabled Wi-Fi on
A popup will prompt you for your password - enter it and click on the Modify Configuration button
Now enter this command:

networksetup -setairportpower en0 on
Restart your Mac
Now check System Preferences > Network again

Let me know how you go.


Yes, I just did mine only with iPhone.

Back up new iPad Mini
then restore backup of old iPad
after backup complete
restore backup of new iPad Mini. Viola!


Why does MacBook Pro's fans' speed is different each other

Your fan speeds, among other things, are managed by the System Management Controller (SMC). Your MacBook Pro has a number of sensors distributed throughout to measure things such as temperature.

The SMC uses a range of info (such as temperature readings from sensors) to ensure that your fans operate at the optimal speed to protect your Mac from damage. The fact that one fan is spinning at a higher RPM than another is not a concern. The different fans can operate independently and are each aimed at cooling different aspects of your hardware.


What happens if I edit a duplicate Hosts file?

This is a poorly chosen vocabulary since in a MacOS X file system a duplicate is a serious error meaning that the file-system is deeply corrupted.

The correct term which should have been used here is the term of copy.

If you don't have permission to edit /private/etc/hosts then make a local copy as follows:

cp /private/etc/hosts ~/hosts

If you really need to edit the /private/etc/hosts, I advise you to make first a backup local copy as above. And once you have edited and thoroughly verified it,
put it back into place with sudo to get the admin priviledges:

/usr/bin/sudo cp ~/hosts /private/etc/hosts


Change what percentage/time remaining causes the battery icon on Mac to go red

...how I can, if possible, change the percentage of battery remaining
  that will cause the battery icon to turn red in the Menu Bar.

You can't.

It's not something that can be modified.

The battery icon changes to red when you have less than 15% charge remaining (macOS 10.8 and earlier).  It changes when there is less than 10 minutes remaining in Mavericks (10.9 and later).  See About Mac notebook batteries

You'd need a 3rd party app like Coconut Battery (Paid edition) so you can get notifications when your battery reaches a certain level.

(IMO) If you're going to pay for an app to tell you this, just buy a new battery and be done with it.


Spotlight and Alfred can't find Photo Booth

Your Spotlight index might be corrupted – Alfred uses the same index as Spotlight.

If Photo Booth is the only item missing, you can try dragging it out of /Applications (to your desktop, say), then back in. You’ll have to authenticate as an administrator both times; Spotlight should pick up on it after that, and so should Alfred (after a small delay). If that doesn’t help, or other items are not found either, you will have to re-build the Spotlight index, either by following Apple’s official procedure, or via the Terminal command sudo mdutil -E /.


Due to trying to get my local server up and running again, I installed and got working XAMPP, which then had a knock on effect of allowing MAMP Pro to display a decent error message (instead of continually working) and allow the options on the interface to be active again. MySQL was running but Apache couldn't launch. Also, although I could change the settings on the MAMP interface, none would save. looking at permissions and ownership, the app and files were owned by root (but not sure that had any refection on the issue).

@bassplayer7 gave me pointers to the uninstaller (something I didn't know existed), which due to permissions couldn't actually do anything. So I found these excellent instructions:
https://stackoverflow.com/questions/11855247/mamp-pro-restore-root-user-uninstall
Which cleaned it off completely.

I then did a system restart, re-installed MAMP Pro completely fresh, and it all worked first time. Albeit without any databases, hosts or settings.

You do have backups, right?


Disable the iTunes import finished sound

I found the answer here, and it worked for me on Windows 10.  Instructions copied just in case the website goes away:

Click Start then Control Panel
Type sound into the search box at the top of the Control Panel and press Enter
Click the Sound link from the Control Panel. The Sound properties window launches
Click the Sounds tab
Scroll down the list of available sounds in the iTunes section. There are two sounds associated with iTunes: Complete and Page Load Complete
Click the iTunes sound that you want to turn off
Select None from the drop-down box under Sounds. Click Apply
Repeat Steps 6 and 7 for each iTunes sound that you want to turn off


Default value for `NSGlobalDomain InitialKeyRepeat `?

The defaults for a freshly installed macOS Sierra 10.12.5 (16F73) are: InitialKeyRepeat = 25 and KeyRepeat = 6.

Please note that if running defaults read NSGlobalDomain KeyRepeat before changing the value (either by the GUI or the CLI), then you get an error like this:

  2017-07-04 14:19:02.131 defaults[29186:269276]  The domain/default pair of (kCFPreferencesAnyApplication, ApplePressAndHoldEnabled) does not exist

The step values that correspond to the sliders on the GUI are as follow (lower equals faster):

KeyRepeat: 120, 90, 60, 30, 12, 6, 2

InitialKeyRepeat: 120, 94, 68, 35, 25, 15


Install Keynote on a third generation ipad

You should see a message to download the latest version compatible with your iOS version. At least that's how Apple handled these things in the past.

This may be a temporary bug.

Some Apple apps got updated a few days ago. Previously these apps worked just fine with iOS 9.2 or higher.


Can I update my 4.0b iphone to 4.0.1, and not to 4.1?

You can go to this website and download the correct firmware file to your computer. From there, plug your iPhone into your computer and shift-click (Windows) or option-click (Mac) the "Restore" button. From there, choose the firmware file your downloaded.


Import multiple photos from Dropbox to iMovie?

If you have a PC/Mac and use iTunes, it would be a lot quicker to do this using the File Sharing feature for apps.

Here are the steps to do this, taken from the Apple iMovie help documentation at "iMovie Help for iPad: Import from iTunes":

  Connect your device to your computer, then open iTunes on your computer.
  In your iTunes library, select the device near the top of the iTunes window.
  Click the Apps button.
  Select iMovie in the Apps list below File Sharing (you may need to scroll to see it).
  Do one of the following:

  Drag the file you want to add to the iMovie Documents pane.
  Click Add below the iMovie Documents pane, and in the window that appears, navigate to the file you want to add.

  To copy the file to your device, select the file, then click Open.
  The file appears in the iMovie Documents pane when copying is complete.


Turn off iTunes Match on the iPhone and synch your playlists/songs via iTunes. After synchronisation turn iTunes Match back on. You will receive a warning message, but your synchroniszed songs will stay on the phone (you can easily verify that by checking the cloud icon, which should not be there).

The only important thing is, that the songs you've synchronize must be part of your iTunes Match library. Else they will vansih after re-enabling iTunes Match.

For me that works perfectly fine.


Installing 2 x 16Gb and 2 x 32Gb on an iMac 27"

In general, for any Mac that’s not core 2 duo, it is hard to benchmark any speed difference no matter how you choose to install ram. (Let alone see it in practice)
Apple publishes manuals for each specific Mac, so let’s see what if your hardware has any recommendations:

https://support.apple.com/manuals
https://support.apple.com/en-us/HT201191 (Memory specific info)
How should different sized RAM be added to iMac?

The 2019 model doesn’t say anything about order like the 2020 iMac does which says to add up the A channel and B channel and minimize the difference between the two.


iCal can't add event invitations to iCloud calendars

Apple discussion boards point to a name collision between calendar or reminder lists:

https://discussions.apple.com/thread/3384144

Try deleting or renaming the Reminder list on icloud.com (after backing up reminders)


Good resources for those transitioning to Mac OS X from Windows

Apple - Mac Basic Tutorials

Apple has made a lot of videos on how to get started and more indepth guides.

Among the tutorials there is a PC to Mac tutorial.


There's an app called fastboard that allows you to transfer multiple files to multiple iPads all at the same time.

Another solution might be to use Dropbox for iPad, create folders with the files you require and sync them with the right devices.

Yet another solution might be to FTP them across. There's a number of FTP clients available for the iPad.


If i deleted something from iPad notes how can I get it back?

If you have synced your notes with an iCloud account and your iPad is not connected to the internet you have a chance to access your notes at iCloud.com.
If your iCloud account is set with other devices like iPhone, Mac, and even Windows with iCloud application installed you have more chances to recover your note before connecting them to the internet.


I've run into the same problem and I too have narrowed it down to the "playlist is xxx" criteria.  Live updating works for every other criteria I have, but it doesn't like either a reference to alpha text or the reference to another playlist for some reason.  This seems to be a bug with iOS 8.4, because it worked fine for me before the update.  (I think it has more to do with the use of alpha text because I ran into the same problem when I tried to use "category is".)

I have figured a work around.  Not the ideal solution, but it works for me.

I took a field I never use, in my case BPM, and cleared it out for all songs in my library.
In standard playlist XXX, I entered "1" in the BPM field for all the songs in that playlist only.
Then in my smart playlist I add the criteria "BPM is 1".

This works.  It draws only from songs in the standard playlist XXX, and live updating works as it should on the phone.

The only thing I have to remember is to clear the BPM field when I delete a song from standard playlist XXX.

Hope that helps.  And I hope Apple fixes is this in their next update along with some other annoying smart playlist issues I've encountered.


Delete last word using Command + Backspace

Option-Delete        Delete the word to the left of the insertion point.

Have a look at the Document shortcuts section in: Mac keyboard shortcuts


Is there a dock available that can dock an iPhone (with bumper)

Amazon sells a dock from Oriongadget which will allow you to dock an iPhone with his bumper. It will cost you $23.00.


Time Machine makes a second copy of your data and operates above the Core Storage layer.

File Vault is simply Core Storage setting a scrambling / encryption of all data before it gets written and after it gets read from one or more physical drive(s).

Combined, you can have FV on your real data and not on your TM data. Or the opposite. Or both or none. It all depends how you set it up as nothing changes automatically and you have to manually choose / set-up File Vault for each volume/drive where you wish to have data protected.

In the case you propose (turning on FV on source data), this won't change the encryption on/off status for an existing Time Machine destination. The only way the backup data gets encrypted is if you enable that on the drive when prompted or by intention using Disk Utility.


How can I delete game data on iPhone 5? I want to start it over

You should just be able to delete the app and redownload it again, all game data should be deleted, then.


Create the application with Platypus instead:

The application window looks like this:


Set up flash drive with multiple OS X Installers

I have an external hard drive with several installers on it. All you need to do is make several partitions, each large enough for the disc you're imaging. (My drive has 10.4 Tiger PPC, 10.5 Leopard PPC, 10.5 Leopard Intel, and 1.6 Snow Leopard on it, and I have a Lion USB flash drive.)

I made the images using Disk Utility's Restore feature. Select the source disc (in the optical drive), choose the "Restore" tab, and make sure the selected disc is in the "Source:" field. Drag the intended destination partition to the "Destination:" field, hit the "Restore" button, and wait.

There are several caveats to keep in mind:

A FireWire disk is preferred to a USB disk, as not all Macs can boot (or boot easily) from USB.
Pay attention to the partition scheme on your hard drive: PowerPC Macs boot from Apple Partition Map and Intel Macs can boot from APM and GUID, so APM is preferred if you intend to repair PowerPC machines. You might want to have two drives, one for PPC and one for Intel Macs.

One good thing about having the installers on a drive is that hard drives are much faster than optical discs.


How to add the function to change the colour of a cell on numbers after a certain date has been passed

This is a good use for Conditional Highlighting.

Select the cells that contain your date values.
In the Inspector select the Cell tab
With all the cells still selected, click the Conditional Highlighting... button.
You will select Add a Rule...
Add rule Date is before... Date is before the date 1 days ago | Red Fill.
Add rule Date is after... Date is after the date 0 days from now | Green Fill.

Experiment with custom styles to get the look you want.  This could also be expanded with additional rules to fine tune.  For example changing the colour to Yellow if the warranty expires in the next 2 months.

For further information on how to use Conditional Formatting check out Apple's Support Documentation.


Regular crashes on iPhone 4S/iOS 6.1.1: due to old battery, or because of updated-for-iOS-7 apps?

I've had additional crashes since posting my original question, and having looked at the logs I've concluded that my battery is simply on its last legs :-)

I found a number of other people online having similar problems who also concluded it was the battery, which led me to ask "What causes iPhone low battery crashes?" (aforementioned other people linked there). A helpful answer there explained that as a battery nears the end of its life, it can exhibit voltage drops (even before being empty) which result in this sort of behaviour. The logs indicate that this is what's happening.

Looking at low battery logs from previous crashes, I've noticed they've sometimes happened while I've been using stock iOS 6.1.1 apps, which rules out my idea that some updated-for-iOS-7 apps aren't fully backwards compatible and are causing this.