How do I restore a Windows 7 DMG file to Boot Camp (and make it bootable)?

Try this variation on what its stated there:

Run bootcamp to allocate the space 2-
Install W7
Go back to OSX (Install REFIT or similar as bootmanager (optional))
Restore your DMG image over the W7 partition

With this you dont need the fdisk commands as bootcamp should mark the partition as active (bootable).

This SHOULD work.

The problem with the linked page process is that w7 (just as osx) is actually in 2 partitions, a small boot one and a large with the OS, your DMG only contains the OS partition.


What happens if I cancel/downgrade my iCloud storage plan?

You will be able to access and clean up your iCloud storage, but some services will be unavailable for you.

  If you downgrade your storage plan and your content exceeds the
  storage you have available, new photos and videos won't upload to
  iCloud Photo Library and your devices stop backing up to iCloud.
  iCloud Drive and the other apps that you use with iCloud won’t update
  across your devices. You can't send or receive messages with your
  iCloud email address. Learn how to manage your storage by deleting
  backups, documents, photos, and email messages that you don't need
  anymore. If you cancel your plan or you don't renew it, you'll
  automatically go back to 5GB of free storage.

https://support.apple.com/en-us/HT201318


Bluetooth mouse won't connect, after turning Bluetooth off it won't turn back on

create a USB drive with windows support software using Bootcamp Assistant (mac os)
go to windows and install that support software from the USB drive
go back to macOS
remove ALL Bluetooth devices from mac os
set windows as the startup drive
restart and open windows (click mouse and keyboard when you see windows logo)
go to Bluetooth settings and try to connect

worked for me ...for a moment...then I lost it when I set macOS as startup drive.


How to have sshd re-read its config file (without killing ssh connections)?

sshd doesn't "re-read" it's configuration file, it restarts itself (refer to man sshd(8)), however, it shouldn't kill the child/connections if you sent the SIGHUP to the PARENT of them all. That is when you are talking about sshd that binds to port 22, as in the "usual" with Linux/FreeBSD/etc. [there are exceptions and sysadmin reasons why to follow the MacOSX type route]

HOWEVER MacOSX have launchd as the one that listens to and handles port 22 (from my 10.10.4 machine):

BlackYos:~ hvisage$ sudo lsof -i :22
Password:
COMMAND  PID    USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
launchd    1    root   57u  IPv4 0xdb59a664e4b34941      0t0  TCP blackyos:ssh->hvs:39093 (ESTABLISHED)
launchd    1    root   58u  IPv4 0xdb59a664e4b34941      0t0  TCP blackyos:ssh->hvs:39093 (ESTABLISHED)
launchd    1    root   62u  IPv6 0xdb59a664c78cd671      0t0  TCP *:ssh (LISTEN)
launchd    1    root   66u  IPv4 0xdb59a664c78d2e21      0t0  TCP *:ssh (LISTEN)
launchd    1    root   67u  IPv6 0xdb59a664c78cd671      0t0  TCP *:ssh (LISTEN)
launchd    1    root   68u  IPv4 0xdb59a664c78d2e21      0t0  TCP *:ssh (LISTEN)
ssh     1262 hvisage    3u  IPv4 0xdb59a664e59313b1      0t0  TCP blackyos:51628->hvs:ssh (ESTABLISHED)
sshd    1272    root    4u  IPv4 0xdb59a664e4b34941      0t0  TCP blackyos:ssh->hvs:39093 (ESTABLISHED)
sshd    1272    root    5u  IPv4 0xdb59a664e4b34941      0t0  TCP blackyos:ssh->hvs:39093 (ESTABLISHED)
sshd    1274 hvisage    4u  IPv4 0xdb59a664e4b34941      0t0  TCP blackyos:ssh->hvs:39093 (ESTABLISHED)
sshd    1274 hvisage    5u  IPv4 0xdb59a664e4b34941      0t0  TCP blackyos:ssh->hvs:39093 (ESTABLISHED)

It is launchd that might need to be "restarted" on macosx, or told about different ports to listen on for sshd, as launchd will spawn a new sshd for each port 22 connection that comes in.

check the following:

BlackYos:~ hvisage$ sudo ps -ef |grep -i ssh
  501  1263     1   0  6:46PM ??         0:00.06 /usr/bin/ssh-agent -l
    0  1272     1   0  6:46PM ??         0:00.40 sshd: hvisage [priv]
  501  1274  1272   0  6:46PM ??         0:00.03 sshd: hvisage@ttys004
  501  1262   570   0  6:46PM ttys001    0:00.05 ssh -v hvs
  501  1303  1275   0  6:50PM ttys004    0:00.00 grep -i ssh
BlackYos:~ hvisage$

I've ssh'd to my router and back to demonstrate the issue, and you'll notice that the two processes are already "owned" by me.
Compare this to a Linux system (my roouter) where you'll notice the third "real" sshd that is owned by root:

hvisage@hvs:~$ ps -ef |grep -i ssh
root      4053     1  0 Jul11 ?        00:04:22 /usr/sbin/sshguard -i /var/run/sshguard.pid -l /var/log/auth.log -w /etc/sshguard/whitelist -a 40 -p 420 -s 1200
root     16244 30219  0 18:46 ?        00:00:00 sshd: hvisage [priv]
hvisage  16249 16244  0 18:46 ?        00:00:00 sshd: hvisage@pts/0
hvisage  16563 16250  0 18:52 pts/0    00:00:00 grep -i ssh
root     30219     1  0 Aug09 ?        00:00:00 /usr/sbin/sshd
hvisage@hvs:~$


How to make a colour clicker using AppleScript?

Consider using Sikuli to implement your task rather than AppleScript:

  Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code.


Hate to provide what is effectively a 1 word answer, but no.

Because iPhone Safari does not use tabs, the shortcut/gesture is missing.  Going into the 'other pages' screen and tapping and holding all over yeilds nothing.  Simply not available using Safari.

You may have more luck with a 3rd party browser if it's an important bit of functionality to have.


Finally, I got it to obey when I say sleep !

The battery remained at 100% charge after 8 hours of sleep.

This is what sleep should look like between 1AM and 10AM. That's it, no other activity as it should be.

Aug 19 01:05:19 myMBA com.apple.usbmuxd[4793]: notice    Idle, stopping.
Aug 19 01:05:19 myMBA com.apple.usbmuxd[7126]: notice    usbmuxd-374.913 on Mar 17 2017 at 17:43:50, running 64 bit
Aug 19 01:05:54 myMBA com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.501): Service "com.apple.xpc.launchd.unmanaged.loginwindow.113" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent
Aug 19 01:06:24 --- last message repeated 3 times ---
Aug 19 02:16:35 myMBA syslogd[51]: ASL Sender Statistics
Aug 19 09:52:58 myMBA syslogd[51]: ASL Sender Statistics

So what did I do?
First it killed the pesky GooleSotwareUpdate (as described here)
Pesky Google acting up
.. that was active all night long and completely ignoring my sleep request.
Then I shut down all apps (especially the Google Chrome that was misbehaving).
Then I Left the Lid open and used the Sleep now command (in Apple top left)
The reason for Lid open was to see if monitor comes on after a while, and it did !
I had to use the Sleep command 3 times, since it came back on about 3 seconds after ?


There's an Apple support page that explains these three folders. These folders are for sharing files with users of the same Mac, and by default are not used for transferring files through the network.

The Shared folder is located in /Users.
Your Public folder is in your home folder. Each user has one by default.
Your Drop Box folder is in your Public folder.

The Shared and Public folders can be read by anyone, regardless of administrator access. However, only the owner of a file (i.e. the user who put it there) can modify or remove it.

The Drop Box folder is used to share items with another user, and not every user on the Mac. Anyone can put items in the folder by dragging and dropping it into the user's Drop Box. However, only the user that owns the folder can open and read what's inside the folder.

If you want to allow any user on the Mac to have access to these files, use the Shared folder or your Public folder. If you want to share a file with a limited amount of user(s), put the file in their Drop Box folder(s) located in their Public folder(s).


What is OS X alternative to Windows/Ubuntu hotkeys ⌘+1, ⌘+2 etc to start apps from the Dock?

You could save scripts like this somewhere in AppleScript Editor and give them shortcuts with for example Alfred or FastScripts.

tell application "System Events" to tell process "Dock"
    perform action "AXPress" of UI element 5 of list 1
end tell

(Just assigning fixed shortcuts for each application would probably be a better option though.)


No it isn't possible to create new images with Preview, as it is just meant for doing basic edits on images.(see @SteveChambers' comment)

If you really want to use Preview and not another app, just find a white image of the size you want and open it in Preview to edit and draw on it.

Otherwise, you can use 3rd party software:

GIMP, a free and open-source image editor with many capabilities, including creating and drawing images(fun fact: the very first Google logo was created in this program)
Keynote, made by Apple as a presentation app, but can also be used for simple drawings
Pixelmator (paid), a user-friendly image editor with many drawing/painting capabilities
Acorn (paid), a user-friendly image editor with many drawing/painting capabilities


Where are iOS updates in El Capitan located on Mac

The file should be in ~/Library/iTunes/iPhone Software Updates not /Library/iTunes/iPhone Software Updates

The first is your personal User Library, the second is the System Library.
The tilde ~ sign is an abbreviation recognised by the System meaning Boot Drive/Users/Your Name/ & saves having to know the names of the boot drive & current user.
It's kind of the Mac equivalent of using %appdata% in Windows to find the current user's Roaming folder - an environment variable.

By default ~/Library is hidden, so delving down the file hierarchy manually you won't find it.

You can get to ~/Library from the Finder > Go menu if you hold  Opt ⌥  whilst selecting the folder, but if you have a specific destination, I find it easier to Go directly there…

In Finder,  Cmd ⌘   N  for New window
 Cmd ⌘   Shift ⇧   G  for Go…
Copy/paste ~/Library/iTunes/iPhone Software Updates including the tilde ~ & hit  Enter ⌅


How to control where script run by cron saves files?

Doing a `cd /path` within your script only changes the directory for the shell that is spawned to execute the shell command.  It's the same thing as doing

system('cd /path');

It doesn't change the cwd (current working directory) of the script itself.  The best way to do it is to have your script write the files to a specific directory.  If your perl script is a straight wrapper for wget, you can do away with the perl script and do something along the lines of:

wget -O /full/path/to/file http://host/url/here

