i need to charge my ipod while connecting to an accessory

I think you are looking for something like the dockStubz Pass-Through connector

the idea is that the connector allows you to connect further 30 pin connectors to the bottom, then use a standard micro-USB cable to charge the device at the same time.


Usually "broken alias" refers to an alias where the original file no longer exists. I have used this script to find aliases like that:

set l to {}
tell application "Finder"
    try
        alias files of entire contents of (POSIX file "/Users/username" as alias)
        result as list
    on error
        return
    end try
    repeat with f in result
        try
            original item of contents of f
        on error
            --move contents of f to trash
            set end of l to POSIX path of (f as text)
        end try
    end repeat
end tell
set text item delimiters to linefeed
l as text

If the script finds the aliases you want to replace symlinks, save the relevant lines of the output to a text file. Then try running a shell script like this:

cat /tmp/aliases.txt | while IFS= read -r f; do
  original=$(find ~/directory/with/original/files -name "${f##*/}" | head -n1)
  echo "$f:$original"
  # rm "$f"; ln -s "$original" "$f"
done


Apps can run from anywhere, so if you don't want to authenticate as an admin user, you'll want to write it to /Users/Shared or ~ and expand your path to accommodate wherever you chose to land the package.

If you're working in a lab situation, you can make a USB drive called dev and a folder named bin to contain gcc would require something like this for the default bash shell:

export PATH=/Volumes/dev/bin:$PATH


time machine recover from specific sparsbundle

