iPhone won't turn on after screen and battery replacement

If you can afford to lose the data on it, you might try using 'Pwned' DFU mode, which is a sort of factory firmware flashing mode similar to recovery mode, or Android's Download Mode. Once the device is in DFU mode (steps below) iTunes should tell you that it has detected an iPhone in restore mode. Choose to "Update & Restore", and iTunes will download, verify, and install the newest iPhone 5 firmware to the phone. When it is done the device should be accessible. If the screen still does not respond afterware but iTunes continues to interface with it, it is an issue with how the screen was installed, in which case you should (obviously only if you were the one to replace it or know what you are doing) open the iPhone, find the ribbon cable connected to the screen, disconnect it, ensure that there is nothing that would cause interference with the connection (dust particles, fuzz, etc.) and reconnect the ribbon cable. Apple uses a strange ribbon cable design and I have found in the past that it sometimes seems as though one is fully connected when it is not.

Steps to enter DFU mode:

  Disconnect the iPhone from your Mac.
  Hold BOTH Power & Home for 20 seconds.
  On the 20th second, let go of the Power button but KEEP holding the Home button for an additional 30 seconds.
  Your screen should be black, reconnect your iPhone to your Mac and if it worked iTunes should report that the connected iPhone is in recovery mode and needs to be restored.
  Either Click "Update & Restore" to auto-download and install the newest firmware for your device from the Apple servers, or hold down the "Shift" key while clicking the button to install a custom .ipsw firmware file (will only work with firmware built and signed by a licensed Apple Developer account).


Can you restore deleted messages on iPhone 6 from iPad?

The only way to get your messages back on your iPhone is to restore your iPhone from a backup that predates when you deleted the messages.

Right now there is no option to include messages in iCloud backups. Starting with iOS 11, however, there will be. In iOS 11 beta 1, there's an option in Settings to enable full chat archive synchronization in iCloud.


unable to find Paragon NTFS for Western Digital(WD) external drives

It looks like there are two options. The first is to use the paid software from Paragon Software. While it is not free, it appears to be the most compatible option going forward.
Western Digital also has a link to an older version of NTFS for Mac. Keep in mind that the new NTFS for Mac looks to be compatible with macOS 10.14 where WD’s software lists compatibility up to 10.12.
Paragon Software does say in their FAQ that you may be eligible for an upgrade from WD or Segate’s older versions of NTFS for Mac.

I’m a user of a Seagate or Western Digital device with pre-installed
NTFS for Mac. How can I get my update?
You are eligible for a special update for you current version of
Microsoft NTFS for Mac by Paragon Software. Please contact our Support
Service at support@paragon-software.com to reclaim your update.

Source: NTFS for Mac FAQ


Where to put VirtualHost files for brew's httpd24?

You have to edit the file /usr/local/etc/apache2/2.4/httpd.conf.

Search for and uncomment the following two lines (remove the # at the beginning of the line):

#LoadModule vhost_alias_module libexec/mod_vhost_alias.so
#Include /usr/local/etc/apache2/2.4/extra/httpd-vhosts.conf

Then edit the file /usr/local/etc/apache2/2.4/extra/httpd-vhosts.conf to suit your needs.


What is the difference between a Mac mini and a Mac mini server?

Comparison of Mac Mini and Mac Mini Server (as of mid 2011)

Processor:

Server: Quad core i7
Mac Mini: Dual core i5

The base model of the Mac Mini does not support AES-NI which is recommended when using FileVault 2.

Graphics:

Server edition and Mac Mini base model: integrated HD Graphics 3000
High end Mac Mini: dedicated graphics, AMD Radeon HD 6630M with GDDR5

Note: This is very recommended for Lion on large external displays. The integrated HD Graphics 3000 do not perform well in Lion as of 10.7.3 - even on my 15'' MBP.

Hard drive:

Server: 2 x 500GB at 7400rpm
Mac Mini: 1 x 500GB at 5400rpm - and thus quieter

Optical Drive:

Server: none
Mac Mini: none

Weight:

The server edition weights 0.3 pounds more.

Video, Audio, Network, Dimensions:

same


Route USB mic input to System Audio output for Camtasia 2?

Rogue Amoeba's Loopback will allow you to route virtually any input/output to/from any Mac application. It is easier to use than Soundflower, and you can create multiple routings (which Soundflower does not) -- but it is a paid (and supported) app (unlike Soundflower).


Is memory or storage in the 2018 Mac mini replaceable by the user after purchase?

You can find a guide on iFixIt, summarized on MacRumors.com: 2018 Mac mini Teardown: User-Upgradeable RAM, But Soldered Down CPU and Storage
Memory: Yes*
Apple specifically mentions on the Apple Website that the Memory are SO-DIMM sockets (2666MHz DDR4 SO-DIMM).

Mac mini features high-performance 2666MHz DDR4 SO-DIMM memory

*However, the warranty is voided if upgraded by the user as the modules are no longer directly accessible from the bottom but instead involve removing the antenna plate, fan and mainboard.
Storage: No
Storage is (like on the MacBooks) soldered onto the logic board and therefor non-replaceable (you would need to replace the entire logic board).


What steps should I take in preparation for upgrading to Mountain Lion?

According to The Tech Scoop and Lifehacker, there are a number of things you should do before upgrading.

Make sure your computer will actually run Mountain Lion. Here is a list of all the Macs that will not support Mountain Lion.
Run Software Update. Go to the Apple menu > Software Update and make sure you have all the current updates installed. Make sure that you are at least running Snow Leopard 10.6.8 (as required on Apple's website).
Make sure you have enough space on your drive. Mountain Lion requires 8GB of space, so make sure you at least have that amount free (preferably more though). If you don't have the space required, you can use a disk visualizer such as DaisyDisk ($9.99) or Disk Inventory X (free) or use AppCleaner to remove old, unused applications. More detailed information on that is available from Lifehacker
Check  that all your applications wil run on Mountain Lion. RoaringApps is the best place to check. It has a status indicator, and a feature list of what feature the application supports
Repair disk permissions and disk. If you are running Snow Leopard, start from the install disc and open Disk Utility. If you are running Lion, shut down and restart while holding Command ⌘ + R (restart into the Recovery partition). In Disk Utility, click on your main hard drive and then click "Repair Permissions". When that's done, click "Repair Disk".
Thanks to cksum for commenting that repairing permissions before an install is not necessary. "You don't need to repair disk permissions prior to installing Mac OS X over a previously-installed OS. The installer will do this automatically." (Apple KB doc about repairing permissions)
Backup your computer. This is the most important step. If something goes wrong while installing Mountain Lion, you want to have a backup to go back to. Also, if for whatever reason you want to revert to Lion, backing up your computer will make it a million times easier to revert. The Tech Scoop recommends using Disk Utility to backup your computer. Lifehacker recommends using either Time Machine or Carbon Copy Cloner to backup your computer. My preference is Carbon Copy Cloner, freeware software for cloning a hard drive. If you want to use the other options, check out the links above. Open Carbon Copy Cloner, select the source and the target and click "Clone". Wait for it to backup your computer...

If you've completed all the above steps, your Mac is ready for Mountain Lion! Go to the App Store and install Mountain Lion.


BetaRide. There is a difference between shared and public folders.

The Shared folder is located in the Users folder on your hard disk, with your home folder and the home folders of any other people who have accounts on your Mac. You can use the Shared folder to share files with other users on your Mac. The Shared folder is set up so that all users on your Mac can open files in the folder and copy files to it.

To view the Shared folder, click the desktop to make sure you’re in the Finder, choose Go > Computer, open the icon for your internal disk (usually named Macintosh HD), then open the Users folder.

The Public folder is located in your home folder. You can use the Public folder to share files with other people on your network. To share information in your Public folder, you must turn on file sharing in the Sharing pane of System Preferences. Your Public folder is set up so that others can see and copy its contents, but not make changes.

Your Public folder also contains a Drop Box folder. Other people can copy files to your Drop Box, but they can’t see its contents.

To view the Public folder, click the desktop to make sure you’re in the Finder, then choose Go > Home.


iOS 8 Safari SharePoint 2013 Windows Authentication Support

Have you tried implementing the ADFS solution? Using client certificates

It's described here:  https://sharepoint.stackexchange.com/questions/38086/sharepoint-repeatedly-prompting-ipad-users-for-credentials

And goes in to more detail here: https://paddleshift.wordpress.com/2013/03/01/authenticating-to-sharepoint-from-iphone-and-ipad/


macOS fails to reinstall when trying to factory reset

The pulling the RAM out before installing did the trick for me!

When I first bought my MacBook 5 years ago it only came with 4GB of RAM. About a year and a half ago I upgraded this to 8GB. For whatever reason this throws errors and won't let you reinstall Mac OS X again.

So what I did was turned the MacBook off and flipped it over and took off the bottom cover. I then removed one of the sticks of RAM (the one on top) and restarted the computer and tried installing again. This time it installed without any issues and after it was installed I put the other stick of RAM back in again.


Are there less expensive alternatives to Apple-branded Mini DisplayPort adapters?

I'm with you. I don't know why Apple has such a high mark-up for a simple adapter. But you can get them for substantially cheaper through aftermarket, 3rd party sellers.

I purchased a Mini DisplayPort to DVI through Monoprice for $6.65 USD while Apple wanted $99 USD for theirs (which strangely came with a USB "extender" I had no use for). I thought it was a typo!

Here's a full list of available Mini DisplayPort adapters from Monoprice.

They also provided free shipping and the while the quality of the adapter is not the same as apple's is it quite decent (reminiscent of a standard computer peripheral component from the 90's). But most importantly, it works just fine!


Time Capsule Generating it's own IP Address?

There are settings in the Time Capsule you can modify.

Open up Airport Utility.app, click your Time Capsule, then "Manual Setup". When the management dialog loads, click "Internet" up at the top, then "DHCP" in the category/tab bar.

Ref:https://apple.stackexchange.com/a/23779/46541


How can I abort a calculation that is hanging in Numbers for Mac?

If you have a Time Machine backup, you can get the file from an earlier state.

From Apple Support:

Restore from a Time Machine backup

Restore specific files:

Choose Enter Time Machine from the Time Machine menu Time Machine icon, or click Time Machine in the Dock.

Find the files to restore:

Use the timeline on the edge of the screen to see the files in your Time Machine backup as they were at that date and time. The timeline may also include local snapshots.
Use the onscreen up and down arrows to jump to the last time the contents of the window changed. You can also use the search field in a window to find a file, then move through time while focused on changes to that file.
Select a file and press Space Bar to preview the file and make sure it's the one you want.

Click Restore to restore the selected file, or Control-click the file for other options.

This should get you back to before you made the errant formula.  Provided you have a recent Time Machine backup.


From their website:

  NeoOffice 2014.1 Free Edition has the same features as NeoOffice in Apple's Mac App Store.
  The only difference is that NeoOffice 2014.1 Free Edition cannot save documents.

The open source license that is used for the NeoOffice source code (GPL) doesn't require that the software be provided for free. It just requires that the source code be made available for free. NeoOffice do offer their source free, but it obviously requires a certain amount of skill and time to compile.


Mount Windows smb shares on a Mac using Python

I think, with the help of Tony Williams, I have figured it out. My mount a Windows smb share python script:

import os
directory = "/Users/user.name/foldername"
if not os.path.exists(directory): os.makedirs(directory)
os.system("mount_smbfs //user.name:password@server/servershare ~/foldername")

This will check whether a local folder called foldername exists and create it if doesn't. It will then mount the smb share into it using a defined username/password.


Is there an official list for iTunes / iOS version compatibility?

https://en.wikipedia.org/wiki/History_of_iTunes#Devices

This is not an official apple document but it works.

Also, since you don't have any query about any other iOS or iTunes version, answer is link-only.


Folder tree in Finder sidebar (or stuck to Finder)

I doubt there's a SIMBL plugin to do that. What you're asking for would be a fairly extensive rewrite even if you had the source code for the Finder.

Your best bets are what @jtbandes and @Richard's comments on your question state: get a Finder replacement that does that or use list view in the Finder.


How to open new Safari window on primary display

"active" the primary display and run this applescript

tell application "Safari"
    make new document at end of documents with properties {URL:"about:black"}
    activate
end tell


No disk to erase in Disk Utility Internet Recovery

Internet recovery loads from the internet and runs in RAM. Presumably you have more than 1.28GB of RAM. OS X Base System is the base system for recovery, not your internal drive. Based on that, it cannot see your internal drive at all. There's not much you can do if the computer itself can't see the drive. If there's any way you can get this into an Apple Store, that would probably be the easiest solution as I'm sure Apple's technicians could fix this in no time.

On the other hand, if you're comfortable with opening this up and checking for loose wires, then that would probably be my first step (emphasis on MY first step. I wouldn't recommend this to most people).


