How can I retrieve a deleted iMessage if using iMessage in iCloud?

There is no web interface to view or undelete or recover data for messages. Some data sources do have this at https://www.icloud.com/settings/ so you might check that periodically in case it gets added in the future.

Any device backup to iCloud or to a computer (iTunes / macOS / Apple Configurator) would be your best bet if you don't want to pay a forensic data recovery specialist or general data recovery company to try and recover artifacts from the storage on iOS.


Can't restore disabled iPhone because not enough disk space

When connecting it to iTunes, I would choose to set it up as a new device, rather than restoring from a backup.

Once you've done that then do the restore on your iPhone from the backup you wanted to use.

NOTE: Ensure that you do not do a new backup of your iPhone 4s before doing the restore. You may want to make a backup of your iPhone 4s backup before you begin, just in case. If you're not sure of where the backups are located, refer to this article.


Quicktime makes movie recordings and is free / included with all Mac OS X. From your requirements I would start there and ask again if you run into issues.


ZSH prompt issue : commands shifted to the right on one hundred space characters when doing completions, i.e using TAB key

To be candid, I think your making this prompt overly complex and attempting to introduce additional, complex "layers" to what's supposed to be a simple prompt is having unforeseen and unpredictable issues.

In my previous answer to your related question, which what you based your slash_color function on, I cautioned against this from a usability standpoint.  In the comments, I mentioned that I wasn't amenable to putting a function within a prompt for security reasons.

Ok...disclaimers are out of the way.

My first observation is that you have a newline character being generated by awk.

So, in your prompt, you're telling it to output a new line in something that's supposed to be contained to a single line.  I don't now how PROMPT handles things within ZSH, but I doubt it handles new line chars very well.

Secondly, you seem to be mixing up all the different things that ZSH, awk, and functions in general have to deal with.  I'm still a bit foggy as to the actual logic here, but it seems like you're trying to push "normal" escape codes through two layers of functions within ZSH by using their color conventions and ZSH's loadable modules.

  Could anyone take a look please at the 2 links that I gave above, it could contain the solution in my case?

Why?  What in those links lead you to believe that?  The first link is about variable expansion within the prompt.  The second show you how to colorize your prompt using both escape sequences and the preferred braces method in ZSH.

I believe the issue is the over-complexity.

You're shoehorning a function that not only has the ANSI escape codes, which are supported, but calling another function that creates a pipe, which means it creates a sub shell to call yet another function!  (This is what I was referring to re:  layers and complexity).

This is why I suggested using precmd().  Not only can you nest functions, but you can call multiple functions and then generate your prompt.  I advise you to explore that more and not fixate on PROMPT being the sole method to skin this cat.

My other piece of advice is to articulate what you'd ultimately like to accomplish and post that as a new question because there's probably a solution you're not aware of.  IMO, this sounds like an XY Problem


Is there any way to get OS X to keep the iOS Simulator icon in the dock across Xcode upgrades?

SimPholders2 looks like what you want, can't prove it until next Xcode update, though.


SBProfiles will let you set up profiles for lots of settings on your phone - including sound and vibration. Here's a YouTube video:

http://www.youtube.com/watch?v=DlGjZ6UACFs