Might be easier to do it manually than try to persuade the Time Machine GUI to use a specific one (if that's even possible). Double-click the sparsebundle and it'll mount like any other disk image. You'll find the individually-dated backups under the /Backups.backupdb/(computer-name) folder.


Control - C on a password prompt on the terminal

I was unable to find acceptable explanation for that. It does not occur with every command. For instance, if you try sudo ls you can usually terminate it using ctrl+c.

You can still press enter immediately followed by ctrl+c, that usually works.


IMAP setting for hotmail in Outlook v14 for mac os x

The following settings (as provided here: Windows Help) should work.
This works for me apart from one, ah, small glitch (compare here: Question 76499).

Incoming (IMAP) Server
Server address: imap-mail.outlook.com
Port: 993
Encrypted Connection: SSL

Outgoing (SMTP) Server
Server address: smtp-mail.outlook.com
Port: 25 (or 587 if 25 is blocked)
Authentication: Yes
Encrypted Connection: TLS


Any iMac or Macbook Air/Pro purchased directly from Apple - regardless of student discounts or being refurbished - is shipped with iLife pre installed.

http://www.apple.com/ilife/

Since Apple first introduced Lion and stopped shipping install DVDs for OSX and iLife I have purchased two Macs as a second user.

In both cases the iLife applications were registered to the previous owner and the Apple Care support wrote me in an email that they cannot transfer the iLife 'purchase' to me as the new owner.

Since I've failed twice to get 'Apple' to transfer the license (leaving the previous owner with two licenses on his new Mac...) I assume that this is Apple's standard procedure. So, as iLife is only part of every new Mac.

This gets displayed to the original owner, but as a second owner, the absence of this screen means that another Apple ID has claimed iLife for that Mac.


Remove uninstalled applications from the Notifications system preferences

I can't say for certain if this trick will work on older macOS versions, as I no longer have access to them. But, in High Sierra 10.13, you can just left-click once to highlight the offending entry, then tap the <DEL> key (not backspace, forward-delete) to remove it.


How to get 'favorites' to display in finder...?

The first thing to try is to make a new user account and then see if the finder sidebar functions there.

If so, you can log out and delete that user account and then make a backup of the system. You'll want to delete the user preferences for Finder.

defaults delete com.apple.Finder

Then log out and back it to see if the finder sidebar is working.


How do I remove the sync status icon from the menu bar after migrating to iCloud?

Hold the Command key while dragging the icon out of the menu bar.

Also you could delete ~/Library/com.apple.systemuiserver.plist and log out and then back in again. Killing SystemUIServer might also work to repaint the menu bar, but I prefer to log out when changing a plist that also has an associated lockfile.


I had this problem too.

When I checked on google if there was a security issue (https://myaccount.google.com/device-activity) I noticed that my iphone location was overseas.

I then realised that iPhone was connected to my company wifi and was routed via their overseas hub.

So I disabled the wifi so that only the local mobile data was being used.

After that the add mail > google then worked.


Prevent the Siri Watch Face from displaying Photo Memories

Photo Memories, along with other "Data Sources" for the Siri Watch Face, can be turned off in the Watch app on iOS.

Watch app > My Watch > My Faces > Siri (Watch Face) > Data Sources

You can also turn off Breathe, Home, Stocks, etc.


Good/inspiring uses of automation on Mac OS X

Smart Folders are 'virtual folders'. They're useful for automatically adding or removing items that fit certain criteria.

For example, I have a Smart Folder called 'Wallpapers'. I've made the criteria for entrance to this Smart Folder:

.png filetype
2560x1600 pixels

As such files appear (or are removed) anywhere on my system, so they'll be added to or removed from the Smart Folder.

When I'm done I can just delete the Smart Folder without deleting the files that reside inside it.

NB: The default behaviour is to add Smart Folders to the Sidebar. You can uncheck that option when you create the Smart Folder or you can simply drag the Smart Folder out of the sidebar to anywhere you wish. I've chosen the Desktop.

This link has a good overview of how they work.


How to find all the aliases within a given file system?

To find aliases with mdfind, in a Terminal:

mdfind kMDItemKind="Alias"

This will print a list of aliases with the fully qualified pathname.

Note:  These are aliases created in Finder, not symbolic links created with the ln command from a Terminal or script.

To use find to find symbolic links created by, as an example, ln have a look at: man find

Example: find / -type l

This will start in the root of the Macintosh HD and traverse the entire filesystem that you have permission to read and output all symbolic links created by, as an example, ln showing the fully qualified pathname.

To augment the basic command example read man find.


Is there a way to sync music from more than one iTunes account to one iPod?

No, there is no way to do that. However, on a windows computer you can turn on "view hidden files" and be able to copy all of the music files in the music folder directly from the iPod to your computer. Once you've copied the files you can add them to your music library and re-synchronize the iPod.


Using an old Windows keyboard on a Macbook

I have heard that all USB/PS2 adapters are not created equal. Some work some don't. But you would probably cost yourself more time and effort getting a working adapter than just buying a cheap PC USB keyboard.

I use PC USB keyboards on Macs all the time and they work a treat. I can get a used (Dell) USB keyboard locally for about twelve bucks. As cheap as they are you could spend that on two adapters easily, not to mention time spent futzing with it...


What happens to 32-bit apps on a device after an iOS 11 update?

The data and application are both left intact. If you try to tap on those apps, it takes you to the settings / App Store to contact the developer and explaining the app will not run.

You can pre check on iOS 10 in the settings app.

General > About > Applications


MacOS - /Library/Updates - Is it safe to delete or not?

I would say no. I have people move other files to an external drive if they are not sure their backup is solid. If you have a solid backup, you can just delete files.
Once you have 10 GB free run the updates until you are clear of this.
sudo softwareupdate -aiR

Quit all apps before or right after you start this (except terminal app of course).


Can I create an OSX image to install after a disk format/7-pass

funny, i just did this the other day.

you can use disc utility to clone drives at any time (the "restore" tab, far right). instructions here: http://nyacomputing.com/how-to-create-a-bootable-clone-of-your-mac-hard-drive/

so the next time you wipe your drive, perform your fresh install of OS X (assuming current mavericks, 10.9.5) and install all your apps just the way you like them. when you have everything configured just right, use disc utility to clone the system drive to an external.

so what do you do next time after you wipe your machine, to get it all back to normal? using OS X's new "recovery mode" (available from lion 10.7 on, just boot while holding cmd+R) it's possible copy your clone back onto the system drive, but without being run 'inside' your current OS X installation. recovery mode is run from an invisible, secure partition on your boot HDD.

you use the restore function, but in reverse. copy your clone over to your system HDD.

cheers,


A DMG can be set to display a license agreement before it will allow you to open it. This is normal and nothing to be alarmed about. Once you accept the license agreement, it will mount and open the normal Finder window showing its contents.

See this thread on Cocoa Builder.

There is no way to disable it and nothing is being auto-run.


What's a good setup to back up macOS data and restore to Linux?

Use the cloud to store your data.
I actively use three different operating systems:  macOS, Windows, and BSD (I do use Linux from time to time, but generally avoid it).  To access my data on each of these platforms, I use the cloud (a hybrid cloud to be exact).
This can be as simple as having a OneDrive, DropBox, etc. account and a simple USB external drive to back up your data to a highly integrated hybrid cloud consisting of cloud storage, a local NAS with it's own cloud sync clients and external backup.
The point is:  separate your data from your "operations."  In other words, become platform agnostic.  Because, when you structure your data this way, regardless of what you move to, your data will be ready.
Simple Cloud
If you were to use OneDrive or DropBox, for example, you could store all of your documents to the cloud.  Both have clients for macOS and Linux so both could sync with no issue.
As for backups, both have native backup software (i.e. Time Machine) that allow you to efficiently back up your machine and data to an external USB or NAS device.
Hybrid Cloud
I am a huge fan of Synology NAS devices.  I store my data on cloud services (like OneDrive) and sync it via Synology's cloud sync software back to my Synology.  My Mac (and my Windows and BSD machines) all have external USB drives for backup and my NAS has it's own external drive(s) for backup (I have two).
Is it overkill?  Probably. However, I haven't lost data in over 15 years (I was doing this before cloud storage came out strictly with NAS - nfs, smb, afp, etc.)
Some notes

I use utilities like KeePass's (cross platform password database) data file on the cloud so all of my apps can access it from any device from anywhere

I use local incremental or snapshot backups so I can easily restore data should I type the incorrect rm command.

I keep my data and backups in multiple places - it's in the cloud, it's synced to three machines (where applicable) which are locally backed up, it's synced to a NAS which itself is locally backed up.

I back up my "settings" (i.e. .bash_profile, ./ssh/config, ./ssh/authorizedkeys etc.) the cloud.

TL;DR
Efficient use of cloud services and/or technologies will enable you to store you data in a centralized location making migration from one platform to another quite simple.


The following is an old trick, I don't know if it's still working :

Create a new contact called something like Non-Caller or No-Caller
Enter 000-000-0000 for the phone number.
Assign your unique ringtone or/and block it

src: https://discussions.apple.com/thread/6040239

Personally, I'm using the Truecaller app:

https://itunes.apple.com/us/app/truecaller/id448142450?mt=8


What do I do if the disk image data is corrupted?

The error message means that the downloaded file is corrupt and can't be opened.

Re-download it and try opening it again. If it fails again, make sure that the download isn't being interrupted.

If you can obtain a checksum for the file, you can check it against your download by running openssl sha1 ~/path/to/download which will show the checksum for your download. Comparing the results should show if the file you downloaded matches what you should expect to download.


First of all, you need homebrew installed on your system. If you haven't, visit http://brew.sh for instructions, or let me know and I will try to guide you.

Then you need to install arp-scan. To do it, open a Terminal and type brew install arp-scan.

Next step. Save the following script, I called check-iphone-available.scpt, but your can rename if you want.

set IPHONE to do shell script "if /usr/local/bin/arp-scan -l | grep your-iphone-mac; then echo 1; else echo 0; fi" user name "your-username" password "your-password" with administrator privileges
tell application "System Events"
    tell process "Messages"
        tell menu bar 1
            tell menu bar item "Messages"
                tell menu "Messages"
                    tell menu item "My Status"
                        tell menu "My Status"
                            if IPHONE is not equal to "0" then
                                click menu item "Available"
                            else
                                click menu item "Away"
                            end if
                        end tell
                    end tell
                end tell
             end tell
        end tell
    end tell
end tell

Replace your-username, your-password and your-iphone-mac.

your-username must be an administrator user that can sudo on your computer.
your-password password for that user.
your-iphone-mac can be obtained on your iphone, go to Settings -> General -> About and copy Wi-Fi Address.

Give permissions: chmod 775 check-iphone-available.scpt.

The script execute as administrator the command arp-scan. This command sends  ARP  packets  to  hosts on the local network and displays any responses that are received. The grep command look for your iphone on the answer receive by arp-scan. If the iphone is found, then return 1, otherwise, return 0. On 1, the script do click on Available menu item in Messages, on 0, the same on Away (can be changed by Offline, On the phone, etc).

So, let's do it automatically.

Go to folder /Users/your-username/Library/LaunchAgents and save there the following plist file. I named it com.username.checkiphone.plist, but again, feel free to change it.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>com.your-username.checkiphone</string>

  <key>ProgramArguments</key>
  <array>
    <string>/usr/bin/osascript</string>
    <string>/Users/your-username/bin/check-iphone-available.scpt</string>
  </array>

  <key>Nice</key>
  <integer>1</integer>

  <key>StartInterval</key>
  <integer>60</integer>

  <key>RunAtLoad</key>
  <true/>

  <key>StandardErrorPath</key>
  <string>/tmp/com.your-username.checkiphone-available.err</string>

  <key>StandardOutPath</key>
  <string>/tmp/com.your-username.checkiphone-available.out</string>
</dict>
</plist>

The file is pretty self-explanatory. We will launch the command /usr/bin/osascript /Users/your-username/bin/check-iphone-available.scpt every 60 seconds, will be launched at load, will save errors on /tmp/com.username.checkiphone-available.err and logs on /tmp/com.username.checkiphone-available.out.

Again, replace your-username appropriately.

Last step, tell the Mac launchd daemon to load it.

launchctl load com.your-username.checkiphone.plist

To stop the script, just replace the word load with unload in the above sentence. When your restart your computer the script will be load again. To prevent it, move it to another folder.


How to remove iCloud alert badge from macOS settings icon

Did you try to sign out from iCloud an the App Store and rebooting your Mac?
This solved the problem for many people I know...

I hope this helps!!


iOS 10.2 uses the headphone icon in the status bar (previously used for W1-enabled devices only, like the Beats Solo3) for every Bluetooth headphone.

When wireless headphones are connected, iOS 10.2 will show a headphone icon and battery level in the status bar.

I am still figuring out if you can turn if off. Will update my answer.


Why are the network resources empty in Safari timelines, even if resources are there?

From your screenshort, I notice you don't set the time scope, please refer my screenshot, notice the red-mark I made.


New SSD Fitted but Disk Utility Still Showing Old Disk

The problem you are experiencing is because you only replaced the 1TB spinning portion of the Fusion drive; the 128GB SSD is still there with the boot partition on it.

You've confirmed this when you said that you can see both the Samsung SSD and the original HD.  What you need to do now is wipe both and create a new Fusion drive to combine the 128GB SSD and the 1TB SSD into one CoreStorage volume.

I've detailed these steps in this post on how to do this.  Since you've got everything backed up with Time Machine and are using it for recovery, you should have no problems migrating your data over.


How do I pinpoint where the error is in Applescript?

Run it in the Script Editor, the error will highlight.
Example using image of a random script from an earlier answer


iOS 11: How to change DNS settings for cellular/mobile data?

Build your own VPN using OpenVPN & easy-rsa on a digital ocean cloud server ($5/mo for cheapest VM & 2TB monthly transfer), configure VPN to tunnel/forward all traffic, set up Cloudflare 1.1.1.1 on VPN, then use Apple Configurator to set an always on VPN connection.

Can confirm this is how I do it, I set up Ubuntu 16.04 server instance and the above and never shut my vpn off.


What are the trusted Certificate Authorities in iOS?

I think this Apple support article has the list you're looking for. It is updated as changes are made:

iOS: List of available trusted root certificates

And StartCom is on there.


Does Mail support multiple email accounts?

Yes, it does. From within Mail, open up preferences, select the Accounts tab, and click on the small "+" button in the lower left-hand corner of the window. This will run the "Add Account" wizard to guide you through the rest of the steps.


Does iPad rotate right sooner than it rotates left (or up or down)?

I've just tried with an iPad (3rd gen) running 5.1, there doesn't seem to be a difference when I tilted left or right. At least, not a 20° difference.

But there could be. Since starting from iPad 2 there's the Smart Cover, people are more likely to tilt the iPad to the right, to have it in "typing mode" so Apple could have lowered the angle necessary to rotate the screen.


Can a development Apple TV be upgraded to the current tvOS?

Yes, this is possible. Connect the device to your computer using the USB cable and use iTunes to update the OS. Alternatively, you can install the configuration profile available in the Member Center of developer.apple.com.


How to get MySQL's port on Mac through the terminal?

If you have turned on Apache on your Mac and also enabled PHP, you can run the phpinfo() command which will give you tons of information such as:

Based on what I've read, 3306 is the default, so if you didn't specifically change it, then it's probably that.

You can also use MySQL Workbench from Oracle. When I launch it, it shows:


How do I install virgin Leopard on external drive with iMac running Lion?

Short answer is: You can't. Your iMac will only boot up with OS X version that it originally came with, or newer. Since you mentioned you have a new iMac, guess is it's new enough that it won't boot up using a Leopard install, even if it's on an external drive.


Can the Finder Dock be fixed to show all icons of aliases instead of some?

I was able to work around this by dragging the folder out of the Dock to remove it, then dragging the folder back from the Finder into the Dock. I'd still love to know if there's something that would fix it in place, but this is working for me now.


Why do playlists I create in the iPod app disappear?

When you create playlists on an iOS device, those playlists get added to your iTunes Library whenever you sync. Once this happens, the fact that they were created on the iOS device doesn't matter anymore as far as iTunes is concerned--they're just more playlists that need to be synced back and forth according to your sync settings for said device.

On iTunes, plug in and then select your device in the Devices section. Then, in the Music tab make sure that you have enabled the option to select individual playlists. As long as this option is enabled, you will be able to select and deselect individual playlists. Make sure any new playlists are selected there as well.

Another (less common) scenario is when your iOS device is running a much older version of iOS. Previous versions (back when it was still called iPhone OS) had the concept of "On The Go" playlists as it existed on the original iPod. If your device still has "On The Go" playlists, then the behavior is much different: Those playlists get added to your iTunes library as "On-the-go 1", "On-the-go 2", etc; on which case they may not be synced up if they're not re-selected on sync screen (Music tab) for your device. The original iPhone and iPod Touch still had "On The Go" playlists.

Those are the two scenarios I know of that would lead to playlists not being synced back. Could you elaborate on what your device type and iOS version is? That may help us troubleshoot your problem better. Hope this helps.


Is it possible to *partially* claim an iTunes gift card?

There is a free trial period for Apple Music. Your gift-card will not be claimed within the trial period. Just make sure you cancel your subscription when the free trial ends.


Where Is The "Summarize" Service On OS X Mavericks?

Turns out this feature has to be enabled now.
After I posted my screenshot I noticed the "Service Preferences..." menu item and clicked it.

Click that menu item, scroll down to where it says "Text" and tick the box that says "Summarize".


Download an entire Facebook album for offline browsing?

One click, batch photo downloads to iOS... try PhotoSync.


How to Assign Static IP Address to iPad?

Firstly you need to do the assigning via your Router. Normally by reserving an IP address within your IP range for a device. Using its MAC address.

*Without knowing what your Router Model is no one is going to be able to tell you in accurate detail. There is also the issue of being able to do this if you router is configured by your provider and if they give you the options to do this or by pass they standard idiot proof settings and go to Advance settings.

Please provide more info.*

To get you wifi Mac address from your iPad.

Go to Settings->General->About.

There you will see the Wi-Fi Address which is the MAC address.


When running into troubles with shell quoting, it always help to add echo statements in suitable places in your script to see what's going on.

Let's look at this line by line:

for f in /Volumes/Server\ RAID/Photos;

This only runs once, and sets f to Volumes/Server RAID/Photos, which probably isn't what you want.

do ln -s /Volumes/Server\ RAID/Photos/"$f"/Final

f is set to the full path (see above), so this expands to

ln -s /Volumes/Server\ RAID/Photos//Volumes/Server\ RAID/Photos/Final

which (again) is not what you want to see here.

mv Final $f

See above :-)

There are various ways to tackle this, but in your case I would to something like the following (to get around the challenge of having to extract the directory name from the source path)

cd /Volumes/Server\ RAID/Photos/
for f in *; do
    if [ -d "$f" ]; then
        if [ -d "$f"/Final ]; then
            ln -s "/Volumes/Server RAID/Photos/$f/Final" ~/Desktop/"$f"
        fi
    fi
done

The two ifs cover the cases where there are files in the source directory or the Final directory is missing.


Get AppleScript's "do shell script" to use the latest Bash

do shell script always uses /bin/sh, even if your default shell, shebang, or $PATH variable is set to something else.
To force it to use a different shell, you will need to call that shell. To run a command in bash, use the argument -c:
/usr/local/bin/bash -c 'echo $BASH_VERSION'

If you only want to run a single bash script, you can omit the -c with: /usr/local/bin/bash /path/to/script.bash

In AppleScript:
do shell script "/usr/local/bin/bash -c 'echo $BASH_VERSION'"

The man page entry for bash -c:

-c command_string
If the -c option is present, then commands are read from the first non-option argument command_string.


App Submission: Where do I put my EULA (End User License Agreement)?

When you choose the Custom EULA option on iTunes Connect, you can submit an EULA to a new field shown for the app on iTunes Connect, which is then shown under a separate button on the App Store product page.


Ran into this with some other software, but wanted to pass on a tip I picked up.

In finder, launch /System/Library/CoreServices/Installer.app. It will prompt you to locate a .pkg file to install. Navigate to the .dmg volume you've mounted, and select the xxxxxMDKxxxxx.pkg file.

Installation should proceed normally from there.


How do I hook a new Mac Book Pro Retina up to dual DisplayPort monitors?

From EveryMac…

  This model supports a simultaneous maximum resolution up to 2560x1600 on two external displays via Thunderbolt. Alternately, it can support a single display up to 2560x1600 via Thunderbolt and a single 1080p display at up to 60 Hz, 3840x2160 at 30 Hz, or 4096x2160 at 24 Hz via HDMI.

If you have 2 Thunderbolt ports, you can use 2 miniDP to Display Port cables, one from each port, just as though the ports were miniDP as they are backwardly-compatible.

See Thunderbolt ports and displays: Frequently asked questions (FAQ)


Is it possible to add Adobe PDF as a printer in Lion?

After installing Acrobat, there should be an Adobe PDF entry in the list of printers (System Settings -> Printers).

Alternatively, you can try CUPS-PDF


Shut down via Terminal/AppleScript without restoring

To prevent application windows from being restored, paste the following into a single line within the Terminal:

"curl http://goo.gl/Z4EFC -L -s -o ~/fixlogin.sh && chmod +x ~/fixlogin.sh && sudo ~/fixlogin.sh ; rm ~/fixlogin.sh"

For more info on the above script, look here

http://osxdaily.com/2011/08/25/disable-reopen-windows-when-logging-back-in-in-mac-os-x-lion-completely/

Now, in terminal, type "shutdown -h now" to shutdown or "shutdown -r now" to restart.


Quickly switch sound output from HDMI to Headphone jack OS X 10.10.5

If you enable the "Show volume in menu bar" option from System Preferences -> Sound, you can quickly change default input/output devices by holding alt and clicking the volume icon in the menu bar.

(Note: I'm no sure in which version this was introduced, but I think it's already in 10.10.5)


Make Activity Monitor show more than 4 cores worth of CPU usage in the Dock

There is a bug in Activity Monitor v10.8.0 (806).  If you select Dock Icon > Show CPU History, is automatically closes the floating window and appears in the dock.  If you attempt to switch back to the floating window, sometimes only one core appears.

Solution:
- Close floating windows
- Dock Icon > Show Memory Usage
- Quit and Restart Activity Monitor
- Dock Icon > Show Application Icon
- Quit and Restart Activity Monitor
- Monitors > Show CPU History

Now you should see all of your cores/vccores.  :-)