Copy BPM & Star rating to Comments in itunes using Applescript

You want to grab the selection, which will be a list of tracks. Then, you use a repeat block to process each track in the list. Here's the script. You may want to adds checks to make sure iTunes is running, and some try blocks in case of failures:

tell application "iTunes"
    set selectedTracks to selection
    repeat with thisTrack in selectedTracks
        set theRating to rating of thisTrack
        set theBPM to bpm of thisTrack
        set theComment to "" & (theRating / 20 as integer) & " star | BPM: " & theBPM
        set comment of thisTrack to theComment
    end repeat
end tell


How do I map a terminal command to a function key?

I am using karabiner-elements to do exactly this on a Dell monitor, you can bind keypresses to shell commands:

{
"title": "F5 to dim, F6 to bright",
"rules": [
    {
        "manipulators": [
            {
              "description": "dim",
              "type": "basic",
              "from": {
                "key_code": "f5"
              },
              "to": [
                {
                    "shell_command": "/usr/local/bin/ddcctl -d 1 -b 1"
                }
              ]
            },
            {
                "description": "bright",
                "type": "basic",
                "from": {
                  "key_code": "f6"
                },
                "to": [
                  {
                      "shell_command": "/usr/local/bin/ddcctl -d 1 -b 100"
                  }
                ]
              }
          ]
    }
]

}

