How to quickly drain iPhone's charge to compare batteries

Geekbench

I don't have Geekbench 4, but according to this Primate Labs support page (1 Feb 2017):

  We're hoping to re-release a battery test for iOS in the future but as of right now we don't have an exact timeline of when that will be available.

So you would need to double-check with them prior to download whether the battery test has been re-released yet (although based on the screenshots I think not).

In terms of the test itself, I do have Geekbench 3 installed on my iPhone and it includes a Run Battery Benchmark function.

This is a very lengthy battery test designed to totally discharge a fully charged battery (the app prompts you to plug it in and charge it to 100% before testing). That said, it is actually possible to run the test with only a partially charged battery.

The app also keeps a history of the benchmarks - so it'd be easy for you to keep a separate record of which battery was installed at the time of the benchmark.

My assumption is that when it is re-released, the same functions would be included.

coconutBattery

In case you haven't heard of coconutBattery, this is an awesome app that you can install on your Mac (if you have one). You can then connect your iPhone to your Mac and this app will show you the battery's current charge, its full charge capacity, and its design capacity (among other things). It also keeps a history, so it'd be easy for you to keep a separate record of which battery was installed at the time you connected your iPhone to your Mac.

If you have a MacBook of some sort it'll give you a whole heap of info relating to your MacBook battery too.

Other iOS Battery apps

There are countless iOS battery apps available, most of which I think aren't worth the download.

