Can I call a phone number from the Terminal?

You can with open "tel://+316123456789" start a phone call process - but you still need to click on the "Call" button to make the call.

To do so, you may also simply press ↩. To automate everything via Applescript:

open location "tel://+351918306031"
delay 2
tell application "System Events" to key code 36


The short answer to your question is: Select each block and apply the new style.
But once we are talking about more than a few blocks of text, it's easier to change the current style than to apply a new style.
To do that:
When you have the format sidebar open and you make format changes to a defined style (in your case "Default"), the name of the style in the dropdown menu  at the top gets an asterisk ("*") and an "Update" button.
When you click that button, the style gets updated and through that all the elements that use that style get updated as well.
If you want to discard the style change instead, just select the name of the style again in the dropdown.


The sleep image file gets created to store the contents of RAM, so you should be able to make things fit by checking the math carefully.

How OS X and iOS report storage capacity  - http://support.apple.com/kb/TS2419

So, once you've made sure you don't have errors in powers of 2, you can make a small allowance for the filesystem overhead and try using a partition to store this one file. You will want to also consider that the OS will take control of this file on a very low level and perhaps cause the file to be written to the root filesystem even if you take pains to properly mount the auxiliary filesystem. Also, since swap files get written to this same directory, your plan might cause unintended consequences, so be sure you have a good backup and can recover any file should the machine run out of space for /private/var/vm and freeze out whatever app you have running.


Apple Watch message: "Sign Into Complete Purchase"

Here is the fix!

Open your Apple Watch app on your phone and go to “My Watch”
Go to Settings/General & turn off Automatic App Install.
Now go back to “My Watch” and scroll to the bottom to see “Available Apps”.
Any apps you see that are trying to install are the culprits causing the notifications!
Delete those apps from your phone, and if necessary reinstall them with your Apple ID used currently.
Turn Automatic App Install back on if necessary.

You now won't receive any more of those annoying notifications!


iTunes Connect: Can I have one bank account for every currency I receive?

No you can't, and no that is not what happens when Apple sends you a payment, so there's no reason to do it.

Apple will send you a single payment in USD, regardless of the currencies used to buy your app.


Is iCloud Document Sync "delta sync" or "full file sync"?

Delta. It splits this intelligently into chunks and only updates the relevant chunks using Rabin fingerprinting.

You can see this in Apple's WWDC iCloud presentation, and
slides.

A pretty good description of this chunking can be seen in Siracusa's Lion review, however the review describes this process in terms of document versioning, but the fundamentals are the same.


Show/Hide hidden files without restarting finder?

On macOS Sierra, version 10.12.4 and above, you can press ⌘+Shift+. (period), to toggle hidden files inside of Finder.

Late edit: This currently works on Mojave too, as of b5, 18 Aug 2018.


No bootable device -- insert boot disk and press any key

It's possible the drive is failing. Before doing anything else, backup your data. Holding the option key brings up the startup manager which shows any available volumes.

Do you have multiple drives connected to your computer? Maybe it is trying to boot using the wrong drive.


Can not run ack after installing it using MacPorts

MacPorts, by default, installs into /opt/local/, judging by the screen shot ack should be in /opt/local/perl/p5-app-ack/ if you used the default install path. Make sure that path is in your $PATH environment variable.

To add it to your path edit your shell config file (probably ~/.profile or ~/.bashrc) and add or modify the following line.
export PATH="$PATH":/opt/local/perl/p5-app-ack

I don't use MacPorts for ack, I install it manually with the following command from the ack install page.

curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3

This will install ack into the $HOME/bin/ folder as a single large perl file and I did not have to modify my $PATH variable.


Is there a Quick Look plugin to view the text contents of any file with any extension

Is there a Quick Look plugin to see the contents of any text file with any extension instead of just showing the icon.

The short answer is “no.”

Can you develop quick look plugins?  Of course you can!  However, things fall short with the requirement of any text file with any extension.

Files types and their associations, like what to open it with, what to edit it with and even what icon to show are all handled by LaunchServices.  The problem with “any file/any extension” is there’s no way to associate that with a particular quick view plugin.  For example which plugin would be associated with the shell script I wrote called foobar and the binary data file barfoo both with no extension?  Not all “no extension” files are of the the same type; in your case, text.

You can get more information regarding LaunchServices from the Development Guide


When using Sidecar on MacBook Pro, built-in display is tinted

I had the exact same problem. Disabling True Tone should fix this.

I believe this is a graphic bug at the moment.


not enough documentation

Umm...Welcome to Automator - Apple Support

This is also a great link

There is so many different ways of doing what you want.

Option A: Shell Script (Does in background)

Option B: Open Terminal Window

A

Option 1: Pure AppleScript (Using /Applications/Utilities/Script Editor.app)

do shell script "defaults write com.apple.finder AppleShowAllFiles YES"

Option 2: Pure Automator

Option 3: Automator + AppleScript

B

Option 1: Pure AppleScript

tell application "Terminal"
    activate
    do script "defaults write com.apple.finder AppleShowAllFiles YES"
end tell

Option 2: Automator + AppleScript

(A3 with the in B1)

For the toggle hears the AppleScript Code to be used in any option of your choosing:

set a to (do shell script "defaults read com.apple.finder AppleShowAllFiles")
if a is "YES" then
    do shell script "defaults write com.apple.finder AppleShowAllFiles NO"
else
    do shell script "defaults write com.apple.finder AppleShowAllFiles YES"
end if

Export Options

Script Editor:

File>Export

File Format: Application

Automator:

Choose Application when creating a new document


Get the Homebrew* package manager.

Install vim formula (as of today it is Vim 8.0.2) with:

brew install vim

Check the messages it produced for any manual actions you might be required to perform, although with Vim formula there should be no issues.

One more thing you should do is to check your environment variables for those that might contain a full path to the system vi/vim, like EDITOR and update them to use the /usr/local/bin/vim.

If you had Homebrew already installed, before running the install command, update the local repository with:

brew update

