The Find My Mac feature can be enabled and disabled in the iCloud settings (System Preferences → iCloud)

You cannot disable just the "erase" feature: the locate, lock and erase features must be managed as a single option.


MacOS 10.7 Lion window view disruptions and icon rearrangements

Snow Leopard had a funny way of arranging and organizing Finder views. But we got used to them; however, that doesn't mean they were even remotely intuitive. Lion builds on this confusing and awkward system, changing things up again.

You can see in the image above that there are now two separate options that pertain to the Finder view settings:

Always open in icon view
Browse in icon view

The first applies to the current directory (in this case my Downloads folder will always present my icons in Icon View, at a size of 48x48, etc.), while the second applies to all child (or sub-) folders. However, and this is what most people are stumbling over, the "Browse in ... view" is overridden by that folders "Always open in ... view."

Let's run through an example:

You have a folder called Downloads. And in that folder you have another folder called PDFs. You apply both of the above settings to Downloads folder. Now you open the PDFs folder and apple "Always open in list view." You close Finder and open a new window. Navigating to your Downloads folder, will show all its contents as icons, while navigating to the PDFs folder, will show a list view. So now you have the parent folder (Downloads) with both settings enabled, but when you open the child folder (PDFs), it opens in list view.

If you understand the behaviour, it makes sense, but if it's lost on you (trust me, it is on a lot of users as it is far from being an intuitive system), then you'd be scratching your head why both the options are checked, but PDFs opens in list view.


Media center app and remote control for mac mini?

What you need is the right front-end and that is:

Plex

Plex is probably the most Mac-like of all the media centers out there. Certainly it gets a lot of attention on the Mac and runs very well there. Not quite as open or feature rich as XMBC but it plays a quick game of catchup.

It will work with the Apple Remote IR remote control you can buy from the Apple Store. The button mappings are detailed in their wiki.

With Plex installed and running you can access all your media, navigate on a TV-friendly UI using your Apple Remote and use plugins like their Netflix plugin to access streaming content all from one slick interface.

You can download the Plex apps for your iOS and Andriod devices and use it to connect your mobile computers back to your Mac-located content and stream it over the air.


Is there a faster way to restart macOS Sierra into the bootcamp partition?

What I do.

Restart normally. When you hear the startup chime, press the option key. You will get a choice of OS, including BootCamp. Use the arrow key to select and press return.


Associating Protocol handler in Mac OS X

Protocol handlers are registered with OS X in application bundles (specifically, in the info.plist file in the bundle's Contents directory). This should be done by the application that supports it. In other words, you should be able to straight-up run the second command and have it open DEVONthink. Based on this page it sounds like that's how it works, but you say it doesn't, so there's a relatively easy way to do it for any program.

If not, or if you just want to register your own handler, here are some steps (modified from Launching External Applications using Custom Protocols under OSX).

Create an AppleScript file that contains the following.

on open location this_URL
    do shell script "open -a 'Applications/DEVONthink Pro.app' this_URL"
end open location

On the second line, you are defining what should happen when your protocol is called. this_URL will be the full URL entered (on the command line or elsewhere), including the protocol. In your case, you want to pass the whole URL including x-devonthink-item into DEVONthink. If you were creating your own protocol, you might only want to pass part of the string, so keep that in mind.

Save the AppleScript as an Application bundle. Once saved, find it on disk, right-click on it, and choose Show Package Contents. Inside the Contents folder there will be a file called info.plist. Open this in a text editor (not TextEdit, as it will almost certainly screw up the file format).

At the bottom of the file will be

</dict>
</plist>

Directly above this, add the following:

    <key>CFBundleIdentifier</key>
    <string>org.personal.dttrick</string>
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLName</key>
            <string>Pass To DEVONthink</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>x-devonthink-item</string>
            </array>
        </dict>
    </array>

Save and double-click on your app. Nothing should happen, and that's fine - but in the background, it's registered the protocol with the OS.

Finally, back in Terminal, run your desired command:

open "x-devonthink-item://2AD2E3D2-58B5-455F-99D4-C91D68C5F959"

DEVONthink should open with the specified item. I don't have DEVONthink and couldn't test it; I am relying on the command you originally provided as working. If not, you'll need to modify the shell script in the AppleScript to reflect what the actual command needs to be.


If it's a new wifi network, the only way to connect (not including any 3rd-party app) is to go thru Settings -> Wi-Fi.

If you're open to 3rd-party solutions, perhaps you can edit your question to add that?


How do I make an AppleScript with a drop-down menu without Xcode?

One option would be to use CocoaDialog**:

set l to {"aa", "bb", "cc"}
set choices to ""
repeat with x in l
    set choices to choices & quoted form of x & " "
end repeat
set dialog to paragraphs of (do shell script "/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog" & " standard-dropdown --title title --text text --items " & choices)
if item 1 of dialog is "2" then return -- pressed cancel button
item ((item 2 of dialog) + 1) of l

You could also just use choose from list:

choose from list {"aa", "bb", "cc"} with title "Title" with prompt "Please choose" default items "bb" with multiple selections allowed

** The original URL for this Github repo by mstratman has changed.  From research it seems CocoaDialog has transitioned to an org.  Here are the new changes:

URL
Github
Repo pertaining to the previous answer


Does Time Machine need the Spotlight index?

Maybe it changed ever since, but these days I think the given answer Nope is wrong.

Apple explained this by stating:

If you add a Time Machine backup disk to the privacy list, you will
continue to see messages that Spotlight is indexing your backup disk.
This indexing is necessary for Time Machine to function properly and
can’t be disabled. Spotlight does exclude from searches any items
you store on your backup disk that are not part of a Time Machine
backup.

I have just tried adding my TM backup drive to the exclusion list in Catalina 10.15.4 and it was refused stating that I cannot add a Timemachine Backup to the privacy list of spotlight. - Others have tried the same in Mojave 10.14.2, in Sierra and High Sierra, with the same result.

Again others have tried doing this more ingeniously in the command line, only to find that mdworker continued to access the backups making indexes.

Oddly, though, Apple has removed its earlier article(s) about this altogether, and there is no longer any official line as to whether it’s possible.


Setting anacron on Mac - Shell Scripting


Which microphone is used during FaceTime video call in iPhone SE?

After doing much research as I have similar problem on my daughters phone, it seems apps like WhatsApp when on speakerphone use the front top microphone where as FaceTime on speakerphone uses front bottom microphone. Easy check is to record a front face video and hear of sound is captured.


Keep the camera activated while using other apps during a video conference

No, it is unfortunately not possible in any other app or by changing settings in the iPad.
Apple has explicitly forbidden apps to record videos while they are in the background, and iOS prevents this from happening.
As Apple writes here for app developers:
"Camera usage is prohibited while in the background."


Which Mac mini with 3 USB controllers can be used for high bandwidth USB traffic?

It seems that those after 2009 (which reverted to 4 USB ports instead of 5), only have 2 buses. The 2009 models are likely the only models with 3 USB buses.

If you get one of the newer ones with Thunderbolt, it's possible to connect to a Thunderbolt Display which would add a third hub. I don't know of any devices off-hand that will give you just another USB hub via Thunderbolt, but if they're not out there already, they're bound to show up.


Change the default Icons OS X 10.4.11 Tiger

You should look at CandyBar software from the Icon Factory.

It supports 10.2!!! and later and does exactly what you ask. Free trial to be sure it does what you wish so you don't need to spend any money if it's not to your taste.

http://iconfactory.com/software/candybar


After some trying I come to the conclusion that a variable set to {day, month, year} of (current date) isn't a "string" with the form "day, month, year" but "daymonthyear".

So you may change the script to

set datesubmit to "27May2016"
set trydate to {day, month, year} of (current date)
log (datesubmit)
log (trydate)
if trydate as string is equal to datesubmit then
    log ("works!")
else
    log ("doesn't work!")
end if

which is not very elegant.

Alternatively you may choose:

set datesubmit to "Friday 27 May 2016"
set trydate to date string of (current date)
log (datesubmit)
log (trydate)
if trydate is equal to datesubmit then
    log ("works!")
else
    log ("doesn't work!")
end if

You always have to add the weekday in the first variable though.

The best proposal (made by the OP itself) is:

set datesubmit to "27, May, 2016"
set trydate to day of (current date) & ", " & month of (current date) & ", " & year of (current date) as string
log (datesubmit)
log (trydate)
if trydate is equal to datesubmit then
    log ("works!")
else
    log ("doesn't work!")
end if


My external monitor goes grayscale on the non moving parts of the screen (mid-2014 Macbook Pro Retina)

Turns out it's not a Mac thing -- it's a "feature" of the Acer monitor. In the monitor's menu, disable "Detect Video." Confused me for a bit, was glad to discover I'm not going crazy.


How do I get com.apple.servermgrd to use a non-self-signed SSL certificate?

Apple KB article HT3930 explains how to configure SSL for servermgrd, the Server Admin web interface.

It applies to Mac OS X Server 10.6 so until Apple updates this article part of the steps are confusing / obsolete.

Luckily, on Mountain Lion Server (10.8) servermgrd's certificate is stored in the same location as on Mac OS X Server Snow Leopard: in the System keychain of Aplications>Utilities>Keychain Access.

Here is what is needed on Mountain Lion (taken from the article)

  While logged into the OS X where Server is set up to run services, open Keychain Access.
  Select the System keychain.
  Double click the com.apple.servermgrd identity preference (credit: picture borrowed from here):

  Select your valid SSL certificate. You will have to import your SSL certificate first as explained in KB article PH7297.
  Authenticate as an administrator if prompted.
  As root, restart servermgrd for the changes in Keychain Access to take effect with this Terminal command:  sudo killall servermgrd
  (authenticate with your administrator password if prompted).


macOS partition startup Volume and Recovery Disk type FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF plus part of the disk corrupted?

Try the following commands.

gpt remove -i 2 /dev/disk1
gpt add -i 2 -b 409640 -s 397105928 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk1


I'd recommend you try the exciting new (and free) TurboBoost Switcher, which disables Intel's Turbo Boost. This means your MacBook Pro will overheat far less often. You can also boost fan speed preemptively with SMCMac or iStat menus.


What can I do to stop imessage from engaging on a certain contact without an iphone?

Nothing. If your friend hasn't deactivated iMessage before he sold/lost his iPhone, then Apple still thinks that he has an iPhone and is using iMessage.

He has to deactivate iMessage. Here is the Apple Support site for this.

  Bun in short: He has to contact Apple Support to do this.

Or, when he/she still has his/her iPhone, then go to Settings > Messages and switch off iMessage.


Is it possible to upload files to a website from Safari on iPhone?

As of iOS 6, Mobile Safari now supports file (image) uploads, from the Camera Roll, albums, and photostreams. Note that iOS 6 is only available for the iPhone 3GS and newer.


The CLion cross-platform IDE by JetBrains for C and C++ was recently announced. It is only available as an “early access program” build right now, but when it’s stable, I’m sure it will be good. (Warning: it will cost money.) You might choose CLion over Eclipse for the same reasons you might choose JetBrains’ IntelliJ IDEA over Eclipse when programming Java.


How can I control an app on my iOS device from Mac or PC

All iOS SDK apps work within a security sandbox, and thus have no access or control over any other apps (with a few tiny exceptions for registered URLs). You could take control of you own app, but no others, including Apple's, on a stock OS device.


Mac app for testing websites in android emulator quickly

You could try different ways of speeding up the Android emulator, such as running an x86 guest, and installing Intel HAXM.

If the graphics is slow, you can also try installing an "accelerated" emulator like GenyMotion, which seems to paravirtualize graphics APIs.


Those temps are most likely fine.
MBP models usually range from about 40ºC (104ºF) to 100ºC (212ºF) depending on whether the CPU is idle or under load. CPU temps (just like ambient temperatures) typically have a bearing on GPU temps too, especially within the extremely confined spaces of a MacBook Pro.
If you'd like, you can refer to the Intel Mac Temperature Database to see the various temperature ranges reported by users. You can also filter the list by model etc.
If you're still concerned, you can reset the System Management Controller (SMC).
The SMC is basically a chip in Intel-based Macs that manages many of the physical aspects of your Mac. This includes power buttons, LED indicators, cooling fans, how your Mac works in its various sleep modes, and so on.
Because the SMC is a sub-system of your Mac, it is not dependent on an operating system being installed.
You may be interested in reading Reset the System Management Controller (SMC) on your Mac for further info and instructions on how to reset it.


Will upgrading to 4GB RAM on a white MacBook work?

All white Macbooks can certainly be upgraded to 4 and -in some cases- 6GB of RAM.

Depending upon your model, you should check OWC's Memory Upgrades and go from there. I believe other vendors (Crucial, Newegg, etc.) will have similar pages with similar info (and similar prices). I've brought different memory upgrades from OWC and never had a single failure so far.

I have an old Macbook 4.1 White Core 2 Duo 2.4 and can go up to 6GB. So best thing to do is check your exact Macbook model and see what they offer.


You cannot undo an iPhone restore from backup unless you have another backup from before you did the restore. In this case you could then restore your iPhone again from the other backup to bring it back to the state it was in before the first restore you did.

Assuming this is not your situation, and assuming that all you're really after is to retrieve the photos that were stored on your iPhone before you did the restore, your only hope is that your photos were synced/uploaded with an online service.

Unless you've specifically signed up for a 3rd party service (e.g. Dropbox, Google, etc) then your only bet is that your photos synced with iCloud in some way. Your best bet in this scenario is that you had Photo Stream enabled (although, since you've also got a Mac, you may have also had other iCloud / Photos options enabled).