If you want to do this within perl (example idea, not tested)...

use LWP::Simple qw(get);
my $url = 'http://host/url/here';
my $result = get $url;
open(my $fh, ">", "/path/to/file");
print $fh $result;
close($fh)

One final option (again not tested)...

00 6 * * * cd /path/you/want;/Users/username/path/to/script/wget.pl 1;


Mavericks supports OpenCL but your GPU is not compatible (there are no OpenCL drivers for it).

Try running the example with CL_DEVICE_TYPE_CPU, Simply set the variable gpu to 0;

int gpu = 0;

This paper says OpenCL Support on Sandy Bridge is limited:

  3rd Generation Intel® Core™ Processors with the Intel® HD Graphics 4000/2500

Your Macbook Air is equipped with HD Graphics 3000.


Is it possible to change file status (from read only to read and write) for multiple files/folders at once?

Open terminal and try the following; putting the path of your new directory behind the /:

chmod -R o+rw /path/to/your/new/directory

-R means recursively change the permissions of all files in the directory, with the arguments ( o+rw ):

o ( the other users), alternatively u (for user) or g (for group)
r ( read )
w ( write )


Airport extreme after linsys router not finding my synology disc/sonos system

Your AirPort Extreme will need to "control" the network in order for this setup the way you expect. The Linksys would have to be configured as a bridge with the AirPort Extreme as the router/DHCP server.

Do not that the way you have things setup currently, Time Machine will still work; however you will need to connect to the server/disk by IP address. Other features like Bonjour Sleep Proxy and Back To My Mac just won't work.


Seeking an alternative to the big browsers

Opera
is the next biggest after the main lot
Opera also has a mobile version, the idea of Opera is to load all of the HTML and files before it displays anything, so it loads full web pages faster than most
The next important thing about Opera is that it has support from webmasters. If you look at Apple source code on their websites it mentions support for recgonsising opera as a browser, alongside the others
The problem with using other browsers is that some websites may not fully function. So it is safer an easier to go with one of these.


If the text is at the second half of the document, go to the beginning of the text You want to delete and press ⌘ CMD+⇧ SHIFT+↓ DOWN ARROW and then delete it.
If it's in the first half, go to the beginning of the text You do not want to delete and press ⌘ CMD+⇧ SHIFT+↑ UP ARROW and delete it.


How can I save Google Maps in iOS for offline use?

Without jailbreaking, the iPhone DOES cache the last few map tiles on the view, at all the view zoom levels. I'm not sure how extensive this is, and because it's only a temporary cache the data is always a second away from deletion.

Without jailbreaking, you can download an application, there are lots of them, but my favorite is called MotionX GPS, which is on the App Store. It allows you to cache and save certain types of map tiles from a variety of map modes, including Terrain, roads, and more. I'm not sure if they're specifically Google Maps, but you can get some types of maps for sure.

After jailbreaking, which is both legal and easy, you can find a couple of 3rd party utilities to help you download map tiles to the device, but most of them require you to view the tiles in the app itself, not in the Maps application.


How to turn old iPad on after not being used for years

Please try the hints & tipps of the web page I added the link at the end of my answer.

I recommend starting with the "hard reset" as this might help if the iPad just got "stuck":
"perform a hard restart by pressing and holding both the HOME button AND the POWER/SLEEP/WAKE button until the Apple logo appears."

If it is sure that the iPad got charged and you don't see a symbol about "low power", and if the hard reset didn't help it might be necessary to connect the iPad to a Mac or PC with iTunes installed. Please continue with the instructions of the linked page.

If this is not the right direction for you it might be an alternative to just find help either by Apple Tech guys in an Apple Store or in some stores where Apple iOS/iPads is well known stuff...

Here's the link:
http://appletoolbox.com/2014/12/ipad-will-not-turn-fix-dead-device/

Good luck! Fingers crossed.


Can macOS (Catalina) match a Brazilian Portuguese Windows keyboard layout?

A free solution you could try is Karabiner-Elements. It allows you to remap keys to other keys.

Core features

Simple Modifications: Change normal keys to other keys.
Complex Modifications: Change keys by complex rules.
Change a key to combination of modifiers. (e.g. change capslock to control+command)

Change modifiers+key to key. (e.g. change control+m to return)
Send key events if a key is pressed alone.
Send key events if keys are pressed simultaneously.
Mouse keys.
etc.

Function Keys: Change f1-f12 keys to media controls.
Devices: Apply modifications to specified keyboards only.
Profiles: Support multiple profiles.
Modifier Flag Sync: Synchronize modifier flags across all connected keyboards.
Secure Keyboard Entry Support: Work well on Secure Keyboard Entry environment such as a password prompt, terminal with Secure Keyboard Entry, etc.

I have used it to bring an old Nostromo Speedpad2 back to life. And it's FREE!!


Can I use DDR3 1600MHz RAM in a Mac instead of 1067MHz?

You could add the 1600 MHz memory for your MacBook Pro even though it's designed for a slower memory (1066 MHz) - it ought to work, but you'd be better off buying from a place that accepts returns. Here's some relevant information from Crucial on memory speeds (emphasis mine):

  Memory is designed to be backward-compatible, so generally speaking, you can safely add faster memory to a computer that was designed to run slower memory. However, your system will operate at the speed of the slowest memory module.

In "DDR3-1600 PC3-12800"

"DDR3" is the type (and must be the same as what your computer has)
"1600" is the data transfer rate per second specified in millions (the technical term is "clock frequency") - "1600" here means it supports up to 1600 million transfers per second - in your case, it will be slowed down to 1066 million transfers per second since that's what your Mac is designed for
"PC3-12800" is the name used in the memory industry - 12800 indicates a peak transfer rate of 12800 MB/s (of course, the actual performance in your case would be brought down to 8533 MB/s, matching PC3-8500).


Consider reporting this directly to Apple via bug reporter as it is unlikely anyone here will be able to help.

Delays of around point zero one less than one second are probably acceptable to Apple's engineers. 100% CPU is also acceptable; useful work is being done for the user when copying and pasting.

The pasteboard is not designed as a performance focused transport mechanism for processes and scripts.

Pasteboard operations can result in a cascade of notifications to processes. This is likely what you are detecting as notifyd is responsible for system wide notification delivery. This behaviour is normal.


Can I extend my Airport Extreme's wireless network with a third-party repeater?

Despite very vague information on Apple's own website, it is not possible to extend Apple-based networks with non-Apple products.

Apple only states:

  "Wi–Fi base station - Any variety of AirPort Extreme Base Station,
  AirPort Express, or Time Capsule."

from this article - http://support.apple.com/en-us/HT202056


How to install Windows 10 into a 2013 iMac without using the Boot Camp Assistant, USB flash drive or third party tools?

These are the basic steps needed to install Windows 10 for an EFI boot, when the Boot Camp Assistant will not create the necessary installation partitions.

I have made the following assumptions.

You wish to install Windows 10 an a internal drive. These instructions will not work for external drive installations.
Windows will be installed on the primary internal drive. In other words, the drive with the disk identifier of disk0. If you wish to use a different internal drive, you will need to substitute the appropriate disk identifier.
The drive has a "Device Block Size" of  512 bytes. You can determine the size by examining the output from the command diskutil  info  disk0. If the size is 4096 bytes, I will have to modify these instructions.
Your Mac model is one that Apple supports the installation of Windows 10 through the use of a flash drive.

The Windows specifications are given below.

Edition: Windows 10 Pro
Version: 1709
OS Build: 16299.15

  Note: To get a better view of the images shown below, either click on an image or open an image in a new window.

Use the Boot Camp Assistant to download the Window Support Software. Look for the "Action" pulldown on the Boot Camp Assistant menu bar. On my Mac, these files were downloaded to the ~/WindowsSupport directory.
Create empty space on a drive. This space needs to be outside any APFS or Core Storage containers. Since you already have 235 GB free space at the end of the drive, you can skip this step.
At the end of this free space, allocate about 10 GB for the installation files, followed by 600 MB of space for the Microsoft Windows Recovery Environment (WRE). I usually use the diskutil command to do this. Other combinations  of commands or third party tools can also be employed. The UUID for 10 GB partition should be EBD0A0A2-B9E5-4433-87C0-68B6B72699C7. The UUID for the 600 MB partition should be DE94BBA4-06D1-4D40-A16A-BFD50179D6AC.

In your case, the first step would be to absorb the free space into disk1s4. The command below would accomplish this task.

diskutil  resizevolume  disk1s4  R

  Note: This command will automatically relocate the "Recover HD" volume, below disk1s4, to the end of the drive.

The result is shown below.

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +536.9 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS Chicken                 150.0 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
   4:                  Apple_HFS Turkey                  385.4 GB   disk1s4
   5:                 Apple_Boot Recovery HD             650.0 MB   disk1s6

  Note: The resulting identifiers are not in ascending order. This happens occasionally when using the diskutil command. This can be corrected by restarting macOS. In this case, a restart will not be necessary.

Next, issue the command below to create the desired new partitions. The "Recovery HD" volume, below disk1s4, will be automatically relocated upwards so the free space can be created between the "Recovery HD" and "WINSTALL" volumes.

diskutil  resizevolume  disk1s4  150G  3  "Free Space"  "dummy"  224800M  FAT32  "WINSTALL"  10G  %DE94BBA4-06D1-4D40-A16A-BFD50179D6AC%  %noformat%  600M

  Note: A FAT32 format automatically selects a UUID of EBD0A0A2-B9E5-4433-87C0-68B6B72699C7.

The result is

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +536.9 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS Chicken                 150.0 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
   4:                  Apple_HFS Turkey                  150.0 GB   disk1s4
   5:                 Apple_Boot Recovery HD             650.0 MB   disk1s5
   6:       Microsoft Basic Data WINSTALL                10.0 GB    disk1s8
   7:           Windows Recovery                         561.2 MB   disk1s7

  Note: The identifiers are not is ascending order. Again, a restart will not be necessary.

Format the 10 GB partition FAT32 with the label "WINSTALL". In your case, this was done in the previous step, so you can skip this step.
If the 10 GB partition is not mounted, do so now. In your case, the partition should already be mounted.
Mount the Windows iso file and copy the contents to the "WINSTALL" volume. In my case, the label "ESD-ISO" was used to identify the Windows iso. To perform the copy operation, you will need the enter the cp command from a Terminal application window. Below is the exact command I usually used. If necessary, make the appropriate modifications.

