How can I find the serial number of my Apple Keyboard USB on a mac programmatically from the terminal?

I don't think you can. The information that you can get is available via System Profiler: system_profiler SPUSBDataType, which on my Macbook returns:

    Apple Internal Keyboard / Trackpad:

      Product ID: 0x0259
      Vendor ID: 0x05ac  (Apple Inc.)
      Version: 2.24
      Speed: Up to 12 Mb/sec
      Manufacturer: Apple Inc.
      Location ID: 0x14400000 / 3
      Current Available (mA): 1000
      Current Required (mA): 40
      Extra Operating Current (mA): 0
      Built-In: Yes


How can I connect 2 headset microphones to my Macbook Pro so that we can both speak AND hear sound effects from the Macbook Pro?

It sounds like you have three sources - two mics and the computer which is also doing the recording.

What you need is a mixer like the PreSonus 4x4 (I don't know of a 3 channel mixer).  This will give you control over the sound levels and profile of each source as well as a way to record them all on your computer.

I personally have used these in courtrooms (the 16 channel versions) to record from all microphones and audio sources.  They worked flawlessly.

The way it will work is like this:

The two mics can go into the "instrument/mic" inputs
The computer audio out can go to one of inputs
The headphones connected to the headphone port (you can use a splitter here)


Flash player unable to proceed with the installation

I've have this problem come and go, and come back again.

FIX: The best fix so far for me is to go back to Flash Version 13. The say Flash Player Version 13 is in "extended release". I am on Mac osx 10.7.5 the last version of mac operating system for my machine.

Find it here: for browsers, it may have the strange name "plug in content debugger", I think the word "plug in" matters for browsers. The other "projector" versions I don't know about. The "plug in debugger version 13" fixed my safari problems.

https://www.adobe.com/support/flashplayer/downloads.html

Fix 2: You must disregard the constant signaling to update to version 15 if you are getting it. The update to version 15 may load a broken version in the browser, then you have to uninstall it with their special utility and reinstall version 13. Get the uninstall download here (or search for adobe flash uninstall on the web):

http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html#main_uninstall

More Possible Explanation:
Apparently the weird name "debugger" means they have debugged common problems with it. Essentially you are going back to the previous version since the new one has problems loading/working (keeps getting identified as out-of-date so it won't work) but they don't want to pull the new version off the market, can you imagine that mess. Thanks Adobe for the extended release we depend on it!

Here is adobe's comment on it:

EXTENDED SUPPORT RELEASE - FLASH PLAYER

What is the extended support release?

Adobe makes available a version of Flash Player called the "Extended Support Release" (ESR) to organizations that prefer Flash Player stability over new functionality. We have created a branch of the Flash Player code that we keep up to date with all of the latest security updates, but none of the new features or bug fixes available in our current release branch. This allows organizations to certify and stay secure on Flash Player with minimal effort.

10/14/2014 - Updated debugger and standalone versions of Flash Player. These players contain fixes for critical vulnerabilities identified in Security Bulletin APSB14-22. The latest version is 13.0.0.250 (Win and Mac). All users are encouraged to update to these latest versions.


How to fix iTunes corrupting music during transfer?

Two possibilities I can think of...

One is that the phone needs re-booting or resetting & restoring from a backup. If you keep encrypted backups in iTunes this wouldn't be too disruptive to test.

The other is that the bit-rate of the tunes is too high for it to keep up.
You may benefit from reducing the bit-rate of tunes transferred to the phone, which you can do from iTunes prefs.

The first sync after you set this will be a lot slower than normal, as it converts all the tunes to be transferred. Subsequent syncs should be back up to speed.
You are unlikely to be able to perceive much sonic difference from a phone if you down-sample to 128k AAC.


I can think of three (well, sort of) potential solutions to 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 requires entering commands in Terminal, Option 2 doesn't but sometimes only works temporarily. And the third option is doing both Option 1 and 2.

Option 1: Reset icon cache

If you tried the second solution first and it 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 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
killall Dock

Option 2: Reset and restart the Dock

This 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 3

You may find you need to do both options 1 and 2.

Let me know how you go.


You can use Assistive Touch, which can be enabled in Settings > General > Accessibility to trigger Hardware Buttons.

If you're asking from a developer perspective you should ask in Stack Overflow.


I just tested with my iPhone, and I can get it to reappear in the Devices list simply by quitting iTunes and reopening it (waking up your iPad may help iTunes find it faster). If that doesn't work, simply plug it in via USB and it should stay in.


Now that "Activity" is gone from Safari, how do I find and download a streaming flv file on a Mac?

You can see still browse resources in the web inspector.

To download a file, you can copy the URL from the right sidebar, paste it on the location bar, and press ⌥↩.

The web inspector can be shown by pressing ⌥⌘I if you've enabled showing the develop menu in the advanced preferences.


From your question it sounds like the problem is a directory ending in a /. And it sounds like Homebrew is telling you the directory causing the error is /usr/local/Cellar/node/5.0.0/bin/. If this is the case then you simply need to remove the trailing / from this directory.

But it also sounds like you are saying you don't see this problem directory in your $PATH. Running echo $PATH will show you which directories are in your PATH. If your PATH contains a lot of directories as mine does, this can be a little hard to read. So maybe you are just overlooking it?

In any case, here is a simple script to show you all the directories in your PATH; 1 per line.

#!/bin/bash

# save IFS to a variable
old_IFS=${IFS$' \t\n'}

#set IFS to a colon
IFS=':'

for item in ${PATH[@]}
do
    echo $item
done

# set IFS back to the default setting
IFS=$old_IFS

Or if you prefer copy and paste directly in your terminal:

old_IFS=${IFS-$' \t\n'}; IFS=':'; for item in ${PATH[@]}; do echo $item; done; IFS=$old_IFS

Or an even simpler way as pointed out by fd0 in the comments:

tr -s ':' '\n' <<<"$PATH"

This also has the added advantage of not needing to mess around with IFS.

Using any of the above scripts, if you find a line ending in a / then you've found the culprit.


Add admin username & password to the keychain

You can go about this the other way around.

Open Keychain Access and find the items you need and modify that item so that the app in question is white listed for the password or credential being used.

Once you are in Access Control - you can white list certain apps or all apps. This can be automated if the dialog has an "always remember" or "don't ask again" check mark so that the ACL can be set properly without needing to enter Keychain Access from the back end on a case by case basis.


You'll find the list of paths (i.e. list of variables containing the paths) in the man page for dyld. You can view the man page by running the following command in the Terminal:

man dyld

For example you might have a difference in LC_RPATH or similar. I suggest printing out the environment on both machines and comparing notes.

If you come from a Linux background and expect a file like /etc/ld.so.conf on Linux, then no such file exists on macOS.

Another reason for difference between the code could be one not having an update dyld cache. You can run the following command to update the cache:

update_dyld_shared_cache

Remember to reboot afterwards to actually use the cache.

In general it sounds like the program you have that does dlopen is programmed a bit odd. Typically programs do not dlopen() various dylib at paths not relative to the executable, the loader or the program's built-in rpath in rare cases.


Can I share HBO Now or Netflix while using iCloud Family Sharing?

HBO-Now and Netflix are Internet services.

Once you have a account you can log in from everywhere and from any device that supports it. You do not have to be in the same geographical location to share.

No need for Apple ID, iCloud.

The maximum number of simultaneous connections is 3 for Netflix and HBO. If you need more connections (sharing) you can get it for small fee.


Crop photo in circle form on an iPad Pro

A quick Web search reveals an app that offers exactly this feature:

Krop Circle

The app is a free download with In-App purchase. This is an iPhone only app, but can run on iPad in compatibility (letterbox) mode.

No affiliation whatsoever with the developer.


Backing up files from corrupt disk from Windows Bootcamp

The solution is MacDrive, you'll be able to download a trial version for 5 days that should be enough to grab everything you need before formatting! Download it, install it on your windows partition, restart your computer, access Windows once again, open MacDrive and from there you can access your MacHD partition, if it's corrupt it will tempt you to fix it, you might as well try to, you never know, but if things don't go the way you wanted well just open the disk and try to reach for your most desired files! Copy them on a hard-drive and you are set to wipe everything! Of course if you really appreciate the software you might as well buy it! Good luck!


Just noting that whenever you use tools like PING and NSLOOKUP you should enter the hostname with a final period like this:

ping developer.worldweatheronline.com.

Otherwise, your DNS client will think that it needs to suffix that with the default domain name for you.  The ending period means "this is all, don't add a suffix".

I'm running the following on my computer:

  c:\> nslookup

> developer.worldweatheronline.com.
Server: mylocal.server.local
Address:  192.168.0.2

Non-authoritative answer:
Name: developer.worldweatheronline.com
Address:  78.137.123.255

> server 212.60.61.246
Default server: ns4.fcom.ch
Address: 212.60.61.246

> set q=ns
> set d=2
> set domain=worldweatheronline.com.
> worldweatheronline.com.
Got answer:
    HEADER:
        opcode = QUERY, id = 4, rcode = REFUSED
        header flags: response, want recursion
        questions = 0, answers = 0, authority records = 0, additional = 0
*** ns4.fcom.ch can't find worldweatheronline.com.: Query refused

I would say that the people there have either failed to setup their named.conf file properly... or they've chosen an interesting (bad) IP address for their server by using what is normally considered a broadcast address of xx.xx.xx.255.  Some computers assume that .255 is a broadcast address and some don't.  This could explain why one client behaves differently from another.

Something else to note is that DNS lookups can sometimes involve three computers:  1) your workstation makes the lookup request from your local router, 2) your router then makes the query on your behalf and uses your address, 3) the distant DNS server then attempts to respond directly to your workstation.  In some cases, this un-initiated inbound attempt for that foreign server to respond directly to you fakes out your firewall so it blocks the response.


Backup for downgrade from Mavericks to Snow Leopard on smaller Hard Drive?

It can be done but involves a lot of juggling.

Your best option would be to shrink your existing partition, create a new partition then install Mavericks into the new partition.
You need to boot into recovery mode (or from the Snow Leopard CD) to shrink the partition (using Disk Utility) as you cannot resize the active partition. You can copy existing data from the original partition during installation.


