I have `/usr/bin/env` in my "Macintosh HD" but not in the recovery partition. Is this normal?

Is it normal to not have /usr/env/bin in the recovery partition?

Yes, it's perfectly normal for /usr/bin/env to not be in the recovery partition.

If you were to mount the Recovery partition and open the BaseSystem.dmg container to search for the file, you'll find that it doesn't exist.

$ diskutil list

 #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                    209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh              999.3 GB   disk0s2
   3:                 Apple_Boot Recovery HD            650.0 MB

So, disk0s3 is the one we want to mount

$ sudo mkdir /Volumes/RecoveryHD
$ sudo mount -t HFS /Volumes/RecoveryHD

Now, open the recovery system image BaseSystem.dmg.

$ open /Volumes/RecoveryHD/com.apple.recovery.boot/BaseSystem.dmg

A GUI will pop up on the screen with a Finder window.

Traverse to the /usr/bin and you'll notice that env is not there.

It's important to remember that the Recovery partition is a slimmed down version of the actual base system.  To make rEFInd work correctly, it needs to be done on the boot partition, not from the recovery partition.  So, in the end, you didn't mess anything up.


superfast ssd (PCIe connector) to MBP mid2012?

I don't believe it is possible as the Macbook Pro 2012 doesn't come with a PCIe according to the Apple specifications.

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

You can put a standard aftermarket SATA SSD in though.


On macOS whatis is just a shell script.

$ type whatis
whatis is hashed (/usr/bin/whatis)
$ file /usr/bin/whatis
/usr/bin/whatis: POSIX shell script text executable, ASCII text

If you look inside, the relevant part reads

while [ "$1" != "" ]
do
    found=0
    for d in /var/cache/man $manpath /usr/lib
    do
        if [ -f $d/whatis ]
        then
            if grep -"$grepopt1" "$grepopt2""$1" $d/whatis
            then
                found=1
            fi
        fi
    done

    if [ $found = 0 ]
    then
        echo "$1: nothing appropriate"
    fi

    shift
done | eval ${PAGER:-more -E}

So if no entries are found (the if [ $found = 0 ] part), the message is displayed without setting any exit code. Actually the script only exits with status 1 if wrong arguments have been passed.

The most recent update notice relates to 2003-08-01 as the date of update, so it seems to be rather old anyway. Whether the behaviour is a feature or a bug is open for discussion.

In case you are wondering about apropos showing the same behaviour: apropos and whatis are basically the same script.

$ ll /usr/bin/{apropos,whatis}
-r-xr-xr-x  1 root  wheel  1808 Aug 18 00:18 /usr/bin/apropos*
-r-xr-xr-x  1 root  wheel  1806 Aug 18 00:18 /usr/bin/whatis*
$ diff /usr/bin/{apropos,whatis}
26,27c26,27
< grepopt1=$aproposgrepopt1
< grepopt2=$aproposgrepopt2
---
> grepopt1=$whatisgrepopt1
> grepopt2=$whatisgrepopt2


How can I prevent my Macbook Pro 2011 from going to sleep when I close the lid?

The laptop will automatically go to the default sleep mode when closed unless it is plugged into power. Once plugged in, you will be able to run it to the monitor, wireless mouse, etc.


Creating a reminder on Mac programmatically/in a script, without opening the Reminders app

Use EventKit.  Apple has had that API for years.
https://developer.apple.com/documentation/eventkit


How to sync OS X Contacts and Calendar with Windows Phone?

If you have a Microsoft Exchange account (which I presume you have as you have a Windows Phone) or any other major account (eg. Yahoo) then it is fairly easy. Go into System Preferences/Internet Accounts and select your account type. Put in you username and password and select the apps you want to sync. Viola! Your contacts and calendar are now synced between your phone and your Mac.


Where did the update notifications for Java and Safari 6.0.4 go?

Java Update
See DL1572 for details.

Safari Update
Gets pushed via Software update (and installed automatically if the system has been set to download and install updates automatically).