cp  -Rv  /volumes/ESD-ISO/  /volumes/WINSTALL

  Note: This command will take a while to complete. Be patient!

Copy the Windows Support Software to the "WINSTALL" volume. Below is the exact command I usually use. If necessary, make the appropriate modifications.

cp  -Rv  ~/WindowsSupport/  /volumes/WINSTALL

Use the command shown below to rename the AutoUnattend.xml file.

mv  /volumes/WINSTALL/AutoUnattend.xml  /volumes/WINSTALL/NoAutoUnattend.xml

Next, you need to boot from the volume where the Windows installation files reside. Hold down the option key immediately after restarting on your Mac. Release the option when the Startup Manager window appears. Select the icon labeled "EFI boot". Next, select the arrow below the "EFI boot" label.
Open a Windows Command Prompt window, by following the procedure outlined in this step. Below is an image of what is initially displayed by the Windows 10 installer. Select "Next".

In the image shown below, select "Repair your computer".

In the image shown below, select "Troubleshoot".

In the image shown below, select "Command Prompt".

The result should be the image shown below.

Use the command diskpart to finish partitioning disk0. The commands you need to enter are given below.

  Note: Sometimes it can take a while for the diskpart command to produce the first prompt. Be patient.

diskpart
select  disk  0
list  partition

From the output of the command list partition, determine the number for the partition with the type "Recovery". In this example, I will assume the number is 7. Your number could be different. The next command selects this partition.

select  partition  7

The next commands effect the "Recovery" partition. The proper attributes are set. Next, the partition is formatted NTFS and given the label "Recovery".

gpt  attributes=0x8000000000000001
format  fs=ntfs  label="Recovery"  quick

The next command lists the current volumes. Take note of the drive letter (Ltr) for the volume with label "WINSTALL". In this example, I will assume the letter is C. Your letter could be different.

list volume

The command below quits the command diskpart.

exit

Disable the ability to boot from the "WINSTALL" volume. This can be accomplished by entering the command shown below. This will rename the folder containing the boot files. If the drive letter, for the "WINSTALL" volume, is not C, then make the appropriate substitute when entering the command below.

rename  C:\efi  noefi

Enter the command below to start the Windows installation. Again, if the drive letter, for the "WINSTALL" volume, is not C, then make the appropriate substitute when entering the command below.

setup  /unattend:C:\NoAutoUnattend.xml

When the window shown below appears, select the "Unallocated Space" above the "WINSTALL" partition, then click on the "Next" button.

Continue with the installation of Windows 10. If the computer boots back to macOS, goto System Preferences and select Windows as your startup disk. Restart the computer to continue initializing Windows 10.
Proceed until you reach the screen where you are prompted for your region. For the 1709 version (OS build 16299.15) of Windows 10, your the screen will appear as shown below.

For other versions of Windows 10, the screen could appear different. As an example, the screen, for the 1507 version (OS build 10240) of Windows 10, would appear as shown below.

  Note: At this point, prohibiting your Mac access to the internet is generally a good idea. For example, unplug any ethernet cables or disable Wi-Fi access that does not require encryption.

Next, press the control+shift+F3 keys to restart Windows 10 in Audit mode.
When desktop shown below appears, the Windows Support Software installer should automatically launch. If this does not occur, use the Windows File Explorer to open the Windows Support Software application named "Setup". This application can be found in the "BootCamp" folder on the "WINSTALL" drive. After the installer application completes, allow the computer to restart.

Next, boot to the Windows Recovery Environment. Basically, hold down the shift key while selecting to restart Windows.
Navigate to a Windows Command Prompt by following the instructions given below.

In the image shown below, select "Troubleshoot".

In the image shown below, select "Advanced options"

In the image shown below, select "Command Prompt".

After a short delay, you should get an image similar to what is shown below. Choose the Administrator account to continue.

Next, you should get an image similar to what is shown below. Select "Continue".

The result should be the image shown below.

Delete the "WINSTALL" partition and extend the "BOOTCAMP" volume to reclaim the free space. The procedure is given below.

Enter the following pair of commands to start diskpart and list the current volumes.

diskpart
list  volume

From the output of the command list volume, determine the number for the volume with the label "WINSTALL". In this example, I will assume this number is 1. Your number could be different. Also, determine the number for the volume with the label "BOOTCAMP". In this example, I will assume this number is 0. Again, your number could be different.

The next pair of commands selects the "WINSTALL" volume and then deletes the corresponding partition.

select  volume  1
delete  partition

The next pair of commands selects the "BOOTCAMP" volume and then extends the corresponding partition to consume the deleted space.

select  volume  0
extend

The next pair of commands quits dispart and closes the window.

exit
exit

In the image shown below, select "Continue" to boot back to Windows 10.

You will return to the Administrator's desktop displaying the "System Preparation Tool" window. In this window, select "Shutdown" under the "Shutdown options", as shown below.

  Note: Your screen may also include a window labeled "Boot Camp", which  can be ignored.

Next, select "OK" to shutdown the Mac. At this point, you have completed the installation of Windows 10.

  Note: If you prohibited your Mac access to the internet in an earlier step, you may now want to allow access before turning your Mac back on. In other words, plug in the ethernet cable or turn the Wi-Fi back on.

Next time you turn on your Mac, Windows will start in the "Out of the Box Experience" mode. This is basically the way a newly purchased PC starts up, when Windows 10 is already installed.

  Note: When asked, be sure to select an Apple keyboard.

If asked, I can clarify any of the above steps.


The Typing Cat

I like it because:

it's free
fast
gives nice progress
supports multiple layouts (qwerty, dvorak, colemak, workman)
looks good
You don't need to install anything - it's webapp
i'm creator and i'm proud of it and made it as sideeffect of teaching myself Colemak. But I can be subjective u need to try it yourself to verify my statements :)


network computers renamed after Yosemite install

UPDATE 3: Updating to 10.10.4 fixes this problem. In this point release discoveryd is replaced by the previously ousted mDNSResponder.

The originally supplied workaround follows...

There is a bug between Yosemite (the daemon discoveryd) and sleep servers. These servers reside in Apple TVs and Airports and act as a proxy for a sleeping machine. For now the only fix seems to be:

On your computer, go to System Preferences --> Energy Saver, and untick "Wake for network access" (or maybe it is "Wake for Wi-Fi access", I think it depends on your interface type).
Shut down your Apple TV/s and/or Airport/s.
On your computer, go to System Preferences --> Sharing, and rename it as you wish.
Reboot your computer and check that the name change has stuck (a reboot is probably not necessary but I did so for good measure).
Power-up your Apple TV/s and/or Airport/s.

I no longer have the incrementing computer name problem, unless I re-enable "Wake for network access".

UPDATE 1: Updating to OS X 10.10.1 (and Apple TV to 7.0.2) didn't help.

UPDATE 2: Whilst improved, it's still broken in OS X 10.10.3. But the buggy daemon discoveryd has apparently been replaced in the 10.10.4 beta by the previously ousted mDNSResponder. So here's hoping it's fixed in the next release. Source: 9to5Mac.


Mouse jumps to input-bar text when using Google Chrome in Lion

I would start by disabling my chrome extensions and seeing if the problem is related to one of them. The standard behavior of Chrome is to place the cursor into the input bar so you can type a search or url.
You can see which extensions you have by going to "Window" -> "Extensions" or else by typing chrome://extensions/ into the input bar.


As of 10.12, macOS no longer primarily logs to text files.  However, you can interrogate the stored log data using the log(1) command on the command line in concert with the Console application (found in /Applications/Utilities).

For example, to see all log entries generated by the kernel during the last day in old-fashioned syslog-style text, you can do:

log show --predicate 'processImagePath contains "kernel"' --style syslog --last 1d

(You can also use --start and --end flags if you want to restrict the time window more accurately.)

Alternatively, you can collect all logs from the past day into a bundle called system_logs.logarchive in the current directory by doing:

sudo log collect --last 1d

You can then open this bundle in the Console app (this takes a little while), and in the Search field type process:kernel to find all the log entries generated by the kernel.

I suggest a thorough reading of the log(1) man page (as well as the other resources it points to), plus some experimentation.


Why does Finder see volumes which are not under /Volumes?

Finder will show all mounted volumes, regardless of where it's mounted from.

Open up Terminal (from Applications -> Utilities) and type 'mount' then hit enter. You'll get output similar to this:

alex@smiley:~|⇒  mount
/dev/disk3s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk8s2 on /Users (hfs, local, nodev, nosuid, journaled, noowners)

This shows what's mounted, and where. I have a disk mounted under /Users and Finder still shows it at the top level.

This should tell you where those volumes are coming from.

Also, try clicking on one and either cmd-I, or File -> Get Info, to see what Finder thinks it is.


Change the default action to open executable files in the editor instead of Terminal

Run plutil -convert xml1 ~/Library/Preferences/com.apple.launchservices.plist and add an entry like this under LSHandlers:
<dict>
    <key>LSHandlerContentType</key>
    <string>public.unix-executable</string>
    <key>LSHandlerRoleAll</key>
    <string>com.macromates.textmate</string>
</dict>

You can also change the default application for normal files with no extension:
<dict>
    <key>LSHandlerContentType</key>
    <string>public.plain-text</string>
    <key>LSHandlerRoleAll</key>
    <string>com.macromates.textmate</string>
</dict>

You can apply the changes by restarting. Just logging out and back in doesn't seem to work. You could also rebuild the Launch Services database, but it has the side-effect that the warnings about opening applications for the first time are shown again.
Another option is to add something like this to a duti configuration file:
com.macromates.textmate public.unix-executable all
com.macromates.textmate public.plain-text all

To make this question more searchable, here is the error message Finder shows when you try to change the default application for executable scripts:

The operation can’t be completed.
An unexpected error occurred (error code -50).


Stream iTunes music to many PCs and/or Macs at the same time

Get a copy of Airfoil for the sending machine and you will be able to send one audio stream to many devices. You can buy a single use licenses or get a discount if you buy multiple licenses, but the software is free to try and works for 10 minutes to be sure it does what you need.

There are free receiver software for Linux, Windows, Mac, iOS, Android as well as buit in support for AirPort express, Apple TV, and Boxee.


How can I stop the bookmark/reading list from showing up when I hover to the left of the screen in Safari?