(I have ddctl installed, which lets you control the brightness by passing it a percentage value - https://github.com/kfix/ddcctl )

You can check the docs for writing your Complex Modifications like this one: https://pqrs.org/osx/karabiner/json.html


How can I install Mac OS on my MacBook running Linux Mint?

A possible solution for your problem may be the creation of a bootable USB using another Mac computer.

In this way the formatting (Mac OS Extended) of the drive will be compatible with Mac systems and it show up when you press C with option key. Then, following the steps you can erase the disk (removing Linux) and install the OS X that you desired.


HTML5 in Safari 9.0.1 (11601.2.7.2) - `html5test.com

Safari does support HTML5 and does support form validation, however support for 'required' in Safari on OS X and iOS is 'partial'.

  Partial support refers to lack of notice when form with required fields is attempted to be submitted.

Source: caniuse.com/#search=required

Implementation is off-topic here, but feel free to search for solutions on Stack Overflow.


"open with" and Spotlight cluttered with different versions of files/apps

To disable indexing of the back up drive

Open Spotlight in System preferences

click on Privacy Tab,

drag the drive in question in to here

or use the +


How to limit messages from a certain sender on an iPhone?

This can't be done on any current, base version of iOS.

As you've found, you can either block or allow a user to send you a Message but that's about it.

Even Screen Time, which was enhanced in iOS 13, doesn't allow this type of granularity for Messages.  You can try to find a 3rd-party messaging app in the App Store but not aware of any that do what you're looking for.


Restricting SSH access to key-based authentication only

You need to change your settings in /etc/ssh/sshd_config, not ssh_config. ssh_config is the global configuration file for the local ssh client software, whereas /etc/ssh/sshd_config is the configuration file for the sshd server.


Cannot connect to SSH server from Mac OSX

Problem was some weird DNS servers that have been configured. No new DNS names could be resolved. That's why it seemed that surfing the web does work - My usual web pages did work, but new ones did not.

I replaced the DNS servers with OpenDNS and everything works now as expected.

I don't know how the DNS servers were configured, but this resolved the issue.


What is the RDUSB00E6Setupd process running by launchd

I found this on Google:

  Uninstaller (jp.co.roland.rdusb00e6.uninstaller) is a Mac OS X
  software application that has been discovered and submitted by users
  of iBoostUp. The latest version that our iBoostUp users have reported
  seeing on their systems is Uninstaller 1.0.0.

It sounds like you are trying to install the Uninstaller!

If you are not to be blamed :) go to Activity Monitor and kill the process.

Open terminal and search for the file

  mdfind -name rdusb00e6


TextEdit El Capitan file-transfer open file text missing

it was a formatting issue

I changed the USB drive format from GUID to Apple Partition Map.

It seemed to fix the problem


nfc option for NFS mount on Mavericks doesn't work

Very late answer, but you should add nfc to /etc/nfs.conf

nfs.client.mount.options=nfc

man mount_nfs for details of the options.


My Mac is invisible to my iPhone on AirDrop

I find that when AirDrop stops working even when both devices are within bluetooth range and on the same Wi-Fi network, I often have to reboot both devices. There may be another way, but rebooting both has almost always fixed it. Also of note: if you have any firewall enabled, those settings can interfere as well.


You need to use netatalk 2.2, which is the only version that supports Time Machine backups from Lion.


How does one type an "É" (capital e acute) in the French keyboard layout in Mac OS X?

French layout?

Press caps lock ⇪.
Press the é key (that's the 2 on a QWERTY).
Press caps lock ⇪ again.

But you need to make sure you're using the French layout, and not French - numeric (“Français - numérique”, French flag with “123” beneath it).

Otherwise, you're explicitly asking the system to use the caps lock key as a shift lock for the numbers bar on the top of the keyboard!


How to restore deleted files from an internal HDD which has just undergone a full disk format?

Now my question is how can I recover all my files (properly) without
  the help of any recovery software!

You can't.  Unless you have the skill to read/edit the partition tables as well as search each and every sector for orphaned blocks which you will then rebuild, you must use recovery software.

Additionally, that's predicated on if it's a traditional (spinning) hard disk.  If it's an SSD, the data is gone.

You will also want to review this answer on backups


~user/Library/Application Support/MobileSync/Backup

Just copy it :)

if you want the os too

iOS Firmwares


mac pro G5 boot issue- Leopard and Yellow Dog 6.2 installed

Problem solved! So, I decided that, since Im desperate, Im gonna do what I have to. I deleted the partition with Yellowdog on it, then messed with the firmware a lot. I managed to find a way to get it to boot straight to MacOS... and then used Cmd-S to boot into single usermode and surprise surprise, AppleJack rescued my machine in 4 passes.

Incidentally, after I managed to get the machine sorted, some kind soul sent me a Leopard Install Disk. Retail.

Nice!


Will deleting a device from iCloud remove data from that device?

Removing the phone from your iCloud 'find my' structure won't in itself remove any data from the phone…
…but re-assigning it to a new owner will. It will have to be set up again from scratch.

As the phone is currently owned by your Apple ID, so are all the apps & the data stored within them. You can restore [most of] the apps, music etc if you set up Family Sharing but any data in those apps will not be transferred with them, as it still belongs to you.


Update: I was running LenovoEMC's Storage Manager in another window and had a webpage opened to the ix2-dl drive.

After closing these applications, I did a full shutdown and restarted.

This time, when I tried hdiutil compact, it worked.

Just putting this answer here for anyone who runs into a similar issue. Most of the web pages that I found during searching were related to problems with sparsebundles that used FileVault.


Is there another place that passwords are saved in for iOS apps vs safari?

Your assumption is incorrect - it's not necessary for an app to know nor transmit your password to login to a service.
Usually authentication for these types of apps work by you logging with a password for the first login. The app is then issued a token, which you can think of as being a very long, single purpose password. For all future logins, the apps does not authenticate with your own password, but instead using that token.
This makes it possible for app developers to let you login using FaceID, TouchID and all sorts of other methods specifically without storing your own password on the device. In addition it allows them to give users the benefit that they can track which units are used to login, and to revoke the token (i.e. invalidate it) so that a specific device can no longer login (without further user authentication).


How can I delete original photos locally and retain the low-res versions?

Can you confirm that all of your photos and videos have uploaded to the cloud? Check https://www.icloud.com/#photos

Because it sounds like the error might be that they're only uploading if they first are copied from your external drive to the internal drive.

Assuming they have all uploaded, you can (after making a backup), simply delete your local Pictures > Photos Library.photoslibrary. Photos.app will create a new such file when you start it again, and only low-res versions of your images will be downloaded.

If you have not succeeded in uploading all of your photos yet, your best bet is probably to switch Photos Library.photoslibrary to be on your external drive, to avoid filling up your internal drive.


Apple ID Conflict With iCloud Locked iPhone

You can contact support in three possible ways:

by phone
by chat
or you can even try this online support request


Updating iTunes for Windows XP failed; no longer functions

This will probably be most easily resolved by re-downloading the full installer from apple.com/itunes and running it.

Note that you don't actually have to fill in an e-mail address in order to download it. Uncheck the boxes, click the Download button, and it should start within a few short seconds.

After the download completes, run the installer and try to open iTunes again.


Get my PKG Installer To Prompt and Store Admin User/Pass

From this documentation...

http://s.sudre.free.fr/Software/documentation/Packages/en/Package_Settings_Customization.html#6

...it states that Apple PackageManager files (.PKG) files have an option to run with Administrator privileges. It specifically states:

  If you install anything in /Applications or /Library, this option
  should be enabled.

Also, in this documentation...

http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html

...it states that Bash scripts that you run will run under Administrator privileges (root) and therefore will not require sudo authentication to do powerful tasks.


Can't download 'already purchased' app after device crash

The most probable source of your problem is Apple just changed their terms and conditions for the App Store and they won't let you download anything till you accept them.

Whenever Apple change their terms and conditions, the App Store app has a strange behavior (since I had an iPod touch in 2008). One typical situation is that it won't let you download an item that you had already bought.

What you should do is install a new app (one you have never downloaded). Then it will take a lot of time and finally (and hopefully, otherwise you should kill the App Store app and begin the process again), the new terms and conditions page will appear for you to accept them.

Once you accept the terms and conditions, you'll be able to download your previously downloaded app.

As you see, the problem doesn't have anything to do with the iPad crash but with the coincidence in time with the terms and conditions change.


How can I remove a Gmail account in macOS?

Is it from the Mail App?
Go to Mail>Preferences>accounts
then click on your gmail then the minus ( - ) button to remove it.


Not at the moment. You can send feedback to Apple about this: https://www.apple.com/feedback/watch.html.


i had a similar problem opening an iPhoto Library backedup by Time Machine prior to reformatting HD and reinstalling OSX Snow Leopard.

in some cases (like mine), no amount of permission repairing or resetting will solve the problem.  apparently, because i reinstalled OSX from scratch (reformatting disk first), the Time Machine backup belongs to a defunct user.  therefore, even though the username and password are the same, the file that i extract DIRECTLY from TM will be always read-only (i could go via terminal and try some chmod'ifications, but...).  therefore, the issue must be tackled with a different approach:

open iPhoto
open FILE menu tab
choose FIND BACKUPS (translated from Portuguese)
select your timeMachine backup and find the specific image/date you want
browse to the iPhoto library you want to import (there may be various - i had 2)
create a new folder in Documents (where permissions will not be an issue)
after iPhoto backup has been restored to this folder, go to FILE > IMPORT

voila.  worked for me, i hope that this helps the many others who run into the same problem after reformatting and reinstalling OSX leopard (regular or sLow, both seem to act up).


Apple TV with a household of more than one Apple IDs

This is possible.  You can log out of your Apple TV and have someone else log in.  This can get kind of annoying though. But it is possible.

If you have multiple computers in the house though, each with stuff bought with different Apple IDs, and you just want to access the content on the machines, that is very possible too.  You can set up home sharing with one Apple ID on your Apple TV and then on the rest of the other machines.  It has to be the same ID across the different machines but it will let you access all the computers that are on the network from the Apple TV and access and stream the content stored on them.

You can find a great tutorial over here.

You can still do things the old fashion way and log out and log back in, it can just be kind of tedious.  Home Sharing can really simplify the process if you just want to share content from multiple computers though.


It indeed are multiple commands which get run here. If you look up man env you'll find

SYNOPSIS
    env [-iv] [-P altpath] [-S string] [-u name] [name=value ...] [utility [argument ...]]

which explains that env does, among other things,

assign values to variables (the [name=value ...] bit which in your case is PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2)
and then runs another program passed as an argument (the [utility [argument ...]] bit, in your case the call to npm).

The intention here is to extend the search PATH of the command run through sudo in order to have npm find all the executables it needs.

This is purely a feature of env, other commands like sudo or xargs have similar capabilities. OTOH A;B, A && B or A || B are shell features.


Can't find network files over SMB protocol using the Spotlight in Lion

You have to tell Spotlight to index the volume so you can find the files on it.

Open Terminal and issues the command:

sudo mdutil -i on /Volumes/<name of the network_volume you want SL to index>

This command should work in every version of macOS from Snow Lion up to El Capitan


MacBook Pro running Tiger 10.4 erase start up disk

If the disks you have are not full retail disks [grey background rather than white, quite often], then they may not work on all machines, but only those they were designed for at the time.

Apple still sell the Snow Leopard DVD - http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard - though whether it's really worth $19 these days is debatable.

If you know anyone with an Apple Developer account, Snow Leopard is available as a disk image, directly downloadable from Download Mac OS X 10.6 10a432 DVD image (direct link from Apple), for burning to DVD.


How bad is it to run an ancient Mac Pro with an unsupported OSX?

If you have the 2007 Pro 1.1, 10.7.5 is the end of the line for you. But depending what you need to do, it's not all bad. I have a 2010 pro and run only Snow Leo, 10.6.8 most of the time.
The only thing you can do is monitor what apps no longer function, and save up for an upgrade. $600 or so to jump to 2010 pro.


iTunes 11.2.2 moves song to top after editing

Right click on the iTunes Coulomb headers.

That brigs up the long list of choices.

Un-check the Date Modified and Added.

Click on Name coulomb and sort alphabetically.

Now after editing it should stay put.


iTerm2 - Accessibility and Full Disk Access

If you want to access special directories/files such as ~/Library/Application Support/AddressBook or ~/Pictures/Photos Library.photoslibrary, yes you need to give Full Disk Access to iTerm2. If don't, you can not access those directories.

For more information, here is the iTerm2 wiki https://gitlab.com/gnachman/iterm2/wikis/fulldiskaccess

Here is the screenshot when you don't give Full Disk Access to iTerm2.


Boot OS X install from one Mac on another Mac

Try this:

Install a fresh copy of OS X 10.8 onto your USB disk (just download the installer from the Mac App Store and select the external disk as target drive).
Boot from the newly installed OS X.
Using Migration Assistant, transfer your data and configuration files from MacBook A's startup disk. You'll have to select the option "From a Mac, Time Machine backup, or startup disk".
Boot from the external USB drive.

I know it's not a clone, but Migration Assistant does fairly well and preserves all your data.
I did this when I had to transfer my system (OS X 10.9 on a "classic" MBP 13" late 2012) on my new SSD drive. It worked very well. I did not lose any data.

If it doesn't work, your problem may be that you're trying to boot a version of Mac OS X earlier than what came with MacBook B. Maybe installing Mavericks will do the trick.

See this article on Apple KB in order to know the original OS X version shipped with your hardware.


Dual boot MacBook Air 2012 with Windows 7 - now boots directly into Windows

Shut down your MacBook, then hold down Option ⌥ key and turn it on. You will see a boot menu, choose OS X. When logged in into OS X, click System Preferences > Startup Disk, and choose which OS to start by default.

To set up Boot Camp drivers, download them via Boot Camp Assistant (WindowsSupport) folder, write the installers to a USB stick, and run from within Windows.


What is the "rootless" feature in El Capitan, really?

First: the name "rootless" is misleading, since there's still a root account, and you can still access it (the official name, "System Integrity Protection", is more accurate). What it really does is limit the power of the root account, so that even if you become root, you don't have full control over the system. Essentially, the idea is that it's too easy for malware to get root access (e.g. by presenting an auth dialog to the user, which will cause the user to reflexively enter the admin password). SIP adds another layer of protection, which malware can't penetrate even if it gets root. The bad part of this, of course, it that it must also apply to things you're doing intentionally. But the restrictions it places on root aren't that bad; they don't prevent most "normal" system customization.
Here's what it restricts, even from root:

You can't modify anything in /System, /bin, /sbin, or /usr (except /usr/local); or any of the built-in apps and utilities. Only Installer and software update can modify these areas, and even they only do it when installing Apple-signed packages. But since normal OS X-style customizations go in /Library (or ~/Library, or /Applications), and unix-style customizations (e.g. Homebrew) go in /usr/local (or sometimes /etc or /opt), this shouldn't be a big deal. It also prevents block-level writes to the startup disk, so you can't bypass it that way.
The full list of restricted directories (and exceptions like /usr/local and a few others) is in /System/Library/Sandbox/rootless.conf. Of course, this file is itself in a restricted area.
When you upgrade to El Capitan, it moves any "unauthorized" files from restricted areas to /Library/SystemMigration/History/Migration-(some UUID)/QuarantineRoot/.

You can't attach to system processes (e.g. those running from those system locations) for things like debugging (or changing what dynamic libraries they load, or some other things). Again, not too much of a big deal; developers can still debug their own programs.
This does block some significant things like injecting code into the built-in Apple apps (notably the Finder). It also means that dtrace-based tools for system monitoring (e.g. opensnoop) will not be able to monitor & report on many system processes.

You can't load kernel extensions (kexts) unless they're properly signed (i.e. by Apple or an Apple-approved developer). Note that this replaces the old system for enforcing kext signing (and the old ways of bypassing it). But since v10.10.4 Apple has had a way to enable trim support for third-party SSDs, the #1 reason to use unsigned kexts has gone away.

Starting in Sierra (10.12), some launchd configuration settings cannot be changed (for example, some launch daemons cannot be unloaded).

Starting in Mojave (10.14), access to users' personal information (email, contacts, etc) is restricted to apps that the user has approved to access that info. This is generally considered a separate feature (called Personal Information Protection, or TCC), but it's based on SIP and disabling SIP disables it as well. See: "What and how does macOS Mojave implement to restrict applications access to personal data?"

Starting in Catalina (10.15), protection of most system files is strengthened by storing them on a separate read-only volume. This is not strictly part of SIP, and is not disabled by disabling SIP. See: WWDC presentation on "What's New in Apple [Catalina] File Systems" and "What's /System/Volumes/Data?".

Starting in Big Sur (11.x), the read-only system volume is now a "Sealed System Volume" (a mounted snapshot rather than a regular volume), so making changes to it is even more complicated. See: the Eclectic Light Company article "Big Sur boot volume layout".

If you don't want these restrictions -- either because you want to modify your system beyond what this allows, or because you're developing & debugging something like kexts that aren't practical under these restrictions, you can turn SIP off. Currently this requires rebooting into recovery mode and running the command csrutil disable (and you can similarly re-enable it with csrutil enable).
Modifying the system volume in Catalina requires disabling SIP, then mounting the volume with write access (and then rebooting and turning SIP back on is recommended). In Big Sur, additional steps are required to disable authentication of the system volume before changes, and afterward create a new snapshot.
You can also selectively disable parts of SIP. For example, csrutil enable --without kext will disable SIP's kernel extension restriction, but leave its other protections in place.
But please stop and think before disabling SIP, even temporarily or partially: do you really need to disable it, or is there a better (SIP-compliant) way to do what you want? Do you really need to modify something in /System/Library or /bin or whatever, or could it go in a better place like /Library or /usr/local/bin etc? SIP may "feel" constraining if you aren't used to it, and there are some legitimate reasons to disable it, but a lot of what it enforces it really just best practice anyway.
To underscore the importance of leaving as much of SIP enabled as much of the time as possible, consider the events of September 23, 2019. Google released an update to Chrome that tried to replace the symbolic link from /var to /private/var. On most systems, SIP blocked this and there were no bad effects. On systems with SIP disabled, it rendered macOS broken and unbootable. The most common reason for disabling SIP was to load unapproved (/improperly signed) kernel extensions (specifically video drivers); if they'd only disabled the kext restriction, they would not have been affected. See the official Google support thread, a superuser Q&A on it, and an Ars Technica article.
References and further info: WWDC presentation on "Security and Your Apps", a good explanation by Eldad Eilam on quora.com, the Ars Technica review of El Capitan, and an Apple support article on SIP, and a deep dive by Rich Trouton (who also posted an answer to this question).


why is the .HEIC suffix sometimes uppercase and sometimes lowercase

There is no functional difference, it's solely down to the programming decisions of the originating program. Some choose to do it fully uppercase, some do not.


MBP early '11 kernel_task over 300% when unplugged

Something is telling the kernel to do work.

You might need to run sysdiagnose and get expert assistance to interpret the results. Since you've done so much troubleshooting, it's going to be unlikely someone can drift in and point out an obvious flaw in your reasoning (but if they do - we might have a quick resolution.)

The real data missing is what you've done to isolate the issue. Can you summon this on demand? Does it happen immediately after a reboot?

You'll need to have some process to keep track of when the issue arises - once you have 5 to 10 events, then it's much easier to go over the system.log and top process listing to see if any patterns emerge.

A single sysdiagnose is very hard to pinpoint a problem by a non-expert. Ten events where sysdiagnose was run and there is data on what was connected, what you were doing, and ten sets of detailed logs is often very easy to narrow down your specific issue.


Any idea why I can't edit a file even if I run vim as root?

Like you said in a comment , it's a file in Bitdefender antivirus's folder, so there is a chance that the software is blocking anybody to access writing the file.

Have you tried to stop Bitdefender to unlock the file ?

Otherwise, if you try to copy the file, then modify it and put it back in the folder, did it works ?


What if there is an error message that adoptopenjdk8 exists in multiple taps?

Here is a quick solution which assumes that Homebrew is up-to-date and there is no need to use any other packages from the adoptopenjdk/openjdk tap:

Check the state of adoptopenjdk/openjdk tap and adoptopenjdk8 package:

brew tap - lists which taps are currently enabled
brew search adoptopenjdk8 - shows which adoptopenjdk8 casks are available from the enabled taps and which adoptopenjdk8 casks are currently installed

Now assuming that the adoptopenjdk/openjdk tap is listed as enabled, remove the adoptopenjdk/openjdk tap as follows:

brew untap adoptopenjdk/openjdk

Then check what adoptopenjdk8 casks are currently installed. This should show exactly one adoptopenjdk8 cask installed.

At this point, brew cleanup should work correctly.

My explanation: it appears to me that they added adoptopenjdk8 to the built-in Homebrew caskroom.

Note that it should be OK to do brew tap adoptopenjdk/openjdk afterwards, if needed. (This has not caused any issues for me so far.)


Retina MacBook Pro - Quad core vs. Dual core and virtual machines (VMware Fusion)

I would say that will depend on your work. If performance is of the essence, go with the 15" model. You're also going to appreciate the extra screen estate when having documentation and your code side by side.

Graphics however, play little role when it comes to virtualization especially when you don't run any graphics-intensive apps.


Unable to change the order of widgets in Yosemite Notification Center Today View

I was having the exact same problem, and I think it started after installing an app which included a Today widget.
I've finally fixed it by trying a few things, so I'm not sure what actually solved the problem. I suggest you try these things in the same order:

Open the Terminal (/Applications/Utilities/Terminal.app) and paste the following lines there, then hit [Enter].

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\
LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local\
-domain system -domain user -seed

This will rebuild the app cache, which includes all extensions.
A few extensions will probably be missing now (in the Extensions preference pane). That is no big deal; just quit and open all apps that come with extensions. Logging out and back in would do the trick too.
Go to System Preferences > Extensions > Today, and reorder the items to your liking. Make sure you keep all checked items together and move them to the top of the list! I suspect the Today view could get confused when enabled widgets are mixed with disabled ones.
Log out and back in and see if the widget order is correct.

Hopefully, this approach works for you too.


Booting from SSD in optibay (MacBook Pro mid-2010)

I went through a lot of the same questions you were asking and had to search high and low to find my answers.

First of all, this is my setup:

MacBook Pro Mid 2009

Optibay: SSD
HD Bay: Original Mechanical HD
8GB RAM

OS X Boot Disk: SSD
Windows Boot Disk: Original Mechanical HD

SSD: Mac OS X
Original Mechanical HD: Windows 7 Partition / Mac OS Extended (Journaled)

Ok, so here is the reasons for the described setup.  I, like you, put the SSD in the Optibay because of the motion sensor issue.  The Optibay doesn't have a motion sensor and the Original Mechanical HD isn't motion sensor equipped. So I put the SSD in the Optibay and boot into OS X.

The next issue I faced was the fact that Mac's can freeze when trying to do hibernate with an SSD in the Optibay. So I disabled Hibernate.  This had a few nice perks, such as faster sleep and resume and the gaining back of 8 GB of SSD space that was wasted by the Hibernate RAM Image that Hibernate will make before your machine runs out of battery.  Now obviously, this means that if I was working on something important and my battery dies, then I will have lost it forever.  So this is a risk you will have to be willing to take but it is up to you. Personally I only do really important work while the charger is plugged in because of the fact that I am doing that work for 8 hours straight.

Update

Now some searching on the issue recently showed me that as of 10.8.1, this issue of freezing when waking from sleep had been fixed. I have not tested this personally on my machine because of the fact that I am used to having hibernation disabled.  I don't like or need hibernation personally and I like the extra space I get from disabling it.  Now the article says that it has been fixed but it does not state anything about Optibays, it only states its fixed for the SSDs in the Original HD Bay.  I would recommend testing it out though, leaving Hibernation turned on, sleeping your machine while NOT doing any important work, and seeing if it wakes, doing it multiple times, just to be sure.  If it does freeze or cause issues, then I would recommend disabling Hibernation.

End Update

You can disable Hibernation with the following command:

# Check Current Hibernation Status

$ sudo pmset -g | grep hibernatemode
hibernatemode   3
# 3 is the default mode, we want to change this to 0 to disable disk writes.

# Disable Hibernation
$ sudo pmset -a hibernatemode 0

# Now we can remove the old sleep image
$ sudo rm /var/vm/sleepimage

Now as for Windows, since I had Windows Installed on a 50 GB partition of the Original Mechanical HD, I just left it there. Installing Windows is a pain the butt and I didn't want to do it again. Also, I am rarely ever on Windows, I only use it to play some games and to do some Windows Development on every once in a while. Also, by keeping it there, you keep windows from having any possible issues with booting from the Optibay (though when I had the Original Mechanical HD in the Optibay as a test, it booted just fine).

Since I use the SSD for pure Apple Stuff, I took the original Mac OS X partition that was on my Original Mechanical HD and just reformatted it to extra space for my Mac.  I download and store all my heavy giant waste of space extra files on that partition so I don't take up space on my precious and fast SSD in the Optibay. You could also partition it in a format that both Mac OS X and Windows 7 can access, such as ExFAT, so that they both play nice with the space and you have extra storage that both can share. Very convenient.

Now after you get all your pieces in place, be sure to go to System Preferences > Start Up Disk and set your SSD as the startup disk.  If you don't, it might delay your boot time because it thinks it has to look for the disk in the Original HD Bay.

Another tip that you will see all over the place is to enabling TRIM on your SSD. You only need to do that though if your SSD DOES NOT already do it for you. My SSD did not require me to enable TRIM, so I didn't.  Enabling it when you don't have to can sometimes slow down performance slightly but it will not hurt anything. Just check your manufacturers website or do a google search on your drive to see if its necessary.

Another thing you see all over the place is people recommending software for doing a copy over to your new SSD. Copying over your SSD is usually no problem, but issues can occur sometimes, especially if you copy over your windows partition as well.  I, like many others, will recommend just doing a clean install and copying your data over and reinstalling your programs.  Now obviously this could be a huge pain in the butt but it is completely worth it.  It will usually allow you to take stock of whats on your drive, and help you trim the fat from your file system and reorganize yourself. I have done both, complete copy and clean install and copy and can say that my machine seemed slightly snappier with the clean install. My boot time dropped by a second or 2 as well.

Doing all of this and taking the precautions with Hibernation, my computer has never been faster.  It boots in 6 seconds!

I highly recommend an Optibay if you can, it can make all the difference. I hope that this long answer helps you out and answers your questions about storing your SSD in your Optibay.  Personally it was the best choice for my computer and my needs.


Is it possible to get a virus on an iPad Air?

Short answer

The simple answer to your question is that anything is possible. However, is it likely? No.

Long answer

Technically speaking, a virus is just code that replicates itself by creating copies within other pieces of software. One of the best things about iOS is that it doesn't actually allow applications to directly access other software on the device. This makes it, well, almost impossible for a virus to replicate.

Note: - The only reason I don't say it's impossible is because I basically don't believe anything is impossible!

Now, in your case, you visited a website that is dodgy and the best thing to do in that situation is to immediately leave the website - and that's exactly what you did!

Also, viruses aren't the only things to be wary of. Malware, spyware, worms and trojan horses are all risks for computer users. However, because of the App Store, the risk of these things is extremely remote (from memory, the only reported cases involved the Chinese App Store, and Apple became aware of this very quickly and resolved it).

So, in a nutshell, I think the biggest risk you could have faced is malware. That's because dodgy websites are known to use pop ups to inform users that their device is infected with a virus, and then tricks them into installing malware on their device by pretending to help them make it more secure.

However, since you didn't click on anything or download anything the risk is almost nil.

You can rest easy.


How to install JRE in a way usable for dev?

The Java 9 (and 10) JDK no longer includes a separate jre directory. Instead you just use the main JDK directory - the 'Contents/Home' directory.

The output of the /usr/libexec/java_home command will give you the directory to use.


Upgrade to Big Sur Beta 3 Broke Brew Build system

Same thing happened to me, you need to install the most recent Beta version of command line tools as well as the matching XCode 12 Beta. The same thing also happens with git and other things added by the download https://developer.apple.com/download/more/?=xcode


Use the RawQuery key as an argument for mdfind:

mdfind "$(/usr/libexec/PlistBuddy -c 'Print RawQuery' test.savedSearch)"


Why is this item bold in the Bluetooth menu?

It means that particular device is active (in this case it's your Logitech mouse).


How does photos app in mac imports pictures from hard disk?

The Photos app works by creating a library of your photos files.   A regular library has two important parts, the books on the shelves and some kind of cataloging system to help you to find the book that you are looking for.  If you brought a cookbook that you bought into a real library, other library patrons wouldn't be looking at your cookbook because it is not a part of the library's collection.

In the same way, if you copy pictures onto the hard drive of your computer, but do not tell the Photos app about them, then they are not considered a part of the Photos library.

There are several ways to import photos into the Photos App.  Photo's usually opens when you connect a phone, for example and will attempt to import photos that way.  If you have a folder with pictures though,  you can either drag that into the window of the Photos app or from the Menu Bar with Photos open click File>Import.  For more check out https://support.apple.com/kb/PH21297?locale=en_US


I have an mp3 audiobook on my Mac, and want to listen to it on my iPhone

When you set the series of .mp3 files as audiobooks (as I had), it will show up in iBooks.

I didn't expect to find it there!


How to transfer a movie (.avi) from pc to iPad without iTunes?

There are a lot of alternatives for iTunes which will allow you to manage your iDevice.
Floola, Songbird and Yamipod are three popular alternatives for iTunes.

Then there is software which will allow you to treat your iDevice like a external hard drive, like iTransfer or SyncPod (not for Lion or iOS5).
But my overall favorite is Bigasoft iPad 2 Transfer. I've used it quite some time and I have no complaints about it.

If it's an option, you could try and stream it. Make an server out of your Mac and stream it with Air Video to your iPad.

And there is even an alternative by using the cloud. Dropbox is a great example of this. It's all listed in this article of MacWorld, which made me wonder if you even have searched far and wide enough :)


If you deactivate an iPad from your Apple ID, will it still receive iMessages?

Simply signing out/removing your Apple ID from iTunes & App Store (by going to Settings app → Your name (shown at the top) → iTunes & App Store → Apple ID, or, Settings app → iTunes & App Store → Apple ID) won't completely disassociate your Apple ID from your iPad.

You will continue to receive iMessage/text messages (if text message forwarding is enabled), as long as you are signed into iCloud on your iPad and Messages is enabled.

On your iPad, go to Settings app → Your name (shown at the top) → iCloud and toggle the switch shown besides Messages to enable/disable receiving them on your iPad.


Turn off retina internal display while connected to external monitor in Sierra

From  https://support.apple.com/en-us/HT201834 Published Date: Jun 6,
  2017

  ...

  You can use an external display or projector with a Mac notebook while
  its built-in display is closed. This is known as closed-clamshell or
  closed-display mode.

  Requirements for closed-display mode

  To use closed-display mode with your Mac notebook, you need:
  - An AC power adapter
  - An external keyboard and mouse or trackpad, either USB or wireless
  - A USB-C to USB adapter if you're using a USB mouse or keyboard with MacBook (2015 and later) or MacBook Pro (2016 and later)
  - An external display or projector

  Enable closed-display mode

  Use these steps to enable closed-display mode. If the external display
  isn't recognized when it's connected and your Mac is powered on, try
  connecting the display while your computer is asleep or off. Then wake
  or turn on the computer after you connect the display.

  If you're using a USB keyboard and mouse

  Make sure that your Mac notebook is plugged in to an outlet using the AC power adapter.
  Connect a USB keyboard and mouse to your Mac.
  With your Mac turned on and the display open, connect the Mac to the appropriate port on the external display or projector and turn the
  display or projector on. Use an appropriate Apple video adapter if
  necessary.
  After your Mac notebook's Desktop appears on the external display, close the computer's lid.
  When you close the lid:

  In OS X Lion 10.7 and later, the external display changes to a blue screen, then shows your Desktop.
  In OS X 10.6.8 Snow Leopard and earlier, you can wake your Mac by clicking the mouse button or pressing a key on the external keyboard.
  You can now use your Mac notebook as you normally would with a USB
  keyboard and mouse.

  If you're using a wireless keyboard and mouse

  Make sure that your Mac notebook is plugged in to an outlet using the AC power adapter.
  Verify that Bluetooth is turned on in the Bluetooth pane of System Preferences or the Bluetooth menu icon Bluetooth icon.
  Pair your Bluetooth keyboard or mouse with your Mac.
  In the Bluetooth pane of System Preferences, click Advanced and make sure the checkbox next to Allow Bluetooth devices to wake this
  computer is selected.
  With your Mac turned on and the display open, connect the Mac to the appropriate port on the external display or projector and turn the
  display or projector on. Use an appropriate Apple video adapter if
  necessary.
  After your Mac notebook's Desktop appears on the external display, close the computer's lid.
  When you close the lid:

  In OS X Lion 10.7 and later, the external display changes to a blue screen, then shows your desktop.
  In OS X Snow Leopard 10.6.8 and earlier, you can wake your Mac by clicking the mouse button or pressing a key on the external keyboard.

  You can now use your Mac notebook as you normally would with a
  wireless keyboard and mouse.

  Disconnect your Mac notebook from the display after use

  It's best to put your Mac to sleep by choosing Apple menu > Sleep
  before disconnecting your display.

  Some DVI and Mini DisplayPort displays — including Apple's
  aluminum-framed DVI displays and the 24-inch and 27-inch LED Cinema
  Displays — can be unplugged without putting the computer to sleep. If
  you aren't sure whether your display supports this feature, put your
  computer to sleep before unplugging the display.

  Opening the internal display while in closed-display mode

  Opening the display on your Mac notebook while it's in closed-display
  mode will have different results based on the operating system you're
  using.

  OS X Lion 10.7 and later     If you open the lid of your supported Mac
  notebook computer running OS X Lion 10.7 and later while in
  closed-display mode, the display flickers to a blue screen after a few
  moments, and then both displays become active. Close the lid to return
  to closed-display mode.

  OS X Snow Leopard 10.6.8 and earlier     If you open the lid of your
  supported Mac notebook computer running OS X Snow Leopard 10.6.8 and
  earlier while in closed-display mode, it might appear to have no
  video. This is expected behavior. When your computer is in
  closed-display mode, the built-in display is disabled and all video
  memory is allocated to the external display.    To reactivate your
  built-in display, put the computer to sleep and then wake it, or use
  the Detect Displays button in the Displays pane of System Preferences.
  You can also press Command-F1 on keyboards that don't have a Numlock
  key.


Advanced configuration for email notifications about Apple Developer Certificates expiration

As you have the certificate on your production servers, you can just monitor them for expiration yourself - you do not need to rely on Apple for this.

Standard server monitoring software such as Nagios (and many, many others) have ready made plugins for exactly this. You can also use simple scripts with the openssl command in a cron to send multiple people an email when it will soon expire.


Yes, it has two physical buttons on the edge lacking the battery tray. The two rubber feet on the bottom-front of the trackpad press against  internal switches.

For these to activate, you have to use it on a hard surface. The software tap-to-click that senses your finger pad deforming as it taps the immovable glass surface also will trigger a tap independently from the physical buttons.


Automate Continuity reactivation post-update?

Continuity Activation Tool author here.

Writing an additional script and tweaking CAT's script would be necessary as the tools' activation feature isn't currently designed to run automatically and silently. Stuart H's suggestion points you in the right direction IMO.

Functionality I'd include in a boot time script:

Detect if one of the IOBluetoothFamily.kext or IO80211Family.kext drivers, located in /System/Library/Extensions/, pass code
signature validation (with Apple's codesign command line utility). If one or both of them do, they
likely have been updated/replaced by an OS X update and need to be re-patched: the script can proceed.
Rename any KextsBackupBeforePatch and KextsBackupAfterPatch folders in the user    dir to avoid any "overwrite files" prompt during the activation.
Run contitool.sh -a with admin privileges to activate Continuity from the command line. Catch and log CAT's output in a file: in case of failure you may want to know what happened.

Additionally, I'd modify the rebootPrompt() function of contitool.sh to restart the system automatically. You could also add a popup asking or warning the user about the reboot on top of that, e.g. through Apple Script (osascript command line utility).

Last but not least: Apple may release an OS X update anytime that breaks the methods used by this tool to activate Continuity. So far this hasn't been the case - but risks of issues with your system are increased if you automate the activation right after an OS X update.


Can't delete an event in iMovie because 'the library must contain at least one event'

If it's the only event in a project, you can't delete it, because you can't delete the last event in a project, regardless of how many events you have in other projects. Instead, delete the entire project.


How can i choose to boot from the second SSD harddisk for a mid 2011 iMac?

In system preferences, there is a selection for startup disk. You should be able to select your new drive.


What language are you writing the program in? I'll use Python as an example.

Go to Bundles menu > Edit Bundles. Find and click on Python in the lefthand column. Click on Menu Actions in the middle column, then Run Script in the righthand column.

At the bottom of the window you will see the script that is run each time you use ⌘+R. Look for the line that begins with TextMate::Executor.run.

Right now, it appears for me as this:

TextMate::Executor.run(ENV["TM_PYTHON"] || "python", "-u", ENV["TM_FILEPATH"], :create_error_pipe => true, :use_hashbang => !ENV.has_key?('TM_PYTHON')) do |str, type|

Change it to this:

TextMate::Executor.run(ENV["TM_PYTHON"] || "python", "-u", ENV["TM_FILEPATH"], :create_error_pipe => true, :script_args => ["-arg1", "-arg2"], :use_hashbang => !ENV.has_key?('TM_PYTHON')) do |str, type|

Note the addition of :script_args => ["-arg1", "-arg2"]. Change the arguments in the parentheses to the arguments you want passed.

You can find other options to be used with TextMate::Executor.run in the source file on GitHub.


How to change the default font and size in Notes on El Capitan?

And the keyboard's plists of PressAll also can no longer be modified to add the new accents.

Tip: You do not need to modify the default font and size in Notes.

To change the font, you can select all or one sentence and press Cmd + T.

To change the font size, you can press Cmd, Shift and + at the same time to increase or Cmd + - to decrease the size.

Another tip: If you want to use the user font in Notes in OS X, please, install and use AnyFont in iOS to install your favourite font in iOS.


iphone 4S 6.0.1 has poor wifi reception upstairs

WiFi networks require two-way communication.  Even though your router may have enough strength to send a signal to that room, whatever wireless client device you want to use in that room also has to have enough strength to send a signal back to the router.

Evidently, the Macbook you tested in the room had enough strength to send a decent signal back to the router.  Yet, the iPhone did not.  Signal effectiveness is a combination of a number of variables, two being antenna configuration, and power.  Your iPhone's WiFi antenna and/or power are inferior to the computer's.

What you could do is either move the wireless router closer to (or into) the room, or else set up another access point to extend your network's wireless reach.

To get a new access point talking to your existing network's router, you'll need to consider using wireless-to-wireless repeating, power line network adapters, or an Ethernet cable – Ethernet being the best option, if you can somehow run a cable from point A to point B.


How can I make an app keyboard shortcut override the global default?

I always used JetBrains products, and always using the 'ctrl space' for code completation. Never had such issue ....

In any case, just go to System preferences > Keyboard -> Shortcuts and disable that specific shortcut .

In my case, I have no such 'ctrl space' for anything listed ...


Used Internet Recovery ⌘ Command⌥ OptionR and it worked fine. If you're interested you can buy a Apple technician's disk and boot from it  or buy a new Mac or do something simpler like installing Deb on a Mac with a damaged boot partition.


Can we have two iCloud accounts on our iPad?

You can set up multiple iCloud accounts, however, quoting iOS:

  Only your main account can use Photo Stream, Documents & Data, and Backup.

If you want to use mail and calendar only, there is no problem. You can even use all of the other services like contacts, reminders or notes.

Follow these steps to add another iCloud account:
(I took the screenshots on an iPhone, but it is smiliar to your iPad)

Open “Settings” app on your homescreen

Scroll down to “Mail, Contacts, Calendars” and tap on it

You see a list of your accounts, scroll down and tap on “Add Account…”

Choose “iCloud” and enter your data

Finished


Graphic corruption in Finder when opening specific directories

I have posted a solution here: How To Resolve Finder Graphical Errors on macOS

If you try that solution, Let me know how it works for you!


Firefox doesn't respond to a shortcut for window zooming, because it has another "zoom" menu item, how can I avoid this?

Firefox uses XUL files to define its user interface on all platforms. I just did a little poking in my Firefox.app 4.0.1 bundle:

The XUL files are stored in Firefox.app/Contents/MacOS/omni.jar. (jar files can be unpacked with any Zip  archive tool, or the jar command-line tool which takes options like tar.)
The relevant XUL file may be chrome/browser/content/browser/baseMenuOverlay.xul. See also the referenced DTD files for the definitions of the entities like &zoomWindow.label;.

Since you're editing the files anyway, you might as well add a shortcut there rather than changing the name to use the system shortcut customizer.


How can I upgrade all my Pages '09 documents to Pages '13?

I was able to fix this by doing the following steps:

Create a new pages document, and just throw in whatever text. Save it.
A .pages file is actually a .zip file, so right click on that and unzip it.
In your 09 pages file, right click and select "Show Package Contents"
Copy everything from the Index directory of your 09 pages doc to the Index directory of the new one.
Zip up your new one, the one you unzipped and copied in the 09 index files.
Rename the zip file you just created with a .pages extension
Open in pages.


Setting the value of a Numbers cell using AppleScript

I'm in front of a Mac again and gave your code a go and also got the same error, so it's probably somewhat misleading in terms of what it actually means.

However, I did play around with your script a bit and was able to get the code to work by using the following code:

tell application "Numbers"
  tell table 1 of sheet 3 of document 1
    set the value of cell 1 of column "E" to 1000
  end tell
end tell

However, now that I've got this to work, I just wanted to flag you seem to be hard coding the cell etc. That is, if the position changes then the script isn't going to be dynamic. Whether this is an issue for you or not will depend on what you're trying to do and how your Numbers spreadsheet is designed.


How to ensure Slack runs safely in sandbox?

Slack is a well-known chatting tool and I am yet to hear it does any surveillance. Also, every single Mac app which is submitted into App Store after June 1 of 2012 must have sandboxing implemented or it won't be approved.

Additionally, no app is able to access your computer outside of its limits unless you give it your root password (Slack does not ask for it).

If you still don't feel safe, open Monitor application in Utilities, select Slack app in the list, press (i) button on the toolbar and select "open files and ports" tab. No file will go away.

All the above means that Slack already runs in the Sandbox. In theory (and I stress on "theory") sandbox can be bypassed, but I highly doubt such a serious company would do it first, and second - such app is very unlikely to be on the AppStore.


brew cask: howto uninstall an Application

brew cask uninstall --force

This will remove all versions of a Cask.


Error message when copying files over to Mac Server

use dot_clean, the directory which is being copied and throwing the Error Code 36, the basics look like this:

Launch the Terminal (found in /Applications/Utilities/ or with Spotlight)
At the command prompt, type:

dot_clean /Path/To/Directory/With/Problem/

When dot_clean is finished, attempt the file copy again and it should succeed with no error code
For example, if copying ~/Documents/FileBackups/ is the problematic directory, use:

dot_clean ~/Documents/FileBackups/

For more info see http://osxdaily.com/2015/02/21/fix-error-code-36-finder-mac-os-x/


Now you've installed lua with Homebrew, you can now use the lua command:

lua /path/to/file.lua


Import PDF files from laptop to iPad without network

After connecting iPad to iTunes select the "Apps" tab. Scroll to the bottom of the page where there should be a section labeled "File Sharing". Those PDF viewing (and annotating) apps should be listed under there. Select the app, and then choose "Add..." from the lower right corner of the box. Add the PDFs and sync to your iPad.


Will lost mode take effect even when the phone is reset?

Lost mode does not remove either activation lock (good for you, bad for resale or thieves) nor wi-fi saved credentials or cellular data.

The finder can ensure the device never connects to a network but they also can't use it under those circumstances for anything but trying to brute force the passcode and read the data offline.

If they reset the device / iTunes will report that it's activation locked and until they connect to WiFi or get you to release it from your iCloud - they can't activate that device without Apple's help. The reset will wipe saved WiFi but not cellular data. If you discontinue service, you'll drastically reduce recovery location chances. But that costs $$ and the tradeoff is about a month or two for me currently.

You should keep it on your iCloud forever if you wish to keep it locked to your account.

Sorry for the loss - you are in the ideal situation to get it back and haven't sabotaged any of your options with lost mode.


How can I activate my iPod if my PC is running Linux?

A few solutions, not all of them good:

If possible, update to iOS 5 (probably at the Apple Store) and don't use iTunes.
Find a friend with a Mac or a PC and get them to activate it.
Go to the Apple Store (as Randolph said) and ask them.
Run Windows in VirtualBox (or another VM solution), and use iTunes from there. (thanks, Fake Name)
Get sixty million of your best friends to switch to Linux and all complain at Apple for a Linux port of iTunes.
Run iTunes in Wine, if that's possible.


Choosing between opening a file with primary or secondary program with a shortcut

Open Automator and choose the service template
Set the input type to files or folders
Add a run shell script action and choose to pass input as arguments
Paste this as the script and edit the list of applications:

applications="pdf Preview
zip The Unarchiver"

for f in "$@"; do
    basename=${f%/}
    basename=${basename##*/}
    ext=${basename##*.}
    if [[ "$ext" == "$basename" ]]; then
        app=
    else
        app=$(grep -m1 ^$ext' ' <<< "$applications" | cut -d ' ' -f 2-)
    fi
    [[ -z "$app" ]] && app=TextMate
    open "$f" -a "$app"
done

Assing the service a shortcut in the keyboard preference pane

There's a bug where the shortcuts for Automator services don't always work until the services menu has been shown once from the menu bar. Another bug is that services that receive folders or files as input aren't available when folders are selected in column view in Finder.


Do I have to enter my real and true information when making Apple ID account?

I don't believe that it's punishable if you were to get caught, Apple's not a government branch, so it's not like it would be fraud (I don't know how Apple would find out, anyway). Do you have any relatives or friends in the US or Britain or any of the other eligible countries that would allow top use their address?

That's the best thing to do. You can search here on people that did what you did and then ran into problems when they wanted to switch to their country when it arrived. Your call if the risk of having two accounts outweighs the benefits of having an account today.


Apple TV, 4th gen: Local storage of photos?

Nothing built into the system or available via the app store lets you have safe long-term purely local storage without a cloud backup.

Apps that pass the approval process have a few kinds of data, but for any significant data, they can be broken into two groups: data that's marked as "cached", and data that's marked as "backed by iCloud".

Both kinds of data can be deleted by the OS without any warning.

Data that's marked as "cached" is deleted when that happens.
Data that's marked as "backed by iCloud" will be re-loaded from iCloud (possibly from a local caching server on your network if you have one) the next time you need it -- but also takes up part of your iCloud storage quota (even if you have a local caching server).

If you want to load content for offline usage, and you're not expecting to be able to play it back again a week later after doing other stuff on the device, then the "cache" type data is probably fine work for you.

Otherwise, you need to either store the data on a server somewhere (possibly as simple as a thumb drive plugged into an off-the-shelf router), or you need to sideload an app that breaks Apple's appstore rules.


iPhone 3GS turning off randomly while being used

It sounds like you need to backup your iPhone with iTunes and change your battery... but I'm a little confused by your post. You have tried to put a new battery in it already? If so your issue is probably related to other internal components of your phone and not the battery. The 3GS is quite old now. It may be time for an upgrade.


iPhone Wireless Sync and iTunes remote management

My understanding is that you must be on your computer to select which media you want transferred to the device. After manually dragging media to your device or setting up what should be transferred under the correct tabs (i.e Music, Videos, etc.), you must then initiate a sync. I believe wifi sync to be, in short, the same as a USB sync, only over wifi instead of USB, minus a few features such as restoring a backup.

One note - you have probably already figured this out, but after your phone is plugged into USB, don't eject it, just unplug it. Wifi sync will work properly if just unplugged and not ejected.


My MacBook no longer connects to my iMac via screen sharing

Things that have helped me with isolating the failure and eventually getting screen sharing working again:

isolate the network - turn off
WiFi and connect the two machines
with one ethernet cable. This
eliminates ports (other than
internal firewalls), DNS, and
network issues from mis-routing the
traffic.
Turn off screen sharing and remote management and set it up again changing the password to be sure the new password and sharing permissions are set for all users or your specific user.
Watch the logs in console app - the bonjour daemons, screen sharing daemons and network errors are all logged so you might get a clue if a program is having problems accessing a keychain or other issue
Add in a new user to isolate the desired user's preferences and files - it could be something corrupt in the desired user and you won't catch that unless you make a new account to isolate that potential cause.


How to store password for Logical Volume in keychain?

Here are the correct settings:

Kind: Encrypted Volume Password
Account: <UUID>
Where:  <DISK NAME> (as in *Disk Utility*)


Spotlight: Unable to index network SMB share

Try going to System Preferences -> Spotlight -> Privacy, then adding in the share to the list not to index, then removing it again. It helped with a similar issue I had.


MBP shut down and will not power back on

After searching the net and not coming up with any solution, i went to Apple Care Center and they had it diagnosed, turned out, it was full of dust. They recommended me having it serviced every 6 months. Phew, now its working fine.


What keyboard command can be used to move the cursor to the end of the next word on the Mac?


How to shrink Recovery HD on macOS Sierra

Reduce the size of the partition containing Recovery HD volume. You can do this by entering the command given below.

diskutil  resizeVolume  disk0s3  660M

Download and install the third party tool gdisk.
Boot to macOS Recovery over the Internet. Restart your Mac and immediately hold down the option+⌘+R key combination. Release the keys when the spinning globle appears.
Partially disable System Intergity Protection (SIP). From the menu bar, select Utilities➔Terminal. Next, enter the command given below.

csrutil  enable  --without  fs

Boot back to macOS.
Use the interactive command gdisk to change the partition type and attributes for disk3s3. Enter the command given below

sudo  gdisk  /dev/disk0

  Note: The procedure below assumes field 49 (bit #49) is not set. If this field is set, then you should leave the field set.  In other words, if the attribute value is 0002000000000000, then field 49 is set.

Below is an example of using gdisk to repair your Mac.

  Note: You can exit gdisk at any time without save changes by entering a control+C.

GPT fdisk (gdisk) version 1.0.3

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): t
Partition number (1-3): 3
Current type is 'Apple HFS/HFS+'
Hex code or GUID (L to show codes, Enter = AF00): AB00
Changed type of partition to 'Recovery HD'

Command (? for help): x

Expert command (? for help): a
Partition number (1-3): 3
Known attributes are:
0: system partition
1: hide from EFI
2: legacy BIOS bootable
60: read-only
62: hidden
63: do not automount

Attribute value is 0000000000000000. Set fields are:
  No fields set

Toggle which attribute field (0-63, 64 or <Enter> to exit): 49
Have enabled the 'Undefined bit #49' attribute.
Attribute value is 0002000000000000. Set fields are:
49 (Undefined bit #49)

Toggle which attribute field (0-63, 64 or <Enter> to exit):

Expert command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

Enable SIP. Enter the command given below, then restart your Mac.

sudo  csrutil  clear

Recovery the free space back to the Macintosh HD volume. You can do this by entering the command given below

diskutil  resizeVolume  disk0s2  R

Restart your Mac then enter the command below to check the results.

diskutil  list


Connect Apple Thunderbolt to Lenovo T420s

The cables in the top photo are of a MagSafe connector for an Apple laptop, (on the right,) and either a Thunderbolt or Apple DisplayPort connector, (on the left.)

The Lenovo has the standard VGA 15-pin and a DisplayPort (VESA) output which supports a single-link DVI-D 45J7915 cable. It is not compatible unless you can find a VESA DisplayPort to Apple Mini DisplayPort adaptor.

Perhaps the Lenovo 45J7915 cable <> M-M DVI-D cable <> Apple Mini DisplayPort/DVI would work for you. I cannot predict if it will.

YMMV.


Mac Office 2011 - Exporting a Color Palette

Not a nice GUI way that I could find (bad on Apple)   but the palette file is in ~/Library/Colors/xxxx.clr

Pick it up from there and distribute the file can load with the dropdown on the gear.   Loading it effectively moves the file into this directory on that machine.


Add exif creation time with correct timezone (TZD) to filename

To change UTC time to reflect your timezone, run the output of mdls thru the date command. You can also format the output of the date command.
utcfiledate=$( mdls -n kMDItemContentCreationDate -raw  FILE)

date -f '%F %T %z' -j "$utcfiledate" '+%F %T'

To remove the colons from the output
date -f '%F %T %z' -j "$utcfiledate" '+%F %H%M%S'


What is the difference between a `service-name` and a `service-target`?

A service target is a service name plus a target domain, which describes the context in which the service runs, e.g. whether it runs at system startup or when a particular user logs in etc.

The launchctl(1) manpage describes 6 ways of forming a service target from a service name. If you want to disable a service that runs at startup, you probably want one of these three depending on whether it's a service that runs at system startup or when you log in:

system/[service-name]
    Targets the system domain or a service within the system domain. The system
    domain manages the root Mach bootstrap and is considered a privileged execu-
    tion context. Anyone may read or query the system domain, but root privi-
    leges are required to make modifications.

user/<uid>/[service-name]
    Targets the user domain for the given UID or a service within that domain. A
    user domain may exist independently of a logged-in user. User domains do not
    exist on iOS.

gui/<uid>/[service-name]
    Another form of the login specifier. Rather than specifying a user-login
    domain by its ASID, this specifier targets the domain based on which user it
    is associated with and is generally more convenient.

You can find out the uid number for your user account like this:

$ id -u [your-username]
502


Could microsoft remote desktop connection be used to spy?

I'm pretty sure it can get installed as part of Office, as well as separately.

One app not to worry about, in fact - as it can only be used to 'dial out' to a Windows machine, not another Mac.


How can I restart an iPhone 4S with a broken lock button and frozen springboard?

Go to settings general then accessibility. Turn bold text on and it will reboot your iPhone and fix a springboard crash. I was having the same problem and lucked out and found this!


Why am I getting this "AppLifecycleEvent" crash?

The cause of your crashes is Avast AV software. Make sure you've installed a version that is compatible with your OS, or uninstall it completely (this may require running an uninstaller - contact Avast for details).
Application Scripts are, as the name suggests, scripts that are specific to a given application. The OS creates a folder for each application installed, regardless of whether it has any scripts or not.
From what I can read in your picture, the paths given are to /Library/Application Support, not Scripts, which is a different thing altogether.
That is the root level /Library folder, not the one in the user domain. That is where apps may install component files that are essential to their running.
I'd recommend just uninstalling Avast instead.


Connecting external display turns both screens black

The solution explained in this Apple Discussions thread worked for me.

Delete /Library/Preferences/com.apple.windowserver.plist.
Delete ~/Library/Preferences/ByHost/com.apple.windowserver.XXXXX.plist.
Reset NVRAM.


1) That entirely depends on what you want to do. There are a bunch of app recommendation discussions here based around games, productivity, etc. Rather than rehash them, I'd suggest searching those out.

2) Plug it into a USB port on your computer. The phone also comes with a wall adapter for the USB cable so you can charge it from a wall socket.

3) Don't stick it in the oven or the freezer and you should be fine.


Apple remote desktop - Change between red arrow and magnifying glass as "remote cursor" when in observe mode

That's called the assistance cursor, and can be added as a button to your toolbar as per the screenshot.

It sounds like maybe you found a hotkey to toggle it, although I'm not sure what that might be.


Unfortunately, Keynote and Powerpoint do not talk to each other all that well. A lot of formatting issues have been known to occur.

If you're wanting to view/edit/present the presentation on your iPad, I would suggest using Keynote on your Mac and Keynote on your iPad. If you're wanting to stay as compatible with a Windows environment as possible, I would suggest using QuickOffice HD on the iPad and Microsoft Office for Mac 2011.

Hope this helps.


My understanding is on Macs it will depend on the keyboard type. The different options I am aware of are:

Do a fn + return keyboard shortcut
Do a fn + control + return keyboard shortcut
Press the help key

I do not know if any of these work on a 2016 MacBook Pro keyboard. I suppose you would have to try holding the option key as well as the above options to see if any work.


How to add a shortcut to a NFS share in Finder?

In Finder, go to preferences, then click Sidebar. Under the Shared group, tick Connected Servers.


"Operation not permitted" for root when trying to ls or chmod -R /Users/user/Desktop

You need to add Terminal to the list of apps that have Full Disk Access in the Privacy pane of System Preferences > Security & Privacy.

Unlock the padlock in the bottom left, and drag the Terminal app icon onto the window.


Is there any way to specify "not" in iTunes search?

iTunes doesn’t seem to exhibit any sort of smart searching built into the search box. Possibly, the best way to deal with these things is to use an external tool.

In my case, I have Coversutra (not free), that allows you to press “tab” (can be changed) to select different things:

I know there are free alternatives that can possibly do the same thing.

An additional alternative could be using an AppleScript and Automator to “ask” for the values… but that might be too much.

tell application "iTunes"
  activate
  set results to (every file track of playlist "Library" whose name contains “some track" and artist contains “some artist")
  repeat with t in results
    play t
  end repeat
end tell

Something like that, if you can make automator (or the script) to ask you for the two “some” values, you’re set.

My opinion: iTunes should support spotlight like search strings!

UPDATE Ok, you’re right about that one, Coversutra (and others) all use iTunes “syntax” which is… no syntax.

Spotlight, however, is a different beast.

In trying to replicate your scenario, I’ve found that I have two “artists” that are similar in name: Metallica and Metalium. They both contain “Meta” in their names.

So when I search for artist “meta” I get both, which is annoying, because I really don’t like Metalium that much…

So I have two solutions for you:

a. Use Launchbar (or quicksilver), to quickly find the artist (this is a nice way to do it and what I really use most of the time when I want to find a song or an artist, it works faster than anything else). I use Launchbar. Pressing enter there creates a temporary playlist (called Launchbar) that contains all the tracks in question, but you could have dig a little bit more if you wanted an album or song. Very easy.

b. Use Spotlight:

This brings both bands:

kind:mp3 author:meta

but this excludes the unwanted one:

kind:mp3 author:meta NOT author:metalium

Not the best but… what can we do :)


Any trick to add photo to empty contact names?

Try as:

Open Message app and open a particular SMS.
Tap Circular Person Icon at the top.

Tap Create New Contact option which will open a page where you can edit contact information and add a photo to the contact as well.

That's how you will be able to save a contact from message app and add a photo as well.
However, I couldn't understand your purpose/scenario quite clearly, so shed some more light onto your problem so that the community can answer your question accurately.


How do I set the on-screen zoom level in OS X TextEdit?

The following workaround does at least provide a fixed user-settable zoom (TextEdit 1.13, OS X 10.13.6 [High Sierra]).

Create and save a blank TextEdit doc (maybe make it Stationery via
Finder Info)
Open the doc in TextEdit (don't use "Open Recent") and
select the Option button to "ignore rich text commands". (Or, open it
in some text editor which doesn't do RTF.)
Add the command \viewscaleNNN in the header material; or,
preferably, the command string \margl1440\margr1440\vieww16140\viewh20440\viewkind1\viewscale140

This does the following: set the left margin to 1 inch (1440 units, whatever they are), the right margin similarly, the window width and height to big enough that the doc will open showing a full page (otherwise you get the middle of the page but not the edges), the "viewkind" command (use 1 as shown for Page Layout view, called "Wrap to Page" in TextEdit), and finally the viewscaleNNN command, with "NNN" here being "140" setting the zoom to 140%, which is what is needed on my particular setup; experiment to find the percentage you like. These and many more RTF commands may be found here.

Finally, save the doc and use it as stationery.


How are Notes Preferences Stored in MacOS?

Notes.app is sandboxed.

Its sandbox is ~/Library/Containers/com.apple.Notes/

Its preference list can be found at ~/Library/Containers/com.apple.Notes/Data/Library/Preferences/com.apple.Notes.plist


iPhone X UI support for existing app on Appstore

Once relevant developer news worth checking is this:

Submit Your Apps to the App Store

  Starting March 2019, all new apps and app updates for iPhone, including universal apps, will need to be built with the iOS 12 SDK and support iPhone XS Max.

So yes, you'll be required to add support for iPhone X/XS/XS Max when releasing an update for your app.

However, there is no word on if Apple will remove all the non updated apps lacking support for notch.

Based on the pattern followed so far, if your app becomes a candidate for removal from the App Store (for whatever reason), Apple will typically inform you in advance and request you to push an update to the app and give you a deadline to do so.


com.apple.quarantine extended attribute gets re-added each time I open the file

You need to add the direct path to the file  in your command to remove it permanently:

xattr -d com.apple.quarantine /complete/path/to/tasks.taskpaper

If this fails, there may be multiple instances. Attempt to globally remove it amongst all versions:

find . -iname '*.taskpaper' -print0 | xargs -0 xattr -d com.apple.quarantine


Does a TIme Machine backup directory contain full or incremental data?

They're a full backup, in the sense that it contains everything that was in that directory when that snapshot was taken. But it's also sort-of incremental, in that for files (& entire directories) that didn't change between snapshots, it re-uses the same file/directory from the earlier snapshot via hard links.

This means there's only one copy of the unchanged item on the backup disk, but it's in each snapshot that it's valid for. Not just linked from each snapshot, actually in each snapshot. This can be rather hard to visualize, so just treat it as filesystem magic, and don't worry about it too much.

Net result: you can make a Finder copy of the folder from backup, and it'll include everything. Caveat: Time Machine puts some special extended attributes and permissions on the backed-up files, and there's a possibility these might cause trouble. Unfortunately, I don't know the details here...

Also, please don't try to modify the backup (delete items, move/rename them, etc), of you may mess up the backup system's structure.


concatenate text files in multiple folders

You can do with a simple script:

#!/bin/bash

directories="/your/path/dir1 /your/path/dir2 /your/path/dir3"

for d in $directories
do
        cat $(find $d -name "*.txt") > $(echo $d | sed 's/\///g').txt
done

This script will concatenate every txt file on /your/path/dir1 and saves it as yourpathdir1.txt in your actual path. Then will do the same with dir2 and dir3.


Well, it's not exactly a solution, more of a workaround, but Google Docs now read .pages files and will in many instances be able to show the contents. It depends on what version and how complex the .pages documents are.

The current version of Pages will be able to open Pages '09 files if you have a Mac owning friend.

Thirdly, if you rename the file extension to zip, and unzip them, you will see a preview of the contents that can be of some use to you.


How to change the image of external background when connected to projector?

I suggest you plug into a projector and then use the Desktop & Screen Saver Control Panel to change the background of the desktop being projected to something else. The new background should then stay the same anytime you plug a monitor/projector in.


Why is .bash_history periodically wiped?

There can be multiple reasons as to why this happens - I'll try to outline how it works below.

However, I can say that the other answer you have received here is not correct. HISTFILESIZE and HISTSIZE will not cause your history to "sometimes" being entirely wiped out or almost wiped out. Only by setting them to 0 you would get nothing in the files - but it would happen every time, and not by chance. In addition, what you describe with the file being "almost wiped out" cannot happen due to it being set to 0.

You're actually on to the right thing yourself by mentioning .bash_sessions. That is not an iTerm2 "thing", but rather how it works by default on a standard macOS install. Apple has built-in per-session history on top of a regular bash install.

This means that if you have multiple terminals running (for example multiple tabs), each of those will have a seperate history tracked in .bash_sessions. If you reboot your Mac and the terminal windows are restored, you'll find that each still have their own history - and only their own history.

When you close down a bash session, Apple's system will merge the history for that specific session into the global .bash_history file. Then when you open a new terminal (and thus bash session), it will start with that merged history containing history from potentially multiple sessions.

This is all handled by the /etc/bashrc_Apple_Terminal script.

Now that you know how it works, here are some possible causes for what you're seeing:

You may accidentially have removed the history yourself (history -c)
Your Mac could be infected with malware and/or hacked, and someone else is removing your .bash_history file
You have software installed that periodically empties/removes .bash_history

These reasons are not that likely, I would say.

Now there's one last possible cause:

There's a known race-condition in handling the bash histories. If you close down multiple bash sessions at once (for example closing down a terminal window with multiple tabs), you might loose part of or the whole history.

This happens if the computer is "slow" while reading/writing parts of the history. Basically how it works is that your currently history is read, the file is deleted/moved away, and a new file is created, where all the history lines are written to. If this process is running multiple times at the same time, you might see that one process removes the old history, the other process read an empty history, then the first process writes out the whole history again, and then the other process deletes that and writes out a very short history containing only few recent lines - as it didn't read anything in. This bug shows up as exactly what you have described.

The fix is simply to close one bash session at a time to let the system have time to write out everything correctly.


How do I use Freenode IRC with SASL in Adium?

Adium 1.5 doesn't support using SASL for IRC. That will be added in 1.6: https://trac.adium.im/ticket/14478.

In 1.6, there will be a checkbox to activate SASL. When that is activated, the password field is treated as the SASL password.

The following build can be used successfully: Adium_1.6hgr5915.dmg

And this guide may help if you have question using it after you've enabled SASL.


Is it possible to upgrade the ram of MacBook pro 2017 from 8GB to 16GB in India?

According to EveryMac, for this model

8 GB of RAM is onboard by default, but it could be upgraded to 16 GB at the time of purchase for US$200. RAM cannot be upgraded later.


Where can I buy the four hard drive screws for my MacBook Pro 2011 15" (pic)

MacRecycling offers these screws as well. They seem to be quite pricey though!


Exchanged HDD in MacBook Pro - OS X installation disk shows prohibitory sign

it is greyed out because it is in the wrong file format => ntfs

you should use disk utility via the usb stick to format the drive to HFS+ and then you will be able to install on it


Apple Watch mute only notifications and not alarms

You could try enabling Do not disturb on the Apple Watch, and turn off "Mirror iPhone" under the Do Not Disturb section of the Apple Watch App, General > Do not disturb > Mirror iPhone. This was you keep DND separate from the phone as I assume you still want notifications on your phone to alert you.