The router itself does have DNS caching, but that cannot be accessed without rooting the device (and probably changing a few settings that shouldn't be changed to do logging to disk). Furthermore, an automatic update may reset everything, so I wouldn't go down that path at all. Much better idea would be to set up a DNS on a small linux machine and then configure the Airport DHCP to use your small Linux computer's DNS server as the default. That will persist through updates, etc. All clients connecting will ask the linux machine for the IP address of the website they want to go to. Just log it.

Also, for what it's worth, even if this is your network and these sorts of invasions of privacy are easy to do, I really really REALLY recommend you make everyone (children, etc) aware that this logging is going on. For everyone's sake.


Column width and document margins don't add up

At the very top of an open document click on the 2 Document tabs on the right. This brings op options to set hard page boundaries. The first Documents tab I'm referring to is the one next to the Format tab and the next is below that. See image below.

If that doesn't work add the paper size US Letter borderless available via pulldown.


When my husband opens his Mac my account appears

You can disable Automatic Login quite easily:

Open System Preferences (accessible from the  menu).
Click Users & Groups.

Click the padlock in the bottom-left corner and enter your password.

Click “Login Options”.

Set “Automatic login:” to “Off”.


FindMy Friends incorrect street and town address

You can report any bugs with native Apple applications here: https://feedbackassistant.apple.com/welcome


Nope.

Visual Voicemail needs to be activated by the service provider as it uses their services. It requires some work on their side, so I would imagine they need a big group of people wanting it.

Out of interest, this Wikipedia article briefly covers the topic. There is no open standard for this feature, so it hasn't been deployed on a lot of networks due to the service provider having to provide the required interfaces.


Edit this file:

/Volumes/rEFInd/System/Library/CoreServices/refind.conf

Add the following text to the end of the above file.

scanfor manual,internal,hdbios,external,biosexternal,optical,cd
dont_scan_dirs /System/Library/CoreServices
menuentry "Mac OS X" {
    icon \System\Library\CoreServices\icons\os_mac.png
    volume "Macintosh HD"
    loader \System\Library\CoreServices\boot.efi
    graphics on
}


How do I find out which apple id's are authorized on my computer?

Didn't find a list, but the following strategy worked.

I logged out as me, logged in as the problem id, and attempted a sync.  This time it asked me to authorize the other two id's.

Before I had clicked Store, Authorize this computer, and entered the id and password.  I would have thought these two to be equivalent.


My mother changed her session password and now the system can't unlock the "login" keychain

17 rang a bell and I typed her password one character at a time and tried after each character, and the login keychain password had apparently been set to the first 16 characters of her password. I'm not sure how that could happen and I was not able to reproduce it on my machine, but there. Now she thinks I'm the best son in the world.


Automator service to extract file and delete parent

Found the solution I was looking for here:
http://www.macworld.com/article/1160660/automator_filesfromsubfolders.html


Boot drive (SSD) going read-only randomly

It is possible that you are using a disk driver such as fuse. If so, uninstall it.

I also have a 2010 MacBookPro with an SSD in my optical bay and a 750 gig drive. I found myself in a similar situation; unable to boot because my data drive randomly became read only at reboot.

The culprit was fuse. It decided to remove my mount point, and create a symbolic link in its place.

Try booting into safe mode by holding down the shift key, and removing any fuse like programs.

Check /Volumes for any symbolic links (Except for the symbolic link to / )

If the issue persists, try creating a new user account.

Lastly, because both sata ports are sata 2, it is unlikely you would see any performance increase by swapping drive locations.


This looks like a graphics card issue. I would recommend reseting your computer's PRAM. To do this follow the following steps.

Power off your computer
Locate the command ⌘, P, and R keys.
Hold the power button until you hear the startup sound.
Immediately after you hear the startup sound, hold down the three keys from step 2 until your computer boots a second time.

This should resolve your problem. If your problem still persists you can download a 3rd party software such as https://gfx.io, which will force your mac to use it's alternate graphics card. Just install it and on your toolbar at the top of your screen click the "i" and change the setting from
"Dynamic Switching" to "Discrete Only." This will force your mac to use the NVIDIA card, and resolve your issue. I would recommend to try and reset your PRAM (Which has been changed to NVRAM, but is essentially the same thing), and only use my second solution if your graphics card rendering is still corrupted.

EDIT - To stop finder from being unresponsive you can follow these steps:

power off your computer
hold shift immediately after you hear the startup sound. This will boot your computer into safe mode.
Open finder. The buttons should now work. Navigate through a few different directories.
Click the apple in the top left. Click restart and you should be able to use finder again.

The reason this may fix your problem is because when you boot into safe mode, it cleans and resets some things, which can fix your unresponsive finder issues.
If that doesn't work my last fix that I can think of without more information would be to open up the terminal application and type in this:
sudo find / -name ".DS_Store" -depth -exec rm {} \;
make sure that you typed the capitalization right and it looks exactly like that, and press enter.
Type in your password. the letters won't show up when you type but don't worry the computer knows what you are typing. When you are done press enter. Reboot and it should be working again. If you want an explanation here it is. In every directory your Mac automatically creates a hidden file called .DS_Store. This file has information on it and after an update, or if something else happens, it can become corrupt or invalid. Executing the above command will remove these files so your Mac will create updated ones that work.
While some of these solutions edit invisible files on your computer, it will not affect your computer in any way that you can see other than (Hopefully) fixing your problem.


Permanently disable time machine prompting for external disks

From Turn Off Requests To Use New Disks for Time Machine [OS X Tips]...

You can stop this request dialog box from appearing by opening a Terminal window (Finder -> Applications -> Utilities – > Terminal) and typing the following:

defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool TRUE

Then log out and back in again for the changes to take effect.

If you’d like to restore the request dialog at a later date, again open Terminal then type the following (log out and back in again after for the changes to take effect):

defaults delete com.apple.TimeMachine DoNotOfferNewDisksForBackup


Apparently launchctl export is just gone.

FWIW launchctl dumpstate appears to contain that info (and much much more), so given enough effort, one could parse it out of there, I guess.


Supported USB-C Alternate Modes on MacBook Pro (15" 2016 and later)

According to EveryMac,  the model numbers of your specific CPU are i7-6700HQ, i7-6820HQ, or i7-6920HQ, which all have Intel HD Graphics 530. The specs list the resolutions that you can expect to find with DisplayPort and HDMI.
However, in reality you can possibly do better. For example, there are active USB C to HDMI 2.0 cables which allow 4k@60Hz on 2016 MacBook Pros, when the alternate mode was only HDMI 1.4, or 4k@30Hz.
Note that depending on your model you may also have an AMD Radeon Pro 450, 455, or 460 GPU. To find out, in the terminal, the following commands may be helpful.
For model and CPU system_profiler SPHardwareDataType
For GPU system_profiler SPDisplaysDataType
You could also save all of the system profiler information to a plain text file, and go through that with a text editor. Note that it can take a few minutes, and the file could be 5MB. system_profiler > output.txt
Finally, before choosing a monitor, cable or adapter it can be very useful to search through the reviews and customer questions for your model. That's the only way that I found out a 2016 MacBook Pro can output full resolution and refresh rates to HDMI 2.0 monitors.


How to upload large mobi file to iPad/iPhone

I can’t say how to get it into the Kindle app, but the problem with iBooks is that it’s the wrong file format.

Calibre can convert it to ePub (Convert books menu), then you can get it into iBooks in a variety of ways. (control-click to get the context menu, save to disk, then drop on iTunes/iBooks)


Is there a way to use the Intel GPU when running Windows 7 from Bootcamp?

This accepted answer is no longer correct for newer models. Newer Macs don't let you use the Intel Graphics Card on Windows. Here is a thread with explanations and a really complicated workaround.

For older Macs:

Let's start with this from Intel.

Then go here and select the right driver.

 EDIT: Since we still have the problem lets go back to BASICS:

What do I need to install Windows 7?

This table shows the required Bootcamp version.

Try removing application receipts:

If you're reinstalling an application or updating an existing one, try removing the application's receipts. Look for any receipts that bear the name of the application in the the Receipts folder inside of the main Library folder (/Library/Receipts) and move them elsewhere. Then try installing or updating your software again.


If I transfer my Keychain folder to another MacBook Pro - open it with keychain access, would I be able to see it?

Yes. After copying the keychain folder and you can open it with the Keychain app. Which prompts a pop up that is asking for your password.


How do I get a refund on an iOS app I just bought?

In iTunes, go to Store ->View My Account ->Purchase History. Select Report a Problem. Fill out the form explaining what happened, and Apple will get back to you with information about whether your refund has been approved or denied.


Change computer Apple TV uses to connect to iTunes

On the Apple TV:

Go to Settings > Computers
Turn off Home Sharing
Turn on Home Sharing (it will ask if you want to use your Apple ID or connect using a different one)
Select the option to connect using another account
Have her enter her Apple ID and password in

Of course for this to work, she will have to enable Home Sharing on iTunes on her Mac. For directions, see Apple's guide on setting up Home Sharing.

As for Netflix, you should just be able to log out and log in with a different account.


Pair remote ipad app with apple tv 2 that has no home sharing enabled and no hardware remote

You can use the iOS "Remote" app to control iTunes on your Mac or PC.  As part of this, you can change the audio output from the computer to any AirPlay device on the network, including the Apple TV.

You cannot, however, directly control the Apple TV's GUI.  Buy a new Apple remote, or a universal remote (love my Harmony Ones!).

If the LAN cable is a big deal, you might be able to solve that plugging the ATV into your Mac or PC (needs a micro-USB cable, though, which isn't too common yet) and then doing a restore.  This should remove the static IP, but it might also require you to walk through some setup menus when you next turn on your ATV.  That would be a problem without the remote.

I'd get a new remote, and then I think you can fix ALL the problems mentioned here.


Why does macOS Preview show different sizes before/after resize?

Mac OS hasn't actually generated the new image when it gives the estimated size. With JPEG images, the content of the image affects the file size because image complexity impacts the ability for the algorithm to compress the file. What you see before completing the resize is Preview's best estimate.


How can I keep different app versions on two devices synced with iTunes

Thats a tough one, the only solution I can think of is to have two separate users accounts on the machine you run iTunes on.  Each account has its own iTunes file system and this includes the cache of applications, even though both user accounts may use the same iTunes account.

It's a bit of a hack, and not very elegant but here goes...

You would make a backup of your existing iTunes directory from within your profile and place it in a readable location for the other user account.

Log into the new user account, start up iTunes so it initialises your new folder structure for iTunes under that account. Shut down iTunes and copy your existing backed up iTunes account data over the new.

Barring file permissions changes, you should now have two users accounts on your machine that you can control the upgrade path for your applications on.


How do I disable the "theme loaded" message in zsh

Comment out:

line 77 of ~/.oh-my-zsh/oh-my-zsh.sh (beginning with echo)
line 9 of ~/.oh-my-zsh/plugins/themes/themes.plugin.zsh (beginning with echo)


MacOS terminal "login: illegal option -- e"

The problem is occurring because of an improper account name beginning with the dash ("-") character. So the solution is changing the name of the account via the steps given in this link: https://support.apple.com/en-us/HT201548

When you open the terminal an automatic login command like login -pf [account-name] is executed. Let's say the account name is "-gi". In this case the command will be login -pf -gi and naturally, the terminal will show the error illegal option -- g. Therefore you should change the account name properly.


Using iPhoto with an already existing folder

You can create a referenced library.

Hold ⌥ when launching iPhoto and choose Create New, then select a location for storing the library. This library won't hold the masters but will hold versions and metadata.

Upon opening this library, go to Preferences → Advanced and uncheck Copy items to the iPhoto library. This will make any new imported photos stay in their original location and only be referenced in the library.


Yes, you can have apps installed from different Apple Id's.  Simply log in with whatever account you both want to use for purchasing.  You can log out and back in with a different App Store account at any time.

I have multiple accounts, and multiple devices sharing applications.

To follow up the other responses, your App Store account can be separate from your iCloud, Messages, and FaceTime accounts.  I use a separate account (Apple ID) for iTunes purchases than my iCloud account.

Some people even split things the opposite way - sharing email, FaceTime and messages but having different store accounts. It's really up to whatever works best for you and your devices.


The first party tools are listed here:

https://support.apple.com/guide/mac-help/use-network-utility-on-mac-ntutl001/10.15/mac/10.15

Most of the data is now in the network preference pane.


What is the OS X equivalent to the free command to show buffer and cache memory?

vm_stat may just show you what you need. As per the man page:

  vm_stat -- show Mach virtual memory statistics

It can show you the following:

Pages free
Pages active
Pages inactive
Pages speculative
Pages throttled
Pages wired down
Pages purgeable
"Translation faults"
Pages copy-on-write
Pages zero filled
Pages reactivated
Pages purged
File-backed pages
Anonymous pages
Pages stored in compressor
Pages occupied by compressor
Decompressions
Compressions
Pageins
Pageouts
Swapins
Swapouts


Problems upgrading my iphone from iOS6 to iOS7

You can check apple signing status and download the correct firmware and software from ipsw rocks if you need any help then contact me via this site.


Is Mac OS X's Compress a "standard" zip?

As its man page states,

  The compress utility reduces the size of files using adaptive Lempel-Ziv coding.

In contrast, the zip command (also present in Mac OS X, at least in Mountain Lion) uses a different algorithm. If a publisher is expecting a zip-compressed file, a file compressed with compress is something different, and will not work for this.


Making a full image of an installed system

I think this is what you are meaning.

In terminal type in sudo dd if="/dev/disk0" of="/volumes/<volume>/image.img"

Warning

Entering this command wrong could render your computer useless.

Info

disk0 is the hard drive of your Mac and <volume> is the name of your external drive and image.img is the name of the file you will create

To restore go to internet recovery and swap the if and of arguments.

This will also backup any partitions you have on your computer. This means if you have boot camp setup it will also backup and restore windows too. Bonus!

Disclaimer
I am not responsible for any damage that you cause to your system when entering in this command. Research the use of the dd command if you are not sure how this works before proceeding.


Can you turn off Messages and still get iMessages from others?

You can disable which app is using the most data instead. Some apps download data for updates, etc. For sure it's not the Messages app.

And for the Messages app, there's just an option to send an iMessage as a text message when cellular data is not available.

To know more, check this link from Apple.


stop iOS contact importing contact info from mail footers

It's not available per-account, but the setting is adjusted in iOS 10 in Settings > Contacts. At the bottom of the list is a toggle for Contacts Found in Apps and that's what controls this pseudo-importing.


Prevent guest from reading an external hard drive

Why not just encrypt the drive?

https://www.howtogeek.com/184675/how-to-encrypt-your-macs-system-drive-removable-devices-and-individual-files/amp/

Encrypt Removable Devices

Mac OS X allows you to encrypt an entire drive, like a USB drive or external hard drive. The contents of the drive will be encrypted with a passphrase you choose and no one will be able to access them without that passphrase. It functions like BitLocker To Go on Enterprise editions of Windows, but it’s available to all Mac users.

To encrypt a drive, simply open the Finder and connect the drive to your Mac. Ctrl+click or right-click the drive in the Finder sidebar and select the Encrypt “Drive Name” option.

The disk will be encrypted once you enter your password of choice — be sure to use a secure one! You may have to wait several minutes for the contents of your disk to be encrypted, depending on the size of your drive and its speed.

Don’t lose your password! If you do, you won’t be able to access any files on the encrypted drive.


MacBook keeps losing internet, while Wi-Fi is connected (Bluetooth, 5Ghz)

Looking at your WiFi report, I would say it is not very good overall.

When RSSI reaches 72 the OSX WiFi will try to switch to next best (on your WiFI list).

Yours is at 70 which is not good at all.

Your Tx Rate is also very low (Slow)

Resulting MCS index is to low (2)

Here is an example of excellent WiFi.

Clean (remove) WiFi stations on your list.

Reorder the order of WiFi AP's on your list (drag up or down)

Further improvement to the RSSI can be achieved by switching the Chanel (to avoid overcrowding from other WiFi on same channel.)

You can run this in Terminal that will show last 24 hours of why the WiFi was disconnected.

log show --predicate '(processImagePath contains "kernel") && (eventMessage contains "AirPort: Link Down")' --style syslog --last 1d

Important to know. The AirPort will keep the WiFi information on for some time (making you believe it is connected) before correcting that.


How to stop sound output switching to a monitor when it gets plugged in?

I have multiple devices I connect to my mac and for some they had the same issue.

The work around (or actual fix) is to open 'Audio MIDI setup' in your Applications>Utility and:

Click + in the lower left corner.
Click Create Aggregate Device
Turn off/on the inputs/outputs sound based on needs.


How to output sound through HDMI adapter (late 2008 Macbook)?

There are Mini DisplayPort / USB to HDMI adaptors. The Mini DisplayPort provides the video and the USB supplies the sound.

For example:

newertechnology
Monoprice
StarTech


What does the red 1! msg mean in the Byobu status panel?

Byobu checks for updates on macOS using this script:

# Mac OSX
# check if any new versions have been installed since
# we last cached. this may not recognize formulae
# installed with HEAD
for f in $(brew --prefix)/Cellar/*; do
    [ "$f" -nt "$mycache" ] && return 0
done
# nothing new has been installed, so check wether the
# formulae database was updated
[ "$(brew --prefix)/Library/Formula" -nt "$mycache" ]


From the command-line, how can I set all accounts to Available in all Messages.app

Executing this applescript all your account will be in available status:

tell application "System Events"
    tell process "Messages"
        tell menu bar 1
            tell menu bar item "Messages"
                tell menu "Messages"
                    tell menu item "My Status"
                        tell menu "My Status"
                            click menu item "Available"
                        end tell
                    end tell
                end tell
            end tell
        end tell
    end tell
end tell

You can save it as ~/turn_available.scpt and execute in the terminal with this command:

osascript ~/turn_available.scpt


Com.apple.finder.plist is missing and isn't being made automatically

The finder.plist isn't in /Library, it's in
~/Library/Preferences/com.apple.finder.plist
That would be why you couldn't find it.

Quick way to get there…
From Finder
 Cmd ⌘   N  for New Window
 Cmd ⌘   Shift ⇧   G  for Go To…
Copy/paste ~/Library/Preferences/com.apple.finder.plist including the tilde ~
Hit  Enter ⌅

I'd also consider clearing the Saved Sate at
~/Library/Saved Application State/com.apple.finder.savedState
It's safe to delete the entire folder contents - data, window etc.


Command + C does not always work on first try on MacOS

I think it's possible for Apple's Continuity Universal Clipboard feature to cause something like this, depending on the quality of the signal connection with any nearby iOS devices.

Perhaps try turning off "Allow Handoff between this Mac and your iCloud devices" in System Preferences > General and see if that helps.


iOS iTunes Store app changed podcast page formatting

The iTunes Store app uses a web view, so Apple can update the how the app looks remotely without touching your phone.

Since all podcasts are free, there's no need for it to look the same as the music purchases. Tapping the podcast title should still work to play it.


Open a file from the command line with a specified application path

Execute the command-line as per the following syntax:

open [-a application_path] file_path

i.e.

open -a /path/to/chosen_app.app file.txt.


Do cheap iPad Lightning to USB camera adapters work?

The reason the adapters from apple have such a high price is because the product have a chip inside that will make sure the product keeps working. Cheaper product often don't have such a chip. It is possible that those products work, but they can stop working at a random time.

There are products from other companies that are also supported by apple because they pay a licence to develop such products.

Every product that has the "made for iPod, iPad and iPhone" logo on it's cover are supported by apple.


Mac mini incompatibility with HDMI to VGA

I understood is that from HDMI to VGA, it does not send a signal since it is analog and it does not work.

No.  HDMI sends a signal, but as you've already noted, one is digital and the other is analog.  The signal is there, but it may not be sufficient enough to be detected.

My question is could I go from HDMI to DVI, then from DVI to VGA; would it work?

No, I don't advise this at all (note:  it may "work," but it won't be reliable). A general rule is more conversions = more points of failure.   You are better off making a single conversion:  HDMI → VGA.  Less complexity = better reliability.
Your best bet is to get an active HDMI to VGA adapter.
The key to getting a reliable signal is using an active adapter. (The above link described a similar question regarding a Mac mini as well).   The difference between an active and a passive adapter is that the former recreates the actual signal whereas the latter only "reorganizes" the pins outs.


Since you are developing - fire up Instruments and use it to profile Xcode.

You'll need to determine if storage/io is the cause of the slowdown or if it's CPU or if it's network.

From there, you can ask a follow on question once you have some data on the problem. My guess is Xcode could be downloading the new documentation - check for intalld/active network downloads. Or it could be symbolicating crash logs from all connected devices, or downloading symbol tables from connected devices, or running a sandbox, or ...

Basically, since Xcode is so large a tool, it's hard to know what subsystem you are even using without some data.

FWIW - here's a properly behaving, no simulator running, a dozen other apps running, Xcode done installing documentation Xcode using a hundred meg of RAM while open.

The Mac in question is up 3 days and has has a lot of mongodb and VirtualBox linux VM running which make the kernel larger than it would be at boot, but even that isn't causing any sort of memory pressure.


How to delete emails instead of archiving them on iPhone & iPad?

Simply go to Settings -> Mail, Contacts, Calendars -> Your Gmail Account and turn "Archive Messages" to "Off".


You could try recreating your Safari Preferences plist:

Quit Safari.
Open Finder -> Library -> Preferences
Move com.apple.Safari.plist to your Desktop.
Open Safari.


cp from shell (Terminal) or Finder: "Operation not supported"

It turned out that the problem was actually an existing /etc/nsmb.conf. When this was removed the SMB client behavior returned to normal in this regard. Within it, the previous user had defined:
[default]
signing_required=no
protocol_vers_map=1


Sound not working on MacBook Air mute box is checked and greyed out

Devon, I did some investigating on the apple support site and found this.

1) Delete both files in YourHardDrive->Library->Preferences->Audio -> (both .plist files in this folder)
com.apple.audio.DeviceSettings.plist
com.apple.audio.SystemSettings.plist

2) Make sure to empty your trash.

3) Reboot

Let us know if this works!

Apple Support Reference: https://discussions.apple.com/message/23538716#23538716


How can I type a Grave Accent (`) on the iPad’s Virtual Keyboard?

When using the virtual keyboard, tap the  .?123, the press and hold ‘ (apostrophe).  The key will expand out, just select ` (grave accent).  It will be last character in the list that pops up.


In general "entangling" means that you're somehow "mixing" two components into one. This can be done in a number of ways.
In this specific instance what happens is that the UID and passcode are entangled by using an AES encryption algorithm. The UID is as the key for the AES encryption, and the passcode is used as the clear text. The cipher text is then the entangled data.
In order to create the entangled data, you'll need both the UID and the passcode.
The reason why this must happen on device is that the UID is a unique number that is "fused" into the CPU (i.e. each CPU has a different number, and it cannot be changed after the fact) - and that number is not accessible by software directly. However software can ask the CPU to encrypt data with the AES algorithm using the UID as the key - the software can then get the cipher text without ever knowing the UID.
As an added complexity, Apple actually uses a key derivation function known as PBKDF2 where additional computation is needed to go from the starting data to the actual data used as an encryption key. Apple is using 80 rounds (basically "loops" of a computation processes). The purpose of this is to make it slow (i.e. use a lot of CPU time) to come from a pass code (which we're trying to brute force) to the encryption key - even when you have access to the CPU with the UID inside it. Making it slow means that brute forcing takes a lot longer than otherwise, hopefully making it infeasible.


This is a software issue. What I suggest is backing up your iPhone with iCloud backup (Settings -> Your Name -> iCloud -> iCloud Backup -> Backup Now - Unless it has already recently backed up), then make sure you get your wifi password and Apple ID password.

***If your Apple account sends you verification codes all of the time you need to add another number to your account in Settings -> Your name (or iCloud) -> Password & Security -> Edit to add trusted phone number (you wont be able to get the code when you sign back in)>.

After you've backed up. Sign out of iCloud, erase the iPhone (Settings -> General -> Reset -> Erase all Content And Settings) and then set up the phone, but restore from the iCloud backup. You'll need wifi, Apple ID account login (and a verification code from another trusted number if your account sends you verification codes). Once thats done the phone will look the same, messages, apps, photos, notes, calendar events, etc.

After that, then try to update your Apps.


Can I change which external monitor is considered the "secondary" monitor?

I don't know how this applies to the mapping. But you can define what is your primary monitor by going to display prederencey and moveing the little menu bar to the display of choice


rEFInd boot macOS from Recovery HD fails. How do I get rEFind to boot MacOS recovery sucessfully?

Had the same problem with a machine using el Capitan & Core storage.  Booting from a refind 0.10.4 USB, then selecting the small Recovery icon, does work.  Whereas refind installed onto the mac's internal HDD will not boot the recovery partition. Command-R no longer works either.


Applescript to send email messages to the persons with specific in interest and with at least one email address

You did not include the replaceName(mailBody, theName) handler, so I could not test the full script, however to fix the current error you need to modify the existing code.

Change:

repeat with i from 1 to number of items in theRecipients
    set theContact to item i of theRecipients
    set theName to name of theContact
    set theEmail to email of theContact

To:

repeat with i from 1 to number of items in theRecipients
    set theContact to item i of theRecipients
    tell application "Contacts"
        set theName to name of theContact
        set theEmail to value of email of theContact
    end tell


You could always simply view the "Gmail/All Mail" folder.

Inside Mail on your iPad, go to Mailboxes-> Gmail (under accounts) -> All Mail.

You'll see messages you've sent as well.  If Gmail is your only mail account, simply stay in the All Mail folder all the time.


You have to put them in the ~/.ssh/
OS X uses the same OpenSSH package as every other unix.
Make sure you have set correct permissions, or ssh will not accept your keys

drwx------   5 user  staff   170 May 28 20:14 ./
-rw-------   1 user  staff  1679 May 19 14:19 id_rsa
-rw-r--r--@  1 user  staff   400 May 19 14:19 id_rsa.pub
-rw-r--r--   1 user  staff  6380 May 31 03:09 known_hosts


Installed a new LCD screen on iPod but concerned to charge

Nobody can answer that with 100% certainty.

We do not know your workmanship skills, and if you made any errors.

You could charge the battery without the screen connected. Using the Computer to charge it is safer anyway since the current from computer is limited and less then from the charger for what ever is it worth.


Time Machine Backups Gets Stuck With 100% CPU via tmutil

I had a feeling I might have posted this too soon; just had Time Machine's normal backup do the same thing.

However, the culprit I discovered was that somehow I had a .inprogress backup that was older than the most recent backup (in fact there'd been five or six successful backups since). No idea how it got there, but sudo tmutil delete <path to .inprogress file> solved the problem.

I'm not sure if I'll mark this as the correct answer or not, as I still have no idea how I ended up with a leftover .inprogress file, or why it only started causing problems when it did, or why it didn't always affect automatic backups…


You can change the association of an extension using RCDefaultApp. However, it is no longer supported & in the past year the original site has vanished. It was already ancient, but has worked since about 2004 without change.
It does still work for certain in Mojave, possibly Catalina, but as far as I'm aware, not Big Sur.
You can get it from file sites like CNet, MacUpdate, Softpedia etc
There's a modern replacement for RCDefaultApp called SwiftDefaultApps but it doesn't do Extensions.
tbh, your choice of extension was unfortunate. Macs reserve certain extensions to make into virtual packages; Logic is one of them. It doesn't rely on you having the app installed, it's right down at system level, as a known extension.  In effect it's the same as calling a folder company.project.app or company.project.zip & wondering why it misbehaves.
As a workaround you could right-click > Show Package Contents, but you'd have to do this every time.


On Lion, you can use tmutil to clean things up properly.

To delete backups one by one (snapshot by snapshot).

sudo tmutil delete /Volumes/drive_name/Backups.backupdb/mac_name/YYYY-MM-DD-hhmmss

If you are sure you have selected the correct path, you can delete all backups from that one Mac by not passing in the time and letting it delete the entire folder:

sudo tmutil delete /Volumes/drive_name/Backups.backupdb/mac_name

The sudo command needs your password (and it won't echo to the screen, so just type it and pause to be sure you're dating the correct files before pressing enter).


Why does OS X format MS-DOS filesystems so much faster than Windows does?

The format process can be handled differently depending on what the OS actually accomplish by during the format.

Formatting should leave a clean and cleared file system. This can be done very fast by only clearing the file allocation table (FAT). This means writing to a very limited blocks /sectors on the disk.

Alternatively formatting may include clearing all the data previously on the disk/drive. This obviously involves writing to ALL of the disk and is a lot more time consuming.

Windows have the "fast" option and Mac OS X also has the "slow" option - OS X even has options to multi-wipe data with random garbage data (this usually takes forever).


How to tie "Primary" and "Secondary" monitor spaces?

I have intentionally blurred the window contents; no need to clean your glasses ;)

Disable "Displays have different spaces", that will make them move as coherent pairs. Additionally disabling 'auto rearrange based on recent' will make the numbering stick.

So - this is 2 monitors, 7 spaces. Each 'Space' covers the pair of screens & their contents. Changing Space changes both monitors simultaneously.
The 'reappearing window' top right is Activity Monitor, which is set to be on all Spaces. Everything else lives on its own Space & only appears when I switch to that Space.
The gif is a 'live' movie of me using the keyboard to call each Space in sequence, then back to the first [then the gif cycles & you see the movie title again]


Use another MacBook as extended display via Thunderbolt 2 cable?

ScreenRecycler enables you to use your MBP 2013 as an additional display for your MBP 2015 laptop. It's not very expensive (about $30).

Both computers need to be connected together through the local network (can be either Ethernet or WiFi, or maybe even a Thunderbolt Cable if you really want that).

The MBP 2013 needs to be running Mac OS X 10.8, 10.9, or 10.10 (because ScreenRecycler is not compatible with 10.11 and newer).


What you want to do is enable iCloud Photo Library on all devices, and then disable photo stream (or at least optimise storage) on your mobile devices. iCloud Photo Library is the actual cloud storage, while Photo Stream is just syncing between your devices (and not the cloud).

Note that Photo Stream only keeps your last 1000 items downloaded on a device. Photo Stream provides no backup if you lose all devices at the same time (if you carry them all with you and something happens).


Is Control Center the only place where one can find the AirPlay button?

Yes.
It's the only place where the AirPlay Mirroring options can be accessed. Of course, AirPlay can also be accessed from the the player controls while playing a movie.


Depending how many Folders/Files you have it is sometimes not possible to show all to fit in the screen.

You could try to reduce the Icon size (the slider at bottom right of the Finder widow), that helps to see more (or sometimes all) while loosing Icon clarity.


How can I prepare for Apple WWDC 2018 event live broadcast and rebroadcast?

To prepare for 2018 WWDC I would recommend three things:

AppleTV and updating it now for the Live Stream and Rebroadcast of the main presentation in the morning and afternoon of the first day. These keynote events are highly viewed and usually available for on-demand viewing and professionally produced.
WWDC app on the App Store is also very good if you are a registered developer as you can watch many of the sessions live and should expect to be able to rebroadcast.
Safari web browser is the third best option - in past years -there were not any sort of YouTube or third party browsers.

As to why these three avenues were selected last year is that the sessions under developer NDA require authentication with an AppleID. Also, on a technical level - the streaming used the latest QuickTime codecs for presumable efficiency, quality. Also, there would be marketing synergies of potential value to Apple by using their own technology for a high stakes  / high pressure / high expectations and in demand public event.

Hopefully this helps people prepare for the 2018 remote viewing of the sessions at this year's developer conference.

—-

As a postscript - the WWDC app is showing the live stream on rebroadcast within hours of the main event completing.


In the US - all iPads (including the mini) are unlocked, pay as you please, no contract devices. The two models of mini are A1454 and A1455 with similar GSM 3G coverage:

Model A1454

GSM/EDGE (850, 900, 1800, 1900 MHz)
UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz)
LTE (Bands 4 and 17)

Model A1455

CDMA EV-DO Rev. A and Rev. B (800, 1900, 2100 MHz)
GSM/EDGE (850, 900, 1800, 1900 MHz)
UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz)
LTE (Bands 1, 3, 5, 13, 25)

http://www.apple.com/ipad-mini/specs/

Accordingly, you can pick whether want to optimize your LTE future bands (or travel bands) or choose a CDMA+GSM model or the GSM only model. Since there are very few countries with CDMA coverage out side the USA, most people end up shopping the AT&T model 1454 - but curiously, the CDMA model 1455 matches many foreign LTE deployments and plans, so it's a bit of a tradeoff which any one person might prefer world wide.


Lost keyboard shortcut for beginning-of-line/end-of-line

I remember having the same problem in some apps after upgrading to Lion. A reboot fixed it for me.

Workaround: use Ctrl+A (instead of ⌘+←) to move the cursor to the beginning of the line and Ctrl+E to move the cursor to the end of the line (instead of ⌘+→). This works in all Cocoa-based applications.


Album covers getting mixed up on phone from iTunes

I had the same problem. Twice... You will most probably have to remove and then re-sync your music.

Attach your iPhone and go to the music section. Remove the check mark to sync music. Your selections will stay intact for later re-sync. Sync your phone. When finished all music should be gone from the phone. Now re-check the mark for syncing music and do the sync.

This fixed the messed up covers for me.


How can I stop iTunes uploading my tracks from my iPhone 6s to iCloud?

From my reading of your question, there's actually three separate things you're trying to achieve and/or concerned about.

Email and Calendar

Keeping your email and calendar synced is an iCloud setting. To ensure these are up to date, go to Settings > iCloud and ensure that both Mail and Calendar are toggled on.

Music

If your music is uploading to the cloud then you must have iCloud Music Library enabled, so you would need to disable this. To do this, go to Settings > Music and ensure that iCloud Music Library is off.

NOTE: You should be aware that this will mean you won't be able to access songs, albums and playlists from Apple Music. However, if the only reason you're wanting to stop this is out of concern for your data allowance and patchy 3G/4G reception, then refer to Mobile Data below.

Mobile Data

You can actually leave your iCloud Music Library enabled, but restrict all syncing to WiFi networks instead. You can do this by going to Settings > Music > Mobile Data and selecting what options you want enabled/disabled.


No, because iOS 7 requires iTunes version 11 for syncing media (and firmware updates).


How to make external display go to sleep after xx mins?

As a first step I would reset both your NVRAM and SMC, as well as double check your Energy Saver settings.

Resetting the NVRAM on an early-2016 12" MacBook model

Follow these steps:

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

Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Resetting the SMC on an early-2016 12" MacBook model

Shut down your computer
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button
Let go
Turn your computer back on with the power button.

Energy Saver Settings

You don't specify in your question how you've configured your Energy Saver settings, but you may want to double-check what you've actually set under the Power Adapter tab. I've come across many instances where MacBook users forget that there's two tabs you can configure.


Forgotten iPhone 5S password, but the password is stored in notes

You can access Notes on icloud.com and on any 10.9 Mac that was synced to your iCloud account.


Safari 8.0 web process at 100% CPU every time I start Safari after resuming from sleep

Sorry it's not a solution, but just to reassure you that you're not going mad: I have the exact same problem, different URL, but similarly old and unvisited - it's not even an open tab or within top-sites.

However, as well as peaking at 98% CPU usage, I also eventually get  the red error notice in Activity Monitor 'Safari Web content (not responding)' and everything slows down - although Safari is mostly still usable.

I've tried disabling extensions and iCloud sync. Even restarting doesn't remove the old URL.


How to permanently delete pictures from all devices in Apple ecosystem?

The answer to your question in the title is one thing, but then there's the question within your post:

  Is there any way for me to be certain of that?

For all practical purposes that question can really only be answered as a no. To be clear, you can never be 100% certain.

However, the closest you can get (without him losing all his other data*) is to arrange a get together with him at his home (without any indication as to why) and then be there with him as he:

On his Mac

logs into his Mac and shows you the photos in the Photos app and, while doing so, make a note of some of the filenames of those photos and videos and then sit there as he deletes all of the items you want deleted
shows you his Photos app preferences by going to Photos > Preferences and pay particular attention as to what, if anything, is enabled in terms of iCloud and then disable these
goes into Finder and empties the Trash (or Bin, depending on version of macOS)
also in Finder, get him to press the command + shift + . keys at the same time so that hidden files are visible and then use commandF to search his Mac for the filenames you made note of at Step 1 to see if any had been saved elsewhere and, if so, get him to go to those locations and delete them all before emptying the Trash again
shows you what other user accounts he has on his Mac (this is done by going to Apple > System Preferences > Users & Groups) and, if he has other accounts, getting him to:

log into each of them and show you what is in the Photos app (if anything) and repeat the first four steps above

On his iPhones/iPads

deletes the photos from all his iPhones, iPads etc (including the Recently Deleted album afterwards), and making sure you check any albums he has created (incl. Shared Albums) and checking what, if anything, is in the Hidden album (located at the very bottom of the Albums page just above Recently Deleted
Opens the Setting app on each of his iPhones and taps on his name at top so you can:

see the iCloud email account listed under his name and make a note of these
tap on the iCloud icon and then on the Photos option to see what options are enabled and disable anything that may be a concern (Note: Photo Stream only uploads photos from the last 30 days, so if you haven't done anything in that period you need not be worried about this option)

Back on his Mac

goes back to his Mac and uses Safari (or another web browser) to go to icloud.com to log into each of the iCloud accounts you made note of at Step 7 and:

tapping on Photos to check what photos, if any, are stored there that you need him to delete
tapping on iCloud Drive to check what files, if any, are stored there that you need him to delete

shows you his Time Machine settings at Apple > System Preferences > Time Machine and look to see if a backup has ever been made (e.g. does it list a drive and show the dates of his oldest and latest backups). If he has been using Time Machine, make a note of any drive names listed and get him to

disable Time Machine
use Disk Utility to erase his Time Machine backup drives

shows you his macOS version by going to Apple > About This Mac. If:

it shows macOS Catalina, skip to Step 11
otherwise, get him to open up iTunes and then go to iTunes > Preferences > Devices and delete any backups that are listed and to repeat this for each user account on his Mac

get him to connect his iPhone to his Mac and then:

open up a Finder window and select his iPhone from the list of devices listed in the Sidebar
select the General tab to make the Backups section visible
click on Manage Backups and then proceed to delete any iPhone backups on his computer
repeat these steps for each device and user account on his Mac

IMPORTANT

There are a lot of things to consider, so it's highly likely that I will have missed something in the steps above
Assuming your friend will agree to doing all of the above (and that's a big assumption), this is still no guarantee that all of these photos/videos will be gone. There is no way for you to  verify that he has never made copies of them on other devices (e.g. USB sticks, Dropbox, etc) or even within other apps on his iPhone, Mac, etc.
There is also no guarantee that he will not try to use data recovery software to recover items from his external drives.

* That is, it is not realistic to expect him to take more extreme measures to give you this certainty as it would involve him losing all his data


On the apple forum it states from Sept. 24th that the news app is only available in the US.
Maybe the phone of your brother has a US iTunes store account or was bought there?

Source:
https://discussions.apple.com/thread/7236616


iOS 11 & Apple Maps: Hide Search Box in Landscape Orientation

I have this same issue. I have no solution, but believe this is a software issue that is exclusive to "narrow" iPhones (i.e., anything but the Plus) running iOS 11.

I have been using both an iPhone 8 Plus and an iPhone X for the past week, and have noticed this issue only exists on the X. On the 8 Plus, I am easily able to close the search box in landscape mode. On the X, I cannot. I have tried deleting Maps and re-installing, but with no change. It's almost as if the bottom of the search box on the X runs off the bottom of the screen, and that's the problem.

I've also tried a friend's 8, and an old 6, but running iOS 11, and both devices have the same issue -- can't close the search box in landscape mode. However, trying this on an iPhone 5 running iOS 10, and it's not an issue (in landscape mode, the box remains to the bottom of the screen, not the side, and compresses to the bottom).

It would be useful to hear from (1) people running iPhone SE or 5S using iOS 11 and (2) people running a 6/6S/7 under iOS 10 and see if this is an issue, to confirm my hypothesis.


Unable to delete/resize partition with DiskUtility

The pie chart used by the Disk Utility application can give an user the impression that partitions are stored in some sort of circular fashion. Actually, partitions are store linearly. The output from the command diskutil list will shows this. Also, this output will show partitions that can be hidden when viewing the contents of a drive with the Disk Utility application. Most likely your drive is arranged with the Backup HD partition occurring before the EXT HD partition. In this case, macOS offers no effective way to merge the space from the Backup HD partition into the EXT HD partition. One solution would be to backup the data on the EXT HD partition, create one large partition, then restore from the backup.
There exists third party tools which can do what you are asking in your question, but before using such a tool, you should backup your data. However, once backed up there is no need to use the third party tool.


How might I make a shortcut for switching my macbook into airplay screensharing mode with my apple tv?

You mean the Available AirPlay Display icon that's on the menubar allowing you to opt to AirPlay whatever is on your screen to an Apple TV? It looks like a rectangle with an arrow at the bottom that is pointing upward. If you don't see it on the menubar, go into Display Preferences in System Preferences and toggle the option on.


allow program to run on guest account mac

Go to System Preferences > Parental Controls. There you will see a tab for Apps. From there you select "Limit Applications" if the app you want came from the Mac App Store then look under that triangle for the application and highlight it.

If it was from another source then it will be listed under one of the three other categories.

Select the appropriate app(s) until you are happy with the results and then close the lock on the lower right side.


How do I transfer all the contents of a file based on a criteria to another folder?

In Terminal
mkdir -p path/to/target/{0,5,10}
cd path/to/Frames
mv */*/0/* path/to/target/0/
mv */*/5/* path/to/target/5/
mv */*/10/* path/to/target/10/

PS: Use mv -i to get prompted in case of identically named files.


Hibernate MacBook on 10-ish % power instead of 0/1% when running on battery?

http://www.jinx.de/SmartSleep.html will let you control it via GUI. The app is $6 on his website or $4 on the Mac App Store.

  (Note: I have no idea how this app ever got approved for the Mac App Store, but it appears that Apple is stone-walling the developer on approving a Lion-compatible update. This seems to be Apple's passive-aggressive way of getting apps out of the Mac App Store after they were approved: they don't want to upset people by yanking the app, so they just won't approve an update and eventually it either breaks and the developer pulls the app because they are getting so many support requests, or people just stop buying it. When the sandboxing rules hit in November, we may see apps start disappearing from the Mac App Store. All of which is to say that if I was going to buy this app, I'd buy it through his website even though it's $2 more. There's a demo available, although the "request a trial" button didn't work for me, I assume it's a temporary glitch that the developer can fix. It also appears that Mac App Store customers can download the version from his website and use that, so if those $2 are really important to you, I guess you could try that.)

If you'd rather spend time than money, http://tidbits.com/article/9115 has a script that might help.


Need to create a common workspace between two macs connected wirelessly in a network

It might be worth your time to learn how to handle the "ownership issues and stuff".

I do not have a definitive answer, but it is possible to attach an external hard drive to a Mac and to instruct the OS of that Mac to ignore all file permissions/privileges on that external hard drive. If those files and folders on that external hard drive are then shared over the network, (I do not know for certain) it may be possible that another user on another Mac across the network might also access those files without regard to the permissions assigned to them by default.

Try this:

In the Finder, mount the external drive and choose File: Get Info. In the Info window, at the bottom, click on the Lock button, authenticate, and check the box next to "Ignore ownership on this volume".

While we are examining this, here is how to give your coworker full privileges to access a shared folder or volume that is on your Mac or attached to it.

Under System Preferences: Sharing, enable File Sharing and add that specific volume to the Shared Folders list using the plus button under Shared Folders: For good measure, manually add your co-worker's name and password under Users: and give them Read & Write privileges.

Finally, there is a freeware graphical utility that you can use to change all file permissions on a file or folder without needing to use the command line or the Finder's Get Info windows. It is called BatChmod. However, using it can have unintended consequences if you do not have a good understanding of how Mac permissions work. Use this utility carefully and avoid using it on the contents of entire folders if you are uncertain as to what you are doing.


Notes not opening on OSX El Capitan 10.11.16 on MacBook Pro

Go to System Preferences -> Internet Accounts and see if you have any old email accounts there. If you do, then delete them.

Also, you could go to System Preferences -> iCloud, and try to switch Notes off and then on again.


Is there a way the be alerted of changes to a shared iCal calendar?

When viewing your calendars at iCloud.com, click the "shared calendar info" button next to the calendar of interest (Button is white for unshared calendars, green for shared). In the new window, check the "email me when this calendar is changed" box.

Now, whenever someone else updates the calendar you will get an email with the change.


How to play all songs I own by an artist in itunes?

tap on Songs
tap on Sort - sort by Artist


Inconsistent access to Bonjour services on sleeping devices

I eventually tracked this down to the behaviour of one of my Powerline adapters, specifically a TP-Link TL-WPA4220. For whatever reason, multicast traffic does not appear to correctly pass through the WiFi on this device, even with the latest firmware.

TP-Link have a related technical note on this, but it doesn't seem to apply to my particular device. In the meantime, I've just left the WiFi turned off on this adapter (still using it for two wired devices, including the 3rd gen Apple TV), and things seem to be working better again.


You do not need to disable System Integrity Protection (SIP).

To delete the News app, do the following:

Backup News.app with via Time Machine or making a Zip archive.

For the Zip archive, right-click it and select: Compress "News"

Shutdown your Mac.
Boot to Recovery Mode. Press ⌘R when starting your Mac.
Open Terminal from the Utilities menu.
Run the following compound command adjusting Macintosh HD as necessary if you've modified the default name of the primary startup volume:

rm -r "/Volumes/Macintosh HD/Applications/News.app"; reboot

After rebooting from Recovery Mode, if you still have the News icon on the Dock, right-click it and select: Options > Remove from Dock

Note that while this does remove the News.app, it may/will reappear when macOS is updated/upgraded and will need to be deleted again.

If after having done this and you want to restore the News app, then restore it using Time Machine, if you backed it up in that manner, or if you created the Zip archive, it would have been created in the /Applications folder, if you moved it elsewhere, move it back and then do the following:

Shutdown your Mac.
Boot to Recovery Mode. Press ⌘R when starting your Mac.
Open Terminal from the Utilities menu.
Run the following compound command adjusting Macintosh HD as necessary if you've modified the default name of the primary startup volume:

cd "/Volumes/Macintosh HD/Applications"; ../usr/bin/unzip News.zip; reboot


copy song info from mp3 file to aac file from terminal

I prefer the mutagen Python library for tag editing, since it has good support for a wide variety of formats with a consistent interface. Here’s a script for copying the metadata of a file:

import mutagen
import mutagen.easyid3
old = mutagen.easyid3.EasyID3('example.mp3')
new = mutagen.File('example.m4a')
new.update(old)
new.save()

You can open any file with mutagen.File, but that gives you raw access to the coded ID3 tags like 'TPE1', instead of human-readable tags like 'artist', so EasyID3 is used instead.


Upgrading a 2008 Mac Pro 3,1 2.8 GHz dual quad CPU to the newer 4GHz CPU

Nope! As Intel releases new processors, they also release new processor sockets, so the new processors, besides not being supported by the computer, literally won't fit in the computer.

The highest upgrade you'll be able to do is something from the same product line. The highest processor in that line is the X5492, which clocks in at 3.40 GHz. According to this Apple forum, these processors will work, although your fan speed may increase.

If you have never replaced a CPU before, ask someone who has for help and watch some tutorial videos, or take it in to somewhere to get it done for you. As someone who recently completed their first processor replacement, I can testify that forums and videos will be essential to a successful upgrade. Good luck!


What is the keyboard shortcut to insert text in Preview

⌃⌘T is the shortcut for text annotation (Tools → Annotate → Text).


Every time I try to empty my recycling bin it gets stuck

What's in the trash? Are you sure it's all stuff that can/should be deleted? If so...

Try right-clicking the trash icon, hold the option key, and then click Empty Trash. This should attempt to force-empty the trash.

If that doesn't work, open the Terminal and enter sudo rm -rf ~/.Trash/*. The command rm -rf is a dangerous one since it will immediately delete anything without worrying about what it is. In the case of emptying the trash, that's what you want. I suggest you use copy-and-paste to enter the command if you're not used to using it, just to make sure you don't instantly delete anything other than what's in the trash.


Per-App VPN for a third-party app: possible? How?

You can find the DesignatedRequirement and SigningIdentifier like this:

Start by installing the app on a device. On your Mac make sure you have the app downloaded in iTunes as well. In the folder "~/Music/Itunes/Mobile Applications/" you'll now find an .ipa file for you app.

Assuming that the app you want to target is "SomeApp" then copy SomeApp.ipa from that folder to a temporary folder. Rename the file and change the file extension from .ipa to .zip. Double-click to unzip the file. When unzipped you'll find that you have a folder named "Payload" in which a "SomeApp.app" folder exists.

Open a Terminal window and cd to the temporary folder. Run the following command:

codesign -d -r- "Payload/SomeApp.app"

This command will output the designated requirement ("anchor apple generic...").

Then run the following command:

codesign --display --verbose=1 "Payload/SomeApp.app"

This command will output a line starting with "Identifier=". The rest of the line is the SigningIdentifier.

Note that you mention the "App to Per App VPN" section of the linked manual - this specific payload is only supported on macOS. On iOS you do the same thing by sending the Settings command with an ApplicationAttributes entry over the MDM protocol.


What's the difference between one finger dragging and drag lock?

I believe I figured out the difference:

Dragging:

Double tap and hold to begin dragging.
Release the mouse.
Depending on the amount of time that has passed, moving the mouse will do one of the following:

Brief delay: moving the mouse continues the dragging, essentially behaving the exact same way as drag lock. The cycle is then repeated once you release your finger.
Longer delay: dragging is stopped.

Dragging & Drag Lock:

Double tap and hold to begin dragging.
Release the mouse.
Moving the mouse will continue dragging.
Tap once to stop the dragging.

It's that brief delay that was throwing me off. There doesn't seem to be any way to customize the length of this delay. One thing that does help, though, is figuring out exactly how long this delay is. One method for figuring this out is the following:

Drag an icon from the dock a tiny bit so that if you were to release it, it wouldn't be deleted.
Release the mouse.
Observe how long it takes for the icon to move back to its place. That is the exact amount of minimum time that you should wait when you are finished dragging something.


How do I mount a sparsebundle to a folder rather than an image?

The hdiutil command-line utility gives you more flexibility, and is extensively documented in man hdiutil. Something like this should do:

hdiutil attach -mountpoint ~/myMountPoint mySparsebundle.dmg


Use the bundled USB-C cable with Target Mode

Yes - according to Apple:

Compared with Apple USB-C Charge Cable

The Apple USB-C Charge Cable is longer (2m) and also supports charging, but data-transfer speed is limited to 480Mbps (USB 2.0) and it doesn't support video. The Apple Thunderbolt 3 (USB-C) cable has Thunderbolt  logo on the sleeve of each connector. Either cable can be used with the Apple USB-C Power Adapter.

See here for reference.


How to make my app only on iPhone 4S and higher?

You can restrict your app to devices having certain capabilities.

In the Info.plist file add a new key UIRequiredDeviceCapabilities with an array as value. You can put all your required capabilities in the array. In this case bluetooth-le.


Wont let me backup iPod because not enough storage

Backup your iPod to your computer rather than iCloud. iTunes will do that for you, see the "Back up using iTunes" section here
http://support.apple.com/en-gb/HT203977

There are also third party tools that may help if iTunes fails. I used TouchCopy, and it worked well.
http://www.wideanglesoftware.com/touchcopy/


MacBook Pro only charges with smaller MagSafe 60W

Try to do a SMC and PRAM reset.

SMC, amongst others, controls power management of your Mac. From https://support.apple.com/en-us/HT201295:

  These symptoms might mean that an SMC reset is necessary:

  [...]
  The battery doesn't charge properly.


Can I get a notification on my iPhone when I receive a certain email?

It is not possible on your iPhone. I searched for a bit if there was a third party email application which had this feature.

If I where you I would look into IFTTT (If This Then That). I'm on my phone now so could not try if you could read body text from emails. But there is a trigger->action: Get a notification when you get a new email with a specific label.

I'm not a Gmail user, but I guess you can make rules.

Make a rule that looks for incoming mail and scan for the subject or text in body and apply that label to that new email message.
Make a trigger->action in IFTTT. Let IFTTT watch your Gmail for any new messages with that specific label. IFTTT wil send you a push notification.


How to use Jupyter Notebook with iCloud storage to read a data set?

If you haven't already, first setup iCloud Drive on your macOS.
Once iCloud Drive is enabled on your macOS, you can access it using the Finder. You can now copy files to iCloud drive as you usually do with any other folder or drive.
The iCloud drive path on macOS is:
~/Library/Mobile\ Documents/com~apple~CloudDocs/

So if you create a folder called dataset in iCloud drive, it's path will be
~/Library/Mobile\ Documents/com~apple~CloudDocs/dataset

You need to use this as the startup folder for your Jupyter notebook as described here - Access iCloud Drive in Jupyter Notebook.


How does (stereo) sound work with Thunderbolt displays?

Both displays show up as audio input and output devices on your Mac and you can pick one or the other to route audio in to from applications. You might be able to create an aggregate device out of them and use them as a four channel output source, but that would not turn out well sonically speaking. You can see it here.


Is it bad to use MacBook pro with battery every day.

There is no harm in running on battery most of the time.

To get the most out of your MacBook Pro's battery, follow the Notebook Battery advice from Apple: unplug and use your battery until empty about once a month, then charge back up to full.

If you need help following Apple's advice, use Battery Guardian; it is free and will remind you when to deplete your battery.


How can I add reminders via the command line?

Here's another version that allows you to set the title, end date and time via command line arguments.

#!/usr/bin/env bash
# Make a new reminder via terminal script
# args: remind <title> <date> <time>

osascript - "$1" "$2" "$3" <<END
on run argv
    set stringedAll to date (item 2 of argv & " " & item 3 of argv)
    tell application "Reminders"
        make new reminder with properties {name:item 1 of argv, due date:stringedAll}
    end tell
end run
END

So if you were to name this script "remind" and give it executing privileges (chmod 755 remind), you could do this:

$ ./remind "Go to grocery store" 12/15/2013 10:00:00PM


How can I check how many times an iPhone or iPad has been charged?

I have installed coconutbattery app for macOS. It gives this information and more for all the Apple devices that you connect (by cable, or WiFi for Pro version) on your Mac, both about battery, OS and charger.

After installing the app, connect your iPad/iPhone, launch the app, click on the iOS Device tab and look for value corresponding to Cycle Count.

Image Source: https://www.coconut-flavour.com/coconutbattery/assets/img/coconutbattery_364_ios_highsierra-compressor.png


How to always keep a local copy of documents/folder in iCloud?

If you sign out of iCloud, you will be given the option to keep a copy of your iCloud data on your Mac before signing out. Otherwise, the iCloud data will be removed from your Mac, but will still be available on other devices using iCloud.

The System Preferences has a iCloud pane. Next to the iCloud drive check box on this pane is an Options.. button. Clicking on the button produces a popup pane with an Optimize Mac Storage check box. If you uncheck Optimize Mac Storage, then all iCloud documents will be downloaded to your Mac. (Provided enough space is available.)

Normally, Optimize Mac Storage is checked off. This means the full contents of the iCloud drive will be stored on your Mac if you have enough space. Older Documents will be stored in iCloud when space is needed.


To install applications in Developer view of iPad

You can only install apps that you have built yourself in the Xcode emulator.

One reason is that the emulator runs x86 code whist production uses a ARM processor


You may want to set your status to Offline. Or remove Skype app from the running task list (double-tap on Home, switch into Skype area and swipe to the top to get rid of it).

If that won't work and it changes back to Online, this potentially could happen when you're logged into your account multiple times from different devices, so the statuses could be not in sync.

For workaround there are some cloud-based chat commands which allows you to see where you're logged in and you can logout from the remote sessions.

Create an empty conversation.
Type command in the message textbox:

/showplaces

  Lists other endpoints that can receive push notifications for calls and IMs for this Skype account.

If you want to logout from remote online endpoints, then execute:

/remotelogout

  Sign out all other instances except the current one. This will also stop push notifications on all other instances.

Other workaround could include changing your Skype password to make remote Skype clients sign out.


Remove past versions from Spotlight searches?

I ended up copying all of my documents (I didn't really have that many) out of iCloud to the local disk, and then deleting them from iCloud. The old versions were still showing up in Spotlight, so I added the entire drive to Spotlight's Privacy list to delete the index. Then I put the documents back into iCloud, removed the drive from the Privacy list, and let it sit for a few hours while it reindexed everything. After two days of usage everything seems to be working normally once again. Thanks to @bmike for the ideas.


How to sync mac mail app with only unarchived/recent gmail messages

You can't limit it to the last 50 messages, but you can limit it to the last 1000 messages in each "folder" (label).

Go to the Gmail website and click on the gear icon to the top-right side.
Click on Settings.
Click on the "Forwarding and IMAP/POP" tab across the top of the Settings area.
Towards the bottom of the IMAP section, change the "Folder Size Limit" setting to "Limit IMAP folders to contain no more than this many messages". By default 1000 is selected, though you can also choose 2000, 5000, or 10000.
Click Save Changes at the bottom.


The networksetup utility would be a good place to start. (networksetup -help)


How can I access a computer behind internet sharing?

I got it! I wrote a node.js script, like so, to redirect requests on port 8080 of the macbook to port 8080 of the raspberry pi. the pi's ip is 192.168.2.7.
the script:
var net = require('net');
net.createServer(function(socket) {
  var raspberrypi = net.connect(8080, '192.168.2.7');
  raspberrypi.on('connect', function() {
    raspberrypi.on('data', function(data) {
      socket.write(data);
    });
    socket.on('data', function(data) {
      raspberrypi.write(data);
    });
  });
}).listen(8080);


OK, why is my iPhone 5 now a super electromagnet?

I know you said Please don't tell me it is the speaker magnet, but I have opened a number of iPhone 5 phones and this is the only magnetic part within the whole iPhone 5 - so it can't be anything else.

And when you say I assure you it is not the speaker magnet, how do you know? What evidence do you have?

The reality is it can't be anything else. If you check this iPhone 5 teardown you'll see everything that's inside your iPhone 5. While some parts are magnetic in the sense that they will stick to a magnet, the only magnetic source is the speaker magnet.

Also, because the iPhone comes with a compass, it has been very carefully designed so that any magnetic fields do not interfere with that. In other words, Apple hasn't placed any unnecessary magnets in the phone except for the speaker magnet (which can't be avoided).

Finally, while I'm no medical expert, the concern around mobile phones has always been around the electrical signals they require to operate, not about magnets. If you're concerned you can use an appropriate case (if you haven't already got one) and/or use a bluetooth earpiece/headset for calls.


Updated to OS X Yosemite, everything has deleted

Since you can see your "stuff" it is still there but under another user.

Somehow you made a mistake and created a brand new User account with nothing in it so now you have 2 users on your computer each with they separate folders and files.

What you need to do is to log out of that user account (go to Apple icon top left and select log out).

Now you can log in in to your other user account.


Why does Google Chrome fail to draw tabs correctly when the Discrete graphics adapter is in use?

Not sure if this is still relevant to you but maybe this will help you:

MacBook Pro Repair Extension Program for Video Issues

Basically your GPU might be faulty and Apple will fix it for free.


I'd presume it'd be in /Applications or ~/Applications, the latter being within your home directory?

You can find where the process is by sampling it in Activity Monitor.

In Activity Monitor's CPU tab, find and select f.lux.
From the gear menu, choose Sample Process.

Observe the path to the process.


How to restore the iPhone as a new phone with the same OS version?

Settings > General > Reset > "Erase All Content and Settings"

Erase all content and settings - Apple Support


Siri does not recognize Apple Music on macOS

Make sure that you are using the same Apple ID.
From this Apple Support article:

Mac: From the menu bar at the top of your computer screen, choose iTunes > Preferences.
On the General tab, select iCloud Music Library to turn it on. You won’t see an option to turn on iCloud Music Library until you sign up for Apple Music or iTunes Match.
Click OK.


Terminal "open" any image results in "Preview quit unexpectedly"

There are a number of cache-type files that will clear most issues with Preview, if you delete them.  I've also heard of several similar issues arising out of ACL (Access Control Lists) being out of sync across your system.

First reset the ACL for your account, like this.  Use this as a more detailed reference as needed.  Just to remedy Preview.app  issues, You probably do not need to remove all the permissions on your account, so ignore their first step where they are using chmod in the terminal.  I would reccomend:

Restart the computer, and on the chime, hold down Cmd+R
At the top of the screen, chose "Utilities" --> "Terminal"
In Terminal type resetpassword (you can also use one of your old passwords)
Click on "Save"
Press "Reset" (just below), which resets the Access Control Lists.

Now login to your computer, and remove the Preview cache & preference files.  I've used this link as a reference to confirm the locations:

Open Finder and then navigate to your User Library by holding alt, and chosing from the "Go" menu at the top, "Library."  If you're confident with the terminal, of course you can also delete them that way.  For example:  cd $HOME/Library/ then rm -Rf [each file below].  Don't use terminal if you are not used to it!

clear the various caches and temporary files related to Preview by deleting:

'Containers/com.apple.Preview'
'Containers/com.apple.quicklook.ui.helper'
'Preferences/com.apple.Preview.LSSharedFileList.plist'
'Preferences/com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist'
'Saved Application State/com.apple.Preview.savedState'

DO NOT OPEN PREVIEW BEFORE LOGGING OUT WITHOUT PERSISTANCE AND RESTARTING.

Now, do a complete shutdown of your system, bring it back up.  This fixes most non-critical issues with Preview.app.  Make sure that when you shutdown, the box is not checked "remember my open programs."

If these steps do not solve the problem, assuming you are not running cracked or unauthorized software, you should reinstall OSX or seek professional help from an Authorized Apple Support center, because the problem is quite unusual and could be serious.


Run a command in terminal/iterm2 when an encrypted usb partition is mounted

Im not certain it will work for this, but I would suggest looking into AppleScript. I know you can use it to run Terminal commands, but I don't know if there is a way to detect when A flash drive is mounted.


UK numbers are all 11 digits, or country code plus 10 digits, omitting the leading zero.

so either
01234 567 890
or
+44 1234 567 890
[spaces only for legibility].

UK mobiles all start with 07 [or +44 7] - so the 'area code' is 07 nnn or +44 7 nnn

Just for extra information, adding your own country code to all domestic numbers does not affect call cost whilst in that territory, these days the systems are smart enough to figure it out.

00 international designations are only for dialling from landlines which can't use the + symbol.


Screen flash disabled but happens anyway

In a similar situation, I was about to give up and reboot, but then I found that restarting the audio daemon resolves the issue:

sudo killall coreaudiod

The symptom was: in the "Sound Effects" system setting panel, selecting alert sounds didn't do anything (usually it triggers a preview of the selected effect). My guess is that OS X fails to play an alert sound, and falls back to the visual cue.


You need to escape/protect any spaces etc in the path:

alias cdicloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"

Executing this in Terminal looks like the following:

pse@Mithos:~$ alias cdicloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"
pse@Mithos:~$ cdicloud
pse@Mithos:~/Library/Mobile Documents/com~apple~CloudDocs$ cd -
/Users/pse
pse@Mithos:~$


Autocomplete not working in Terminal local to folder

If you want to see only binaries in the current folder, press ./tab (dot slash tab).

If you want to see all folders in the current folder, press cd tab

In your screenshot, pressingm tab is showing all binaries that start with m found in the path.

In all cases, pressing tab a second time will show all matches if there are more than one.


How to edit videos with coustom musics on iPad?

You can add music from iCloud Drive. The easiest way to save music in iCloud Drive is to use Workflow app, where you can use a workflow which downloads file from the URL.


Is it possible to use Remote Desktop to control a Mac Lion Server without monitor and keyboard attached?

There's two parts to your question, one part is easy to answer: yes, you can get a remote, graphical session on your server without the server having to have a keyboard or mouse attached to it.

This part of your question troubles me:

  before buying the software

What software are you buying? Everything you need to remotely control your Lion server is included in OS X. From any OS X machine you can connect to any other OS X machine and get a desktop session on that machine.

To enable desktop access on a machine go to System Preferences -> Sharing and make sure the Screen Sharing setting is checked. You can configure just exactly who has remote access to the machine from this dialog as well:

With your screen shared on your server, from your Macbook you can open a Finder window and connect to the machine from there. First click on the machine name on the left bar in the Finder window and then click on the 'Share Screen' button on the top of the window to connect to the machine's display:

Depending on how you set up screen sharing you may be prompted to enter your user name and password.

The end result is a Apple Screen Sharing view of your remote machine's desktop:

(The computer you see up there is an iMac with no keyboard or mouse connected to it)

I recommend the neat ScreenShareMenulet program if you want quick access to screen shares. It sits in your menu bar and gives you one click access to remote screen shares with machines on your network.


Is there anyway to avoid redundant cleanups of photos across apple devices?

If using iCloud sync, deleting a photo on one device will generate an alert notifying you that you are removing it from ALL of your devices, not just that one. You shouldn't have to worry about manually rectifying changes between devices.


How do I get the Unicode code of a character from the Character Viewer?

In Character Viewer, click the gear icon in the top-left, then select "Customize List".

In the dialog that appears, scroll to the bottom and check "Unicode" under the "Code Tables" branch.

You should see something like this if you click on the "Unicode" item that's now in the left-hand pane (with unicode hex values down the left-hand column):

Alternatively, you can also right-click the character and select "Copy Character Info".

Then, if you paste into a text editor you get:

A
LATIN CAPITAL LETTER A
Unicode: U+0041, UTF-8: 41


There might be a misconception somewhere in what you say. You can run Disk Utility from the original system disc WITHOUT re-installing OS X.

I ran into a similar problem recently, on which running Disk Utility from any of the existing partitions would not work. I then tried running Disk Utility from a restore disk I had copied to an external USB-drive and to my surprise it was not successful either. Ultimately, the only way I was able to get Disk Utility to re-partition my drive was when I executed it from the original system CD that shipped with my Mac.

Again, you can launch Disk Utility from the setup start up screen by selecting it from one of the menus. You do not require to re-install OS X. Hope this helps.


After further research, I saw that Joomla 3.x does not work with php version 5.6 (which is what I was using)

If you are having this issue, I recommend using Homebrew to get php 5.4 or 5.3.

I did the following:

brew install php54

In one terminal tab, I have php5.6 running with the following command:

/usr/local/Cellar/php56/5.6.7/bin/php -S localhost:8000

In another terminal tab, I have stable php 5.4 running with the following command:

/usr/local/Cellar/php54/5.4.39/bin/php -S localhost:8001

(Both have the same document root (website folder) so both can access MySQL just fine.)

So going to http://localhost:8000/ will go to my php 5.6 server while http://localhost:8001/ will go to my php 5.4 server.

Joomla is working like a charm on my php 5.4 test server.

I suppose it should have been common sense to use a more stable version of php rather than the newest one but hopeful this helps someone!


Wifi Problems when Notebook not connected to power source

First thing is to reset the SMC. Shutdown your Mac, the press & hold ShiftCtrlOptionPower for 10 seconds, then boot normally.

When you see a behavior change due to changes in power supply (plugging in a MacBook for example), chances are it's an SMC issue.

You can get more info by reviewing Resetting Your SMC


Can't download facebook in my new iPhone 3GS

You can download the last compatible version of an app if you already have the app in your purchase history. You can add the app to your purchase history using iTunes on your computer, since iTunes is version-agnostic.

Once you've downloaded the app on iTunes, it will be in your purchase history and attempting to download it again on your device should prompt you to accept an older version of the app.


problem emtying iphoto trash after photo installed

When you migrate iPhoto to Photos, Apple does some magic and uses hard links to allow the new Photos app to have its own library, while not taking up twice the amount of space. If you move your new Photos Library over to a new HD, the old iPhoto library is useless.


From what I can tell, wired memory belongs to the kernel, the innermost core of Mac OS X.  It's many layers removed from the icons in the menubar, which are just ordinary apps showing themselves in an odd way.

Wired memory is used for some of the core functions of the operating system—things like keeping track of all the applications on your system, or open files and network connections, or chunks of memory used by various drivers.  The "page tables" that form a map of your system's memory are also stored in wired memory, and a system with more memory needs larger page tables.  I suspect that the memory used by the integrated video chips in most Macs is wired as well, but I can't find anything that says that outright.  In any case, much of this information is needed to manage and access memory, and so it can't itself be swapped out to disk!

To understand why, imagine an enormous library.  Think of, for example, the Bodleian Library at the University of Oxford, which has eleven million printed items.  There's no way you could possibly fit all that stuff into a single building—certainly not one in the middle of a university campus.

So instead, imagine that the librarians construct a vast warehouse.  (The real Bodleian Library has about forty sub-libraries of various descriptions, plus storage for really rare books, but this is a thought experiment.)  Most of the books are kept in the warehouse, but anything that's been used recently is kept in the library.  If you show up at the library looking for a book, and it's in the stacks there, you can read it immediately.  If not, ask a librarian and the book you want will be transported from the warehouse and given to you the next day.

The information in wired memory, then, would be things like the card catalog, keys to the book delivery trucks, and maps of the route to the warehouse.  If you stored these things in the warehouse, you could never retrieve books to bring them back to the library—so they must be kept in the library at all times, lest the whole system break down.

Anyway, getting back to practical considerations: wired memory is basically used by your computer for internal bookkeeping of various sorts.  You shouldn't worry about it.

And don't worry if you have lots of "inactive" memory and little "free" memory, either.  Inactive memory is basically memory that Mac OS is keeping something in on the off chance it's needed again; if your system needs that memory for something else, it'll be converted to free memory without any performance hit.

To extend the library metaphor, imagine that the library keeps books that have been recently used in the stacks. The space is there in the stacks; there's no use leaving it empty, so you might as well keep the books you already have there.  There's no harm in it, and sometimes someone will be able to pick up a book immediately that he would otherwise have had to wait for.

Similarly, inactive memory can only speed things up; it can't hurt your computer, so don't worry about it being too high.

Really, you shouldn't worry about your memory use unless wired + active starts getting close to the 8 GB in your computer.  That's when you could get into trouble, because that's when Mac OS will start consuming disk space to add "extra" memory, damaging performance considerably.

Otherwise, you might as well have something in that memory.  Ultimately, unused memory is just a waste of power—if you have it, you might as well put it to use.


Safe to Delete Keynote Cache under /Library/Container/com.apple.iWork.Keynote/Data/Library/Caches

Cache is cache. Deleting it is safe. It's recommended to have all applications involved closed tho. Tools like Onyx are mostly the best way to just do a periodic cleansing every now and then.

If you just intend to delete that cache; no worries. Just close Keynote and remove the caches. You might want to remove the app states for that app too if this is a matter of something behaving weird in while working in it.


Can the iPhone 6/6+ Front Facing Camera shoot at 240 fps?

Nope. Front facing FaceTime HD camera cannot take video at 240fps. Only the rear iSight camera on the iPhone can do that. You won't find any information about this is because it's understood if that were available the company would have it very well advertised.


If a Mac has 1GB inactive, and it has been idle for an hour, why it doesn't swap the inactive RAM to the pagefile for "readiness"?

The system does not know which action will be the next. If instead of opening a new application after an hour you decide to work on some stuff that was cached (and is part of the inactive memory) it will be already there.

Instead of swapping out to free memory or emptying disk caches the system waits to see if you actually need the memory to avoid unnecessary work.

You can always force the disk caches to be flushed (freeing some memory) with the purge command.


Organizing and tagging plain text notes (macOS and iOS)

Try DEVONthink to Go for iOS, paired with one of the DEVONthink family of apps for macOS. It meets all of your criteria: it supports creating and organizing (with tags and hierarchical folders) notes in plain text, markdown, and other formats, as well as PDFs, images, and URL bookmarks. It also has a unique semantic artificial intelligence engine and other features.


Is there a way to achieve the same without disabling System Integrity Protection?

Yes*, in System Preferences / Security & Privacy / Firewall Options..., check "Enable stealth mode" and turn on Firewall.

Somehow this enables PF. You can check by running sudo pfctl -s info.

*Tested on High Sierra and Mojave


I think the icon in the doc is not for the Canary app you just downloaded. The icon in the dock should be an alias to Canary. I would drag Canary from your Applications folder to the dock. This will create a new alias for the version of Canary on your machine. Try this new dock version to ensure it works. If so, delete the older icon from the dock.


Keyboard shortcut in chrome for selecting bookmark in bookmark bar

This is not an exact solution to your question. However it is a good option you might like to try.

If you enable enhanced dictation in system preferences as in the first image below:

Then if you enable “Enable The Dictation Keyword Phrase” as the example in the following image..

Whether or not you have dictation actively enabled, (and this will work in any application you are in) but in Google Chrome,  simply say the command “Computer Show Numbers“ then you will see something like this:

Calling that  command “Computer Show Numbers“, Will visibly assign a number to every element of the application you are in.  At this point all you need to do is say the command “Computer Click 10” (or whatever number you want clicked) and voila!

If dictation is already actively running, it is not necessary to have to say “Computer…”
Just say the command.  But if dictation is not running, saying the word “Computer” and then the command, Will make your computer start listening to what ever you say after saying “Computer”.  This makes it very easy to dictate commands to your computer if dictation is not actively running


Yosemite hdiutil: create failed - error -5341

I had the same error -5341 and was able to work around it with the -megabytes option as suggested here.

hdiutil create -megabytes 130 Reassembly.dmg -srcfolder Reassembly

In this case the Reassembly directory is 107M and the resulting Reassembly.dmg is 97M. The -size 130m option did not work for me. My issue was intermittent - adding or removing one or two files would fix it or break it.


How can I keep track of source code changes with git and box.net?

Go with Git. If you want a GUI client take a look at Gitbox (paid) or Github for Mac (free)


Mavericks just introduced support for SMB2.

http://www.apple.com/osx/whats-new/features.html#core

SMB3 is a planned feature of the next version of OS X, Yosemite.


Are there any keyboard shortcuts to switch between tabs in terminal?

Select Next Tab: ⌘+} (selects the tab to the right of your current tab)

Select Previous Tab: ⌘+{  (select the tab to the left of your current tab)

These are the shortcuts listed under the Window menu, but I think it would make more sense to say ⌘+⇧+], since that's actually what you type.

Since there are menu items that these shortcuts trigger, you can use System Preferences-> Keyboard-> Keyboard Shortcuts-> Application Shortcuts (or App Shortcuts on newer OSX versions) to reassign the shortcuts to whatever you want. For Terminal, choose Other..., then, under Applications, go to Utilities -> Terminal.app:


Here's the requirements for upgrading to El Capitan.  Do you meet all the requirements, especially the free space?


The easiest way I can think of would be to clone the Mac partition and the Ubuntu partition, then repartition the drive, and restore those partitions back.

I don't have any experience with using rEFIt, but I can't think of a reason why this wouldn't work.


Can't get my photos and videos from iPad

For some reason iTunes photo sync (iOS Device -> Photos) is quite restricted regarding what you do with those photos after they are on the iOS device. Even Apple specifically says that you can't sync those photos from your iOS device to your computer.

As a result, I suggest trying iExplorer to copy the photos from the iPad to your computer.

If you had AirDrop on both devices, you could use that to transfer the pictures, but it would be a little painstaking as you would have to tap every picture to transfer.


Flickering in Safari after switching back to integrated graphics

1.) This is a known Apple issue. It's insane that it existed in the first place, and it's worse that it still exists, and effects every dual-GPU Mac I have seen (in the office, at home, friends' laptops, etc). So yes, LOTS of people have this problem.

2.) Use gfxCardStatus to keep it locked in discrete mode, keep restarting Safari, or switch to Chrome. The Webkit nightly build isn't fixed, so I'm not sure when a 'real' solution will come about.

3.) That's very unlikely. As I said in (1), this problem effects all sorts of Macs, most of which do not have CUDA installed at all. It also looks like a problem with the Intel GPUs, not the nVidia ones.

Sorry for the bad news!


Will two albums duplicate pictures in Photos.app?

Just drag the photo from one album to another. The photo will be added to the second album and not removed from the first. Only one master copy of the photo is kept and is cross-referenced throughout the library regardless of where it is used.


keyboard input stopped being accepted after login

I'd start with any apps or utilities that might intercept USB devices. I once had a forgotten keyboard tool that was used to alter mapping of command and option keys that was not compatible with a system update and caused a similar problem.

USB Overdrive? Keyboard macros? Virtual machine apps? Any similar things could be capturing the USB input from the keyboard and failing to pass to the OS.