It only does that in fullscreen. I don't know of any switch for it.

Personally, I'd just never run it in fullscreen.


MacBook pro mid 2014 with High Sierra and APFS - Overallocation Detected on main device

I would have commented on Peku2455's answer, but I don't have 50 rep. So here is the solution, based on Peku's answer (which is missing the -o switch to fix overallocation)

In Terminal in Recovery Mode (press Command+R while booting, select Utilities -> Terminal):

diskutil unmountDisk /dev/disk0
fsck_apfs -oy /dev/disk0


recover data from FFFFF partition inside an external drive

I managed to resolve that. For those who are interested here is the solution:
Install gdisk with the following command:
brew install gdisk

After that, run gdisk passing the disk that has the FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF.
sudo gdisk /dev/disk3

Then you will be prompted with the following questions. Answer like I did below.
Command (? for help): t
Partition number (1-3): 2 // This is because the partition 2 has FFFF (see question)
Current type is 'Unknown'
Hex code or GUID (L to show codes, Enter = AF00): AF0A
Changed type of partition to 'Apple APFS'

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

After that your volume will not be FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF anymore and you will be able to mount it and get your files back.


I think this is a default - you can double check in System Prefs > Keyboard > Shortcuts > Services…

 Opt ⌥   Shift ⇧   D  will 'Look Up in Dictionary'


How to troubleshoot Network Connect issues?

Have you tried using Junos Pulse instead? At the very least it seems to be better at reporting errors.


Why can't I change my desktop background?

Go into System Preferences->Desktop & Screen Saver. Change the desktop to one of the defaults. Then drag the image file into the window. That should fix it.


When booting using Target Disk Mode, all iCloud, Adobe, Microsoft credentials are lost. Is there a way to keep the credentials?

Here's some clarity for anyone looking. The root cause of the sign in when switching the host is that programs often store their license information x'ord (or otherwise encrypted with) a hash of the host hardware. This means that, when the hardware changes, the previously stored configuration is unrecoverable. I've tried spoofing the MAC address, but all programs I test seem to do a deeper hash using the hardware (e.g. system_profiler). I've found a number of workarounds, though:

Stop using apps from the App Store. While the app store uses this hardware hash technique, many indie programs don't. For those, buying directly works (e.g. Moom)
Where possible store the license information in an un-hashed version. For example, Sublime Text supports this by editing the license file (see https://forum.sublimetext.com/t/st3-license-not-syncing/11738)
I've found that the iCloud sign in behavior stopped when I created my own keychain (not the default login) and set it as default. Not using an App Store apps, and using this new default keychain, I get no prompts to log into my iCloud account on start up

After this, some programs that are still offensive are: Office 365, Creative Cloud, and Mathematica. I ended up finally ditching Creative Cloud - I've long switched to other tools, so the one part that I still use (Font syncing), I just downloaded all the fonts locally.

Overall this is pretty good now. After switching hosts, I get zero dialogs to log in. All my main flows work (Thunderbird, terminal, Sublime). Occasionally I have to log in, but much less of an issue than before.

Hope this helps.


There is no way to block ads using Web Restrictions, so far as I know.

You do have two options for blocking ads, though, which I will explain below.

Note: if you do have an iPhone 5S or newer, you should stop reading and just use Content Blockers, which are by far the most desirable option. However, if you do still sport an iPhone with a 32-bit chip (iPhone 5 or earlier), here are two ways to block ads:

Using a VPN

You can use an app like Opera's new free VPN to block ads and trackers in any app, including Safari. Basically, once you set up their VPN (which is actually free and has no restrictions), all of your internet traffic will be routed through one of their servers, where they remove ad-related content and send the rest to your phone.

Advantages of Opera's VPN:

Ads are blocked in all apps, including Safari.
No cost
Also anonymizes your IP address and secures you on insecure Wifi networks.

Disadvantages of Opera's VPN:

Internet speeds may be slowed considerably (in my experience from 75mbps to 9mbps at its slowest)
Opera can spy on everything your doing, but they're a fairly trustworthy company and probably aren't doing that.

Using a different browser

Your other choice for blocking ads in web browsing is downloading a separate browser app that has ad-blocking built-in. This is the one I would choose, simply because of all the disadvantages of using a VPN. I have used Brave Browser a lot: it's a simple browser that replaces Safari but works just as well (it remembers passwords for you, blocks ads, increases security with HTTPS Everywhere, and works with password managers like 1Password). It's entirely open-source, and made by the engineer who co-founded Mozilla.

Advantages of Brave Browser:

Ads are blocked
No cost
Uses HTTPS Everywhere to increase your security
Can't spy on all your other internet traffic
Works great as a day-to-day browser
Doesn't slow your internet speed like a VPN does

Disadvantages of Brave Browser:

Doesn't block ads in your other apps
Doesn't make Safari ad-free

I hope this guide has helped you, if you have any questions please leave a comment below and I'll comment back.


Macbook Pro Retina 2015 display issue on startup

This is most likely a hardware issue since the weird colours appear before the login screen loads.


Does clean install reset everything, including SMC?

A fresh OS install won't reset the hardware, SMC or PRAM. It might be well worth checking both those are correctly reset before going so far as a wipe & install.

Reset the PRAM first - hold Cmd/Opt/P/R at the chimes & wait for the chimes to happen a second time.

SMC varies per machine, Mac Pro is sufficient to power off & leave the mains plug out for a minute. MacBooks are different - http://support.apple.com/kb/ht3964 covers all the variations.

Extract :

  Resetting the System Management Controller (SMC)

  Resetting the SMC on Mac portables with a battery you can remove

  Shut down the computer.
  Disconnect the MagSafe power adapter from the computer, if it's connected.
  Remove the battery.
  Press and hold the power button for 5 seconds.
  Release the power button.
  Reconnect the battery and MagSafe power adapter.
  Press the power button to turn on the computer.

  Resetting the SMC on portables with a battery you should not remove on your own
  Note: Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009).

  Shut down the computer.
  Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
  On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
  Release all the keys and the power button at the same time.
  Press the power button to turn on the computer.

  Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.

  Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve

  Shut down the computer.
  Unplug the computer's power cord.
  Wait fifteen seconds.
  Attach the computer's power cord.
  Wait five seconds, then press the power button to turn on the computer.


Can I charge a MacBook Air using the Thunderbolt 1 port?

No, Thunderbolt ports cannot be used to charge pre-USB-C MacBooks.

If this were possible, the Apple Thunderbolt Display would surely have shipped with only a single Thunderbolt cable rather than its Thunderbolt + MagSafe hydra:


Make iTunes recognize MP3 audiobooks with ID3 tag

No, there is no documented way to mark MP3 files with ID3v2 tag as audiobooks in a way that Apple products (or any hardware or software player really) would understand. There apparently is also no undocumented way known either.

Although there is a public Github repository, the development of ID3v2 has stalled for over a decade now and should not be expected to be picked up ever again, because more recent container formats, like MOV-based Part-14 MP4, use different metadata formats.


How do I keep the Recovery HD and EFI partitions from automatically mounting on my MacBook Air?

They are hidden partitions in OS X. Showing all partitions in Disk Utility also shows the partitions in the list:

…and diskutil list:

1:         EFI EFI          209.7 MB   disk0s1
2:   Apple_HFS Mac SSD      150.0 GB   disk0s2
3:  Apple_Boot Recovery HD  650.0 MB   disk0s3

They are usually not mounted by default and therefore not shown on the desktop regardless of your settings in Finder.

Try resetting your NVRAM (boot with ⌘⌥PR until the second boot chime).


Is there a way to download a setup file for macOS Sierra on Windows computer and then install later on my mac os

There is probably no legal way to download macOS Sierra on a Windows PC. Non-legal ways (it depends on your country jurisdiction) are either macOS Sierra torrents or a macOS VM transferred to your PC (which requires some type 2 hypervisor like VMware Workstation or VirtualBox) to download the Sierra installer from within the macOS VM.

But: since you own a MacBook Pro, why don't you simply take it to your workplace and download macOS Sierra there?


Will changing my Apple ID affect any apps that I have purchased?

If you have an Apple ID that ends with mac.com or me.com then you probably can't, otherwise this FAQ covers how to change your Apple ID.

Go to http://appleid.apple.com/
Click "Manager your Account"
Login to your account
Click on the "Name, ID, and Email Address" option on the left
Next to Apple ID click the Edit button and fill out your new details.