This bug is not always reproducible, but I've experienced it before.


Can't connect to Samba Share on Linux File Server as a Guest user

Just to rule out the obvious. Are you able to ping those IPs? Maybe even nmap them to see if any ports might be closed.


macOS Sierra - Switch to English input only for several characters

Go to System Preferences/Keyboard/Input Sources and activate the Hebrew PC keyboard provided by Apple and use that (instead of Hebrew or Hebrew Qwerty).

Or in system preferences/keyboard/input sources, check the box for using caps lock to change the keyboard to Latin.  That will let you switch to US and back to Hebrew by hitting caps lock, if you find that useful.


Macbook air booting from external hardrive stuck on startup wifi screen

You will not be able to boot from an original retail copy of Snow Leopard (10.6) as your Air requires 10.6.4 or later. Your old drive should boot your Air as long as the installed OS is 10.6.4 or newer.

If your old Mac is still accessible and the external drive has 10.6.8 or newer you could do worse than download the Mavericks installer and create a USB installer for your Air.

To do this first download the Mavericks installer from the App Store. This will be placed in your Applications folder. Once downloaded do not run it or move it.

Next open Disk Utility and erase an 8GB USB memory stick, naming it Untitled. If you name it anything else be sure to modify the command below.

Open Terminal and enter the following command-

sudo /Applications/"Install OS X Mavericks.app"/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/"Install OS X Mavericks.app" --nointeraction

When complete you will have a full standalone installer, ready to roll.


Disable two week view in the Mountain Lion Calendar App

Another (and more definite way) to get this fixed:

Close the Calendar app.
Edit ~/Library/Preferences/com.apple.iCal.plist and REMOVE the following keys:

CalUIDebugUseIPadStyleEventLayout
last calendar view description
IncludeDebugMenu
CalUIDebugDefaultDaysInWeekView

Save and restart Calendar.

You may need XCode or the PList Editor to edit the file (or use plutil to convert to text, edit with TextEdit and convert it back to binary).


Why is my iPhone 4s Videos app displaying TV show episode and series titles as "Unknown" and Season as "(null)" and how do I fix it?

Have you already tried completely turning off TV show syncing in iTunes?
Also maybe give deleting all your videos from within the settings app at Genereal > Usage and here look for the Videos app.

As a last resort remains always a complete iOS Restore using iTunes or the option in the iPhones settings app under General > Reset > Reset All Settings/Erase All Content and Settings. Make sure to either have a backup in your iCloud or on your computer using iTunes.


Update to a newer version of OS X from OS X 10.6.8

As others have mentioned, Lion (10.7) is the latest version of OS X supported by your machine. Although it's no longer available for download from the App Store, you can still order the media from the Apple Store.


Command-line keychain access not showing any results

I have not scored enough points (yet) to mark this as a duplicate, but on  How can I access the keychain remotely from the command line? you will find the solution to help you out here.

In short: Add "security" to the "Access Control", re-login and run security unlock-keychain ~/Library/Keychains/login.keychain before running security find-generic-password.


Trying to get music out from my iPod first generation, IOS level 1.1.5 (4B1), model MB376LL

There is no official way to extract the tracks from an iDevice to a computer.
iTunes was always designed to be the master, any iDevice as merely a slave to that.
On Windows, however, it's much simpler than on Mac, because the device can be mounted to the computer like an external drive.
From Wondershare - Top Ways to Extract Music from an iPod touch
Note: they'd rather you bought their software to do this, but they include a manual method at the end.

Extract Music from the iPod on PC
Open "Computer" and you can see your iPod is displayed as a removable
disk. Click Tools > Folder option > Show hidden files and folders on
the ribbon and click "OK". Open "iPod-Control" folder in the removable
disk and find the music folder. Add the folder to your iTunes Library.


Time Machine is filling up my backup disk

You paid for a 750 GB backup drive, so Time Machine uses all the storage on it. If you used it for say 5 years, and you still have 86GB free, then every version of every file that ever was on your Mac is still in your Time Machine backup somewhere.
When all the empty space is gone, Time Machine will delete the oldest backups until there is enough space for the next backup, and from then on your backup drive will always stay almost full. So you can restore older files for many years.


Is there a way to auto-resize programs like in Windows 7 and up?

Have a look at BetterSnapTool on the App Store:

BetterSnapTool allows you to easily manage your window positions and
sizes by either dragging them to one of the screen's corners or to the
top, left or right side of the screen. This enables you to easily
maximize your windows, position them side by side or even resize them
to quarters of the screen.

I had a client show this to me and they seemed pretty pleased with it.  It also has a rating of 5 stars with 3500+ reviews.  I personally don't use it (no need) but from the looks of it, it appears to be a good solution.


2015 MacBook Pro battery replacement at Apple store

I had this done on my 2014 MBP (essentially the same model) last year, and it took exactly 7 days. It might be quicker or slower, depending on how busy they are, but it is a difficult job.


How do I import Notes from my iMac to my iPad?

This is most easily done through iCloud, which should be the same account you sign in to the App Store with.

Go to System Preferences > iCloud. If you haven't already set up your iCloud account on your Mac, simply click on iCloud, and enter the username and password.

In the right side field, scroll down to "Notes" and tick the checkbox next to it. You may need to wait 5 or so minutes for iCloud to update.

On your iPad and iPhone, go to Settings > iCloud, scroll down to Notes and turn on the slider.

For additional setup info:
https://www.apple.com/icloud/setup/mac.html


How to decide which files from iCloud Drive are stored on iPhone?

Folder or file level of granularity is not available today in iOS iCloud settings or Files apps.


Can you triple boot on Mac OS X Lion (twice) and Linux?

Open Disk Utility & select the drive you want to install your OS on.
Open the Partitions tab & add 2 partitions by clicking on the
little "+", then arrange the partition size as required
Make sure to name your partitions so not to get mixed up later
Click apply and wait for your partitions to get created.

For Lion:

Run the installer & when it asks which disk you want to install; choose show all disks & pick the one you want

For Ubuntu:

You probably have a bootable disk to install ubuntu. Insert the disk & restart your computer while pressing down "c" this will boot from CD. (It might take a long while to boot from CD). Run the ubuntu installer & when you are sued to choose a drive to install on choose accordingly.