I encourage you to read the following Apple resources. They explain how you can access your photo stream from other devices (many do have it enabled without realising). Even if these don't help you recover what you're missing, they'll certainly help you prevent a similar situation in future:

My Photo Stream
About iCloud Photo Library and My Photo Stream
Get help with My Photo Stream
Get help with your iCloud Photo Library


You can fire up the /Applications/Utilities/Console.app and look over the logs as you are launching programs.

If the messages are not clear, you could either edit some details in the question or post a new question for each app / message that has you stumped as to a cause or solution.

Of course, you also might try some generic troubleshooting steps like rebooting, checking the apps with a new user, etc...


How do I reset the audio system when audio can't be heard anymore

Killing the coreaudiod process might work (it did for me). One way to restart it is to launch Activity Monitor, then View->All Processes, scrolling down to coreaudiod then clicking the big X button to force quit. It gets relaunched automatically.

Another option is at the command line:

sudo killall coreaudiod

After doing that and refreshing the Chrome tab - audio output works again on my macOS High Sierra 10.13.6. Source of idea.


How do I turn off "shuffle" on my iPod Nano 7th Generation?

Go into "settings", then "music" and change the shuffle setting from "on" to "off"


How do I increase the font size in Activity Monitor?

Activity Monitor does not provide any method of adjusting the font size.
You can provide feedback to Apple here:

http://www.apple.com/feedback/macosx.html


Cannot create home folders on the server for network accounts

It might be something with the authentication process of the clients. Open Directory needs to be running on the server (try to delete and rebuild it) and this server must be assigned as a directory server in the the clients account preferences. You might be able to check permissions by accessing the a home folder via CMD-K and the AFP:// URL from the Finder of any client. If you get read/write access then permissions should be okay.


Alternative ways to set a timer on macOS

This free and open-source Timer app seems pretty clean and simple.
It can be downloaded as the zipped file Timer.app.zip in the Assets list on the Releases · michaelvillar/timer-app page at GitHub.
It can also be installed using brew:
brew install --cask michaelvillar-timer


Bypassing AMD Radeon GPU of 27" iMac (mid 2011) for Target Display Mode purposes

Answers to your questions as asked are:

I've seen your model iMacs used in Target Display Mode regardless of the fact the GPU is playing up, so from that perspective you'll be fine.
N/A see 1 above.
Getting past the first two is the easier part, it's getting the iMac to go into TDM that's going to be your issue as you really need to at least have it booted up to the login screen.

For more general info on TDM refer to: Use your iMac as a display with Target Display Mode.


Command + Comma (,) on Safari opens Preferences, as shown here:

To remap it, go to System Preferences » Keyboard » Shortcuts » App Shortcuts… and click the + button:

Then set the app as "Safari" and "Preferences…" as the item you want to add a new keyboard shortcut for, like so:

I chose Command+Option+Control+P but you can choose whatever you want.
Once you click “Add” on that final window, you should be able to use Command+Comma elsewhere without interference.


would like to create memoirs by talking into computer and having software convert the speech into text into a document like MS Word

My Grandfather had a similar need, he hand wrote his memoirs on paper and then wanted to turn them into a self published book.

The best way to do this is to get someone who has good English skills and is fast at typing to do it.

Speech recognition software is not use-friendly for those who are not tech savvy, I wouldn't suggest it is an easy way for him to use a computer. They are also incredibly inaccurate.

I would argue at this point Google Voice and Apple's Dictation features have better recognition than the leading product on the market as they learn from their users over time where as most standalone products have limited data to work from.

However it's worth a try, for OS X you'll need Nuance's Dragon Dictate for Mac it works I've tried two versions but it's not great however. It is pretty pricey, and you'll need to get the headset, it won't work very well with a poor quality microphone or just a ambient mic on your Mac.

They also have an app on iTunes that is free, again it works okay, but not great.

The main issue with dictation is that you have to say all the punctuation and often words are misheard and that can in turn confuse it with the next few words, it's also very difficult to think of what you want to say in written language quickly enough.

In conclusion, I honestly wouldn't recommend voice recognition, especially if you are hoping to make it easier for him. I would suggest he uses an iPad and types it, or you sit with him and he dictates it. My Granddad had my Mum do this in the end, 3-4 months of weekly meet-ups he was very happy and they had a great excuse to spend time together.


Recreate an alias with the same name and timestamp programmatically

Create a Service with Automator — Tested on macOS Sierra

Open /Applications/Automator.app
File > New (cmd-N)

Choose a type of document: "Service".

Service receives selected: "files or folders" in "Finder".
In the left pane navigate to: Actions > Library > Utilities > Run AppleScript.

Drag the "Run AppleScript" item from the library pane on the left to the source code pane on the right.

Clear the prefilled content entirely. Paste in the following source code:

AppleScript Source Code

use framework "Foundation" -- Cocoa-AppleScript

on run {input, parameters}
    repeat with thisItem in input
        tell application "Finder"
            if kind of thisItem is "Alias" then -- alias file only
                set parentPath to container of thisItem -- get the folder of this alias
                set {label index:l, comment:c, modification date:m, creation date:cr, original item:origPath, name:n} to properties of (item thisItem)
                if origPath is not missing value then -- not a breaking alias
                    set tagsList to (my tagsFor:(POSIX path of thisItem)) -- get the tags of the alias file (call an AppleScriptObjC handler)
                    delete thisItem -- move this alias to the trash

                    -- ** create an alias file **
                    set newAliasFile to make new alias at parentPath to origPath with properties {comment:c, creation date:cr, original item:origPath, name:n}
                    -- ** set the label ** (0 = no label)
                    if l is not 0 then set label index of newAliasFile to l
                    -- ** set  the tags ** ({} = no tag)
                    if tagsList is not {} then (my setTags:tagsList forPath:(POSIX path of (newAliasFile as string))) -- call an AppleScriptObjC handler
                    -- ** change the modification date **
                    set modification date of newAliasFile to m
                end if
            end if
        end tell
    end repeat
end run

on tagsFor:posixPath -- Cocoa-AppleScript handler
    set fileURL to current application's |NSURL|'s fileURLWithPath:posixPath
    set {theResult, theTags} to fileURL's getResourceValue:(reference) forKey:(current application's NSURLTagNamesKey) |error|:(missing value)
    if theTags = missing value then return {} -- no tags
    return theTags as list
end tagsFor:

on setTags:tagList forPath:posixPath -- Cocoa-AppleScript handler
    set fileURL to current application's |NSURL|'s fileURLWithPath:posixPath
    fileURL's setResourceValue:tagList forKey:(current application's NSURLTagNamesKey) |error|:(missing value)
end setTags:forPath:

File > Save (cmd-S): Give it a name like "Alias recreation".
Open System Preferences > Keyboard > Shortcuts > Services > Files and folders > Alias recreation, or however else you named it.