Purchases are bound to your account, so short of deleting your account you should be fine. (In fact you can still access old purchases by logging into the relevant store with your old account according to the FAQ about Apple ID


On one machine download Yosemite from the AppStore.  When the Yosemite installer pops up you can quit that.  Go to Applications-->Install OS X Yosemite.app and copy the installer app. Then copy the installer to the other minis using your preferred local distribution method (ex. flash drive, ARD, cmd line).


CPU at 100% for a long time - Harmful or not?

100% CPU utilization will not directly be harmful to your laptop.  Heat, however, can be.  Your MacBook Pro does have several internal temperature sensors that will turn on the internal fan and finally halt the machine should it get too hot.  You can see the temperature each sensor is reading by using this free program:

http://www.bresink.com/osx/TemperatureMonitor.html

You should still use some type of cooling stand if possible.  My 2007 MacBook Pro suffered a broken display from what I believe to be a heat related issue.  After heavy use and high CPU utilization the bottom of the display would get very hot.  Then, the screen would start to flicker slightly (but only when the laptop was running hot).  Eventually, the screen had to be replaced.  Using a laptop stand with multiple fans kept my machine running cool enough to prevent the issue from happening again.

Also, you do have some control over how much CPU a process gets.  For that you can use BeNicer, another free piece of software:

http://frozenheads.com/page/benicer


Is it possible to install siri on iphone 3gs?

It is not possible to install Siri. The iPhone 4S is the only iPhone that includes this system-wide functionality. You may have read about the Siri app, which is what the Siri team originally developed before their company was acquired by Apple. This app was available for older iPhohe models. However, when the iPhone 4S was released, the Siri app was discontinued. Hope this helps.


Your dnsmasq daemon isn't properly configured.

Your external resolver is working: all queries to non-dev hosts/domains are forwarded to 3rd-party DNS servers with the resolv-file=/usr/local/etc/resolv-dnsmasq.conf line - in your case the configured file contains two public Google DNS servers.

Your internal resolver doesn't resolve internal names though.

The line address=/.dev/127.0.0.1 or better address=/dev/127.0.0.1 will redirect any *.dev query to the host 127.0.0.1. An internal resolver is not needed then and the internal name server defined in /etc/resolver/dev is useless.

Compare this with the example in the dnsmasq.conf file:

# Add domains which you want to force to an IP address here.
# The example below send any host in double-click.net to a local
# web-server.
#address=/double-click.net/127.0.0.1

Any query for *.double-click.net will be redirected to 127.0.0.1 and to an arbitrary website served at localhost.

I strongly recommend to define a hosts.config file and enter/define all necessary hosts there:

Add a line addn-hosts=/usr/local/etc/hosts/hosts.conf in dnsmasq.conf. Then add a folder with sudo mkdir /usr/local/etc/hosts and create a file hosts.conf

sudo nano /usr/local/etc/hosts/hosts.conf

with the following content:

127.0.0.1   localhost
127.0.0.1   test.dev
127.0.0.1   test2.dev
...

After saving the file reload your dnsmasq daemon.

If you want to use different IPs for your host names e.g.:

127.0.0.1   localhost
127.0.0.2   test.dev
127.0.0.3   test2.dev
...

you'd have to add additional IPs with:

sudo ifconfig lo0 alias 127.0.0.2 up
sudo ifconfig lo0 alias 127.0.0.3 up
...


My understanding is that there is only one desktop synced per iCloud account. I would remove everything from the desktop of an 'about to be connected' mac - so you can manage any clashes.

Add your Desktop and Documents files to iCloud Drive says

  You can organize and combine folders from multiple Macs when you turn on Desktop and Documents on those computers too. After you turn on Desktop and Documents on a second Mac, you'll find its files in folders with the same name as your second Mac inside your original Desktop and Documents folders. Then you can combine your files manually, but iCloud doesn’t automatically merge the files in case you want to keep them separate. Any edits you make are seamlessly updated in iCloud Drive. There’s no need to manage your folders and files again on your other devices.


How do I save ftp.plist file when using sudo nano?

In Finder navigate to /System/Library/LaunchDaemons/ftp.plist

File > Get info Command + i
Tick the "Locked" box

The file should not change now when you reboot.


What should i do when pIctures on my iphone are not rotating when i rotate the device,?

The rotation lock may have been turned on.

To change this:

Double-tap the home button to show the app switcher at the bottom.
Swipe to the right, and you'll see the music controls and the rotation lock switch (the icon at the far left). If rotation is locked, there will be a lock symbol inside the arrow circle.
Tap the rotation switch to unlock it. (The text: 'Portrait Orientation Unlocked' will appear at the bottom).

This has changed with recent (2015) updates. On the home screen slide your thumb from the bottom up to get to the quick settings. On the top right you should see the rotation lock. Tap it and rotate should work again.


iTunes will put an exclamation mark in a circle against any tracks it cannot find the source file for.  It doesn't do it during sync, but if you select all and then Get Info, the ones missing will be flagged.

You could perhaps scroll down & look for that.
View by My Music > Songs if you can't narrow it down to a specific playlist.


Yes, you can see these details with a third party app

Genre
Rating
Track #
Composer
Lyrics
Date Added
Last Played
Last skipped
Play Count
Skip Count

SmartPlaylist on the App Store

SmartPlaylist Website

As of today the app costs $2.99 (in the US App Store). I bought it for the Smart Playlist functionality that I grew accustomed to with my iPod mini/iPod classic.

To see the play count and other statistics follow these steps

Play your desired song in the Music.app
Open SmartPlaylists.app
Tap Menu in the lower left
Select Now Playing
Double-tapping a field like "Skipped" or "Released" will show you the time as well.


What's the difference between alias and link?

An alias contains two pieces of information: a unique identifier of the file it links to, and the path and file name of the file it links to.

If you rename or move a file, and then create a new file with the path and file name that the file originally had, then any alias that linked to the original file now links to the new file.

However, if you rename or move a file without replacing it, and then invoke an alias, the alias is updated to point to the new path and file name, making use of the unique identifier to do so.

A symbolic link, on the other hand, does not contain a unique identifier to a file, and would appear as broken if the file is renamed or moved and not replaced with a file of the same path and file name.

Your choice should depend on which scenario suits you best.


How can I back up my iMac from the Recovery Partition?

Unfortunately you cannot backup the Mac through the recovery partition. However starting the Mac in Target disk mode or booting the Mac from a bootable external drive may allow you to mount the iMac's drive and copy files from it.


That's doable as well.  Paste the text below into AppleScript Editor (find it simply with Spotlight by typing "⌘Space AppleScriptEditor" and hitting the enter key when it's highlighted).

tell application "Mail"

    set theSelection to selection
    set theMessage to first item of theSelection
    set theUrl to "message://<" & message id of theMessage & ">"
    set the clipboard to theUrl

end tell

You can test this by pressing the run button in the editor (with a message selected in Mail). Once you're satisfied, save the script as "Copy Message URL to Clipboard" under either:

  /Users/yourusername/Library/Scripts

or even better

  /Library/Scripts/Mail Scripts

To save it to the Mail Scripts folder, first save it to your Desktop.  Then open a Finder window and do ⇧⌘G, type the path to the Mail Scripts Folder and hit enter to view that folder.  Now drag your newly created script to that folder.

While you're in the AppleScript Editor, you probably want to go ahead and enable the AppleScript Menu for the toolbar so that you can find and run the script easily.  To do this, open AppleScript-> Preferences (⌘,) and check the box labeled "Show Script menu in menu bar". Now you'll be able to access the script easily from

  Scripts menu -> Mail Scripts->Copy Message URL to Clipboard

Reference: Some of the AppleScript displayed above was snipped from a portion of this AskDifferent answer


How to checksum for a DVD under Panther?

It looks like Panther's hdiutil supports checksumming, even if the Disk Utility GUI might not:

hdiutil checksum myimage.dmg -type MD5

(The supported types of checksums are listed in the man page. A common one seems to be UDIF-CRC32. If you use UDIF-CRC32 or UDIF-MD5 the checksums will be calculated separately per partition.)

Or you could always simply use the md5 command:

md5 myimage.dmg


How would I limit per day usage for user with standard access rights to X minutes on macos 10.15?

One solution would be to create child iCloud accounts for each of the individual users.


In my experience, iMessage syncing is not reliable but it does work most of the time. As a result, it's difficult to ascertain a definitive answer. The intended behavior is as you described it and there should be no gap in Mac message history.

However, for me, it doesn't sync 100% of messages all of the time. It does sync most of the time. The other thing that can happen is a time delay. For example, I booted up my Mac after an extended period of having it off and no messages came in. The next day when I booted it up, everything came in.

If most of your messages are not syncing, I suggest disabling iMessage on your iMac and iPhone and then re-enabling it both places.


How to stream only the video to an Apple TV from a Mac?

There are two ways to send content via AirPlay from your Mac to your Apple TV when it comes out of the box. The first is the Mirroring method, found, as you mentioned, in the Menu Bar on OS X and in the Control Centre on iOS. As far as the in-app method goes, the only app that supports that is iTunes. There should be an AirPlay icon at the top of the window to send music and movies to your TV.

There is some third-party software available for sending content via AirPlay, as well. First of all, I have not personally tried these methods, so keep that in mind. The first is Beamer ($15), which can take video files and send them over to the TV. The second is AirParrot ($15), which allows you to mirror content as usual, but it also allows you to have the TV act as a second monitor or to beam over a single app (so you can send any single app over, like QuickTime or a web browser).