Connect MacBook Pro 13 late 2012 SSD to SATA?

It appears to be possible.
According to this iFixit tear down, the A1425 SSD

  It's a Samsung MZ-DPC2560/0A2 unit, rated at 3.3 volts and 2.39 amps. The serial number reads S0X5NYAC703706.

Which appears to have an mSATA connector.
There are lots of mSATA to whatever-you-may-need adapters on the market.

mSATA to micro SATA (1) (2)

mSATA USB enclosure

I haven't tried any of this myself, just did a search for it.

This question 28 pin SSD adapter or enclosure needed for Late 2014 MBP points to certain incompatibilities to be aware of before buying.


In Disk Utility, click on View > Show All Devices. Then you should be able to select the physical disk and re-partition it, as well as the Containers.


64bit vs 32bit on mobile devices with 2gb ram - is there any sense?

Since the iPhone doesn't use an x86 processor, almost everything you know about 64-bit versus 32-bit will not apply. For example, on x86 processors, more general purpose registers are available in 64-bit mode. This provides a performance boost in 64-bit mode. That doesn't apply to non-x86 processors.

64-bit operation tends to provide benefits to software that handles "bulk data". This generally includes things like encryption, compression, and image processing. Other types of programming don't significantly benefit because they seldom deal with values that occupy more than 32-bits. Also, more memory bandwidth is required by 64-bit code because all pointers are twice as large and this can cause some performance loss.

However, there is one big advantage of 64-bit code over 32-bit code -- virtual memory need not be treated as a scarce resource. This can have all kinds of benefits both for performance, ease of development, reliability, maintainability, and so on. For example, if you're manipulating a large database file, you can memory-map the entire file and access it just like an array. This can eliminate a lot of slow, complex, error-prone code to memory map sections of the file or alternate seeks with data operations.

Similarly, libraries can have fixed virtual addresses. This can improve code sharing and result in memory being used more effectively. It can minimize relocation, which can result in faster code startup.

To be honest, you would have to know a lot about the internals of how the device operates, both in software and in hardware, to usefully opine on whether a change from a 32-bit platform to a 64-bit platform will provide significant benefits.


What is the maximum memory limit for a MacBook mid-2010 with the latest EFI and SMC updates?

If it's indeed the last model of white polycarbonate "unibody" MacBook that Apple made prior to the discontinuation of the MacBook (non-Pro/non-Air) lineup then it will actually support 16GB of RAM (2x8GB PC8500 DDR3 1066MHz SO-DIMM 204 Pin) and that's vouched for by the specs for that system in MacTracker as well as by the reliable folks at OWC.

You'll want to verify your exact model identifier via the System Information app though (this app also used to be called System Profiler in older versions of Mac OS X).

Open up that application, select "Hardware" at the top of the sidebar pane, then look for "Model Identifier" on the right. If it reads MacBook7,1 and your "Processor Speed" is 2.4 GHz then you're good to go for 16GB of memory!