If you had Vim already installed with Homebrew (or if in the future you'd like to upgrade the Vim version), then run:

brew upgrade vim

* Homebrew is an open-source, actively maintained package manager for Mac OS X. It keeps the packages in /usr/local/Cellar folder by default. It stores links to the executable files /usr/local/bin and puts this directory ahead of system directories in the PATH environment variable. Your /usr/bin/vim can thus be left alone.

Homebrew will also take care of all the paths and dependencies for installed packages.


New Mail client does not keep correct coloring of mail

The problem was with the transparency of the terminal window. The formatting kept the transparency value but the recipients' mail client could not handle this information.

I duplicated my terminal profile and set the background opacity to 100% and marked the new profile under Copy special to use that.

Now it works as I wanted


Some "sources" in Cydia are empty - how to get the content?

Aha, it turns out that the sources have moved. They're no longer located as specified in Cydia, so of course Cydia can't find any content.

The solution was to remove the faulty sources and add them again by following these instructions: http://www.appleiphoneschool.com/how-to-add-a-source-to-cydia/


family sharing - no apps are showing on other family member devices

I've had the purchases tab take 30 seconds to 30 minutes to render in the past. The stores are extremely busy and I'm seeing higher error rates than normal for updates, downloads and such.

I would say, give it 24 hours after you set up the family sharing for things to get sorted out before contacting Apple.

You should also get an email notification from Apple when each person you invited accepts the sharing of apps portion of the plan. They have to opt in to share so everyone should get emails when people join and leave the party, so to speak.

If you want to reach out to Apple - use the iTunes Store Support team as they handle accounts, purchases, billing and such.

https://www.apple.com/support/itunes/


Unless I am mistaken, this double screen icon is the screen-sharing indicator. This is what it looks like for me in Sierra.

I can't tell you why its blinking or disappearing, but if you can click on it, you should have the option to see which IP address is connected, and an option to disconnect them. If your computer is managed by someone/some entity (work or school), I would go to their IT office and ask them why this is appearing or if they know anything about it.

If you own and are the only person in control of your computer, then I would suggest you change your User password immediately. Then log out, log back in with the new password. If the icon reappears, then comment below this answer as it might be a virus.


Mirroring iPhone 4 (iOS 7) to Mac without AirPlay Mirroring

I don't have any experience with jailbreak, but I think one possible solution would be to see if you can run a VNC server on the iPhone.  VNC is a screen sharing protocol: the server runs on the machine whose screen you want to view and control, the client runs on the machine that you want to sit in front of.

I did a Google search for "iPhone VNC server" and came up with this link which describes how to set up Veency (jailbreak required) to do this.


Don't uninstall the old php as it is /usr/bin and so supplied by Apple and so might affect the OS and Apple might reinstall it as part od an OS upgrade.

The binary install of php puts php in /usr/local/bin/php

To use it either use the full path or alter your PATH environment variable to have /usr/local/bin before /usr/bin


iCal/Calendar and GMail - constantly errors and problems

The last post on the first page of this discussion states it is a known Google problem. (I haven't personally verified its accuracy, though).

Quoting @Kjell-o:

  Just so everyone is aware. The issue is indeed in Google's system, not in iCal. They are working on a solution. I received this directly from their enterprise support. If you look at the calendar logs, you'll see a ton of error for the calendar service - I'm getting ones that say, premature EOF.

  On another note, the google forums say that the shared calendars no longer act as "delegates" but as normal calendars and as a result they show up in the regular list. This may be the "duplicates" that some people are receiving. If this is you, uncheck the delegates as those will be superflous and most likely the cause of the 404 messages.


Perhaps your Carrier Network Settings have been corrupted or altered in some way. In this case, the phone would be searching incorrectly for the carrier towers, or trying to connect and continually getting refused due to a setting error.

Apple provides details on checking and manually editing the settings, but getting them wrong can cause problems like you are experiencing.

You can also restore your phone via iTunes, which will wipe the iPhone, reinstall iOS, and redownload the carrier settings. After confirming the restore worked, you can then restore from a backup to get your apps and settings back.


Notification center documentation for applescript

Script Editor app has a searchable library. Open that under the window menu and then select the Standard Additions bundle. If you search for the term notification, you'll see it's defined under User Interaction:

display notification [text] : the body text of the notification
  [with title text] : the title of the notification (default is the name of the calling application).
  [subtitle text] : the subtitle of the notification
  [sound name text] : the name of the sound to play

But Notifications Center doesn't have any windows. Are you trying to count all windows for all applications?

To be clear - here's the notification part setting aside what a window count might be:

on run
    tell application "System Events"
        tell process "Notification Center"
            set theseWindows to "a b c"
            display notification (count of theseWindows)
        end tell
    end tell
end run


Can I Sync Two Macs With iCloud Instead Of MobileMe?

Yes as long as the Macs are all running Lion, there currently isn't any check that enforces the "you need an iOS device to get iCloud started".

Just head on over to https://www.icloud.com and follow the instructions. The guides and tutorials that are linked as part of the signup process are fantastic and answer all of the questions you have about the service.

If you are not ready to start, you can see what the setup looks like on a Mac (or PC or iOS device) from How to set up iCloud.


HD failure - recovery possible if system can't see drive?

Before trying a data recovery company, you can try:

putting the disk in another enclosure, in case the problem is in the SATA/USB bridge
starting the Mac on another OS, such as a Linux Live DVD, which comes with other disk utilities, including HFS+ read/write.


A single click on my trackpad occasionally acts like a double click

Try disabling tap to click in the trackpad settings. If you're MacBook has the new vibrating force touch trackpad you could try to disable the force click and haptic feedback. Otherwise it may be a hardware issue.


iCloud notes not syncing from mac to iPhone

Deleting the app on my phone and re-downloading worked. I'm not sure why, since I didn't actually "delete" the app, but rather "removed" it. Oh well. It works now.


Inflated Music Size on iPhone when Syncing

I have found that it is related to iTunes Match. If you turn off iTunes Match on the iPhone, the iPhone will no longer register as over capacity.


Carbon Copy Cloner shell script for ejecting the source drive

It's much simpler for the source, the following should be sufficient:

#!/bin/sh
diskutil eject "$1"

Mike


MacBook applications say "no photos" but they are on the iPhone

Turning it off and on again
The first and easiest solution was to restart the iOS device (I found this while trying the second solution). Then both Image Capture and Photos were able to see and download the photos and videos, although Image Capture gave an error 50:

I needed to restart the device to import a few remaining photos. Image Capture is still unable to delete photos from the device after multiple attempts: a gray box says "Deleting..." and it hangs. I am now backing up the data, restoring the firmware, and restoring the data.
Using the cloud
I set up iCloud on the iOS device and on the computer to share photos: Settings > iCloud > Sign in, then when asked for an iCloud passcode I entered the lock screen code (hint from discussions.apple.com, and I also had to enter the login password of the computer.
The media did not sync immediately, so I went into the iOS Photos application and realized it had hung, so I restarted the device and then Image Capture started working again. Nevertheless, iCloud photos did not sync the photos from the device.
Other alternatives are the Dropbox and Google Drive apps on iOS. Because I got the photos from the first solution above, I did not try these.
Update (September 2020): After one year of syncing photos with Image Capture and deleting them manually, I have toggled the delete behavior back to normal with some unknown reason. Now when I sync photos, they are deleted from the device. It may be due to the same problem, which caused the behavior again and toggled the problem back to normal. What I did this time was to unplug the cable during transfer of videos, then no photo would transfer and I was unable to delete photos on the device and a new photo would have the button "All photos" greyed out (even though I still had those videos), I restarted the device and now it is working again.


How to view an app's user license agreement?

The way that the license agreements appear differs between developers.

Here is an example of it being contained at the links at the bottom at the page of the app in the app store (iOS):

On the Mac, it is on the left sidebar:

Another one with the links in the description:

If an App is available through the App Store and it doesn't have a EULA, then the default App EULA in the App Store Terms and Conditions will apply, which is:

  Apps made available through the App Store are licensed, not sold, to
  you. Your license to each App is subject to your prior acceptance of
  either this Licensed Application End User License Agreement (“Standard
  EULA”), or a custom end user license agreement between you and the
  Application Provider (“Custom EULA”), if one is provided. Your license
  to any Apple App under this Standard EULA or Custom EULA is granted by
  Apple, and your license to any Third Party App under this Standard
  EULA or Custom EULA is granted by the Application Provider of that
  Third Party App. Any App that is subject to this Standard EULA is
  referred to herein as the “Licensed Application.” The Application
  Provider or Apple as applicable (“Licensor”) reserves all rights in
  and to the Licensed Application not expressly granted to you under
  this Standard EULA.

  a. Scope of License: Licensor grants to you a nontransferable license
  to use the Licensed Application on any Apple-branded products that you
  own or control and as permitted by the Usage Rules. The terms of this
  Standard EULA will govern any content, materials, or services
  accessible from or purchased within the Licensed Application as well
  as upgrades provided by Licensor that replace or supplement the
  original Licensed Application, unless such upgrade is accompanied by a
  Custom EULA. Except as provided in the Usage Rules, you may not
  distribute or make the Licensed Application available over a network
  where it could be used by multiple devices at the same time. You may
  not transfer, redistribute or sublicense the Licensed Application and,
  if you sell your Apple Device to a third party, you must remove the
  Licensed Application from the Apple Device before doing so. You may
  not copy (except as permitted by this license and the Usage Rules),
  reverse-engineer, disassemble, attempt to derive the source code of,
  modify, or create derivative works of the Licensed Application, any
  updates, or any part thereof (except as and only to the extent that
  any foregoing restriction is prohibited by applicable law or to the
  extent as may be permitted by the licensing terms governing use of any
  open-sourced components included with the Licensed Application).

  b. Consent to Use of Data: You agree that Licensor may collect and use
  technical data and related information—including but not limited to
  technical information about your device, system and application
  software, and peripherals—that is gathered periodically to facilitate
  the provision of software updates, product support, and other services
  to you (if any) related to the Licensed Application. Licensor may use
  this information, as long as it is in a form that does not personally
  identify you, to improve its products or to provide services or
  technologies to you.

  c. Termination. This Standard EULA is effective until terminated by
  you or Licensor. Your rights under this Standard EULA will terminate
  automatically if you fail to comply with any of its terms.

  d. External Services. The Licensed Application may enable access to
  Licensor’s and/or third-party services and websites (collectively and
  individually, "External Services"). You agree to use the External
  Services at your sole risk. Licensor is not responsible for examining
  or evaluating the content or accuracy of any third-party External
  Services, and shall not be liable for any such third-party External
  Services. Data displayed by any Licensed Application or External
  Service, including but not limited to financial, medical and location
  information, is for general informational purposes only and is not
  guaranteed by Licensor or its agents. You will not use the External
  Services in any manner that is inconsistent with the terms of this
  Standard EULA or that infringes the intellectual property rights of
  Licensor or any third party. You agree not to use the External
  Services to harass, abuse, stalk, threaten or defame any person or
  entity, and that Licensor is not responsible for any such use.
  External Services may not be available in all languages or in your
  Home Country, and may not be appropriate or available for use in any
  particular location. To the extent you choose to use such External
  Services, you are solely responsible for compliance with any
  applicable laws. Licensor reserves the right to change, suspend,
  remove, disable or impose access restrictions or limits on any
  External Services at any time without notice or liability to you.

  e. NO WARRANTY: Licensor will use reasonable care and skill with
  respect to the provision of the Licensed Application and any External
  Services performed or provided by the Licensed Application to you.
  Licensor does not make any other promises or warranties about the
  External Services and in particular does not warrant that:

  (i) your used of the External Services will be uninterrupted or
  error-free;

  (ii) the External Services will be free from loss, corruption, attack,
  viruses, interference, hacking, or other security intrusion, and
  Licensor disclaims any liability relating thereto. You shall be
  responsible for backing up your own system, including any Licensed
  Application that is stored on your system.

  f. Limitation of Liability.

  (i) Except as set out in section (ii) hereunder, in no case shall
  Licensor, its directors, officers, employees, affiliates, agents,
  contractors, principals or licensors be liable for any loss or damage
  caused by Licensor, its employees or agents where:

  (1) there is no breach of a legal duty of care owed to you by Licensor
  or by any of its employees or agents;

  (2) it is not a reasonably foreseeable result of any such breach;

  (3) any increase in loss or damage results from breach by you of any
  term of this End User Licence Agreement ("Agreement");

  (4) it results from a decision by Licensor to warn you, to suspend or
  terminate your access to the External Services, or to take any other
  action during the investigation of a suspected violation or as a
  result of Licensor’s conclusion that a violation of this Agreement has
  occurred;

  (5) it relates to loss of income, business or profits, or any loss or
  corruption of data in connection with your use of the Licensed
  Application.

  (ii) Nothing in this Agreement removes or limits Licensor’s liability
  for fraud, gross negligence, wilful misconduct, or for death or
  personal injury caused by its negligence.

  g. You may not use or otherwise export or re-export the Licensed
  Application except as authorized by United States law and the laws of
  the jurisdiction in which the Licensed Application was obtained. In
  particular, but without limitation, the Licensed Application may not
  be exported or re-exported (a) into any U.S.-embargoed countries or
  (b) to anyone on the U.S. Treasury Department's Specially Designated
  Nationals List or the U.S. Department of Commerce Denied Persons List
  or Entity List. By using the Licensed Application, you represent and
  warrant that you are not located in any such country or on any such
  list. You also agree that you will not use these products for any
  purposes prohibited by United States law, including, without
  limitation, the development, design, manufacture, or production of
  nuclear, missile, or chemical or biological weapons.

  h. The Licensed Application and related documentation are "Commercial
  Items", as that term is defined at 48 C.F.R. §2.101, consisting of
  "Commercial Computer Software" and "Commercial Computer Software
  Documentation", as such terms are used in 48 C.F.R. §12.212 or 48
  C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or
  48 C.F.R. §227.7202-1 through 227.7202-4, as applicable, the
  Commercial Computer Software and Commercial Computer Software
  Documentation are being licensed to U.S. Government end users (a) only
  as Commercial Items and (b) with only those rights as are granted to
  all other end users pursuant to the terms and conditions herein.
  Unpublished-rights reserved under the copyright laws of the United
  States.

  i. Except to the extent expressly provided in the following paragraph,
  this Agreement and the relationship between you and Apple shall be
  governed by the laws of the State of California, excluding its
  conflicts of law provisions. You and Apple agree to submit to the
  personal and exclusive jurisdiction of the courts located within the
  county of Santa Clara, California, to resolve any dispute or claim
  arising from this Agreement. If (a) you are not a U.S. citizen; (b)
  you do not reside in the U.S.; (c) you are not accessing the Service
  from the U.S.; and (d) you are a citizen of one of the countries
  identified below, you hereby agree that any dispute or claim arising
  from this Agreement shall be governed by the applicable law set forth
  below, without regard to any conflict of law provisions, and you
  hereby irrevocably submit to the non-exclusive jurisdiction of the
  courts located in the state, province or country identified below
  whose law governs:

  If you are a resident of any European Union country or Switzerland,
  Norway or Iceland, the governing law and forum shall be the laws and
  courts of your usual place of residence.

  Specifically excluded from application to this Agreement is that law
  known as the United Nations Convention on the International Sale of
  Goods.

It seems that your app uses the default EULA.


Option/speed Q's about best configs to upgrade early 2008 Mac Pro 8-core to SSD

Maxing out RAM can only situationally improve your performance. If your computer isn't ever using a ton of swap space (less than a gig), adding more RAM isn't likely to help much. The SSD will almost certainly improve the performance of your computer. Yosemite really is designed for SSDs. It seems to do a ton more arbitrary reads/writes to disk during the course of its operation than earlier versions did, so it will be dog-slow on a HDD.

As for the SSD on PCI, that is definitely the better solution. SATA 2 (which the 2008 Mac Pro comes with) is far too slow for the faster SSDs. There's little point in hooking up a modern SSD to that. PCI should be able to handle it.


Why won't Google Reader load in Safari 5.1.4?

Had the same problem. Tried resetting cache, making sure latest Flash was installed, turning off all extensions, etc. Turns out changing Safari to 64-bit mode was what did it this time. Open Finder, Applications/Safari, "right-click" Get info (or command + "i"), uncheck "Open in 32 bit", restart Safari. Hope that helps!

After the fact: Apple released Safari 5.1.5 this afternoon. The update addresses this 32-bit issue specifically.


Change iCloud Backup from new version of iOS to older version

Go to Settings → your Apple ID → iCloud → Manage Storage → Backup and delete the existing backup. Choose to delete and disable backups. Once the backup is removed, try to back up again from scratch.


How to avoid auto starting playback when importing playlist in iTunes library

I just delete the m3u and pls files:

find ~/Music -iname '*.m3u' -o -iname '*.pls' -delete


Cannot sync iPhone contacts with Facebook [iOS 12]

Trigger the Facebook app for uploading the contacts. Then iOS asks for permission and you might be able to see the settings. Also check contacts settings in Settings → Privacy → Contacts to see if Facebook ever asked for the contacts or not.


Airport Express with New Firmware 7.8 - Problems with connectivity and Airport Utility

Apparently there are connectivity issues with this new firmware, in particular when extending networks. Here are other people describing the same:
https://discussions.apple.com/message/34061766

Right now, the solution seems to be to downgrade to the previous firmware, in case you don't want to use AirPlay 2.

I don't have any major issues when using the Airport Express just as an AirPlay 2 client, but of course this leads to loss of the extender function.


Chosing the right charger: MacBook7,1 White A1324

You can buy one here. It is original charger and it works well. Why do you need type c I can not understand

All you need to know about the charger is: voltage, socket type, magsafe version


Move all events from one iCal calendar to another

Select one of the calendars you want to merge
choose File->Export...->Export
Make sure the filename matches the calender you've chosen above. The calendar will be exported to a .ics file
Choose File->Import...->Import and find the file you've just saved.
ical will ask you to which calendar it should add the events. Just select the another one of the calendars you want to merge.
repeat until all calendars are merged.


Modify router port-forwarding rules from Terminal

After searching for hours, I still wasn't able to find a built-in command-line utility that does what I'm asking for. But I did find something else that's pretty close. It's PortMapper, a java applet that comes with a command-line interface to manage the port-mappings of your router (must be UPnP compatible).

Since my plan was to do everything from the terminal, I'll walk you through the steps:

# Download the latest version
curl -fSL "https://sourceforge.net/projects/upnp-portmapper/files/latest/download" -o portmapper.jar

# See the basic help
java -jar portmapper.jar -h

# List all port-forwarding rules
java -jar portmapper.jar -list

# Create a new rule
java -jar portmapper.jar -add -externalPort 7919 -internalPort 7919 -ip 192.168.1.2 -protocol tcp

# Delete a rule
java -jar portmapper.jar -delete -externalPort 7919 -protocol tcp

This assumes you have java installed and available in your shell


You can use Tools-Marco to creat a marco for refresh display.
Sub RefreshDisplay()
Application.ScreenRefresh
End Sub
Then use Tools-Customize Keyboard to specify a keyboard shortcut.


The hardware RAID card is very different than the software raid so you'll want to dig into two specific tools:

System Profiler - RAID section under Hardware
RAID Utility

These two items will report the actual hardware states such as health, mirroring, degraded mode, etc... The RAID card hides the actual hardware from diskutil and Disk Utility so they are of less use than if you were doing a fusion drive or software RAID.

As to the proper setup - that really depends on which tradeoff you wish to make. Speed comes at the cost of reliability. Redundancy (or mirroring) can provide a speed up for reads but a slight slow down for writes. You'll also want to check the battery status and replace that as well as make sure you have backups of the data since RAID is not a backup but just a way to optimize for one aspect of storage over another.

Once you have a handle on the actual hardware and how the RAID card is using the drives, perhaps ask a follow on question on your options for changing things and/or a basic question asking what RAID 1 or 0 or 5 are if that's of concern.


How do I add a new google contact on an iPhone?

If you have already enabled the toggle for your Google account to sync contacts, you only need to set your Default Account in your iOS Contacts settings to be your Google Account. Then, when adding contacts they will automatically be uploaded to your Google Account.
Source: https://www.makeuseof.com/tag/sync-iphone-contacts-to-gmail/


No popup in App Store that app is bigger than 100 MB

Tried to download both the Askers application and an another application over 100MB. Neither I nor the Asker did get the pop-up about downloading large apps over cellular.

It looks like it is a temporary issue with the AppStore.
My recommendation is that you try again tomorrow or the day after that and see if the issue have fixed it self. If not, then you can continue further investigation in the issue.


Open same Finder window in different spaces

Yes!
Simply right click on the finder icon on the dock, go to "Options" and then select "All Desktops". And voila! You have the same Finder window open anywhere and everywhere you need it!


Ring fence CPU for a specific programme / process to stop it using to much

The figure in Activity Monitor is actually listed as 'percentage of one core' [which is why it can go over 100%] so this is going to depend really on how many cores you have.

I have found the simplest way to get the most out of a task like compiling whilst still being able to use the Mac as normal is to run a VM of your OS in something like Parallels - assigning it exactly your real core-count [ie half of your count including HyperThreading].
In practise, this will mean it uses one of each hyperthread on each core; giving maximum speed with maximum remaining potential.


MacOS/OSX loses connection to shared NAS drive

I struggled with this for years, and eventually found out that all you need to do is turn off packet signing.
Below is a link on the apple forums place on how to do it. You need to be using SMB2/3 protocols (not AFP).
I've never had a dropped network drive since.

https://support.apple.com/en-gb/HT205926

Simon.


All software in Mac OS X is installed in /Applications, which can be found in the Finder sidebar

Most Mac applications don't have to be installed, you just have to copy the applications in the Applications folder. Normally, all installed applications that are in the /Applications folder appear automatically in the Launchpad.

You can uninstall applications that don't come from the Mac AppStore simply by moving them in the Trash, applications from the Mac AppStore can be uninstall by entering Launchpad, holding the option key and clicking the little x that appears at the app-icon.

The location of the applications folder in the Finder:


How can I control (start/stop) applications and services that start up after reboot?

Applications and Menu Bar items

Most of these can be easily configured in:
System Preferences → Users&Groups → Login Items

LaunchAgents and LaunchDaemons

Some applications are cannot be configured in the System Preferences (e.g. Sophos AV Scanner, HandsOff Firewall,...) It's best to configure them in their own application to assure that everything runs as designed and intended.

You can look for related LaunchAgents and LaunchDaemons in:

~/Library/LaunchAgents               ~/Library/LaunchDaemons
/Library/LaunchAgents                /Library/LaunchDaemons
/System/Library/LaunchAgents         /System/Library/LaunchDaemons

Startup Items

After I installed the multi-boot utility rEFIt, it copied a file rEFItBlesser which is run at startup.
Items that run at startup can be found in the following locations:

~/Library/Startup Items
/Library/Startup Items


tell application "QuickTime Player"
    set movieName to the name of the front document
    set savePath to a reference to POSIX file ¬
        ("/Users/WBTVPOST/Desktop/" & movieName & ".mov")
    export the front document in savePath using settings preset "720p"
end tell

System info: AppleScript version: 2.7  System version: 10.13.6

PS.  User @wowfunhappy is absolutely correct in saying that the export command does re-encode a file.  It has to in order to apply whatever settings are contained within the preset.


Removing email account prompts to remove from other computers

Go to iCloud Devices, sign in, click on "all devices", select the one to remove and click erase .


Minimizing the use of APFS in Mojave by putting Users and Applications on HFS+

Consider that if APFS reports checksum errors, and you reformat and reinstall, and the same thing happens again after a short while - then you could very well have a failing storage medium.

Instead of relocating various folders to a partition formatted with HFS+, it would be wise to thoroughly check your drive for errors and possibly replace the drive.


The repairman said that it's a logic board failure. I sent it for repair and am currently waiting for news on what could be the cause. Anyway its gonna cost $350 sgd for the repairs.


How can I access 'flight mode' in iphone4 without a sim card?

Depending on your iOS there are several options to do this.

One way is by jailbreaking the phone.
Using the iPhone IMEI and the Gavey SIM tool you should be able to unlock it.

use google to find out more


GPU temperature is above 70 C, and CPU fan is above 2400 rpm

Yes, it could. Some things that could be happening, in order of probability:

Your computer's innards could be dusty. This is the the most likely cause, and is easily remedied by unplugging your computer, taking it outside or into the garage,  and using a compressed air canister to blow out all of the dust in the vents. (If you have allergies or asthma, I suggest wearing safety goggles and/or a mask. Also, the can will get very cold, so wearing gloves is probably a good idea as well.)
A(n unrelated) background process could be taking up a lot of CPU. What was the CPU percentage? Did you check if any other processes were running? If this is happening often, it could be that some other program (Software Update, Finder, Skype, etc.) is trying to run in the background, and is experiencing errors that cause it to hog memory.
The game and/or media player you use may have recently undergone an update that consumes significantly more CPU and/or memory and/or disk usage that you are used to. If you ran a software update in the last two or three weeks, or if the game and/or media player performs automatic updates, this may explain the problem. (If this is the case, and the issue is very bothersome, you can probably contact the vendor to get the previous version.)
A government entity could be spying on you through your computer.


Retrieve file from iPhone 4s in recovery mode (No backup)

You could try out software like phoneview, but I'm asuming you're out of luck if it doesn't boot.
The memory is on the iPhones mainboard, so no way of external mounting.


This is a very easy mistake to make when bold text, dim text collide with a reasonable assumption about something as familiar as a calendar. We train ourselves to expect Sunday first or Monday first.

In this case the solution is to get a screen shot and review the actual data, not what we think we are seeing. I say we since I’ve been in the same situation as OP.

In the images, it’s clear that February 29 was drawn and that there’s no leap year error on Catalina here in the Gregorian calendar setting.


Here's the command for generating a list of all files accessed in the last 72 hours:

sudo find / -atime -72h -ls > output.txt

From there, you can run 'stat' on each file to get the access time.

cat output.txt | while read in; do stat; done > accessTimes.txt

You can narrow your search to a specific date/time range via a text editor or grep command.

grep "Mar 31 21:" accessTimes.txt

This may not be sufficient to prove any wrongdoing, but it can disprove it if there were no files accessed during the window of concern. Also, gives an idea of what was possibly accessed.


If you are sure that you downloaded the app installer from the official/verified source and that it has not been tempered with, you can skip the verification process altogether by removing the extended file attribute that causes FileVault to attempt to verify the application. Do this by executing the following command from terminal:

xattr -d com.apple.quarantine /Applications/app_name.app

The app_name.app is the name of the application you are changing the extended attributes on. In this case, GTA5.app.

The xattr command allows you to view and change extended file attributes. The -d flag indicates you are deleting the com.apple.quarantine attribute which is set on the application package. Any file with the extended attribute of com.apple.quarantine is verified by FileVault. This attribute is typically automatically set on downloaded files and files extracted from a tar or zip archive.


Calendar Crashes While Opening - NSPersistentStoreCoordinator has no persistent stores or NSInternalInconsistencyException

I had the same issue after updating to Sierra.  Saw in some other forums that it was linked to gmail calendar accounts.  Assuming you have a gmail calendar account linked, try disabling the gmail account from Settings and then opening calendar.  Once open you can re-enable the gmail calendar and it works fine (at least for me it does).

Not a solution to the problem, but a temporary fix to allow you to use calendar until Apple figures this out.


How to get list of installed apps via iTunes?

You can see all purchases made through the iOS App Store within iTunes (on OSX or Windows):

Start iTunes
Log into the Store in the Store menu
Show Account Details (in the Store menu as well)
Shopping Statistics (don't know how it's called in the english version, it's the third block from the top)


Please upgrade your OS to OSX EI Capitan which is the latest version of Mac OS X and possibly fixed many bugs of Yosemite and works really fast has inbuilt memory optimizer tool to free up RAM.


copy and paste only images name not its path

I see what you are saying. If you select a picture file in Finder and Copy, then Paste into an Outlook message, you get text of the full path starting with "file://". That is because copying in Finder does not examine the contents of the file. It examines only the file handle and copies that path.

If you want to copy the contents of a file, whether it is a picture file, text file, or what, you must get access to those contents first. You must open the picture with something.

So whatever file you want to put in an email, double-click that file, then select all, then copy, then paste into the email.

The other option, as Kevin said, is to drag the file right into the email message. That will attach the file.  But it sounded like you wanted the content of the picture(s) in the body of the email.  My method above is how you do that.


External monitor VGA detected sometimes yes, sometimes no

Well, it seems the solution was pretty simple. I have a power strip with 6 sockets, and each socket has its own power switch. If I fire up the external monitor before the MacBook, the monitor is detected as expected.


Trackpad Gestures - Three-finger swipe unresponsive until I use two-finger scroll (OS X Lion)

I'm not sure that this really counts as an answer, but in my case the problem went away after I did two things:

1) installed the most recent update from apple, and

2) manually closed all my programs and restarted them (I usually just have them reopen automatically when logging back in)


Teaching Mavericks' Text-To-Speech how to pronounce

As far as I'm aware, the pronunciation table of the Voice Over Utility only works when using the Voice Over feature, but not in the 'normal' text-to-speech feature. It's sad.


On a macOS computer running Catalina, is it possible to have the /Developer/ folder that used to be present since Mac Os X was born?

In macOS Catalina the new way is to use /etc/synthetic.conf to create a virtual symbolic link to the root of the e.g. Macintosh HD for the target folder. All writeable paths must reside on the data volume, which is mounted at: /System/Volumes/Data

It Terminal, run the following commands:
sudo mkdir -m 0777 /System/Volumes/Data/Developer
sudo nano /etc/synthetic.conf

Add the following entry to /etc/synthetic.conf:
Developer       System/Volumes/Data/Developer

Note there is a tab between the columns.

Save the file using: controlO enter

Close the file using: controlX

Reboot for the changes to take effect.

Note: While this creates a symbolic link of a plain folder, nonetheless, if you give the target folder  e.g. /System/Volumes/Data/Developer a custom icon and then restart Finder, (in Terminal killall Finder), it will show the custom icon on the symbolic link of the target folder.
 See: Create custom icons for files or folders on Mac
 For more information see the manual page for synthetic.conf, in Terminal: man synthetic.conf

Note: The Developer folder icon file is located at:
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/DeveloperFolderIcon.icns

I added the custom icon by temporarily creating a Developer folder in my Home folder, which automatically gave it the Developer icon, and then used Get Info (⌘I) to copy the icon to the Get Info for the Developer folder at: /System/Volumes/Data/

Note: in Finder the Data folder will show as e.g. Macintosh HD when navigating to System > Volumes >.


Recover iPhone from an older iCloud backup

You can see your available backups in iCloud when you go in your iPhone to Settings > your name > iCloud > Manage Storage > Backups. That’s all you have in iCloud.
If none of these backups store the data you need, then the only hope can be in the Time Machine backup before the reinstallation in case you backed up your iPhone in iTunes/Music app. In that case you may want to restore content of this directory while iTunes is not running:
/Users/[your user]/Library/Application Support/Mobile Sync
Once done, you can start iTunes and see restored backups in Settings and the tab with devices.


A beep indicates that the shortcut that was pressed was not interpreted by apps on the system. This means the shortcut is already unbound, so it seems you're having some problem with Sublime Text itself rather than the shortcut being bound to something else.


Can not connect mac mini to a 17inch screen

There are few places you need to look

About this Mac-> displays (to see if it shows there under correct name)
In sys pref ->displays- does it show there as correct monitor

Select Mirroring in here

A console report from the time stamp when you plug it in


Unlock iPhone via accessibility button press rather than "Slide to Unlock"?

I upgraded the iPhone to iOS 12.4.8.
Now, when I press the Home button on the lock screen, the Passcode entry screen comes up.
If I remove the device's Passcode, clicking the Home button automatically fully unlocks the phone.
This did not work in the previous version of iOS the phone was using earlier today. So it was added sometime in the iOS 10, 11, or 12 timeframe.


Turning off Device Enrollment Notifications on MacBook Pro

Just in case you're still confused about this issue,
restart your mac in recovery mode,
in terminal, type in command:

csrutil disable; reboot

This will disable system integrity protection and restart your mac.

Open your terminal again, type in command:

sudo mv /System/Library/LaunchAgents/com.apple.ManagedClientAgent.enrollagent.plist /Library/LaunchAgentsDisabled
sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist /Library/LaunchDaemonsDisabled

This should do the trick.

However, don't for get to re-enable your system integrity protection by restarting your mac in recovery mode, typing in command:

csrutil enable

You can check your SIP status with command:

csrutil status

Good luck!


Why rebooted Macbook Pro with Mountain Lion prevents adding or moving files at Desktop?

The OS X Recovery Mode has a utility called resetpassword which, apart from the obvious, will also reset the permissions for your home holder.

Restart your Mac and hold down cmd ⌘-R, and keep holding them until the Apple icon appears.
Once started up, from the menu bar at the top, go Utilities > Terminal
Type in resetpassword and hit enter, and the Reset Password utility will open.

Select the user, change the password, and hit 'Save' to save the password, and then below that hit 'Reset' to fix the permissions


The problem was I was using the root user. Creating a new user sorted everything out!


I ended up solving this. I had installed a SSD, and connected it to the hidden sata port. It worked for a couple of months. Then one day I had this issue. I took the ssd out and installed OSX on the first drive bay and it booted! I'm guessing the fan chassis must have been snug against the connector or otherwise some dust was causing grief. In any case. I'm glad I didn't pay an exorbitant fee for the rare aftermarket PSUs.


Share iPhone screen for MacBook wirelessly?

You can use AirPlay's Screen Mirroring on the iPhone to mirror the display to your Mac running AirPlay server software such as Reflector or AirServer. With the software installed on your Mac, open Control Center, choose Screen Mirroring and select your Mac to begin mirroring.


How to make calendar notifications work in Sierra

I'm seeing this problem too, though it's inconsistent and only impacts my iMac. My MacBook Pro always gets all my calendar alerts, and both are linked to the same Exchange and iCloud calendars. I have tried fully re-installing Sierra on the iMac, which helped for about a week. Sometimes the missed notifications will trigger later (15 minutes to an hour later), but sometimes they'll never trigger.

There is a temporary fix I found:

Open System Preferences -> Internet Accounts
Select any account that has a calendar
Uncheck that calendar, then immediately re-check it

All of your pending or missed alerts will trigger at once! They'll keep working for another day or so. I'm in the process of reporting the bug to Apple at bugreport.apple.com now.


Transfer data from iPhone with no password to Apple ID

Your question isn't totally clear, so I'm making some assumptions (such as your Apple ID email is still the same and that you're talking about music you've purchased with that Apple ID).

As a starting point, visit iForgot to reset a forgotten password, unlock your account, or recover an Apple ID.

Once you've done that, you can sign in with your new password etc on your iPhone 7 and download any purchases you've made previously. Also, assuming you have a Mac/PC you can also sign in again on iTunes and use iTunes then to sync music etc across.

If I've misunderstood your issue, please clarify your question and let me know.


This is the solution, It really worked for my 1920x1200 old monitor

Just follow the steps I made, because original receipt has some inaccuracies


Windows 10 Bootcamp Partition Unseen By OS X

As you stated, you can hold down the option key at startup to invoke the Startup Manager. If you hold down the control key while selecting one of the displayed partitions, then chosen partition will become the new default startup partition.


Macbook Pro won't display on 2nd external monitor until restart

I'm having success so far at least by trying this answer to a similar question posted in 2012. I wasn't looking back that many years because I thought it wouldn't apply, but it looks like the same problem.

Switching my TV to Thunderbolt Port 1 on the Mac seems to be avoiding the problem for the moment. Now using Port 2 for my other external monitor, but since that's a regular computer monitor, perhaps that avoids the same problem happening with it.


Has App Store download size limit over Cellular data changed from 150 MB in iOS 12?

No. The upper cap for downloading new apps over mobile data connection is unchanged from Apple. It's still at 150 MB. There is no official word from Apple after last revising the upper cap to 150 MB. This is the warning that I get (Indian App Store, accessing over 3G data connection in India) when attempting to download an app of size 2 GB.

However, the related Apple support document, If you can’t download or update apps, or if apps get stuck mentions the following in fine print.

  Connect to Wi-Fi

  If you’re using cellular data or Wi-Fi and have issues with an app, try to connect to another Wi-Fi network. You can use cellular data for apps up to 150 MB* in size.

  Get more help

  If you still have issues with apps on your device, contact Apple Support.

  *Depending on your country or region, and your carrier, the download limit might be higher.

The restriction is in place not due to some limitations in iOS, but to guard the mobile service providers network against congestions. From the statement it appears that some service providers must have worked with Apple and are offering a higher download size cap.


How to Identify Safari Javascript Alert Dialog using AppleScript?

If you had an alert dialog appearing with an OK button, then this AppleScript code would close it.

tell application "System Events" to tell process "Safari"
    if exists (button "OK" of window 1) then
        click (button "OK" of window 1)
    end if
end tell

You'll likely need to customise this to fit your exact situation. If the alert dialog appears with a title you can all specify that as below.

tell application "System Events" to tell process "Safari"
    if exists (button "OK" of window "Java applet missing") then
        click (button "OK" of window "Java applet missing")
    end if
end tell

Another option would be to identify the alert by using "front window" as in the following example (assuming the alert is the front window).

tell application "System Events" to tell process "Safari"
    if exists (button "OK" of front window) then
        click (button "OK" of front window)
    end if
end tell

Hope this helps.


Safari Bookmarks can be exported as an HTML file.  This file can be opened with any text editor and reviewed or even cleaned up with a little HTML know-how.  Then it can be reimported after clean up.  Recommend cleaning up a copy of the original in case you need to revert.

To export:

From the Menu: File > Export Bookmarks...
Choose a location to save the HTML file.
Open in a text editor.  (Drag the file to the text editor's application icon or option+click and choose Open with
Examine the file and make changes.
Reimport using File > Import From > Bookmarks HTML File…

Alternatively, if one just wants to examine in a spreadsheet, Excel for Mac will open HTML files.  Even though the result is easier to read, the data is harder to manipulate unless you understand Hyperlinks.


Why?

The login keychain is for your user account. Moving that data to the system keychain would make your information available to all user accounts including 'Guest' accounts. Do you really want to do that?

I don't know if it is possible to do what you want, but if I look at my login keychain it includes my personal passwords, Apple ID, public keys (no problem), and private keys. These should never be made available to anyone. They are private for a reason.

Don't do this.


Internet Recovery loads ML instead of Mavericks

Internet Recovery will install the OS that came with the Mac, regardless of whether you updated it at a later date. Once a Mountain Lion is installed, update it it Mavericks through the Mac App Store.


Scaled Resolution switching interfering with Terminal startup

I did discover a non-ideal solution when I was researching for this question:

If I close all the windows I can then use the Window > Open Window Group command to get back to my nice windows, though the history is emptied out of each window.

I hope someone else is able to answer this question better.


Signing up to iTunes Match in a country that doesn't have it

You can switch your store location to US or create a new US iTunes account without providing a credit card number but you have to provide a valid US address. Since the address isn't used for anything you can just use any address. Many people have used the address of the White House, for example. I used my old address from when I lived in the US. I'm not sure if it makes a difference, but some people recommend using an address in a state that has no sales tax (such as Oregon).

However, as you don't have a valid US credit card, the only way to fund your account for buying apps, music, books etc is using iTunes Gift Cards for the US Store, which you'll have to buy on eBay, for slightly more than their face value.

I did this for a while (created a separate, gift card funded, US iTunes account) so that I could buy/rent movies and TV Shows on my AppleTV as neither of these were available in the Portuguese iTunes store (where I live). I found that the hassle of having to load up my iTunes account with gift cards bought on eBay just wasn't worth it in the end. The other problem was having to constantly switch between my Portuguese and US iTunes accounts both on iTunes and on AppleTV.

As a result I haven't used my US account for quite a while now. The Portuguese store now has movies, but still no TV Shows or iTunes Match which I'd really like to have but I've decided just to wait.

Also, the automatic downloads feature of iTunes (for apps etc) is limited to one iTunes account per 90 days.

As to whether you could change back, when iTunes Match becomes available in Sweden? I don't see any reason why not. However, you almost certainly would have to re-'match' or upload your music again.


Apple TV - Can't Sign In, or use YouTube (but other stuff works)

This may sound weird, but, unplug the Ethernet and connect to your wireless network. You should have access to all internet services. Some thing happened with my ATV out of the box, but using wifi solved the issues. Apparently a bug with that version of iOS. Apparently they fixed it on the latest update but I never went back to Ethernet to test and it's been fine on wifi.

It's something to do with the relay back to Apple servers apparently, but seemed like a weird bug.


Missing toolbar for New Message window in Mail.app

At top of new message page control click and uncheck "Hide Toolbar"


Basic 'print' & 'puts' Mac OS terminal commands not found

print is not a standard bash command. I think so because  man print returns no manual entry.
puts  is a Standard C Library function and should be used inside a file and used as:

#include <stdio.h>
puts(const char *s);

  The function puts() writes the string s, and a terminating newline character, to the stream stdout.

An example:

/* puts example : hello world! */
#include <stdio.h>

int main ()
{
  char string [] = "Hello world!";
  puts (string);
}

http://www.cplusplus.com/reference/cstdio/puts/

echo $path returns an empty line. It is case-sensitive. Use echo $PATH.
You need to save the ruby script in a file with appropriate file extension: .rb. Open Terminal, go the directory where the file is located using cd path/to/directory and run ruby filename.rb to see the results.


How to stop next podcast always auto-playing when current one finishes in iOS?

Settings - podcast - turn off continuous playback. Link below with photos.

http://www.idownloadblog.com/2018/01/18/how-to-disable-automatic-playback-apple-podcasts-app/


Applescript error: "Connection is invalid" when app quits

The key was to put the problematic code inside a try block. Like this:

    if application "Safari" is running then
        tell application "Safari"
            try
                set windowList to (every window)
                # do some stuff
            on error number -609
            end try
        end tell
    end if

This way, the script ignores the error -609 and just moves along, which is what I wanted.


How do I script the forced logging out another desktop user from OS X?

I found what looks like a workable route, but it's indelicate:

Kill the 'loginwindow' process for a user (as root - the user can't kill its own process(!)) (note, the [n] prevents the regex matching itself), then use kill -9 -1 to catch the remaining mess:

    $ for i in $users; do
       echo $pword |
       ssh $i@localhost '
         sudo -S kill -9 $(
           ps -axf | awk "/^ *$(id -u '$i') .*logi[n]window/{ print \$2 }"
         );
         kill -9 -1
       ';
      done

It leaves two processes around

/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.shared
/usr/sbin/cfprefsd agent

...which various mac pages claim are normal OS X weirdness.

I don't particularly like this solution, because it's so abrupt and I'm concerned about leaving things like iOS phone simulators or other files in inconsistent states, but the the absence of another answer, it seems I have little other choice.

At least I can use this as an emergency back-up for when the Applescript route fails, and the kill -9 -1 tidies up what Apple's normal but shoddy logout process leaves hanging around anyway.

I'll also note that doing anything with multiple desktop users messes up network connectivity for me, apparently due to Apple not bothering to think through how authenticated networks should behave.


Why will my MacBook Pro (15" Late 2016) not power on after disabling 'Boot on Lid Open'?

The setting is stored in NVRAM, so resetting that should undo the new nvram setting. Unfortunately in this case, NVRAM is persisted like something written to disk, so neither SMC nor disconnecting the power can undo the setting.
Try using the automatic power on as part of the NVRAM reset. With the Mac having shut down after showing the battery indicator, hold ⌥⌘PR then connect the power cord instead of pressing the power button. Keep holding the keys for at least 20 seconds.


Apple only delivers add to a few countries. Not Many.(U.S., Canada, Australia, New Zealand, Japan, France, Germany, Italy, Spain, and the U.K) Most likely, ad sales as low there or they do not have sales people there. So, if you plan to monetize your app, I'd suggest using a secondary ad network for the countries where iAd is not delivering ads.


iPhone 5s camera takes random size photos

Here is a logical explanation for the problem and although, I can't guarantee, in this case it is the problem, I think there is a high probability.

When you select to email a photo, after you tap send, you are prompted with sizing (compression) options like this:

You can choose one of the options and as most things in life, everything has a trade off. If you select anything but "Actual Size", it will compress your photo, and the size it then comes in at will be smaller than what you would have expected. "Actual Size" is massive on all but the older iPhones. Full size it big, but likely will fit on a monitor, and the "Medium" and "Small" sizes are just like you described.

This is not "lossless" compression like you see sometimes and does what it needs to with the image to reduce the actual file size.

For transferring images to your computer, AirDrop is the easiest way but only works if you have a Mac. If you use a PC, you could consider using iCloud for Windows to download Photostream images (which should be quite high resolution, if not natural size), or there is always the old faithful Image Capture


Weird restriction keeping me from updating to Mavericks?

The message shown in the screenshot is almost certainly not an Apple official message for two reasons: they never refer to the Mac App Store as the 'Apple App Store' and the icon/text layout isn't correct per any other OS X message I've seen.

The most likely cause of the restriction is the JAMF MDM software installed on your Mac (based on the log from your last question).

Therefore, the software that is preventing Mavericks install can't prevent it if you're not booted into that OS. You should be able to create an install media using DiskMakerX. Then, boot into this install media and install Mavericks that way.


iCloud Photo Library only does a full sync. Your friend might want to consider switching to something like Google Photos where a full sync isn't forced.


How to fine tune force touch trackpad sensitivity?

Well, BetterTouchTool seems to be able to modify the trackpad sensibility for 2 fingers and more clicks. It can as well change the haptic feedback strength and feeling (you can have your trackpad vibrate when you force click with two fingers). However, it's not able to change the force click with one finger but it proves that we can have a low driver access to the new macbook force touch trackpad. If somebody got any documentation on how to access these drivers, I could try to play around with that and maybe develop a little app to change the sensitivity of the pad.


Increasing Mavericks Time Machine backup size for remote backups

Here's what you need to do to resize an existing Time Machine sparsebundle without loosing data on a Time Machine server (OS X Server):

Turn off Time Machine Server.
Turn off Time Machine Client(s).
Resize the disk image and the partition following these instructions. Execute these steps on the server, where the drive is attached if possible.
After 3 completes, turn on Time Machine Server.
Remove backup destination on client and add it back.
Turn on client Time Machine and perform a backup.

I followed these steps and I was able to increase my backup destination from 1TB to 2TB without loosing backup history.

Here are a few issues I ran into and how I worked around them:

The Resize Image icon was greyed out in Disk Utility. This was because my logged in user didn't have read/write access to the sparse bundle. Rather than change those permissions, I logged in as that user and could resize image.
Nothing appeared to happened after I told Disk Utility to resize the image. This is apparently a defect in Disk Utility. While there are no indicators resizing the image worked, if you go to the partitions tab, you will see the image was increased.
It took 4 days to complete. Increasing the partition size appeared to have kicked off a disk check of sorts. That process and checking multi-linked directories took about 4 days to complete. This was on a directly attached 7,200 RPM drive array attached via USB 3 with about 1TB of backup history. I don't know of any way to speed this process up, so just be aware it may take a very long time.


Why isn’t my Mac charging with 60 Watts?

Your laptop is turned on - this means that it is consuming energy. That energy is subtracted from the number of watts you're charging the battery with.

If you want to charge faster, a sure way is to shutdown the laptop or put it into sleep mode, before charging.


Is "server performance mode" enabled or not?

OK, I guess I have one way to determine based on What does serverperfmode=1 actually do on macOS?

If you take the output from sysctl -a you can search it for some of the items listed above and see what their values are.

sysctl -a > temp.txt

Search temp.txt with your favourite editor and look for kern.maxvnodes, if it is 300000, and if kern.maxproc is 5000, then you are in "performance mode".

Or at least some of your settings match the "performance mode" settings.

Since I did both the NVRAM variable and the "disable SIP and use serverinfo --setperfmode 1" methods, I don't actually know if the NVRAM method by itself results in the changes for High Sierra.


What Linux variants can be installed on an 1st generation Apple TV?

The first generation Apple TV had a pretty low powered Intel CPU, as you can see in the specs here. So in theory, you should be able to run just about any Linux distro, just a question of how much hacking you're willing to do.

There are a bunch of resources for doing this, but a good one is at the atv-bootloader project. There are tools to create a nice USB stick that should do most of the work for you.

As for how useful it is, don't expect much for general purpose computing - after all it's a 1 GHz Pentium-M with 256 MB of RAM. But it may do reasonably well for some home theatre tasks, or if you need a home automation server or similar box.


You can use 2 methods.

One is to hold the "shift" key that will select a continuous group from first to last click.

The other method is to selectively select them.

Click on the first one than HOLD the cmd key and click on next one and so on while holding the cmd key.

When done selecting release the cmd key, right click on the selection and use the share- email.

Be aware that emailing to large files might fail.

In email check the size and decide if to make it smaller.

Mail will tell you when to large so either select less or use the "Image size".


Left Shift/Control/Option keys don't work

Try resetting the NVRAM on your Mac using this guide - https://support.apple.com/en-ca/HT204063

If those keys do not work even after the NVRAM reset, then you will have to consult with a repair shop or go to the Apple Store and ask to get your keyboard fixed or replaced.


According to System Information I have one processor and 2 cores, but when I open the 'CPU-usage' window in Activity Monitor I see 4 graphs

You have a multi-threaded CPU. Your computer has one processor, with two physical cores, and two virtual threads on each core. So to the computer it sees four cores/threads available. This makes it easier for load balancing and sharing of the CPU between processes. See this Wikipedia article.


After upgrade to iOS11, Photo uploads files to icloud even though the phone is on mobile network

This is an ios11 feature. (I think it is actually a bug because I did not observe this kind of behaviour before)

I find that I put the phone in 'Low Power' mode, the Photo will not attempt to upload the photo automatically.

Now I will turn it on before I take any photo while on mobile network.


What is the difference between Top Grossing and Top Paid in the App Store?

There are three categories: Top Free, Top Paid, and Top Grossing.

In the Top Free category, the apps with the most downloads that have a price of $0 make the list.

In the Top Paid category, the apps with the most downloads that have a price greater than $0 make the list.

The Top Grossing category lists the apps with the highest total revenue (that is, price * quantity sold + revenue from in-app purchases). A $50 app is likely to have fewer downloads than at $0.99 app. The Top Paid list will likely include many inexpensive apps that get purchased often. The Top Grossing category is to indicate which apps have the highest total spent on them.


How do I enable AVB on Mac Catalina 10.15

Modern macs will generally only support AVB when you hard wire an Ethernet cable directly to a USB-4 (only USB that works) / Thunderbolt port.
Audio Video Bridging is a set of technologies that allow Ethernet to support the kind of time-sensitive data delivery needed to keep multiple connected audio devices in sync. It is not trivial.
Apple does not advertise which computers or connections support ABV. It seems most Macs today can support it, but only on a limited number of interfaces. In particular, there is no ABV support over WiFi or via a USB-to-Ethernet adapter. In fact, I cannot even get ABV to work when connected to a Thunderbolt 3 Dock.
It seems the only way to get ABV support is to connect to a built-in Ethernet port if the Mac has one or to connect via a Thunderbolt to Ethernet adapter. This is hinted at by the help message from Audio Midi Setup when you do not have AVB enabled. It says in part

See the help guide for configuration instructions if your computer does not have built-in ethernet or if it has more than one network service that can support AVB.

Unfortunately, I do not know what "help guide" it is referring to, but it does lend support to the idea that AVB is only supported by "built-in" Ethernet.


Is there a macOS equivalent of the Windows assoc command?

No. Apple file mapping is implemented very differently than windows does it. The file metadata has many variables that affect launch services and mapping a particular file to a particular app.


How do I assign a keyboard shortcut to an AppleScript I wrote?

It is also possible without paid 3rd party apps!
1. Open Automator.
2. Make a new Quick Action.
3. Make sure it receives 'no input' at all programs.
4. Select Run Apple Script and type in your code.
5. Save!

Now go to System Preferences > Keyboard > Shortcuts. Select Services from the sidebar and find your service. Add a shortcut by double clicking (none).

Finally go to System Preferences > Security > Privacy > Accessibility and add Automator and the preferred app to run the shortcut.


mtrecorder and spirecorder, what are they?

Both of these plist files appear to be part of the iOS operating system, that have been left in OS X by accident due to the shared nature of their development.

The reason you are seeing errors in EtreCheck for these files is that the plist files are telling the launchd process to run executables that don't actually exist on Macs, but only on iOS devices. And even then perhaps only on devices that are used for development.

I think you are safe to remove both files (although I would keep a copy of them somewhere), firstly because they are failing to launch anyway, and secondly because only seem to relate to components of the iOS operating system.


Why won't OS X query multiple DNS servers

If it gets a response from the first DNS lookup it won't try again with another DNS server, even if the first response is NXDOMAIN. All your DNS servers are supposed to return the same results; if you're relying on different DNS servers with different results then your architecture is broken.


NEVER MIND!  I realized that it was simply updating the new data I added to the calendar.  It took 1 day to do that for some reason.  I reconnected to the mac and synced it again, and it is finally working.


iMessage User "is not registered with iMessage"

Messages on an iPad can't send an SMS so you can't send a message to a non-Apple phone. You'll need an SMS apple like Google Voice for that.

There Shouldn't be any problem sending an SMS from Messages on the iPhone though.

I've never heard of a three month version of AppleCare but both the iPad Mini and iPhone 5 come with 90 days of free phone support and a year warranty so I don't know why Apple would want you to buy anything.


"Apple Watch Only" apps not showing on Apple Watch when using Configuration Profile on linked iPhone

I was not able to find the app bundle IDs for the apps I mentioned in the question. Without the app bundle IDs you cannot add the apps to the whitelist. My solution to this issue was to enable blacklist mode for apps instead. This caused the missing apps to appear. Not able to use app whitelist mode, but this was the next best thing.


Apple Mail opening mail in new window when clicking notification

This is a feature of OS X Mavericks (10.9.2) and cannot be disabled


How can I force Google SafeSearch on my kids' Mac?

I did it with Squid and Squidguard.  Add the safe parameter to the URI.  All computers in the house got their DNS and web proxy from that server.

Even this can be defeated by using https to go to a proxy that serves the pages for you.  Then "google" is only in the encrypted packets, not in the URI that your local system sees.

You can block known proxies, but new ones are frequently created.  And Tor Browser can run from a USB drive.

How sophisticated are the kid's tech skills?  Are they actually trying to bypass filters?  If the answers are "very" and "yes" then you can disconnect internet completely and they'll still do it by going to a friend's house.


MacBook Pro 2008 stuck in OS X Mavericks installation

The installer fails to bless the system folder (EG make the drive bootable). This could be an issue with boot sectors or other parts of the disk having a problem of some sort.

Thorbjørn's idea for formatting the HD might indeed work as that will rewrite parts of the disk structure and (hopefully) the part that is failing. Zapping PRAM (COMMANDOPTIONPR at startup) might also help.

Failing that you may have a disk error that is beyond the capability of Apple's Disk Utility to fix. Diskwarrior or other disk repair tool might be something to try next.


Because the filename contains $-, you need to quote the filename when using the rm command, and other commands, as the $- unquoted is being expanded to a name other then the actual filename and is why the file isn't been found.
Terminal command examples:
% touch '~$-foobar'
% ls ~$-foobar
zsh: no such user or named directory: 569XZilmsfoobar
% ls '~$-foobar'
~$-foobar
% rm ~foobar
zsh: no such user or named directory: foobar
% rm '~$-foobar'
%
% ls '~$-foobar'
ls: ~$-foobar: No such file or directory
%


Small external hard drive in time machine

Yes, in System Preferences > Time Machine, select the small drive, click the options button and exclude anything you don't want to back up.


Apple developer company account with offshore company

My plan is to open an offshore company in the Seychelles, Belize or Panama because it is just too complicated and expensive to do it where I live. Will Apple accept this kind of scheme?

You can always apply for an organization Apple Developer License as long as you have a legally incorporated company, and the territory of incorporation is one among the countries where Apple Developer Program is available for purchase.

It may be good for you to know that Apple queries the D-U-N-S number database to verify the identity of your company. So it may be a good step to check if your company can get a D-U-N-S number assigned (you can learn more about D-U-N-S by searching the Web).

It goes without saying that you should be legally able to incorporate and run the business of your company from the said territory, and from the business point of view, all Apple would see is the territory where the company is incorporate and operated from.

So, while I am not a lawyer, but if things can be taken care of within regulations, and Apple does business in the territory, you'd be fine.

  Better can I have a company account without being a company?

This is neither possible nor an advisable thing to think towards. Apple has a strict verification process in place, and using any loopholes may lead to Apple revoking the developer program membership.

  The app is for free and I probably will not make any money with it anyway.

Apparently it's the kind of app which requires a company to be incorporated and can't be "sold" on the App Store by an individual. You need to pay the program membership fee even if you "sell" the app for free. The fee is charged towards the cost incurred by Apple for maintaining the entire App Store infrastructure.


Closing and reopening Chrome eliminated a un-clickable floating window on my mac.

The window was floating over most other windows on a 2nd monitor and was quite large.  I was able to create a third desktop with the "show desktop" function, then drag my working windows to the new desktop (including the windows hidden behind the unclickable image) then I destroyed the crippled desktop by clicking on the X in the 'show desktop' header.  However, a small unclickable image (with the same graphic as the problem window) remained hovering on the newly populated desktop.

I closed Chrome, and the image went away.  It did not return when I reopened chrome and recovered my history.

This was Chrome Version 79.0.3945.130 (Official Build) (64-bit) on macOS Mojave 10.14.6 on 2020-02-12.


How do I view the page source in Safari just like I can in Windows Internet Explorer?

The option is available in Safari, but it’s not on by default. To activate this, follow the steps below:

Launch Safari
Go to Safari > Preferences (or just use the command, shortcut)
Click on the Advance tab in the Toolbar (it should be the last one)
At the very bottom tick the checkbox for Show Develop menu in menu bar
Exit the Preferences window

Now you’ll see a new Develop menu in the menu bar. This will give you access to a whole heap of options, including Show Page Source. It may be worth you exploring the various options to see what else you can make use of.

[EDIT]

I forgot to mention, once you've enabled the Develop menu, you will be able to also right-click on any page and choose Show Page Source from the menu that appears.


Mac Pro Tower, randomly hanging convinced its a hardware problem but Apple think otherwise

Yes - troubleshooting this could be easy if you take some time. Get a notepad and write down the times of the problems - day, minute, second. Over time a pattern will emerge.

Save the logs - after it crashes - run the command sudo sysdiagnose as this will package each crash and the logs for later analysis.

Pay attention to what crashes - is it a kernel panic, a freeze, an abrupt reboot. The steps to diagnose each is slightly different. We have a [chat] for getting troubleshooting help if you need a start.


Apple calendar stopped showing events on Mac

Indeed, it was a more wide-spread and general issue with Google.

However, I had opened a formal trouble ticket with them, which eventually got recognized, acknowledged, escalated, worked upon and resolved, by about 10:30 am PST 8/23/19.

However, you may need to still purge your calendar cache files:

go to calendar.app, go to settings, go to accounts, uncheck the calendar to disable, then quit the calendar application.
then, go to your User Library folder ( ~/library/calendars/ folder),
(you can easily lookup how to do this if you don't know how to find it)
then, delete all items with the name "Cache" in it such as:
Calendar Cache-shm
Calendar Cache
Calendar Cache-wal
go back to calendar.app, launch/run it, then, go to settings, go to accounts, check the calendar to re-enable your Google calendar account
Then finally, you may wish to also click CMD-R to refresh calendar data and wait for enough time for all data to re-sync


How to tell if the macOS Catalina install file was deleted once installation was complete?

In the past Apple has put installer files in the Applications folder

/Applications is still where the installer is placed after downloading.


There are two possibilities: dirt on the screen, and actual internal dead pixels.

If it's dirt on the screen, then since it doesn't sound like you've tried this already, I suggest water. Water will not hurt your screen, as long as it does not run down into a crevice and into the electronics. Use a damp microfiber cloth if you have one; otherwise, use a damp paper towel very lightly (paper towels can be scratchy). Most crud that you can get on a screen will wipe away easily with wet wiping; you do not need to scrub hard, and you shouldn't as this could scratch the screen or damage the internals.

When I say “damp”, I mean getting the cloth wet under a faucet and then firmly wringing it out until it doesn't drip. Dry water off your hands so they don't drip either.

On the other hand, a colorful single pixel defect may well be a “dead” pixel. (Dirt on the screen typically doesn't look colorful except when it's fresh liquid droplets, which act as little lenses magnifying the pixels.) Typically, there is nothing you can do about these, but I have seen occasional reports of a dead pixel being restored by gentle rubbing. I would not recommend attempting this, myself.


How to download Firefox via command line FTP

You can skip the download step, and mount it directly over the internet like so:

hdiutil attach https://ftp.mozilla.org/pub/firefox/releases/43.0.4/mac/en-US/Firefox\ 43.0.4.dmg

Saves a step, time, and storage space!


Your if statement test,[ ... ], is not properly formed, change:

if [ defaults read com.apple.finder AppleShowAllFiles = "FALSE" ]

To:

if [ "$(defaults read com.apple.finder AppleShowAllFiles)" = "FALSE" ]


How often is Shift, Control, Alt or Command combined with the secondary click?

Interference depends entirely on the application you are in when you use that combination of keys. Based on my experience, the only applications that get into that deep of a combination of keys (shift+control+cmd+[...]) are very robust like those found in Microsoft Office and the Adobe Creative Suite.


How do I re-enable the Press and Hold character picker on OS X Lion?

The command to enable the Press & Hold character picker is as follows:

defaults write -g ApplePressAndHoldEnabled -bool true

Note the addition of defaults write which was missing from your command.

If it does not work in certain apps after performing this, restart/reload those apps (e.g. killall -HUP Finder). Alternatively, log out of your user or just reboot your computer.


Can't ping local devices by network name after DNS change

Your router's DNS servers won't know about your private device names, but chances are your router will. Add your royter's IP address to the list of DNS servers and drag it to
the top of the list.


I think @timothymh is right, this is a Python question not a Textwrangler one, but regardless, to open a file with Textwrangler:

via the Finder

Just double click it. If that file type is associated with a different application then open the context menu for the file, and select "Get Info" and change the "Open with:" to Textwrangler. Click the "Change All…" if you want all files of that type to open in Textwrangler.

via the Terminal

With Textwrangler open and active, select the Textwrangler menu and "Install Command Line Tools". This will give you the edit command, so to open a text file in Documents called "My Text File.txt" you'd issue the command via the terminal of:

edit ~/Documents/My\ Text\ File.txt

and it will open in Textwrangler.

Now that's out the way…

The Python problem

You're trying to open a file without giving the full path to the file. Since you don't give a full path (either absolute or relative) the command assumes it's a relative file path, which means it will look for "genomic_dna.txt" in the current working directory.

You've also not specified a file mode, which means open will assume you want to read the file. All of which means you get an error, because that file does not exist in the current working directory.

To fix this, either:

Give an absolute path, e.g. file = open("/Users/jonathan/Documents/genomic_dna.txt") (or wherever genomic_dna.txt is to be found, obviously).
Give a relative path, e.g. if the current working directory is ~/PythonProjects/ then file = open("../Documents/genomic_dna.txt").
If the file doesn't exist because you haven't created it yet and want to write to it, then pass the file mode, e.g. file = open("genomic_dna.txt", "w").

You might want to try using the Python interpreter to test your code out first and then transfer it to a file (by using Textwrangler to save it). To open the interpreter just type python at a terminal and press enter.


OS X 10.8 installed over pre-release version, still shows as needing download after the installation has completed

This shouldn't be a concern. (I followed the same path of installing the GM seed.) The App Store allows you to re-download the installer if you desire, but indeed, the build you installed is the same as the release version. If  > About This Mac shows Mountain Lion, you're running Mountain Lion!


Photos.app iOS/macOS: remove all photos on iOS and without removing them on the Mac

Have to be careful here. After making sure that all the photos are in iCloud Photo Library, you don’t delete them from the iPhone. Instead, you disable iCloud Photo Library and let the system remove them (it may take awhile depending on the number of photos and videos).

New photos can be added to iPL via your Mac either by manually syncing through Photos or Image Capture, (for photos) using PhotoStream or another 3rd party program like PhotoSync. Or you can re-enable iPL with “optimized” set. I’ve got 14K items (with s few weeks of full-size photos and videos) and I’m only using 1.78GB.

That said, I’ve seen some funky issues in the past where the system doesn’t remove some of the items when I disabled iPL. I tried manually deleting them but, when I re-enabled iPL, the deleted items were all deleted from iCL. I got them back from the Recently Deleted album but I had a few minutes of panic until I remembered they should be there.

I was just trying to force the iPhone to replace the current copies with optimized items to save space. I think doing this is actually to backup and restore your iPhone using an iCloud Backup.


Strange behavior in Terminal with custom .bash_profile

You should surround your non-printing characters (in this case, your ANSI escape sequences) with bash escape sequences: \[ and \]. That way bash will know the enclosed characters are not visible, ie. they do not take space, ie. they should not be included in the word-length calculation used by the line-wrapper.

in other words change your PS1 definition:

export PS1="\e[31m\u\e[0m@\e[34m\h\e[33m\w\n \$ \e[0m "

… to:

export PS1="\[\e[31m\]\u\[\e[0m\]@\[\e[34m\]\h\[\e[33m\]\w\n \$ \[\e[0m\] "

And here's the same PS1 value, for human–reading only, with perhaps improved readability (ANSI-escapes in the lower row, bash escapes in the middle and printing characters in the upper row.)

          \u          @          \h          \w\n \$
\[      \]  \[     \] \[      \]  \[      \]        \[     \]
  \e[31m      \e[0m     \e[34m      \e[33m            \e[0m

Further reading:

Bash Prompt HOWTO § 6.1. Colours
Funtoo: Prompt Magic
SuperUser: Do I need to enclose ANSI escape sequences in \[ and \] in a bash prompt?


iMac Snow Leopard using Apple Mail via Gmail: Can I get rid of "Sender" field?

When she sends an e-mail from mail, make sure she selects the correct e-mail address in the from drop-down, underneath the subject field.

If her Yahoo e-mail address is not there, she needs to add the outgoing mail server in Mail, Preferences, by clicking on the drop-down menu, and choosing edit smtp server list.


Creating a RAM disk this way disables ownership. To enable ownership additionally enter:

sudo diskutil enableOwnership diskX

To add folders use sudo mkdir folder_name. The folder has root:wheel 755 permissions then, but you can change ownership to other users later.


I had the same experience with my MacBookAir. Turns out Catalina killed the firmware and the only solution according to the Genius Bar is to replace the motherboard. That is around 500 Bucks in my case.


One possible explanation for the lack of success so far may be that if FileVault is enabled, the system is booting from the EFI partition,(because the main drive has not yet been unlocked).

In previous OS versions, the login screen's resources are obtained from the Recovery partition, though I mounted mine on Mohave and couldn't see anything relevant.

https://superuser.com/questions/362788/how-do-i-change-the-filevault-login-icon-on-osx-lion/364587#364587

As it turns out, replacing the login icon for the 'Other...' prompt on the login screen is as simple as:

Disable SIP.
Overwrite this file with any image of your choosing that is 72x72 pixels /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/Current/Frameworks/LoginUICore.framework/Resources/OtherUser.png


Developing an app with an automatically renewable consumable in-app purchase

SKProductRequest only returns the right data when running on a device. My solution was to run my app on an actual Apple TV.


You have probably already looked into this, but it sounds like "iCloud Status" is enabled in iTunes, but "iCloud Download" might not be. Go to

  View > View Options

and make sure that "iCloud Download" is checked off.


Try the following steps:

Switch off your Mac (not just log out).
Boot into Recovery mode by pressing the power button while holding down the CommandR keys.
Select Disk Utility and press Continue.
Choose Utilities > Terminal.
Type resetpassword (all one word, lowercase letters) and press Return
Select the drive containing your user account (this is usually your main drive)
Choose the account to change with Select the User Account
Enter a new password and re-enter it into the password fields
Enter a new password hint related to the password
Click Save. (Note: you may get a warning that the password has changed, but not the Keychain Password. Click OK.)
Shut down your Mac (Apple > Shut Down)
Restart your Mac


Possible to give Airport wifi extender a custom wifi name?

You can change the base station name in AirPort Utility by following these steps:

Open AirPort Utility
Click on the AirPort of whose name you want to change
Click Enter Password and enter the password if necessary
If this isn't necessary, click Edit
Navigate to the Base Station tab of the menu
Edit the name, then hit Update

But in terms of changing the Wi-Fi name, this is not possible unless you give the AirPort its own network, instead of extending an existing one. It will use the same name as the source network, like you said.


Can't share my card with family members, have to buy everything twice

You shouldn't need to pay for other family members to download the app, provided you all are running the latest iOS software (I'm not sure if it requires iOS 9), iCloud Sharing should allow purchases to be shared between six family members. See http://www.apple.com/icloud/family-sharing/ for information and https://support.apple.com/en-us/HT201088 for help setting it up.

You can go to the receipt Apple will send you for the $20 Keynote purchase, and there will be a link in there to report a problem, and you can indicate you did not mean to purchase. It will hopefully result in a refund.


First, get your PATH back for the current shell by running

PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PATH

Then fix the PATH problems

edit your bash-profile and put back the line you've deleted. If you don't remember, take the two lines from above
path_helper takes its input from the files in /etc/paths.d, at least one of those files seems to be corrupt (the last two entries in the output look kind of strange). To fix, run /bin/ls -l /etc/paths.d to get the name of the file containing the additions for omnet++ (should be named accordingly) and remove it with sudo /bin/rm /etc/paths.d/NAME-OF-FILE


What is the IP address of my iphone when my computer is connected to the internet using that iphone's personal hotspot?

The answer is 172.20.10.1

Found this out by checking out the gps2ip settings and saw there were some provisions for using a personal hotspot and it told me there. You have to tell gps2ip to pipe over the hotspot from within the app to make it work regardless.


OS X file permissions prevent me to delete files

That easy_install came with the system, it's not the one you tried to install.
The files coming with macOS are protected by system integrity protection.

On my machine this looks like:

$ ls -lO /usr/bin/easy*
-rwxr-xr-x  2 root  wheel  restricted,compressed 925 31 Jul 04:27 /usr/bin/easy_install
-rwxr-xr-x  1 root  wheel  restricted,compressed 454 31 Jul 04:27 /usr/bin/easy_install-2.6
-rwxr-xr-x  1 root  wheel  restricted,compressed 458 31 Jul 04:27 /usr/bin/easy_install-2.7

"restricted" means "protected by SIP"

If you want to use PIP on the mac, create a virtualenv in your home directory and do everything there, then you'll be independent from the system libraries.


Blinking question mark on folder on boot

If only the arrow comes up when you hold down option it most likely means there's some kind of hardware issue.  You may be able to repair it using the Disk Utility in Internet Recovery (Hold down ⌘ command+⌥ option/⌥ option+R while booting) , but I'd advise in to looking to getting this thing serviced or repaired.  Sounds like you've got a bad HD.

If all else fails, run fsck and see what happens.  Information on how to do that is located also in the provided article.


Can I reset Notification Centre badge counter for Messages?

The correct answer to this issue isn't to message all your contacts.

First close the Messages app.

Then simply open up Activity Monitor and quit the Dock process to restart it.

Here's how it looks:

Your badge count should be reset after that.

PS: You can access Activity Monitor from Spotlight (⌘ Space) by simply typing its name and pressing Enter.

Edit: update thanks to @JjP and @Toland H


How can I save videos from iCloud Drive or Google Drive to photos on my iPhone?

I use this method for Google Drive, I think it's OK for iCloud Drive. Touch the three vertical dots and there will be the "Send a copy" option; Now, as you will see, there will be "Save Video", it will start exporting and your video will be saved in the roll


Is there an iPhone drop-in charging cradle?

You'd want something like this charger called Elevation Dock


How can I fix a Macbook pro MGXA2 draining battery on shutdown?

There are multiple ways to investigate...

One is using the terminal command Pmset -g assertions

that would display the reasons for Mac staying awake (consuming battery)

Another one is showing you a Month worth of reasons for Mac been awake

log show --style syslog | fgrep "Wake reason"


Unexpected -bash command not found error when starting new mac terminal window

Troubleshooting syntax errors in the shell scripts is the fastest way to remove this.

Backup and rename all . files for your shell - .bashrc and .bash_profile

Verify the issue is resolved. Build up your files line by line or by doing a split half search (add half the things the file does at a time - adding / removing half) if your files are very long or involved.

You're in good company on this one:

-bash: 1: command not found - Immediately on loading Terminal
terminal -bash: command not found
Terminal command not found
Unknown error message in Terminal

It doesn't really matter that nothing changes in the file if it sources other files or the global environment has changed - setting aside your files is the fastest way to get to a stable bash (or whatever shell you prefer) and then build things up slowly.

Once you're sure it's not the startup files, then look at the application running. If it's terminal.app - it can be set to run a command or script when it starts - you can remove those preferences or perhaps make a new user account and verify it's either a system wide issue or just restricted to your user account and user preferences.


Put it in recovery mode and restore from iTunes.

To put it in recovery mode, turn the phone off if possible (by holding down the power button), if not possible hold down both the power and home buttons to do a hard power off.

Finally, connect the Lightning cable while holding the home button, the phone should power up and then display the recovery mode logo; at this stage you can release the home button.

The rest of the process takes place on your computer.