Then there is the tried-and-trusted option of just taking a video cable and connecting your Mac that way. I don't know what Mac you're using (might not be so feasible with a desktop) but AirPlay has in my experience always had some latency and picture quality drop associated with it (same goes with the Chromecast and other wireless display technologies I've tried in the past) and just using an HDMI cable should give you a speedy, high-quality output. It's the option I'd choose most of the time.


This is due to how Bash/Zsh is configured to handle comment characters in interactive and non-interactive shells.
Normally, comment characters are not recognized in interactive shells by default, so this behavior is normal.
From the Bash Reference Manual, Chapter 3.1.3 - Comments:

In a non-interactive shell, or an interactive shell in which the interactive_comments option to the shopt builtin is enabled , a word beginning with ‘#’ causes that word and all remaining characters on that line to be ignored. An interactive shell without the interactive_comments option enabled does not allow comments. The interactive_comments option is on by default in interactive shells.

The difference between interactive and non-interactive shells is that in the former, input and output is via the user's terminal whereas in the latter commands are asynchronous (no interaction).  Though you are in an interactive shell, when you start a script, a non-interactive subshell is created.

Interactive Shells (Chapter 6.3)
Command Execution Environment (Chapter 3.7.3)

Though I've referenced Bash in this answer, Zsh is the same.  Chapter 6.7 - Comments reads almost the same:

In non-interactive shells, or in interactive shells with the INTERACTIVE_COMMENTS option set, a word beginning with the third character of the histchars parameter (‘#’ by default) causes that word and all the following characters up to a newline to be ignored.

If there is / was a good reason why the feature was disabled, I would like to understand any reasons.

I hesitate to use the word "disabled" as it's merely an environment variable that sets up the execution environment; it's simply "not set" by default.  There's no documentation as to the reasoning why Apple (ultimately) chose to set it.
I can confirm that in other operating systems I've tested (FreeBSD and Debian), I installed Zsh (v5.8) and in both, the behavior described is the same as it is here - it's not set.  This points to a decision by the Zsh folks that this was their preferred behavior of the execution environment.  As we can't speculate as to why Apple did something, it's even more difficult to speculate why Zsh did/didn't do something and why Apple didn't modify it.  Though it's probably a safe bet that Apple just went with the defaults.


How to repair bootcamp after partitioning for triple boot

Last time when I tries to partition my Mac, Bootcamp got messed up, what I did is boot into the Windows 10 installer (CD or USB). You can download an ISO here, then burn it to an DVD disc or USB drive. Then pass through the language selection screen, when you get to a screen that says Install Now, there should be a button on the bottom left corner saying Repair This Computer (or something like that, I don't have the CD right now). You should get to a screen similar to this, click Advanced options:

Now click on Startup Repair:

Then follow the instruction to fix startup, then you should be able to boot back into Windows 10.

Hope this help.

P.S. This seems like a problem with the MBR when you partition the drive.

If that can't fix Windows 10 startup, you may be having some problems with the Windows partition.


Open the PDF in Preview.
Go to File → Save As… (⌥⇧⌘S)
Select Reduce File Size as the Quartz Filter

Apple recommends this method in the KB article Mac OS X 10.6: Compressing a PDF file.


Set program as default for all openable files on mac

For those who may ask the question in the future, this thread has instructions.

Edit plist
Use an app such as RCDefaultApp

Cheers!


iOS 'convert to pdf' tools produce incomplete conversions

I posted similarly to ipadforums, received a suggestion from twerpoet, and pursued that path to identify some solutions that worked for the above web pages.


How to change password of the .sparseimage encrypted image on El Capitan?

Option 1: Disk Utility
In Disk Utility: select the image in the sidebar, then File → Change Password...
(You must unmount the image before you can reset it).
Option 2: Terminal
In Terminal:
hdiutil chpass <image>

More info: man hdiutil


3 finger tap on word to show spanish-english translation of word

You would have to add the necessary modules to Dictionary.app, e.g. see

http://m10lmac.blogspot.com/2011/12/more-dictionaries-for-dictionaryapp.html


how to find out the start time of last sleep

Actually, something like
pmset -g log|grep -e " Sleep  " -e " Wake  "

is what really gives me a clean timeline of sleep/wake events on 10.8.2. powerd does not log anything about it, at least on my system (10.8.2, MacBook Pro Retina 15).
02/03/13 19:48:37 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:99%)                              26 secs
02/03/13 19:49:03 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:99%)                              27 secs
02/03/13 19:49:30 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:99%)                              26 secs
02/03/13 19:49:56 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:99%)                              26 secs
02/03/13 19:50:22 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:99%)                              26 secs
02/03/13 19:50:48 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:99%)                              26 secs
02/03/13 19:51:14 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:100%)                             1802 secs
02/03/13 20:39:17 GMT-03 Sleep      Maintenance Sleep Sleep: Using BATT (Charge:100%)                           244 secs
02/03/13 20:43:21 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:100%)                             51 secs
02/03/13 21:07:17 GMT-03 Sleep      Maintenance Sleep Sleep: Using BATT (Charge:100%)                           242 secs
02/03/13 21:11:19 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:100%)                             1103 secs
02/03/13 21:29:42 GMT-03 Wake       Wake due to EC.LidOpen/Lid Open: Using AC (Charge:100%)
03/03/13 00:00:26 GMT-03 Sleep      Idle Sleep Sleep: Using BATT (Charge:85%)                                   96 secs
03/03/13 00:02:02 GMT-03 Sleep      Maintenance Sleep Sleep: Using AC (Charge:85%)                              38 secs
03/03/13 00:02:40 GMT-03 Wake       Wake due to EHC1/HID Activity: Using AC (Charge:85%)                        4338 secs
03/03/13 01:14:58 GMT-03 Sleep      Clamshell Sleep to DarkWake: Using AC (Charge:100%)                         48382 secs
03/03/13 14:41:20 GMT-03 Wake       DarkWake to FullWake due to HID Activity: Using AC (Charge:100%)            728 secs
03/03/13 14:53:28 GMT-03 Sleep      Clamshell Sleep to DarkWake: Using AC (Charge:100%)                         415 secs
03/03/13 15:00:23 GMT-03 Wake       DarkWake to FullWake due to HID Activity: Using AC (Charge:100%)            718 secs
03/03/13 15:12:21 GMT-03 Sleep      Clamshell Sleep to DarkWake: Using AC (Charge:100%)                         156 secs
03/03/13 15:14:57 GMT-03 Wake       DarkWake to FullWake due to HID Activity: Using AC (Charge:100%)            834 secs
03/03/13 15:28:51 GMT-03 Sleep      Clamshell Sleep to DarkWake: Using AC (Charge:100%)                         378 secs
03/03/13 15:35:09 GMT-03 Wake       DarkWake to FullWake due to HID Activity: Using AC (Charge:100%)


Could that be that portable phone charger simply takes less power to charge while iPhone requires more?

By the way, with iPhone not charging is it all the same for all USB hubs on your MB? And is it recognised at all by the laptop?


Why does my MBP mid retina 2012 run so slowly when using it's built in monitor?

To force the usage of the discrete graphics card in your macbook you can uncheck the automatic graphics switching checkbox in the system preferences/ energy saver panel

As the message states, this does drain the battery faster.
However, your mac should not behave as you describe, I suggest taking it to a service desk so apple can take a look at it, or call apple to ask why it is so choppy.


I believe the process you detailed in your question is the easiest way to do it.


Is there a way to force clockwise pane rotation in iTerm2 with the shortcut keys?

I posted about this on the Google Groups for iTerm2.  The program author has now added to the program the option to rotate clockwise.


When will the iPad get threaded email messages?

That's one of the features of iOS 4.2, which will be released in November.


How does Apple's two year warranty in Europe work?

It isn't quite correct that "the EU" has forced Apple to abide to these regulations. Rather, an Italian judge forced Apple to abide by Italian law. As a result, Apple has seen the light and adjusted its policies to comply with EU directives across the EU (as it was required to).

EU countries implement EU directives, but generally have some freedom in those implementations. So details in individual countries may differ, although your questions are general enough that the answers below probably apply everywhere.

The regulations that Apple now has to comply with don't provide for warranty per-se. They do make retailers responsible for providing a product that is functional for its expected, reasonable lifetime.

In general:

Yes, the online shop is a retailer, so it is responsible for providing you with a functional product.
No, these regulations apply in the entire EU, and AFAIK all EU countries have implemented them. Apple must comply in the entire EU. However, details of the rules that Apple must comply with may differ in specific countries.
Not really. While Apple serves as a manufacturer and a retailer here, the EU rules specifically apply to retailers, not manufacturers. In addition, AppleCare may provide protections or services that retailers aren't generally expected to provide, or can't (as in your question 4.)
Maybe. Apple may provide this as a service, but it isn't required to. If you bought an Apple item from an EU Apple Store, you can't then require a US Apple store to service your device; it's a different retailer.


You can:

Get a piece of card / paper
Cut it out into an L-Shape and fold the _ of the L in half
Get somebody else to hold the computer up so that the CD drive is facing down
Put the piece of paper into the CD drive from the top and slowly, bring it down
When you reach the bottom of the drive, pull the paper out, gently and slowly.

The SD card should come out. You may have to do this a few times before it works - but it's better to try a few times than it is to pay Apple to fix this.


How do you make the fn keyboard button work like a Ctrl button?

Download and install Karabiner
Open Karabiner Elements and set the Target Device in the dropdown
Map fn to left_control and left_control to fn as below


Is there a way to see who created an event in a shared iCal calendar?

In Calendar (on Mountain Lion), if you right click on the event to view the details, one of the invitees is marked as "(organizer)"


Apple "option" keyboard shortcuts and touch typing

I had a similar issue but solved it in a different way.

I simply "modified" the keyboard layout to the level it suits my needs and uses.

If you press and hold a certain key example "a" a pop up will show me all options for it.

Here is how it works.

Find a file in /System/Library/Input Methods/PressAndHold.app/Contents/Resources   that is your keyboard Keyboard-??.plist (in my case it is called Keyboard-de.plist (German keyboard)

Copy that file to your Desktop (to modify it) since you can not modify the original file.

Open it (it will open in Text mode)

Find for example the "c" it looks like this (and I added the Portuguese ç)

<key>Roman-Accent-C</key>
    <dict>
        <key>Direction</key>
        <string>left</string>
        <key>Keycaps</key>
        <string>C Č č Ç</string>
        <key>Strings</key>
        <string>C Č č ç</string>
    </dict>

now add any "c" accents you like to use (Open the Character Viewer and find it) and just drag it over to the text file.

Once done replace the original keyboard-??.plist file with yours.

Now you have a highly customized keyboard specific to your uses, and no need to remember some finger breaking key combination to get it.


Why are my iPhone 7 charge & transfer contact & cable less and less reliable (keywords: loose / defective contact, slack joint)?

It is just dust in the contact.
There was just dust inside the contact of the iPhone coming from carrying it around. The flat charging cable added to the problem, as it can only press the dust further inside. That is why I think it is a specific iPhone-7-upwards problem which you do not necessarily have with other contact shapes. I noticed at some point that I could not put in the cable completely. Then I got the most of the dust out with a plastic-bristled brush. You could not get rid of the dust just blowing at it. With a very thin kitchen knife I could get a ball of dust out in the end, solving this.
I am sharing this though it might be totally obvious. It took me a month to find out, that is why it might still help someone else.


Why do PNGs with embedded HTML links not open on iPhone and only allow to save as image?

I'm sure that the datatype of IMAGE:PNG isn't set up to have clicks that have hrefs in them isn't set up to be detected and processed in the viewer on the iPhone.

Certainly appears to be a limitation in the image viewing code.

If you could save that image on your iPhone and send to your desktop over email, you could check if the href was being removed somewhere in the process, but I don't see an easy way to make this work.


External sound card, stereo sound to all speakers

Aggregate Device

You can setup an Aggregate Device (Audio Midi Setup > Create Aggregate Device), which allows the ability to combine multiple devices of the same model, or to combine multiple inputs and outputs for apps that don't support separate input and output devices. This Apple guide shows how it works and is surprisingly quite easy to setup.

SoundFlower

Another way to route audio to multiple channels and outputs (up to 64) is with the free app/plug-in Soundflower. You can download a ready-to-use version, or compile the source code yourself if you have the desire to specifically modify the application. Soundflower is really excellent for many things — what is up to you.


How do I backup just a single user account with OS 10.10 Yosemite?

Open Disk Utility application.
From the Menu Bar select "File→New→Disk Image from Folder"
Select home folder of the user account. Click "Image" button.
In "New Image from Folder" window enter:
Save As: Name for .dmg file that will be created.
Tags: Leave blank.
Where: Where to place .dmg file.
Image Format: compressed
Encryption: none
Click "Save" button.
In the "Disk Utility" window, highlight the new .dmg file. From the
Menu Bar select "Images→Scan Image for Restore".

  You now can mount the new .dmg file and access the saved files. You may have to use the chown command to reassign ownership of any files copied from the mounted .dmg file.

Update 1:

Personally, I would preform a backup of a users files while booted to a recovery partition or another partition containing OS X. Using internet recovery would also be preferable.

If you choose to preform a backup while logged into an administrator account, then choose to save the .dmg file to location where the user would normally have permission to save such a file.

For example, say I (davidanderson) open the disk utility and try to backup ronjanzen's files to the default folder /Users, as shown below.

I would expect the following error message, because I do not have permission to create the file ronjanzen.dmg in the folder /Users.

Now, if I choose to save to my Documents folder, then I will succeed.

The other alternative would be to give read/write permission to the /Users folder. If you do a "Get Info" from the Finder on folder /Users, you get the following.

If you modify "Sharing & Permission" as shown below, you will not get the above error message.


Erased /usr/local/bin directory by mistake

The canonical answer, of course, is to restore /usr/local/bin from your latest backup...

The good news is that if that mv command succeeded and created a file called bin, then /usr/local/bin didn't already exist as a directory on your system, and you've lost nothing. Otherwise, hello.sh would have been moved into the /usr/local/bin directory (which was presumably the intention of the tutorial), it wouldn't have replaced it.

This is not unexpected, as /usr/local/bin doesn't generally exist on Macs until you or a 3rd party app creates it. But now you have learned the awesome power of the command line, you know why it's important to keep good backups ;)