I replaced some memory in my friend's iMac of 3 year old recently and there was loads of dust on the modules. I blew the dust off the modules but didn't go in to major cleaning as it wasn't my machine. However with my own machine I would be reluctant blowing the dust off the inside of the iMac, but putting a vacuum cleaner at a very low speed shouldn't be harming much (provided the iMac is fully disconnected from the power socket.

Hope this helps.  All the best!


Forgive my absence and untimely response. Okay, let's take this to the next level.

Let's attempt to locate either coconutBattery or Sparkle, a dependent, apparently.  Do you find a 'coconutBattery.app' in /Applications, or any similar app?

sudo find /Applications -iname "*coconut*" -print
sudo find /Applications -iname "*sparkle*" -print

Is there a relevant package receipt in the package utility?

sudo pkgutil --pkgs | grep -i coconut
sudo pkgutil --pkgs | grep -i sparkle

A brute method to find plists, preference files:

sudo grep -l -i "coconut" -r /System/Library/
sudo grep -l -i "sparkle" -r /System/Library/
sudo grep -l -i "coconut" -r /Library/
sudo grep -l -i "sparkle" -r /Library/

sudo grep -l -i "sparkle" -r /private/var/
sudo grep -l -i "sparkle" -r /private/etc/
sudo grep -l -i "coconut" -r /private/var/
sudo grep -l -i "coconut" -r /private/etc/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Interesting situation.

First, let us determine in what user-context the service is running: login user, or root.  I suspect that the service might be running in the login user context, which would explain why you will not find it by running 'launchctl list' as root ( via sudo ). A quick check:

launchctl list | grep -i "com.coco"

Avoid prepending 'sudo' to the launchctl command.

Also, the process id is reported in the syslog messages -- found within the block brackets [ ].

  com.coconut-flavour.coconutBattery-Helper[23430]

The PID is 23430, in that example. I suggest using a ps like this:

ps -wwwAxo pid,ppid,state,%mem,%cpu,command | grep -i coco

Or grep the PID you discover from the syslog like this:

ps -wwwAxo pid,ppid,state,%mem,%cpu,command | grep 23430

If my hunch is correct, and it is under your login user's context that the service runs, then locate the offending plist in something like:

/Users/[your login user's short name]/Library/LaunchAgents

A quick-and-dirty method:

grep -r -i "coco" ~/Library/LaunchAgents/

This should identify the offending sneak.  If not, please let me know and we will then take the hunt to the next level.


Photos taking up storage on iPhone when I have no photos

There might be phantom photos still in your Photos app. Just do these things and it will solve your problem.

Go to Settings
Date & Time
Untoggle "Set Automatically"
Manually change the date back. For example, today is December 10, 2016, choose something ex: like March 21, 2015. (You can change it back once we're done)
Close out of that
Open "Photos"
Select "Albums" you had already cleared out everything from the Camera Roll and "Recently Deleted" folder, But now you'll see that your "Recently Deleted" folder now has thousands of images back. Those are your phantom photos
Open it, "Select" and start deleting
Now, go back into Settings - General - Usage - Storage - Manage Storage - and you'll notice your Photo & Camera is empty if you deleted everything.


Correct way to backup via Time Machine to a remote Time Capsule

You would want to run a VPN server on the network where the Time Capsule sits so that your remote machine can log in over the internet as if it were a local computer.

This pokes holes in the network since most people don't allow their Time Capsule to be reachable by anyone on the internet and have their entire home network hidden behind a router with a local and non-routable internet address.

OS X server would be an inexpensive and well documented / supported manner of setting up a VPN or sharing any hard drive with others for Time Machine backups as well as enabling a local Time Capsule to be reachable directly by VPN clients.


cp command: Overwrite confirmation with file diff

Placing alias commands in your bash profile will gain you partial overwrite protection. As others mentioned in your comments, you will need to write a script add the diff function.

I placed the commands below in my ~/.bash_profile.

Bash on macOS determines what file is your bash profile in this order:

~/.bash_profile
~/.bash_login
~/.profile

These commands tell cp, mv and rm to give you a warning when a file is to be overwritten or deleted:

alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
# Placing a blank after sudo causes alias substitution
# for sudo's inner commands . See Gordon Davisson's comments below for
# details.
alias sudo='sudo '

This example, assumes you have placed the above commands in your bash profile.

mac $ touch a
mac $ touch aa
mac $ cp aa a
overwrite a? (y/n [n]) n
not overwritten
mac RC=1   $ rm a
remove a?
mac $ mv aa a
overwrite a? (y/n [n]) n
not overwritten
# demonstrate sudo protection
mac $ touch inin
mac $ sudo cp inin hihi
overwrite hihi? (y/n [n]) n
not overwritten
mac RC=1   $ sudo mv  inin hihi
overwrite hihi? (y/n [n]) n
not overwritten
mac $ sudo rm inin hihi
remove inin? y
remove hihi? y
mac $

These alias command do not protect you in all circumstances like when you invoke a new shell or run cp, mv or rm from within other commands like find.

P.S.: The aliases mentioned above use the same name as the original command, thereby shadowing it. To access the original un-aliased command, prepend it with a \ character (E.g., \cp, \mv, \rm etc.).


List all aliases starting with a particular string

grep for them

Far better suggestion from the comments - grep on alias.

You can list all your aliases, even the ones not written in ~/.bash_profile, by calling alias.

grep the result to find the aliases starting from gt as:

alias | grep "^alias gt"

Since the aliases are created by writing alias <alias_name>=..., to list the aliases starting with, for example, gt, you can do:

grep "^alias gt" ~/.bash_profile

The ^ in the grep argument is an anchor. The caret ^ and the dollar sign $ are meta-characters that respectively match the empty string at the beginning and end of a line.

In ^alias gt, it implies that you want only those lines that start with "alias gt". On my machine, I get the following result:

alias gts="git status"
alias gtd="git diff"
alias gtpull="git pull"
alias gtb="git branch"
alias gtpush="git push"
alias gtpullmk="gtpull;./make all"
alias gtst="git stash"
alias gtstash="gtst save"
alias gtstlist="gtst list"
alias gtctall="runformatter;git commit -a"

Alternatively, you could grep without the anchor as:

grep gt ~/.bash_profile

Here, you are simply looking for any line that contains the substring "gt", anywhere. As a result, you may get some unnecessary lines, but you will get all aliases that use any of your git aliases.

On my machine, I get the following output using this search. Notice the extra line at the top, which was not present in the previous output:

alias debugmk="echows;gtb;${ws}/make ${DEBUG_OPTIONS}"
alias gts="git status"
alias gtd="git diff"
alias gtpull="git pull"
alias gtb="git branch"
alias gtpush="git push"
alias gtpullmk="gtpull;./make all"
alias gtst="git stash"
alias gtstash="gtst save"
alias gtstlist="gtst list"
alias gtctall="runformatter;git commit -a"

Finally, depending upon which command you find more useful (or even go for both if they both are useful), you can create a new alias to list all git related aliases:

alias allgit="alias | grep gt"


Securely remove files from an NTFS drive?

Use gshred. Install homebrew if not installed from www.brew.sh. Then do

brew install coreutils

to remove files, do

gshred -u <file1> <file2>


App cellular settings lost when toggling Airplane mode

The best solution to this would be to backup and reinstall the OS.


How do I prevent the Mac from sleeping while on display sleep on battery power?

Amphetamine is a free application that will give you a lot of power and flexibility about keeping your Mac awake under various conditions.
It has been around for a number of years and considered very trustworthy. I would recommend it without reservation.
Amphetamine even has an option to disable itself when the battery reaches a certain percentage, which will reduce the chance that you will unwittingly run the battery to 0% (it is not generally advisable to run the battery fully empty). Obviously, the final choice is up to you.


A few things:
The most likely problem: Apple dropped support for the "Mac OS Standard" HFS file system in macOS 10.15 Catalina. (Catalina retains support for the "Mac OS Extended" HFS+ file system.) While HFS+ was introduced in 1998 with OS 8.1 and quickly took over common usage on hard drives, it includes a "journal" of file system operations that makes it difficult to use with read-only drives, so CD-ROMs continued to use HFS until they were replaced with DVDs which use a different file system altogether.
AFAIK, currently (August 2020) there are no good tools for reading HFS file systems under Catalina. A bunch of attempts at utilities that may mature over time, but nothing ready for prime time. Probably your best bet is to use a virtual machine running compatible software to read the files.

Using Virtual Box, I can see the Windows partition, but on MacOS I can’t.

In general, macOS will not show the Windows partition of a multi-format CD.
You cannot use the CD drive with Virtual Box and the host macOS at the same time. The drive gets attached to one or the other. I am not sure if quitting Virtual Box is enough to make it let go of the drive.

I cannot successfully mount the Apple Partition using either mount or diskutil, or at least with the options I have tried.

I cannot think of a time when Disk Utility could see the drive and partition but not mount it that I was also able to mount it successfully from the command line.
Nevertheless, if you are going to try to mount the partition from the command line, you want to mount the Apple_HFS partition, which in the output provided is listed as disk7s1s2, so the command would be
diskutil mount readOnly disk7s1s2


Not in one cell, but in two adjacent cells that is easy for both input pair and output pair.
However, the two outputs could be shown in one cell by using the separate calculations joined by concatenate.


Why is DashboardClient taking so much memory on MBP?

Probably the widgets you are using are leaking memory. Try removing them and check which of the widget is taking too much memory.

I use Calendar, 2 Clocks, 1 Weather and 2 Webclips and the Dashboard client is taking up 83Mb. Normally I just force quit if I see it is taking too much memory, and start it again if I need to them back.


How to skip using Photos app whem importing photos

You can use Image Capture to save you photos to a folder somewhere. Image capture will bring up a list of photos and you can select which ones to save.
There is also an app IExplorer which allows you to just transfer photos from your device to another.  Just select one or all photos and copy to a folder.


How can I pause an automated Mac app store update in macOS Sierra?

Open System Preferences and you'll find an item App Store there.

Disable the "Download newly available updates in the background" option. This way your Mac will still let you know when new updates are available, but it will not download them automatically.


Start iTunes after Network Share Mounted

I ended up creating an Automator application and adding the Automator app to my login items instead of iTunes and the network share.


Export iMessages in human readable form for archival

If you know the iMessage account of your contact here is a bash script of mine to retrieve text + images.

#Parameter is a iMessage account (email or phone number i.e. +33616.... )
if [ $# -lt 1 ]; then
    echo "Enter a iMessage account (email of phone number i.e +33616.....) "
fi
login=$1

#Retrieve the text messages

sqlite3 ~/Library/Messages/chat.db "
select is_from_me,text from message where handle_id=(
select handle_id from chat_handle_join where chat_id=(
select ROWID from chat where guid='iMessage;-;$1')
)" | sed 's/1\|/me: /g;s/0\|/budy: /g' > MessageBackup.txt

#Retrieve the attached stored in the local cache

sqlite3 ~/Library/Messages/chat.db "
select filename from attachment where rowid in (
select attachment_id from message_attachment_join where message_id in (
select rowid from message where cache_has_attachments=1 and handle_id=(
select handle_id from chat_handle_join where chat_id=(
select ROWID from chat where guid='iMessage;-;$1')
)))" | cut -c 2- | awk -v home=$HOME '{print home $0}' | tr '\n' '\0' | xargs -0 -t -I fname cp fname .


iTunes 11 reverts to season 1 of a show after watching an episode

Looks like a bug that was fixed in 11.0.1 today.


Diskutil can't find Core Storage Volumes

I was finally able to fix the problem:

boot into recovery
unmount all volumes (otherwise gpt will complain that the resource is busy)
use gpt to remove the partition (it had the HFS instead of the CoreStorage type)
also delete the partition from the MBR with fdisk (otherwise gpt will not allow you to add the partition).
finally use gpt to add the partition with the same values but as core storage (type 53746F72-6167-11AA-AA11-00306543ECAC)

Afterwards diskutil cs list showed the volumes again - disk utility repair did the rest. No data lost :)


Windows Steam not working properly using WineBottler on macOS v10.13.6 (17G3025)

JavaScript is Enabled? I know this is the way a website can look if JavaScript is turned off.


You can download the Office 2011 Trial and enter your product key in the Setup Assistant. If you also lost your product key, you'll probably need to contact Microsoft Support. You can find info about replacing your DVD at this Microsoft Support page.


SaaS subscription across iOS, Android and Web

You're not allowed to link to an external payment method, but saying that the app requires payment outside of the app is fine.

For example, mentioning in the app description that the app “requires a valid subscription to x” is acceptable, whereas having a link inside the app to “purchase your subscription here” is not unless that purchase is through IAP.


Mac OS X (10.9.2) Terminal: Getting Weird Characters ~$â

Mark, you are 100% right! I have no idea how those characters got into my /.bash_profile, but they did! So I just went in there and removed them and now all is working correctly. Thanks again!


Quick Look won't play sound of .avi files

Quick Look won't let you do this. Mainly because the core audio/video stuff behind quicktime doesn't support it.

The easiest way to do this would honestly be to use VLC. This supports both file types you mention.

The other way is to check out Perian, which gives you a bunch of extra codecs.

Personally, I would try the VLC way first. You won't be able to view these items with quickview or preview.app, but VLC handles pretty much any file type I have ever thrown at it.


How to merge two or more Safari Bookmarks.plist files together?

Neither macOS or Safari provide a direct way to merge multiple Bookmarks.plist files so as not to contain duplicate items.

Some choices are:

Manually import each Bookmarks.plist file (Safari > File > Import Bookmarks...) and then manually arrange and reorganize while manually deleting duplicates.
Use a third-party utility to manage the Bookmarks.plist files so as to utilize any tools the third-party utility provides to remove duplicate items.

BookmarkApp: sort & delete duplicate bookmarks

Developer Website
Mac App Store Preview

URL Manager Pro : the bookmark manager

Developer Website
Mac App Store Preview

Safari Extensions - Search for: bookmarks - At the time of this search it contained "69 results found for 'bookmark'", and some may have the capacity to remove duplicates.
Google, or other Search Engine, for other third-party utilities to manage Bookmarks.

Write your own utility to manage Safari Bookmarks to remove all duplicates from a set of combined Bookmarks.plist files.

Note: I am not affiliated with, nor have used the utilities mentioned herein.


assign nothing as default open with application

RCDefaultApp - freeware, installs as a Control Panel. Yes, it's a million years old, yes it still works to Mojave, but may not at Catalina.

Extensions tab [might take a few seconds to populate], find your .asd in the list & set the default to <disable>

New kid on the block for when RC is no longer viable seems to be SwiftDefaultApps though it doesn't seem to be so simple for this task.


Is there a way to control the Numa settings on my iMac?

Does Lion even support NUMA ?
For Snow-Leopard, I thought, there was no NUMA support. German article as source.
I could not find a source for NUMA support in OS X, thus I would say that there's as well no way to control the NUMA-settings ;)
This Intel document states:

On multi-socket machines based on the Intel® Core™ i7 processor, NUMA is typically available as a BIOS boot option, but effective use also requires some OS and some user-level intervention.
Windows* OS support for NUMA started with Windows* Server 2003, and Linux* OS support requires kernel 2.6 or higher.

No OS X mentioned.


Can iOS' builtin dictionary be accessed/browsed as an independent app?

There used to be a nice little app (that luckily I still have) that did exactly that: let you search for definitions directly. It was called Dictionary+ (link no longer available), Apple removed it reportedly for violating the UIReferenceLibraryViewController's terms of use, which states that it should not be used to display wordlists, create a standalone dictionary app, or republish the content in any form.
There's a replacement open source app that you can build, sign and install it manually, I haven't tried it, though: https://github.com/josh-/DictionaryPlusPlus
In recent iOS version you can also access definitions from the phone’s search (Spotlight) but for some reason sometimes it doesn’t work and may require internet.


Manage Guest Account via Profile Manager

This is not possible.  Apple's Profile Manager is lacking in many areas, and this is one of them.  Apple does not provide any tools or documentation for managing the guest account on multiple remote computers, or creating a profile to define and/or configure them.
Update: It has been about half a year since I posted this answer and in that time I have gained more insights into managing macs in a school environment.  Here are my thoughts:

If you are managing student-facing macs in a school, your number one strategy should be to migrate to chromebooks. Cheaper, more secure, and a thousand times easier to manage.

If manage macs, you need to use something like Jamf to manage them.  Apple Profile Manager is lacking.

Even with a mac management service like Jamf, using the Guest user account for students is a challenge.  You will need to create your own "pseudo" guest user, and just manage it with scripts so it is always clean for the next student.


You can open pdf files with TeXShop even if you don't have the corresponding TeX files.
In the Finder, control-click on the file and choose Open With / TeXShop.
In the Terminal, do open -a TexShop foo.pdf.


Is there a way to purchase an app from the Mac App Store as a gift?

No, Apple didn't implement the gift feature in the Mac App Store. I imagine it will happen eventually, but it isn't there right now.

Your only option would be to buy your friend an iTunes gift card, which can be used to buy apps.

Here's my source


Can I delete files or folders from /private/var/folders/?

You can safely delete anything in /private/var/folders/ but not the folder itself
sudo rm -rf /private/var/folders/*

Quit all apps before you do & reboot afterwards … and whatever you do, don't touch anything else in /private/var/, and do not delete /private/var/folders/ itself.

Rumor has it that one should not delete /private/var/folders/zz. This article implies otherwise, but if you want to be on the safe side, use
cd /private/var/folders
for i in *; do if [ "$i" != "zz" ]; then sudo rm -rf "$i"; fi; done
sudo rm -rf zz/*

instead.


How can I remove the key labels from my Apple Wireless Keyboard?

You can't erase the print, because the "foreground" and "background" are two colors of plastic that comprise the entire keycap.  That's so the print doesn't wear off.

You could cover the print with paint or a sharpie, but that would wear off.

Stickers feel bad, and do wear off (I had this problem in an Avid video suite).

Some blank-keycap keyboards are for sale, e.g. http://en.wikipedia.org/wiki/Happy_Hacking_Keyboard, but they're not exactly what you want.

Some vendors sell replacement keycaps, like http://www.ebay.com/itm/281064247677 , but they may not have blanks, because they get theirs from other Apple keyboards instead of making them themselves.

The best, but not quick-and-dirty, solution would be to take RTV molds of the original keycaps (pry them off like this: http://store.apple.com/us/question/answers/product/MC184D/B/1/QK2AFXHXKKA2J7AXA ), and then mold your own keycaps from scratch.


How to change the date created and date modified of a note in Notes.app?

I was trying to do the same thing--have original dates for notes that I was moving off my old Samsung phone onto my Mac (which syncs with the iPhone I now use). Both programs display one date--either the created or last modified date.

The solution I used: I sent all Samsung memos to my computer (I actually put them in Notes.app, but it doesn't matter where you have them on the computer). Then, what I did is I turned off the Wifi (maybe not necessary?) and went into "Settings" > "Date & Time", unlocked the lock at the bottom and unchecked "Set date and time automatically". Then, I reset the date to the date I wanted displayed on the note in Notes.app, clicked "Save" and I made a new note, copying what I had already imported into the computer/Notes.app. It created the note with exactly the date I wanted. :) I repeated the process for the rest of the notes. At the end, I rechecked "Set date and time automatically" and restarted the Wifi.

A solution that works, both clunky and elegant, depending on how you look at it. I am going to do the same for importing my voice memos into iTunes to sync correctly with Voice Memos on my iPhone.


This is a specific example of a common problem. Installers and applications that spray files and detritus all over the filesystem and rely on users to run many scripts, all changing weekly with version upgrades quickly becomes an intractable problem. You should be able to reclaim the 5 GB of space easily without worrying about some stub files and mostly empty config files.

Open the Terminal.app or iTerm2 terminal application, and then remove your entire Anaconda directory, which has a name such as anaconda2, anaconda3, or ~/opt. Enter rm -rf ~/anaconda3 to remove the directory.

If you’ve deleted the main program and the main folders (which I repeat above), I would say you’re good. Set up Time Machine so you’re backing up going forward and next time you want to install similar tool chains and environments, be sure you have a backup so you can roll back if that install gives poor results. Unless there’s a large file lying around you won’t gain anything cleaning up hundreds of files and other tools let you find folders and large files to clean them together.

In the unlikely event you have some issue caused by the leftover files, it’s less complicated and less time consuming to erase and reinstall a Mac and get your documents and apps reinstalled than it is to reconstruct what anaconda installed and surgically reverse every remnant left on the filesystem.
Worse, if you rm the wrong thing, you may delete more than you bargained for.

How can I make 'rm' move files to the trash can?

A safer bet is to substitute open for rm and you do need to recognize -rf or any flags passed to rm and delete them. Use the command line to open the folders rather than removing them is my advice if you don’t get exactly the syntax of the commands you are copy and paste into terminal. The writer of those guides assumes you know what the commands do or you won’t blame / sue them if you make an error and delete your home folder and all your pictures and documents.


How can I get accurate information about disk space used/available in Big Sur via the command line?

diskutil info /dev/disk3s1s1 seems to do the trick for me:
Container Total Space:     994.7 GB (994662584320 Bytes) (exactly 1942700360 512-Byte-Units)
Container Free Space:      635.1 GB (635058384896 Bytes) (exactly 1240348408 512-Byte-Units)

(other output snipped)
My output from df -H:
/dev/disk3s1s1 995G    15G   634G     3%    568975  9712932825    0%   /
/dev/disk3s5   995G   335G   634G    35%   1363090  9712138710    0%   /System/Volumes/Data


Can you use Touch ID to bypass system password prompts?

I have been able to use it for things like deleting an app from the Applications folder and occasionally installing software. It seems to be related to whether a developer has implemented it yet or not. In the past few months, I have had the option more frequently, but still only about 30-50% of the time.


macOS Mojave is only compatible with MacBook models from 2015 or later, i.e. the 12" Retina models. (There were no Macs just branded MacBook released between 2010 and 2015; Mojave supports MacBook Air and MacBook Pro models back to 2012.)

The latest macOS that will run on your MacBook is 10.13 High Sierra.

Only you can decide whether the performance will be OK for your usage, so I would suggest you try installing High Sierra and see how you get on.


From the Apple Support Site

   Use these steps to reset your Apple ID:

  Sign out of iCloud, the iTunes Store, App Store, FaceTime, Find My Friends, Find My iPhone, and iMessage on each device that uses your current Apple ID for these services.
  Go to My Apple ID.
  Select Manage your Apple ID and sign in. Forgot your password?
  Select Edit next to Apple ID and Primary Email Address.
  Enter the email address that you want to use as your Apple ID, then select Save Changes. Apple will send a verification email to that address.
  Open the email from Apple, then click Verify Now. Didn't receive the email?
  When the My Apple ID page opens, sign in with your new Apple ID email address and password. When you see a message that verification is complete, you can start using your updated Apple ID.
  Update the features and services that you use with Apple ID, so that each one is using your updated Apple ID.

  If you need to change the Apple ID that's signed in to your iOS device, use these steps to sign out, then back in with a different Apple ID.


You could try deleting the "Envelope Index" files.

Run the following Terminal commands to backup and delete the files:

cd ~/Library/Mail/V2/
cp MailData MailData.old
cd MailData
rm Envelope\ Index Envelope\ Index-shm Envelope\ Index-wal

Alternatively…

Quit Mail
In Finder, press ⌘ cmd+⇧ shift+G

Copy and paste the following

~/Library/Mail/V2/MailData/

Press return or click Go
Backup then delete/move these files to the Trash:

Envelope Index
Envelope Index-shm
Envelope Index-wal

Relaunch Mail and wait for messages to import.

Note: once in a while this causes a corrupted message or two to reveal itself, usually in the form of having no "From" or "Subject" in the list view of messages (at least in "Classic Layout" mode).

Sometimes a corrupted message can actually screw up the interaction between Mail and the server, even if message is corrupted not on Mac, but on the server itself! (seen happen w/ AOL).


Stuck during clean install on a new SSD on a late 2009 iMac

I would say you need to take your machine in for repair. You have detached all external devices that you can: with possible exception of mouse&keyboard?

Reset machine
Sometimes if volumes don't appear in Startup Manager (what you get when you hold down the Option key at startup), you need to reset the Mac's PRAM, NVRAM. Shut down the Mac, then power it up, and before the screen lights up, quickly hold down the Command, Option, P, and R keys,( I hold down the keys before pressing the power on button, but requires some contortion. )  until the Mac has chimed twice more after the powerup chime.

Andy Betts  lists machine specific variants for this procedure in this article:

https://www.makeuseof.com/tag/reset-macs-smc-pram/


How can you remove "now playing" from the new control center in Big Sur

I don't believe that it is possible to edit the portion of Control Center that includes Now Playing. Just as on iOS, that is included in the top portion that cannot be changed. I haven't heard of any apps or utilities that are able to change how the Control Center is laid out, either. If you want the ability to change that, perhaps file some feedback with Apple.


How to Launch Multiple Applications Together?

Save a plist like this as ~/Library/LaunchAgents/some.label.plist:

<?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>some.label</string>
  <key>ProgramArguments</key>
  <array>
    <string>bash</string>
    <string>-c</string>
    <string>if pgrep -x iTunes;then open -jga Some\ Application;open -jga Another\ Application;fi</string>
  </array>
  <key>WatchPaths</key>
  <string>~/Library/Preferences/com.apple.iTunes.plist</string>
</dict>
</plist>

Then run launchctl load ~/Library/LaunchAgents/some.label.plist.

~/Library/Preferences/com.apple.iTunes.plist seems to be modified every time iTunes is opened. The program will be run every time ~/Library/Preferences/com.apple.iTunes.plist is modified (and there's at least 10 seconds from the last run), but it's probably better than running the program for example every 5 seconds.

For most applications, open -jg opens the application hidden and without making it frontmost. For some applications like TextEdit, it opens a new visible window if the application is open but has no windows, but you can use pgrep -x TextEdit||open -jga TextEdit or lsappinfo launch nofront=true launchandhide=true /Applications/TextEdit.app instead.


syncronize icloud contacts with iphone contacts

You didn't mention what version of iOS you're using so I'm assuming you're using the latest version.  Be sure you follow these directions from Apple's support page to setup the sync between your iPhone and iCloud:

Get started

Make sure that you’re signed in to iCloud with the same Apple ID on all of your devices.
Set up iCloud on all of your devices. If you have a PC, download iCloud for Windows.
Make sure that you're connected to Wi-Fi or have an active Internet or cellular connection.

Set up iCloud Contacts

When you turn on iCloud Contacts, all of the information stored on separate devices uploads to iCloud. If you turn off iCloud Contacts, your information won't automatically move from iCloud back to your device.

On your iPhone, iPad, or iPod touch

Go to Settings > [your name] > iCloud. If you’re using iOS 10.2 or earlier, go to Settings > iCloud.
Turn on Contacts.
When you're asked if you want to Merge or Cancel, tap Merge.

All of the information stored in Contacts uploads to iCloud.

On iCloud.com or iCloud for Windows

After you turn on iCloud Contacts on your iPhone, iPad, iPod touch, or Mac, your contacts upload to iCloud. You can find and edit your contacts on iCloud.com or in iCloud for Windows. Any changes that you make automatically update on your other devices.

If you turn off iCloud Contacts on your iPhone, iPad, iPod touch, or Mac, your contacts won't delete from iCloud, they won't update automatically, and any changes you make won't update across your other devices.

If this doesn't work, follow the troubleshooting steps on this Apple Support page.  There's many steps to try and options to take so I can't list them in this answer.


You have classic symptoms that thermal issues are causing kernel task to preemptively use up CPU to prevent overheating. If you haven't reset the SMC, try that one time. If the System Management Controller is actually stuck, the response to changing thermal measurements might lag or leave blowers on higher than they should be.

kernel_task hundreds of % CPU yet cpu frequency is being lowered
CPU usage is too high with Yosemite and an external monitor
kernel_task consumes 500% CPU on AC power, sometimes
MBP early '11 kernel_task over 300% when unplugged
MacBookAir kernel_task at 300% and rising

The answers above all point to things you can do to measure swap, processes, etc... but focus on thermal sensors (hardware issue) or external temperature (environment) which you can cool artificially to remove the slow down that's designed to manage heat.

If you can't measure the case temperature accurately with an infrared thermometer, try software like https://bjango.com/mac/istatmenus/ to check on the individual temp sensors and correlate them with the "spikes in CPU usage" by kernel_task. Also, resetting the SMC one time might be worth your while. If it's stuck, the response to changing thermal measurements might lag or leave blowers on higher than they should be.


App or Script to Move a Window Between Desktops With Only a Keyboard Shortcut?

Thanks to Lauri Ranta finding some further related questions that I didn't, I came across SizeUp, which does what I'm looking for (and several other window management tasks). I was hoping to find a more lightweight solution (I already have one window manager running full time in the background), but this will do for now. It's also unclear how well it works in Mountain Lion. I've only tested under 10.7 so far, but I saw some reports that it had issues in 10.8, but nothing definitive.

If anyone comes up with a different/more lightweight (i.e. an app that just does this, or a script), I'll mark that as the accepted answer, but for the moment it's SizeUp.


Under Mavericks with KeyRemap4MacBook my wireless keyboard doesn't register modifier keys

Check if you have "do not remap external keyboard"  checked in Keyremap4macbook preferences.


Is there a keyboard shortcut for hibernate 25 on a macbookpro retina, without changing power settings?

This shortcut isn't defined.

You could write a small shell script:

cat >hibernate <<eof
/usr/bin/sudo pmset hibernatemode 25
pmset sleepnow
/usr/bin/sudo pmset hibernatemode 3
eof

make it executable:

chmod u+x hibernate

and test it:

./hibernate

This small shell script will ask you your password and won't echo it
to get admin priviledge, and then make hibernate immediatly your Mac.

Upon wakeup, you will be able to verify that an image on disk was
cleanly made with:

ls -l /var/vm/sleepimage

and you will be able to check that the hibernatemode was reset to 3,
thus letting the action of closing the lid making a normal sleep.

If you are satisfied with this shell script, the next step will
require to define a shortcut to fire a shell script (and this is
another question).


Dropping files on a network share results in incorrect permissions

I'd recommend checking to see what the permissions on the source files are, to confirm that they are not set restrictively (i.e., no access for others.) It's possible that these permissions are being replicated on the share by the automator script.

If you need the enclosing folder to have more restrictive permissions, you can likely keep that setup (and use Automator to change permissions on the files before they're copied.) Although I'm not sure that Automator can modify file permissions, you can definitely use it to run a shell script (chmod 644 filename.txt?) on the files before they're copied to the server.


In Search/Spotlight, can you exclude files within $HOME/Library?

Spotlight does not index file paths as a property of a file. Thus you can't search for files by path. You also can't ask it to find or exclude files by their parent folder.

You thus need to resort to a two-step process:

Run a search against the Spotlight index. You can do so at the
command line using the mdfind command Filter the results to hide
those in your Library folder.
You could use the  grep command. Alternatively, you can paste the results from mdfind in a spreadsheet and use that to filter the list.

You can get the results you want using the HoudahSpot application. This has the option to specify more than one search location and to exclude locations. HoudahSpot also has an option to filter search results by path. Here you can apply regular expressions.

HoudahSpot can save searches as Finder "Smart Folders".  Since the feature you are after is not supported by Finder, the restriction on locations and filters will however be lost in the process.

HoudahSpot has a concept of "Templates" that you can use to much of the same effect as "Smart Folders".

Full disclosure: HoudahSpot is a commercial product of which I am the developer.


Login shows "network accounts unavailable" but I can access server once local user logs in

For me, it sometimes takes a moment for the network users to show up.  I found that changing the login window from "List of users" to "Name and password" has made it much better for my users. It seemed that most of the wait was for it to load the list or something.

after making the change, clients will sometimes briefly say that network accounts are unavailable, but its usually very, very brief.


An Calendar event seems to be locked when participants has accepted the invite using Exchange?

This is a compatibility issue between Apple and Microsoft. There's not much you can do about that except using Outlook 2011 for Mac can help you out in this case.
As it is specific Microsoft software for Mac, you don't have all the limitations you have using the default (native) Mac Mail.app.

SideNote: A similar thing between Apple and Microsoft is when you flag an e-mail, it will be flagged as Outlook 2003, which is very pointless if your Exchange is 2007 or up.


How can I change the data source of a chart in Numbers '09?

As far as I know there is no way to make the desired changes all at once, but there is a way that you can make things significantly faster than creating a brand new chart.

As it appears you've already done, copy and paste the chart into your Numbers worksheet. Depending on the chart you've created, select an individual line, bar, pie segment etc. and open the chart pane in the inspector. Here's a screenshot of what that looks like (with "Example 2" being the copied and pasted chart):

As you can see, in the field labeled "Data," Table 1 is referenced. This source can easily be changed to a different table. Just delete the listed source and select the new source of data from your worksheet (you don't have to type in the source). Depending on your chart you may also want to change the data source for the x-axis labels. This is also controlled by the inspector. That can be changed here:

While you'll have to change the data source for each line of the chart, it's certainly faster than creating a whole new chart and having to format it the way you'd like.


Too late now, but next time you accidentally move/delete something in the Finder, remember  Cmd ⌘   Z  is the (almost) universal shortcut for Undo.
For now, open the Trash, set to List View, then right click the columns bar & add "Date Added". Then click that to sort latest additions to the top.


How to maximize Macbook pro retina's battery life when working with AC power?

It's best to follow the guidance of Apple: http://www.apple.com/batteries/notebooks.html

  Standard Maintenance

  For proper maintenance of a lithium-based battery, it’s important to
  keep the electrons in it moving occasionally. Apple does not recommend
  leaving your portable plugged in all the time. An ideal use would be a
  commuter who uses her notebook on the train, then plugs it in at the
  office to charge. This keeps the battery juices flowing. If on the
  other hand, you use a desktop computer at work, and save a notebook
  for infrequent travel, Apple recommends charging and discharging its
  battery at least once per month. Need a reminder? Add an event to your
  desktop’s iCal. When your battery no longer holds sufficient charge to
  meet your needs, you may choose to replace it. If your notebook came
  with a built-in battery, you should have the battery replaced only by
  an Apple Authorized Service Provider.

  Long-Term Storage

  If you don’t plan on using your notebook for more than six months,
  Apple recommends that you store the battery with a 50% charge. If you
  store a battery when it’s fully discharged, it could fall into a deep
  discharge state, which renders it incapable of holding any charge.
  Conversely, if you store it fully charged for an extended period of
  time, the battery may experience some loss of battery capacity,
  meaning it will have a shorter life. Be sure to store your notebook
  and battery at the proper temperature. (See “Notebook Temperate
  Zone.”)

Basically what it says is use your Macbook in whichever way is comfortable to you. If you prefer to use it plugged into AC at all times, just make sure to disconnect it at least once per month and let it discharge to make sure the electrons moving around inside it.

Cycles are based on a cumulative basis. If you choose to let it go down to 50% twice, that's one cycle. If you chose to let it go down to 75% four times, that's still one cycle. The cycles will go with normal usage and you'll be much happier if you don't worry about it too much. The hardware is designed to last much of the life of the unit since the switch from Li-on batteries.

Contrary to your post, Apple DOES NOT recommend running laptops with removable batteries on AC without the battery: http://support.apple.com/kb/HT2332

Please check out this link from a less official, but still helpful source: http://forums.macrumors.com/showpost.php?p=9875442&postcount=23


iTunes says this computer is not authorized

I found the issue. Turns out the email address I had used to register with Apple had a dot in it. I do this because to the Gmail it's the same things, and it allows me to filter out stuff that I may not want. So I tried authorizing with that ID, and it worked.


You should each have your own user account/login on the computer then you can have each use your own iTunes, iCloud, email, Facebook, Twitter, etc… accounts.

You can create an user account on your computer by going to

System Preferences > Users & Groups,
Unlock that panel if necessary (Click on the lock in the lower left corner and enter you password if the lock icon shows as locked)
Then press the "+" icon in the table above the unlocked icon to add another account to your computer.


In Applescript, how do I get a line number or stack trace on error?

It's ugly but it works...

try
    set marker to 1
    -- do stuff
    set marker to 2
    -- do stuff
    set marker to 3
    1 / 0
    set marker to 4
on error errMsg number errNum
    tell application "SystemUIServer"
        display alert (marker & space & errMsg & return & return & "Error number " & errNum as text) buttons "Cancel" cancel button "Cancel"
    end tell
end try


Have DHCP for Wi-Fi and static IP for Ethernet?

This Apple discussion sounds like what you're looking for, titled: Wi-Fi and Wired network load preference. This discussion shows a screenshot where you can augment the service order for the network connections.

Set your connections appropriately under their respective configurations (Wi-Fi vs. Ethernet) and then set the order so that the connection you've decided and configured as the Internet facing one is the one with higher service order than the other.

This should give you what you want.


Does the Mac mini (2018) deliver power over Thunderbolt ports?

The Thunderbolt 3 standard distinguish between two types of supplying power over the connection - either for "charging" or for "bus-powered devices".

The standard supports up to 100 watts for charging, which is it what you refer to. This is usually only supported by dedicated chargers or docking stations meant to charge laptops.

The minimum requirement of the Thunderbolt 3 standard however is that the computer must be able to provide 15 watts of power to "bus-powered devices". As far as I know, this is exactly what is supported by the Mac Mini.

If you're interested in a specific device connected to your Mac Mini, you can open up System Report where it is reported exactly how much power (in mA) that is provided to the device, and how much is available for that device.


If it’s a simple PDF document, you could possibly open it with Inkscape and then add crop marks with Extensions > Render > Printing Marks…. Or maybe Scribus, with Print… > Marks.

Very hacky but might help somebody in a tight corner.


How to disable thumbnails icon preview only for video files in Finder?

The Mountain Lion default QuickLook generators can be found in the folder /System/Library/QuickLook/ .


Assuming iOS 6:

Tap on “Settings” and then tap on “General”
Tap “Wi-Fi” and look for the network name you are connected to, tap
the blue (>) arrow next to it
Tap the “Static” tab and enter network appropriate DHCP/static IP
information
   Close out of Settings and launch Safari or another network app to confirm connectivity

To see the MAC Address of your iPhone,

Tap on “Settings” and then tap on “General”
Tap “About” and look for the "Wi-Fi Address"


I use Yosemite but here can be found how to utilize in Mavericks:http://www.t-gaap.com/2013/10/29/managing-spaces-in-os-x-mavericksenter link description here

In Preferences check the Automatically Add box

Add several, I have 9 spaces I switch between in Yosemite:

You add a space by moving your cursor to the top right hot corner of your desktop and clicking the + sign.


write a "macro" to launch multiple terminal windows with one icon

I would make each script be saved to a plain text file and you can name them 1 and 2 and 3 and 4 and put them in a folder.

When you name a plain text file abc.command, clicking it runs the script.

I'd also use https://brew.sh to install mongodb so you can just use brew services to run that at launch. It's likely lightweight and you could have a "restart" script in case the demo goes south.

Also - teach your sales people, this is an easy thing to understand and imaging how much better they can sell when they say - I know tech and I know how to run and manage not only the product we're selling but own the demo requirements. Good luck in your venture.


How to make a playable DVD iso from a VIDEO_TS folder?

just tried this on several VIDEO_TS and works perfectly.

hdiutil makehybrid -iso -joliet -udf -udf-volume-name $folder -o $fullpath.iso $fullpath

ps. I've never found out how to make ISOs out of VIDEO_TS using handbrake. I don't think this is possible.


Any iPhone apps for fine-resolution mapping?

Clearly, there aren't any popular apps that replicate an Inertial Navigation System which is what you describe.

The wikipedia article I link above illustrates that the integration errors that crop up from this sort of apparatus build up over time and errors of hundreds of meters are possible after only an hour of operation.

GPS would be far more accurate than inertial calculations given the limitations and lack of precise calibration of the gyroscope sensors within an iOS device. They are designed to detect gross movements (10-25 degrees) and other tools like laser or echo location would be needed to measure a path over a 50 meter span more accurately than GPS will allow.


Why does a Macbook pro's internal screen flicker ONLY when it is on a GPU?

I've been diagnosing a similar issue. It's helpful to run this tool with various configurations, then use unix diff to compare the configuration settings.
/System/Library/Extensions/AppleGraphicsControl.kext/Contents/MacOS/AGDCDiagnose

e.g.
diff -u AGDCDiagnose-high-freq-after-detection.txt AGDCDiagnose-without-EDR.txt |
@@ -1772,8 +2354,8 @@
 Link Lanes 4 {4,4}
 Link Rate (Mbps)   3240 {3240,3240}
 Link Bits  30 {18,30}
-Voltage Swing (Level)  {255,255,255,255}
-Pre-Emphasis (Level)   {255,255,255,255}
+Voltage Swing (Level)  {0,0,0,0}
+Pre-Emphasis (Level)   {0,0,0,0}
 Spread Enabled
 Enhanced Framing   Enabled
 Scrambler  Enabled
@@ -1820,7 +2402,7 @@
 DIG FE B
 Number of Devices  1
 Timing DICT    21
-Display Mode   80004003
+Display Mode   80006003
 Refresh Rate (Calculated)  60 Hz
 Refresh Rate (Stored)  0.0 Hz
 Window (Active)    2880 x 1800
@@ -1924,7 +2506,7 @@
 DIG FE A
 Number of Devices  1
 Timing DICT    21
-Display Mode   80005022
+Display Mode   80003022
 Refresh Rate (Calculated)  60 Hz
 Refresh Rate (Stored)  0.0 Hz
 Window (Active)    3840 x 2160
@@ -1947,12 +2529,12 @@
 Dynamic Range  1 (SDR)


Open iTunes > go to Preferences > Downloads. Ensure that the checkbox which asks if you want HD footage to be preferred over SD is ticked. Also, check your storage and make sure you are using a screen resolution that isn't too far off from the default. If this does not work, turn off the computer, then press  shift + control + option, then press the power button (but don't hold). Then once you have done that, power on the computer. Some users who had this bug have reported that as a solution.


Recovering "Damaged" Files on External USB Drive: GUID, HFS (can not open files)

I would first try Disk Utility. You will find it in the Utilities folder in your Applications folder. In the left pane, select your disk, and at the top, click on the SOS button.
Otherwise I have had some luck with DiskWarrior and with Data Rescue, but these software are not free.


This could be due to network segmentation.

What type of gateway/router are you using?

Is it possible that you are connecting to a guest type network, or that the gateway has a network segmentation feature which is turned on?


Finder says I have 20GB free. Why does Bootcamp say I don't have 10GB free?

You may be just reading the wrong figure in Disk Utility, have a look at the quote below from the apple discussion forums

  Disk Utility will show two different
  "free" readings, depending on where
  you look.

  Sounds odd, but they're for different
  purposes. The larger figure, which the
  Finder and other things will use, is
  the total free space available.

  The second is the amount of free space
  available for a new partition. It's
  shown when you select the top line for
  the drive, click the Partition tab,
  then select a partition, the
  "Available" amount may be smaller.

  This is because partitions, unlike
  folders, must occupy contiguous space
  on a disk. The data on your OSX
  partition is scattered over it, not
  all nicely packed together. That's
  normal, as you add, update, and delete
  files, not every nook and cranny is
  used again immediately.

  But whether there's 7 GB free or 18,
  that probably isn't enough to be
  adding a partition; it's probably too
  little for OSX to operate well.
  There's no "hard and fast" rule, but
  you should always have at least 10 GB
  or 10% of your OSX drive free; many
  folks say 15% or more.

  You could back up your drive (on two
  different HDs, to be safe), reformat
  it to 2 parttions, then restore the
  backup. But it's going to be very
  tight, and you'll likely have
  performance problems because of it.

  Try to delete anything you don't need,
  and/or offload stuff you don't use
  often and delete it.


Receive SMS with iMessage on multiple Macs

Have you checked the settings on both devices? Message settings on iOS and the settings window (CMD + ,) in messages on your new Mac?

Text message forwarding happens on the following iOS settings page for iMessage:


Can't change my store back after adding prepaid credit card

you probably have money left on your Apple account which you created in Japan. the other possibility is that you may have some subscriptions to which you subscribed in Japan (for example, Apple Music, any news papers and so on).

so you would have to spend all that money or unsubscribe to be able to change the store


Where does Time Machine store its settings?

It is in the root directory of the actual backup e.g. /Volumes/Back3/Backups.backupdb/flat/Latest/.exclusions.plist for a machine called flat but that only shows what happened.

More usefully - if you want to edit things see /Library/Preferences/com.apple.TimeMachine.plist

I got the informatiuon from this blog


Using OS X Lion - Migrating from Mobile Me to iCloud - Incoming Mail Server issue

In mail - preferences - advanced - uncheck 'enable this account'.
click another account or tab to get dialogue box to save changes.
check 'enable this account'
click another account or tab to get dialogue box to save changes.
get mail.


Magsafe 1 Charger to Replace Magsafe 2 Charger

It can, but you will need a Magsafe 1 to 2 adapter. Apple store


Just setting up a new volume is pretty easy with:

diskutil eraseDisk ExFAT SD256 disk44

(I chose disk44 above for the example but you will need to choose your disk number after making sure you're not erasing the boot volume or other critical disks - check your backups and disconnect any external drives you aren't prepared to restore from backup)

See Cannot unmount disk0 resource busy and When erasing media in Disk Utility, how can I change the default format? for a little extra visual or other options of diskutil that work on a volume instead of destroying all data on the disk.


Japanese language input erratic after move to High Sierra

The most straightforward solution is to move everything to a working account.

It used to be you could usually fix these kinds of problems by trashing .plists and .cache files in Home/Library of the bad account, but it seems to be less successful and more tedious with the most recent versions of MacOS.


Converting macos dictionaries to portable format

Dictionaries used to be in /System/Library/Dictionaries, but they were moved (c. Sierra?) to various subfolders in /System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX.

The format is a package, and the data files inside seem to be some non-human-readable binary data format, though they start off life as XML files.

Assuming you've searched for projects that can import Apple's dictionaries, rather than just exporting them, and found nothing; then the task may be 'non-trivial', and you may be better off using the very good open source DICT format files.


How do I show content of hidden password boxes?

I just solved my question. As it turns out, the password is stored in the Keychain Access. I just searched for the server and ticked the "Show password" checkbox on that particular item. Problem solved!


File contents remains in terminal after exiting Vim?

Try adding:

if &term =~ "xterm"
    let &t_ti = "\<Esc>[?47h"
    let &t_te = "\<Esc>[?47l"
endif

to your ~/.vimrc

Ref: https://forums.vandyke.com/showthread.php?t=3431


Which service or application is responsible for Mission Control?

The application responsible for Mission Control should be Dock.

Take a look at this article. Restart Mission Control in OS X Lion


Visibile App Windows Minimize when I click on dock icons

So what happened was.  In Onyx I mistook "Single Application Mode" in the Parameters/Dock area as the setting to make the windows minimize to the dock icon.  This option only allows one application to be viewed at a time.


Process completed immediately after opening Terminal

Go to Preferences → General and set Shells open with to Command, and enter the following:

/bin/bash -x

Open a new shell and see what is being run, then remove the relevant lines from your profile files.


Is there another way to boot into Recovery Mode without using the built-in keyboard?

I was able to fix the blinking question mark issue by using a bootable USB installer to install Catalina on the Macbook Air—plugged in the bootable flash drive while holding Opt key. It was able to detect the installer.


Backup the phone using itunes and then restore to defaults and reload the backup. That should delete any files not in the itunes database. If the files are used by other apps they might still hang around and you might need to tell itunes not to load that app any more.


I noticed that your friend's installation appears to be in Dutch, so I suspect that this is a localization / language issue. If you search the web a bit for "yosemite 135122" you will find others with non-English OSX installations reporting the same issue. It seems like this particular string was not properly "translated" into other languages. So other than a strange "About This Mac" screen, this should not cause any issues.

10.10.3 is out already; maybe upgrading will fix it?


System Preferences shows the Java used for web applets and java -version the one found by /usr/bin/java

To get the latter install the JDK not the JRE


View App Store Download Progress (Downloading Maverick)

Try rebooting.
Quit App Store, open Launchpad, find the partial download of Mavericks installer and click it. This usually resumes a download that was interrupted/paused.
Reset App Store by clicking Reset Application from the debug menu, then reboot and try again.

You can enable the debug menu by running the following command:

defaults write com.apple.appstore ShowDebugMenu -bool true


You would need to download Apple Configurator, then configure a profile, connect your device and install this profile, restart phone. I'm sure there will be tutorials how to do this, if you struggle, just reply here. :)


Change my Apple ID email address on iCloud account

Go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.

Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.

Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID.

Then go to Settings > iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).

Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings > iCloud and sign in with your current iCloud ID and password.


How can i disable the "mouse scroll wheel click" to view all windows feature in El Capitan

I suspect El Capitan is interpreting this action on your Logitech LS1 Laser mouse as a double-tap with two fingers.

Assuming this is the case, you can try this:

Go to Apple > System Preferences
Click on the Mouse preference pane
Select the More Gestures tab
Uncheck the Mission Control box


on MacOS, how to switch to different windows of the same application EASILY?

Use Command + ` to rotate between windows of the same application.
Use Command + Tab to rotate between applications.
I'm not quite sure why you find some apps don't support it - I've just tested and it works for me - perhaps it's bound to another action for those applications?


How to bring an application to the front, no bouncing dock icons

did you check if "visible" is true or false in your applescript Code?

Looks like the app is running in the background.

Try to set the app to the frontmost window.

If you want to delete the bouncing, it's in the Systeme Preferences, Dock, untick animated apps when open.

Hope that will help you.


My available disk space does not make sense. Why?

you are on a laptop using time machine. time machine uses local snapshots on portable computers. they are stored at /.MobileBackups if you want to have a look and verify how much space it is consuming.


Unable to import iPhoto 11 Library in OS X Lion

Ctrl click the iPhoto lib and select Show Package contents, go to Originals and pull the photos out of the lib and import.


How do I change the location of the Music folder on macOS?

You can set the folder iTunes uses directly in iTunes -> Preferences:


Run Apple Apple Hardware Test.

Apple Hardware Test (AHT) contains a suite of diagnostics that test the hardware of your Mac.

Here is the official support article by Apple:
https://support.apple.com/en-us/HT201257

And the relevant instructions, "Turn on your Mac, then immediately press and hold the D key on your keyboard. Keep holding the D key until you see the Apple Hardware Test icon."


Is it possible to use a 2009 imac as a display for a 2017 macbook pro?

It appears you are describing the setup above. This is possible to do.
You will need a Mini DisplayPort to Mini DisplayPort cable and a Mini DisplayPort or Thunderbolt port on your MacBook Pro.
To start using your iMac as a display you need to enter Target Display Mode.

Follow these steps to start using your iMac as a display:
Make sure that your iMac is turned on,  and the other Mac is logged in
to a  macOS user account.
Connect the Mini DisplayPort or  Thunderbolt cable between the two
computers.     Press Command-F2 on the  keyboard of the iMac that you
want to  use as a display.

(Source)
To exit Target Display Mode:

To leave Target Display Mode, press Command-F2 on the iMac keyboard again. Your iMac also exits Target Display Mode if you disconnect the cable that connects the two computers, or if you shut down or sleep either computer.
If the connected Mac goes into sleep mode, the iMac screen turns off until you wake the other computer, or until you take your iMac out of Target Display Mode.

Using Apps

Any apps that are open on your iMac remain open and active while your iMac is in Target Display Mode.
For example, if you begin playing music in iTunes on your iMac and then activate Target Display Mode, iTunes doesn't pause on your iMac.
If you've set your iMac to automatically log out, apps are paused or closed when this happens but your iMac remains in Target Display Mode.

Connecting devices to your ports

A Mac that's connected to an iMac in Target Display Mode can't use the iMac computer's built-in camera, its USB, ThunderBolt, or FireWire ports, or devices connected to those ports. To use external devices with your Mac, connect these devices directly to the Mac that you want to use them with.


Cannot share a Windows 7 external drive with a Mac

It may be a Windows sharing or security issue. May be.

Get properties on the folder you are sharing that is inaccessible. Click the sharing tab > Advanced Sharing and verify the folder is shared. Click on permissions ad verify the "Everyone" group has change and read checked under the Allow column. Click OK to get back to properties and click the Security tab. Click the Edit button and then Add. Enter "Everyone" in the lower text field and click OK. Back in the Security tab make sure "Everyone" is selected and click the checkbox next to "Full control" under the Allow Collumn. Click OK.

In the share properties we have just added anyone who can connect permission to connect to and make changes to the network share. In the Security properties we did the same thing, but this time we set those permissions on the file system (NTFS permissions)

Generally you don't have to set NTFS permissions to access a share but in some cases they may be necessary.

I am not certain this is the issue, but it could be and it is easy enough to do this to find out.


You can't. They say this in their documentation. They also say you can choose other images from the photographer who provided their stock cover art, but in fact you can't; you can leave the default image, change to one of your own, then change to another of your own, but that's all.

  Once you change your initial cover photo, you cannot change it back to the original default cover, but you can change it to any other photo that you take or store in your photo library.

I think this new version of Path is quite nice, but there are some rough edges, and you just bumped into one of them.


How can I find my Java directory in 10.8.3?

The command which java will tell you where the java binary is within your $PATH.


what is the Update from iMac OS X 10.6.8

Your Mac is a 2009 iMac. The latest OS is can run is MacOS 10.13 (High Sierra.)

Note that "UPDATES" are different from "NEW OS versions". An update to Snow Leopard is like from 10.6.3 to 10.6.8, or a security patch.

A New Version is a separate product, and must be downloaded from the App Store, rather than Software Updates. You may want to try this link for El Capitan.

It's likely that Apple will only show you the latest OS (High Sierra) for download. Unless you have specific needs, I would recommend installing High Sierra, and keeping all your software up-to-date. Snow Leopard is 10 years old!


Beautiful, outlined font name in Mac OS X

The default font for Mac OS X is Lucida Grande


How to reset screen time app limit in iPhone?

As far as I know, you can't do that because you have approved the application for that day... So you can't switch the app restriction back for this day, you must wait for tomorrow.
But instead of "allow app for the rest of the day" when the time limit has been reached, you can simply cancel the time limit for this app in the settings...
If you still want to have the screen time limit again afterwards, you simply have to reactivate the app limit in the settings and then the app can't be called again, when the preset screen time is reached (even if it is switched off and on again, it remembers the time used).
However, that is not the point of the thing (screen-time-limit-app), but fulfills your purpose!


How can I sync old messages between iDevices?

Generally speaking, the answer is no. Messages are saved on Apple's servers for up to 30 days, but only if the message has not been confirmed as received by the device. Even if it was still on the server, there's no way to get the server to resend it to your device. Nor is there a way to sync messages between devices.

You could save Messages history off your iPhone with something like iExplorer, but there's no way to integrate that into the Messages app on your Mac.

As far as them disappearing when you rebooted, under Messages > Preferences ensure "Save history when conversations are closed" is enabled.


What is MacUpdaterSwift in my com.apple.loginitems.plist file?

After decoding the LSSharedFileList entry, I discovered this is from an Erlang install.


Downloading an old version of iPhoto onto Mac OSX Lion (10.7)

Here is a download link for an older version of iPhoto: https://support.apple.com/kb/DL1589?locale=en_EN (this is an update only; you still need the original, older iPhoto software to support this or it will not work.)

These are the release notes:

  What's New in Version 9.4

  Adds support for Shared Photo Streams on OS X Mountain Lion Comments
  can now be added to photos after publishing them to Facebook New card
  and calendar themes have been added A new File menu command can be
  used to open the current photo library in Aperture (if installed)
  Includes performance and stability improvements

  Post Date: Sep 19, 2012

  File Size: 757.61 MB


How do I enable Intel Virtualization in a MacBook Pro?

It's not mentioned which MacBook Pro is being used, but it's a safe bet that the CPU is capable of VT-x but it may be disabled.  I've checked a 2012 iMac, a 2017 MacBook Pro and a 2014 Mac mini and all had VT-x supported and enabled.
Check if supported:
To check if your Mac supports VT-X, issue the following command:
% sysctl -a | grep machdep.cpu.features

You should get output similar to below.  If you see VMX, your CPU is capable of VT-x.
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA
CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ
DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC POPCNT
AES PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C

Supported but Disabled/Locked
Apple provides a support document, If VT-x virtualization technology is locked or disabled on your Mac to address this issue.  Basically, you need to ensure your software is updated to latest version.
VT-x is enabled by default, but there's no "setting" or command that can be issued to turn it on.  Try resetting the NVRAM by holding  ⌘ Command⌥ OptionPR while booting.
You can issue the command nvram -xp to dump the NVRAM contents.  If you parse through it, you won't find any variable related to virtualization.
Possible Solutions
I've read (can't remember source) that installing either Parallels or VMware Fusion could enable locked virtualization features.  There's a community version of Fusion and a Trial of Parallels.  You could give either/both a shot - if it doesn't work, no harm no foul.
In the end, if it's not enabled, it would be best to file a bug report with Apple at https://www.apple.com/feedback/macbook.html because this feature should be enabled by default.


How do I create a virtual machine with a disk size different than the default?

VMWare Fusion (which I'm assuming you're using since you're posting in the Apple section) has some presets for disk space depending on the OS (20 GB for Linux, 60 GB for Windows, and 40 GB for OS X) when you create a new virtual machine. There are two ways around this:

Option 1: Create your own virtual disk

Run

/Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -c -t 0 -s 20GB -a ide myDisk.vmdk

to create a new virtual disk.   Replace "20GB" with your desired size and "myDisk.vmdk" with the desired name and path of your new disk.

When creating the machine in VMWare Fusion, in the "Choose a Virtual Disk" screen, check the option to use an existing virtual disk.

Option 2: Resize before installing
You can also resize the newly created virtual disk before the OS is installed.

Set up your VM as normal, accepting the default disk size for now.
When you get to this screen, click "Customize Settings":

Save the VM
In the Settings window, click "Hard Disk (SCSI)"
Resize your disk as needed and click "Apply"


Sync Local Folder with NAS storage device

I would recommend that you look into using rsync. This is a very powerful and widely used backup tool that is included in OSX. You control it via the terminal, or via a script. Meaning that it can be scheduled to run backups at certain times or manually when you invoke it.

The prerequisite is that your NAS has an rsync server daemon running on it.

The beauty of rsync is that you can tell it to incrementally update files - that is, it will only upload files that are new, or have changed. (It can even upload the bits of existing files that have changed). It's very quick and efficient.

Check that your NAS supports rsync and then read into it, rsync is a large topic to cover here but I highly recommend it!

Typically, you'll run the command like this:

rsync [options] source destination

Check this page out for some good explanation and usage examples.


Application network traffic filtered, when screen is locked?

You are confusing "network traffic filtering" with Application "synchronization."

When your Mac goes to sleep, it suspends all other applications from execution.  Meaning, your Spotify client doesn't get updated.  When you use your Spotify client on your mobile device, for example, the Spotify service (in the cloud) remembers all of that activity.  When you wake your client, it checks in with the service, looks for changes and then synchronizes them.  This is the case for any application that syncs it's settings via the cloud (Safari, Messages, FaceTime, Photos, Spotify, FireFox, Edge Browser, etc.)

Network Traffic Filtering looks at individual packets and either blocks them or allows them based on a "filter" rule.  It won't queue them up (and especially not on a sleeping computer) for later processing.


Not inherently.  32 bit mode should run fine as long as all your drivers and binaries include a 32-bit version, which is currently the case unless you specifically downloaded 64-bit versions.  It should even use a little less ram.

But:

Mountain Lion will be 64-bit only, so I don't expect universal binaries to include 32-bit versions forever.
I have "slimmed" all my binaries to delete the 32-bit version.  If you have ever used such space-saving utilities, the slimmed apps won't work.


mDNSResponder is started by launchd whenever a DNS query is performed in the system. So it will restart the next time some process performs a DNS query.
Killing this process is not required though, sending the HUP signal with
sudo killall -HUP mDNSResponder
already flushes the cache. This hasn't change up to 10.15.
dscacheutil is only for 10.6 and you need a different command from 10.10.0 to 10.10.3, that's because Apple wanted to replace mDNSResponder with 10.10, yet the replacement had so many problems that they reverted back in 10.10.4 and stayed with  mDNSResponder ever since.


Turning off Require Password on a filevault enabled MacBook Air 2011

There is another piece of software similar to RedHand called Watchmac (from bloo7). I suggest you try using Watchmac as a work-around to this issue.


sshdfilter and ipfw - why are my rules flushed so often?

Change /etc/sshdfilterrc to add the rules to /etc/ipfilter/ipfw.conf. This file is imported when the flush is executed. Disadvantage is that this file has to be maintained....

This prevents the blocks staying in bit heaven when the flush comes along because this file is read after the flush is executed.

edit: on request added changes I made in /etc/sshdfilterrc

firewalladd='/sbin/ipfw add $idx deny all from $ip to any in; echo add $idx deny all from $ip to any in >> /etc/ipfilter/ipfw.conf;echo +`date` $ip >>/etc/ipfilter/sshdfilter_block.log'
firewalldel='/sbin/ipfw del $idx deny all from $ip to any in;grep -v " $ip ">/tmp/ipfw.conf;mv /tmp/ipfw.conf /etc/ipfilter/ipfw.conf;echo -`date` $ip >>/etc/ipfilter/sshdfilter_block.log'

this takes care of the block and the block Cancel actions, including some block.log to see when and how long an ip has been blocked.


How can I get Google Voice SMS notifications?

Go to Settings -> Notifications -> Google Voice. You'll see underneath the the 'Google Voice' line what's being pushed for notifications, chances are yours will say 'Off'. Just tap it and pick which ones you want to happen when you receive a SMS.


How to run an app that require Java SDK on macOS Catalina 10.15?

Open System Preferences -> Security & Privacy -> General, there should be a message about the JDK app, click Allow.

Run the Java-based app again (e.g.: type java -version in the Terminal app). A dialog should appear confirming you trust OpenJDK.

Source: https://apple.stackexchange.com/a/372235/35845


Changing movie genre in AppleTV (4th Generation)?

Edit the genres in iTunes.  On the ATV, access the movies through Home Sharing, NOT through the Movies app.  Using the Movies app will show you movies you've purchased, but with all of the original data from Apple.  Using Home Sharing (the "Computers" app), you'll see the movies and genres stored on your local computer.

There hasn't been sync'ing since ATV1, I think...


encrypted time machine backups to a single external hdd from more than one mbp

Yes you can do that. Just divide the disk into two partitions and you are done.


Amending PATH so that /usr/local/bin is ahead of /usr/bin

Yes, create a .bash_profile file in your home directory containing

PATH="/usr/local/bin:$PATH"

and then do one of the following to make the change active

execute . ~/.bash_profile
execute PATH="/usr/local/bin:$PATH" in the current shell
restart Terminal


I had the same problem.

On your phone log onto beta.apple.com with the AppleID you used to sign up for the public beta.

There should be a link, once you log on, to tap on to download the correct profile that will then kick off the next available IOS Beta release.


MacBook Air 2013 battery drained by Dropbox

As it turns out (I'm the Nico from the blog post you are linking), the latest update to Dropbox corrected the issue. Now, when syncing/idling, the battery reports an insanely great remaining time.

If you have the latest Dropbox version, I'd suggest searching for other rogue processes that could drain your battery.


I keep getting alerts stating startup disk is full when it's not

Do they ever get the error? Find out who's account is actually the one causing it. Then log in as them and have them use the computer until it happens again. Once the drive is full, double click on the "Macintosh HD", switch it to "List" view, and go to View > Show View Options > Calculate all sizes. That will let you track down the mystery 63 GB and see exactly what is using it.


Do I have to enroll an Apple Developer Program when working for a client?

You wouldn't have to buy a separate license, if you are a part of developer team on provisioning portal. Since you have a admin role, the certificates, devices and identifiers section should be visible to you. If you are not able to see them, probably the team agent has not yet accepted the latest terms and conditions released by Apple, with the new iOS and OSX.

You just need to contact the Agent of your team to sort this issue.


Unmount all volumes mounted on /Volumes/booty-1, /Volumes/booty-2, /Volumes/booty-3 etc.
sudo rmdir /Volumes/booty-[1-9]
Reboot your Mac or restart your NAS, whatever is more convenient


How can I restore a backup of a phone with the same name?

you need to reset the phone to factory settings so that iTunes think's it's a new phone

it will then ask you if you want to restore from a previous backup and you can restore from any of them that are still on the system.


Sharing MacBook internet to iPad via USB

I had to first connect the USB cable between the MacBook and iPad before a prompt came up, requesting me to install some updates, before the iPad USB option came up


I had to unsubscribe from birthdays in Google calendar in order to remove it from iCal.


How to resolve repeated emails asking for verification of my Apple ID?

I have seen this problem where internet explorer doesn't open certain web pages. It may be an issue with internet explorer not having SSL enabled. In internet explorer go to the Tools menu and click internet options (you can also get to internet options from control panel). Click on the advanced tab and scroll to security, make sure there are check marks where it says SSL 2.0 and 3.0 and then click apply.

If that doesn't work just install another browser like safari or firefox.


iPad 2 certain emails received are gibberish

Make sure you using all your providers default email settings

Is it only on new email ; or on forwarded ones as well?


iBooks on Mavericks Beachballs Whenever Text Styling Occurs

I've managed to get rid of this problem by doing this:

open Font Book
run File > Restore Standard Fonts…

That basically moves all user-installed fonts to ~/Library/Fonts (Removed). So I suppose the problem is caused by one (or more) of the manually installed fonts.


Microsoft (Preview) Outlook Quit Unexpectedly


Retina Macbook Pro 13" makes clicking noise once a second

The only moveable part in a retina macbook pro 13" is the fan as seen on the following picture: (courtesy of ifixit)

Therefore it must be an issue with the fan, particularly because the noise originates from the right side (imagine the macbook pro flipped and the fan will be on the right side). Either the fan failed or something got stuck in the fan and is preventing it from spinning. I suggest you take it into an Apple Store so they can have a look at it in detail.


Why does the larger iPad pro support fewer LTE bands than the smaller one?

The larger iPad Pro was released before the smaller one, and presumably before the availability of a newer version of the radio used in the smaller iPad. Only an Apple employee could tell you the details of why the choice was made but I'm guessing this is indicative of a wholesale shift by Apple to use the more advanced radios in future products.

So to answer your question: the larger model wasn't "restricted" - it was released the year before the smaller model and it's likely the part wasn't available when it was being conceptualized and produced.


iTunes opens directly to music, not the store

iTunes opens to the last page that it was at before it was last closed. To set it to open to your music, make sure that that's the last page that you view before closing iTunes.


Apple Developer forum - Not able to log in into Developer forum

Assuming you're a registered Developer, I would call the Apple Developer Program Support number for your country, rather than submitting a bug.

You can find your local number here.