Intelliborn once had an app called MyProfiles (http://intelliborn.com/myprofiles.html) but it has been discontinued and only works on iOS 4


iphone not recognized by USB (and itunes) by macbook pro

I recommend selling MAC products. This was my "solution". Never had any more issues.


it might be that you have to allow less secure apps to connect to your gmail account: https://www.google.com/settings/security/lesssecureapps

more details:https://productforums.google.com/forum/#!msg/gmail/LhWVrYZc_Eo/5EMpldFUC3wJ


iPhone4 can't access iCloud after upgrade to iOS 7.0.2

Settings > Restrictions > Allow Changes > Accounts

If disallowed FaceTime appears as you said.
I had the same problem and in looking for the solution managed to figure it out.


I got it working.

It requires a bit of messing with mosh, so try it first with the current version before hacking with your installation of mosh. Leave a new answer or a comment if this starts working with the latest versions of mosh please.

First, on both the client and the server, install the latest version of mosh: brew install --HEAD mosh.

Then edit the mosh file ($EDITOR 'which mosh' (use backticks instead of single ticks)) as specified here: https://github.com/keithw/mosh/issues/81#issuecomment-57074800
I made the change on both the client and the server.

Then execute mosh -6 your_server if you followed Rnhmjoj's suggestion, or mosh -6 your_server.you_magic_number.members.btmm.icloud.com


Looks like you are doing everything right. Auto logout will only work for the user that is currently logged in.

The easiest way is to reboot the system. Either automatically at night or if you need to get the system under control quickly.

I found this discussion on the apple support boards (https://discussions.apple.com/thread/1402679?start=0&tstart=0) that advocates using Activity Monitor to kill the process.

Or go hardcore and write a script that will occasionally kill all processes of the kids users:

killall -u username


Locations to switch between WiFi and Ethernet

The issue may be the order in which your Mac is looking to connect to a network. You network preference pane should list options like these for connecting to networks:

First check what the status is for your ethernet connection. Mine says "Cable Unplugged" because it is. If your says it is plugged in, but your connectivity is still via Wi-Fi, click the gear icon below that list and select "Set Service Order":

You'll then get a list like that allows you to reorder your network connections:

Simply drag "ethernet" to the top and that should solve your problem.


When using a redeemed code through Volume Purchase, who owns the copy of a B2B app, ultimately?

Here is the relevant excerpt of the iTunes Store Terms and Conditions:

https://www.apple.com/legal/internet-services/itunes/volume/us/terms.html#VOLUME

  CONTENT CODES

  [...] YOU UNDERSTAND AND AGREE THAT THE OWNER OF THE
  REDEEMING ITUNES ACCOUNT WILL BECOME (i) FOR AN APP STORE PRODUCT, THE
  LICENSEE OF THAT COPY OF THE PRODUCT; AND (ii) FOR AN IBOOKS STORE
  PRODUCT, THE OWNER OF THAT COPY OF THE PRODUCT, AND SHALL BE ENTITLED
  TO ALL ASSOCIATED RIGHTS. SUCH LICENSES OR PRODUCTS ARE
  NON-TRANSFERABLE.

for short: only managed distribution retains ownership!


With the zsh, the (very sane) default is to error on globs that can't be expanded to existing files. In other shells, the usual default is to leave the glob untouched (which may or may not be the right thing to do depending on the command - and it may very well be a very wrong thing to do). I suspect your Linux configuration has this overridden somewhere to follow the behaviour of other shells.

If you're using zsh on both shells, IMHO the best option would be to qualify globs that are allowed to expand to nothing using the (N) qualifier:

% echo .zshc*
zsh: no matches found: .zshc*
% echo .zshc*(N)

%

Of course, you can change this behaviour globally. Pick whichever of the following most suits your needs:

setopt nullglob # all globs can expand to nothing
setopt +o nomatch # leave globs as-is instead of reporting error


(Jailbroken) iOS 7 stock apps missing on springboard

It's a Springboard glitch where the apps aren't shown.

Install (or reinstall) a tweak in Cydia, then respring.
Delete /var/mobile/Library/Caches/com.apple.mobile.installation.plist then respring.
Run uicache as mobile, then respring.


Media keys not working for iTunes high Sierra

It seems that with High Sierra Apple is trying to detect which application should be controlled by the media keys. They work fine until you use something (e.g., a browser other than Safari) and the system get confused.

This can be fixed with an open source application: BeardedSpice

  BeardedSpice is a menubar application for Mac OSX that allows you to
  control web based media players and some native apps with the media
  keys found on Mac keyboards. It is an extensible application that
  works with Chrome (Canary, Yandex, Chromium) and Safari, and can
  control any tab with an applicable media player.


Quicktime: Grey background upon resume in fullscreen mode

This is an annoying bug in QuickTime Player. There isn't much you can do about it, I'm afraid.

Closing and then reopening the file usually fixes it, but if it doesn't you can try logging out and then back in.

If QuickTime gets so 'confused' that it can't open properly, quit using cmd-opt-q to prevent it from saving what's open. That should allow you to open it up and try again.

As always, file a bug report on the Apple website.


How to enable/disable auto AirPod switching on phone call?

Finally figured it out. It was an accessibility option.

Navigate to Settings > Accessibility > Touch > Call Audio Routing
Select "Automatic". This will only use the AirPods when they are connected to the phone. I had it on "Bluetooth Headset".


Is fine volume adjustment possible in OS X Lion?

You can do precise volume adjustment with AppleScript, controlled on a scale of 0 thru 100.

set volume output volume 0 --mute
set volume output volume 100 --100%
set volume output volume 27 --27%

You can get the current volume (also 0 thru 100):

set currentVolume to output volume of (get volume settings)

So, you can write a little script to increment the volume by 2% (approximately what one quarter square used to be):

set currentVolume to output volume of (get volume settings)
set volume output volume (currentVolume + 2)

You can make one for decrementing by changing that plus sign to a minus sign:

set currentVolume to output volume of (get volume settings)
set volume output volume (currentVolume - 2)

If you want to get the volume sound like usual, add the following line:

do shell script "afplay /System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/volume.aiff"

You can save this as a script or app, and bind it to a mouse or keyboard button (if your driver lets you), give it a keyboard shortcut (as a Service or with another app), or put it in your menu bar (with an app like FastScripts).


How do I get rid of photos labeled "My Computer" on my iPhone?

If you're on a Mac, I'd sync with 'Image Capture' instead of 'iTunes' to delete any unwanted photos.


Dual (DVI) monitor setup for MacBook Pro 15" (Retina mid-2015)

You'll want to purchase 2 mini-DisplayPort to DVI cables. Connect the DVI end to the monitor and the mini-DisplayPort into the Thunderbolt ports on the MacBook Pro.


Why do my internet browsers stop working?

The first step in narrowing this down is to look at the crash log and the event log in Console.app (under /Applications/Utilities) to look for relevant error messages.

Usually it is a dns related error, but if that doesn't work, then run the network diagnostics to make sure it isn't just a web browser issue.


In the "Inspector" on the "metrics" tab click "Original Size".

And for inserting images I prefer from the menu "Insert" and then "Choose..." or ⇧+⌘+V


Which files are transferred when using Transfer purchases from?

You are right about iTunes showing great signs of strain. It was designed for a pretty simple task that now overwhelms it with too many functions - it's very un-Mac like due to how long it has taken Apple to kill it and reinvent all the jobs it does with better tools.

Now - transferring purchases was really simple in iOS 7 and earlier. There was no family sharing, there was no app thinning, there was no just in time downloadable resources, iBooks wasn't a separate app that can complicate things.

I'll try to explain how to make use of the tools, but you will probably spend some time trying things out and changing your workflow to accommodate the tradeoffs that were made in designing iOS and iTunes.

Each class of data has a "sync source" so you could for instance, sync iBooks from Mac A, Apps from PC B and songs from Mac C. You are right that iTunes is designed to wipe old content from a previous sync source before switching to a new source. You can usually transfer or back things up, accept the wipe and then proceed, but I've seen cases where you literally have to go get things again in this case. Especially when you don't sync with multiple computers and instead software bug resulted in the system thinking the same iTunes was a different iTunes.
You can get around this a little with a good backup - but pay attention to iCloud settings since if you skip backing up some things, you still have to re-download them.


If you hadn't written to it, you might have had a chance.  No chance, now.  Restore from your backup.


Air Sharing HD supports browsing SFTP (among many other protocols, but not NFS) and works well. It's the best iOS file browser I used up to now.


How to download files which are not dmg files to Mac applications?

There is no general answer to this, it depends entirely on what is in the download.

In the particular case of the Stanford NLP download that you mention the zip contains resources for a Java developer to use when building a natural language processing program. It does not appear to contain anything that you can run without doing some Java coding.


How do I report a spam/fake radio station in the list of iTunes internet radio?

You can use http://apple.com/feedback or contact Apple Support for the iTunes store to register that opinion / information about their music service.


Are you sure you have the correct permissions for the files you are trying to delete? Deleting from the Finder and deleting from the Terminal prompt are vastly different things that each may use different permissions (ACLs versus Unix-like permissions).

Right-click the file in the Finder, and select Get Info. Then, click the triangle next to the Sharing & Permissions panel. Make sure you have the permissions you need there (i.e., "Me" has Read & Write).


How to take datas from apple time capsule

Try the Browse Other Backup Disks-Option via pressing the Alt-Key and clicking the TimeMachine-Icon in the Menubar as stated in the TimeMachine-FAQ.


With MPEG-4 you generally mean H.263, the predecessor of H.264. It has lower compression and therefore lower image quality at same bit rate.


OS X Text Replacements sometimes not working?

From what I can test empirically here, the text replace function handles 'letters' differently from 'other characters'.

For instance, I can replace ## with € in the middle of a word, yet I cannot make qq do the same thing, it demands either a space, or for me to click on the confirmation box that springs up.

I'd perhaps suggest as a workaround, use a less letter-like trigger.
If it doesn't spring a confirmation box, then it will replace mid-word.
!! @@ ££ $$ etc all work just fine.


How to configure a MacBook so that it keeps a static IP-address when disconnected?

Open Applications -> Utilities -> Terminal
Enter the following command: sudo ifconfig lo0 alias 192.168.1.100
Type root password
Quit Terminal


Is the app store review process shorter for apps that passed the Test Flight Beta approval process?

No, at least there's no proof that going through TestFlight first will shorten the App Store review process.

TestFlight only performs a cursory evaluation and not a larger review that's required for the App Store.  Apple indicates that TestFlight is way to "improve your app before submitting it to the App Store for review."

However, Twitter and developer forums are full of examples of apps that passed TestFlight and failed App Store review.  I often recommended developers use TestFlight to catch the 'low-hanging fruit', simple items, that cause review rejections.


iPhone 4 car kit for sound and video recording, and charging

Xtand Go iPhone Car Mount

http://www.xtand.net/xtandgo.html


Why is there a hosts.equiv file in my /etc folder?

If you are concerned that a file isn't installed by Apple then check the package receipts-

pkgutil --file-info /private/etc/hosts.equiv
volume: /
path: /private/etc/hosts.equiv

pkgid: com.apple.pkg.BSD
pkg-version: 10.6.0.1.1.1249367152
install-time: 1324303327
uid: 0
gid: 0

mode: 644

You can then check the BOM file-

lsbom /private/var/db/receipts/com.apple.pkg.BSD.bom | grep hosts.equiv
./private/etc/hosts.equiv   100644  0/0 0   4294967295

Note the last 0 is the file size and the last field is the check sum of the installed file. Now check the check sum of the file-

cksum /private/etc/hosts.equiv
4294967295 0 /private/etc/hosts.equiv

Note the check sum is the same as what is recorded in the BOM file and cksum reports the file size as zero bytes.


Calendar gives error for Gmail Account: 403 CalDAVAccountRefreshQueueableOperation

I'm having the same problem. I'm also operating Yosemite (10.10.5)
Saw the solution below for Sierra elsewhere, but it didn't work for me.
+++++++++
This problem appears to be caused by corrupted Calendar caches and it occurs in macOS 10.12.2 Sierra as well.
The easiest way to get rid of this problem is to:
Quit Calendar
Open Activity Viewer and Quit "CalendarAgent"
note, using QuickLook on any calendar item in the Finder will
relaunch CalendarAgent which needs to be not running at step 3
Delete ~/Library/Calendars/Calendar Cache
Delete ~/Library/Calendars/Calendar Cache-shm
Delete ~/Library/Calendars/Calendar Cache-wal
Launch Calendar
Calendar will read the information from the surrounding data folders and files in ~/Library/Calendars/ and recreate the caches cleanly.
If for some reason the files listed to delete re-appear before you launch Calendar, it means something is triggering the system calendar operations. Try quitting all of your applications and starting at step 2 or logging out with the "Reopen windows when logging back in" unchecked, then logging back in.
++++++++


Creating a new iPhone contact from an email in a specific address book

Unfortunately, there is no built-in way to do this. However, there are some third-party apps that fill this gap. A free one that I've tested and works is OrbiContacts. The interface isn't especially pretty, but it does work.


There should be a checkbox saying "Backup automatically".

Uncheck it.


How can I make a bootable Windows 7 USB in OS X Lion?

You need a install ISO image downloaded from Microsoft and a USB flash drive with 4GB or more.

Per the offical Bootcamp Guide for Lion by Apple (see page 4):

  You may be able to install Windows 7 with a USB flash drive that contains a Windows 7 ISO image downloaded from Microsoft. To check whether you can do so, open Boot Camp Assistant, click Continue, and see if the option “Create a Windows 7 install disk” is available. To install Windows 7 with a USB flash drive, you need the following:

  An ISO image of Windows 7 Home Premium, Professional, or Ultimate downloaded from Microsoft.
  A USB flash drive with 4 GB or more.
  Boot Camp Assistant erases the flash drive, and copies to it the Windows 7 ISO
  image and software drivers that let Windows work with your Mac hardware.

  To see how much free space you need on your disk for Windows, refer to the documentation that came with Windows.


Does FileVault encrypt the disk instantly?

You have a new Mac with an SSD and T2 chip so all data on it is encrypted always. Any election you make in FileVault just adds and removes user keys from the trust chain so that happens basically instantly. However, when a FileVault credentialed user isn’t created, the system unlocks itself so the encryption door is always wide open.

The next time you restart, the system will notice that the first per-user key is now active and change the boot process so that the system won't unlock that storage and start the OS until your key unlocks the storage. Keep in mind, FileVault by default on APFS is all or nothing. When you unlock the storage, any account can read any files it has permission and you need your password to keep other users (guests) off your files and session.

You can inspect this by looking at diskutil apfs list to examine each  APFS containers and synthesized volume encryption and lock status.

mac:~ me$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         250.0 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Mac                     191.7 GB   disk1s1
   2:                APFS Volume Preboot                 65.4 MB    disk1s2
   3:                APFS Volume Recovery                1.0 GB     disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4

Be sure to restart your machine and test the guest session scenario again. Only a full “Guest account” that’s set up in user preferences will keep your data marginally protected when you have an unlocked / unencrypted synthesized Macintosh HD boot / OS / user volume.


How do I route internet through local PPP connection I have on PTY terminal?

pppd automatically registers the PPP network interface upon successful registration!
From my experience performing this on OSX Mavericks 10.9.1, the /etc/ppp directory starts out empty.
Populate /etc/ppp
I had to populate it myself, and I did so from my Ubuntu installation which was already configured properly. These are the files I happened to import based on my needs:

/etc/ppp/options
/etc/ppp/pap-secrets
/etc/chatscripts (optional) - you only import this if you are using one of these chatscripts yourself.

Delete Default Route before running pppd
It might help to remove the default route before running pppd to assist in enforcing that the PPP connection becomes the default connection to the internet:
note: I found this more of an issue on my Ubuntu installation, but haven't had to this on OSX. Still here are the commands:
OSX command: sudo route delete default
Other Linux:     sudo route del default
When you disconnect pppd and reconnect your regular internet, the route will be restored.


MacBook Pro 13Retina -- dropped and screen won't work

You've already executed all maintenance tasks. Take your MacBook to your local Apple dealer for a in-depth hardware check. Maybe it's just a broken cable connection. However it could be a heavy display defect.


iPhone 6s display color profile differences between devices

Do you know the history of each of these iPhones?

This may not necessarily explain the difference in your case, but one factor that can result in this difference is the use of non-genuine parts. For example, I've seen this type of differentiation in iPhones that have had screens replaced with 3rd party screens.

Otherwise you could check that the following settings found in Settings > General > Accessibility are the same in all iPhones:

Display Accommodations > Colour Filters
Display Accommodations > Auto-Brightness
Display Accommodations > Reduce White Point
Increase Contrast > Reduce Transparency
Increase Contrast > Darken Colours


How to install Anaconda python for multiple or all users?

If you want to make Anaconda available to all Users from the Individual Edition, using the, e.g. Anaconda3-2020.07-MacOSX-x86_64.pkg package from the download link at the bottom of the linked web page, e.g. 64-Bit Graphical Installer (462 MB), then do the following:
From an Admin account...

Download e.g.: Anaconda3-2020.07-MacOSX-x86_64.pkg
Install it to: /Users/Shared

Select Install on a specific disk... and navigate to /Users/Shared on the Macintosh HD.

After the GUI install...

For the User doing the original install of Anaconda, if bash is your default shell you should be set because the GUI installer sets up what's necessary in ~/.bash_profile, however, if zsh is your default shell, run the following commands1 in Terminal:

Note: For each additional User, steps 3 thru 5 are required regardless of your default shell.

1 For each additional User setting up, if bash is your default shell just use conda init in step 3.
source /Users/Shared/anaconda3/bin/activate
conda init zsh

For zsh the ~/.zshrc file is created or written to in this step.

Close the current Terminal window and open another.

To control whether or not each shell session has the base environment activated or not, run conda config --set auto_activate_base False or True. To run conda from anywhere without having the base environment activated by default, use conda config --set auto_activate_base False. This only works if you have run conda init or conda init zsh first.

With that done, each User only has to run steps 3 thru 5 from Terminal when logged into their account to have access to what was installed by the Admin from the original GUI install of Anaconda.


Is there a way to add items to notification center through terminal or other means?

You can send a notification from the command line with this terminal-notifier utility. Getting the notification data off a site can be fairly involved, requires at least some decent scripting and/or web coding knowledge, and is probably a better question to pose on Stack Overflow.

The basic outline of such a script would be:

Open a site
Send login data if necessary
Scrape the page for the data you need (unless you're lucky and the site has a JSON or XML API, in which case you can parse that)
Send the appropriate data via the terminal-notify utility

This sort of thing may be more common in the future though, as Safari 6 and Mountsin Lion add support for web notifications, which will allow a site to display notifications, when Safari has an open tab for that site.

Support for this needs to be coded into the site however, so it's not really an end user solution I'm afraid.


Restore the RAM pie chart dock icon which was removed in Mavericks?

I have been using Menu Meters for a while and it works great with Mavericks:


How to join audio tracks into a single audiobook?

Rogue Amoeba's Fission will do what you want. It costs US $39 but it has a limited trial demo you can download. It is a lightweight lossless audio editor. The publisher reports no compatibility problems with Lion.


What is my iPhone downloading in the background?

Do you have iCloud Drive and/or iCloud backups enabled? If so, that's what it's probably doing. You may also want to check which apps you have enabled to refresh in the background. See: Settings > General > Background App Refresh


What does "is not recognized as an internal or external command" error mean?

I would spin up a second VM taking careful note of the version of the installer you used to build it up (or document from where you got the VM image). For example, the Install OS X El Capitan installer dated October 12, 2015 installs build 15B41a of the OS.

After the first boot, document which command-line tools are broken. You don't need to sign in to the app store or install Xcode to run xcode-select --install as that should be bundled with the core OS.

As I commented, massive amounts of breakage is present if the following commands don't run:

ls
whoami

You can run the type command to make sure you at least have a viable set of these commands:

mac:~ me$ type ls
ls is /bin/ls
mac:~ me$ type xcode-select
xcode-select is /usr/bin/xcode-select
mac:~ me$ file `which ls`
/bin/ls: Mach-O 64-bit executable x86_64


Are the iLife install discs still compatible with Mountain Lion?

Your version of iLife is fully compatible with Mountain Lion. It is actually the current version that ships with Mountain lion. There is no reason that installing Mountain lion should overwrite or otherwise remove your version of iLife. A standard installation should always preserve all of your applications and user settings.


How can I review the most recently shown dialog box in OS X?

Unfortunately, I have to inform you, that there's no such possibility in OS X Yosemite. Operating system doesn't log this type of event for dialog windows.

The information you have - is not even enough to understand who fired this window to popup: was it dialog box, was it OSX window, was it another program with informational message which raised the popup, or it was simply styled popup/popover of the web-page you've been.

All OSX can do - is to reopen regular windows, programs, restore console, etc, when you reboot Mac OS X with a checkbox next to “Reopen windows when logging back in” that restores all of your currently open applications and windows. This state is stored, but not for dialog windows.


I'm using OSX 10.11 what should I be aware of when installing 10.12

Going from one major revision to the next, there could be a lot of things if you are a developer (which I am not).

The smart thing to do is to make a full bootable backup of your boot drive (CCC and Super Duper to name a couple I am familiar with). Then TEST the backup by booting from it. Then unplug it from the Mac and put the backup drive in another room.

Do your upgrade and then check your environment, your builds, your tools and make sure everything is working as expected.

Now if things get messed up all you have to do is boot from your backup drive, wipe the internal (boot) drive. Remembering to save any changes to files you made in the interim to your backup drive. And clone the backup back to your original boot drive.

With any luck you'll only kill a half day or so...


How to interact with a Numbers sheet via AppleScript?

As far as I know, Numbers does not have an explicit AppleScript command to select a given sheet.

There is the active sheet property of the document, e.g.,

tell application "Numbers" to get active sheet of front document

which will return the active sheet; however, while one might think that e.g.,

tell application "Numbers" to set active sheet of front document to sheet 2

assuming there is a sheet 2, would set e.g., sheet 2 to the active sheet, it does not set it as the active sheet.

Here is the method I use the makes a given sheet the active sheet in the front document:

Note: This is a hack method and it does cause a saved document to show as edited, even though it's not altering the value of the target cell. It works by setting the value of cell "A1" to it's current value, so while it's perceived as an edit, no data has been altered from its current value. However, it does work for me in Numbers 5.1 in macOS High Sierra, and is why I use it.

my selectSheet(2)

on selectSheet(n)
    try
        tell application "Numbers"
            activate
            set value of first cell of first table of sheet n of front document to ¬
                (value of first cell of first table of sheet n of front document)
        end tell
        --  # Press escape key to remove focus from cell A1.
        tell application "System Events" to key code 53
    on error eStr number eNum
        display dialog eStr & " number " & eNum buttons {"OK"} ¬
            default button 1 with icon caution
        return
    end try
end selectSheet

Note: The example AppleScript code is just that and, sans any included error handling, it does not contain any other error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors.


Create a command to focus a specific window from anywhere in OS

You might do something like this with AppleScript:

tell application "Terminal"
    activate
    windows where name contains "bash"
    if result is not {} then set index of item 1 of result to 1
end tell

Or using System Events:

tell application "System Events" to tell process "Terminal"
    set frontmost to true
    windows where title contains "bash"
    if result is not {} then perform action "AXRaise" of item 1 of result
end tell


Use shift to select word until next capital letter

I found a solution to my problem, but it only works for the IDE (development environment) I am using, which is the program IntelliJ IDEA, and not system wide.
But that fits my needs.

Solution:

Go to Preferences > Keymap > Search for "move caret to" > Select "Move Caret to Next Word in Different "Camel Humps" Mode" > Double Click it and select "Add keyboard shortcut" > Enter any shortcut you want.

You may also set a shortcut for doing the same thing but in the different direction.


Finder error -36 when copying from data Blu-ray to HD

So I came up with a sort-of answer here. In short, a full copy of the Blu-ray was possible using the ditto command line tool:

ditto [source path] [destination path]

During the operation ditto does show errors (in my case Unknown error: 10000), but it does continue with copying the remaining files.

More detail

In figuring this out I started by inspecting the Console for errors during a Finder drag and drop copy. Sure enough an error was logged:

30/10/2015 19:54:57.000 kernel[0]: udf error: errno_t UDFFileNode::ReadPathComponent(uint8_t *, off_t *, bool *): Incomplete path component

On searching for 'mac udf error readpathcomponent error' I found this post on Adobe's forum which pointed to symbolic links being the problem.

Two types of file causing me an error were iPhoto and Photos Library files, and sure enough, within their packages there are symbolic links to certain .db and .apdb files. It appears the Finder attempts to resolve those links when drag and drop copying, but when it can't find that data (which isn't on the Blu-ray) it stops the copy and throws a -36 error.

To confirm this I looked for another way to copy the files, finding the ditto tool. Supporting my theory, the errors ditto threw up during the copy all related to symbolic links. So this might be a Finder bug rather than a hardware problem.


How to disable vibration for Timer alerts?

You are not mistaken; a very odd oversight on the part of Apple. Note that you can turn off "Vibrate on Silent" in sound settings and flip the side switch put your phone on Silent, which will disable that vibration and still make the sound (I believe).

Also note that you can turn off vibration for alarms, but for some reason not for timers. My suggestion would be to download a different timer app from the app store if you want greater customizability.


iPad deleted all my books from Books app without asking me

Steve Jobs wanted to give his product usable and user-friendly. I think as developer and user that for iOS the combination of Itunes, Icloud and Icloud drive with all your stupid and strange sync, limitations and stupid and illogic combinations between them changing each year (Itunes doens't allow to save your book distinctly, the icloud backup some time ago saving the pdf inside ibooks app, now not anymore, but they (pdf) can be saved in icloud drive, the photo are sync in icloud but not in the backup,.. and so on..) promoted that ecosystem to be the worst and less usable implementation I could see today. Jobs said that Microsoft doesn't have taste, I think that iOS after 14 versions is also worst than MS Windows 95. I'm on the field and I'm very confused and scared to deal with an Ipad for important things, except to navigate with safari. My teams never would have designed a so painful and not usable system, complicated also for a developer. It canceled my data, but other than that I procrastinate thinking I have to find a way to save my pdf from the IPad to a PC, to save my photo etc. stupid things allowed by a 100€ phone. I have to send and email at my address to add a book to my library :-)! Read the hundreds of messages on apple community how they lost important data after the stupid connection with Itunes, that decides for itself to restore the data it decided and rewrite yours in the device. At the end of the day all that mess just to sell some extra space in icloud. Let me to pay much your device, but at least allow me to use it and manage my data. Painful!


How to customize the Do Not Disturb feature for weekends?

This currently can't be done. Schedules you select apply to all the days of the week.

You can provide feedback to Apple on the following page:

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


Install iTunes on both computers
Sign in to Home Sharing on both using the same AppleID (it doesn't have to be the same AppleID as you use for store purchases)
Leave iTunes running on both.
Follow the help on the PC to select the Mac's music library and stream away.

Since you have added a lot of extra requirements to your question, I would just set up a Home Stereo system and have the playing computer use bluetooth or a cable connection to input sound to the amplifier/receiver. I use a belkin unit, but there are many at inexpensive prices and then you can use an iOS device to remote control the selected iTunes instance.

http://www.amazon.com/dp/B00B9NATUI/ - XtremeMac Bluetooth Connect Audio Receiver


Control not working in iTerm 2 when using Programmer Dvorak keyboard layout

Edit: There is now a new version of Programmer Dvorak that works with key combinations like ⌃A, so the instructions below are no longer needed.

  ◊  Option modifier is currently non-functional. Also, you cannot replace a default Roman layout with this one. Control keys should now be functional.

Option worked everywhere I tested, so non-functional could just mean that states under option don't output non-ASCII characters. If you want to disable all other input sources, you can edit the HIToolBox plist.

Instructions for older versions of Programmer Dvorak:

Open /Library/Keyboard Layouts/Programmer Dvorak.bundle/Contents/Resources/Programmer Dvorak.keylayout
And add this to modifierMap:

<keyMapSelect mapIndex="3">
  <modifier keys="control anyOption? anyShift?"/>
</keyMapSelect>

Add this to keyMapSet:

<keyMap index="3">
  <key code="0" output="&#x0000;"/>
  <key code="1" output="&#x0000;"/>
  <key code="2" output="&#x0000;"/>
  <key code="3" output="&#x0000;"/>
  <key code="4" output="&#x0000;"/>
  <key code="5" output="&#x0000;"/>
  <key code="6" output="&#x0000;"/>
  <key code="7" output="&#x0000;"/>
  <key code="8" output="&#x0000;"/>
  <key code="9" output="&#x0000;"/>
  <key code="10" output="&#x0000;"/>
  <key code="11" output="&#x0000;"/>
  <key code="12" output="&#x0000;"/>
  <key code="13" output="&#x0000;"/>
  <key code="14" output="&#x0000;"/>
  <key code="15" output="&#x0000;"/>
  <key code="16" output="&#x0000;"/>
  <key code="17" output="&#x0000;"/>
  <key code="18" output="&#x0000;"/>
  <key code="19" output="&#x0000;"/>
  <key code="20" output="&#x0000;"/>
  <key code="21" output="&#x0000;"/>
  <key code="22" output="&#x0000;"/>
  <key code="23" output="&#x0000;"/>
  <key code="24" output="&#x0000;"/>
  <key code="25" output="&#x0000;"/>
  <key code="26" output="&#x0000;"/>
  <key code="27" output="&#x0000;"/>
  <key code="28" output="&#x0000;"/>
  <key code="29" output="&#x0000;"/>
  <key code="30" output="&#x0000;"/>
  <key code="31" output="&#x0000;"/>
  <key code="32" output="&#x0000;"/>
  <key code="33" output="&#x0000;"/>
  <key code="34" output="&#x0000;"/>
  <key code="35" output="&#x0000;"/>
  <key code="36" output="&#x0000;"/>
  <key code="37" output="&#x0000;"/>
  <key code="38" output="&#x0000;"/>
  <key code="39" output="&#x0000;"/>
  <key code="40" output="&#x0000;"/>
  <key code="41" output="&#x0000;"/>
  <key code="42" output="&#x0000;"/>
  <key code="43" output="&#x0000;"/>
  <key code="44" output="&#x0000;"/>
  <key code="45" output="&#x0000;"/>
  <key code="46" output="&#x0000;"/>
  <key code="47" output="&#x0000;"/>
  <key code="48" output="&#x0000;"/>
  <key code="49" output="&#x0000;"/>
  <key code="50" output="&#x0000;"/>
  <key code="51" output="&#x0000;"/>
  <key code="52" output="&#x0000;"/>
  <key code="53" output="&#x0000;"/>
  <key code="64" output="&#x0000;"/>
  <key code="65" output="&#x0000;"/>
  <key code="66" output="&#x0000;"/>
  <key code="67" output="&#x0000;"/>
  <key code="69" output="&#x0000;"/>
  <key code="70" output="&#x0000;"/>
  <key code="71" output="&#x0000;"/>
  <key code="72" output="&#x0000;"/>
  <key code="75" output="&#x0000;"/>
  <key code="76" output="&#x0000;"/>
  <key code="77" output="&#x0000;"/>
  <key code="78" output="&#x0000;"/>
  <key code="79" output="&#x0000;"/>
  <key code="80" output="&#x0000;"/>
  <key code="81" output="&#x0000;"/>
  <key code="82" output="&#x0000;"/>
  <key code="83" output="&#x0000;"/>
  <key code="84" output="&#x0000;"/>
  <key code="85" output="&#x0000;"/>
  <key code="86" output="&#x0000;"/>
  <key code="87" output="&#x0000;"/>
  <key code="88" output="&#x0000;"/>
  <key code="89" output="&#x0000;"/>
  <key code="91" output="&#x0000;"/>
  <key code="92" output="&#x0000;"/>
  <key code="96" output="&#x0000;"/>
  <key code="97" output="&#x0000;"/>
  <key code="98" output="&#x0000;"/>
  <key code="99" output="&#x0000;"/>
  <key code="100" output="&#x0000;"/>
  <key code="101" output="&#x0000;"/>
  <key code="102" output="&#x0000;"/>
  <key code="103" output="&#x0000;"/>
  <key code="104" output="&#x0000;"/>
  <key code="105" output="&#x0000;"/>
  <key code="106" output="&#x0000;"/>
  <key code="107" output="&#x0000;"/>
  <key code="108" output="&#x0000;"/>
  <key code="109" output="&#x0000;"/>
  <key code="110" output="&#x0000;"/>
  <key code="111" output="&#x0000;"/>
  <key code="112" output="&#x0000;"/>
  <key code="113" output="&#x0000;"/>
  <key code="114" output="&#x0000;"/>
  <key code="115" output="&#x0000;"/>
  <key code="116" output="&#x0000;"/>
  <key code="117" output="&#x0000;"/>
  <key code="118" output="&#x0000;"/>
  <key code="119" output="&#x0000;"/>
  <key code="120" output="&#x0000;"/>
  <key code="121" output="&#x0000;"/>
  <key code="122" output="&#x0000;"/>
  <key code="123" output="&#x0000;"/>
  <key code="124" output="&#x0000;"/>
  <key code="125" output="&#x0000;"/>
  <key code="126" output="&#x0000;"/>
</keyMap>

Run sudo touch /Library/Keyboard\ Layouts/ and log out and back in


How to store unused Macbook battery for long period of time?

Battery technology used by Apple is no different than other laptops. They're all Li-ion cells.

Apparently, the recommended practice for extended storage is to get the battery down to 40% and store it in a cool place, possibly the refrigerator.

Some relevant sources:

http://www.runpcrun.com/laptop-battery-use-and-storage-guidelines
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries


I found Crystal Black, which seems to be the only theme for OS X Lion that's available.

It is not free, and costs $8.


Wait a little bit, and then try booting in Safe Mode, as described in HT1455. Then, try opening Java Preferences.app in /Applications/Utilities and unchecking all of the versions of Java you have to disable them. If you can reboot without Safe Mode after disabling Java, you might want to try re-installing your Java game or Java itself.


How to associate a route with an interface?

1 - Here is a copied solution but deprecated:

First of all, you have to be a local admin.

Open a terminal and change to the StartupItems directory

cd /Library/StartupItems

Then create a new directory with root priviledges, e.g. AddRoutes and change into it

sudo mkdir ./AddRoutes
cd ./AddRoutes

Now you have to create and edit the bash script

sudo touch ./AddRoutes
sudo nano ./AddRoutes

Paste the following Lines into the bash script and adapt it for your network

#!/bin/sh

# Set static routing tables

. /etc/rc.common

StartService ()
{
sleep 10
ConsoleMessage "Adding Static Routing Table"
sudo /sbin/route add -net 10.0.0.0 -netmask 255.0.0.0 -gateway w.x.y.z
}

StopService ()
{
return 0
}

StopService ()
{
return 0
}

RestartService ()
{
return 0
}

RunService "$1"

When you finished with the script, save it.

Then create the corresponding plist.

sudo touch StartupParameters.plist
sudo nano StartupParameters.plist

When you created the plist file, paste the following lines into it.

{
Description = "Add static routing tables";
Provides = ("AddRoutes");
Requires = ("Network");
OrderPreference = "None";
}

When you finished the plist file, save it.

Finally you have to set the access rights

sudo chmod 755 /Library/StartupItems/AddRoutes/*

At the end you have to reboot and now your permanent static routes are set.

You can verify with the following

netstat -nr

2 - Here you may find a more up-to-date solution involving a little program:

staticroute

  Configured static routes survive a restart, and will automatically be added and removed as network interfaces go up and down.


GNU cal has a --starting-day option:

$ brew install gcal
$ alias cal='gcal --starting-day=1'
$ cal

      June 2013
 Mo Tu We Th Fr Sa Su
                 1  2
  3  4  5  6  7  8  9
 10 11 12 13 14 15 16
 17 18 19 20 21 22 23
 24 25 26 27 28 29 30

ncal also starts weeks on mondays by default:

$ ncal
    June 2013
Mo     3 10 17 24
Tu     4 11 18 25
We     5 12 19 26
Th     6 13 20 27
Fr     7 14 21 28
Sa  1  8 15 22 29
Su  2  9 16 23 30


iPad: Show website full-screen with hidden controls, address bar and iOS status bar

Although it is possible for certain iOS apps (depending on the way they are programmed) to hide the status bar in iPhone and iPad, most of the app (barring games, video streaming apps) choose not to do so.

Safari and Chrome web browsers for iPad have no native control to take browser full screen. While scrolling through the webpage, however, the browser controls and address bar area shrinks to provide a bit more space for content.

While viewing streaming videos however, you do have an option to view it in fullscreen with browser controls hidden. While streaming video, Status bar is shown only when to tap on the screen to momentarily view playback controls.

Safari for iOS

Normal mode

Shrunk controls mode

Chrome for iOS

Normal mode

Shrunk controls mode

Video streaming, full screen mode


Some dvorak shortcuts aren't working. 10.8.2

I'll repost here my answer from SO to the same problem:

It turns out this is a problem in Java that has existed for some years, and is still present in Java 9. See the bug report here: https://bugs.openjdk.java.net/browse/JDK-8022079

JetBrains has been aware of the problem for some years, but is waiting for Oracle to fix it. See these JetBrains bug reports: https://youtrack.jetbrains.com/issue/IDEABKL-6493 and https://youtrack.jetbrains.com/issue/IDEA-63779

In those reports you'll find a work-around using a free tool called Karabiner. I have just verified that it works for IntelliJ. It will probably also work for other Java-based tools.

The work-around is:

Download and install Karabiner from https://pqrs.org/osx/karabiner/
In the OSX System Preferences, set your keyboard to the default "U.S. International" PC. If you don't often type diacritics and other international characters, it's easier to just set the keyboard to "U.S" instead.
In the Karabiner settings, type "dvorak" in the search box, then scroll down to the section For U.S. Input Source and check Ùse Dvorak Keyboard Layout (QWERTY to Dvorak)`


Mac does not recognize password after upgrade

In the end I found no reasonable answer to my question. So I decided to set the password (with the method mentioned in the question) to void. Then when the mac is boot the password in no more asked, thus solving the problem.


A few years ago, I pointed a photographer friend to ExifTool, a free, command-line based metadata editor. It looked pretty powerful and it did what she wanted. I haven't used it myself, so YMMV.


Apple Time Capsule won't extend wireless network

Joining and extending WiFi networks is only supported with Apple devices. The TC won't join your fritzbox WiFi. You can cable it in however and it'll function as a backup device.


Enlarging or reducing desktop view and making paragraphs

It should be the same in the Mac, you can also tell her to zoom in with the trackpad

But this looks to be a problem with Facebook itself, according to this reddit post some posts appear bigger than others because of the number of characters. If they have 35 characters or less, the font size is bigger.


Disclaimer: This may not work for an AppleScript bundle.

First I open the icon in preview.app.

I select the full picture and type Command-C

The way I typically change icons for files is that I select the file and type Command-I

In the info window that opens, I then select the current icon in the upper left.

Type Command-V and the icon (theoretically) will change to the picture in the clipboard


Export unmodified originals from Photos.app and NOT creating duplicates

In my version of Dropbox for OS X, v3.4.3 (not the latest), it has a feature to automatically upload photos whenever you connect your devices.

It is in Dropbox's preferences, under IMPORT tab, first option
Enable camera uploads for [photos and videos].


Camino is dead.

Camino Browser

Since it is dead, there will be nobody developing anything for it - it simply doesn't make sense.

I do have to ask...why are you not using at least OS X 10.8?  What Intel MBP are you using that doesn't' support this version?

The bottom line is that you will need to upgrade.  Flash is a huge security hole in and of itself and everyone is moving to HTML5/CSS3 compliant browsers.  You are going to soon find that you can no longer reliably browse the web.


Keyboard shortcuts for renaming file and accepting extension

You can disable the prompt under Finder's Preferences (see picture below):

This might save you some time if you are renaming multiple files. Additionally, you may want to look at Rename. It is a free utility that should serve you well for such simple batch renaming.


How to prevent VLC from setting as default player?

Right-click (Control click) on the type of file you want to always open with Elmedia. Click 'Get Info'.

In the 'Open With' section, select Elmedia from the drop-down menu. To apply this change to all files of this type, click the 'Change All' button. Repeat with any other file types as desired/when they come up


Replaced hard drive in iMac, have time machine back up but no installation discs

You have several options to accomplish this. You'll need either a firewire 800 cable, a thumb drive (8/16 GB or bigger) or a DVDR. I suppose the new hard drive is already mounted to the iMac 2008.

Target Mode

Attach the firewire cable to both Macs. Boot the iMac 2008 in Target Mode by pressing T while booting. You will see a "jumping" Firewire logo on the screen if you have been successful.
Attach the Time Machine backup drive to the iMac 2010.
Boot the iMac 2010.
Start Disk Utility to partition the Target Mode hard drive in the iMac 2008 (if necessary). Use one partition, HFS+ Journaled and GUID partition table. Don't partition your Time Machine drive accidentally.
Quit Disk Utility and open Time Machine.
Restore the Time Machine backup to the Target Mode disk.
Eject the Target Mode disk and detach the Firewire cable.
Reboot the iMac 2008

Bootable OS X thumb drive

Download 10.7-10.11 OS X Installer from the App Store and create a bootable OS X thumb drive (16 GB or bigger) on the iMac 2010 by installing OS X to it.
Boot the iMac 2008 with the thumb drive and the Time Machine backup drive attached
Start Disk Utility to partition the internal hard drive in the iMac 2008 (if necessary). Use one partition, HFS+ Journaled and GUID partition table. Don't partition your Time Machine drive accidentally.
Quit Disk Utility and open Time Machine.
Restore the Time Machine backup to the internal disk.
Reboot the iMac to the internal disk.

Hack the iMac 2010 Installer DVD

Several similar methods exist to modify a restore DVD to be universal. Only one is outlined below. This is only recommended if the previous system on the broken hard disk was Snow Leopard.

It takes time to make modification work on DL-DVD, so i used 8GB USB thumb drive, restored Snow Leopard DL-DVD to USB thumb drive with Disk Utility.
After you get SL on your USB thumb drive, you need to modify OSInstall.mpkg file (which is located on Packages folder) with Flat Package Editor, and to get FPE you have to install Xcode.
After that go to

/Developer/Applications/Utilities/PackageMaker.app/Contents

open Flat Package Editor, choose File->Open and open OSInstall.mpkg, you will see Distribution file, drag it to your Desktop(do not close Flat Package Editor, we still need it), and open it with your favorite text editor, Look for the following:

<installation-check script="installCheckScript()"/>
<volume-check script="volCheckScript()"/>

they are on the line 50052 and 50053, remove installCheckScript() and volCheckScript(), and this is how they should be:

<installation-check script=""/>
<volume-check script=""/>

Save modification, and re-drag Distribution file to Flat Package Editor and go to File->Save, that's it, now you should have a working OEM Snow Leopard on any iMachine.
Boot the iMac 2008 with the thumb drive and the Time Machine backup drive attached and install Snow Leopard.
While configuring Snow Leopard, use the Migration Assistant to import all data from the backup drive.


Where to get Mavericks (or older) OS X installer apps to set up Virtual Machines?

There are many ways to skin this cat.

First, check to see what minimum version of the OS ships with your Mac:

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

That establishes the version you can get easily from Apple either through Internet Recovery or contacting AppleCare to order replacement media or a download code for the Mac App Store. At that point, the AppleID you are using should be able to upgrade to each of the versions of the OS newer than the build that shipped with your hardware.

To go earlier, you can join Apple as a developer and request download codes and direct download of all manner of older OS for testing purposes. If this isn't worth the time/budget to spend one time $99 you could also look for hardware that shipped with the version you require and buy it at a steep discount. For example, laptops with broken screens and failing batteries will work just fine with external keyboards and power cables in most cases long enough to get to the Mac App Store and "purchase" the version of the core OS for your AppleID. At that point, you can start building your archive of installers.

I would caution on torrenting OS unless you check the file sizes and hashes. It's probably better to network with other developers to exchange a USB drive with the media in exchange for brownies or such things like fermented grain based liquids.

Now that you have the ingredients, it's time to cook. Many open source tools exist to help you make bootable images:

http://www.theinstructional.com/guides/build-deploy-os-x-images-with-autodmg
https://github.com/MagerValp/AutoDMG
http://www.deploystudio.com
https://derflounder.wordpress.com/2015/10/18/create_vmware_osx_install_dmg-script-updated-with-el-capitan-support/
https://github.com/rtrouton/create_os_x_vm_install_dmg

My advice would be to pick one tool like Rich's create_os_xvm_install_dmg script or decide to set up deploy studio and/or a netboot server and then automate one of the newer OS. You'll then be able to not get hung up on gathering all the images and instead get going with the tools. You can ask specific follow on questions here or on the Mac Admin slack channel once you have your feet wet and are in the weeds of a specific install.


How do I deactivate my microphone and iSight for security reasons?

To disable iSight and other cameras, use:

sudo kextunload /System/Library/Extensions/AppleCameraInterface.kext

(tested on 10.9)

I'm not aware of a way to disable audio input without affecting output. It's the same hardware so unloading/removing the kext probably won't work. One step you can take is to turn the input volume down to zero in your sound preferences, but of course anyone who's able to log in will be able to turn it back up.


Is it possible to reinstall Mountain Lion using Lion Time Machine backup?

When a newer Mac migrates data from an older OS, the system has upgrade scripts to make sure that the data lands properly on the new system.

These scripts handle all Apple software and perhaps a few high profile programs in case that Apple has found a need to clean up other data.

Migration the other way isn't tested, no scripts or support is provided and in fact, the system normally detects you are moving data backwards and refuses to restore in the first place.

You should be fine restoring a Lion backup onto any Mac with Mountain Lion. You don't need to reinstall anything - just don't run the Setup Assistant until you have the external drive and can move everything to the new mac.

Running an older OS on a newer Mac is also problematic, since often drivers are missing and again, Lion will check and refuse to install on hardware that is too new in general.


How to make a normal video from time lapse recording?

Unfortunately, it is going to be difficult-to-impossible to make a recording look even somewhat "normal" from time-lapsed footage. Normal iPhone video footage is shot at about 30 frame per second, while time-lapsed footage varies between one and two frame per second, depending on the length.

What that means is your iPhone only captured your subject about once per second, so if your subject was walking across the room (for example), they would have traversed about 3 feet in the time it took to capture each frame. All the motion in between is lost.

Unfortunately, iPhone's time lapse mode does not record audio.

To adjust the speed of a clip, download iMovie for iOS (free):

With your project open, tap the video clip in the timeline to reveal the inspector at the bottom of the screen.
Tap the Speed button.
In the inspector, drag the slider to the left to decrease the speed.

iMovie may not let you slow your footage enough to bring the speed down to normal. You will likely have to save the edited, slowed-down clip and repeat the process again until the speed of the playback appears normal.

Unless there is very little motion in the video, I don't think you will be happy with the result, but no harm in trying. I hope it turns out good enough for your purposes!


Can't download Mountain Lion from app store on a Mac already running Mountain Lion?

I would head over to http://support.apple.com/kb/DL1433 and follow the instructions for making a USB Recovery drive.

Also note if you hose your machine you can boot with Command-R to enter into recovery mode.  Even if you hose your recovery partition, if you have an active Wifi connection, Apple will pull down the OS from the cloud.


Mac OS Recovery: Disk Utility always partitions SSD

If you format your main internal disk from Recovery, Disk Utility will actually set the drive up ready to accept a new macOS. This will entail actually making 4 partitions, 3 of which will be nominally hidden from you.

If you don't need or want to see any of this 'under the hood' detail, you can set Disk Utility to only show Volumes, not all devices.

 Cmd ⌘   1  or View Menu > Show Only Volumes will do this for you.

if you really want to see everything that macOS hides from you, launch Terminal & type diskutil list [this will not change anything, merely allow you to see it] - you'll see 'real' disks & volumes, & also synthesised ones which are virtual but necessary for the smooth operation of the system.

for example -

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         1000.0 GB  disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            585.5 GB   disk1s1
   2:                APFS Volume Preboot                 21.2 MB    disk1s2
   3:                APFS Volume Recovery                509.3 MB   disk1s3
   4:                APFS Volume VM                      20.5 KB    disk1s4

Despite all this, all you will see in Disk Utility is either just Macintosh HD, or your drive's physical name [APPLE SSD SM056L Media] with [potentially an APFS container if your OS is new enough] & Macintosh HD inside that.


Currently, the answer is no. iOS does not have a built in cursor function(unless you count the new keyboard cursor is iOS 9). In order to use a mouse on an iPad at all, you would probably need to jailbreak it.


Updated my jailbroken iPhone 4s to 6.1.3, stuck in Recov. loop

If you jailbreak then update with the OTA function, your phone will have serious problems. I hope everything works out for you.


The approval process varies and there’s no exact number. The factor that determines this is the number of apps in the approval queue. I don’t remember where I read that 95% of the apps where approved within 14 days. I believe this came in a “message” in the dev accounts. But it was more than a year ago.

You can see more information in your Developer Account by going to the approval page. (You need a paid account to access that).

I haven’t submitted an iPhone App but in my near experience, it’s around two weeks.


What does "The information on this page is out dated" mean when updating apps in iTunes

Maybe this post can help you.

The most interessant part is last sentence saying :

Update 7/25/10: Fixed in an iTunes update.

What version of iTunes are you running ?


Problem with iMessage "Delivered" status

Basically, your message has been sent, from your end, to another iPhone or Apple apparatus (it appears in Blue and not Green) but has not been delivered to your recipient.

"Delivered" may not appear for several reasons. The most likely, and also the only I've confirmed, is that the recipient cannot receive the data. This happens when a phone is off or out of service range, obviously. It also happens frequently if they are talking on the phone. When someone is talking voice, and out of a WiFi area, they may not be able to receive text messages, because they may drop or lose some of the data, so it is conveniently held onto for them until they're freed up (i.e. off the phone). It can also happen when WiFi access is spotty, when other apps are running in the background, etc.

The reason you may be experiencing this but still receiving responses is that once a response is sent (in any exchange) that "Delivered" or "Read" message vanishes. Poof. So you're probably just not seeing it change to Delivered to Read before you see a response.

Another possibility that makes sense and could explain both, however unconfirmed by yours truly, is that the "Do Not Disturb" feature is toggled on the recipients phone. As far as I was aware, this simply prevents them from receiving notifications of the messages, but I haven't test it out.

It's one of the above anyway for sure.  Hope it helps.


Drag email from mail.app to create a shortcut, not eml

Found one way of doing this at Mac OS X Hints here.

Open the message in a new window (select it and press cmd-o or return).
Drag the proxy icon to the location where you would like the .inetloc file.  The proxy icon is the envelope icon in the window's title bar, to the left of the message title.


Apple does offer a one year warranty, so if you are the first buyer, you should be able to register and get them to replace the battery for free. I don't know exactly when they discontinued selling that model, but start with trying to register that device to you at support.apple.com using the serial number from the box. You might need to call into support or fax them the receipt since it's so far past when they were expecting to enroll new owners, but once you know if Apple can/will service it, you can decide to repair it through them or on your own.

It's likely the lithium battery has failed permanently due to not being stored for long term with 50% charge. I typically get out my old devices once a year and charge then to 50% and then power it off. If the voltage drops too low then you will need to replace the battery as it will never charge or even hold but a fraction of the intended energy.

The customer care has given you good advice and it's great that they offered you the money back. I would say if you are happy with the price, look at repairing the battery yourself. That design was very easy to self-service - especially if you realize it's unique and will take your time with the service.

https://www.ifixit.com/Guide/iPhone+3GS+Battery+Replacement/1545

The parts should be readily available and the tools are inexpensive. Older phones (original) and newer phones are much harder to replace the battery due to tools or design of the connectors and internals. I'd say keep the phone unless you really can't afford the replacement cost of the battery.


How to remove removed apps OS X URL schemes from system?

How long did you wait until checking the URL list?  Did you reboot?

After you reset the Launch Services database with that command, it will take a few minutes to rescan your system and rebuild the database.  During that time, the existing database will still be used.

I wrote a blog post about using this command to clean up the Open With contextual menu as it would often become corrupted and list applications multiple times.  When I would reset the database, I've seen it take over 30 minutes until the menu is correct again.

If you still have the app installed, or you can reinstall it, you can use the lsregister -u PATH command to unregister an application, which removes the associated URL Schemes.  For example, I still have TurboTax from 2011 installed and in the URL Schemes list, it had a com.intuit.turbotax.2011 scheme listed.  Using the /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -u /Applications/TurboTax\ Deluxe\ 2011.app command, it removed ONLY that registered application from the Launch Services database so it didn't need to rebuild the entire database.  Upon launching the Defaults Apps preference pane, I don't see the com.intuit.turbotax.2011 scheme listed anymore


How to not show birthdays from Contacts on Apple Watch?

Contacts.app in macOS 11 Big Sur (and the underlaying iCloud) now offers more differentiated date fields which address use cases like yours and more.
Preparation:

Open Contacts.app > Preferences > Template.
Add fields > Dates: Birthday or custom (depending on what's in your template already)

Locate the date section in the template.
Leave the original "birthday" field.
Add a custom field "birth-day" or similarly odd spelled to never collide or get confused with the real "birthday" field.
You may also add "date-of-death" if you want to document your deceased contacts.

Then for any contact do the following:

Fill the real "birthday" field if you want the person to show up in the dedicated "Birthday Calendar".
Fill "birth-day" (your custom date field) if you want to have that documented for a contact but not show up in the dedicated "Birthday Calendar".
This should also propagate to your Apple Watch then eventually.


Turn off non-Wifi Internet access on iOS

you can turn off cellular data (or your internet over your SIM) when you go to Settings->Cellular (or Mobile data) and then turn of Cellular data.
Or in Romanian:
Configurari->Conexiune celulara and turn off Date celulare

this way you'll use only your wifi connection (if you're connected to WiFi).


Orientation lock was an issue with early versions of iOS 8.

Simplest fix would be to update to 8.3


How to add access to the camera to one app which doesn't appears in the system preferences ->privacy menu?

Apps only appear in privacy settings when they attempt to use the category.
The Camera privacy settings refers to photographs and videos from the built-in camera, which is not something Lightshot uses.
The list on the left of Privacy settings also contains Screen Recording lower down, which is what is required for apps to be able to take screenshots.


To get some logging from the Firewall you have to define some rules.

Open System Preferences > Security & Privacy > Firewall, unlock it, and select
Firewall Options and add some rules about application you want to block any access from the outside.

Ex. :

Once done, lock back the Security & Privacy preference menu.

Try any prohibited or allowed access and you will see it appear in /var/log/appfirewall.log.


What is the power input to the iPhone 7 and where is the spec page?

Generally, iPhones are 1A, iPads are 2A.
So long as the voltage is correct, the amperage doesn't really matter.

If you try to charge a 2A device with a 1A charger, it will charge more slowly.
If you charge a 1A device with a 2A charger, you won't see any difference to a 1A charger.

Amperage is "pulled" by the device, not "pushed" by the charger.


Why are there two different sleep states on a MacBook?

There are really three, sort of, but they're not exactly as you described:

Display sleep: The screen goes blank after a certain amount of time. You can wake up the screen by touching the trackpad or pressing a key.
Sleep: In this state, the computer goes to sleep: the hard drive stops spinning and the CPU uses much less (almost no) power. This can be invoked by closing the lid of the laptop, selecting Sleep from the Apple menu, or via a timer. You wake up the computer by opening the lid or pressing a key.
Hibernation: If the battery is almost dead, the laptop will hibernate to save power. This is similar to shutting down, except all the contents of RAM are dumped to the hard drive, which makes it much faster to start up (as well as starting the computer up into the previous state). You have to hit the laptop power key to wake the machine from hibernation.


You can't install XCode or its SDK on the windows. All you can is create a virtual machine, install Mac OS X there and then install XCode and SDK.


The first partition on an Apple Disk Utility drive is a 200MB EFI System Partition. OS X 10.8 and older do not need it for booting, but it is used for staging firmware updates. If it's removed, firmware updates won't be possible. Depending on exactly what TrueCrypt wants, you could resize the EFI System Partition, as 200MB isn't really required, by changing the start sector and then reformatting the EFI System partition (as FAT32).


Does Photo Stream update later if computer is offline?

1) In my experience, I've found that simply quitting either Aperture or iPhoto and re-opening is the easiest solution to a stall in the syncing process. I've experienced similar issues before. As to to the "why?" - that being "why does Photostream stall when switching networks," I can't provide an answer. But the failsafe solution is to quit and re-open the application.

2) Again (in my experience - Apple's documentation on this is sparse), I've found that photo stream only actively syncs when the machine is 1) awake or 2) sleeping, but not 'hibernating.' Unlike iOS devices, it seems as though Photostream is more stubborn in regards to OSX devices regarding the active and continuous syncing of data.

3) Yes. Either iPhoto or Aperture need to be open.


MacBook Pro- wifi connected but no internet after unplugging ethernet

Boot the computer to Recovery (hold Command and R on restart) and ensure it connected to your WiFi network. Then select Get Help Online. This actually loads a file stored in Recovery, so type in a URL and see if it loads. If it does not, your computer is not the issue.


Why is iTunes not syncing photos from library after a certain date into my iOS device?

Simply restarting iTunes made it work. Somehow, he didn't see the newly imported photos and had to be restarted. Not very intuitive, but it works:


Two 4K displays on 2015 MacBook Pro 15" and ordering of Thunderbolt devices

You really don't run into issues with the ordering of devices in Apple chain able hardware. Whether it's FireWire or Thunderbolt, the only rare situation is where you mix generations.

For example a firewire 400 cable should go at the end of the 800 chain. Same for Thunderbolt 1 and 2 (and soon 3).

Can I daisy chain Thunderbolt to FireWire 800 to FireWire 400
Does daisy chaining FireWire 800 and 400 cause all devices to use 400 speeds?

I haven't seen any issues with powered off thunderbolt drives in the middle of a chain to the display, but I'd probably put the display first and then plug the drives in down stream of the display if you have that option.


Boot screen has wrong display resolution

I had the same issue, but resetting the PRAM solved it.

Procedure from here:

Resetting NVRAM / PRAM

Shut down your Mac.
Locate the following keys on the keyboard: Command (⌘), Option, P, and R.
You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.


How do I set site restrictions on iPhone?

From here

General

Once you are in the settings, go directly to the general tab.

alt text http://www.theiphoneblog.com/images/stories/2009/04/parental2-266x400.jpg

Restrictions

Tap the restrictions tab and once on that screen choose enable restrictions.

alt text http://www.theiphoneblog.com/images/stories/2009/04/parental3-266x400.jpg

You will now be asked to enter a 4 digit passcode. Do not forget this passcode, there is no way to retrieve it, and a full restore (re-installation) of the iPhone is needed to reset it.
Restriction Options

After you have entered your passcode, you will now have the ability to restrict any of the functions you see on the screen. Without going through each and every option, lets just take a look at Safari. If you turn off Safari and head back to your home screen you will see that the icon is removed and there is no way possible to reach that application any more.

To re-enable a function like Safari, return to the restriction page, authorize with the 4 digit passcode you entered above, and turn it back on.


Callers say they can hardly hear me when talking on my iPhone 7

The first step is to check Bluetooth, headset speakerphone and normal receiver function.

If the volume is bad on all, look to software restore or work with the carrier.

If not and assuming you're not having problems with recording videos etc, and this is only happening during a normal phone call (that is, not on speakerphone).

If so, one test you can do is to open the Voice Memos app and record yourself speaking into it. I would record maybe 10 seconds of yourself speaking and then play it back. You should be able to hear yourself clearly.

If not, this could indicate a hardware problem, but before jumping to that conclusion there are other things to try:

restart your iPhone
Remove any case and/or screen protector you're using
Unplug any accessories you have connected to the headphone jack
Remove any dirt/dust that could be blocking the microphone

If none of these help, I would contact Apple.


How to stop SilentCleanServer app from running

This Apple Community discussion thread may have the answer:

  Try deleting the "com.imobie.PhoneClean" and "com.iMobie.SilentCleanServer" folders in ~/Library/Application Support.

or

  Theres an underlying silentcleanserver app, which is located once you "show all contents". I uninstalled and its gone!


Could I revert system to Yosemite by using TimeMachine backup, after upgrading system to El Capitan?

Yes, you can easily go back to a previous version of os x if you have correctly saved that version using time machine.

You'll need to :

connect the time machine to your mac
Restart your mac and hold Command + R
After the mac boots go to OS X Utilities and select Restore from a Time Machine Backup then hit next or continue
A screen will show Select a backup source select your time machine bacup
You will have next a screen with OS X Version and Backup Date and Time, If you want to go back to Yosemite select 10.10.X (Mavericks is 10.9.X)


I'd imagine the Touch Bar can become buggy for the same reasons that any computer becomes buggy, so what you could do is use Touch Bar Simulator to see what your Touch Bar thinks it's displaying, thereby narrowing it down to if the issue is software or hardware. If it's software, try the usual stuff like disk repair and reinstalling macOS. If it's hardware, it may be time to visit an Apple Store...


Is there a way to schedule airplane mode for iphone?

Using a Shortcut for that would probably be the best solution. If you have any experience with programming you could probably whip something up without too much effort, or I'd recommend checking out the shortcuts subreddit.

There's also a chance somebody has already created what you're looking for, I didn't find anything in a quick glance through this gallery, but you could possibly find something with some digging.

I hope this helps move you in the right direction!


After Installing El Capitan I Will be Logged Out Frequently

From
https://support.apple.com/kb/PH21782:

  OS X El Capitan: Set your Mac to log out when not in use

  You can set your Mac to automatically log out the current user after a
  set period of inactivity. This helps ensure that your information is
  secure when your Mac is unattended.

  Choose Apple menu > System Preferences, click Security & Privacy, then click General.
  Click the lock icon to unlock it, then enter an administrator name and password.
  Click Advanced.
  Select “Log out after... minutes of inactivity.”
  Set the amount of time before the user is automatically logged out.


Teach Safari to ignore case if necessary when opening local html file

If you do have your drive formatted as case sensitive, use Disk Utility (Applications->Disk Utility) to create a non-case sensitive disk image. Copy all the files over to said disk image and you should be good to go.

It's a little bit of a pain to mount the disk image when you need to look at the files, but probably far easier than attempting to normalize the upper/lower caseness of every filename & href in the html.


Packaging a self-made service with dependancies — possible?

Wrote a bash scripted that bundled and installed everything in the end.


What's Photoshop CS6 keyboard shortcut to call Edit - Transform - Scale?

Why can't you use the shortcut for Free transform?

Either way...

You can edit / add keyboard shortcuts in Photoshop in:
Edit > Keyboard shortcuts...


Finding Music folder after updating with OS X EI Capitan

All the iTunes content is inside the directory: ~/Music/iTunes more precisely: /Users/<your_user_name>/Music/iTunes.

You can use special application tool like DaisyDisk to locate some particular content inside your Mac computer.


Why is iTunes only syncing some of the pictures (seemingly randomly) in each Aperture Event to my iPad?

Well, two trips to the genius bar couldn't solve it ("you need to start a new library from scratch and retag your 15,000 photos" - WHAT?!?!), but I dug around and experimented and finally came up with the answer:

iTunes won't sync pictures without up-to-date previews; so, if they stop auto-generating for some reason, you have to force it to update previews for the pictures that aren't syncing.

You may want to go to iTunes and select "Sync all Photos" and note the number of photos that appears in the upper right of the window, so you can make sure that it's higher after this process.
Go to Aperture and select "Photos" up near the top of your library, in order to select your whole library of pics.
In the "Photos" menu up top, you should see "update previews for library".  (If you're not seeing it, you probably skipped step 2, or selected an individual photo, in which case, it will be replaced with "update preview".  You want to do it for everything, so be sure to highlight "photos" first.
That may take some time, depending how many you were missing, but once it's done, go back to iPhoto, and uncheck "sync all photos" and then recheck it.  That should force it to recount the pics, and you should now see a number that matches your library (less any in a format that iTunes can't handle.)


Is there any native Mac OS X 10.15.3 keyboard layout that contains all ASCII characters plus č, ç, è, ǩ, ò, š, and ž?

ABC Extended can make all those and more I think.
https://sites.psu.edu/symbolcodes/mac/codemacext/
but it's easy to make a custom layout with whatever you want using
https://software.sil.org/ukelele/


Sharing one IP address among multiple Apple devices

Yes, but with caveats.

MacOS X has an "internet sharing" mode in the "Sharing" control panel, but you have to use different network interfaces for the "internet facing" and "internal facing" sides of your network.

So if you're connected to the Internet over your ethernet port, you can share your connection to WiFi clients.  What you can't do is connect and share over the same port.


Open Finder's Preference panel (Cmd-,). There, under the extended settings, you'll find a dropdown list that allows you to choose between "This Mac", the current folder or the last search range.

(Note: I checked this for a German Snow Leopard installation, so perhaps my re-translations may be a bit off -- sorry for that!)


How do I get my 2019 MacBook Pro to support higher refresh rates than 60 Hz?

The max refresh rate remains 60Hz.
https://support.apple.com/en-us/HT210742
Available refresh rates
You can switch between these refresh rates on your Retina display:

60 Hertz
59.94 Hertz
50 Hertz
48 Hertz
47.95 Hertz

MEH!


How to convert a drive from the GPT format to the hybrid GPT/MBR format when using High Sierra (macOS 10.13.2)

Here, I assume you are using High Sierra (macOS 10.13.2).

To update the MBR partition table, a mapping of the partition types needs to be known. Below is a table of some commonly found types.

  Note: The mapping is not one-to-one.

            Partition Type              MBR ID              UEFI GUID
--------------------------------------  ------  ------------------------------------
Apple Mac OS Extended (HFS+ or JHFS+)     AF    48465300-0000-11AA-AA11-00306543ECAC
Apple Boot (Recovery HD)                  AB    426F6F74-0000-11AA-AA11-00306543ECAC
Apple Core Storage                        AC    53746F72-6167-11AA-AA11-00306543ECAC
Apple File System (APFS)                  AF    7C3457EF-0000-11AA-AA11-00306543ECAC
Extensible Firmware Interface (EFI)       EE    C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Linux Filesystem Data                     83    0FC63DAF-8483-4772-8E79-3D69D8477DE4
Linux Swap                                82    0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
Linux Logical Volume Manager (LVM)        8E    E6D6D379-F507-44C2-A23C-238F2A3DF928
Microsoft File Attribute Table (FAT32)    0C    EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Microsoft Windows NT (NTFS) or ExFAT      07    EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Microsoft Windows Recovery Environment    27    DE94BBA4-06D1-4D40-A16A-BFD50179D6AC

Here are the methods involving in editing the MBR table to create a hybrid partitioning scheme.

Method 1: Use the Third Party Tool gdisk

While booted to macOS, download and install gdisk.

  Note: If you get the popup shown below, then will need to run the Terminal application command shown below before trying to install gdisk.

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

  Note: The Terminal application can be found under "Utilities" on the menu bar.

Disable SIP and then boot back to macOS. This will allow you to use the commands gpt, gdisk and fdisk. You also can execute gpt, gdisk and fdisk from macOS Recovery, but this may require you to precede the gdisk command with a path.
The command given below can be used to partially display the information contained in GPT stored on disk0. You will need this information verify the changes made to the MBR table. (See the above question for the output from this command.)

gpt -r show /dev/disk0

Enter the command given below.

sudo gdisk /dev/disk0

Enter the input given below. This input is correct for the drive used as an example in this answer. Your actual input may vary from what is shown.

  Note: The control+C key can be pressed at anytime to terminate the gdisk command without saving any changes.

r
h
2 3 4
y
af
n
07
y
07
n
w
y

  Note: If you encounter the question shown below, enter the answer n.

Unused partition space(s) found. Use one to protect more partitions? (Y/N):

Below is an example of the output after entering the command and the above input.

GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): r

Recovery/transformation command (? for help): h

WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.

Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 2 3 4
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y

Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): af
Set the bootable flag? (Y/N): n

Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default 07): 07
Set the bootable flag? (Y/N): y

Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default 07): 07
Set the bootable flag? (Y/N): n

Recovery/transformation command (? for help): w

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

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk4.
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

As the above message suggests, it would be a good idea to restart the Mac.
Enter the command given below to verify the changes.

sudo fdisk /dev/disk0

Below is an example of the output after entering the command. Except for the start value of partition 1, the remaining start and size values should match the output from the gpt -r show /dev/disk0 command.

Disk: /dev/disk4    geometry: 60788/255/63 [976562540 sectors]
Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>
 2: AF   25 127  15 - 1023 254  63 [    409640 -  487304680] HFS+
*3: 07 1023 254  63 - 1023 254  63 [ 487714816 -  390623232] HPFS/QNX/AUX
 4: 07 1023 254  63 - 1023 254  63 [ 878340096 -   97654784] HPFS/QNX/AUX

  Note: The descriptions <Unknown ID>, Xenix BBT and HPFS/QNX/AUX are either wrong and/or outdated.

If desired, enable SIP.

Method 2: Use No Third Party Tools

Unless you disable System Integrity Protection (SIP), the solution given below requires booting to macOS Recovery via the internet, built-in recovery or an USB flash drive macOS installer. Once booted to macOS Recovery, open a Terminal application window.

  Note: The Terminal application can be found under "Utilities" on the menu bar.

The command given below can be used to partially display the information contained in GPT stored on disk0. You will need this information when editing the MBR table. (See the above question for the output from this command.)

gpt -r show /dev/disk0

The interactive command to edit the MBR partition table is given below. All changes will be not be entered in CHS mode.

fdisk -e /dev/disk0

Entering this command produced the following output

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1>

  Note: The control+C key can be pressed at anytime to terminate the fdisk command without saving any changes.

The only entry, in the initial MBR table, defines a "Protective Partition". This partition needs to be truncated to the end of the first partition in the GPT with the GUID of C12A7328-F81F-11D2-BA4B-00A0C93EC93B. This means the start value should remain 1, but the size value should be reduced to the value start + size - 1. The values use in this equation should be taken from GPT. Below is the resulting output from using the edit command to reduce the size of the first MBR partition.

fdisk: 1> edit 1
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 254  63 - 1023 254  63 [         1 -  976562539] <Unknown ID>
Partition id ('0' to disable)  [0 - FF]: [EE] (? for help) EE
Do you wish to edit in CHS mode? [n] N
Partition offset [0 - 976562540]: [63] 1
Partition size [1 - 976562539]: [976562539] 409639
fdisk:*1>

Next, enter the correct values for partition 2. The command is enter and the id is AF. The start and size values are the same as shown in the GPT. Doing so, results in what is shown below.

fdisk:*1> edit 2
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused
Partition id ('0' to disable)  [0 - FF]: [0] (? for help) AF
Do you wish to edit in CHS mode? [n] N
Partition offset [0 - 976562540]: [409640] 409640
Partition size [1 - 976152900]: [976152900] 487304680
fdisk:*1>

Repeat the previous step to update partitions 3 and 4. This is shown below. The id for partition 3 is 07 and for partition 4 is 0C.

fdisk:*1> edit 3
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused
Partition id ('0' to disable)  [0 - FF]: [0] (? for help) 07
Do you wish to edit in CHS mode? [n] N
Partition offset [0 - 976562540]: [487714320] 487714816
Partition size [1 - 488847724]: [488847724] 390623232
fdisk:*1> edit 4
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
Partition id ('0' to disable)  [0 - FF]: [0] (? for help) 0C
Do you wish to edit in CHS mode? [n] N
Partition offset [0 - 976562540]: [878338048] 878340096
Partition size [1 - 98222444]: [98222444] 97654784
fdisk:*1>

The next command flags the third partition as bootable. This partition was chosen because this is where the Windows resides.

fdisk:*1> flag 3
Partition 3 marked active.
fdisk:*1>

The next command to enter is print. This command displays what the updated MBR table would look like. The result is shown below. You can use the output to verify your changes. Except for the start value of partition 1, the remaining start and size values should match the output from the gpt -r show /dev/disk0 command.

fdisk:*1> print
Disk: /dev/disk0    geometry: 60788/255/63 [976562540 sectors]
Offset: 0   Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE    0   0   2 - 1023 254  63 [         1 -     409639] <Unknown ID>
 2: AF 1023 254  63 - 1023 254  63 [    409640 -  487304680] Xenix BBT
*3: 07 1023 254  63 - 1023 254  63 [ 487714816 -  390623232] HPFS/QNX/AUX
 4: 0C 1023 254  63 - 1023 254  63 [ 878340096 -   97654784] Win95 FAT32L
fdisk:*1>

  Note: The descriptions <Unknown ID>, Xenix BBT and HPFS/QNX/AUX are either wrong and/or outdated.

The final command quit writes the table back to the MBR, then quit fdisk. This is shown below.

fdisk:*1> quit
Writing current MBR to disk.
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] Y

As the above message suggests, it would be a good idea to restart the Mac.
If desired, enable SIP.


Ended up having the PSU replaced, but the issue still presented itself (wouldn't boot). Fixed in the end by replacing the motherboard.


Changing keyboard shortcut for cycling through windows? (Lion)

Many applications like Terminal also have a menu item like Window > Cycle Through Windows. It stays assigned to ⌘` even if you change the shortcut in the Keyboard & Text Input preferences.

You could add a custom shortcut for Cycle Through Windows in the Application Shortcuts preferences, or disable it with defaults write -g NSUserKeyEquivalents -dict-add "Cycle Through Windows" nul.

You could also force TotalTerminal to use ⌘` by editing ~/Library/Preferences/com.apple.Terminal.plist directly.

<key>ToggleVisor</key>
<dict>
    <key>KeyCode</key>
    <integer>50</integer>
    <key>Modifiers</key>
    <integer>9437184</integer>
</dict>


What do the various iTunes Match icons in iTunes mean?

Apple's iTunes Match: Understanding the iCloud Status icons KB article explains.

So, your icons in order are:

Available for download
Waiting
Error
Duplicate
Ineligible

If you're having problems, take a look at the Troubleshooting iTunes Match article.


I heard this is 10 times better than the default AirPrint functionality that comes with iOS. It also has tons more useful features. You might want to try the free trial, and see if it works for you!

http://www.ecamm.com/mac/printopia/


Faulty graphics card or maverick's issue?

I am having precisely the same issues with the same MacBook Pro, a 2010 15" 2.4GHz i5. When I uncheck the 'Automatic graphic switching' box in Energy Saving in System Preferences, the artefacts immediately disappear. My guess? A Mavericks driver issue with Intel HD graphics in this laptop.


MobileMe services has stopped working message in Outlook 2006

Delete mobile me account on the iPhone
Add MobileMe account, but when prompted to activate "Find My iPhone" feature, keep it inactive.
Once MobileMe account has been setup on your phone, proceed to activate the "Find My iPhone" feature.


How can I set a shortcut to close the window of TotalTerminal

I think my answer to your other question largely applies here too, but to specifically answer this:

If you tick the checkbox in the TotalTerminal preferences to show icon in Status Menu,  it should allow you to ⌘-w and reactivate without having to relaunch. You might also be running into issues with it seemingly not reactivating due to conflicting shortcuts in various applications, in which case I recommend trying a modifier-only "hotkey". ⌥ + ⌥ seems to work well.


Is there an utility which can profile and report on the activity of a single process?

I think BigTop is what you're looking for. It comes with the Developer Tools (which are on the install disc that came with your Mac)


Why is there no menu bar in Keynote for iOS?

iOS applications have no menus.

Menus are a feature of OS X applications.


Is it good for performance to sleep a Mac rather than shut it down?

A long uptime is four days? My MBP has uptimes of weeks. Not as snappy? I guess you're running out of memory or something else is wrong.

I've never had this issue where the machine is not as responsive after closing the lid as opposed to rebooting. I generally only reboot because of WiFi connection problems or software updates.

To answer your question - just close the lid. Only reboot when necessary.
When closing the lid it goes into a sleep state which I think is very nice because when you open the lid it is almost instantly awake and ready to be used. While if you power it off it will take some moments to be booted.

You could leave the lid open as well if you like. The fist thing that is probably is gonna fail is the battery. To keep that in good condition make sure you keep your battery charged (there are other topics about this how to do this and what is the best).

In the end, the machine is built to be used and you should just enjoy using it without thinking to much about what is best. Apple already has that done for you :).


How do you give supervisor powers to SimpleMDM?

Supervision is a mode that a device is put into. If you successfully put the device in Supervised mode, SimpleMDM will be able to take advantage of the added control. You can enroll the device as you normally would.


Google Chrome display corrupted over VNC

Turning off hardware acceleration in Chrome fixes it:

Connect directly (so you can see Chrome)
Go into Chrome's Settings
Scroll down and choose "Advanced settings"
Scroll right down and eventually you'll see Use hardware acceleration when available — turn it off, restart Chrome, and you're all set


How to control sound of connected external monitor?

A popular 3rd party software that lets you control the volume of a connected external display is Soundflower. It is a kernel extension.

The installer for the latest signed version with support for macOS Mojave can be downloaded here. If you use Homebrew, you can also install install it by running the command:

brew cask install soundflower

Since it is a kernel extension, you'll need to enable it by going to System Preferences app → Security & Privacy → General and click on Allow.

Next, you'll need to download and install the SoundflowerBed utility. It is the user facing macOS app that will let you control the audio. To install using Homebrew, run the following command:

brew cask install soundflowerbed

You are all set up now. Simply launch the SoundflowerBed app from Launchpad. It is a Menu bar app. Click on the app icon in the Menu bar and select DisplayPort, Thunderbolt or HDMI as the output in the (2ch) list.

Now, click the volume icon in the Menu bar and choose Soundflower(2ch). You can also make this selection in the Sound System Preference pane.

Now, you should be easily able to control the volume of your external display from your MacBook.

Note: Parts of this answer have been taken from the recently published article on MacRumors.