Had you mangled /usr/bin you'd need to reinstall the system:

Deleted /usr/local/bin and /usr/bin on OS X

The good news is system integrity protection (SIP) is making it harder to mangle system files with sudo

PS: An easy way to prevent the issue from happening is to always add a trailing / if moving files to another directory (or rely on tab completion wich does the same thing): sudo mv hello.sh /usr/local/bin/. This way you'll get an error message if the target directory doesn't exist.


iPad plugged to charger turns off due to low battery

An iPad needs twice the power of an iPhone to charge.

A phone charger will slowly be able to charge an iPad, but possibly not be able to keep up whilst it is in use & doing intensive tasks.

It's safe to swap them, an iPhone using an iPad charger will not be damaged, but as you see, the other way round, the iPad is not getting sufficient charge.

Even switched off, the iPad may show 'not charging' at the top right - but it actually will still be charging, just very slowly.


How to reset LAN ethernet adapter after switching the network

Use "Locations" in Network Preferences

Create a location for work and another for home.  Next, set up your preferences for each location.  When you switch the location it will automatically reset your adapters and apply the new configuration.


Can't resize APFS Container: Not enough free space in Container due to APFS limits or tidemarks

This is the key part of the error message:

(perhaps caused by APFS Snapshot usage by Time Machine)

You must remove the local snapshots. First, list them:

$ tmutil listlocalsnapshots /

You may wish / need to delete local snapshots one by one from taking the date from the listing above:

$ tmutil deletelocalsnapshots 2018-07-14-211120

You can also thin them based on the amount of space you wish to reclaim by asking for a lot of space back:

$ tmutil thinlocalsnapshots / 9999999999999

Then, you can resize your APFS partition:

$ sudo diskutil apfs resizeContainer disk0s2 750g


If your volume is 'formatted' with coreStorage as a logical partition, reverting might be enough to resurrect the "Erase" tab.
In Terminal run the following command:

diskutil cs list

Note the disk identifier for the logical volume (e.g. on a Mac with only one drive and nothing else attached, it would be something like disk1)

Now try and revert from coreStorage (replacing disk1 with your own found disk identifier):

diskutil cs revert disk1

(you can run this either booted from your usual volume, or the installer disk)

If successful it will be mentioned in Terminal and the "Erase" button should have returned in Disk Utility, when you're booted from your installer drive.
(With more drives connected, make sure the disk identifier is the right one for the logical volume you want to revert)

If you can't successfully revert, make sure File Vault and encryption have been disabled, then try by destroying the whole coreStorage group with this command:

diskutil cs delete lvgUUID

replace lvgUUID with the UUID you found earlier in the diskutil cs list command under "Logical Volume Group".


Gather all windows of an app to one screen

A utility that groups open windows in Mac OS X is called Mission Control. With it, you can also create separate Spaces and organize your open windows into Spaces by simply dragging them. The article below gives great visual examples.
https://support.apple.com/en-gb/HT204100


This sounds like a temporary issue. Can you reproduce it after updating the os and carrier settings?

Can you reproduce it after signing out and back in to iMessage with your appleid?


How do I stop OS X attempting to import photos on each boot?

Connect phone.
Launch Image Capture [in Applications]
Set "Connecting this iPhone opens:" - No application


MacBook Pro Retina Hanging on White Boot Screen

There could be a number of reasons to cause this:

Amount of storage
The age
torrented applications or files.

These are just the main ones, of course there is others. Try cleaning out your mac!

Note: I am not accusing you of torrenting application!


How to backup iPhone without first deleting all data?

Don't worry, you don't loose all your data. You can choose "Set up as new iPhone".

  Nothing gets synced or deleted after clicking this option.

After that, you can backup your iPhone.

Choose "encrypted backup" to also backup your settings and passwords.


Replacement parts for Macbook Air (13-inch, Early 2008) - broken hinge problem?

Maybe replacing the Upper Case will solve your problem. This guide from iFixIt will certainly help you do that.

If you would just want to replace the hinge itself, maybe Step 37 in the guide would be useful?

Check the top of the guide for required parts and tools!


Quick summary: log in to https://appleid.apple.com/ and change your Apple Id from @me.com to @icloud.com

I recently had the same issue (including homekit invites getting stuck as described in this issue HomeKit invitation stuck).
Yesterday I was finally able to resolve this problem after having tried all the obvious things as well (resetting devices, logging out/in of iCloud etc).

Turns out the root cause was some kind of conflict between my Apple Id and iMessage. After taking the following steps everything started working properly again:

Change my Apple Id from @me.com to @icloud.com. You can do this by logging in to https://appleid.apple.com/
Delete my home from the home app on all devices (including family).
Log out of iCloud on all my devices.
Log back into iCloud on my iPhone.
Create a new home and add my homekit accessoiries.
Log back into iCloud on my Apple TV.
Invite my family to the home.


How can I create an entry in the /Applications folder that runs a command in the terminal?

Use Automator which Apple made part of OSX..

Create a workflow

In the workflow choose Utilities/Run Shell Script

Save as changing the File format to application - this will give a .app and choose the directory to be /Applications

EDIT to show the output.
The workflow need sto consist of three steps

1) Text->Create New TextEdit Document
2) The Utilities/Run Shell Script
3) Text->Set Contents of Textedit Document


Loop it in cycle:

In terminal:

while :; do afplay /path/to/song.mp3; done


Those colors indicate that you are in a directory that's writable by others and the sticky bit isn't set.  This is defined by the attributes in the first column: drwxrwxrwx

What this is telling you is that it's a directory, the user, group, and others all have read, write, and execute permissions on the file.  This would be the equivalent of issuing chmod 777 on that directory

In the other volume (WDred) it has the attributes drwxrwxr-x which means it's a directory, the user and group have read, write and execute rights while others can only read and execute (no write permissions).  This is the equivlant of chmod 775.

Permission Attributes

The first character is is the type

-    regular file
d    directory
l    symbolic link
n    network file
s    socket

The next nine characters are the permissions for, in order by groups of three, owner, group, others

r    Permission to read file
w    Permission to write to file
x    Permission to execute file
a    Archive bit is on (file has not been backed up)
c    Compressed file
s    System file
h    Hidden file
t    Temporary file

Colorized output

The color you are seeing is not indicative of the permissions set in the system - it's a customization you control to help you identify things.

You must "ask" for colorized output with the command ls -G (my ls has been aliased to be ls -laGh meaning list, all, color, human readable).

Next and optionally, you must specify your colors in an environment variable LSCOLORS which would look something like this

export LSCOLORS="exfxcxdxcxegedabagacad"

Each attribute has a pair of letters; the first one being directory.  The first pair is directory foreground and directory background.  ex would be blue with the default background.

There's an excellent LSCOLOR Generator to see what the colors look like "live"

For a full description of what the colors are and how they are tied to attributes view the man page for ls (man ls) and look for the LSCOLORS section.


Try this,

http://www.mediarover.com/

Haven't tried it myself yet but looks like it will give you exactly what you need.

EDIT:

Script Method: http://guides.macrumors.com/Keeping_2_iTunes_Libraries_in_Sync

I actually use this technique myself.

Creates a "carbon copy" of a library on another machine which you can then sync to reflect changes.

Works best with two Macs, never tried it with a PC.


This is not possible if your iPhone is not jailbroken.

If your iPhone is jailbroken, then there are a couple apps that let you disable the passcode on the lock screen when you are connected to your home (or any trusted) WiFi:

AutoProtect
CleverPin


Pipe Terminal Output To Notification, If Output Contains Specific Phrase?

If I understand you correctly, you can access the output of your scripts. Then you can do something like this:

#!/bin/bash

# Replace the echo with your script
echo "space cats" | grep "space cats"

if [[ "$?" -eq "0" ]]; then
    osascript -e 'display notification "Attention!" with title "Notification" subtitle "I found space cats" sound name "Submarine"'
fi


Unexpected error when installing OS update in OS X

The Console.app found in the Application -> Utilities folder (or Other folder in Launchpad)  gives you access to the logs for the machine.

Under /var/log, the file named install.log (and any variants named install.log.x.bz2) will give you the information about the last install.

Note the files named install.log.x.bz2  are older versions of the same file created duting a process called rolled over when the file size of the current install.log file reaches 1000K

You need to search your install.log for the string "OSXUpd10.8.2Supp.pkg" which will give you an idea of what happened during your install.

Update: From your log file, it would appear that your have a Kernel Extension that is causing this issue.  Either it has a permissions problem, or is somehow causing this annoying issue.

can you paste this line into Terminal, and post the results?

kextstat -kl | awk ' !/apple/ { print $6 $7 } '

Update 2: This would appear to be at least a trial and error solution. There are multiple threads on the Apple Support forums, from installing 10.8.2 to installing Xcode.  Each one has different people each having issues with different kernel extensions that when removed resolved their issues.

I'm afraid I don't have any way to determine which of your kernel extensions is the cause; someone else may be able to shed more light.  I would however expect the Virtual Box and Parallels extensions to be fine, not the least since I have them both also, but that this issue would be more widespread if they were the issue.