However, Battery Life is one of the best (make sure it's the one by Robert Tkotzyk - as there have been a couple of copies that essentially look exactly the same). I have found this app's Run Times to be more accurate than many others. By Run Times I mean it provides an estimate of the remaining runtime for various functions (e.g. talk time, browsing, video, etc).

Do your own 'real life' testing

Doing some real life testing provides the advantage of determining the exact battery life for your exact scenario (iPhone model, battery, installed apps, etc).

For one possible way you could do this, refer to my answer here. As you can see, it's quite involved if you want to ensure accuracy, and it will take some time.

Summary

My recommendation would be to contact Primate Labs to seek the current status of again including a battery benchmark test on their iOS app. I think this will do exactly what you want without all the mucking around.

Beyond that, I would try coconutBattery out (it's free to download) and give Battery Life a go too.

NOTE: - I have no affiliation whatsoever with any of the products described in this answer.


All apps that access the internet crash when opened

What version of iOS are you running? Have you tried clearing your web history, cache, cookies, etc? Go to Settings -> Safari and click all the options to clear this data.


When Macs were first able to run Windows 7 (SP1), the Boot Camp Support Software installed the software necessary to allow reading of Mac OS Extended (Journaled) volumes from Windows. Also, OS X (macOS) could read from Windows NTFS volumes.  Neither Apple nor Microsoft provided a way to allow writing to the other operating system's volumes.

  Unfortunately, as Apple has progresses toward the new APFS format, some (if not all) Windows Boot Camp installations have loss the ability to read from macOS volumes.

A possible solution would be to purchase a third party product such as the Mac ToolBox from Paragon Software.

Another possible solution would be to create another separate FAT32 or ExFAT formatted drive. You could  then use the drive for storage of files used by both operating systems or to transfer files between operating systems.

Finally, if you have a high speed internet connection, then you could copy small files to your iCloud drive and access the files from both macOS and Windows.


Cannot disable "Dark menu bar" on Mac OS X

I just tested the following under OS X 10.11.5 and it worked.

Go to System Preferences > General and check the [√] Use dark menu bar and Dock check box, then close System Preferences.
Copy and paste the following command line into Terminal, then press enter.

defaults delete .GlobalPreferences AppleInterfaceStyle; killall -HUP Dock

After executing the above command line, the Dock momentarily disappeared and a couple seconds later the menu bar was the default color once again.


With a 2019 MBP, are there any benefits to driving a 4K display via Displayport (1.4) vs HDMI (2.0)?

No

Freesync sometimes isn't supported over HDMI, but this monitor supports it. On top of that, macOS doesn't support Freesync anyways.

USB-C can "natively" use "normal" DisplayPort and HDMI in its alternate modes, so as long as your dock supports HDMI 2.0, there should be no differences. (N.b.: do note that this is is different from DisplayPort++, but practically speaking, this doesn't really matter for your purpose.)


Problem opening Word (docx) file with images in Mac (Fusion)

Starting with Lion, Preview can open docx files and does a good job. Much better than TextEdit or Pages.

In Snow Leopard, I found quick look to be very good as well — but you can't do much with the file inside quick look.

Obviously I can't test the documents you're having trouble with though.


German keyboards for recent model Mac lap-top

You don't need a German keyboard to use the German keyboard layout. You can enable the German keyboard layout from System Preferences > Language & Text > Input Sources, and you can use the virtual keyboard viewer to look up the positions of characters.

Even if you buy a keyboard with a German keyboard layout, the input source won't change automatically when you connect the keyboard or press some keys on it.

You can buy keyboards for different keyboard layouts from store.apple.com.

Note that there are some differences between the Apple and standard PC versions of the German keyboard layout. Particularly the five ASCII special characters under option are all under different keys. You can download a keylayout file for the PC version from http://www.nullpointer.de/stuff/keylayout/.

ISO (European) keyboards have one more key than ANSI (U.S.) keyboards. The extra key is a dead key for ^ in both the Apple and standard PC variants of the German keyboard layout. In the version of the German keyboard layout that is included in OS X, option-shift-6 enters the same dead key state as the extra key.


How do I transfer Boot disk from External HDD to newly inserted SSD?

It looks like Disk Utility is being extra cautious and not allowing you to unmount the boot drive to copy it. Assuming your copy of Disk Utility is running from the OSX external drive, you will have to power down and try booting into Recovery.

Normally, you press Command R to enter recovery but I haven't tested with no recovery partition on the internal drive, so you might instead boot holding option to see if the OS can find a recovery HD on the external drive.

If you partitioned both drives and have no viable recovery, you will have to use internet recovery or otherwise get a bootable OS that isn't the one you are attempting to copy.

Worst case, return the bootable drive to the inside of the Mac and run an OS installer to re-install the OS onto the SSD. That will make a proper Recovery HD partition that will allow you to boot and run Disk Utility without needing a bootable OS separate than the two drives you want to copy.


The share button doesn't bring up an address box, it bring up a set of choices, depending on what apps/services you have installed...

After clicking Mail, a new Mail should open, with the cursor set ready to add an address...


How do I know which message is from which person when their initials are the same?

The easiest option would be to simply add their photo to their contact card. If you don't want to add their photo for some reason, you can add any other photo to represent them.


Under Dropbox preferences, there is a checkbox for "Start Dropbox on System Startup".

However, as patrix says, Dropbox is really only useful if you leave it running all the time.


A quick search turned up Fastmac replacement batteries which claim to

...replace the computer’s original battery with a larger capacity and longer lasting advanced power cell battery that utilizes TruePower technology. With up to 68% more capacity...


list of os x processes by name and function?

There is no canonical list of all macOS processes by name.

Third party developers are free to name their processes without restriction and Apple's background processes are often undocumented.

Manual Pages

For many core macOS processes there are manual pages. You can read these technical manual pages using the included Terminal application and the command line tool man.


If it is for one word and you are ready to abuse software features in unforeseen way then just enter two or whatever number of characters before and after the word and make their color same as background:


This is pretty easy to do for free you just have to use Terminal and install Homebrew and chmlib.

Open Terminal. (/Applications/Utilities/)
Install Homebrew by visiting http://brew.sh/ and follow the installation instructions. Or just copy paste this command into Terminal and run it.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After the install is complete type brew install chmlib in Terminal and press enter.
Move the file you want to extract to your Desktop.
Go back to Terminal and type:

extract_chmLib ~/Desktop/name_of_the_file.chm ~/Desktop/name_of_the_file

Just be sure to replace name_of_the_file.chm with the actual name of the file. This will create a new folder on your desktop.
Open the folder and double click the file index.html. This will open the document in your web browser.


My Toshiba hard drive doesn't work on Windows machines

If you're using Time Machine on the disk, the disk is Mac OS Extended formatted which can't be read by Windows without additional software.

You can use the Boot Camp drivers which integrates HFS read/write into Explorer.

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

Alternatively, you can use HFSExplorer:

  HFSExplorer is an application that can read Mac-formatted hard disks and disk images.
  It can read the file systems HFS (Mac OS Standard), HFS+ (Mac OS Extended) and HFSX (Mac OS Extended with case sensitive file names).


fullscreen youtube video on external display / avoid changing desktops

I presume you are not on Mavericks. Multiple Displays support was improved in Mavericks and makes full-screen apps not interfere with other displays:

  Full screen applications
  With Mavericks, you can use full screen apps on each display independently. Open an app full screen on one display. On your other display, open an additional app as either windowed, or full screen.

Source: OS X: Using multiple displays in Mavericks

You can update to Mavericks which should fix this.


If you are not trying to checksum disk the running system resides on (this won't ever be consistent) you may try

dd if=/dev/disk2 | md5 -


Why do my iMessages get sent with someone else's information?

Is the default number or mail address associated to iMessage stored in your contact card? If not this is the reason.

You can change the default sender by coning to Settings, iMessage and setting the field Start new conversation from:.

This phone number or email address will be the one used for sending iMessages. Hence, if this number is not associated to your contact, iMessage will not show your picture.

If all the available options belong to someone else, then check that the contact card for you is assigned correctly.


Private Browsing protects your private information and blocks some websites from tracking your behavior. Safari won't remember the pages you visit, your search history, or your AutoFill information.

Source: https://support.apple.com/kb/HT203036


How to turn off notifications sounds when OS X is in Do Not Disturb mode? (High Sierra)

Notification sounds are silenced in Do Not Disturb mode. Contacts marked with Emergency Bypass will bypass this and allow the notification sound to be played.


how to use Logitech Anywhere MX back/forward button on OSX Finder?

In the Logitech Control Center, change the assigned action for Thumb Back Button and Thumb Forward Button to Keystrokes instead of Back and Forward.

For Thumb Back Button, set the keystroke to ⌘[ (Command-[) and for Thumb Forward Button, set it to ⌘] (Command-]).

(This keystroke combination can be seen in the Firefox Keyboard Shortcuts page (currently at Help > Keyboard Shortcuts), and in the Chrome Keyboard shortcuts page as well (Help > Keyboard shortcuts).


As explained here, the first iMac to allow this is the 27-inch Late 2009 iMac.

There are, though, some Applications which may achieve something similar, requiring both computers to be connected to the same LAN/WiFi/VPN, and sending all the information, the one to be displayed on the second computer working as a display, through it. Such as ScreenRecycler. You can find some more here.


Is there a way to click windows fileshare links in macos?

There is a wonderful free tool called WinShortcutter for Mac that allows you to do exactly what you're wanting.

Winshortcutter can be found here: http://winshortcutter.com/

After installing, you can change a setting in the Mac services screen to allow this as a right click option as well.


Yes that would be possible. You don’t have to be in the same country as your account is for.

You just can’t use an American dollar voucher on an English account as they use pounds.


13" Retina MacBook Pro completely freezes

I've experienced both the -112 and less often the -128 and submitted the error logs to engineering. I was told to contact AppleCare for hardware diagnosis and support.

It's estimated that the logic board would be replaced for $300 so I'm letting it ride a bit to make sure it's really not software before repairing that one machine.


How to stop being asked the same Firewall related question each time iTunes launches

I'd suggest double checking all steps have been followed at:

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


Most probably you're running into one of the following problems:

Wrong handler name: In your question, you wrote that you had the following line:

AddHandler cgi_script .cgi

The underscore is supposed to be a hyphen here, so change that to:

AddHandler cgi-script .cgi

Wrong file extension: Your have specified in your configuration that your Perl scripts are named something.cgi. Some actually have their files named something.pl instead. If that is the case for you, you'll need to extend both of your AddHandler lines to the following:

AddHandler cgi-script .cgi .pl

Permissions: The Perl scripts needs to have the executable permission bit set in order to be executed as a CGI-script. This means that you have to run a command such as this:

chmod a+x /Library/WebServer/CGI-Executables/yourscript.cgi

You would have to replace "yourscript.cgi" with the actual filename of your script.

Restart needed: You need to ensure that the Apache webserver program is actually reloaded or restarted after you change your configuration files. Do this by running the following command:

sudo apachectl -k restart


How to select photos which are not tagged or set face(s) in Photos?

As of April 2016 Photos does not work like that.

Although it sounds like a limitation, it actually makes sense. The program detects "candidate" faces and presents them to you to classify them. After learning about a few of those faces, this opens the door to reassessing pictures that previously would have been deemed without faces.


Getting this error constantly: IOUnserialize has detected a string that is not valid UTF-8

It looks like your Mavericks installation had a hick up.

Reinstall it.

To find out the source one has to open the pref files of all named processes and look for the UTF-8, "~?�"

You wont be able to fix it there but maybe see it.

You can try the search with Terminal fgrep -iR "~?�" /Library/Preferences

There is also a way to investigate the

  configd

You can debug configd by running another copy. You type in the terminal:

sudo /usr/libexec/configd -dv

It will ask for you password. This should give you debugging info about each bundle as it loads and dump any messages that normally go into the syslog to the terminal window.

You can load each bundle mentioned in your console log one at a time too e.g:

sudo /usr/libexec/configd -dv -t /System/Library/SystemConfiguration/Logger.bundle

Use ctrl-c to quit the process.

The number is the process id listed in the leftmost column in the Activity Monitor next to the process you want to close.

Looking at your console log, it looks like the common theme is Network. It might have to do with your airport app, but not sure since insufficient information given.

Does it comes up in Safe mode?


Executing cd in a bash function called by subshell causes extraneous output

There seems to be something odd going on as cd is not defined to behave as you are seeing it. Evidence suggests it's definition is being over-ridden somewhere.

It is possible that your cd command is aliased somewhere.  The alias command with no arguments will display a list of aliased commands on most shells. A workaround for an aliased command is to preface the command with a backslash (\cd). That quotes the first letter of the command and defeats any alias processing by the shell.

It is also possible that it is a shell function.  declare -f should list the defined functions, at least in bash, and you can see if cd is being defined as a function.

With luck, your which command may support short-cut ways to do these checks.   Check out this on-line man page for how one implementation of which can be used to check functions and aliases, then see if your which operates in a similar manner.


Is it possible to upgrade from El Capitan to Sierra if you have the pkg and pfpkg files?

Only if you know the exact location of the files for 10.12.6, the last available version.

From your link...

  Update: Here, we have mentioned the URL of the package file for macOS
  10.12. If the latest version of macOS Sierra available on the Mac App Store is a different one, MAS will fetch it from a different location.
  Hence the workaround mentioned here will not work, unless you know the
  URL of the latest package file and create the directory structure on
  localhost based on the same.

It's always wisest to download any major new version from the App Store - any time between when it's released & when it's taken down - even if you never install it. That way it will always be in your purchase history & you can get it again at any time.


Automator: How to send an email to multiple recipients with Font colour and attachment image?

As far as I can tell, there is no direct way. You would have to use applescript to select the text and set the formatting in the Mail application after the fact... (Example below taken from the web...)

tell application "System Events" to tell (process 1 where frontmost is true)
    set {c1, c2} to value of attribute "AXSelectedTextRange" of text area 1 of scroll area 1 of window 1
end tell
tell application (path to frontmost application as text) to tell document 1
    tell characters c1 thru c2
        set font to "Menlo"
        set size to 18
    end tell
end tell


Is there a command line interface to Keychain's / the system Password Assistant utility?

The "Memorable" password generation option appears to be gone in MacOS Catalina, there is now only;

Manual
Letters & Numbers
Numbers Only
Random
FIPS-181 compliant

The security command line tool doesn't seem to generate passwords, it will only accept one you define. If there's another command line tool for password generation built into the OS that re-uses the above options, I don't know about it.

Given the combination of both of those factors, I'm documenting and accepting this answer as closure.


How much free space do I need to install an app update?

Apps are submitted as .ipa files which is really just a zipped container of a .app file. In fact, you can simply unzip a .ipa file to see its true size.

Apps in the App Store are listed by their compressed size, and will need to be uncompressed after installing.

As of iOS 6, updates to apps only include files that have been changed. As of iOS 7, updates to apps only include changes to changed files.

So, I guess to answer the question directly, for any given app you would need: Free space to store the compressed app update file, free space to store the uncompressed app update file, and space currently being used by the app and all its data/caches.

https://developer.apple.com/library/ios/qa/qa1779/_index.html


Accessing the default path for the user keychain folder via terminal

I think it's stored here per-user:  /Users/[user]/Library/Preferences/com.apple.security.plist

This plist seems to list all of your keychain references.


Connect to Wi-Fi via command line that requires username and password

It does sound like you are trying to connect to an enterprise network and you have 802.11x authentication.

If this is NOT the case and you need to enter a username/password in a web page, then you may need to create an AppleScript/Automator function to handle that.

In any event, to connect to an 802.11x network with authentication, you need a network profile.  To create one, you either need OS X Server or you can use Apple Configurator.  It's a free application available from Apple.

While it is geared toward iOS, you can create wi-fi profiles then export them.  Once you have the xml file, you import it with networksetup.

Or...

You can edit the xml file directly which is not something trivial.


Volume control (sliders or keys) stops working after plugging into/out of headphone jack

According to this thread, holding down any of the volume keys as you plug or unplug the audio jack will solve this problem. It's a known issue.

See this thread: http://forums.macrumors.com/showthread.php?t=1254855


Blocked sign-in attempt to Google Account

This question was asked a while ago, I'm not sure if you've solved the problem. If you have, please enlighten me! I've been having the same issue (not quite every time, but almost every time I turn my Mac on). As with you, the location is my hometown.

I've done some Googling, somewhat ironically, and it seems to be a security issue with OSX Yosemite causing it, though I must confess I don't know the details.

This thread says:

  "I received the same emails the same day I upgraded to OS X Yosemite
  and setup my Gmail account in Apple Mail. Its not a bug, but only
  security changes that have happened on Google's end of things. All you
  have to do is follow the link and enable "Access for less secure
  apps". Thats what I did and I haven't received the emails since."

However, I'm not a fan of allowing less secure apps, in case there is a genuine security issue (which this doesn't appear to be).

Another discussion says:

  "I've found a way to solve it: just went to Settings, Internet
  Accounts and deleted my Gmail account. Put it back and it's working
  fine now."

It appears to be a fairly common problem (Google "Yosemite gmail sign in blocked"). I have tried the solution above and haven't received any more emails, but if it doesn't seem to work, I'll update this answer.

UPDATE: It happened again, which I'm fairly unchuffed with. After rooting around on Google, I found this:

  Google may block sign in attempts from some apps or devices that do
  not use modern security standards. Since these apps and devices are
  easier to break into, blocking them helps keep your account safer.
  Some examples of apps that do not support the latest security
  standards include:

  The Mail app on your iPhone or iPad with iOS 6 or below
  The Mail app on your Windows phone preceding the 8.1 release
  Some Desktop mail clients like Microsoft Outlook and Mozilla Thunderbird

  To help keep your account secure, we may block these less secure apps
  from accessing your account, and you’ll see a “Password incorrect”
  error when trying to sign in. If this is the case, you have two
  options:

  Upgrade to a more secure app that uses the most up to date security
  measures. All Google products, like Gmail, use the latest security
  measures. Go to Allow less secure apps and choose “Allow” to let less
  secure apps access your Google account. We don't recommend this option
  because it may make it easier for someone to gain access to your
  account.

So, bearing this in mind, it seems to be using a client of some kind causing the issue, which fits in with previous suspicions. So, for anyone facing this issue, be aware that your mail client may not be using the "modern security standards" that Google wants, and that this may the root of the issue. The fix is likely to be wait for an update to the client, or use a different one when accessing your Gmail account (or select "Allow less secure apps" in your Google settings).


I had to program a bi-monthly event. I could NOT find any way of reliably doing so.

In the end I programmed 2 (identical) events, one on the 2nd Thursday, one on the 4th.

You could do similar with 3 events.


This is typically caused by resource forks that are local and don't get sent with the file in the email. You can view these and their sizes using ls in Terminal using:

ls -lah@ <filename>

or just leave filename blank to display this for the contents of the current directory.


Notification Center errors filling up /var/log/system.log

This might be nothing but twice you referred to the file as

"/System/Library/CoreServices/Notification Center.app"

(note the space)

but I find the app at

"/System/Library/CoreServices/NotificationCenter.app"

on my Mountain Lion systems.

Does the path in /System/Library/LaunchAgents/com.apple.notificationcenterui.plist have the space?

If your system does have a space in that path, it could be causing problems.

I would log out and then either login via ssh or >console at the login window, remove the space:

sudo mv -vn "/System/Library/CoreServices/Notification Center.app" "/System/Library/CoreServices/NotificationCenter.app"

and then reboot

sudo shutdown -r now


Not exactly what you're asking for, but I use

System Preferences - Keyboard - Input Sources

to add Greek & other layouts, and tick the 'Show Input menu in menu bar' option. This results in a pretty menu with keyboard layouts marked by national flag. And, a ctrl-cmd-space shortcut to cycle between them.

Also:

System Preferences - Keyboards - Show Keyboard and Character Viewers in menu bar

for all other typographical symbols


Substitue Escape for Control U in Terminal

bind '"\e":"\C-u"' doesn't have any effect, and escape can't be remapped from Terminal's preferences.

iTerm 2 does allow remapping escape:

0x05 0x15 is C-e C-u. (E is 0x45 and U is 0x55.)

You could also use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
  <appdef>
    <appname>TERMINAL</appname>
    <equal>com.apple.Terminal</equal>
  </appdef>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <only>TERMINAL</only>
    <autogen>__KeyToKey__ KeyCode::ESCAPE, ModifierFlag::NONE, KeyCode::E, ModifierFlag::CONTROL_L, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
  </item>
</root>

The last two options  would prevent using escape in for example vi though.


There are a number of benefits to flash memory over HDD:

No moving parts
No spin up time
No electric motor using your battery charge
"Seek Time" isn't really a thing, since there's no drive head moving to read a different sector of HDD platter

During boot, your computer reads a lot of software from your boot volume into memory. The time it takes to do this is drastically reduced when using a SSD (flash) instead of an HDD.


Is it safe to buy MacBook Pro batteries on eBay?

Another option for longer term (after you have determined why the battery is expanding like it is) may be to see about getting one of the Newer Tech (or other known manufacturer) batteries for your MBP, as they have longer life ratings for the charge. Newer Tech is available from Other World Computing (www.macsales.com), and I've seen it from a few other online sites as well. (I do not work for OWC, but have been very pleased with their products and service) The NewerTech ones I've checked on are rated at higher mA ratings than the original Apple batteries.


Error: /usr/local must be writable! (update homebrew)

Wound up just reinstalling homebrew with /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" found at https://brew.sh/ . This cleared everything up and I can download packages. Still not sure why brew update didn't do the trick.


Such functionality is not supported by the built-in alarm for iPhone unless the music is stored in the Music app of the phone. You would have to see if there is a third-party app which can pull from Google Play music.


How to have path displayed in list when searching in finder?

You can try with EasyFind. It's a really good application for search files.


How to transfer numbers docs from lion on 2006 iMac to mountain lion on another computer (MBA)

Wouldn't this be the same as sharing any other document?

In Numbers, hold down the command (⌘) key and click the proxy icon in the title bar. Clicking the name of the folder that appears in the list immediately under the file name will reveal your document in the Finder.

Then, using the Finder, you could transfer the document using File Sharing, a USB drive, as an attachment to an e-mail.


Unfortunately iPhoto refuses to open library files you have no write-access to. As soon as you put the file in a write-protected image/device or lock the file, iPhoto will display an error that it can't open the library.

Therefor it seems your only option is to keep one writeable, and if you're paranoid of accidental changes put a none-writeable copy somewhere else (be it any physical media or a locked file).


Windows install from DVD or USB on El Captain

Reboot into Recovery Mode by pressing Command+R while the MacBook starts.
Navigate to Utilities and then Terminal.
Enter csrutil disable ; reboot which will disable System Integrity Protection (SIP) and restart the MacBook (Disabling SIP will allow us to replace the original Info.plist with the modified one).
Once booted back to normal mode, enter mv Desktop/Info.plist /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/ in Terminal to replace the old Info.plist with the modified one.
Reboot the machine back into Recovery Mode again (using Command+R).
Enable SIP using csrutil enable ; reboot.
All finished! Once Boot Camp Assistant launches again, the option “Create a Windows 7 or later version install disk” will appear.


How to make nsurlsessiond actions less anonymous to the user?

The 'more details' button should at least tell you who it's trying to contact, from which you may be able to decide whether to allow.

Possibly the main connections floater would give you more data…

You could always drop in a request to obdev or even see if there's anything in the forum

I agree it would be a useful addition, to know what app is calling an API like that.


Can't move spaces from one screen to another

You can only move non-active desktops between screens.

If the desktop you want to move is the only desktop on the screen, then create another desktop, make that the active desktop, and then drag the non-active desktop.


How Google puts unwanted apps on our Macs?

The "apps" come bundled with Chrome. These aren't actual apps, just links to Google services that are wrapped to look like a standard app (think of the as the OS equivalent of browser bookmarks to Google sites). You can safely delete them, but they will likely reappear should you re/install Chrome.


How to see page breaks in Numbers version 3.x

Unfortunately, Apple's Numbers has never had page breaks.  Here is a solution created from Yellowbox on the Apple's Community forum: https://discussions.apple.com/docs/DOC-7101.

Here is also a answer from Ian, also on Apple's forums--

"Numbers has never had Page Breaks.

If you are using Numbers '09 it has Show Print View which is useful for arranging (and resizing) objects on pages before you print to paper.

If you are using Numbers 3, there is only Menu > Print > Print Preview (Print Setup) which shows the pages, but is not editable."


Iphone 5 suddenly stopped connecting to network

Try this...

Put your iPhone in AirPlane Mode
Go to Settings > General > Reset
Reset Network Settings
Reboot your Router
Take you iPhone out of AirPlane mode..

You will be prompted to join your network again, and it should work this time...


Powerpoint: compress or downsample large images/graphics

In PowerPoint 2011, you can use File > Reduce File Size to auto-downsample images. The dialog gives you a few options for quality:


What does the "4G" that appears on my iPhone 4S's AT&T network indicator mean?

Nomenclature
The terms 2G, 3G and 4G do not refer to a specific wireless standard, but a a whole bunch of different standards:

There has been controversy on what standards should be referred to as 4G. When Apple introduced the iPhone 4S, they followed other companies in referring to HSDPA as a 4G standard. HSPA+ is the successor to HSDPA.

DC-HSPA+
Technically, HSDPA and HSPA+ are 3G wireless standards. However, HSPA+ has received technological upgrades which increased the theoretical throughput to become similar to that of LTE.
If 4G were to indicate speed rather than a wireless standard, it's legitimate to refer to the upgraded HSPA+ as 4G. However, this improved HSPA+ should be referred to as DC-HSPA+, not merely HSPA+.


It really depends on which browser you are using...  I would recommend not using Safari on 10.6.8, since it is unsupported by Apple at this point, and the older versions of Safari have known compatibility / security issues.

The best way to "upgrade" would just be to install a third party browser (Chrome or FireFox, which I linked to below) and those issues should go away.

To clarify, Safari is a fine browser on later versions of OS X; specifically ones that Apple still releases security patches for.

Safari

On Snow Leopard, Safari cannot be upgraded past version 5.1.10. Wikipedia article

FireFox

It appears that you can install the latest version of FireFox, according to the system requirements for FireFox 37 page on mozilla.org

Google Chrome

Google Chrome's official download page says that the latest version runs on 10.6.x Google Chrome Download Page


Force Keynote in presentation mode and quit after last slide

You could use an AppleScript to do this and run it with osascript...

osascript << EOF
if running of application "Keynote" is true then
    tell application "Keynote"
        activate
        try
            if playing is false then start the front document
        end try
    end tell
end if
EOF


You cannot configure how fast Spotlight will index files. Normally, it should auto-throttle itself and not cause massive CPU usage (unless fully rebuilding indexes or doing first-time indexing).

If you run into trouble with Sophos and Spotlight, you could tell Sophos to ignore Spotlight's metadata folder. Also, note that there a lot of grief about Sophos interfering with spotlight: https://discussions.apple.com/thread/3562174?start=0&tstart=0


How can I switch between textmate and terminal quickly?

There are a couple of ways doing this.

The quickest and easiest is to use Spaces.

Put Textmate on Desktop 4 and Terminal on Desktop 3

Then you can use ctrl-option and either 3 or 4 to switch between the two.

Personally I use Keyboard Maestro for this. I used to use a Service and a keyboard shortcut but a "feature" of the new security system makes it impossible for a Service to use the System Event library unless you turn on accessibility for every app. You need that to select "Bring All to Front".


Pages won't open after unexpected shut down

I'd try clearing the saved state files.

From Finder:

 Cmd ⌘   N
 Cmd ⌘   Shift ⇧     G
Copy/paste ~/Library/Saved Application State

Find the folder com.apple.iWork.Pages.savedState and delete the contents not the folder itself, as it's an alias.
That should give Pages a fresh start.


Checking apps for a "GateKeeper" Developer ID?

If you have the developer tools installed, you can view the signing information for a binary using this command:

codesign -dvvv <path to app.app>

The output looks like this:

Executable=/Volumes/Big Disk/F376/Projects/<My App>
Identifier=<My Bundle ID>
Format=bundle with Mach-O thin (x86_64)
CodeDirectory v=20100 size=3958 flags=0x0(none) hashes=189+5 location=embedded
Hash type=sha1 size=20
CDHash=761b0d1XXXXXXXXXX0dc8dd42e38eb445fb5341f
Signature size=8504
Authority=Developer ID Application: XXXXXX
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=May 7, 2013 3:07:59 PM
Info.plist entries=30
Sealed Resources rules=4 files=128
Internal requirements count=1 size=224


How to fine tune the sound level in iOS just like Mac OS?

When double clicking the home button and swiping two times from left to right on iPhone, and one time on iPad, you'll find a Volume Bar which will precisely let you adjust the volume of the device to the level you want.


Can I see a list of location notifications set up through Find my Friends?

Tap on 'Me' at the bottom of the app then tap the Notify Friends button to see a list of your location notifications.

This related Apple support seems to be out of date (for iOS 9 at least) because it says to tap 'Notifications' instead of 'Notify Friends'.

https://support.apple.com/kb/PH19434?locale=en_US&viewlocale=en_US


Sounds as if you may have run your system out of RAM, which is quite possible with the anemic Air designs Apple is passing off as computers these days.

you may well need to do a hard shut-down and reboot.. hold down power button till it shuts off, then wait 5-10 seconds and reboot.

If terminal does the same thing after that, then you may have an actual issue..


I haven't tested thoroughly yet, but the problem seems to happen for me when I leave Safari (11.1.2) open overnight. Quitting Safari and restarting it fixed the problem when I tried it today.

A similar bug has also been reported in Chrome ( https://bugs.chromium.org/p/chromium/issues/detail?id=392754 ).  In that case restarting Chrome fixed the problem.

It feels to me as though the code providing the document picker is caching today's date for some reason and using that to compare the "Date Added" metadata to.  So it's more of an MacOS bug than a Safari bug.

Indeed if you look at the end of the thread here: https://discussions.apple.com/thread/3272875?start=45&tstart=0 there are several applications that show the same problem when left open overnight.


Command line (or other way) to change proxy config in easy way

No need to create a script:

Create a proxyless network environment: in the Network pane of System Preferences, click on the “Profile” drop down and select “Manage Profiles…”. Duplicate your standard settings (by clicking on the cog wheel button at the bottom of the list). Give the duplicated profile a unique name (“Proxyless”, say). Disable all proxies in the settings for that profile.
Assign a keyboard shortcut to your new profile: in the Keyboard pane of System Preferences, create a new Application shortcut for “All Applications”. Name it like your profile (i.e. “Proxyless”), add the shortcut.

The shortcut will be activated once your switch applications at least once (it won’t be active while you are still in System Preferences).


Inserting several pictures into MS Word at once without using Media Browser

There is a workaround, going through TextEdit:

Open TextEdit, and create a new file.
In TextEdit, add the images to the new file.
In TextEdit, select all of your images and copy them (cmd-A, cmd-C).
In Word, paste the images (cmd-V).

This will result in all of the images being pasted into Word, which you can then manipulate as you normally would.


MacBook doesn't find any Bluetooth device

I had the same problem, after inserting an external bluetooth dongle my Macbook pro 2018 internal bluetooth control has gone, tried everything, resetting SMC, NVRAM, installing a bran new Mojave on an USB disk
I opened a ticket to Apple and after a morning of retries they concluded my internal controller hardware is broken.

I suggest you to run "Bluetooth Explorer" (I was able but "Bluetooth Explorer" does not detect my internal controller..)


Dislocated metal plate in Thunderbolt port

I had this problem fixed by Apple. Phone support claimed they could only help me with software problems. I didn't try to get through to the Customer Relations. Instead I tried visiting another Apple Store, where they were happy to fix the problem within warranty. This is a costly repair to pay yourself, as the whole "logic board" has to be replaced.

Regarding my specific questions:

  Does anyone know what is the functionality of the dislocated piece? I googled for the specifics of the connector, but couldn't find any documentation.

In my best understanding, the dislocated piece is only used to hold the connector in place. The only other use I can think of is for grounding. However, thunderbolt connectors already have a ground pin. So if you are out of warranty, before shelling around $600 for a repair, you may want to try cutting the metal pin and see how it works for you.

  I have an AppleCare Protection plan. Shouldn't this be covered by AppleCare?

Well, it depends on whom you ask. In the first Apple Store, the Genius was adamant that the problem was caused by misuse so it was not covered. In the second Apple Store the Genius directly recognized it as an assembly fault and fixed it for free. So, don't be discouraged by a first rejection of your claim. Try again, different time, different place (if possible).

  Are there any other avenues to pursue a repair from Apple?

If you don't manage to get a repair from an Apple Store, trying to get through to Customer Relations as suggested in the comments above may be an option. Another option would be to try having the problem fixed by an Apple Authorized Service Provider, who may have a less judgmental attitude.


Opening Google/YouTube URLs in Chrome by default when Safari is default browser

As of macOS Sierra there is no way to do this without a a little proxy program which you set as the default browser. This proxy program then dispatches the URL according to some settings and URL rules to the desired browser application.

Building on tron_jones's comment, I know of three available proxy programs you can use:

LinCastor - Free: Doesn't seem to be currently maintained
Choosy - Commercial: Very slick. Easy to setup. Great UI
brosel - Open Source: Very lightweight. Setup only for people who are comfortable with the command line. (My own little contribution to this field...)

You would need one rule for the general case selecting Safari by default and a second rule for Youtube URLs which chooses Chrome. Specific setup depends on the tool you are using.


Set auto-lock on macOS after couple of minutes of inactivity that cannot be changed by the user

I am adding one more option:
From System Preferences > Security & Privacy > General tab,  click on Advanced... from where you can set up the inactivity timer as you want and enable administrator option. Any other standard user can't access other system-wide preferences setup too. So I guess this option will easier for you.


I wanted the same and didn't find anything nice, so I coded an app for myself. You can find the code here and already as compiled app here.

Let me know what you think.


I am on Mavericks and the following starts rpcbind for me:

sudo launchctl start com.apple.rpcbind

Subsequently, the following will show that it did start:

 sudo launchctl list | grep rpcbind


Does the camera on the iPhone 6 protrude from the back?

Actually according to this photo from Apple web site it is protruding (if you want to call it that way)

Due to the perspective- view, it does not show on your pics.


Anyone remember the name of this iOS sharing app?

Mover

  Put something — a contact, a photo, a video, a file — on the Mover table, connect two iOS or Mac OS X thingies to the same Wi-Fi network and slide away. It's that simple, really.
  (Yep, you can also use Bluetooth between iPhones, iPod touches and iPads, if you're on the go!)

∞labs, the developer of Mover, shut down a while ago and the app is no longer available.


Why does Finder need me to authenticate its every action?

Sounds like a permissions issue.

Press Command+I while the highest level folder you want to be able to access.  At the bottom of the info dialog, be sure the lock is unlocked.  If the user name you wish to access the files from is in the list, be sure it is set to Read & Write.  If it is not in the list, press the plus sign at the bottom of the dialog.  In the dialog that opens, select the user name you wish to access the files from and press OK.  Then, be sure that this user has Read & Write access.

If this doesn't solve your issue, please let me know.


How to get execution time of an AppleScript?

Here is one AppleScript solution that you may be interested in.
set startTime to current date

-- Your Code Here

set timeTaken to ((current date) - startTime as string) & " Seconds"

activate
display alert "Script Timer" message "Running This Code Took " & ¬
    timeTaken buttons {"OK"} giving up after 5

This is just a general solution which will return the value in seconds (whole).  This will not return fractions of seconds.


Battery degradation is normal, and seeing that your battery is almost 4 years old has went through 820 cycles, you battery retention is still quite good. Degradation of battery is irreversible.

If you really want to get a fresh battery, you can take it to an Apple store. It'll cost somewhere around $150.

Apple replace defective notebook battery only within 3 years of purchase with AppleCare, so you wouldn't get that benefit.


Is it possible to edit the path and view the folder path in the Finder?

Finder does not have a bar like in the explorer on Windows, but there are some things you can do to achieve similar results.

To have the current path always visible, open a window and go to View > Show Path Bar. This will add a bar to the bottom of your windows which shows the path of the selected file, the same as if you were in search view. You can also Command-Click on the icon at the top of the window to view the path as a menu. As noted by @lhf, copying a file will also copy its path. You can also drag a file from the window or path bar to most places where a file or path is expected, such as open or save dialogs.

To go to a folder based on its path, press Command+Shift+G. This will pop up a box where you can type in a path, and either the current or a new window will open at that path. This also works in open and save dialogs.


No, as of iOS 10.3, the VPN won't connect on demand, if it isn't selected in the VPN settings. Obviously, a non-selected VPN setting is meant to be completely inactive, including its on demand configuration.

I experience the same problem, and am hoping for this feature to be in a coming iOS version, but I am not too positive about it.

However, this answer applies to multiple VPNs of the same type. It seems that if they are of different types, multiple VPNs can be active and even connected at the same time, as described in this question.


Boot 2010 iMac from 2007 MacBook Pro's drive?

It may be possible, but not recommended. While you don't really have to worry about drivers so much - there may be minor incompatibilities. That is if you get it to boot - especially if the MacBook Pro isn't running the latest version of the OS thats after whatever originally came on the iMac.

System updates can be used across machines, but when the install is being done it does check the hardware. You may end up installing iMac specific things on your MacBook Pro, which may cause issues.

You really have two routes:

Buy a new MacBook Pro instead, and an external monitor. Therefore you have the same machine, and can go wherever.
Sync the two machines using items like Dropbox, etc. I understand maybe application differences, but thats a very small issue (almost a non issue). Keep most of your files on dropbox, and everythings always in sync.

I would go (and do use) the second solution. My primary machine is a 27" iMac, but I constantly use my wifes 13" MacBook Pro when going out or not at my desk. I then keep most all active documents in Dropbox and sync between. Both are outfitted with the software I need (in my case, Aperture, TextWrangler, Xcode, etc).


Help with changing user home folder file name

Don't try to swap the short name out. Do make a back up before you attempt any user folder rename. Consider restoring a file or two from the backup if you've never done that.

Instead, make a new user that's a temporary admin.

Use that user to delete the old account, keep the home directory.
Then rename the old /Users/whatever folder to be what you want for the short name.
Then make a new user account with that exact same short name.

You'll have the correct permissions and user at that point and can delete the temporary admin or keep it around if you don't mind.


Accidentaly converted from a basic disk to a dynamic one

Windows' Disk Management has overwritten the GUID partition table with something unknown. This usually only effects the partition table but not the content of your disk (though it seems to be gone)! A proper GUID partition table has to be restored.

The particular obstacle here is: the OP neither has a thumb drive nor a second Mac.

Preparation:

Backup the whole SSD to an external drive using a Linux Live DVD with dd if=/dev/sda of=/path/to/file. The resulting file's size should be 121.3 GB or 113 GiB!
Restart to Internet Recovery Mode by pressing alt cmd R at startup.

The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot into a recovery netboot image which usually is loaded from an Apple/Akamai server.

I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.

Alternatively you may start from a bootable installer thumb drive (preferably Yosemite or El Capitan) or a thumb drive containing a full system (preferably Yosemite or El Capitan). If you boot to a full system and login as admin you have to prepend sudo to execute some commands like gpt ... or newfs_hfs ...!

Modify the GUID partition table

Open Utilities->Terminal in the menubar, enter diskutil list and gpt -r show /dev/diskX (with diskX: the disk identifier of your internal disk (probably disk0)) to get an overview. In the commands below I assume the disk identifier is disk0.

You should get the following listings:

gpt -r show /dev/disk0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34   30666498
   30666532  138412290      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  169078822   67899321
  236978143         32         Sec GPT table
  236978175          1         Sec GPT header

diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                  Apple_HFS                         70.9 GB    disk0s1

# disk1-disk13 are volatile disks belonging to Internet Recovery Mode

Now remove the bogus HFS+ partition:

gpt remove -i 1 /dev/disk0

Add the EFI partition in the partition table:

gpt add -b 40 -i 1 -s 409600 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B /dev/disk0

Now you can either install OS X to a new partiton - without overwriting your old OS X partitions - and try to detect the sizes of the old partitions with appropriate tools (like wxHexEditor) or you can guess the old content of the GUID partition table (with the help of the TestDisk result - not recommended)

Installing a new OS X

This will destroy the content of the Windows partition(s).

Add a new partition in the (old) OS X part of your disk to protect it.

gpt add -b 409640 -i 2 -s 179590360 -t FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF /dev/disk0

This might be superfluous.
Add new partitions in the (old) Windows part of your disk. The first one (i=4) is a new system partition, the second one (i=5) a recovery partition. The new OS X partition starts at ~91 GB and has a size of ~26 GB - which shouldn't affect the old (hidden, "lost") OS X partition:

gpt add -b 180000000 -i 4 -s 50000000 -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk0
gpt add -b 230000000 -i 5 -s 1269536 -t 426F6F74-0000-11AA-AA11-00306543ECAC /dev/disk0

Now you have to format the new 26 GB partition:

diskutil list
newfs_hfs -v "TempSystem" -J /dev/disk0s4 #use the proper partition found in diskutil list. It should have a size of ~26 GB
newfs_hfs -v "Recovery HD" -J /dev/disk0s5 #use the proper partition found in diskutil list. It should have a size of ~650 MB
diskutil mount /dev/disk0s4

Exit Terminal by entering exit and quit it.
Open Restore OS X and install OS X to the partition TempSystem.
Configure the new system and enable internet access. Don't initialize any "unknown" volumes if asked.
Enable the root user
Log-out as admin and log-in as root
Download and install wxHexEditor

Detect the start block and type of your old OS X volume and the start block of your old Recovery HD with wxHexEditor:

The approach is similar as in my answer here: HFS+ invalid number of allocation blocks

Since the start block of a main partition and the size of a recovery partition have fixed sizes/boundaries you can usually calculate the proper GUID partition entries of your old partition(s).

Hint: While working with wxHexEditor don't use copy and paste. Enter everything manually! You might accidentally write directly to your disk.

JHFS+ or CoreStorage partition?

First you have to determine, if you had a JHFS+ or CoreStorage partition at index number 2.

Open the Calculator. Open wxHexEditor. Check that you work in read-only mode ("Options" -> "File mode" -> "Read only"). In the menubar go to "Devices" -> "Open disk device" -> choose the appropriate diskNumber. Probably it's disk0. The disk should have further partitions (disk0s1 - disk0s5). Please try to arrange the wxHexEditor window like in the examples below with straight red lines.

Then hit the "Go to offset"-button (marked with the green circle) and enter 409640 exactly like in the picture below. Sometimes you have to do that twice to jump to the correct sector. Re-check the correct sector by entering the offset (marked red) in the Calculator and divide it through 512.

The first 3 sectors of a CoreStorage partition look like this:

The first 3 sectors of a JHFS+ partition look like this:

If you get a fundamentally different picture stop here.
Where does the Recovery HD partition start?

That's probably the most difficult part because you have to find a string which is not very specific.
Jump almost to the beginning of your new main partition (in your case to sector 179999900)

Then enter "HFSJ" like in the picture below, search for this string several times and make readable! hand-written notes of the different offsets. To restore your old OS X you have to boot to Internet Recovery Mode later and all on-screen findings in the current temporary OS X will be lost!

The reason to search for the string "HFSJ" is that all HFSJ+ volumes contain this string in the third sector of its partition. The magic string may occur up to 40 times cluttered over ~10000 sectors! Sometimes it's really difficult to find the proper sector. A second indicator for the beginning of the Recovery HD is at least one block of 0xFF in the tenth sector (or block(MagicString)+7) of the partition.

You may have two really different results depending on the partition type:

Calculate the sector number of the second last finding. In my example (see picture above) it's 68069452800/512=132948150. Continue searching and calculate the sector of the last finding somewhere in the middle of the disk and surrounded by empty sectors. In my case it was 68069454848/512=132948154 (no picture).
The difference between the two finding is 4 blocks (=2 KB).

This is typical for the boundary between a JHFS+ partition and the Recovery HD. The Recovery HD starts then at the sector of the second finding - 2 (in my example 132948154-2=132948152).
Calculate the sector number of the first finding. In my example it was 67733904384/512=132292782 (no picture). Continue searching and calculate the sector of the second finding. In my case it was 68069454848/512=132948154 (no picture). The difference between the two findings is 655372 (~336 MB)

This is typical for the boundary between a CoreStorage partition and the Recovery HD. The Recovery HD starts then at the sector of the second finding - 2 (in my example 132948154-2=132948152).

With these results you should be able to restore your GPT properly. Quit wxHexEditor. If you are asked to save changes don't save them!

Boot back to Internet Recovery Mode and open Terminal
Enter diskutil listand gpt -r show /dev/disk0
Remove the second partition (the protective FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF type partition):

diskutil umountDisk /dev/disk0
gpt remove -i 2 /dev/disk0

Since the EFI and the Recovery HD usually have fixed sizes you can calculate the start and end block of your main volume.

Calculate the size of the main volume: the start block is 409640.
The end block has been found in the section "Where does the Recovery HD partition start?": 1 less than the start block of the Recovery HD.
The size is then StartBlockOfRecoveryHD-409640.
If you've found a classical JHFS+ earlier the following command should fix partition 2:

diskutil umountDisk /dev/disk0
gpt add -b 409640 -i 2 -s StartBlockOfRecoveryHD-409640 -t 48465300-0000-11AA-AA11-00306543ECAC disk0

If you've found a CoreStorage partition earlier the following command should fix partition 2:

diskutil umountDisk /dev/disk0
gpt add -b 409640 -i 2 -s StartBlockOfRecoveryHD-409640 -t 53746F72-6167-11AA-AA11-00306543ECAC disk0

To rebuild the Recovery HD enter:

diskutil umountDisk /dev/disk0
gpt add -b StartBlockOfRecoveryHD -i 3 -s 1269536 -t 426F6F74-0000-11AA-AA11-00306543ECAC disk0

Now you may try to mount and verify your old OS X volume:

diskutil mount /dev/disk0s2
diskutil verifyVolume /dev/disk0s2

If you get an error mounting or verifying the volume its boundaries might be wrong. Stop here and consult me.
If the verification was successful you may either boot to your old OS X volume and check if it works and delete TempSystem and the new Recovery HD later or delete both immediately. The downside of booting to your old OS X volume first is that you have to boot to Internet Recovery Mode once more to delete TempSystem and the new Recovery HD.
To delete both dispensable partitions booted to Internet Recovery Mode enter:

diskutil list
gpt -r show /dev/disk0
diskutil umountDisk /dev/disk0
gpt remove -i 4 /dev/disk0 # remove the partition starting at block 180000000
diskutil umountDisk /dev/disk0 # remove the partition starting at block 230000000
gpt remove -i 5 /dev/disk0

Depending on the partition type (HFSJ+ or CoreStorage) you may either use diskutil resizeVolume ... or diskutil cs resizeStack ... to expand your recovered OS X volume.

After accessing the remote Mac and inspecting the disk the final probable solution seems to be:

Remove the blocking partition

diskutil umountDisk /dev/disk0
gpt remove -i 2 /dev/disk0

Restore the old OS X partition table entry

diskutil umountDisk /dev/disk0
gpt add -b 409640 -i 2 -s 157173736 -t 53746F72-6167-11AA-AA11-00306543ECAC /dev/disk0

Restore the old recovery HD:

diskutil umountDisk /dev/disk0
gpt add -b 157583376 -i 5 -s 1269536 -t 426F6F74-0000-11AA-AA11-00306543ECAC /dev/disk0

The volume (encrypted with FileVault) had a proper volume structure, the superior disk structure was corrupted though. After backing up the volume externally the disk was repartitioned to one partition and the backup was restored.


Can I safely use my Macbook battery on another MacBook?

Yes, however there are two versions of the MacBook battery, the Energy Star and the non-Energy Star that are incompatible with each other. So as long the pins look the same in his laptop you should be fine

Check out this post on super user for more details on the different pins of the Energy Star and non-Enery Star connections for the battery.

https://superuser.com/questions/186817/my-macbook-is-a-battery-denier


Accidentally removed all commands in terminal

What you did
$PATH is the variable that tells your shell (bash by default) where to look for your commands. It contains a list of directories, separated with colons (:). When you type ls, the shell will search all the directories listed within $PATH (/bin, /usr/bin, and so on) until it finds a file called ls, and will execute that.
Normally, you set a variable simply with
variable="foo bar baz"

...however, that only sets that variable for the current shell -- those changes won't carry over to subshells, which can be important in (for example) scripts. Using
export variable="foo bar baz"

...will allow you to use the variable in subshells.
So, when you use export PATH="~/.composer/vendor/bin/", you are overwriting the $PATH variable -- so when you try to use ls, the shell looks in ~/.composer/vendor/bin/, doesn't find any file named ls, and so fails. What you probably want to do is add ~/.composer/vendor/bin/ to your $PATH, which you can do with:
export PATH="$PATH:~/.composer/vendor/bin/"

You can view the current contents of your $PATH with echo $PATH.
How to fix it
All of this only applies to the current shell (and all its subshells, since you used export), so you can fix the problem most simply by opening a new terminal, as Mateusz Szlosek's answer notes.
If you do want to alter your $PATH permanently, you can put that line at the end of your ~/.bashrc, which is sourced whenever you open an interactive shell. This is standard practice if you want to write a few of your own scripts (on Linux, we use ~/bin for user scripts, but they can go anywhere).


How can I use an iPad with a Retina display as an external monitor?

Update: There are now several competitors, such as Luna Display, as well as native support in iPadOS 13 + macOS Catalina, called Sidecar.

The app Duet Display lets iOS devices connect to a Mac that is running at least OS 10.9. The Mac needs duet software which is a free download and connects via Lightning port to the Mac in question to send the video.

The Mac app is a free download and the iOS app is available for purchase on the iOS App Store.


I use the Desktop > Sort by ...

Snap to Grid option

and Mail stays where I placed it

The sort by name does what you observe.


Any time you have problems starting a mac with an installer - do check these three articles:

Finding your Mac OS X version and build information
Mac OS X versions (builds) for computers
http://support.apple.com/manuals/# - enter your serial number on the page or in place of the # in the URL to determine the exact model of your mac.

In your case - you probably have a MacBook Pro (Early 2011) which will boot from (Mac OS X v10.6.6  Build 10J567) or later. You might see the term "retail disk" which means it has drivers for all Macs that can run that level of OS - this is different from the disks that ship with macs - you almost never can use say a MacBook Air restore disk on a MacBook Pro - they just have the drivers for that one model.

Normally, you could just buy a retail copy but the last 10.6 retail copy I've seen documented is 10.6.3 and is too old. You'll need to order a replacement disk through AppleCare online or via phone (or find someone in possession of your MacBook Pro's install media for Snow Leopard)

Most Apple Retail stores are set up to image your mac from the factory builds through the genius bar and since your mac is so new, I can't imagine the seller you bought it wouldn't bend over backwards to make sure you got a copy of the appropriate disk (they might even have a service desk that could assist you)


Open Finder, press Shift-Cmd-A and look for them
Press Cmd-Spacebar to open the Spotlight search window on top right and type (part of) the name (followed by Enter if found)


How do I delete a previous recipient's email address from Mail?

Fire up a "New Message" from the File menu (or use command + N)
Begin typing the address
When Mail starts to complete the address you want, hit the Return key to tell Mail to go ahead and auto-complete the address
Hover the mouse pointer over the address; a blue arrow will show up on the right hand side.
Click on the arrow, which brings up a drop-down menu. The menu contains several options, one of which is "Remove address." Click it, and it will remove the address from auto-complete.


Any alternative to iOS for an iPhone 3G?

Well you can tried iDroid for iPhone 3g. I installed it to my friends iPhone 3G.
But you need to have jailbroken iPhone.
Click on the following link: www.idroidproject.org
They are having Bootlace application which will installed the iDroid on your phone.
the version I used on 3g, was not very impressive(but these guys are continuously working on it to make it better). Recently I got update from that new version is out.
I personally found it hard daily basis need. but If you are keeping it as experiment its really good.
Its hard for iPhone to have another software as it need complete reverse engineering[Hard Job] to get some other OS work on it perfectly.
But still you can give iDroid a try. Its easy to install and remove if you don't like it.


Share Clipboard with VNC Server on Ubuntu from Mac OS X Mojave

The paid solution JollysFastVNC works. Instead of "Paste", I had to use "Paste as Keystrokes".


I have done this safely before with windex.  Just spray a little on a microfiber or even a soft towel and wipe down the screen.  As long as you do not drown it you will be fine.

I have taken the glass off the iMac before to work inside it and they do a good job sealing the insides from the out.

In general, when cleaning a computer, distilled water is fine as it is non-conductive.


iPhone 6s stuck in DFU mode after downgrading

The short answer is to reinstall iOS 11 - the longer discussion and answer are covered here.

iPhone 7 Plus stuck in recovery mode and can't restore/update even in DFU

It appears either iPhones can't go back at all or they can't go back today with the current version of iOS 10, iOS 11 and/or current version of iTunes. The iPad Air 2 is the only device I've tried to revert back to 10 - that succeeded.

Past that, I could speculate that it's likely this is firmware and/or secure enclave related but I haven't done the engineering work (or seen another release their analysis) yet. For now, I would urge everyone to not install any of APple's current betas on a device they cannot devote to testing and breakage until the presumed fall release. That includes macOS conversion to APFS, iOS, watchOS and tvOS. Apple announced massive changes to these builds and what worked to go back in the past might either not be tested, not functional or intentionally not allowed.


Buying an app on one device; rating from another

If you buy the same app using the same iTunes account from different iOS devices, you can rate the app from any of the devices. Synchronization is done between the device you rated the app and Apple's iTunes App Store.


How can I change the bit rate of MP3s in iTunes 11?

Although quality will be lost when converting the bit rate to 128kbps, one option is to use a combination of a smart playlist in iTunes and Max.

1) Either back up music library or specify a different output directory in Max, and then re-import files to iTunes.

2) In iTunes, create a smart playlist where the bit rate is greater than 128 kbps for example.

3) Select the files from the playlist and drag them to the conversion window in Max. Preferences in Max should be setup so that the output files will be stored in the same location as input files if you want the originals replaced. There is also an option checkbox to "Overwrite existing files" and "Delete source files after encoding". This will take care of the re-naming issue. There is also an option to add output files to the iTunes library under the iTunes 'tab'.

Depending on the size of your library, it may be necessary to convert the mp3 files in chunks.


When I've had to resize BootCamp volumes in the past I would use CampTune from Paragon.

It looks like they added support for Catalina recently, so it should work well for you.

As for removing the BootCamp partition altogether, I've always used the Boot Camp Assistant to do that.

Note: It's recommended that you make sure you've backed up your stuff before adjusting partition settings with either the CampTune, Disk Utility, or Boot Camp Assistant. I've had situations where things go south quickly when adjusting partitions.


Override the close button with hide instead

There are two types of app in OS X.
Document-based apps can have multiple windows, and they only close the window when you click the close button (red cross). The other type of app has only one window; and when you click the close button it quits the app.

Cmd+tab in OS X doesn't behave in the way you are trying to use it; it is simply for switching between open apps in a similar way to alt+tab on Windows (but not identical). It doesn't open apps that have been closed.

It's not the answer you want to hear, but I'm afraid there isn't a way to override the close button globally; it is a part of OS X's AppKit and can't easily be overridden by third-party software.

An easier fix would be not to click close when you only want to hide an app. Try pressing Cmd+H instead, or perhaps minimising the window by clicking the yellow button instead of the red one.


Change all the .txt files to .md files in a certain folder

You can do the following in Terminal:

  find . -iname "*.txt" -exec bash -c 'mv "$0" "${0%\.txt}.md"' {} \;

This will recursively rename all .txt files in the current directory to .md.


Remove Jailbreak and restore to factory settings without iTunes

I believe all of the current jailbreak solutions work by modifying an IPSW file for the device, and flashing that back on to it. To remove it, you would need a clean IPSW and to do that you need to restore it through iTunes. If you don't back it up first (wether that be on iCloud or iTunes), then obviously you'll lose all of the settings, apps, and app data on the phone as well.


Why does iOS require passcode after reboot?

Short Answer

It has to do with how the security subsystem in iOS works.

Long Answer

User's biometric data is securely stored in a mathematical form in special hardware called Secure Enclave on iOS device. This data is not readable and never leaves the device. The Touch ID/Face ID subsystem do not have access to it.

When the device is locked, the Data Protection keys which are held in Secure Enclave are wrapped with a key that's given to the Touch ID or Face ID subsystem inside the Secure Enclave. When an unlock is attempted, if the device detects a successful match, it provides the key for unwrapping the Data Protection keys, and the device is unlocked.

But, when the device restarts, the keys required for Touch ID or Face ID to unlock the device are lost; they're discarded by the Secure Enclave.

Hence the device passcode is required to authentication the user.

To get a better sense of the iOS security design, you can refer to the iOS Security Guide, which is updated by Apple after major updates to iOS. The contents in the answer are derived from iOS Security Guide for iOS 12.3 released in May 2019.


Typically, this is restricted via MDM profiles. To check, open the settings app and inspect your profiles.

Tap settings app
Tap general
Scroll content up if needed to see Profile (above Regulatory and below VPN)
Tap in to each profile you have and inspect what it restricts.

If you have no profiles, I believe the profile entry is hidden so you might need to look for another answer if you don’t have a profile restricting this.


2011 i5 27" imac wired keyboard does not power up

Plug out the iMac (from power) for 15+ seconds to reset SMC.


Time machine backup or File Vault encryption of encrypted disk image

If you encrypt something once, you can't weaken it by encrypting it another time. You can strengthen it, but not very much that it makes a big difference. Most attacks are brute force password Crack attacks, on both filevault and the disk image, because there is the highest chance for the decrypter to win. So you harden the step of decryption because you encrypt twice, but you don't harden it much. but btw, best anti brute force tactics are using algorithms like PBKDEF2 instead of simple SHA. but that's something only apple can do. and I expect from them to do something like that.


iOS Simulator installed apps location in Xcode 4.3.1

On my computer, it's ~/Library/Application Support/iPhone Simulator/5.1/Applications

Simple NSLog(@"%@", [[NSBundle mainBundle] bundlePath]); did the trick.


Macbook charge cable doesn't work in my macbook. Macbook #2's cable works in my macbook. Why isn't my macbook able to charge with my cable?

I would suggest swapping the chargers and avoiding the problem.

The original charger may not have been the correct rating - had this before where they charge but so slowly or not at all.

Macs and chargers do check what they are connected to so smaller chargers don't try to charge the larger batteries as the chargers have different ratings 60W, 85W etc...


Should I turn my iPad off to replace the MicroSIM?

If by "3g chip", you are referring to the iPad MicroSIM card, then no, you do not need to power off the device to switch it out. However, if you're referring to the actual 3G radio inside the iPad, my advice is to take it to an Apple store and have the repair done by an Apple technician, as operating on the device yourself is likely to void the warranty.


macOS Bluetooth menu bar show BLE Devices

This is expected behavior.

BLE (Bluetooth Low Energy) devices aren't broadcasting at all times like classic Bluetooth devices, they respond to "advertising packets" sent by the scanning device (your Mac).

  BLE devices are detected through a procedure based on broadcasting
  advertising packets. This is done using 3 separate channels
  (frequencies), in order to reduce interference. The advertising device
  sends a packet on at least one of these three channels, with a
  repetition period called the advertising interval. For reducing the
  chance of multiple consecutive collisions, a random delay of up to 10
  milliseconds is added to each advertising interval. The scanner
  listens to the channel for a duration called the scan window, which is
  periodically repeated every scan interval.

When you hold Option while clicking on the Bluetooth icon, you're telling it to "send the advertising packets to discover the BLE devices".


Solved. I just had to boot into recovery and run

diskutil cs unlockVolume C6735B8F-XXXX-XXXX-XXXX-XXXXXXXXXXXX
diskutil cs resizeStack C6735B8F-XXXX-XXXX-XXXX-XXXXXXXXXXXX 0g

The only strange thing is that Disk Utility shows a blue and white rectangle to represent the drive (unless this is simply showing used space):

Thanks goes to this post: Resizing or expanding a CoreStorage volume


AppleScript in OS X 10.10 to Resize Safari window and take Screen Shot of that window and repeat with multiple sizes

I only got a partial solution, which works apart from a few small issues.

First of all, you can not store the URL in the filename (due to slashes and special characters) so you'd need to specify the Website name.

But more importantly, so far the CSV import is not implemented. Is CSV really a hard requirement, or could you get the list of URLs in a different format? If not, please update your question with exemplary lines of your CSV file. I'll work on it and update my answer as soon as possible.

on open_url(theUrl, theUrlName, x0, y0, xSize, ySize)
    tell application "Safari"
        open location theUrl
        activate

        set bounds of window 1 to {x0, y0, xSize, ySize}
        set windowID to id of window 1
        set the_state to missing value

        repeat until the_state is "complete"
            set the_state to (do JavaScript "document.readyState" in document 1)
            delay 0.3
        end repeat

        set theFolder to POSIX path of (path to desktop as string)
        set shellCommand to "/usr/sbin/screencapture -l " & windowID & " " & quoted form of (theFolder & "Screen Shot " & theUrlName & " " & xSize & "x" & ySize & ".png")
        do shell script shellCommand

    end tell
end open_url

set resolutionList to {{640, 480}, {1024, 768}}
set siteList to {{"http://www.apple.com", "Apple"}, {"http://www.google.com", "Google"}}

repeat with resolution in resolutionList
    set xSize to item 1 of resolution
    set ySize to item 2 of resolution
    repeat with theSite in siteList
        set theUrl to item 1 of theSite
        set theUrlName to item 2 of theSite
        open_url(theUrl, theUrlName, 0, 0, xSize, ySize)
    end repeat
end repeat


MacBook Pro won't start since deleting various files

Use single user mode to remove launchd.conf


Where are the alert tone audio files located in OS X?

Alerts are located at
/System/Library/PrivateFrameworks/ToneLibrary.framework/Versions/A/Resources/AlertTones/
Ringtones in
/System/Library/PrivateFrameworks/ToneLibrary.framework/Versions/A/Resources/Ringtones/

If you're looking to add your own - you can't.... or rather you can but they will be ignored.

I've found the best method to add my own is to replace one of the existing sounds with one of my own, renamed to match.
See https://apple.stackexchange.com/a/169907/85275

For completeness...
System alerts - Sosumi etc - are in /System/Library/Sounds/
User sounds are in ~/Library/Sounds/


Restore from "iOS7 backup" to an iOS6 phone

You can edit the info.plist file. I successfully restored my backup to 6.1.4. Edit the build version to your ipsw's build version and product version to the version you want to downgrade to. Using plist editors in windows are highly recommended.

Windows: C:\Users[Your username]\AppData\Roaming\Apple Computer\MobileSync\Backup[Your UDID]

Mac: ~/Library/Application Support/MobileSync/Backup/[Your UDID]/

After that just restore the backup normally. If an error popped up at the end, ignore it. Hope this helps.


How do I encypt Time Machine with Mac OS X Lion?

Time Machine does have a checkbox to encrypt the backup, but it will read, encrypt, and write every block of the disk - which can take a long time. If you are using a new drive it is much faster to encrypt it with Disk Utility first.

The encryption is handled by the OS – not Time Machine. Lion will prompt for the password whenever the disk is attached. Once the password has been entered it looks like any other disk to Time Machine.

n.b. you will not be able to use an encrypted disk with older versions of OS X.


iPhone 6 stuck in recovery mode and need to download iOS 11 beta 1

If you need to switch out of recovery mode, use ReiBoot (www.tenorshare.com/products/reiboot.html). FOr .ipsw just find any .ipsw file adequate for you iPhone though. You need to look the number of your iPhone, for instance, my iPhone is iPhone 5s, hence it is iPhone 6,2. Then Use option button when you click on restore in iTunes and it should load that .ipsw image, so THAT operating system. Again, if you get stuck in recovery mode, use ReiBoot. It saved me countless hours of retrying and restarting my iPhone.


Yes, there's a command for this, just type:

open .

open is the command line equivalent of double clicking a file or directory in the Finder. open either starts the standard application associated with the filesystem object provided as argument or, when used with option -a , the application specified.

open has some other interesting options, see man open for more information.


iPhone iOS7 hangs and requires restart when Switching between apps

It's a bug. It happens to me on occasion and I've heard that it's not an isolated occurrence.


I just wanted to say that I have exactly the same problem. My music file is 2:10 and in the exported movie it always stops after 1:04... Maybe it's a bug? A possible workaround could be to add the audio file in imovie.


Mac desktop says "Unable to download App" but the App is downloaded on the iOS device?

I'm on macOS 11.3 Beta (20E5172i) and have the same issue. I've bought an app on my iPhone and my MacBook appears to subsequently try to download that app. I get these messages whenever I download a new app on my iPhone.

I found this setting in the macOS App Store Preferences and disabled the automatic app download, but don't know yet if this fixes the issue.


Can I remotely access an iPhone from a computer overseas?

I would recommend the TeamViewer app.

Both side have to have it (you and your Mom).

You would download the version for your PC

while your Mom can use the iPhone version.

Here is the download site for all devices and OS.

Once installed your mom has to share her Login and the password with you.


EFI is a contract that specifies how the hardware can find and start the software and vice versa.

Rather than have to build custom code into each new hardware device and each new software release - a standard was agreed upon and the specification was initially written by Intel.

Then a company like Apple decides to adopt a certain version of the EFI specification (perhaps even using specific implementations of the spec in hardware - either making it's own chips or adopting another company's implementation) and possibly extends/modifies the base implementation to meet Apple's needs.

From a high level, boot.efi is part of the software end of things that help shepard the hardware boot and handoff to the OS to let it run (in this case OS X 10.8.4):

The wikipedia article below is the source of the above image, as well as contains some good introductory details on EFI and Apple's use of it since 2006. Apple covers more details about their implementation of EFI and the boot process in the kernel programming guide:

http://en.wikipedia.org/wiki/Extensible_Firmware_Interface
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KernelProgramming/booting/booting.html


How do I perform a standard erase on MacBook Pro Retina SSD?

You can't perform an erase because you have booted from the SSD.  Hovering over the icon, will tell you why

To erase your SSD, boot from recovery or from a bootable USB then erase.  If you are sending it for repair, just create another admin account and delete your user profile.  It's much easier and just as secure.  The moment you finish deleting your files, they will become unrecoverable


How do I get readable system information at the command line?

You can check data types by listing them with system_profiler -listDataTypes and then use them to get specific info. For example to get info about chipset & RAM run system_profiler SPHardwareDataType.


Why am I getting the error "MobileMe does not sync with Microsoft Exchange Server"?

The Outlook configuration is precisely what matters here. As per the error you got: MobileMe does not sync calendars with Microsoft Outlook when Outlook is configured to use Microsoft Exchange Server.

Calendar syncing takes place via calDAV. The account settings are specifically IMAP.

Unless there are custom profiles or the Outlook PST file is damaged, I'd suggest simply removing the account from Outlook, and signing out on the MobileMe Control Panel, then setting it up fresh.


Wrong contact synchronisation with 2 iPhones

You can try to see if your phone had saved a backup to your computer upon last sync. This would mean restoring the phone from backup, which isn't always ideal depending on the situation.

Unfortunately, it's not easy because iCloud was likely left enabled on the old phone, which synced them up to the cloud, and then down to your phone.

Else, here is a suggestion provided from the Apple discussion forums:

(BEFORE YOU BEGIN, MAKE SURE YOUR ICLOUD ACCOUNT IS SIGNED OUT OF THE OTHER PHONE!!!!)

Ensure the device is connected to your local network.
Start the restore from iCloud back up.
Allow the devices settings to restore (watch for the confirmation of completion).
As the apps begin to restore pull the connection to your router WAN port (the one that goes to the telephone point/cable modem).
Wait for the time out confirmation.
Navigate to settings > iCloud and turn off contact syncing (keep contacts when prompted).
Reconnect the router to the internet and let the restore process complete.
Delete any iCloud contacts from iCloud.com on a computer.
Navigate to settings > iCloud and turn on contact syncing (merge contacts when prompted).


Trying to Find Photos on Harddrive from Photos App

Finding the Library

Pictures from photos are usually in a single big archive called Photos Library found in a user's Pictures folder. Go to the root of your hard drive (the root is what you see when you open it, before opening any folders inside it), and then open the following directories:

Users > (your user name) > Pictures

The library should be there.

Opening the Library

To open it, open Photos. The icon usually bounces into its place the Dock while Photos is loading the pictures, and then the window shows up. You will want to hold the option key before the window shows up (I usually do this by holding the option key when I click on the Photos icon). This will tell Photos you want to open another library, so instead of showing you the usual Photos window, it will open something like this:

Click on that Open Library... button and find your old library as described above.


Why did third party app notifications all revert to tri-tone, and how can I fix it?

This is apparently a bug in iOS 10, based on a page I read the other day that I can't find now. For me, it's resolved every time by doing a hard reset on the device (hold Sleep + Volume Down until the Apple logo appears). I had this problem on my iPhone 6s, too, for the couple days it had iOS 10 on it before I got my 7.


Is it possible to hack the "Correct spelling automatically" setting in OS X to emit a sound when correcting?

Not exclusively, but there is a tool that will mark spelling and other changes with a sound.

As described in this answer, it is possible to detect the type of text field change that autocorrect uses programmatically. A sound is issued whenever any of the text changes - but this results in a lot of false positive "sounds" when autocorrect did not happen. A proof of concept app was released August 2011, so I hope it is still fully functioning. Direct download link: http://cl.ly/9CIZ. The app works in the background, and has a few options, such as the sound to be played. The author of the tool states:

  Again, this doesn't work perfectly and has a couple of bugs but it
  should work 99% of the time!


I can not reproduce your problem and it is clearly not normal behavior.

So suggest for you to:

Re-index Spotlight database. It is a long process, but in background, you can keep using your computer meanwhile.

From the Apple menu, choose System Preferences.
Click Spotlight.
Click the Privacy tab.
Drag a folder or an entire volume (your hard drive) to the list. If prompted for confirmation, click OK.
Remove the item or volume you just added to the list by clicking it and then clicking the minus (“-“) button.
Close Spotlight preferences.


Can I change the WiFi card on Macbook Pro 17" (Early 2011)?

The short answer is Yes.

It's actually one card for both Airport/Bluetooth connectivity and the part numbers you can choose from are 661-5867 (Bluetooth 2.1) and 661-6510 (Bluetooth 4.0). These cards can be used in multiple MacBook Pro models, including all of the early 2011 models.

Be careful not to make the mistake of getting the one suited for the Late 2011 17" model, as this is not the same - although the 13" and 15" Late 2011 models do use the same card as your MBP.


How do I get the path to a DMG (disk image) file given the mounted volume path?

A somewhat pedestrian way would be to retrieve the name of your DMG file from the output of hdiutil and then search for it, e.g., via

hdiutil info -plist | grep dmg | sed 's/<string>\([^<]*\)<\/string>/\1/' | xargs basename | xargs mdfind -name

You may need to modify the grep dmg part to be smarter if you have several images mounted, or you loop through all DMG files reported by hdiutil, e.g.,

for F in `hdiutil info -plist | grep dmg | sed 's/<string>\([^<]*\)<\/string>/\1/'`
  do basename $F | xargs mdfind -name
done

However, none of the above takes your mount path as input. To do that, you could add a sed command in the pipe that extracts the paragraph of interest, e.g.,

hdiutil info -plist | tail -r | sed -n '/\/Volumes\/MOUNTNAME/,/dmg/p' | grep dmg | sed 's/<string>\([^<]*\)<\/string>/\1/' | xargs basename | xargs mdfind -name

Perhaps it is also easier to work on the direct output of hdiutil info, without the -plist flag.


From the Finder, select Finder->Preferences (or press CMD-,) to access Finder preferences.
Click 'Sidebar' tab

There you can select which items appear in Favorites, Devices and other sections in the Finder sidebar. As far as I know you can't create additional separators within these sections, but you can drag/drop items in the sidebar to reorder them.


My keyboard isn’t working and I can’t log into my laptop

Plug in any USB keyboard to the USB port.

Newest MacBook Air use USB-C connectors (ThunderBolt 3)
The rest use USB-A

Both work with any PC keyboard or Mac keyboard or whatever usb keyboard you might have around.

Hopefully the liquid damage didn’t break the USB controller or the system board. Your keyboard might be fine and the problem is no keyboard would work. If you reset your SMC once and external keyboard do not work, send your Mac in for data transfer or repair.

Here is a masterpiece on keyboards written by one of our resident experts.

Keyboard key stuck or not being recognized; how to fix


I came across an apple forum when googling your problem in which a person had a same problem:

  Eric's right, these adapters do get a bit hot and can make some sound, yet that sounds much too hot for safety. An AppleCare man told me last month that they were concerned to "capture" adapters that were getting too hot, and promptly sent me a new one in a box in which I was to put the problem adapter and return to them (all paid by Apple of course.)
  My concern then was mostly with the strange sounds it was making, seeming to exactly mirror the CPU whine and activity sounds from my Macbook. Since the new one also did this, when I mentioned this at an Apple Store I was visiting the Genius offered to give me another new replacement. This one seemed silent at first, though on closer inspection in the quiet of home I found the mirroring effect was still present in the third adaptor, though a bit softer. As it happened I've ended up with a replacement Macbook because of another issue, making it four adaptors in my experience. All of them have gotten warm, and a bit hot sometimes, and all have produced the same subtle sounds of the CPU activity. I believe these sound effects result somehow as a result of the magnetic power cord connection, which sits very near the CPU. Unfortunately both my Macbooks have had the CPU whine (a high-pitched buzz) and this then gets reproduced by the adaptors.
  So, I'd also recommend you call Apple or take it to an Apple Store for a replacement adaptor, which should not get as hot as you describe, but may indeed make some strange-seeming sounds.

Hope this helps.


Where can I get a signed iOS 8.2 .ipsw file for iPhone 4S?

Apple stops signing the old OS within a week or so of a new one coming out, for all devices that can support that OS.

After that, there's no way to go back, unless you saved your SHSH blob from the prior version's installation.

You should be able to get Xcode 6.3.1 from Apple Developer or update from the App Store.


This app is a free replacement for the standard battery menu bar item, and it includes the ability to set notifications (in Notification Center) when the battery hits certain percentages.

Alternatively, if you want to rig your own solution, you can get charging status and percentage from running pmset -g batt in the shell. You'd need to poll it rather than getting notified however. If you're comfortable with programming, the IOPowerSources API looks like it can do notifications when the battery/charging status changes, but obviously that's more involved.


A simple web page using significant amount of memory, can it be some security issue?

Usually it’s not a security issue. That warning usually comes up due to the programmers behind the page making a mistake, such as a memory leak, which makes the page use an ever increasing amount of memory. It might of course also be a page with an application that simply requires a lot of memory - that’s not usually the case on Stack Overflow though.

Another reason for the warning could be that you have a browser plugin or other software installed (such as antivirus programs) that manipulate the page to insert code, and they then have a bug that results in high memory use. In some countries it could also be an ISP inserting code into pages - but that would usually require you accepting/installing certificates on your computer in advance.

Finally it might of course be related to something with security. However there’s nothing that indicates that here. Usually programs that try to exploit your computer wouldn’t use huge amounts of memory to avoid rousing suspicion. The only way to tell would be to examine the actual page source of the page you’re currently viewing.


Can I download a free app from the App Store without a credit card?

To get an app for free (if you didn't get the choice to pick None as payment option) you should open your installed ITunes program. Then from within the program go to ITunes Store and pick any free app and try to buy it (Google Translate or some other one). It will tell you to login/register into ITunes. If you create account from there you will have a choice to pick None as payment option.

This worked for me several times for my customers.


Apple Store Connect: Access to Certificates, Identifiers & Profiles grayed out

You need to assign the user the Developer role before you can give access to Developer Resources. You do that by checking the "Developer" checkbox in your screenshot.

Note that if you have enrolled as an Individual, as opposed to as an Organization, you’ll not be able to add additional developers - and this you cannot give others access to the Developer Resources.


Does iOS app developer have access to my iCloud billing info?

No, the iOS app developers do not have access to your billing info.

When an app is sold through the App Store, the third party developer does not get access to the credit card number, first or last names, your address nor the iPhone's name.

As a consequence of this, the developer cannot track reinstallations through the means of the above mentioned data.


How to fix Lion Mail.app that keeps asking for keychain password?

Quit Mail.  Open Keychain Access (Applications > Utilities).
Select your Login keychain.  Run Keychain First Aid (Keychain Access menu > Keychain First Aid).

Put in your password and run a verify.  If there's any red, select repair and run it.  Run another verify to make sure the errors are fixed.

Delete all of your mail entries.  In the search bar, try putting in things like "pop," "imap", "gmail", even your email address.  Quit Keychain Access.

Launch Mail.  Get into the preferences (Mail menu > Preferences > Accounts).  Fill in the passwords for each of your accounts.  Also, go to the SMTP/Outgoing server menu, and edit.  Fill in the passwords there as well.  Close and save.  Exit mail.

Launch mail.  Make sure it retrieves mail properly.  Send test emails to make sure it sends properly.

Done!


How to determine what type of SSD drive is supported for a Macbook?

Jfw is right, until now apple only supports their official SSD. While there are some ways to open SSD trim support on 3rd party SSD, when I used these solutions I encountered some weird problems.

Besides the trim support problem, some capability problems can be solved by updating SSD's firmware.

I currently use an Intel 320 300g SSD and installed lion without trim support, it has been working wonderfully.

Before I bought the Intel SSD, I had considered OWC's products and I think their products are good on capability, however since I am live outside of the United States I didn't choose it.


My iPhone screen suddenly goes black with circle waiting animation at the center. I forced restart it. And now it can't get past loading screen

I think a restore might be in order.

First I would plug it on a Mac or PC with an USB cable and do a full encrypted backup. I suppose iTunes will still be able to back it up, but it might require you to authorize its access on the iPhone itself, in which case you'all have to rely on an iCloud Backup restore after the software restore.


Where is Google Voice and Video installed?

You've already looked in the standard spots for application installs (Applications folder, Utilities folder,etc...).

However, if you've installed Google Voice and Video (aka Hangouts), you won't find an application to run (on OS X or Windows). This is a plugin for your web browser - not a standalone application.

Read here for details - but in short, you should run the installer (you've likely already done this), then quit and restart your web browser (Safari, Firefox, or Chrome - whichever you use). The features of Google Voice and Video will then be functional, and you can then use video chat with other Google Video users.