Assign it a shortcut. As cmd-L is used to create an alias (L as in "link"), I assigned it cmd-alt-ctrl-L.

Select one or multiple legacy alias files, and process them.

With your shortcut cmd-alt-ctrl-L.
or through the main menu: Finder > Services > Files and folders > Alias recreation.

Note: The batch process is very transparent and mistakes can be corrected. The deleted aliases are moved to your Trash bin. Should you have made a mistake choose the trashed alias file in question and run Finder > Put back (cmd-backspace). This will put the file back in its previous parent folder and open the parent folder in a new window. Then you have the recreated alias and the original alias with the suffix " copy" side by side and can make corrections if necessary.


Maximum number of Full HD 1920x1080 displays supported on Macbook Pro 15" 2016 and later?

The technical specifications page on Apple's website provides this information.  For the 2016 MacBook Pro:

Video Support

  Simultaneously supports full native resolution on the built-in display
  at millions of colors and:

  Up to two displays with 5120-by-2880 resolution at 60Hz at over a billion colors
  Up to four displays with 4096-by-2304 resolution at 60Hz at over a billion colors

  The Macbook Pro runs with an AMD Radeon processors most of which have
  the Eyefinite Technology which gives you up to 6 displays.

Just because a chip is capable of doing something, doesn't mean it was enabled by Apple.  Case in point - daisy chaining.  The DisplayPort spec 1.2 calls for daisy chaining monitors, but as you have found out, it isn't supported.

As for later Macs, you would need to check the specifications for each one individually


How to change folder access if it says "You have unknown access"?

I have encountered this problem before, on the Downloads folder, and on other folders. Removing the directory and it's contents, and recreating the directory worked for me.

The commands below are to be entered in the Terminal

Copy content before deleting:

mkdir ~/Temp
sudo cp -R  ~/Downloads ~/Temp/
sudo chmod -R 755  ~/Temp

To remove your damaged Downloads folder:

rm -rf ~/Downloads, or if that doesn't work, sudo rm -rf ~/Downloads

To recreate a new empty one after removal:

mkdir ~/Downloads; chown $USER ~/Downloads


Drained battery iPhone 5G, about 40-50 cycles only spent, iPhone can't turn on

As mentioned in comments, first check the cable is good.

After that, analysis isn't easy without the right tools.

Your potential fail-points are

The battery's bad
The phone's bad, or
The installation wasn't done properly.


how dangerous is it to give zsh full disk access?

There’s no inherent danger per se with respect to ZSH; it’s only a shell.
What is “dangerous” is what you run in the shell.   Most users don’t use the shell so securing it gives a nice level of extra security so when they inadvertently download nefarious apps from the Internet, they will have the protection that the shell doesn’t have full disk access.
Is it overkill?  In my opinion, no.  If you run scripts like this backup script, you’re going to want access to more than just one or two directories (which you can do, by the way); you’ll want access to the whole disk.


where is "SERVER.APP" in Snow Leopard OSX server?

"Server.app" does not exist in Mac OS X Snow Leopard Server as the server aspects of the OS are integrated into the OS itself, as in everything came preinstalled. Below you'll see a screen shot of the Applications folder, with the Server folder selected and there is no "Server.app".
In Terminal using the following command, it did not find  "Server.app":
find / -iname '*server*'

It found a lot of things with "server" in its name but none explicitly "Server.app".
That said, the current macOS Server available from the App Store contains "Server.app", per its tech specs page macOS Server Tech Specs, under What’s Included in macOS Server it shows:

Server app


I found the answer to my charging problem in another question:

https://apple.stackexchange.com/a/301722/41731

Please make sure to upvote the answer I linked.

Short version: yank the cord forcefully and horizontally out of the notebook. Repeat it a couple of times, until the orange light starts and it starts charging. Visit the link for more information.

For reference, this is what my pins look like after the yanking (sorry, don't have a before foto):

The second pin from the right maybe looks kind of intended still, it could be the ground pin, but I don't actually know.


Asign unallocated free space on external volume to (new) partition OSX

The procedure posted in this answer relies on the use of the command gdisk. The command is not included with macOS. Included is the procedure for installing this command.

  Note: Disk identifiers (disk2 for example) and partition identifiers (disk2s1 for example) can be set arbitrarily by macOS. I tried to post the correct identifiers. Before executing a command, you may want to review the output from diskutil list to insure the correct identifier is being used.

Install gdisk

Download gdisk from the internet. I assume this will be downloaded to your Downloads folder.
Execute the command given below to remove the quarantine.

xattr -d com.apple.quarantine ~/Downloads/gdisk-1.0.4.pkg

Use the Finder application to install gdisk.

Convert a MBR Partition Table to a GUID Partition Table (GPT).

  Note: Not all drives using a MBR Partition Table can be converted to use a GUID Partition Table (GPT). The drive posted in the OP's question happens a drive that can be  easily converted.

Use command given below to determine the identifier for the drive. I will assume this is disk2, as shown in your question.

diskutil list

Execute the following commands to perform the conversion.

diskutil unmountdisk disk2
gdisk /dev/disk2
w
y

Below is an example.

$ diskutil unmountdisk disk2
Unmount of all volumes on disk2 was successful
$ gdisk /dev/disk2
GPT fdisk (gdisk) version 1.0.4

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present

***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk2.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

Eject the drive by executing the command given below.

diskutil eject disk2

Unplug the drive and plug back in. Execute the command below to see if the drive identifier has changed.

diskutil list

Add an EFI Partition

  Note: The defaults shown in the examples may not match what you will see.

Create the partition. Selecting a partition type of Linux prevents the partition from mounting before being formatted.

diskutil unmountdisk disk2
gdisk /dev/disk2
s
n
3
40
409639
8300
s
w
y

Below is an example.

$ diskutil unmountdisk disk2
Unmount of all volumes on disk2 was successful
$ gdisk /dev/disk2
GPT fdisk (gdisk) version 1.0.4

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): s
You may need to edit /etc/fstab and/or your boot loader configuration!

Command (? for help): n
Partition number (2-128, default 2): 3
First sector (34-3906250006, default = 40) or {+-}size{KMGTP}: 40
Last sector (40-409639, default = 409639) or {+-}size{KMGTP}: 409639
Current type is 'Apple HFS/HFS+'
Hex code or GUID (L to show codes, Enter = AF00): 8300
Changed type of partition to 'Linux filesystem'

Command (? for help): s
You may need to edit /etc/fstab and/or your boot loader configuration!

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk2.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

Eject the drive by executing the command given below.

diskutil eject disk2

Unplug the drive and plug back in. Execute the command below to see if the drive identifier has changed.

diskutil list

FAT32 format the partition.

newfs_msdos -F 32 -v EFI /dev/rdisk2s1

Below is an example.

$ newfs_msdos -F 32 -v EFI /dev/rdisk2s1
512 bytes per physical sector
/dev/rdisk2s1: 403266 sectors in 403266 FAT32 clusters (512 bytes/cluster)
bps=512 spc=1 res=32 nft=2 mid=0xf8 spt=32 hds=32 hid=40 drv=0x80 bsec=409600 bspf=3151 rdcl=2 infs=1 bkbs=6

Change the partition type to EFI.

diskutil unmountdisk disk2
gdisk /dev/disk2
t
1
EF00
w
y

Below is an example.

$ diskutil unmountdisk disk2
Unmount of all volumes on disk2 was successful
$ gdisk /dev/disk2
GPT fdisk (gdisk) version 1.0.4

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): t
Partition number (1-2): 1
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = AF00): EF00
Changed type of partition to 'EFI System'

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk2.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

Add a New Mac OS Extended (Journaled) Volume

The free space before the original two volumes can not be added to either of these volumes. To reclaim this space, one or more new volumes need to be created. The procedure below creates one new volume.

Create the partition. Selecting a partition type of Linux prevents the partition from mounting before being formatted.

diskutil unmountdisk disk2
gdisk /dev/disk2
n
4
409640
69999999
8300
s
w
y

Below is an example.

$ diskutil unmountdisk disk2
Unmount of all volumes on disk2 was successful
$ gdisk /dev/disk2
GPT fdisk (gdisk) version 1.0.4

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): n
Partition number (2-128, default 2): 4
First sector (34-3906250006, default = 409640) or {+-}size{KMGTP}: 409640
Last sector (409640-3906250006, default = 3906250006) or {+-}size{KMGTP}: 69999999
Current type is 'Apple HFS/HFS+'
Hex code or GUID (L to show codes, Enter = AF00): 8300
Changed type of partition to 'Linux filesystem'

Command (? for help): s
You may need to edit /etc/fstab and/or your boot loader configuration!

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk2.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

Eject the drive by executing the command given below.

diskutil eject disk2

Unplug the drive and plug back in. Execute the command below to see if the drive identifier has changed.

diskutil list

Format the partition Mac OS Extended (Journaled). This will also change the partition type to the correct value.

diskutil erasevolume jhfs+ Name3 disk2s2

Below is an example.

$ diskutil erasevolume jhfs+ Name3 disk2s2
Started erase on disk2s2 My2TB
Unmounting disk
Erasing
Initialized /dev/rdisk2s2 as a 33 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished erase on disk2s2 Name3

Reclaim the Remaining Free Space

Add the remaining free space to the existing Volumes. Any free space that is remaining after entering these commands should be fairly small and is required to be reserved for use by macOS.

    diskutil resizevolume disk2s2 R
    diskutil resizevolume disk2s3 R
    diskutil resizevolume disk2s4 R