Finally: the manual for kextcache advises that using the touch command on /System/Library/Extensions/ forces the kext cache to be rebuilt.  You could use this as a method to determine which kext is causing the issue by uninstaling each in turn, performing the cache update and checking the logs to see if the cache was updated successfully.


Can Mac OS lion and Win 7 (Vmware Fusion) Access Fat32 Partition?

Is it possible? Yes

Based on your comment, why?

VMWare Fusion runs Windows 7 virtually. Therefore you don't need a partition for it, the OS will simply be installed in a Virtual File on your current HDD, which will grow based on how much space it is using up to the maximum set when you created the virtual machine. Fusion only allows you to use a partition if your using Bootcamp to run Windows already.

Furthermore, Fusion allows you to share folders on your OSX drive with the Virtual Machine directly, without needing to format a partition beforehand, and can also write to your OSX drive natively.

Remember, you are basically running both operating systems at the same time, and Fusion, like Parallels, completely integrates and shares between the 2 operating sysems seamlessly.

What you are referring to in your question is dual booting using Bootcamp, where you can only access one operating system at a time, and no sharing is done.


Migrating iTunes library when replacing the hard disk

The simple answer is iTunes has really only stores two types of data:

iOS backups
playlists, ratings, music, books, apps, movies, etc...

If you don't just want to plug in your iPad and other iOS devices and transfer purchases, then you'll want a $8 drive connector to connect your old drive as an external to bring over the media, the backups or both. Yu can also get these files from time machine or other backup (offsite or local)

Even after swapping the old drive, you can still start iTunes pointing to the old backup library and run / restore or export parts of the library playlists and move over just part of your library.

It really depends on what exactly your setup involves (sync data over USB like calendars or photos) may require you to migrate some other data or watch/control the first sync to ensure your iPad doesn't lose unintended data.


Recovering data from an Encrypted iTunes Backup that's missing the Manifest.db

Unfortunately, part of the encryption keys (one for each individual file) is stored in the Manifest.db. The backup password is used to unwrap (unlock) those keys with some more parts from the Manifest.plist, but doesn't help derive the missing key parts. I wish I had better news, but an encrypted backup missing either one of those Manifest files isn't decryptable.

Just to make sure, is there a subfolder inside the backup named "Snapshot"? If so, we should triple-check for the Manifest.db in there.


Someone has supposedly used a clean up app on my iPhone & iPad.

That would be you. Where did you install the app from? Is your phone jailbroken with strange apps installed from random websites?

  My name was in my contact list. Clicked on it & found my email accounts & Twitter.

That's normal. you are supposed to have a record in Contacts that identifies you.

It is highly unlikely that your phone has been compromised. You may remember recently that the FBI had some difficulty getting into one. Malware is basically non-existant on the iPhone platform.

However, it is quite likely that your iCloud account has been compromised if you used poor passwords ("Karen1234", "P@ssw0rd" and so on.)

  He has been linking all my accounts, apps, etc.

Who is "He"? A google technician won't do that. Someone pretending to be a google technician might try in order to get access to your account.

Big question: have you told your account password to anyone for any reason? If yes, change it now. And don't do that again.


Server.app and importing a Let's Encrypt Certificate

Private keys in the keychain have an Access Control List (ACL) attached to them. You can edit this list using the Keychain Access application.

Open Keychain Access and select the System Keychain
Select Keys from the Category picker in the sidebar
Find and select the Let's Encrypt private key
Hit cmd-i (or double click) to open the viewer
Select the Access Control tab
You may have to authenticate
Click the "Allow all applications to access this item" radio button
Click the "Save Changes" button.

Then restart Server.app and try setting up the Services again.


I've found an old question on Superuser that may help:

  I found a preference that might do the trick:

sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount

  AutomountDisksWithoutUserLogin true

Please report if it helps


When changing email address associated with Apple ID, does this create new imessage account?

When you change your Apple ID - the actual text you enter before you enter your password - then it is similar to changing your telephone number. So, yes you have a new account at that point with respect to people messaging you.

Yes, the bill still comes to you and it rings the phone you used to have, but people need to discover or be told your new "digits" before they can "call" you.

Now - there are two qualifications:

If your Apple ID is @mac.com or @me.com (or otherwise Apple provided), you can't change your Apple ID.
If you use an iPhone and have a phone number associated with that Apple ID, you may have to turn off receiving messages from that phone number temporarily or permanently if people are sending you iMessages to that phone number and it then gets directed to your new Apple ID. The good news is the new ID doesn't leak to the senders when they send you a message. The bad news, you could leak the new Apple ID if you reply and your "caller ID" for iMessage is your Apple ID instead of your phone number.


Always show mobile version in safari OS X

You have to enable the Develop menu of Safari, then you can choose your user agent.


Which adapter is best on last Macbook Pro 2016 for Thunderbolt 2 dual monitors?

You can do that with for example a Thunderbolt 3 dock (or Thunderbolt 2 dock if you have an older one). Models from Belkin, OWC, etc. allow you to plugin the two monitors, your USB device, charger and audio into the dock and only have a single cable going into the new MacBook Pro.


socketfilterfw and repeating error messages

The program causing the error is WiFiSpy, see here: https://itunes.apple.com/de/app/wifi-spy/id541505649?mt=8


Push photo from MacBook to iPhone via USB

Any USB file transfer application should do that. What works for me is using TDownloader [Free, appstore].

Go to iTunes (on your Mac) then click on your iPhone > Applications and scroll all the way down to "file transfer".

Then, drag your photos to the application's folder and you're done.
The only thing left would be to go to the App and save those photos to the Library.

I have been looking for a more simple way for long, but until now that's all I've found that's reliable.


Will it Work?.. Download querry for ipod

Yes, once you have authenticated with Apple the download will continue just fine even if you log out while it is running.


How can I get right-size this column to show entire filename?

Just double clic on the separator between the columns ;)


How can I add Trash icon to the sidebar in Mac OS X Lion?

First, open the trash can by clicking on it in the Dock.
In the Finder, press Command-shift-G (go to folder) and go to ~/.Trash
In the Finder window for .Trash, click the proxy icon in the title bar of the window and drag it to the sidebar.
You then have a trash folder in your sidebar.

To empty the trash from the sidebar, open Automator and create an application.
As the sole action in the application, select "Run AppleScript" and use this AppleScript:

on run {}
  tell application "Finder"
    empty the trash
  end tell
end run

Save the application as "Empty Trash", and drag it to the sidebar.


Require Admin level to mount removable media or network attached storage device

The traditional manner for locking down Macs was to use the MCX framework and Apple is in the process of removing that and moving to Profiles to control this sort of thing.

Both have mechanisms for limiting access to storage - internal, external, etc…

I would recommend you learn about Profiles since MCX has been on the way out since Lion arrived and should be considered for legacy OS and hardware at this point.

Here are two articles to get you started so you can decide what tool you might want to use for the job:

MCX: Client Wrangling 101
Mountain Lion Profile Manager documentation

You might also decide to get some software that helps automate the creation, distribution and most importantly, the reporting of compliance on an ongoing basis, but you could get started with one license of Server and a single Mac to test whether you want to use Profiles or find another solution for your Mac management.


Photoshop CC not responding when opening a 2MB PDF file

I'm using PhotoShop CC 2014 under Yosemite on a 2012 MacBook Pro. I'm not seeing an issue, even testing with a 5MB PDF.

One thing to consider is that the PDF file is corrupt. To check this, try loading some alternative PDFs into PhotoShop.

Instead of drag-dropping the PDF onto the Dock icon, you can also try either of the following:

Right-click the PDF, then choose Open with >> PhotoShop.
With PhotoShop open, drag-drop the PDF from the Finder window to the PhotoShop window.


If you just flip the function?

Enable F keys.

Now use fn + Volume keys.


How do I find the version number of system libraries in different versions of OS X?

To answer the specific question, in newer releases, libcairo is part of cairo, which is part of XQuartz rather than the Apple-supplied X11 installation. You can find out the supplied version by checking the page for the release in question - for example, here for 2.7.7.

As has been answered by Mark, the Apple Open Source site provides listings of all of the open source software included in each release.


MySQL and server settings when upgrading Mac Pro from 10.6 to 10.7

MySQL, as well as the databases, is still there and working after upgrading. This said, all the settings, php, mysql, apache, virtual hosts, where resetted to the default. Very annoying I have to rebuild all my development environment.


Is there any way to disable APFS local snapshots?

With macOS 10.14, it appears not to be possible to disable local snapshots.

You can remove local snapshots using a method documented in Apple's About Time Machine local snapshots support document:

  How local snapshots use storage space

  You don't need to think about how much storage space local snapshots are using, because they don't use space needed for tasks like downloading files, copying files, or installing new software.

  Your Mac counts the space used by snapshots as available storage. Even so, Time Machine stores snapshots only on disks that have plenty of free space, and it automatically deletes snapshots as they age or as space is needed for other things.

  If you want to delete local snapshots manually, turn off Time Machine temporarily:

  Open Time Machine preferences from the Time Machine menu  in the menu bar. Or choose Apple menu  > System Preferences, then click Time Machine.
  Deselect "Back Up Automatically" or click the Off/On switch, depending on what you see in Time Machine preferences.
  Wait a few minutes to allow the local snapshots to be deleted. Then turn on Time Machine again. It remembers your backup disks.

See also the Apple forum discussion Disable local snapshots in High Sierra with APFS.


The Kindle app on my iPhone 4s isn't downloading books

You say it suddenly started working again?

My best guess is that it was caused by GoDaddy's DNS servers going down.  This has caused generally odd behavior across the internet as many sites and URLs were 'forgotten' temporarily.  Many sites became unreachable.

There's a chance the Kindle downloading mechanism relied on an address that was affected.


Setting print size preset in AppleScript

If I say anything that you already know I apologize.

It all starts with your printer capability.

Does the Canon supports that size?

Open a app like TextEdit and use the "Page Setup".

Now select your printer and select the print size if available. If not available use the Manage Custom Size and add new size (+) and the dimensions.

Example:

Set it up:

Now go to Print (in TextEdit) and select the Printer & Scanner preferences and select default size.

size


The answer to this question used to be "install Perian", and although that still works and provides many great codecs for Quicktime (and therefore iTunes), it's discontinued.

Give it a go, it's always worked really well for me.