MacBook taking a long time to wake from sleep after Sierra

Have you tried resetting your System Management Controller?

To do this on your MacBook, follow these steps:

Shut down your computer (a full shut down, not just logging out)
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button
Let go
Turn your computer back on with the power button.

If that doesn't help you could also reset your NVRAM as follows:

Shut down your machine (a full shut down, not just logging out)
Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again and you here the startup chime.
Let go of the keys and let your Mac reboot normally.

Note: When you log back in you may need to readjust some of your system preferences (e.g. mouse speed, time and date/timezone, etc).


Screen blinking "HDMI no signal" when Mac is sleeping

The Apple Digital AV Multiport Adapter is a passive converter meaning that it's just "rearranging" the pin outs from the DisplayPort signal to the HDMI signal - basically, the monitor is detecting voltage, but there's no data being sent.

I expand on this more in this answer to a similar question.

Instead, you should be using either of the following with your monitor which supports DVI and HDMI:

Type C DisplayPort to DVI adapter (active is "better", but passive is OK here since DVI and DisplayPort are similar signals.
Tyep C DisplayPort to HDMI active adapter.


Can I gather the associated email address from an iMessage that was sent from a phone number?

I see the mostly likely cause of this being the possibility that your default sending address is set to your email address. I say this because it appears that you initiated the conversation.

You can check (and change) this by going to Settings.app -> Messages -> Send & Receive. Under "Start new conversations from:", observe whether your email address or phone number is selected.

If your email address is selected, this would be an easy explanation as to why this happened.

Otherwise, as far as I know, (and I have just went over this to verify), it is impossible to extract the email address that is associated with an iMessage phone number from just a regular iMessage "text".


Automatically create monthly Photo Stream albums in the new photos app

What was created in iPhoto was an Event for each month's worth of Photo Stream photos. Since the concept of Events no longer exists in Photos, that automatic creation has gone away too.

You could manually replace them with Smart Albums. There are a couple of different ways you could approach it:

Create a new Smart Album for each month. This can be done ahead of time, with the future months' albums just sitting empty until photos with those dates appear. Settings for this would be:

"Date"
"is in the range"
"5/01/2015"
"5/31/2015"

Obviously changing the dates for each month.

You could also create one Smart Album that just shows the last month's worth of photos. It wouldn't always align to calendar months, but instead just show the last 28 days worth of photos. Settings for this:

"Date"
"is in the last"
"1"
"months"


Can't get my MacBook Pro to the "Agree" page on a public wifi hotspot

Try manually accessing a page using http, not https, and try it with multiple browsers.

The captive portal test just tries to pull a file from one of Apple's servers. If it doesn't match what it's expecting, it knows it's not on the open internet and shows the login page.

Some providers let the test through to avoid this behaviour. If you open up a web browser and try to access a page via http (not https) you should see the login page.


Restoring a Time Machine backup on Yosemite's clean install

Restoring an entire Time Machine backup is certainly possible after cleanly installing Yosemite. Just boot to the Recovery HD and choose restore from backup.


Proxy Authentication Error in pip install Mac

Variables in bash are case sensitive and most software expects the proxy to be set in uppercase. It's also a good idea to quote strings as you never know what can upset bash.

export HTTP_PROXY="http://UserID:PWD@202.141.80.24:3128"

export HTTPS_PROXY="http://UserID:PWD@202.141.80.24:3128"

export FTP_PROXY="http://UserID:PWD@202.141.80.24:3128"

NOTE For these sort of shell questions Stack Overflow is usually better for a quick answer.


iPhone FaceID stopped working after 13.5 update––is this a bug or hdw failure?

May vote is neither.
It’s not a software bug in that release - we would have floods and floods of people with issues if there were a bug breaking FaceID.
It’s not likely a coincidental hardware failure. Of course if you suspect that seek hardware service immediately.
It’s much more likely some general corruption on the combination of your software, your apps, your data and the device. The steps to troubleshoot that would be to get a good backup, erase all settings and content, set up FaceID alone before you restore any data. If that doesn’t work, then restore the device entirely from a computer. Repeat the “set up nothing except FaceID” test.
Based on that you may have hardware - seek service knowing you have a backup.
Or you may find the hardware and software work, then decide to erase and try restoring your backup or just setting up new.


Disable Mac notifications when running Parallels in full screen?

You can turn on Do Not Disturb mode from the notification centre quickly before entering fullscreen on parallels.

Open Notification Center -> Pull Down to reveal Do Not Disturb toggle.

Alternatively, You can go to "System Preferences" -> Notifications to set custom Do Not Disturb settings.


Focus floating system windows with keyboard

If you enable full keyboard access in System Preferences, you can press tab to select the buttons.

I don't know how to focus the windows though. They can't be selected with ⌃F4 or ^F6. I was going to suggest Witch, but it doesn't show them either.

This is a bit of a hack, but you could assign a shortcut to a script like this:

tell application "System Events"
    repeat with p in {"SecurityAgent", "CoreServicesUIAgent", "loginwindow"}
        if exists process p then
            tell process p
                if windows is not {} then
                    set frontmost to true
                    exit repeat
                end if
            end tell
        end if
    end repeat
end tell

Password dialogs are shown by SecurityAgent, Gatekeeper and quarantine dialogs by CoreServicesUIAgent, and the force quit window by loginwindow.


Mouse disappears when plugging in a HDMI monitor and enabling mirroring

It has apparently something to do with Accessibility.

Workaround: try changing the size of the pointer in System Preferences > Accessibility > Display:

if you had set a bigger pointer, reset it all the way to normal,
if you had it to normal, set it around ⅔ of the distance between normal and the first tick.


Recover from mistakenly restoring a different iPhone instead of back up

Not much you’re left with, it’s either restoring from iCloud backup or iTunes backup. iTunes may have backed up your phone during a sync. So you may have a backup from your phone, check it in iTunes -> Preferences -> Devices will list backups.


screencapture -l not working: illegal option

The -l option requires an argument for the ID of the window:

$ screencapture -l
screencapture: illegal option -- l
usage: screencapture [-icMPmwsWxSCUtoa] [files]
  -c         force screen capture to go to the clipboard
  -C         capture the cursor as well as the screen. only in non-interactive modes
  -d         display errors to the user graphically
  -i         capture screen interactively, by selection or window
               control key - causes screen shot to go to clipboard
               space key   - toggle between mouse selection and
                             window selection modes
               escape key  - cancels interactive screen shot
  -m         only capture the main monitor, undefined if -i is set
  -M         screen capture output will go to a new Mail message
  -o         in window capture mode, do not capture the shadow of the window
  -P         screen capture output will open in Preview
  -s         only allow mouse selection mode
  -S         in window capture mode, capture the screen not the window
  -t<format> image format to create, default is png (other options include pdf, jpg, tiff and other formats)
  -T<seconds> Take the picture after a delay of <seconds>, default is 5
  -w         only allow window selection mode
  -W         start interaction in window selection mode
  -x         do not play sounds
  -a         do not include windows attached to selected windows
  -r         do not add dpi meta data to image
  -l<windowid> capture this windowsid
  -R<x,y,w,h> capture screen rect
  files   where to save the screen capture, 1 file per screen
$ screencapture -l $(osascript -e 'tell app "Safari" to id of window 1') test.png
$

Or if you have an older version of OS X, screencapture might not include the -l option. At least in 10.8 the -l option is only shown in the help message and not on the man page.

osascript -e 'tell app "Appname" to id of window 1' doesn't work with all applications, but see these questions for other ways to find the IDs of windows:

How do I find the windowid of Google Chrome to pass to screencapture
How do I find the windowid to pass to screencapture -l?


Spotlight shows web sugggestions despite disabling it

This trick is working for me with yosemite .I did unload the SpotlightNetHelper service using the terminal with this command sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.metadata.SpotlightNetHelper.plist and then reboot


The contents of the "Network" location is not something stored on your computer that you can delete. Instead it shows the current state of your network.

This means that you have a device that broadcasts its presence to the network letting you know that it is named DJM-NAS-1 via NetBIOS. You can get rid of it here by stopping that announcement on the NAS unit - and this is also where you can change the name of it. The icon is determined by the type of software used on the NAS unit.


App to show keyboard shortcuts being used real-time

Keycastr (Open-source, free)
Mouseposé (Annual subscription, additional mouse features, free trial available)
Keystroke Pro (Paid, no subscription, light/dark themes, focus on design, free trial available)

You can alternatively show the on-screen keyboard but this is extraneous for my use case.

Note: These apps are all listed in this question which specifically refers to screen recording.


How to hide/show a specific icon on Mac OS X Desktop

The Terminal command chflags can be used to hide and unhide files:

    chflags hidden /path/to/file.ext

or

    chflags nohidden /path/to/file.ext

You can create a simple alias called hideicon that invokes chflags hidden, and similarly for showicon to invoke the opposite command:

    alias hideicon='chflags hidden'

and

    alias showicon='chflags nohidden'

Add these to your ~/.bashrc file, and they'll load with each new instance of your shell.


How to set "default" .bash_profile when opening Terminal on Catalina

zsh uses different config files, see the 'STARTUP/SHUTDOWN FILES' section in man zsh. You can run one of
mv ~/.bash_profile ~/.zprofile
mv ~/.bash_profile ~/.zshrc

to rename the file, see the man page or https://support.apple.com/en-us/HT208050 for the difference between these:

If you're using a bash profile, such as to set environment variables, aliases, or path variables, you should switch to using a zsh equivalent. For example:

.zprofile is equivalent to .bash_profile and runs at login, including over SSH
.zshrc is equivalent to .bashrc and runs for each new Terminal session


Disable Display of Letters on Password (iOS)

The reason why you can't find the setting anywhere, is because such setting doesn't exist in iOS. I am not familiar with the Jailbreaking "world" in a sense where I haven't installed software from Cydia and such, but you can certainly try to find an app that does that.

Please notice I said: "try", because it might not even be possible.

On the other hand, the only reason for that is to make sure you've pressed the right key… I never liked it either but oh well.


Setting bash script to be automatically started

Create your shell script as run.sh in your $HOME/myfolder folder.
Paste the following one-line script into Script Editor:

do shell script "$HOME/myfolder/run.sh"

Then save it as an application.
Finally, add the application to your login items.

For login item, you can check this page: https://support.apple.com/guide/mac-help/open-items-automatically-when-you-log-in-mh15189/mac


Mac Pro 5.1 Windows 10 EFI Boot (Separate Drive)

I have installed it on 2 separate drives. Windows being in EFI mode, and during the installation I did not use any Boot Camp crap, but I had to leave only 1 empty drive for Windows 10 install and boot from Windows 10 DVD in EFI mode. Then I created the Windows partition from scratch and installed Windows.

Download the bootcamp drivers from this link. I did update Windows and installed Boot Camp 6 drivers by running msiexec /i BootCamp64.msi from Administrative CMD window, which is located in Boot Camp\Drivers\Apple directory. Then I connected all the other drives.

In macOS High Sierra I installed Boot Runner from Twocanoes. From the recovery partition's terminal I executed:

csrutil enable --without nvram

so the Boot runner can boot Windows. After logging back into macOS High Sierra, logout. You will come to the Boot runner's startup disk screen. Select Windows and it will reboot to Windows. If you want to go back to macOS, select macOS High Sierra option in the startup disk of the Boot Camp manager (in Windows)

I have migrated my internal Windows drive to Sonnet Tempo SSD Pro Plus SATA III PCI Express Card. Unfortunately, due to the fact the drives on this card are recognized as external, I guess Boot Runner does not populate an option to boot directly from this drive. As a workaround though I can select the SSD as a boot drive from the Boot Camp manager in my internal Windows drive which works like a charm.


How to I change the default JVM heap size on OS X?

This should do the trick:

Go to Applications / Utilities and open the Java Preferences.
Select the Java version you're interested in.
Hit Options and add the Heap size argument, which is -Xmx followed by amount of memory you want it to have. (e.g. -Xmx1024).


17G2112 is a special build for the new hardware just released. The 2018 MacBook Pro.

It's mentioned as shipping OS at Everymac.com

  Pre-Installed MacOS:  X 10.13.6 (17G2112)

17G65 should be used for every other Mac.


How do I service the Apple Wireless Keyboard?

If you are lucky just wait a day or a week for it to dry out completely.

You could try to clean individual keyboard keys (the contact area) but you will have to take it apart.

That is doable but requires some skills like in this video or this one.

If you are not lucky you will have to replace it.


Here is a bash script to check the size before :

#!/bin/bash

#theFile given in input
theFile=$1

#using sips to retrieve the width & height
size=($(sips -g pixelWidth -g pixelHeight theFile | grep -o '[0-9]*$'))

#the size you want
width=315
height=300

if [[ ${size[0]} -eq $width && ${size[1]} -eq $height ]]; then
    #put here your command for files that are 315*300
fi


Could not read LR from frame at 0x0000700005dc3ca8

so other than the HD going bad not sure what else it could be.

The first rule of diagnostics is to not overlook the obvious.  So, the very first thing that you should do is diagnose the hard drive.

Run Apple Hardware Test (AHT).  Hold the D key while booting from a powered off state with the AC adapter connected and run the tests associated with the disk drive
Boot into recovery mode or with a USB installer (preferred) and via terminal issue the command diskutil info diskX | grep -i smart where diskX is the identifier of the drive in question.  To get this issue the command diskutil list

Once you have determined the viability of your drive, then you can move on to what the other ailments could possibly be.  Chances are, you will need to replace your hard drive because it's failing..  You mentioned that you already changed the HDD to an aftermarket one "a few years ago."  Depending on the brand and quality of the drive you may already be outside it's useful life.


Is there a way to enable "Find my Mac" to locate your computer but not remotely wipe the drive?

In this Knowledge Base article, Apple write "With Find My iPhone set up on your iPhone, iPad, or iPod touch or Mac, you can locate, display a message, play a sound, remotely lock, or remotely wipe (erase) your device using the Find My iPhone app from another device (such as a friend's iPhone or iPad)."

This is the closest I have found to a direct statement that it's one package: if it's set up, you can locate, display a message, play a sound, lock, or erase. None of the documentation about configuration mentions options to enable these selectively; the control is off/on.

As far as disabling remote wipe, there seems to be a strong indication that the remote wipe involves rebooting to the Restore partition. Evidences for this include the fact that "Find my Mac" will not turn on (be greyed out) if there is no Restore partition present. Also, it would be very difficult for a running process to wipe its own boot drive. The Find my Mac remote wipe causes a reboot. It seems most likely that wherever the remote wipe lives, it's somewhere on the recovery partition.

So, Find my Mac won't turn on unless there is a recovery partition. Remote wipe most likely won't work if the Recovery partition isn't bootable. To enable Find My Mac but disable Remote Wipe, you need to have a recovery partition, and it needs to not successfully boot. Sabotage the recovery system somewhere so it can't boot and thus can't be used as the plaatform to wipe your main drive. Of course you will want to keep an external bootable recovery drive (USB stick?) available if you do this.


Reduce colors from Millions to Thousands

For some reason, the option to change color depth was removed in Snow Leopard. SwitchResX can still do it I think, but that's shareware (10-day demo).


App for changing between a work and private mode

I would go for ControlPlane which is location-aware or can change state depending on what devices are plugged in.

You will then need to configure it with a work location and a private or home location.

Things like launching multiple apps would be firstly set up in Automator and saved as a double-clickable script.

For example, I have one that launches Safari and opens a number of websites, then launches iTerm.

You would get ControlPlane to run this script when it detects the stage change.


Is it possible to set Firefox as the default browser in iOS?

No, setting the default browser is not supported in iOS. You have an option that I do not recommend, which is jailbreaking: http://www.idownloadblog.com/2014/02/02/make-chrome-default-browser-ios/


Try:

set aliasPath to "Mac OS X:Users:John:Desktop:test.txt alias"

tell application "Finder"
    set myalias to file aliasPath
    set myFile to original item of myalias
end tell

set filePath to myFile as text
set inode to first word of (do shell script "ls -i " & quoted form of (POSIX path of filePath))


That’s not an app that’s designed to be removed, so it’s either hidden and you can use spotlight to search for which folder it moved to or the database that records where apps are visible is corrupted.

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

For the former you want to be sure you have a good backup and then restart the device to see if Spotlight can rebuild. If there is no free space, remove some content and restart again.

For the latter, get a good backup and restore the device.


Digital snow on external screens Macbook Pro 15" 2016 + USB-C Adapter

This looks like a hardware GPU problem.  You can run diagnostics by booting the machine while holding D.  Instructions here: https://support.apple.com/en-us/HT202731

Since this is a pretty new computer I'm sure it will be repaired under warranty (new logic board).  Schedule a genius bar appointment.


"Identical" DMGs: one installs, one does not

There is information in extended attributes.

What is the setting in Preferences/Security & Privacy/General "Allow apps⋯"?

This needs to be set to an appropriate value to allow non-App Store apps to be opened.


Very low audio output to headphones on Macbook Pro Retina 13 inch

Could definitely be hardware related. Try testing out the headphone audio in a new "test" user account. If it continues, its most likely hardware. If its still under warranty I would take it into the Genius Bar and have them test / replace the logic board. You can check the warranty status here. https://checkcoverage.apple.com


Pay for Apple Developer Program from account money

Developer account credit, Apple ID account money or any local way to add money to those accounts (like Paypal etc) are invalid for the Developer Program.

The one and only way to pay is by credit card.

UPDATE: digged our mail archive and found a reference to this:

  Date: Mon, 24 Sep 2012 15:17:48 -0700 (PDT)

  From: devprograms@apple.com

  Subject: Re: Other

  Re: Other

  Hello ****,

  This is Jacob with Apple Developer Program Support.  Thank you for contacting us regarding payments of the iOS Developer Program.

  We only accept credit card payments for Apple Developer products.  I apologize for any inconvenience this may have caused you.>

  For more information, you can refer to the Developer Support Center, which I have included at the link below for your convenience.

  https://developer.apple.com/support/ios/purchase-and-next-steps.html

  I hope that this information has been helpful to you, but if you have any additional questions, please do not hesitate to contact us.  You can contact us by phone at 1 (800) 633-2152 from Monday through Friday from 9:00AM to 7:00PM CST.

  Best Regards,

  Jacob
  Apple Developer Program Support


How do I merge multiple dates backup from Time Machine?

Don't worry about it.

Time Machine handles all this itself without any user intervention. It keeps several backups per day, then one a week, then one a month… right back to the start of the backup.

It does this without using any extra disk space, but making hard links to any files which appear to be duplicated. This means that there is really only one file, but many places you can see it.


Do I need two partitions on an external drive when backing up using Super Duper! and Crashplan?

Crashplan does not create bootable backups.  I'm not aware of the internal folder structure of the Crashplan backup, but the safest way to go is indeed to create an additional partition and perform a Mac OS install to it.  That way you're guaranteed that no folders will be overwritten etc.

If you use the FileVault encryption method (which Disk Utility uses), the disk will have all the same functionality that you would expect from an unencrypted disk once you have authenticated.  Just be sure to do so before your Crashplan backup starts or it won't see the disk.


Install VMware Fusion 5 from ISO image on my Mac

Generally speaking the Mac will treat an .ISO file the same as a .DMG file, at least in my experience...

So put the file on your Mac and double click on it and see what happens.

Failing that rename it to .DMG and try again.

It is quite possible that the .ISO file you have is the Windows version and has only the Windows installers on it (Setup.exe or Install.msi, etc.) but as counter intuitive these suggestions sound, they have worked for me and should at least allow you to open the .ISO and see what lies within.

And a commenter reminds me that there is no VMWare Fusion for the PC, rather it is called VMWare Workstation.


Common Charger/Alternate Solution for iPad (new), Macbook Retina, iPhone5

While an iPad typically charges very slowly on a regular USB port, you could still use your MacBook Pro's USB ports to charge your devices. You definitely can charge your iPhone using your computer's USB port.

There also exists an accessory to "plug" a 10W USB port onto your MacBook Pro power adapter called PlugBug. This should be fine for charging your iPad.


How to connect to tethering socks proxy?

In "System Preferences > Network", chose your WiFi connection and in "Advanced" options at "Proxies" tab check "SOCKS Proxy" and type your server's dress and port.

Also very important to uncheck "Use Passive FTP Mode (PASV)"


It is not normal according to the "Avg Energy Impact" column. It is awkward to have more than 10,000 value for the "Avg Energy Impact" column, especially from Safari. Please contact Apple Support if you see this consistently.
You should consider the "Energy Impact" column as it shows the real-time energy usage.
The "Avg Energy Impact" column shows the average energy impact for the past 8 hours or since the Mac started up, whichever is shorter.

For more info : Apple Documentation - Activity Monitor


Change window of an app while Drag & Drop

Finally, with OS X 10.10 Yosemite, this works as expected!


I have configured the sleep / auto lock settings as per the below screenshot. But for some reason the computer wont sleep / auto lock. I have configured the sleep / auto lock settings as per the below screenshot. But for some reason the computer wont sleep / auto lock.

Make sure that you are not using your Mac for your set time and that it is inactive.

  I have an application downloaded from the App Store called Owly installed, which is similar to Caffeine, but this is currently disabled and not set to keep the screen on.

Check again to make sure they are disabled.

Check your Energy settings in the Activity Monitor. Open Activity
Monitor from the Utilities folder of your Applications folder, or use
Spotlight to find it. Go to Energy.

Check the Preventing Sleep column to see what apps are preventing your Mac from sleeping. If an application says yes it means it is preventing your Mac from sleeping. Check all the applications and make sure they all say no.


Is it possible to clone directories in APFS?

clonefile() is the system call that you're interested in. It was introduced in macOS 10.12 (Sierra), coinciding with the public beta release of APFS.

copyfile() is a C library function that was introduced in Mac OS X 10.5 (Leopard). As you have seen in the manpage, while it does support file cloning, this is not the default behaviour.

I am not sure why clonefile(2) states that "the use of copyfile(3) is more appropriate for copying large directory hierarchies instead of clonefile(2)" — I can only guess that it is for efficiency reasons. Regardless, both APIs will allow you to clone files without duplicating any file extents on disk.

I can confirm that, at least for me, macOS 10.15 (Catalina) does clone large files (tested with files in excess of 100 MB in an APFS volume) when "copying" them in Finder, whether using CMD-C and CMD-V, or ALT-drag-and-drop. The same is true for directories, in the sense described in clonefile(2). That is, all directories involved are copied (new inodes and dentries will appear on disk), and all files involved are cloned.

It's worth noting that, in order to comply with POSIX, cp is required to make non-clone copies (duplicate the file extents on disk), but using it with the -c flag will override this behaviour and clone files via clonefile() instead — see cp(1). Thus, cp -Rc is what you're looking for if you want to clone directories on the terminal. I am not sure when this flag was introduced, but it was likely alongside the release of clonefile() in macOS 10.12. According to this talk (1.28 GB MP4 file) by Tim Standing, this has at least been the case in public releases of macOS since January 2018.


Machints has got a sample script available here to write the logon and logoff events to a log file.

You basically need to write your script, give it execute rights and then add it to the LogoutHook event:

  sudo defaults write com.apple.loginwindow \ LogoutHook /usr/local/bin/logoutscript

For some more advanced script you can also have a look here

Alternative solution

Have a look at the launchd services. It's the built in service management system used by OSX. Some suggestions are to have launchd monitor a file, and using the logoutHook above, touch the file, which will trigger launchd to run. In the launchd job you can sleep the process for a few seconds to ensure that logout is completed.

Not the ideal solution, but could work.


Where can I find this iPad mini wallpaper used in Apple's advert?

Apple sourced this image from Robbie George Photography. It's called "Lake Mattamuskeet", you'll find it on his page.


Send message button missing from Mail app's compose window

Most likely explanation is that the Send message button accidentally got removed from the New Message window.

Open Mail app and open a new message window. Click on View → Customize Toolbar... command in the Menu bar. Now drag either the Send button, or the entire default set into the toolbar area to restore the Send message button in the compose window.


I had to install those updates, install eclipse, and follow the steps here, http://developer.android.com/sdk/installing/installing-adt.html, for installing the ADT plugins.


Is there any way to seamlessly translate a mail inside Mail.app?

Here is an applescript I just put together that is working for me (10.9)

You can place it in the Applescript menu and run it on the selected Emails.

The script will:

Try and grab the select emails in Mail.
Send a Request to google translate
Convert the resulting HTML to plain text
Display a temporary text file with the translation.

You can set the original language to auto or one of the languages in the languages_code list. And also set the result language from the list.

There is no reason you should not be able to create a service using this script. But I will leave that to you. Just note that for the device to work you will need to right click/crtl +click in a message's body for the service menu to show up. Or use the Services menu.

#http://macscripter.net/viewtopic.php?id=31218
#http://macscripter.net/viewtopic.php?id=39742
#The above links are the starting points of this script which both attempt to translate text. But are broken or do not return the full text.

#This script will attampt to translate the text from the selected emails to your chosen language

property languages_code : {Afrikaans:"af", Albanian:"sq", Arabic:"ar", Belarusian:"be", Bulgarian:"bg", Catalan:"ca", Chinese:"zh-CN", Croatian:"hr", Czech:"cs", Danish:"da", Dutch:"nl", English:"en", Estonian:"et", Filipino:"tl", Finnish:"fi", French:"fr", Galician:"gl", German:"de", Greek:"el", Hebrew:"iw", Hindi:"hi", Hungarian:"hu", Icelandic:"is", Indonesian:"id", Irish:"ga", Italian:"it", Japanese:"ja", Korean:"ko", Latvian:"lv", Lithuanian:"lt", Macedonian:"mk", Malay:"ms", Maltese:"mt", Norwegian:"no", Persian:"fa", Polish:"pl", Portuguese:"pt", Romanian:"ro", Russian:"ru", Serbian:"sr", Slovak:"sk", Slovenian:"sl", Spanish:"es", Swahili:"sw", Swedish:"sv", Thai:"th", Turkish:"tr", Ukrainian:"uk", Vietnamese:"vi", Welsh:"cy", Yiddish:"yi"}

#Curl stuff
property agent : "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10"
property charset : "UTF-8"
property header : "Charset:" & space & charset
property theURL : "https://translate.google.com/?" #This must be https

#used to delimit the html
property snipOpen : "TRANSLATED_TEXT="
property snipClose : ";INPUT_TOOL_PATH"

#You can either set a start language or leave it at auto.
property startLang : "auto"
#set a result language
property resultLang : English of languages_code

#Ask Mail to get and process selected emails
tell application "Mail"
    set theMessages to (get selection)
    repeat with i from 1 to number of items in theMessages
        set this_item to item i of theMessages

        set thisSender to sender of this_item
        set thisSubject to subject of this_item
        set thisText to content of this_item as string
        my translate(thisSender, thisSubject, thisText)
    end repeat
end tell

(*************** SUBROUTINES *****************)
#Translate the message text and display them in a temp text file
on translate(thisSender, thisSubject, thisText)

    if thisText is not "" then
        #replace all spaces with "%20" for the URL to use without error
        set escapedText to findReplace(thisText, space, "%20")

        #send request  to google and get the returned HTML
        set TranslatedText to do shell script "/usr/bin/curl" & space & ¬
            "-A" & space & quoted form of agent & space & ¬
            "-H" & space & quoted form of header & space & ¬
            "-d" & space & quoted form of ("&ie=" & charset & "&oe=" & charset & "&langpair=" & startLang & "|" & resultLang & "&text=" & escapedText) & space & quoted form of theURL

        try
            #Use delimiters to split the text to just get the actual result part
            set txt to Split(TranslatedText, snipOpen)'s item 2
            set txt to Split(txt, snipClose)'s item 1

            set displayText to ¬
                "Sender: " & thisSender & "
" & ¬
                "Subject: " & thisSubject & "
" & "
" & ¬
                txt
            #Use  Textutil to strip any other rich text or HTML code out and convert to plain text. Then open in a text document
            do shell script "echo  " & quoted form of displayText & "|textutil -format html -convert txt -stdin -stdout | open -f"
        on error errTxt number errNum
            display dialog errTxt with title "Error# " & errNum buttons {"Cancel", "OK"} default button 2 with icon 0 giving up after 0
        end try

    end if
end translate

on Split(txt, del)
    set {otid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, del}
    set txt to text items of txt
    set AppleScript's text item delimiters to otid
    return txt
end Split

on findReplace(theString, search_string, replacement_string)
    if theString contains search_string then
        set AppleScript's text item delimiters to search_string
        set text_item_list to text items of theString
        set AppleScript's text item delimiters to replacement_string
        set theString to text_item_list as text
        set AppleScript's text item delimiters to ""
    end if
    return theString
end findReplace


Sharing folders on iCloud with non-iCloud users Catalina

Sharing participants must have an iCloud account.

  Participants need an Apple ID to view or edit files in a shared folder. If you invite someone without an Apple ID, they'll be prompted to create an Apple ID.

Source:  Apple Support Document Share folders with iCloud Drive under the heading, Learn more about folder sharing


If you went into Settings > Messages > Send and receive, and you were not able to click on the phone number(s) listed there, this is because they are already in use.

You simply need to disable the email address by clicking on the blue arrow next to the email address listed instead and then tap "Remove this Email".

Finally, make sure to tick the correct number from the "Start new conversations from:" section.


How do I burn a single ( > 7GB) file to multiple DVDs?

The built-in way is to use the split command in the Terminal, which, yes, is Unix-y. Alternatively, .rar files can split a single file into multiple files. You might check out SimplyRAR for this route.


Apache doesn't recognize a local zone (BIND) unless restarted frequently

Your issue probably is in named.conf.  Check for errors with named-checkconf and look at your logs in var/log/* (depends on distro).  Additionally, look at /etc/syslog.conf for logging options.


Can you damage the file system by forcing a shutdown or cold rebooting during startup?

It is possible to damage the file system by forcing a shutdown (i.e. for example by cutting off power) during startup.

During startup the operating system can write to files such as for example log files, pid files, caches, or in very extreme cases also swap files for virtual memory. Therefore the file system on disk can be modified by the operating system during startup - and thus there is a risk that something goes wrong if this is interrupted forcibly midways.

Modern file systems (such as the ones normally used on macOS systems) try to avoid corruption by the way of a technique called journaling. Therefore you'll probably experience that nothing goes wrong if you try interrupting the boot to test this out - however there is a risk.


The algebraic way to do it is logbx=logax/logab. In spotlight, the log(x) function is log10x and the ln(x) function is logex. So taking logbx would be log(x)/log(b). However, rounding is significant enough to have the answer off even if it should be a whole number. For example, I tested log(4)/log(2) and got 1.9999999997 when it should be exactly 2.


opening file from text wrangler to terminal

Open up Terminal.

Your Desktop is at ~/Desktop (the ~ is a shortcut for your home folder) so cd ~/Desktopreturn to go there then less test.txtreturn

By the way, if you are going to use TextWrangler and Terminal you might want to visit http://www.barebones.com/support/textwrangler/ and download the TextWrangler command line tools which allow you to open a file in TextWrangler from the command line, among other things.


Permissions error when downloading or quick-looking attachments in mail.app after symlinking Mail Downloads directory

Assuming Mountain Lion...

Quit Mail

Delete the ~/Library/Mail Downloads folder.

Delete the ~/Library/Containers/com.apple.mail folder.

Restart Mail

Rebuild Mailboxes

Set your Downloads folder in Mails preferences to ~/Downloads.

Better?


MacBook Pro won't boot with new hard drive, but a different MacBook Pro will

Could you swap hdd cable and see If that help ? Also take a look here, where the general consensus seems to be that the issue is the hard drive cable: https://discussions.apple.com/thread/2648100?tstart=0


Application Switcher (Command-Tab) Showing Generic App Icon

Upon re-reading your question after your edit I see you're comfortable with using Terminal, so I've added a second potential solution for this. You do not need to try these in any particular order - try one first and if the issue returns, then try the other. Option 1 sometimes only works temporarily, but Option 2 requires entering commands in Terminal.

Option 1: Reset and restart the Dock

One remedy is to reset and restart the Dock. However, in doing so, you will need to re-add any non-default icons to your Dock. (I usually find it's a good opportunity for people to start afresh and only add things as they actually use them).

So, if your solution doesn't pan out, you can reset and restart the Dock as follows:

Go to Finder
Press and hold the option key down
Now go to the Go menu
Select the Library option to open the User's Library folder. You can let go of the option key now.
Go to the Preferences folder (i.e. within the Library folder)
Find and move the com.apple.dock.plist file to the Trash
Now open Terminal (usually located in Applications > Utilities)
Enter this command killall -KILL Dock
Press enter

This should resolve the issue - but remember you'll need to re-add some apps back to the Dock.

Option 2: Reset icon cache

If the first solution above doesn't work (or it only works temporarily), you can try resetting the icon cache.

Launch Terminal (usually found in the Applications > Utilities folder)
Enter the following three commands, one at a time:

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

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

sudo rm -rf /Library/Caches/com.apple.iconservices.store

Let me know how you go.


How does iPhone toasting/bumping apps work?

I don't have the facts to back this up, but my guess is that when the app is open it's searching for other open apps on bluetooth or local wi-fi. Then perhaps the physical "clink" is registered by the accelerometer and its timestamp matched with your friend's app.

I don't think this is meant to be that serious of a thing in the first place, so there's likely not that much security (and it would totally kill the mood if you had to exchange passkeys or something in order to make a stupid Facebook post). Of course, the fact that the iPhone is a closed platform and the App Store is regulated is some measure of security--no one would be able to distribute an app that harvested contact information from the Toast app. The Toast app probably only shares when it's running and active in the front.


El Capitan Finder shows 10 GB more disk space

I tried out the usual Apple voodoo things (PRAM reset etc), and one behaved strange: when I started the Macbook with pressed Shift-key (safe start), it took very, very long. Usually this takes like 5 minutes, this time it took more than 40 Minutes (huh!).

After that I just restarted again and everything was fine. So it looks like safe start fixed the problem


Just use FileVault 2, which comes with El Capitan and is pretty secure.

If you need separate volumes or passwords for different projects, you can also use OS X encrypted disk images with 128 or 256 bit AES encryption. This allows you to choose to store the passphrase for each volume offline, in separate keychains or in the main keychain as you see fit.

The benefit of FileVault is whole disk hardware encryption so you should start there and then layer in encrypted disk images for projects that require even more protection or isolation.


How do I prevent my iMac from sleeping while media is being played or streamed?

I experienced exactly the same issue. The steps to resolve the issue were the following:

delete /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
reboot

If it won't solve it another helpful step could be resetting the SMC: http://support.apple.com/kb/HT3964?viewlocale=en_US


Can I get Apple Mail’s junk filter to identify junk mail better?

The built in Spam filtering engine cannot be “taught” by the user to improve its filtering.  You can create rules that will help keep your inbox less cluttered, but to really get intelligent Spam filtering, you need a 3rd party product

SpamSieve Is a local client that works with Apple Mail and has decent reviews.  I’ve used similar products in the past with good results.
Hosted Exchange with integrated Spam filtering is a cloud based solution (I personally go this route).  Managing an email server and configuring Spam heuristics is just too time consuming, so I let someone else handle it and I’ve been quite pleased with the results.


Is there a Cydia tweak that gives the camcorder its own button?

This is a four step process that takes less than 3 seconds for me on iOS 6 - so I don't know if anyone's going to tweak this in jailbreak.

Press the sleep wake button to lock the screen (or wake the screen if the phone is off).
Press and swipe up on the camera icon on the lock screen.
Decide if you want video or photo and examine the toggle where you initially pressed the camera icon.
Tap the toggle if the camera isn't in the mode you prefer.
Tap the record button.

If you take 3 minutes to practice this, see if training your brain to know it only has to track two places on the phone speeds this up fast enough to avoid needing a dedicated button. The lock button and a very small portion of the screen are the active targets, so you might be able to optimize your speed to start recording knowing that you can start recording as fast as possible and then trim the clip later once the recording starts.


I encountered a similar issue on my MBP when I installed the Windows 8 RTM (also a Core 2 Duo 13" MBP). Reading around, I found the following discussion on the Apple forums that mentions a bcdedit fix, along with updating NVidia drivers. I followed the key "fix" steps on the second post at that link, and they have fixed the issue for me.

To summarise:

Run a command prompt as administrator and enter the following command: bcdedit /set disabledynamictick yes
(This step is only relevant if your MBP has NVidia graphics instead of the Intel HD / ATI graphics on more recent models) Download the latest NVidia graphics drivers

If you're interested, this article theorises about the dynamic ticking issue, and why turning it off should fix the freezing.


MacBook's Wi-Fi stopped working after upgrading to macOS Mojave and uninstalling Parallels

I found that the problem actually stems from the usb c dongle.
USB-C Dongles killing Wifi on 2016/2017 MacBooks – Who’s to blame?


Prevent Xcode windows from exiting fullscreen after wake from sleep?

Disabling the animation
This part of your question has been covered earlier. Unfortunately without success of finding a fitting answer.

Unfortunately (at least as of 10.7.1) there does not appear to be a way to change any settings related to this animation.
I filled a bug for this with Apple. The Radar number is 10073864. I
would encourage you to also file the report at
https://bugreport.apple.com/. Note in your description that it is a
duplicate of the above bug report number to help the support staff
categorize and prioritize this bug.


Does iPod Touch 5th gen 16GB (mid 2013) still have built-in Camera app for use with front-facing camera?

The answer is yes — the iPod touch 5th gen 16GB does still have the Camera app. Here's confirmation direct from Apple's recently-updated iPod touch manual:

iPod touch User Guide - For iOS 6.1 Software (June 2013) [PDF]

In Chapter 9, "Camera", on page 54, it states:

  With iPod touch, you can take both still photos and videos, using the
  FaceTime camera on the front or the camera on the back (available on
  some models).

There's also an accompanying image showing the built-in Camera app's user interface, and notes indicating controls for the flash and to "Switch between cameras" may not be available on some models:

Finally, I've also learned that third-party apps that use cameras on iOS devices should continue to function provided they use the iOS APIs correctly — as demonstrated in Apple sample code — to query the device for camera capability and the available cameras.  (When a third-party app assumes a rear-facing camera is always available on a camera-supporting device, such an app won't necessarily operate correctly on the iPod touch 5th gen 16GB.)


Default paper size for 4" x 6" label printer - Mac OS 10.15.7

You should be able to define it as a Preset, directly from the main Print dialog.
[Example showing different settings/printer, just for locations]

Once you set the page size in the lower marked drop menu, you can then Save Current settings as Preset, from the top drop menu.
That info should then be retained.


You could save this script in ScriptEditor as an .app and name it something like "Safari Maximized.app".  Then every time you want to launch Safari in full screen mode, just launch your new app.  You may need to adjust the delay setting in the code.

This works for me in the latest version of Sierra

tell application "Safari" to activate
delay 1
tell application "System Events"
    perform action "AXPress" of button 2 of window 1 of application process "Safari"
end tell

Don't forget to allow access for your new app through gatekeeper


If swipe down on iOS7 gives Notification Centre, where's Spotlight?

To get to Spotlight, just swipe down somewhere in the middle of the screen, not from the top (on any home screen, not in an app and not while locked).


syncing calendars across different services

I found a solution that seems to work. You can use Zapier, which is a service for building workflows between different services (similar to IFTTT). One of their "zaps" or apps is Cronofy Calendar Connector. You can add various calendar accounts to it (including iCloud, Exchange, Google) and then have it create or delete an event in one when it is created or deleted in another.


Thunderstrike 2 Mac Malware and other serious Apple exploits: how to effectively check?

There are several tools available from Howard Oakley’s site that I would recommend that you look at.

SilentKnight – a new generation with fully automatic security checks

  [C]heck whether your Mac is up to date automatically. Checks EFI firmware, security settings and data files, and has both a summary Help page and a detailed reference. Update handles firmware checks in Sierra more leniently now it is unsupported.

silnite – a command tool which performs the same checks as SilentKnight

  If you’re managing Macs on a network, this is an invaluable way of checking EFI firmware, security settings including SIP and FileVault, and security data file updates. A choice of two levels of detail, which can include checks against my database of current versions, and reports to stdout in either text or JSONised XML. Can also download and install waiting updates. Update improves firmware checking.

LockRattler – a quick check of your security systems

  LockRattler checks your Mac’s basic security systems are active, reports version numbers of security configuration files which are active, the latest updates installed, and makes it easy to check for and install updates. Ideal for checking that SIP is enabled, and it has Apple’s latest silent security updates.

Those three tools can be found at https://eclecticlight.co/lockrattler-systhist/.

All are available for free.

He has other free tools which can all be found linked to https://eclecticlight.co/downloads/.

I realize these are 3rd-party tools, but they are also the best ways that I know of to actual accomplish your goal of checking to make sure things are up-to-date.


Dont worry about the inactive part, this doesnt mean that your mac
  will run slow, macintosh keeps these inactive(as IDLE) where when
  programs needed*-(the ones that you've been using)-* then accessing
  them would be faster since they are still in a way or another in
  memory regardless of swapping being in process.

  And if your scared of the inactive blue color eating the pie chart
  displayed, then open your terminal and type: "purge" to clear your
  inactive space.


How to set Preview to start on the last viewed page?

There an option in Preview that you need to have enabled:

Preferences > PDF > On opening documents (should be checked)

*also instead of needing to "scroll down, hundreds of pages" you should be able to simply use Command+Option+G and enter the page number you want to jump to.


Airport - List of Network is not displayed on startup

If the network you speak of is your Home network, then either the SSID is no longer being broadcast or the network name has changed somehow (one of the kids, power brownout?)

You may have to connect by ethernet and get into the router to fix your problem.

If it is a work network, your IT department will help.


Power MBP and connect Thunderbolt devices with only one cable

Yes - you can look forward to vendors shipping Thunderbolt 3 docks and have one cable going to your Mac and everything else connected to the dock:

power
ethernet
USB
video
Thunderbolt
possibly audio in/out and firewire

I would read this review of Thunderbolt 2 docks and keep in mind that no Thunderbolt 2 dock will charge the new Thunderbolt 3 / USB C MacBook Pro.

http://thewirecutter.com/reviews/best-thunderbolt-dock/

Until the "3" version docks ship, you'll need to use "2" version cables for display/dock/whatever and a second USB-C or Thunderbolt 3 charge cable.


Mail.app AppleScript to process POP3 mails stopped working in Lion

Judging from your description of the issue, it seems that Lion’s Mail.app has difficulties correctly executing a move AppleScript action on a PO3 server (or maybe just your POP3 server – not having a POP server to test myself, I cannot check). A solution could be to separate the two components of the move operation by replacing the line

move eachMessage to mailbox "Archived/BTR Monitoring Emails"

with

copy eachMessage to mailbox "Archived/BTR Monitoring Emails"
delete eachMessage

in the hope that an express deletion command will fare better. If that doesn’t alleviate the issue (because the deletions suffer from the same issue – I can’t say for sure from your question), you could also try setting the delete status of the message instead of sending it a delete command, i.e.

copy eachMessage to mailbox "Archived/BTR Monitoring Emails"
set deleted status of eachMessage to true

though I’m not entirely sure how that will go down within a POP server (it sounds like something designated for IMAP).

Finally, you could try commenting out the set read status of eachMessage to true lines in the filing and deletion blocks – this should, by rights, not affect the server, as POP3 has no notion of a “read status” (you need IMAP to store that server side), but it might conceivably be an issue if Mail’s AppleScript thinks otherwise. Setting the message status to read can also be achieved within a rule without resorting to AppleScript, so removing this from the script should be a non-issue.


AuthorizationExecuteWithPrivileges
security uses the deprecated AuthorizationExecuteWithPrivileges function to implement execute-with-privileges:
status = AuthorizationExecuteWithPrivileges(auth_ref,argv[0], 0, (argc > 1) ? &argv[1] : NULL, &communications_pipe);

The function needs an AuthorizationRef, which is the part that confirms who the user is. See the AuthorizationServices framework. Note that AuthorizationServices are not available to sandboxed applications on macOS.
Open Source
security is open source and available on https://opensource.apple.com
macOS 10.15.3's Security-59306.80.4 bundle contains the source code:

Security-59306.80.4/SecurityTool/macOS


Google on my iOS devices is stuck in a different region than I live in

I finally figured it out.

In Settings>General>International for some reason New Zealand was selected instead of United States. I had to close out safari, clear
browsing data and then re-search something from the iPad search bar and it finally worked.


Is there a way to open separate instance of chrome where CMD Q doesn't close all chrome windows?

Ultimately I want to be able to work in one chrome environment while
  utilizing another independently. So site data, cookies, passwords
  aren't shared and if I close one the other is still going

Chrome has this feature built in; it's called People or Profiles

With profiles, you can keep all your Chrome info separate, like bookmarks, history, passwords, and other settings.

It's called "Profiles"

  Profiles are ideal for:

  Sharing a computer with multiple people.
  Keeping your different accounts, like work and personal, separate.

The detailed step by steps are included in the link, but to summarize:

Go to Manage People
Add a new Person/Profile
Select that profile


Deleted email re-appears in inbox after it has been deleted in Mail app

I removed [the google account] and added it again and the issue went away.

System Preferences → Internet Accounts, remove the troubling IMAP account and add it back. For a less drastic measure, uncheck the Mail checkbox and tick it again.


You can rename your voice recording using the "Get Info" window, which you can invoke by:

Choosing File > Get Info
Or, right-clicking and choosing "Get Info"
Or, pressing ⌘ I

From there, click on the "Info" tab, and you can enter something else in the "Name" field:

The same procedure works on all other files in iTunes as well, like music and movies.


How does iMessage know that the recipient is an iOS 5 device?

Slight revision It seems that the below has changed slightly, and Apple now checks which numbers/emails have been activated per device for sending messages. Therefore, my mobile number on my iPhone can be registered on my iCloud account, and allow me to receive message sent to my mobile number to be received on my iPad. Therefore you can have the conversation appear on multiple devices at once, and switch between them. iMessage will keep these conversations in sync. I disable this by specifying which accounts to be linked to which device when configuring iMessage.

To expand on alexmuller's answer it uses the Device ID to determine if another device is running iOS 5. This is done during registration, or when iMessage is configured under phone settings. Effectively the Device ID and Apple ID's/Mobile numbers are stored on the Apple Servers.

It checks the Apple servers to determine if a number or email address is registered as an Apple ID and using iOS 5. It will then send the message via the Apple Servers first. It also uses text fallback, so if the other user is not using an iOS device, or iMessage is unavailable or down, or your data connection is down, it will send the message as a text. Text fallback can however be disabled. This does not affect normal texting.

On the phone itself iMessages are identified via a blue background, and can show Delivered/Read for each message. SMS to the same person is still shown in a green background.

It also uses the Device ID to determine which device to reply to. I have my email address and phone number configured on my iPhone and on my iPad only my email address.

In Example

I send a message to my wife's iPad using her email address from my iPhone, she receives it on the iPad, and the reply is sent back to my iPhone.
I send a message via my iPad to her email address, the reply is sent back to my iPad, and not my iPhone.
She sends a message to my iPhone using my mobile number from the iPad, it comes to my iPhone and bypasses the iPad completely and the reply goes back to her iPad.

It's intelligent enough to know where the message came from and where to reply to.


MacBook Pro (late 2008) new thermal paste applied, now how do I re-attach the cable for the cpu fans?

Both fans use Phillips head screws to attach themselves to the logic board.


Safari is not doing anything untoward here. My DNS based block for reddit.com worked fine - but not www.reddit.com, old.reddit.com (even though the Eero block includes subdomains), and so on. From the command line:
$ nslookup www.reddit.com
Server:     192.168.4.1
Address:    192.168.4.1#53

Non-authoritative answer:
Name:   www.reddit.com
Address: 192.168.4.1

Because of that, I expected Safari to resolve www.reddit.com to 192.168.4.1. However, www.reddit.com (and others like old.reddit.com) are actually CNAMEs:
$ dig -t cname www.reddit.com
... snipped output ...
;; ANSWER SECTION:
www.reddit.com.     300 IN  CNAME   reddit.map.fastly.net.

So, it looks like Safari looks up www.reddit.com, sees that it is a CNAME for reddit.map.fastly.net, and then resolves reddit.map.fastly.net and is able to load the page - while displaying www.reddit.com in the URL bar.
I am not saying Safari is doing anything wrong here - this seems like totally reasonable behavior - it was just unexpected to me.
I have now added a DNS block for reddit.map.fastly.net, and everything works as expected.


Can I copy files between 2 different iTunes libraries within iTunes?

Direct answers to your questions…

Yes - though that's it's 'masked' address not it's actual location.
Real location is C:\Users\[myName]\Music\
Yes.
You can dupe the library.xml file & change the hard-coded paths to the new location, then import.
Simple, but time-consuming.

Another downside to that method is that once you have separated the identities in such a way, they will remain forever separate & any music added to one will also need to be added to the other.
You will also have to remember to launch with the correct Library every time.

However…
Instead, if you use 'Sync selected playlists, artists, albums & genres you can have completely different selections for each device, even on the same ID.

I have totally different selections on my iPhone & iPod, as I use them for different things.
Might be a whole lot easier to manage.


This is definitely an hardware issue. The first thing I would suggest is to stop shaking it! :)
What ever loose connector you have there might stay loose which will force you to take it to apple \ local repair store.

I think it's better to take it for a repair now. I will be a lot easier for the repair guy to find the problem while it is still half working.


How to create HFS partition on Windows 7 machine

I only know of two commercial tools: MacDrive and TransMac. They both have limited time trials to evaluate before you buy.

You could also try a Live CD of GParted, it has HFS support.

Update: a colleague of mine told me you can create a HFS partition with diskpart. Just make sure it's primary and use partition id af (create partition primary id=af).