Below is an example.

    $ diskutil resizevolume disk2s2 R
    Unable to find disk for disk2s2
    $ diskutil resizevolume disk2s2 R
    Resizing to full size (fit to fill)
    Started partitioning on disk2s2 Name3
    Verifying the disk
    Verifying file system
    Volume was successfully unmounted
    Performing fsck_hfs -fn -x /dev/rdisk2s2
    Checking Journaled HFS Plus volume
    Checking extents overflow file
    Checking catalog file
    Checking multi-linked files
    Checking catalog hierarchy
    Checking extended attributes file
    Checking volume bitmap
    Checking volume information
    The volume Name3 appears to be OK
    File system check exit code is 0
    Restoring the original state found as mounted
    Resizing
    Modifying partition map
    Growing file system
    Finished partitioning on disk2s2 Name3
    /dev/disk2 (external, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *2.0 TB     disk2
       1:                        EFI EFI                     209.7 MB   disk2s1
       2:                  Apple_HFS Name3                   199.8 GB   disk2s2
       3:                  Apple_HFS Name1                   200.2 GB   disk2s3
       4:                  Apple_HFS Name2                   200.2 GB   disk2s4
    $ diskutil resizevolume disk2s3 R
    Resizing to full size (fit to fill)
    Started partitioning on disk2s3 Name1
    Verifying the disk
    Verifying file system
    Volume was successfully unmounted
    Performing fsck_hfs -fn -x /dev/rdisk2s3
    Checking Journaled HFS Plus volume
    Checking extents overflow file
    Checking catalog file
    Checking multi-linked files
    Checking catalog hierarchy
    Checking extended attributes file
    Checking volume bitmap
    Checking volume information
    The volume Name1 appears to be OK
    File system check exit code is 0
    Restoring the original state found as mounted
    Resizing
    Modifying partition map
    Growing file system
    Finished partitioning on disk2s3 Name1
    /dev/disk2 (external, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *2.0 TB     disk2
       1:                        EFI EFI                     209.7 MB   disk2s1
       2:                  Apple_HFS Name3                   199.8 GB   disk2s2
       3:                  Apple_HFS Name1                   1.2 TB     disk2s3
       4:                  Apple_HFS Name2                   200.2 GB   disk2s4
    $ diskutil resizevolume disk2s4 R
    Resizing to full size (fit to fill)
    Started partitioning on disk2s4 Name2
    Verifying the disk
    Verifying file system
    Volume was successfully unmounted
    Performing fsck_hfs -fn -x /dev/rdisk2s4
    Checking Journaled HFS Plus volume
    Checking extents overflow file
    Checking catalog file
    Checking multi-linked files
    Checking catalog hierarchy
    Checking extended attributes file
    Checking volume bitmap
    Checking volume information
    The volume Name2 appears to be OK
    File system check exit code is 0
    Restoring the original state found as mounted
    Resizing
    Modifying partition map
    Growing file system
    Finished partitioning on disk2s4 Name2
    /dev/disk2 (external, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *2.0 TB     disk2
       1:                        EFI EFI                     209.7 MB   disk2s1
       2:                  Apple_HFS Name3                   199.8 GB   disk2s2
       3:                  Apple_HFS Name1                   1.2 TB     disk2s3
       4:                  Apple_HFS Name2                   598.6 GB   disk2s4

Appendix

Descriptions for the gdisk commands is given below.

b   back up GPT data to a file
c   change a partition's name
d   delete a partition
i   show detailed information on a partition
l   list known partition types
n   add a new partition
o   create a new empty GUID partition table (GPT)
p   print the partition table
q   quit without saving changes
r   recovery and transformation options (experts only)
s   sort partitions
t   change a partition's type code
v   verify disk
w   write table to disk and exit
x   extra functionality (experts only)
?   print this menu


How can I loop through the results of an AppleScript to find the variables that have a boolean value of 1?

AppleScript records are a poorly implemented construct, appearing to emulate what is referred to in some languages as an associative array, but doing a half-arsed job of it.

What are referred to as properties in a record, i.e. cat, cat4, etc. in your case, aren't things that can be referenced indirectly, therefore it isn't possible to read them as values and store them in a variable through which you could access the record item associated with that property.

In other words, one cannot do any of these:

set R to {cat:"1", cat4:"0", cat2:"1", cat3:"0"}

set item_name to cat  # Error: the variable cat is not defined
return item_name of R

set item_name to "cat"
return item_name of R # Error: can't get item_name of {cat:"1", ...}

set item_name to a reference to cat
return item_name of R # [ As above ]

You can, of course, do this:

set item_value to cat of R

but that requires you already hold an awareness of the property name "cat".

The simplest way to get around this problem is to cast the AppleScript record into a different data type of another language that gives you full access to the associative relationship between the paired entries.

Your two options are Objective-C , and JavaScript:

AppleScript-ObjC

AppleScript records bridge to what Objective-C and many other languages refer to as dictionaries, which are—for all intents and purposes to us—the same as associative arrays (they differ under the hood in how data is stored and accessed, but this makes little difference to us).

We need to transform the AppleScript record into an Objective-C NSDictionary class object, then we can search through its keys (what was referred to above as properties) and values indiscriminately:

use framework "Foundation"

property this : a reference to the current application
property NSDictionary : a reference to NSDictionary of this

set R to {cat:"1", cat4:"0", cat2:"1", cat3:"0"} # Swap in the return value of your script

set D to NSDictionary's dictionaryWithDictionary:R
return (D's allKeysForObject:"1") as list
    --> {"cat", "cat2"}

If you want to stick this in a function to use to search for some arbitrary value in some arbitrary record, then:

on keys from R as record given data:V : missing value
    local R, V

    script
        use framework "Foundation"
        property this : a reference to current application
        property nil : a reference to missing value
        property dict : a reference to NSDictionary of this

        property object : R
        property value : V

        on fn()
            tell (dict's dictionaryWithDictionary:object)
                if value = nil then return ¬
                    allKeys() as list
                allKeysForObject_(value) as list
            end tell
        end fn
    end script

    result's fn()
end keys

Then:

return the keys from {cat:"1", cat4:"0", cat2:"1", cat3:"0"}

will return {"cat", "cat4", "cat2", "cat3" }, i.e. all the keys, and

return the keys from {cat:"1", cat4:"0", cat2:"1", cat3:"0"} given data:"0"

will return only the ones who are associated with the value "0".


Where is the cron log file in MacOSX Lion?

By default, cron does not log output of executed jobs. It is possible to log the fact that cronjobs have been executed, but that is not the default on OS X either.

In order to investigate cronjob execution output, I suggest modifying your cronjob line to redirect STDOUT and STDERR to logfiles. In your crontab file or after running crontab -e, however you go about it, add something like the following to your job line:

0 0 * * * yourcommand >/tmp/stdout.log 2>/tmp/stderr.log

Doing this should send STDOUT (normally printed or echo'ed output to STDOUT) to a text file named stdout.log in the /tmp directory, and STDERR to stderr.log in the temp directory. Many utilities use STDERR to print special error messages out when they're application errors, and not errors generated by the program's actual execution. (You can read more about STDERR on Wikipedia.)


Disabling Java / Enabling it only on a case by case basis

Disabling the Java plugin can be done on a browser-by-browser basis:
https://java.com/en/download/help/enable_browser.xml

As macOS 10.10.5 does NOT ship with java installed, an Oracle install must have been done, you can un-install it using their docs:
https://www.java.com/en/download/help/mac_uninstall_java.xml

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Java


Editing/removing hostfile on jailed iPhone

The hosts file is located at /private/etc/hosts which cannot be accessed on a non-jailbroken iOS device. There is simply no way to do it. More information on why this is and what occurs during the jailbreak process can be found on my answer on Can you apply jailbreak tweaks to a non-jailbroken device?


Thunderbolt 3 dock disconnects when MacBook sleeps

Given that the computer sleep seems to be the problem, I turned off the "Power Nap", and it seems to be working for me now.

System Preferences > Energy Saver
Power Adapter tab
Uncheck "Enable Power Nap while plugged into a power adapter

This seems to be preventing the computer from sleeping and my external monitor has been fine. Note that I still turn off the display after 10 minutes, so I don't think this is harmful to the computer.

Of course, this setup is only when plugged in, which is the only time I care about the external monitor.


My girlfriend dropped her iPhone 4 in a glass of coke (it submerged completely). Afterwards, she experienced the same symptoms as you. To fix it, she put the phone in a bowl of rice, and took a blow dryer to it once or twice a day. I believe she also got some electrical contact cleaner and cleaned the connection on the bottom that you plug the USB cable into.

It took about a week, but the phone worked perfectly afterwards (and has been working perfectly ever since).


CTRL + CMD + SPACE brings up Characters window instead of Emoji window

I think you just need to Collapse the Character Viewer by clicking the button next to the search field.

http://support.apple.com/kb/PH13867


What are the software for translation on Mac?

If you are asking about professional translation tools (rather than machine transation sites), there is a useful survey that includes some for Mac at

http://en.wikipedia.org/wiki/Computer-assisted_translation

Also can ask on the list devoted to Mac pro translators

https://groups.yahoo.com/neo/groups/MacLingua/info

(Relying on machine translation inevitably involves substantial risks of potentially embarassing errors, I recommend that the results should always be edited by a pro or native speaker)


What is the process name of Time Machine timeline

To view process,  in Terminal:top -o cpuTop will list all your current processes and organizing by CPU load makes it a breeze to find the desired PID


How do I extract a large voice memo file off my iPhone and into my mac

Dock your iPhone via USB.
Open itunes.
Click the name of your iPhone under Devices in the left column.
Click the Music tab.
Click the checkbox for Include voice memos.
Sync your device.
Your files will appear under a new Voice Memos playlist in iTunes


Is there any solution to remove the macOS App - Prepare for Submission?

It's not possible to remove a version of your app in Prepare for Submission state.
You can provide feedback to Apple at feedbackassistant.apple.com.


If I backup my iPhone will all the information on my phone be deleted?

No.  A backup only copies the information to a remote location. The original information on your phone will remain. The backup preserves the information, should the information on your iPhone become damaged. It also makes it easier to transfer this information to another iPhone.

If you backup your iPhone to a computer (connected via the USB cable) using iTunes and check the box next to "Encrypt Backup", you will also backup all of your saved passwords.


Going from sub/superscript to regular baseline with keyboard shortcut in Keynote

Pressing ⌃⌘+ or ⌃⌘- again seems to remove superscript or subscript in Keynote '09.

Other applications like TextEdit raise or lower the text multiple times though.

You could give custom shortcuts to nested menu items on 10.7, but it stopped working on 10.8.

Another option would be to create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict, but it doesn't seem to work in iWork applications.

{
    "^@=" = unscript:;
}

You could also assing a shortcut to a script like this:

try
    tell application "System Events" to tell (process 1 where it is frontmost)
        click menu item "Use Default" of menu 1 of menu item "Baseline" of menu 1 of menu item "Font" of menu "Format" of menu bar 1
    end tell
end try


Does OS X continue to copy files when my laptop goes to sleep?

There are various modes of sleep a Mac can go into. At this point your question only describes the fact your laptop screen goes to sleep, but this is different from your computer actually going to sleep.

Regardless of your settings and assuming your MacBook Pro has a continuous power source, then a system event such as copying a large amount of data will continue to occur even if various parts of your Mac go to sleep.1 This is because if your Mac is in the middle of an action such as copying files, it will not go entirely into sleep mode (e.g. your display may go to sleep, but your drives are still fully powered up for read/write purposes).

In terms of the speed at which data is transferred, this can be affected by a number of factors, but in your scenario the transfer rate should not be impacted.

Of course, if you're copying a large amount of data, it is recommended you have your MacBook Pro plugged into an AC power source.

For more information on your Mac's sleep capabilities, you may want to refer to the following content:

Use the Energy Saver settings on your Mac
macOS Sierra: Optimize energy settings for portable computers
About Wake on Demand and Bonjour Sleep Proxy

1 This answer assumes we're talking about a Mac scheduled to go to sleep as a result of its Energy Saver settings, and not because it's been manually put to sleep by the user (e.g. by closing the lid, etc).


How to delete /var/run/com.cyberghostsrl.CyberghostPrivilegedHelper.socket?

The "file" (the name suggests it's actually a socket) is probably getting recreated by cyberghost every time the computer starts up. If you want to get rid of it, you need to completely remove cyberghost. I'm not familiar with cyberghost, but it may install some files besides the app itself, that you'll have to track down and remove.

There are some uninstall guides online that're fairly generic, but should give you the info you need to find & remove the relevant files. One thing that might be missing from a generic guide is removing launch daemons and agents: You'll need to look for related files in the folders /Library/LaunchDaemons, /Library/LaunchAgents, and (inside your home folder) ~/Library/LaunchAgents.


Why does the Terminal app need access to Contacts?

It doesn’t need access - say no to the request.

Unless you want some program that runs inside terminal to look at your user data, just decline these requests.

This is covered in the security part Data protections - https://www.apple.com/macos/catalina/features/ - you are seeing the ask to allow looking into that data store / folder.


nsurlsessiond can be called by so many different things in different cases. You can monitor what's being downloaded using (requires SIP disabled):

sudo fs_usage -w | grep nsurlsessiond


Running an app off an external hard drive

Running is not a problem, but the program might (and, like many others, will) put several folders to ~/Library (hidden) folder - Logs, Cache, Container/Group Container. The size might be significant.


If the Mac doesn't "see" the windows file server, you can always use the "full name" or IP address of that server, starting the address name by "smb://" in the "Connect" dialog (Cmd + K in the Finder) :

See this Apple Note for more details.


Absolutely nothing other than swindle people out of their money. Don't ask me why Apple approved it. iOS and OS X manage memory as required. A lot of FUD out there claiming it's poor at it. No evidence to support those claims. No facts ever presented. No one with a modicum of experience or education in the field has ever come up (that I've seen) and accredited the claims. Snake oil.

You want to improve performance? Buy a better device. Only better hardware can equate to better performance. You can of course optimize a system, but this doesn't do that, it only shifts available memory.

Here's a breakdown of how to understand memory management in OS X (courtesy of Apple):

  Free memory

  This is RAM that's not being used.

  Wired memory

  Information in this memory can't be moved to the hard disk, so it must
  stay in RAM. The amount of Wired memory depends on the applications
  you are using.

  Active memory

  This information is currently in memory, and has been recently used.

  Inactive memory

  This information in memory is not actively being used, but was
  recently used.

  For example, if you've been using Mail and then quit it, the RAM that
  Mail was using is marked as Inactive memory. This Inactive memory is
  available for use by another application, just like Free memory.
  However, if you open Mail before its Inactive memory is used by a
  different application, Mail will open quicker because its Inactive
  memory is converted to Active memory, instead of loading Mail from
  the slower hard disk.

Now even with rudimentary understanding of memory management in Apple's OS, tell me if you think "freeing up" Inactive memory is of any use? It is available to any application that requests it and if the same application wants to grab a hold of it again, it gets a speed boost. It's of course not this simple, but razing Inactive memory and moving it to Free memory results in no increase in performance. After all, how could it? A good system should hoard all your memory and allocate it to things that need it. Free memory is wasted memory as it's, by definition, not being used. If you have 8 GB of RAM and keep 4 GB free at all times, then you have a system running 4 GB.

Inactive memory in OS X is allocated intelligently. I'll change my tune when I see valid and reliable data that claims otherwise. And honestly, if nothing else, do you think some third party app has found the holy grail of memory management that has eluded Apple's world class engineers all this time (not to mention the thousands of contributing open-source UNIX programmers)? Like I said, snake oil.


New "Local Items" Keychain in macOS 10.9+: What's it all about?

If you mean the keychain that is called Local Items in the U.S. English locale, I think it is used for keychain items that are eligible to be synced with iCloud Keychain.

From http://arstechnica.com/apple/2013/10/os-x-10-9/5/:

  If the iCloud Keychain is subsequently disabled, the iCloud keychain highlighted in the screenshot above is replaced with a "Local Items" keychain that has the same contents as the iCloud keychain. Any items added to the Local Items keychain will be pushed out to other devices when iCloud Keychain is re-enabled.

I have never enabled iCloud Keychain, but I also have a Local Items keychain. It contains about half of the keychain items from my login keychain, or mostly web form passwords. The Local Items keychain does not seem to correspond to any file and it cannot be deleted.


Some problems after installing Windows 10 on iMac

Sounds like you have a driver issue. I suggest reinstalling Bootcamp from Apple's website.

If you aren't currently in the Windows 10 partition, restart the computer and navigate into Windows 10.
Download this from Apple's website (https://support.apple.com/kb/DL1638?viewlocale=en_US&locale=en_US)

  This download is specific to your 2011 iMac but you can easily find
  downloads for other macs by navigating to support.apple.com/downloads
  and searching for "bootcamp". To determine if a bootcamp package is compatible, look under the "system requirements" link.

Extract the zip file to your directory of choice.
Navigate to BootCamp5.0.5033\BootCamp\setup.exe and run the setup.exe file
Close all other programs while this runs.
After the installer completes, restart the computer and reenter Windows 10
To ensure the latest drivers and software, run Apple Software update from within Windows 10.

Hope this helps you. Let me know what happens.


VNC style screen sharing is not really designed for use over the internet. The protocols are slow and require lots of bandwidth, plus dynamic ip allocation from ISPs can break it if you're not using a ddns service.

For this purpose you are much better of using some software other than the built in stuff. There are good commercial ones for $$, but also free options that do the job just as well.

I personally use NoMachine, which works across macOS, Windows, Linux and has mobile apps.

I have also previously used TeamViewer with good success.

For your use case, both of these options will be free, should be fairly reliable and will have more functionality than you probably need.


Metadata in photos - not showing when sent from other people

Apple's Messages doesn't strip EXIF data from photos transmitted 'in blue'. I can't test for if it does if they arrive as SMS 'in green', though that might be done by whatever network sends the SMS.

You might need to test if that data is still present, or has been stripped on the way, or even before sending. Photoshop's new 'Export' will strip most exif data, whereas the older 'Save for Web' doesn't.

If you drag one of the photos to the desktop & then Get Info [right click or  Cmd ⌘   I  ] you will be able to see at least some of the EXIF data, if present.

If you need to see more of the data, or if the data from Get Info isn't very comprehensive, you can dig deeper using ExifTool by Phil Harvey which isn't actually quite as scary as it looks.
Once installed it runs from Terminal. You simply type exiftool then a space, then drag the photo into the Terminal window to provide the path. Hit Enter & it will list all EXIF data for that photo.


If you’re seeing repeated kernel panics, try the following things until they go away.

Do a safe boot:

Restart your Mac and hold down the Shift key until you see the gray Apple logo. Doing so temporarily disables some software that could cause problems and runs some cleanup processes. If the kernel panic doesn’t recur, restart again normally.

Update your firmware:

Software Update may also tell you about available updates for your Mac. If so, be sure to install them. You can also check for any firmware updates applicable to your Mac model at http://support.apple.com/kb/ht1237.

Check your disk:

Make sure your startup disk has at least 10GB of free space; if it doesn’t, delete some files to make room. Next, to find and fix any disk errors, run Disk Utility, select your startup disk, and click Repair Disk. The easiest way to do this, if you’re running OS X 10.7 or later, is to restart and then immediately press and hold Command+ R to enter OS X Recovery.

And at last,
Unfortunately, the easiest way to solve it is to reinstall OS X over your existing system, and if that doesn’t work, erase the disk and reinstall everything from scratch.

A year ago, updating firmware and Safe boot helped me to fix it on macOS. You can give a try.


Macs can't see each other over an Ethernet cable. MacOS failing to set up 169.254 routing. Why? How do I fix? Violates RFC 3927? Hint: multi-homed?

So I'm looking at the same connection a month later, but with both Macs in normally booted mode.
So now, the 169.254 routing is set up just by plugging the cable.
The other machine is visible in the IP and ARP routing tables.
The problem has gone away.
(I can reach the other machine with mDNS now as per @John Keates; ping [the other machine-name, now that I know it].local works.  But I can't go back in time to see if it would have worked.)
Also, I realized I screwed up that route command (just corrected), so that could be causing some remaining weird things I don't understand.  (I need to reboot this system!?):
Oh, and I just found out my Ca blood levels have been off, so some confusion it likely caused may have been a major cause of the (alleged) MacOS problem!  Cringe.   With work, I see it's become worth it to keep this question visible anyway.
Today, I see:
$ ifconfig | grep broad
inet 169.254.14.233 netmask 0xffff0000 broadcast 169.254.255.255
inet 192.168.141.99 netmask 0xffffff00 broadcast 192.168.141.255

and
$ ifconfig | grep broad
inet 169.254.174.186 netmask 0xffff0000 broadcast 169.254.255.255

which is as expected.
But this isn't:
$ ping 169.254.255.255
PING 169.254.255.255 (169.254.255.255): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
ping: sendto: No route to host
Request timeout for icmp_seq 4
ping: sendto: Host is down
Request timeout for icmp_seq 5
  C-c C-c
--- 169.254.255.255 ping statistics ---
7 packets transmitted, 0 packets received, 100.0% packet loss

My understanding is that I should see ping responses both machines for which that is their broadcast address.
Pinging the other broadcast IP, 192.168.141.255, gets me ping responses from all the live interfaces with that broadcast IP address, as expected.


Disable spellcheck and autocorrect in Notes forever

Edit>Spelling and Grammar>Correct Spelling Automatically

This worked for me. It is sometimes unclickable, if that is the case click a note and write something in this. This action will make it clickable.


Change the default IMAP Inbox folder on Mail.app

This is a very old tip but I can confirm it works. There is also some useful information in the comments section with regards to this.

Forcing the default mailbox in Mail

Apart from this hack there is no other way to do this. I am assuming the global inbox functionality is the reason not allowing you to change it.


Enter day tasks in Calendar without times

In Calendar, you can use the all-day events, that are shown one after the other.
Otherwise, you can choose among multiple apps. For free:

There is the default app Reminders, that allows you to create lists of events that you can check once completed.
One app I really like is Wunderlist. It has a good layout. It does more or less the same as Reminders, but it has much more functionalities. Obviously, you can sync with other devices.
You can also use Trello, which is an app for mobile phones and you can use on your Mac through the website. I consider that Trello is very complete but a little trickier.

Of course there are much more apps. It depends to your personal taste. De gustibus...


How can I replace the nmblookup command on Lion?

Did you have a look at the man page?

Shouldn't smbutil lookup [-w host] name do the job?

 Global options are as follows:
 -h      Print a short help message.
 -v      Verbose output.
 The commands and local options are:
 help command
         Print usage information about command.
 lookup [-w host] [-t node_type] [-e] name
         Resolve the given name to an IP address.  The NetBIOS name server can be directly specified via
         the -w option. The NetBIOS name type can be specified via the -t, the default is to lookup file
         servers. For a complete list of name type please see "http://support.microsoft.com/kb/163409".
         The NetBIOS names will be unpercent escaped out if the -e option is specified.
 status [-ae] hostname
         Resolve given hostname (IP address or DNS name) to NetBIOS workgroup and system name. All Net-
         BIOS names will be displayed if the -a option is specified. All NetBIOS names will be percent
         escaped out if the -e option is specified.

For me this worked (replacing your example):

smbutil lookup -w 172.16.0.10 -e domainPC | awk '/IP address of/ {print $5}'


Keychain: Application still requesting access with entry created via "security add-generic-password"

In newer versions of OS X you now have to add a partition teamid

security set-generic-password-partition-list -S teamid:UBF8T346G9 -s "Exchange" -k YOUR_USER_PW

If you 'allow' Exchange or whichever app to use the password and then inspect it

security dump-keychain -a > blip.txt

You can see the teamid and then use that in the command above. For instance for Sequel Pro:

    class: "genp"
    attributes:
        0x00000007 <blob>="Sequel Pro : mydb (5180261558162063037)"
    ...
        entry 3:
            authorizations (1): partition_id
            don't-require-password
            description: teamid:Y48LQG59RS
            applications: <null>
    ...

Now when you script this trusted password you can use:

    security add-generic-password -a "me@localhost/mydb" -s "my db" -p thepasswordtomydb -T "/Applications/Sequel Pro.app" -U
    security set-generic-password-partition-list -S teamid:Y48LQG59RS -s "my db" -k your_user_pw


How do I prevent iTunes opening in a new virtual screen instead of the current one

While iTunes is open, move your mouse pointer to the very top of the screen so that the top menu bar drops down. You will then also see the three buttons in the top left corner, but only the green one will be active. Click that and iTunes should pop out of full screen mode.


Two copies of Lion installed on one computer, now the App Store won't install apps

That the App Store application finds the apps installed on your other OS volume is a feature. It may not be exactly what you want in this scenario, but consider the far more common scenario of a user moving some of their apps to an external volume because their system volume is running low on space.

You could file a bug with Apple, but the team responsible is unlikely to be convinced add special support for such an uncommon use case.

I'm afraid you're likely stuck with unmounting the second volume.


How do I download apps in ipad mini ios9.3.6

It is possible to download older versions of an app from the iOS App Store, but you must already have "bought" (or used "Get" for a free app) the app using the Apple ID used by your older iPad.

Once the app is registered as Purchased (Apple calls it this even if it's a free app) against your Apple ID, you can go into the Purchased tab on the App Store on your older iPad and download from there.

You will get a pop-up "Download an older version of this app?" ("The current version requires iOS X.X or later, but you can download the latest compatible version") where you choose Download.

So to be able to do this, if you haven't already got the app, you do need a second iOS device using the same Apple ID for the App Store.


[Update]The screen utility is broken according to a superuser.com post starting from Mac OS X 10.6.

I was able to compile a working version of screen from MacPorts.org. If you're familiar with MacPorts I could provide you with an updated screen x86_64 binary or the source code patch file (changing one line in socket.c).[/Update]

Update2 Add diff of socket.c

--- screen-4.0.3/socket.c   2003-09-08 16:26:50.000000000 +0200
+++ /Users/fluffy/screen-4.0.3/socket.c 2012-03-10 22:58:57.000000000 +0100
@@ -745,7 +745,7 @@
   if (eff_uid == real_uid)
     return kill(pid, 0);
   if (UserContext() > 0)
-    UserReturn(kill(pid, 0));
+    return 0;
   return UserStatus();
 }


Mail.app: connect to IMAP server with STARTTLS

First of all, notice that port 993 usually does not use STARTTLS. If you have been told to use port 993 and STARTTLS, then that would be very strange indeed. The different between STARTTLS and ordinary SSL/TLS is the following:
With ordinary SSL/TLS, which is what is usually used on Port 993, the connection immediately starts with an SSL/TLS handshake. In layman's terms, one may say that the connection is immediately encrypted. However, when using STARTTLS, which is usually used in combination with Port 143, the connection starts unecrypted. The first IMAP commands exchanged between client and server (including the STARTTLS command) are unencrypted. However, after the STARTTLS command, both client and server upgrade the unencrypted connection to an encrypted one. That means the SSL/TLS handshake is not done immediately, but only after the client has sent the STARTTLS command to the server. That's all.

Now sadly, I have experienced that Apple's Mail App does not support STARTTLS on Port 143 and seems to only support encrypted IMAP connections over Port 993 using SSL/TLS.


Multiple iPhones devices synced to the same iTunes, how to keep podcasts straight?

Have you considered using Downcast, or the Podcaster on your device instead of using itunes for podcast management?  By using an application each device will store their settings separately.  This does have the downside that podcasts that you both listen to, would be downloaded twice.  I long ago gave up on using iTunes for podcast management, Downcast is a far better tool, in my opinion.


Do the MacBook Pro (15-inch, 2018) have different cooling systems depending on the GPU

I hope this picture answers your question, my previous post was absolutely wrong, that's why i deleted it.


Configurator Stalled: How to force it to continue or quit?


iPad and iPod touch suddenly require activation

This problem happened as the iOS 6 beta 4 expired today, so all devices that were running that version of iOS will need to be updated to the non-beta version. As iTunes and iOS don't see a difference between the two (as they're both called simply "6.0"), this update needs to be done manually, with the following steps:

Download the appropriate version of iOS 6.0 from the iOS Dev Center.
Connect the device to iTunes.
Option-click (Shift-click on Windows) the "Check for Updates" button on the Summary tab of the device in iTunes.
Select the .ipsw file in Finder and choose Open.

Your device will then install the update and everything should be fine.


Can you install a homebrew forumula without updating Xcode?

I found the file which prevents me from installing anything. It is /usr/local/Homebrew/Library/Homebrew/extend/os/mac/diagnostic.rb

What I did to solve this was commenting out lines 65-82 and then locking the file so it doesn't get overwritten.


I have a similar situation, and for me it simply works if I drag the network folder in finder with Cmd + Alt held down to create an alias. If the network share is not mounted, it will automatically mount when the link is accessed either by Finder or with most native GUI applications (e.g., my iTunes folder is linked this way and starting iTunes will mount the share).

However, if you meant a symlink instead of an alias, you can certainly create the link (e.g., on the command line with ln -s /Volumes/dest /path/to/target) but it will not cause the automount to occur, but rather the directory will just seem to not exist if accessed without the share mounted.


Shell Script Commands Work Fine in Terminal But Not Via AppleScript

Your script above is running two different scripts. One is changing the working directory to your user desktop folder (~/Desktop). The other script is downloading www.google.com and putting it in a document in your root directory (/), which doesn't have permissions to do so.

You can fix this by reduce it to one statement of do shell script like such:

do shell script "curl www.google.com > ~/Desktop/google.txt"

In short, the script first downloads the contents of the website www.google.com and then creates a new file at the specified directory. You may also notice the ~ character, which is equivalent to /Users/username/.


How can I let Windows XP read Mac OS Extended (Journaled) drives?

Boot Camp Drivers

You can use the Boot Camp drivers which integrates HFS read/write into Explorer.

http://support.apple.com/kb/DL830

You don't need Boot Camp to download/install the drivers.

HFSExplorer

Alternatively, you can use HFSExplorer:

  HFSExplorer is an application that can read Mac-formatted hard disks and disk images.
  It can read the file systems HFS (Mac OS Standard), HFS+ (Mac OS Extended) and HFSX (Mac OS Extended with case sensitive file names).


What does the link symbol mean in the Wi-Fi network list on iOS?

It means it's not a regular WiFi, it's a computer-to-computer network. In this case, it means that your the Wifi network host is an iPhone sharing itself as a Hotspot and other properties may be available.
See also this Apple Support article.

For personal hotspot on iPhone 8 or earlier, you can also see how many devices joined your Hotspot.


Are macOS dictionary definitions accessible via the Web?

If you go to preferences for Dictionary you can see the source of the Dictionary and choose which source you want to use. I use the New Oxford American Dictionary.


So I went through the settings to see what might have been different. The only thing I noticed was that I was syncing "unlimited" emails on my iPad but only a month on my phone. I changed the setting on my iPad and the inbox seems to have cleaned itself up. We'll see if it sticks. I'll mark this as answered tomorrow if it does.


Internet connectivity drops intermittently on El Capitan

I run into the same issue with El Capitan on a mid-2014 MBP 13". Did run a wireless diagnostic and captured the drop, the RSSI value seems to change the most but I don't know what that could mean or if it's actually part of the problem.

Turning wifi off and back on fixes it.

10/08/15 12:34:31.0430  Link Quality Changed : rssi=-59 dBm, txRate=117 Mbps
10/08/15 12:34:44.0550  Link Quality Changed : rssi=-62 dBm, txRate=104 Mbps
10/08/15 12:34:45.1200  LAN: WiFi interface can ping IPv4 router 192.168.0.1 . . . YES —— [1/1 (0% loss) min=2.1 max=2.1 avg=2.1]
10/08/15 12:34:54.4610  WAN: WiFi interface can ping DNS server 17.254.0.50 . . . YES —— [1/1 (0% loss) min=24.5 max=24.5 avg=24.5]
10/08/15 12:34:54.4610  moto / ch1 [RSSI=-62 dBm, Noise=-95 dBm, SNR=33, Tx=78 Mbps]
10/08/15 12:34:54.4610  AWDL: Disabled [0 ]
10/08/15 12:34:55.0640  Link Quality Changed : rssi=-62 dBm, txRate=52 Mbps
10/08/15 12:35:08.0790  Link Quality Changed : rssi=-61 dBm, txRate=78 Mbps
10/08/15 12:35:09.5260  LAN: WiFi interface can ping IPv4 router 192.168.0.1 . . . YES —— [1/1 (0% loss) min=4.1 max=4.1 avg=4.1]
10/08/15 12:35:17.6310  WAN: WiFi interface can ping DNS server 17.254.0.50 . . . NO —— [0/1 (1% loss) min=0.0 max=0.0 avg=0.0]
10/08/15 12:35:17.6320  moto / ch1 [RSSI=-58 dBm, Noise=-94 dBm, SNR=36, Tx=78 Mbps]
10/08/15 12:35:17.6320  AWDL: Disabled [0 ]
10/08/15 12:35:17.6320  UNEXPECTED DROP DETECTED!!!


iTunes download stopped on Mac unexpectedly

Look in the downloads sheet. At the far right is an empty circle and a little circular arrow.
Click the little circular arrow, that will resume a stopped download.
This works the same way in the Safari downloads sheet.


Why do certain packages fail in NetInstall?

There can be several reasons for this. Probably the most common is that installer writers may not consider the possibility that their package might be installed on something other than the startup volume (i.e. with NetInstall, you're booted from a network volume but installing onto the local HD). The Installer application knows how to put the package's install files where they need to go, but if there are any associated scripts and such in the package, they may not cope with running from one volume and installing onto another.

Another (closely related) problem is that the package may have scripts that depend on resources that don't exist in a NetInstall environment. NetInstall runs in a pretty stripped-down version of OS X -- it includes everything most package scripts would need, but if they need something unexpected (like Finder, for example), they will fail and possibly cause the install to fail.


Disable cellular data in settings. If you haven't activated a plan with a carrier yet, there's no option in settings to disable cellular data.

As a workaround, you can tell Siri "Turn off cellular data" to disable the setting and you should no longer get the message.


iCloud Photo Library activation on my phone deleted majority of pictures

I'm adding a summary of the discussions the OP and I had when trying to troubleshoot this issue.

This issue was due to how the OP copied the original photos: iPhone -> Mac -> iCloud.  The photos remained on the iPhone and the assumption was that iCloud would not have to do much work at all.  The exact same photos that were uploaded and sitting in iCloud were sitting on the iPhone.

The photos first had to be synced to iCloud from the Mac. With the large number of photos involved, that took several hours to complete.

After that, iCloud then begins to sync the photos back down to the other devices signed-in with that same Apple ID, in this case it was the same iPhone.

The iPhone will only perform iCloud photo syncs when the device is on wifi and plugged-in to power (with iOS 11, you have the option to allow syncing on cellular connection via Settings -> Photos -> Cellular Data and turning on Cellular Data).

iCloud took over 9 hours to sync the photos back down to the iPhone, replacing all the exact same photos that were already stored there.

To avoid this, sync the photos from the iPhone -> iCloud first.  After that, it will sync down to the other devices, like the Mac.  It will still take several hours depending on how many photos are being synced.


Can't access apple.com webservers, App Store, nor Software Update

There are two things I would try in this situation:

Flush the DNS cache. This can be accomplished by running the command dscacheutil -flushcache. After running this command, attempt to run the dig and ping commands again. If they return the expected results, you should be good to go.
Verify valid and responding DNS servers are responding to DNS queries. Open System Preferences -> Network. Unlock the lock icon in the lower left corner if it is locked. Select the network interface you are currently using from the left column and click the Advanced button. Click the DNS tab.

Typically in the DNS tab, you will want to go with what ever is recommended by your ISP. If everything appears OK, consider swapping out the server addresses with one or more of the addresses from the list below:

Google DNS

8.8.8.8

8.8.4.4

OpenDNS (Not recommended if the device hosts an email Server)

208.67.222.222

208.67.220.220

Edit to add the following:

Another possible solution: Have you power cycled the networking equipment between your computer and your network connection? I have encountered inconsistent DNS lookups couple times with my Airport. Power cycling has resolved the troubles in at least one of those situations.


Does my Bootcamp partition, disappeared by Lion install, still exist?

This doesn't look good for your boot camp partition.  Take a look at the drive layout in Disk Utility.app (in /Applications/Utilities, accessible from Launchpad), which visualizes the entire drive in slices.  If you don't see the 20GB slice there, then it has been overwritten.

Did you obtain Lion from the App Store?


How to create "firmware partition" on HDD?

You must have an EFI partition (aka firmware partition) on an internal drive for the installer to accept that. You have not provided the model of your iMac, so that might be an issue. Basically, if you have one of the older iMacs, you could replace the hard drive with an SSD. 256 GB SSD are pretty cheap, have a little room for stuff and are nice and fast.


Python 3 'json' module is actually corrupted

Well I suppose I will deal with "glib, graphviz and gts" later, but what did the trick for me was to entirely remove the brew installation of Python 3:
brew uninstall --ignore-dependencies python3

And now things are back to normal:
$ python3
Python 3.7.3 (default, Apr 24 2020, 18:51:23)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
>>> d = {'a' : 100, 'b' : 200}
>>> json.dumps(d)
'{"a": 100, "b": 200}'


Open activity monitor minimized on startup

Does this not work?

First right-click on Activity Monitor and go Options > Open at Login.

Next, open System Preferences > Users & Groups > Login Items and tick Hide.


Macbook Pro stuck after I enter my password

I found a solution for this problem by robertk1 and he writes the following:

  I would enter my password correctly and then the cursor would change to the spinning pinwheel and just sit there forever. The only way out was a power off reboot.

This is exactly what happend with my machine and it looks like it's same with yours. I hope this also works with FileVault enabled. There are two ways to solve this. With and without a guest account.

In case you do have access to the guest account follow these steps by hijoncon:

  Login as guest
  Open Terminal (cmd + space then search terminal)
  Enter su your_account
  Enter your password
  sudo find /private/var/folders | grep com.apple.LaunchServices | grep csstore
  Remove every .csstore your find like this sudo rm /private/var/folders/cd/someLongRandomNameHere/someFolderNumberHere/com.apple.LaunchService-whatever.csstore

If you don't have access to the guest account you can try different ways to get into the machine (like SSH) robertk1 suggests:

  To do this, you'll either need to be in a recovery console, or ssh
  into the machine, or boot from an external drive, or otherwise somehow
  get to a command prompt.

Once you are in the machine you can delete the files like described above in the last steps.


Why am I not getting notified by email when my Find My iPhone is used?

You only get notified if you:

Play a sound on the remote device
Put the remote device on Lost mode
Ask to be notified when it comes back online if the device is offline

Just watching the location of the device on the app or iCloud does not trigger a notification.
There may be ways of finding out, they are discussed in this question:

However, your son could enable Status Bar Icon so that the device shows the location services icon in the status bar when the location tracking is active.
Settings → Privacy → Location Services → Find my iPhone → Status Bar Icon
This shows the normal location services icon (and not a special icon for Find my iPhone) if the device's location is being obtained through Find my iPhone.


PDF rendering - how much is iPad2 faster than iPad?

According to iPad vs iPad2 Speed Test the iPad2 is about 20% faster than the original iPad both overall and for PDF rendering:

From the article:

  Across the board, we're seeing approximately a 20% average speedup in rendering PDF content. Complex vector content such as maps and blueprints -- which places a heavier load on the graphics subsystem -- is getting the biggest boost, with improvements in the 22% - 32% range. High-resolution scans, which places more of an emphasis on disk I/O and memory, is seeing a more modest 8% - 19% improvement. Perhaps the most interesting improvement is in the multi-threading, where we're seeing speedup increases of up to 10% when doing drawing while other tasks (PDF processing in this case) are running at the same time.


Batch-processing Image Files in a Folder using a folder action with Automator

As you already have Hazel installed anyway, it might be easier to use it to trigger the image resizing as well. Create a new rule in Hazel to watch the folder and execute the command:


You cannot just use any graphics card with a Mac, unfortunately. You will need to have both driver support as well as a specific Mac firmware on the graphics card itself.

It is possible to buy non-Mac graphics cards and flash the needed firmware onto the card. It only works with specific models though. Apart from that you'll need to buy the "Mac-version" of the graphics card to get the right firmware. The selection is very limited compared to what you're used to on Linux.

In regards to drivers - if you choose an AMD-based graphics card, the driver is almost always included with macOS. If you choose an Nvidia-based graphics card, you can download the driver from their web page.

You can also find a good driver listing for Nvidia cards here:

http://www.macvidcards.com/drivers.html

The same web site also offer Mac graphics card for sale, as well as listing which ones are compatible with each model of Mac Pro.

The official Apple list of supported graphics card for your Mac Pro is available here:

https://support.apple.com/hr-hr/HT201805

Note that there are options out there that aren't officially recognized by Apple, but work well anyways.


Does daisy chaining FireWire 800 and 400 cause all devices to use 400 speeds?

FireWire is a point to point protocol and the controllers are generally fully functional and can use the full capacity  between two adjoining controller chips over a FireWire cable. So in practice just don't put a FireWire 400 speed cable between devices that are capable of FireWire 800 and the computer. Place your first FireWire 400 cable and device at the end of the chain of FireWire 800 capable devices.

Basically a FireWire 400 cable has six conductors - two for power and four for data. FireWire 800 cable has eight (or double) the data conductors and the same two power lanes.

Think of an analogy with the interstate highway system. Here you have a computer connected via fire wire 800 to the Drobo and fire wire 400 to something else. This is the same as three highway exits with four lanes of traffic between the middle and the last exit and eight lanes of traffic between the first in the middle exit. Assuming there's no delay getting on and off the highway exits (which is true for FireWire but not in reality), it shouldn't matter that traffic between the first two exits will be slowed down just because later on the highway merges down to four lanes.

Of course when you have simultaneous traffic some going all the way to the end of the chain at the 400 speed that will impact the bandwidth available for traffic between the two 800 speed ports.

The FireWire protocol is fast for exactly this reason whereas the USB chain always slows down for the entire "bus". From an engineering standpoint it's simpler and cheaper to just slow down the entire transport to avoid having to deal with the network topology and differing link speeds due to cabling conditions down the chain.


Mac repeatedly getting stuck at progress bar

Could be due to kernel extensions you have installed, I had the same issue and posted a blog tutorial on troubleshooting and fixing something like that:

https://smyl.es/how-to-fix-mac-osx-stuckhanging-on-progress-bar-will-not-boot/

To troubleshoot, startup your Mac in Verbose mode (after you hear the chime):

Hold down one of these key combinations on your keyboard immediately after pressing the power button to turn on your Mac, or immediately after your Mac begins to restart:

Command (⌘)-V

Continue holding the keys until you see white text on the screen.

Start up your Mac in single-user mode or verbose mode

Mac OSX Recovery

Mac Startup Key Combinations

Starting in Verbose mode should give you enough output information to debug the problem even further.  See my blog post for more in depth information and how I resolved my specific issue.

Cached versions of blog post:

Google:
http://webcache.googleusercontent.com/search?q=cache:https://smyl.es/how-to-fix-mac-osx-stuckhanging-on-progress-bar-will-not-boot/

Archive.org (WayBackMachine):
http://web.archive.org/web/20161218201511/https://smyl.es/how-to-fix-mac-osx-stuckhanging-on-progress-bar-will-not-boot/


Is it possible to tell if a unjailbroken phone has been jailbroken in the past?

If the device has been restored(how you "unjailbreak" a device), there is no way to find out if the device has been jailbroken in the past.


Why is Preview printing blurry text when there is colour in a document?

I printed and then scanned the test document using my Canon MX850 (an ink jet printer with scanner, about 6 years old).

It's not perfect, but I don't see the issues (blurry text between the yellow boxes, purple stripes) that I see in your Ricoh version.

So I'd guess that the problem is the Ricoh drivers.

OS X 10.9.5
Printed using Preview 7.0 (826.4)
Printer is Canon MX850
Printed using default settings (Print Quality: Standard)
Scanned at 300dpi.


Restoring new iPhone from iCloud backup deactivates old iphone?

This is most likely the carrier intentionally deactivating the old SIM.

When iPhones first came out, your current phone would normally get deactivated at the moment you purchased a new phone and told the carriers to move the service to the new phone. Now, they wait until the new phone checks in to perform the swap to account for delivery delays, backups, etc...

Your first step should be to contact the carrier and explain that you want service on both phones and arrange for which number rings to which device. They might be able to accommodate this over the phone, but if the old SIM has been deactivated in the networks, most carriers are very unwilling (or unable) to re-activate the old SIM and instead ask you to get a new SIM from them at a convenient local retail spot or by them shipping you new SIM card(s).

Apple's restore process and activation of the device doesn't affect network activation and for locked phones, you just need a SIM for the correct carrier to activate the device. iOS does not check or care that the contract is expired, not established or live for iOS activation - just that the SIM is manufactured for the correct carrier.


Need to backup, but can't press 'Trust Computer' button because of cracked screen

The way I finally solved the problem was to use the iPhone's AssistiveTouch. It can be enabled at the control center and when using the two finger gesture I was able to "click" on the "Trust This Computer" button that was otherwise unreachable since that part of the screen was unresponsive. I hope this helps others struggling with the same problem!


Is there a utility that copies the pictures I have in my digital still camera in a directory?

I'm not sure if you can make it automatic, but "Image Capture" is probably the way to get them imported with the least amount of fooling with bigger programs that are trying to do more organization-type stuff than you want.

Barring that, you might be able to do something with AppleScript or folder actions, depending on how your camera manages the


Can AirPort Express add speakers to a network without broadcasting a new wifi signal?

Yep - just configure the express to "Join a network" instead of "extending" it.


Force OS X Finder to always show dimensions of images in sidebar

You might need to re-index the directories on your system by doing the following:

Go to Apple > System Preferences > Spotlight and chose the Privacy tab.
Drag a directory (or an entire volume) into the list, and confirm the action
Remove the directory (or volume) from the list via - it, which will trigger a re-index of the directory or volume.

Source


Pretty much any service should have email reminders.

Personally, I use Outlook.com and while I have no need for email reminders, I did confirm that the features is available.  See below

You can use this with your existing email, but you will need to sign up with a new account. Your Mail App (email client) will be able to work with the Outlook.com service as well


Cannot open Mail.app Preferences in OS X 10.7.5

You can reset Mail's settings by running the following one-liner in Terminal:

killall Mail &> /dev/null; mv ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist ~/Desktop && open -a Mail

https://georgegarside.com/o/se/reset-osx-mail.html


Enable horizontal scroll for TextEdit in Yosemite (Mac OS X 10.10.2)

TextEdit doesn't work based on a page format. Since it doesn't know how wide your page is, it can't know when to wrap. You'll have to rely on something like Pages if you want to create a document based on a specific page format.


Cmd ⌘   Opt ⌥   W  will close all windows.


Extending extending network using airport express

There shouldn't be any issue with using the Airport as an extender in that scenario.

Normally an Airport can only extend the wireless network by providing a bridge over Wifi between itself and another Airport (or Time Capsule)

Using an Airport as an extender with a non-Apple router requires you to connect the two using ethernet, usually with a physical cable however by using a powerline connection that will replace the physical cable with the Ethernet over powerline.

A few caveats, if you are using MAC address filtering on the ethernet interface of the devices, make sure you add the MAC addresses of the Powerline module connected to each as required.  Normally most routers only limit MAC address filtering to the Wifi interface, but there are some that will alow you to enable this on all interfaces.

Edit: There shoudn't be any issue with using the AirTunes functionality under this scenario either as well as it providing the required Wifi extension.


Delete a file locally, but keep it in iCloud

As Andreas mentioned in his answer, brctl evict purges the files. But for me, it seems to work permanently. Even purges recursively through folders. Maybe it is because I purged 40GB of data, hard for iCloud to reset in a heartbeat

>brctl evict SuperBigNestedFolder
evicted content of 'SuperBigNestedFolder/'

Nice!

BUT, when iCloud evicts the files it also throws away all metadata.
This cripples Spotlight by removing the ability to search for text found inside popular file formats such as word, pdf, pages, keynote, or txt.


MacBook Pro (13 inch, early 2015) crashing after use of Dual External Monitor

I am having similar issue on iMac (Retina 5K, 27-inch, Late 2015), see: Displays randomly remain blank when waking up

An engineer was assigned to my case in Apple Support. I recommend getting support from Apple too.


How do I prevent my Mac laptop from quitting applications trying to logout?

Ah, it was because this:

I must have enabled that at some point, or I don't know what.


Can I have a second menu bar on my secondary display?

To the best of my knowledge, no there is not another app that currently provides the same functionality as Second Bar.

MenuEverywhere or DejaMenu provide other workarounds to make menu bar commands selectable elsewhere, but I am not aware of any other program that puts a menu bar on multiple monitors.


OS X Terminal fn+delete doesn't work, prints ~

I was able to fix this by going to Terminal->Preferences->Advanced and choosing xterm-256color as the setting for "Declare Terminal As"


MBP 13" Early 2011 Thunderbolt Firmware Version - How to update 22.1 to latest version

Since you're on macOS Sierra you should already have the latest firmware version compatible with your MBP.

As far as I know, the only firmware update for your MBP was issued about five years ago. For more info, refer to About EFI and SMC firmware updates for Intel-based Mac computers.


Shell Script Synchronise Folder with External HDD

This is easy to accomplish using rsync.
The easiest route is to open terminal and type rsync -r and that drag the source folder to the window, followed by the destination folder. -r stands for recursive, so it will look inside the folder and its subfolders. I just synced a folder on my desktop and a mounted USB drive with this command:

rsync -r /Users/My-User/Desktop/Test_folder /Volumes/My-USB-Drive/Test_on_USB

It actually creates the Test_folder inside the Test_on_USB folder.
I'm not an expert on all the options, but you can find them here: http://everythinglinux.org/rsync/

Let me know if that accomplishes what you're after.


Use Logitech g15 multimedia keyboard with Apple Logic 9

Download the Logitech Control Center for OS X. It will allow you to set all the setting for your keyboard, including the stop, play, pause, and volume up/down buttons.


Calling a script right after opening a type of file?

This is a bit of a hack, but try watching for changes to some file that is modified when the application opens a document.

Using launchd, you could save this as ~/Library/LaunchAgents/test.plist and run launchctl load ~/Library/LaunchAgents/test.plist.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd>
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>test</string>
    <key>ProgramArguments</key>
    <array>
        <string>osascript</string>
        <string>-e</string>
        <string>try
tell app "System Events" to tell process "QuickTime Player"
set position of window 1 to {500, 500}
end
end</string>
    </array>
    <key>WatchPaths</key>
    <array>
        <string>/Users/username/Library/Preferences/com.apple.QuickTimePlayerX.LSSharedFileList.plist</string>
    </array>
</dict>
</plist>

It won't work if you open multiple documents in a row, because launchd runs programs only at most every 10 seconds.