Can Touch ID for the Mac Touch Bar authenticate sudo users and admin privileges?

To allow TouchID on your Mac to authenticate you for sudo access instead of a password you need to do the following.

Open Terminal

Switch to the root user with sudo su -

Edit the /etc/pam.d/sudo file with a command-line editor such as vim or nano

The contents of this file should look like one of the following examples:

# sudo: auth account password session
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

# sudo: auth account password session
auth       sufficient     pam_smartcard.so
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

You need to add an additional auth line to the top so it now looks like this:
# sudo: auth account password session
auth       sufficient     pam_tid.so
auth       sufficient     pam_smartcard.so
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

Save the file. (Note: this file is normally read-only so saving your changes may require you to force the save, e.g. vim will require you to use wq! when saving)

Also note that pam_smartcard.so may not be present on older MacOS versions.

Exit from the root user or start a new terminal session.

Try to use sudo, and you should be prompted to authenticate with TouchID as shown below.

If you click 'Cancel,' you can just enter your password at the terminal prompt. If you click 'Use Password' you can enter your password in the dialog box.

If you SSH into your machine it will fall back to just use your password, since you can't send your TouchID fingerprints over SSH.

Note:
See answer by user Pierz below if you're using iTerm, as there's a setting you need to explicitly change to enable this feature.
Note:
Recent MacOS updates may remove the entry. If TouchID stops working for sudo then check if the entry was removed and add it back in, following these instructions again.


The command itself is "rm", which is a program used to remove a file.

The "-rf" is the first argument to the program. Arguments can be thought of as "settings" or other information that you want the program to use while performing its task.

"-rf" is really a short hand for two seperate arguments, "-r" and "-f":

-r means that you want the program to not only remove files, but also directories, and that you want the program to remove not only the files/folders that you request, but also any subfolders and their contents.

-f means that you do not want to be prompted for confirmation on each delete, and that attempts should be made to delete every file/folder listed, no matter if you have permissions to do so orr not.

The last part of the command "/" is actually the list of what you want the program to delete. In this case "/" means the "root" (the top) of the file hierarchy. In practice this means to do delete everything on your system - including files on external drives that may be mounted.

The command does not discriminate between user data or operating system files. As long as you have permissions to delete a file/folder, it will be deleted.

When run as sudo (i.e. with root permissions) under Yosemite, it will break the system so that it doesn't function afterwards.

For newer versions of macOS, destruction will be limited by the SIP system that protects the operating system core. However, still do not run the command with sudo, as you risk ruining the system and deleting your own data.


What program(s) can I use to open an .xlsx spreadsheet for editing on my Mac

If you have opened it in Excel but you are unable to select or change it, the sheet may be protected.   If the sheet has been protected using the Tools > Protection > Protect Sheet option then a lock symbol will appear next to the sheet name in Excel 2011.

Sheet protection can be removed by using the Tools > Protection > Unprotect Sheet command.


Yes. Current version ratings are reset after each update. Some apps even say in the update text "Please rate us each time we release an update".

If you previously rated an app, and a new version is released, if you go to rate it again your prior rating (and review text) will be pre-entered, but you can change it.

So, if you religiously review the app each time it gets updated, you could have "reviewed" each version, yet it's unlikely that your star votes add up and your new review seems to replace any/all older ones each time you update it.


ITerm2 Console connection to Cisco equipment Control-A does not work

updated ITERM to 3.0.2.. now Control-A works as expected when SSH'd into a cisco router. –


MacBook Air takes an eternity to come out of sleep

sudo pmset -a hibernatemode 0 should disable "smart sleep" mode.


A workaround is to create a column with formulas like "=-1 * A1", then copy and "Paste Formula Results" (⇧⌘V).  But I'm sure there are better solutions.


You don't need to do brew install gulp after brew cask install gulp. Once brew cask install gulp end, you have your app installed on /Users/steve/Applications/gulp.app, you don't need any extra steps.


This sounds like it may have something to do with the charger cable connection. Before I realized there was lint in my phone's charger port, I was able to sometimes get it to charge when pulling horizontally on the cable.

Check out the phone's lighting port and the laptop's usb ports with a flashlight to see if there is any lint in there blocking the connection


I've seen a couple variations of this problem before, and its usually one of 3 problems:

your touch screen is starting to malfunction. This is uncommon, but things happen with electronics. Seek repair from Apple.
Poorly conditioned electricity. Does this only happen when your iPad is plugged in? I had a generic plug that induced symptoms like you describe. Unplug the ipad and see if it still happens.
Liquid damage. This is probably the most frequent cause of electrical anomalies like this. Did anyone spill anything on the ipad, even if not recently?


How can I configure my iPhone to show my contacts photos full screen when they call or I call them

Have you synced your address book with GMail?
It usually does it.

It was found earlier that if you add photo to the contact through iPhone it will display them full screen. And if you add it from address book app from a mac it will display them small.

Now I heard syncing contacts to iCloud will do just the opposite i.e. it will force all the contacts to be displayed full screen. Though I did not try.
Try to sync to iCloud if you can and report back.


Finder windows just show screen artefacts

I found the solution here: https://www.maketecheasier.com/fix-google-drive-crashing-finder-in-mavericks/

A number of users who have upgraded their precious Macs to Apple’s newest OS, namely OS X Mavericks have found that when they log into their systems, the Finder windows no longer run stably. Instead, it quits and relaunches repeatedly. This problem has also been mentioned again and again on Apple Support forum threads, including here and here. When this problem occurs, all Finder windows and desktop items disappear, and then after a little while, reappear.
. . . . . . . . . . .
This specific problem appears to be related somehow to Google’s desktop client (current version 1.12, released on September 25) for accessing its Google Drive service. Whenever Google Drive synchronises, the folders that you have set up to sync should be showing a small sychronization icon next to them. It appears that the way Google Drive adds these sync icons to folders is the issue that is crashing Finder windows in Mavericks.

The fix/workaround is:

Click the Google Drive menu and choose Preferences.
Uncheck the option to “Show file sync status icons and right click menu” in the Preferences window.

I did that, and no more screen artifacts/freezing.


Remote control an iPad to start app and activate Guided Access

The most appropriate way for you to do this would be to migrate your museum application from a locally hosted website into it's own application.

Doing this will then allow you to launch the iPads into Single Application mode, whereas in the current configuration you'd be able to set Single Application mode to safari, but not then restrict safari to only your local website.


Best Method for Converting An Executable to A Word Doc?

The file you linked can be opened, for proper display, in LibreOffice, which by the way is free.

I was also able to convert this file via the command line to a plain text document using LibreOffice's executable soffice using the following syntax:

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to txt $FileNameToConvert

Example:

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to txt "'…& hitting number three on 3"

The above command created the "'…& hitting number three on 3.txt" file and I then opened it in TextEdit and it displayed properly as it should.

You can batch convert the documents in the same manner by using a wildcard (an asterisk), e.g..:

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to txt *

The above command to batch convert assumes you've installed LibreOffice in /Applications and placed the files to convert in their own directory and have changed to that directory in Terminal.

Note: If you want to convert the files to Microsoft Word documents use doc or docx instead of txt for the --convert-to option, e.g.: --convert-to doc


Help to replace a blank space with a backslash and blankspace in a variable in Run Shell Command with Automator

I don't have Compressor.app to test with, but this should work:

fileargs=()
for d in "$@"
do
    [ -f "$d" ] || continue
    filename=$(basename "$d")
    fname="$(dirname "$d")"/"${filename%.*}"
    fileargs+=(-jobpath "$d" -settingpath /Applications/Compressor.app/Contents/Resources/Settings/ProRes/proResHQName.setting -locationpath "$fname".mov)
done

/Applications/Compressor.app/Contents/MacOS/Compressor -batchname MyFirstBatch "${fileargs[@]}"

EDIT: If you want to restrict it to just specific file extensions (.mov, .mp4, and .mxf), you can use this instead:

fileargs=()
for d in "$@"
do
    [[ "$d" =~ [.](mov|mp4|mxf)$ ]] || continue
    [ -f "$d" ] || continue
    fileargs+=(-jobpath "$d" -settingpath /Applications/Compressor.app/Contents/Resources/Settings/ProRes/proResHQName.setting -locationpath "${d%.*}".mov)
done

/Applications/Compressor.app/Contents/MacOS/Compressor -batchname MyFirstBatch "${fileargs[@]}"

Note that with this restriction, the filename is guaranteed to have an extension, so the ${d%.*}.mov trick that @user3439894 suggested is safe to use. Also, is it ok to use the the same -jobpath and -locationpath names? (This'll happen when both the input and output files are .mov.)


What is the Master Agreement when trying to transfer an iOS app?

You need to check your Contracts, Tax, and Banking information.

  To resolve this issue, you need to check your Contracts, Tax, and Banking information. If you have Request button on the page, you have to click and review it.

  After review it and check the box then submit.

Source: blog.jaey.ca: Master Agreement Criteria Not Met


There is no keypress or gesture to do this unfortunately.

But here is a quick way to achieve a similar thing.

Create a new bookmark in safari (of any web page)
Edit this bookmark (press edit in bookmark screen)
Rename the bookmark to End
In the address field cut and paste this text

javascript:scroll(0,document.getElementsByTagName( 'body')%5B0%5D.scrollHeight);

Once you save this bookmark, you will be able to hit the bookmark button, select End and it will take you to the bottom of the web page.  I know it's not as simple as the current scroll to top feature (this solution requires two taps), but its really the only option at the moment.


Remove iPad Mini 4 from Find My iPhone without Wi-Fi

You can remove the iPad from your account by visiting iCloud website using a web browser. Follow the below mentioned steps:

Visit iCloud website on your computer and login with your Apple ID.
Click on Find My iPhone.
Select your iPad.
Click on Remove from Account and follow any further steps.

Update: As of this writing, the aforementioned steps to remove a linked Apple device by visiting iCloud website has been revamped. To remove a linked device, follow these steps:

Visit iCloud website on your computer and login with your Apple ID.
Click on Settings.
Under My Devices section, click on your device (iPad in your case).
An overlay view will open, listing all your linked devices. Click on the blue circle with a cross to remove your device and confirm your intent.

Here's what the new UI looks like:


Simple AppleScript script terminates early

I can't test this properly without messing up my own music library, but I suspect the problem is with this line:
set selectedTracks to selection

If Music is being true to form, this would pass back the current selection as a reference to a list of tracks. Passing by reference means that the list is stored in Music.app and the script retrieves items as needed; it also means that if the selection changes during script execution (which it probably does, since you're changing track names) it will throw off the indexes and references within the script. This might cause errors, or may just trick the repeat loop into think it has worked through all the items, when in fact they've merely disappeared from view.
The solution would be to dereference:
set selectedTracks to (get selection)

This should convince Music.app to pass an explicit list at the beginning of the script, so that changes in the selection would not propagate back to the script.


Where can I see the full key-to-character mapping for a language-specific keyboard?

Use Keyboard Viewer instead of the preferences pane.
Use the Screenshot app found in Applications/Utilities to create shots of the different modifier levels.
I don't know of any easy way to get the Unicode numbers.  Perhaps the Ukelele app, which can make a copy of the current input source for analysis.


Connect your iPad via cable to your MacBook.
Launch macOS built-in QuickTime Player.app
Go to File menu → New Movie Recording or use the keyboard shortcut Option + Command + N
This would open a Quick Time window with the MacBooks camera turned on.
Click on the arrow besides the red circular Record button and select your iPad for Camera.

This would show the iPad's screen on your Mac. It won't let you interact with the iPad, simply stream the screen contents.

If you rotate the iPad to change to landscape mode, the display changes to follow.

You can click inside the Quick Time player window to make the controls and window borders disappear and you can also take the app window full screen if you want only the iPad's screen to appear on your Mac.

You do not need any 3rd party software or hardware to accomplish this and it works out of the box.

P.S.: If you are only interested in viewing the iPad's display on your Mac, you need not press the Record button, and no extra memory or disk space would be used. (Thanks, @alexkent for stating it explicitly).


Audio Distortion After 2 Minutes of Music in Stock MBP

I was experiencing the same issue and was about ready to buy a new set of headphones until I plugged them into my phone and the issue went away.

I rebooted my Mac and let all the programs fully load before closing anything. That seems to have fixed the issue.


The phone number "is not registered with iMessage"

You need to wait for the iOS 8.1 update in order to be able to do SMS from your computer / iPad. It should be available for you now or tomorrow if you go to "settings -> general -> software update"

EDIT: "iPhone Settings -> Messages -> Text Message Forwarding" then select your device that you want to send from and enable it :)

Restart messages on OSX if it's still not working.


Depends on what your needs are.

Do you trust the cloud storage provider to have implemented encryption in transit and in rest correctly?

Do you trust that the cloud storage provider won't access the files themselves, or allow others to access them (on purpose or through hacking) - if that is possible with the security model chosen by the cloud storage provider?

If not, you could consider encrypting the files themselves before you place them in the cloud. Is it worth it for a copy of last year's birthday greetings card for Aunt Betty? Is it worth it for a copy of the book keepings of your company?

It really depends on what you need to store (how sensitive it is) and how much hassle you can live with to mitigate the risk of having the cloud storage provider's security (or lack of) broken.

If you do choose to encrypt, it will give you more hassle as you'll need to manually encrypt and decrypt files in order to access them - or rig some kind of automated system for doing the same, without sacrificing security.


Record Notability Notes with AirPods Pro to iPad Pro (and/or Mac)?

Have you asked your lecturer to record the lectures so you might review them later?

https://support.zoom.us/hc/en-us/articles/201362473-Local-recording

If they won’t, perhaps they would let you record it on your MacBook. This might be easier than using iOS screen recording.

https://support.apple.com/en-us/HT207935

We record town halls on the presenter side and it works great for playback later. No one needs to handle it on the attendance side.
Last option, macOS can record the screen and your voice easily from AirPods or any other speaker / microphone combination.

https://support.apple.com/en-us/HT208721

You would need help if you wanted to loop the meeting audio into the recording.

https://www.rogueamoeba.com/soundsource/

There is an academic discount for Sound Source if you decide it helps you after testing the free trial to keep the sound low while you study and learn.


mac screen goes sleep mode even I set never sleep

It sounds like your Mac will indeed never go to sleep, but the Screen Saver is set to activate after 15 minutes.

You can disable the screen saver by opening the Desktop & Screen Saver preference pane in System Preferences then selecting Never in the drop down box in the bottom left corner of the window.


Subtitle settings in iTunes content on iOS are wrong

It's possible that the Spanish subs are hardcoded into the movie (i.e. part of the video track, not a separate track). This is often the case for English language films with small portions of foreign languages. My copy of Quantum of Solace (not from iTunes) has some hardcoded subs for Spanish parts around the 28 minute mark (haven't watched the full movie in some time, there may be others).

I'm not sure that would explain why the English subtitle selection doesn't display anything however.


Finder search *only* searches file-names (Macbook Air, El Capitan)

Solution:

Navigate to System Preferences>Keyboard>Shortcuts>App Shortcuts

Press the 'plus' (add) button

In Application, choose Finder

For Menu Title, enter "Find by Name…"  Do not use the "" and you must use an ellipsis (…), not three periods (...).

Enter your desired keyboard shortcut.  I use CMD-F, replacing the default behavior of regular Find.  I then repeated the process, adding a keyboard shortcut the the Finder of CMD-OPT-F for Find.


Mavericks Login Screen Mirrored on 2nd Monitor

Pressing ⌘+F1 is the shortcut for switching between mirrored (same thing on both displays) and extended desktop (each display is independent) modes.

Pressing that while at the login screen should sort your problem.


iOS8 step counter - unusually high number of data points

Yes - I see the same very small data sets from the 5s running iOS 8.

I also get over-estimates of my step count when running and walking yet somehow over the day, I believe the total counts are reliably the same small over-estimation of my actual effort.

My only conclusion is that the devices need to handle motion data from people with short legs, tall legs, stiff shoe soles, cushioned running soles, pavement and trail runs, etc...

I'm sure the engineers know that some class of people are over counted and another are under counted and my suspicion is that they are attempting to be as close to accurate for as large a group as possible and still work within the constraints on the firmware code size/complexity in the motion coprocessors and not drain the battery more than the allowed power budget for each device.

FWIW - the iPhone 6 is even better at estimating, still has lots of small data bursts logged to health app but still slightly over estimates my effort.


How do I add preview devices to Interface Builder in Xcode to retrieve the device's code?

There's no way nor need to add devices there. The devices presented there cover all the available device resolutions you should care about and that's what is it for.

If you want to add simulated devices for you to test on you can go to
Xcode->Window->Devices and click on the + on the lower left corner.

I'm guessing that's the + sign you saw while searching about it


Can Resorcerer work in Snow Leopard in VMWare Fusion 6?

Since Apple discourages the use of resource forks in new Mac OS X applications and prefers the application bundles instead, I doubt you will find that much "classical" resource forks anymore.

If you still need a similar app try Rezilla instead. It works natively at least in 10.7-10.9.


Maximum memory config for Mac Pro 5,1 (mid 2010)?

That machine will take 16's - my 3,1 does, to an unofficial maximum of 64GB [or more, according to Everymac, though I've not tested that myself].

The arrangement is not what you would initially think logical.

If you install equal-size DIMMs (for example, all 1 or 2 GB DIMMs) in your Mac Pro, Apple recommends that you fill the slots in the order listed in the table.

Note: If you install different-size DIMMs in your Mac Pro, follow the order in the table. If the DIMM configuration you install doesn't provide optimized performance, the Memory Slot Utility appears onscreen and recommends an improved configuration.

Source: Mac Pro (Mid 2012 and earlier): How to remove or install memory … & previous similar confusion when I upgraded mine ;)


How can I connect my Windows laptop's keyboard to my iPad?

You may want to have a look at an App called AirType.  According to the developer, it works on Mac, Windows and Linux machines and the requirements are iOS 8 and above as well as both devices being on the same network.


change proxy settings for Chrome and not for entire operating system

You have to pass the proxy argument to Chrome on the command line. Run something like:

open -a "Google Chrome" --args --proxy-server=http://my-proxy.com


Extracting latency value from output of ping

There are probably hundred of ways to accomplish this with standard Unix tools. To list just some of them:
# extending what you have
ping -c 1 206.190.36.45 | awk -F" |=" '/time/{print $10"ms YH"}' | sed -e 's/\..*ms/ms/

# using awk only
ping -c 1 206.190.36.45 | awk -F" |=" '/time/{printf "%i%s\n", $10, "ms YH"}'

# using sed instead
ping -c 1 206.190.36.45 | sed -n 's/.*time=\(.*\)\..*/\1ms YH/p'

# a rather different approach (just for the fun of it, not really recommended)
echo "$(ping -c 1 206.190.36.45 | fgrep time= | cut -d= -f 4 | cut -d. -f 1)ms YH"


What do the "Other" and "Developer" options in Spotlight index?

This is sort of a half answer, half response containing observations and guesses in response to bmike's comment.

It looks like the "Developer" option is for files that macOS considers to be development related files.  For example, I searched for .h, .html and .m files and they were listed under the "Development" category:

"Other" must be for anything that macOS can't make a good guess at.  For example, I searched for .json files and actual .json files showed up under "Developer".  However, files that had unknown or missing extensions showed up under "Other":

I'm still not sure of the complete criteria that macOS uses to discern what files fall into what category.  Additionally, it looks like Spotlight won't even try to display a preview of files in the "Other" category even if they are textual.


Maverick and adobe CS6 - is there any definitive answer?

Yes CS6 works, and also please check out these notes by Adobe, about compatibility for Mavericks.

I've got a CS6 myself and do not see anything going wrong with it. And since Adobe claims to be fully compatible with the products you name in your question you should be fine too.


How can I get bluetooth devices to connect without repeatedly opening the Bluetooth preference pane?

I believe there has been many cases of Microsoft Designer Bluetooth mouse users having issues, so as a minimum this product appears to be very fussy.

However, one thing I have seen that does work in some cases is to make sure it's the first Bluetooth device paired to your computer.

In a nutshell you need to reset both the macOS Bluetooth Device List and Bluetooth Controller. However, this will reset all connected Bluetooth devices, including a keyboard and mouse.

In other words, this will remove all existing pairing information for Bluetooth devices, so each will need to be reconnected.
I have some steps you can follow, but I strongly suggest you read all of the steps first before commencing (or perhaps print out the instructions / view them on another device).

Before starting, ensure you have the Bluetooth icon showing in the menu bar. If it is not there, open System Preferences > Bluetooth and enable the option Show Bluetooth in Menu Bar.

Also, since you're trying to resolve an issue with a Bluetooth mouse,  you will need to use another mouse to follow these steps:

Hold down both the Shift and Option keys and at the same time click on the Bluetooth icon in the menu bar. Once the menu is showing, release the keys.
From the Bluetooth menu, choose Debug > Remove All Devices
Hold down both the Shift and Option keys again and at the same time click on the Bluetooth icon in the menu bar.
From the Bluetooth menu,  choose Debug > Reset the Bluetooth Module
Shutdown your Mac
Ensure your Microsoft Designer Bluetooth mouse is fully powered off
Restart your Mac
On your Mac, click on the Bluetooth icon in the menu bar
Select the Set Up Bluetooth Device option
On the mouse, press the power button down and keep it down for at least 5 secs. The blue light should start blinking
Once the Setup Assistant finds the mouse, select it from the list and click on “Continue”.
Now pair your mouse
If you have any other Bluetooth devices, you can go ahead and pair them now (or you can do it later). However, the point is to pair the Microsoft Designer Bluetooth mouse first before any other Bluetooth devices!

Let me know how you go.


What's a font name table and why do so many free fonts have a "minor issue" with its structure?

In TTF fonts, the "name" table contains information on the font. There's a table here which, if you're interested, gives you the exact information on what the name table contains.

I've had the same problem with fonts in the past. Most of the time they work fine, although sometimes they won't show up in all applications. With some Googling I found a guide which fixes the name table structure.


Generally speaking I BELIEVE that RAID requires drives of equal size. In some cases when you get drives of unequal size the RAID uses the size of the smallest drive, so in your case you would end up with a 256GB (128 + half the 256) RAID-0 Drive.

HOWEVER I have not done such a thing on Apple hardware using disk utility, it MIGHT give you a RAID of 256 + 128 GB, but I kinda doubt it.

But in any case creation of the RAID erases the data on both drives so if you are OK with that, try setting it up and let us know the results.


Can I download applications/programs that are Mac specific on my Windows PC ?

In short, yes. Most application downloads are packaged either as a .dmg (Disk iMaGe) file, or as a package, ending in either .pkg or .mpkg. A .dmg is a regular file on Mac, Win, Linux, etc., so all you have to do is follow your usual transfer method and you can easily move it from PC to Mac.

On the other hand, .(m)pkg "files" are actually directories (just like the .app files in the Applications directory) so you need to take care to copy the entire directory from one device to the next. You can then install it like usual. However, many .(m)pkg packages are actually downloaded as .dmg files, so you shouldn't have any issues at all. Good luck!


You shouldn't need to add the Cellar to your path for this. But Homebrew adds a version suffix to the gcc commands to avoid name clashes with the standard gcc:

pse@Mithos:~$ ssh verence@localhost brew install gcc
[...]
==> Downloading https://homebrew.bintray.com/bottles/gcc-7.3.0.high_sierra.bottle.1.tar.gz
==> Downloading from https://akamai.bintray.com/d0/d09669e3679bb54448f00cda4bf520e631f7487f132ebfe6e0d2f6ecdcd5f6e0?__gda__=exp=1519315844~hmac=df4f6f9b82a2ac5fb5465be3f9dc91c0c3eea0c254e894113edf5fcc2b640c57&response-content-disposition=attachment%3Bfilename%3D%22gcc-7.3.0.high_sierra.bottle.1.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-mCWpMqQTGrxnTfILcUZz-NvVoQyGOGSnI4iWY_Z2bJghjhAR-xgGu9cDwVXgE9DLumAnLcf1a5kZAz724Fowtbckow4p_nVq39TQR8WNf4jMP4z7Sql3NQ2dFr1pLXQ3paB2FUCf1_A&response-X-Checksum-Sha1=d492b86b3ba112920165af9df80dd793df1d8f46&response-X-Checksum-Sha2=d09669e3679bb54448f00cda4bf520e631f7487f132ebfe6e0d2f6ecdcd5f6e0
==> Pouring gcc-7.3.0.high_sierra.bottle.1.tar.gz
  /usr/local/Cellar/gcc/7.3.0: 1,486 files, 284.9MB

pse@Mithos:~$ ll /usr/local/bin/g*-7
lrwxr-xr-x  1 verence  admin  29 Feb 22 16:59 /usr/local/bin/g++-7@ -> ../Cellar/gcc/7.3.0/bin/g++-7
lrwxr-xr-x  1 verence  admin  29 Feb 22 16:59 /usr/local/bin/gcc-7@ -> ../Cellar/gcc/7.3.0/bin/gcc-7
lrwxr-xr-x  1 verence  admin  32 Feb 22 16:59 /usr/local/bin/gcc-ar-7@ -> ../Cellar/gcc/7.3.0/bin/gcc-ar-7
lrwxr-xr-x  1 verence  admin  32 Feb 22 16:59 /usr/local/bin/gcc-nm-7@ -> ../Cellar/gcc/7.3.0/bin/gcc-nm-7
lrwxr-xr-x  1 verence  admin  36 Feb 22 16:59 /usr/local/bin/gcc-ranlib-7@ -> ../Cellar/gcc/7.3.0/bin/gcc-ranlib-7
lrwxr-xr-x  1 verence  admin  30 Feb 22 16:59 /usr/local/bin/gcov-7@ -> ../Cellar/gcc/7.3.0/bin/gcov-7
lrwxr-xr-x  1 verence  admin  35 Feb 22 16:59 /usr/local/bin/gcov-dump-7@ -> ../Cellar/gcc/7.3.0/bin/gcov-dump-7
lrwxr-xr-x  1 verence  admin  35 Feb 22 16:59 /usr/local/bin/gcov-tool-7@ -> ../Cellar/gcc/7.3.0/bin/gcov-tool-7
lrwxr-xr-x  1 verence  admin  34 Feb 22 16:59 /usr/local/bin/gfortran-7@ -> ../Cellar/gcc/7.3.0/bin/gfortran-7

So the compiler you are looking for can be invoked with g++-7.


Some of the keys on my keyboard are not working

Probably just dead.  I suggest plugging in an external keyboard to test if it's software or hardware.  If on the external keyboard the same keys don't work, then you know it is a software issue.  Otherwise if the external keyboard works fine, it's a hardware issue.
You can also take it to an Apple Store to get it diagnosed, and if it is broken, fixed.


You should have gotten the following output while installing vsftpd:

To use chroot, vsftpd requires root privileges, so you will need to run
  sudo vsftpd.
You should be certain that you trust any software you grant root privileges.

The vsftpd.conf file must be owned by root or vsftpd will refuse to start:
  sudo chown root /usr/local/etc/vsftpd.conf

To have launchd start vsftpd now and restart at startup:
  sudo brew services start vsftpd
Or, if you don't want/need a background service you can just run:
  sudo vsftpd

So your vsftpd.conf file is in /usr/local/etc.


After some further googling I have sorted this now. It appears that all UK T-Mobile users get an individual Voicemail divert number. Dialling 222 for the first time should have set this up for me but it didn't.

This worked for me:

I completely reset all divert options by dialing ##004#
I then re-dialled 222 and a message said that number had been set up and I need to reboot the phone.
I also got an SMS with my voicemail divert number in it.
I rebooted my phone and sent **004*+[the number from my sms]#

My voicemail is now working as expected!


How to set up so on the Mac the default new user will have a single color wallpaper?

The only way I know how is to modify the System's "User Template". Here's the steps I used to test on Lion.

Use a current account to specify the desktop wallpaper you want. (If
you use "Solid Colors" there's a button in the lower right to pick a
custom color.
Copy the current account's com.apple.desktop.plist file to the user template:

sudo cp ~/Library/Preferences/com.apple.desktop.plist /System/Library/User\ Template/Non_localized/Library/Preferences/


Messages on OS X: control the default account for contacting a person?

Figured it out: under Messages' Preferences: Accounts options, the sort order of the accounts controls the ordering when sending a message. Dragging and dropping my Google Talk account above AIM fixed it (though this applies to all contacts, I can't find a way to change it on a per-person basis.)

Preferences:

Before:

After:


Remove old user from Remote Login permissions list

Found the solution here, hope this helps.

1) First remove all users that can be removed from GUI In System Preferences -> Sharing -> Remote login

2) Run the below command which shows the configuration of users who have remote login access

sudo dscl  . -read /Groups/com.apple.access_ssh

example result:

AppleMetaNodeLocation: /Local/Default
GeneratedUID: 2F60778C-0931-47A4-B656-DBE07ACD843F
GroupMembers: **3D7C31B1-DEDE-4A5A-AAA8-CDD55645DC75**
GroupMembership: youraccoutname
PrimaryGroupID: 404
RealName:
Remote Login ACL
RecordName: com.apple.access_ssh
RecordType: dsRecTypeStandard:Groups

3) remove the group GroupMembers that the user(Unknown User) is in

sudo dscl  . delete /Groups/com.apple.access_ssh GroupMembers 3D7C31B1-DEDE-4A5A-AAA8-CDD55645DC75

4) Go to System preferences and see the result


How to view a photo marked up in iOS on my laptop ? (.AAE file)

iOS overlays the markup as saved in the .AAE file. Whenever you see the photo the markups will be overlaid.

Solution 1

When you send the photo to your MacBook Pro using AirDrop, a new image (the original image and the markup) will be generated on-the-fly and sent to your Mac with all markups intact.

For this to work you need a "MacBook Pro (Late 2008) or later, excluding the MacBook Pro (17-inch, Late 2008)". See Apple.com.

Solution 2

If you are not able to use AirDrop with your Mac, you may create a Shared Photo album with iOS' Photo.app. As soon as the shared image appears in the new album you can save it to your camera roll with all markups applied. Please note that the resolution of these photos will be reduced to fit 2048 px x 2048 px.

Solution 3

Use Photos.app on your Mac. If both the image file and the .AAE file are in the same folder they both get imported. You will see all markups applied in Photos.app.

To export an image with these markups applied just drag it to your Desktop or any other folder.


Want to download songs to my iPhone; don't want to plug it into the computer

You need to turn on Automatic Downloads in Settings > iTunes & App Store > Automatic Downloads > Music/Apps/Books/Updates in order to get the phone to download anything you buy on the Mac/PC automatically.  You may need to be on a WiFi network, or select the Use Mobile Data option if you are using cell network to download.

In addition, you can also just hop into the iTunes Store on the iPhone, search for the items and then download them manually (you won't be charged again, the Buy option will be replaced with an icon of a cloud with a down arrow), or check your Purchased tab (may be under the More section depending how you have it configured) to list your purchases and have the ability to just show stuff Not on This iPhone.

Alternatively, if you turn on Settings > Music > Show All Music it should show all your purchases inline in the Music App, and allow you to stream or download them at will directly from within the app, but note it will show all purchases, even that Miley Cyrus you are now embarrassed to own...


Why does "Recent Places" not include most recent places

To make something appear in the "Recent Places" dropdown (I've had the same annoying problem), it seems like you need to travel to that particular folder twice before it appears there. If you do that, you'll see it appears there. I guess the obvious reason is that Apple assumes if you go to a folder recently only once, that isn't enough to store it. But if you go there twice, that means you should have that stored. Makes sense, but there has to be some kind of workaround, because in a lot of real-life situations, this kind of functionality is really inconvenient. Sometimes I go to a folder twice if I know I will want to access it quickly soon. I'm sure there are solutions out there.


Keep Safari from hijacking the media buttons from controlling iTunes

This was driving me crazy, so I wrote a little menu bar app to make the media keys only affect iTunes:

http://stuntsoftware.com/reflex/


How do I create a new user in Lion from the Terminal?

They renamed the Directory Services daemon in Lion:

/System/Library/LaunchDaemons/com.apple.opendirectoryd.plist


Why am I getting a 31 character limit on file saves from Mail all of a sudden?

From the screenshot I am assuming you're trying to save an attachment directly from Mail.

If so, there is a known issue that a corrupted Mail index causes this odd 31 character file size limit when saving from Apple Mail. The best way to correct this is to follow Apple's instructions for rebuilding your Spotlight index.

If my assumption is wrong (re the Mail app), let me know and I'll update my answer with broader solutions beyond just the Mail app issue.


Import Google Reader subscriptions into Flipboard

Yes there is and it is described in an article on the Flipboard web page: "We’ve Got Your RSS Covered! Save Your Google Reader Feeds Now".

Basically you just have to choose Google Reader in the Accounts tab. Once imported, Flipboard will fetch the feeds on its own. So it will also stay when Google has shut down Reader.

Just one more hint:
If you want to save your feeds in a stand-alone file (e.g. for backing up) you could use Google Takeout.


"View In Mac App Store" button in Firefox

It looks like Apple updated the code to detect which client you are when connecting to the app store.
I checked and they have script that called a function its.detect.Itunes which detects what browser and operating system you are on, and if it isnt Safari, the link does not return an app store link.

Interestingly it does seem to have handlers for chrome and firefox, but either they made a mistake or they are purposefully making it so you cannot use Firefox to one click browse the mac app store.

I checked if switching firefox's user agent worked, and while it did load the page momentarily, and the function clearly had a anchor link instead of a direct href, it immediately redirects to a blankly loading page forever.

At this point it looks like it is probably safari or bust.


Export / Backup emails on iPad (Locally only)

Connect and Sync your iPad with a Windows/Mac iTunes installed machine.
Create a backup.
Open the backup and find the mail folder.

The iPad mail client stores the emails as an SQLite database (at least it used to) so you should be able to use any SQLite client to open the same.


I know of no vendor that sells the slot loading inner bezel for your imac whether it’s OEM or aftermarket.

You could purchase a machine from ebay (or similar) and hope they pack it properly so as not to destroy the inner bezel in shipping, or you can try and gorrilla glue the original bezel together so you can scan and 3-d print a new one or hire someone to fabricate a replacement.


What is a good http benchmark program for Mac OS X?

You could try Seige: http://freecode.com/projects/siege


Go to finder and press command+shift+G on your keyboard and the dialogue box that appears paste in - this path in it

/Users/your
username/Library/Preferences/com.apple.AppleMultitouchMouse.plist and delete this plist file com.apple.AppleMultitouchMouse.plist then go to system preferences and click on general and instead of selecting appear when scrolling select automatically based on mouse or trackpad


Getting strange characters in third party apps. How do I fix it?

Font Book > file > restore standard fonts > restart

Is the first thing to try


Automate Duplicating and Renaming Images

I whipped up a quick script that will copy the image for you (it will work with any type of file actually) and rename it from a plain text file with one prefix per line.

#!/bin/bash
file=$1
prefixes=$2
filename=`basename "$file"`
while read line
do
    cp $file "$line-$filename"
done < $prefixes

Put that into a text file, save it as copier.sh. Then in Terminal, run chmod +x copier.sh (make sure you’re in the same directory as where you saved the file, ideally the one with your images in it). Then run ./copier.sh myimage.jpeg prefixes.txt and you should have a bunch of copies with different names.

The prefixes.txt file (or whatever you want to name it) should have one prefix per line (which should be easy to get by copying and pasting from your spreadsheet).

Updated Version With Folders

#!/bin/bash
file=$1
prefixes=$2
filename=`basename "$file"`
foldername=${filename%%.*}
if [ ! -d "$foldername" ]; then
    mkdir "$foldername"
fi
while read line
do
    cp $file "$foldername"/"$line-$filename"
done < $prefixes

That will create a folder with the same name as the original file (if it doesn’t already exist) and place the copies in it.


If you still have the old backup of the Mail database prior to the 10.9, you can replace the mail folder in ~/Library/ by the old version, and restart the Mail in your Mavericks. The new Mail will convert it to the new version of the database structure.

I met the same issue a couple of days before, fortunately, I have the Time Machine backup, thus resolved by this way.


You can probably correct this by disabling the "scrolling inertia" option.

Go to System Preferences > Accessibility > Mouse & Trackpad and under "Mouse Options" or "Trackpad Options" (try both) choose the "without inertia" option of scrolling.

I hope it helps, let me know ;)


List of all packages installed using Homebrew

brew list and brew list --cask
Running brew list will show a list of all your installed Homebrew packages.
In addition, brew list --cask will provide the items installed using Homebrew Cask.


What external HD can I use to my Airport Extreme Base Station for use of wireless Time Machine?

Unlike the Time Capsule, the Airport Extreme doesn't support being a backup destination, no matter what drive you use. It is possible to force Time Machine to use unsupported destinations, but this is unsafe - the AEBS lacks features that help protect data, and without them, the slightest network error can make your backups useless.

Some of the technical reasons for this have been explored here: Why won't Time Machine work with a drive connected to an Airport Extreme?

However, you can look for a network-attached drive that supports Time Machine, such as WD's My Book Live. These are drives that attach by ethernet instead of USB, and they implement the file-sharing features that Time Machine requires.


Automatic call audio routing still asking for device

Ok, so it is a bit awkward, but I managed to solve my own problem. I went to:

Bluetooth settings -> MyAirPodsName -> forget this device

Then I paired my airpods again with my phone and tried to make a phone call. And sure it worked! Now when I have my airpods connected it chooses them automatically, if not, I can switch between "iPhone" and "speaker" as they are named in the list by tapping the speaker button.

I think it is some weird bug that prevents the call audio routing from selecting the device automatically so you have to select it explicitly everytime you call someone... It is a bit annoying, but it is easily fixable, so no big problem.


"Pre-registered" AppleCare --- to whom is it registered?

Technically, AppleCare plans get registered individually to each equipment record in Apple's database. Similarly, a customer record gets registered to each equipment record and when you log in to Apple's web site, your customer record is polled to determine which equipment records should be presented to you. AppleCare transfers with the hardware, so registering it to a person (or com pay record) would be harder to implement and manage.

You can work through the process by following this guide:

How to manage your AppleCare agreements - http://support.apple.com/kb/HE50

My experience is this isn't worth your time and that for 20+ machines, you'll want to keep internal records and not rely on Apple's externally facing registration portal. It allows anyone to register a Mac and if someone else mistypes their serial number (and types in your valid serial number), the registration presented at your account for tracking computers could lack that device. It's still covered and internally Apple knows who they sold it to no matter who tries to register that serial number and what Apple ID they use to do so. I just wouldn't want to trust that portal to keep my list in one place.

Apple has business teams in all retail stores and they might be your best way to get detailed instructions and assistance on how to correct any errors in registration and assist you in getting the AppleCare records straight if they don't match your records. The portal for end users doesn't have the tools to make it easy to manage large numbers of computers.

You will also want to look into a self-servicing account and although you might be a little shy of the 50 devices needed, I've seen many organizations set these accounts up with 20 to 30 macs on one order.

http://www.apple.com/support/programs/ssa/

That program has many benefits other than just the tools to bulk upload and manage AppleCare plans and registration but it's well worth it solely for the purpose you described above. The end user portal at https://selfsolve.apple.com is designed for consumers and ease of re-registering a used / unregistered Mac from a consumer standpoint - not a business that may have several purchases of 20 machines, some with and some without AppleCare so you'll want to look into software designed for business needs (like JAMF's Casper, Apple's JointVenture and SSA Program) and reach out to Apple's Business Staff to keep abreast to changes they may make to the tools going forward if it doesn't make sense to invest in tools like Casper, JV or SSA.


Should I use Automator or another program for repetitious tasks?

It looks like the TexturePacker program includes the ability to process images from the command-line, which you could then batch process with a script. You'll first want to install the utility by clicking Install Command Line Tool under the TexturePacker menu in the app.

Then I'd suggest having a look at the documentation, which includes the command-line parameters for most of the options in the app. Have a look at that, and see if you can get  the actions you need on the command-line. If you need help turning those into a batch processing script, I'd suggest coming back and amending your question with the specifics.


iPod Touch /w iOS4 - Why do I have to have iTunes installed to charge?

You pretty much self-answered the question but, in any case and for future reference:

You don’t need iTunes to charge iPhones/Pads/Pods. iPhones come with a wall-pluggable charger that also happens to charge the other members of the family.


A new ExFAT partition prevents bootcamp from starting windows

I finally solved this

I used the Disk Management tool in Windows to delete the shared partition and then created a new partition with NTFS file system.


MacBook Pro external monitors not working

You need to switch to discrete graphics in gfxCardStatus (or dynamic switching) for external display support. Also make sure you're running the latest version by running “Check for Updates…”. (Your cable is likely just fine.)


The solution is that I should call bash completion from 1.3.2 before bash-completion@2. Following is how my .bashrc looks, and this solves the problem:

if [ -f /usr/local/Cellar/bash-completion/1.3_2/etc/bash_completion ]; then
  BASH_COMPLETION=/usr/local/Cellar/bash-completion/1.3_2/etc/bash_completion
  . /usr/local/Cellar/bash-completion/1.3_2/etc/bash_completion
fi

if [ -f /usr/local/share/bash-completion/bash_completion ]; then
    . /usr/local/share/bash-completion/bash_completion
fi


TextEdit turned HTML file into RTF while open - how to undo?

TextEdit is a plain text editor it you first set the preferences for Format to "Plain text" before opening the file.

Unfortunately Auto-Save has it drawbacks and if you do not have a proper backup of the file I'd say you're out of luck since the file was stored on a volume that could not store versions of the file.


Go to the folder and press ⌘J, then set Arrange By to None. This will still sort using whatever you have chosen for Sort By. Click Use as Defaults to use this option as default and remove the .DS_Store from any folder that you wish to inherit these defaults.


Can one slice of a "Disk Utility" RAID mirror be moved to a new computer?

Theoretically, yes.

But remember Apple's RAID solution is software based so both computers should have the same O/S versions.

But if you are moving a boot volume AND the hardware is the same it should be cake.

Moving a boot volume to DIFFERENT hardware... well I've never tried that. It might work and it SHOULDN'T damage the drive data.

YMMV


Where is ken burns effect in iMovie 10.0.7?

Ken Burns is between the toolbar & output picture  [I don't really use iMovie, but that's where I would expect it to be from using Final Cut]

I'm not sure which 'adjust' tool you mean.


BlueBoard software cannot run because "/mnt: No such file or directory"

macOS doesn't have a /mnt directory/folder (it's not Linux)

You can fix this by mounting in a directory that you have read/write permissions to like your home folder.  Just make sure you create the directory first.


Mac is stuck in some kind of automatic layout windowing mode

Clearly your computer has a window manager installed on it.
That one in particular might be chunkwm (the blue border around your selected window reminds me of my time using chunkwm, but I assume all window managers provide some feature like that). chunkwm is also very popular, so maybe it's what's ended up installed on your computer.
Try stopping it, maybe one of these commands will work:
brew services stop chunkwm
launchctl unload -w ~/Library/LaunchAgents/com.koekeishiya.chunkwm.plist
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.chunkwm.plist

if none are found try searching for it
launchctl dumpstate | grep chunkwm

if chunkwm still isn't found, then the window manager you have isn't chunkwm.
Just look up a list of window managers online and search for each one in turn on your computer. Edit a good starting point would be yabai, the successor to chunkwm.
It might also be possible to hunt through
launchctl dumpstate | grep '=> true'

for it.


Navigate within texts without using arrow keys

I share your preference for keeping the hands in the touch typing position.

I have a post where I describe my current approach to achieve greater prevalence of vi-style controls on OSX.

To summarise the key points.

Simultaneous vi mode in keyremap4macbook works really well once you get used to it. When you simultaneously press S and D keys vi mode is activated which makes H, J, K, and L function as left, down, up, and right. Holding Down S, D, and F keys makes them function like their function key equivalents. If you are dextrous, you can also pull in the pinky to press shift, and the thumb to press Cmd or Alt. This becomes really useful if you hate having to move your hands from the touch typing position. In the post I also describe a number of other Vim-style keyboard hacks in keyremap4macbook which I tried but ultimately did not persist with given the conflicts with existing keys.
For Chrome there is the Vimium plugin which brings a lot of Vim style keys to the browser.
In my post I also describe the configuration of Vim style text editing for the command-line.


From the Recently Added playlist you should be able to right-click (or ctrl-click if you don't have a right mouse button) and choose Get Info. Under the Options tab on the Get Info pane there is a choice for Media Kind. If that choice is set to Movie (as it should be) then you should be able to see it in your Movies list. Can you show the list of all things in your Movies and sort by Date Added?


Your cron error message are sent to the mail account of the user that is running the cron job.

Type mail at the command line to see the messages. For a list of mail commands, see man mail.

You should be getting mail with an error message something to the effect of:

/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file

As for you command and why it's not working, it's because the "%" sign is a "newline" character, meaning that it tells the shell to "go to the next line."  So, after it encounters the first "%" it goes to the next line and it never sees the rest of the command.  This is confirmed by the "unexpected EOF while looking for the matching ' "  '(double quote).

The local man page for crontab (man crontab)is quite sparce with details and I am speculating it's because cron has been deprecated for launchd1.  However, the crontab manpage from developer.apple.com explains it

  The "sixth" field (the rest of the line) specifies the command to be
  run.  The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile.  Percent-signs (%) in the command, unless escaped with backslash (\), will be changed into newline characters, and all data after the first % will be sent to the command as standard input.  The command can optionally be prefixed by "@AppleNotOnBattery" to tell cron not to run the command when functioning on battery power.  For example, the "sixth" field when using this option would appear something like "@AppleNotOnBattery /usr/bin/touch /tmp/foo"

Your fix:

So, what you need to do, is "escape" the "%" character with a backslash (\) so that it tells it to interpret it literally.

Your command should be:

0/5 * * * * /bin/date "+\%Y-\%m-\%d \%H:\%M:\%S" >> /tmp/log.txt

1 From man crontab:  (Darwin note: Although cron(8) and crontab(5) are officially supported under Darwin, their functionality has been absorbed into launchd(8), which provides a more flexible way of automatically executing commands.  See launchctl(1) for more information.)


Limitations of external monitors with MacBook Pro Retina mid 2012

Officially these MBPs can support up to one HDMI display (at 1920x1080 pixels) while simultaneously connected to a Thunderbolt display (at 2560x1600 pixels), OR being connected to two Thunderbolt displays (both at 2560x1600 pixels).

However, unofficially you can exceed this. I'm not aware of anyone who has done exactly what you're wanting to do, but I have come across the following scenarios with other users:

connecting two 27" Thunderbolt displays each at 2560x1600 pixels while also using the built-in display, with a 23% increase in the MBP's fan speed, but with no long-term damage/problems.
connecting three external displays while in clamshell mode. However, this can result in the MBP's fans spinning at more than double their usual speed when watching videos etc. Not something I would recommend.
using a single Thunderbolt display at higher resolutions (e.g. 3440x1440) with the MBP in clamshell mode without any problems whatsoever.
using two 27" iMacs in Target Display Mode (one using a Thunderbolt connection and the other a Thunderbolt/DisplayPort connection) without any problems (both in and out of clamshell mode).
using a single Thunderbolt display at higher resolutions (e.g. 3440x1440) while also using the built-in display. This seems to work okay, although the fans will spin about 30% faster. This is probably the limit of how much I'd recommend pushing things.

It's not clear from your question whether you were wanting to use the MBP in clamshell mode, but the info above may give you enough to help you decide whether what you want to do is worth the risk.


Yes this is normal. Both the 15" and the 17" MacBook Pro have two graphic cards and use the Intel HD graphics for normal function and switch to the ATI Radeon when a more graphically demanding application is being run. Also when you connect the external display the ATI card kicks in in order to drive both of your screens. This is why you get the blue screen flash when you connect and disconnect an external monitor (the graphics source is being switched)


Text to speech won't work in Chrome anymore

Upgrade/Reinstall Operating System
I recently installed MacOS Mojave and now the "Text to Speech" function works perfectly, just like it used to.
While this didn't identify what was causing the problem, it did solve it.


Messages when attempting to empty Trash in macOS

Well, the messages are pretty straight forward I suppose, you do not have the correct permission to remove these files.

I am however a bit confused as to the term "empty Trash". It seems that this can be accomplished using the GUI and this would be the preferred way to do it? The files you are trying to completely wipe of your system does not seem to be in the "trash"?

Anyway, running the same command as 'sudo' should solve your problem although I would be careful as it seems from your output that you are attempting to erase more than trashed files:

502/sda/: Permission denied

Unless you intentionally put an entire partition in the trash? The 'rm' command is not recoverable.


My USB Apple Keyboard stopped working after upgrading to Sierra

Based on the Apple forums, people have had this similar problem since Yosemite up to Sierra. While there has been no official reason by Apple and many comments have went unanswered on Apple's website.

Here is what people have reported to have work. (whether it makes sense or not, this is in fact what people have confirmed to be working. (same situation identically for some, other keyboards work but not the USB Apple Keyboard.

These are 2 things that have been confirmed to work on iMac 2015 models.

  1) Plugging the keyboard into a USB hub, then the hub into the iMac.

  2) Plugging the keyboard into any USB extension cable, then the cable
  into the iMac.

Referrence: https://discussions.apple.com/thread/7501433?tstart=0


How can I have iOS Safari remember credentials for websites with HTTP(S) Basic Authentication?

Safari does not support saving the credentials for basic authentication. That's why you're not asked to store it.

There are basically three work-arounds you can use:

The first is simply to create a bookmark that contains your credentials. Note that this should only be done if the credentials aren't "important" - like for example if this is one of those commercial web sites that allow anyone in that knows that this year's password is "2019" or something like that. Then you can create a bookmark for the URL like this:

http://user:pass@website.com/

When you open that bookmark, you'll not be asked for credentials, but will be logged in automatically.

If you require an ordinary amount of security regarding the saved credentials, you can instead use a different work around. On your device, access Settings and then Passwords & Accounts and then App & Website Passwords. At the top is a + icon that you can click to add your web site and the username and password.

Contrary to form based password authentication, the information you enter there will not be automatically filled out. However when you get the username/password popup, you have the option of clicking the little "key" icon to select the stored credentials.

The third possible work-around is to use a Mac logged in to the same iCloud account with Keychain enabled. Access the web site using Safari on the Mac, and you'll be able to store the credentials.

On the iOS device the credentials will not be automatically filled out, but you will be able to press the "lock" icon in the popup to allow choosing the credentials you've stored on the Mac.


The airport card is usually pretty stable.  You may want to start with the wireless router / air port.  You can pick one up at your local store and return it if it does not fix the problem.  As for the card itself it's replaceable but not really upgradeable from a quick google search.  If you have a free USB port you can use a Wireless AC USB adaptor like this... https://www.amazon.com/Edimax-Adapter-Supports-MU-MIMO-EW-7822ULC/dp/B01MY7PL10?tag=macworld05-20&ascsubtag=US-002-3187363-001-1437949-web-20


If add a file to books, do I need to keep the original file?

It is not easy to extract books out of iOS' Books app once you import them. You can only take out their names, as the app treats them as purchases, not imports. So keeping a copy in Files and then opening it in Books is better.

If Mac's Books is being used, the books can be found easily by spotlight or Finder. So sync would be necessary for an easy way out. Of course there are apps which claim to go into iOS's database, but if you have a Mac, better sync.

/Users/me/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/395687522.epub

Add PDFs to iBooks, without making a copy to com.apple.BKAgentService folder


From iPhone/Pod...

Open 'Music' Click 'Songs'
At the top you then see a link to 'Store'

Once in the iTunes Store click 'More' at the bottom.
Then... Purchased > Music, scroll to U2
Next to Songs of Innocence, click the Cloud icon, it should change to Downloading

From iTunes...

Click iTunes Store
Once in the store, click the Home if you're not already there.
To the right, under Quick Links click Purchased, then Not in my Library.

Then same procedure as above, look for the Cloud icon [I already got mine so I can't repeat the steps exactly.]


Recover accidentally deleted photos not shown in recently deleted

Their is no way you can recover a photo after deleting it from recently deleted unless you have a backup


Undo sudo nvram boot-args="-s" without terminal

Turns out this was as simple as a stuck key was stopping any boot up commands.

Plugged in a different keyboard and everything was just fine.


Stop Office for Mac from loading with earlier documents on top of the one I opened?

Quitting the app with Option + Command + Q will ensure all windows are closed, and on the next open, only the intended file will open.
Go over to ~/Library/Saved Application State/ and change the permissions of your intended folder (com.microsoft.Word.savedState) to read-only.

These are essentially hacks - both tested on OS X 10.10.3 (Yosemite) and works.


Recover pictures deleted by syncing iPhone from different photo library

iDevices can only by synced to one computer running iTunes.
Syncing to a new computer/iTunes will erase all previous data.

If you still have the other computer that the iPhone was last synced to, then you might be able to retrieve them from your last backup. Alternatively, check your iCloud storage.

It would have been far safer to click Cancel & instead copy the previous photos to the computer using Photos.app or Image Capture, Mac or Photo Gallery [part of MS Essentials], PC.


To remove email address of sent messages from Mail

In Mail, click on the Window menu then Previous Recipients.

To locate people not in your address book, click on the empty column header all the way to the left (to the left of Name). The ones that are in your address book have an icon in that column.

Select the recipient you want to delete and click Remove from List in the lower-left corner.

Screenshots are available on this University of Wisconsin page.


Important Note: In Mac OS X 10.5+ the method explained below only works for apps which are not using the "Code Signing" feature which was introduced in 10.5 to ensure authenticity of running code. The result of applying this method to a signed app differs; it might cause the app to  crash upon starting or results it unexpected behavior.

You can edit the file Info.plist contained in the directory of each App (e.g. /Applications/VLC.app/Contents/Info.plist)by adding the following lines:

<key>LSUIElement</key>
<string>1</string>

For example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>LSUIElement</key>
        <string>1</string>
        <key>BuildMachineOSBuild</key>
        <string>11G63</string>
        <key>CFBundleDevelopmentRegion</key>
        ...
        ...
</dict>
</plist>

When you will start the App you will see the icon just for one second and the it will disappear.

Dockless and Dock Dodger do this change automatically in apps.


How can I display Quicktime's "New Movie Recording" function in ASCII

Try ASCII Projektor

  … computer’s camera as well as from QuickTime files. …


Configuring OS X Lion as server (without server.app)

I would do it this way

Configure Time Machine in you Mac Mini Server
Share HD2 or create a shared folder in HD2 to save the backups from your MacBook
Configure Time Machine in your Macbook to save on a Network folder (The shared folder in your MacMini)
In your Mac Mini enable screen sharing and remote login (this last one for SSH)

Make sure your firewall in your Mac Mini is set up correctly to allow incoming connections


AWW App

From a simple Google Search (and some testing) I have found a WebApp that allows real time collaboration on a whiteboard. From my tests the board is updated once the mouse is released.

It works in realtime on Mac's and iOS devices meaning you and your Ph.D. advisor could use it at the same time no matter what device you guys are on.

You can...

Draw with different colors
Type text
Add Shapes
Create Post-it notes
Add Pages
Export your board as a PDF or Image
Save your board for future use
Add collaborators

Extra premium features are available.

Note: I am in no way affiliated with this company or product and will not be impacted by the purchasing (or not) of this product


I deleted my Downloads folder, why can't I remove the items pinned to my sidebar?

Hold command and click and drag the alias out if the side to remove, I believe.


How can I mount a thumbdrive to my iPhone?

SanDisk already make the iXpand thumbdrive series from small to damned big, which have USB 2-3 and lightning connectors on them from the manufacturer.

I use one routinely without issue.


Migrating to iCloud when I sync with an Exchange account in Outlook

iCloud has nothing to do with existing Exchange accounts. The only way one "migrates" to iCloud is if you have a MobileMe account. So you can enable iCloud without any impact on your Exchange account.


iPhone 5 says "disabled, connect to iTunes" but iTunes says it "can't connect because of an unexpected error"

Focus on iTunes first. You need a working version of iTunes and can test with another phone if you aren’t sure your iTunes is ready to restore any phone and not just the one that’s disabled.

https://support.apple.com/en-us/HT201263

The disabled unlock will be your next hurdle, but get iTunes working unless you want to take the phone to another computer for erasing and determining the unlock status.

Unlocking a disabled iPhone


How to figure out what's causing a jailbroken iPhone to crash?

The first thing that I would do is to check in the iPhones Diagnostics reports. In Preferences go to General>About>Diagnostics & Usage. There might be information about your crash there. Your other option is to install Crash Reporter and syslogd from Cydia. You would be able to get some information about crashes there. If you're having trouble even getting to Cydia, try disabling MobileSubstrate, those plugins tend to cause a lot of crashes on jailbroken devices.


Due to the fact that you have previously installed a beta release, it looks like the bridgeOS update is skipped. Try to install the latest macOS Big Sur 11.0.1 (20B29) release on a external drive.


It is not possible to access server shares from Apple's iOS. iOS does not have a Samba or AFP client, and thus, cannot handle these requests.

Time Capsule uses modified AirPort Extreme firmware and supports AFP and SMB file-sharing protocols.

Unfortunately, this is the extent of your capabilities of accessing files on Time Capsule from iOS. Sorry :(


if i delete photos on my camera roll on my iphone will it delete the photos on photo stream on my macbook pro?

It shouldn't. The Camera Roll and your Photo Stream "live" in separate places.

I just did a test with this. I placed the same photo in both the Photo Stream and the Camera Roll and then deleted the copy from the Camera Roll. The one in the Photo Stream stayed in place.


How to change number of threads used in Homebrew builds?

This is what I ended up using:

$ HOMEBREW_MAKE_JOBS=1 HOMEBREW_VERBOSE=1 brew install caskformula/caskformula/inkscape

HOMEBREW_MAKE_JOBS is the number of threads that wold be used in the build process by make and HOMEBREW_VERBOSE is set to one to turn on verbose mode for all tasks performed by Homebrew.


Move your `~/Library/Mail' folder in the capsule.  Please note that:

the folder can contain subfolders with 'odd' names such as V3 or V4 and these contain your mail (hence my suggestion to move or copy the whole folder and not just the subfolders).
moving the aforementioned folder will save all your mail, but you will have little usability -- that mail can be re-imported in Mail but I have never done so using a disk that might not be available 100% of the time.  If you do not want to have this data in Mail finding specific emails might be an issues, even keeping in mind the fact Spotlight will index these files (if you let Spotlight index your capsule).


iPhone 6, charged overnight and now stuck in bootloop

While the screen is white I would try force restarting.

If that doesn't work, and you have a computer and some time, I would force it into DFU mode and restore it with iTunes.

HOWEVER, do not use DFU mode if you do not have a backup of the phone. In that case, I would take it to the nearest Apple Store and ask how they would suggest recovering your data.


How to import icloud notes or restore them?

This is pretty strange. After update it didn't work, but now system unlocked buttons in settings to allow syncronisation for all of the apps. I turned on notes and everything else and got my stuff back. Just to point out, maybe some time was needed to allow syncronisation, which is kind of strange, but I am glad I returned my stuff.


Why download a Yosemite .dmg when I can create my own?

You can use the Mac App Store download of OS X 10.10, Yosemite, directly with VMware Fusion. There is no need to create your own disk image, .dmg, unless you need to customise the installed files.

Within VMware Fusion's Select the Installation Method window, select Install from disc or image and choose the OS X installer from your files.

Downloading OS X

If you need to download an older version of OS X, sign up as an Apple developer and use the Software Downloads to obtain the legacy installer.


Point iTunes to restored content after PC crash

You can change the default location for the main mp3 file storage for iTunes, but not [easily] the location of the database files.

It is far simpler in the long term to leave the database in its default location -
C:\Users\[your name]\Music\iTunes
This is also a folder you should recover from your old machine & transfer to the new one, otherwise you will have all the music but none of the playlists, play counts etc etc. & will have to re-import all your existing tunes.

You can, however, easily change the main 'content' storage location.

Go to Edit menu > preferences > Advanced

The first section is 'iTunes Media Folder Location' with a file path beneath [presumably currently set to the default location mentioned above] & a Change… button to the right. This will allow you to redirect to your non-standard location.

If you still have the original database successfully recovered from your old machine, then to save a lot of additional effort, make sure you put your content folder in "the same place" as it used to be on the old machine, i.e., if it was in D:\iTunes remote folder then put it in the same place again, otherwise it will lose the connection to your existing tunes & again have to be rebuilt.


Does synchronizing google contacts with apple address book send my data to Apple?

It does not route through Apple. It syncs directly between Google and your computer. The sync icon you're seeing in the menu bar is probably Sync Services (or iSync), not MobileMe. It's simply a visual indication that it is syncing.

The only case where Apple would potentially see any of this data would be in the event of an application crash, and only if it was in the crash report and only if you allowed it to be sent.


sandboxd for CUPS backends in Mac OS X Yosemite

While this doesn't answer the question, I stumbled across this - http://www.papercut.com/kb/Main/MacOS1010YosemiteKnownIssues - when trying to get Tea4CUPS working in OS X 10.10 (I was not able to achieve this):

  To get PaperCut working with Mac OS 10.10 in the interim, you’ll need to disable sandboxing. Edit the file /etc/cups/cups-files.conf to include the new line ‘Sandboxing Relaxed’. Then restart CUPS for this to take effect.

sudo sh -c 'echo "Sandboxing Relaxed" >> /etc/cups/cups-files.conf'
sudo launchctl stop org.cups.cupsd


macOS (Catalina) Disabled Input Monitoring

Can't speak specifically for that list as I'm still on Mojave, but there are several like that [Microphone & Camera on Mojave]. The app must ask, there is no user 'add' function at all.

That is the empty list, it won't become a true list until it is populated.


click "view"-> "show icloud music purchase"

note: you have to show menu bar first to see "view" menus


Why does my MBP sleep on Mountain Lion and often not wake up

I had a similar problem with my late 2012 MacBook Pro. It wouldn't wake after a long sleep: black screen but system running (I could access it via SSH).

Before trying any solution, I recommend you to reset the SMC and check if the problem persists.
Also run pmset -g in Terminal (it won't change or break anything) and take note of your current settings.

I solved this problem disabling hibernation, which was introduced by Apple with a firmware upgrade. I did this by running this command in Terminal:

sudo pmset -a autopoweroff 0

To reset the original setting:

sudo pmset -a autopoweroff 1

The autopoweroff option is undocumented by Apple (doesn't appear in man pmset); it seems to be related with the "Deep Sleep" mode.


I had exactly the same issue and thought it might be the Accounts sqlite database file that was corrupted. So i removed the exchange account and then:

in:
~/Library/Accounts there is:

Accounts4.sqlite
Accounts4.sqlite-wal (write ahead log file)
Accounts4.sqlite-shm (temporary file)

i did the following as another admin user on the box (to be sure no files were open). This is all on your own risk by the way!

first a backup

cd useraccount/Library/Accounts
mkdir backup
mv Accounts4.* backup/

Rebuild Accounts file:

sqlite backup/Accounts4.sqlite ".dump" | sqlite Accounts4.sqlite

Then log out and log in again on the right account
Add the exchange account again
open ical and wait some time to give ical time to sync. My account took approx. 10 minutes!


How to Restore backup from external drive to itunes or iphone in Windows 8?

iTunes doesn't work with symlinks very well. Try to copy the backup of your device back to "~\MobileSync\Backup" folder. Your backup is a folder in "Backup" folder with 40 random chars in name (device UDID).

After copying the backup, restart iTunes. It should now see the backup and allow you to restore it.


The macOS Mojave installer is not responding on my mid-2013 MacBook Air

It's not clear what "I completely cleaned my MacOS Mojave installed Macbook Air Mid 2013" means, but reading between the lines I'm assuming you have no user data on your internal drive.

If that's the case and all you want is to have macOS Mojave installed before adding back your user data, I'd start the process again as follows:

Fully shut down your Mac
Power up your Mac again but immediately press and hold the option⌘R keys1
Keep the keys down until you see either an Apple logo or spinning globe appear on screen (Note: If you have a firmware password set on your system, then let go of the keys when the password prompt appears)
Once the Utilities window appears you'll be in macOS Recovery Mode

Now choose to reinstall macOS and follow the prompts.

1. This choice of macOS Recovery keyboard shortcut allows the user to install the latest version of macOS that is compatible with your Mac. Since that's currently macOS Mojave, this should result in that being installed. You could also try using the ⌘R shortcut instead which allows you to install the latest macOS that was installed on your Mac, but without knowing what you've previously done this may not work as expected.


Transfer app without developer enrollment

Apple Support is your absolute best contact. They might be willing to let you renew your old account and then refund the fee once you get the apps all transferred out or be able to work something else out.

https://developer.apple.com/support/

They could say, you need to pay $200 - one for each account to make them both active and then do the transfer. After all, if you have the code, you could simply recompile and resubmit the app under a new name if it didn't make you $100 to keep the old name in terms of recognition and continuity of app store ratings, good will, reduced app review time.


MBP Retina 15 inch, late 2013 shuts down randomly

I too have a late 2013 MacBook Pro, 15" Retina Display that kept shutting down. I also reset the SMC and PRAM to no avail. With some web searching I found some people claimed it was the battery. I ran boot up diagnostics and it indicated the battery was failing. I replaced the battery, re-ran the boot up diagnostics and the battery issue was gone. However, it kept shutting down. With further web research I found that someone claimed if an HDMI monitor was attached, it did not shut down. (Perhaps in your case the docking station is connected to HDMI?) So, I tried it and sure enough it does not shut down when connected to an active HDMI monitor (i.e. I used and HDMI input on my TV).

I even took it to the Apple "Genius" Bar. They ran diagnostics and found nothing wrong, but I ran it and showed them the issue still persists. They kept it overnight and ran extensive diagnostics and still could not find anything. They told me for a flat $575 they would guarantee to fix it (i.e. replace the motherboard). I opted out.

I also took it to an authorized Apple repair facility for a second opinion. They couldn't find anything either.

Now, having my MacBook Pro tethered to a TV was not ideal. Talking with a coworker the idea of building a gadget to act as an HDMI device came up. This prompted me to search the web for "HDMI terminator", to which I found this: http://www.fit-pc.com/web/products/fit-headless-gs (you can get it on Amazon).
For $8.50 I have found a solution to my satisfaction. So far, so good! I can close the lid and it sleeps without turning the fans on as it does with a connection to the HDMI TV. When I open the case, it just works. So short of having a small dongle plugged into the laptop, it works like new!


Jailbroken iPad 4 (ios 7.0.4), how to make a backup of only photos

Use the Image Capture application on the Mac to export all of your photos. It will export the original qualities of all your photos. However, I'm not sure how it works out with "Optimize Photo Storage" on your device turned on. I'd suggest you to use this method only if you don't use iCloud's optimize storage option.


To disable ⌘W in Terminal, do the following:

From the  menu in the top left corner of the screen, select System Preferences. Click on Keyboard then Keyboard Shortcuts then Application Shortcuts.

Click the + button to add a new shortcut
Select "Terminal.app" for the application, and for the command, type Close Window (this is case sensitive). In the shortcut box, give it a different shortcut, like ⌘ControlW
Now ⌘W will not close your terminal windows.


Transfering files from PC to ipad 3 with out using itunes

In addition to iGameRam's answer, you can transfer files by either a dropbox or iCloud or other cloud solutions.  Depends on the file types and applications that you wish to use them with.


To use any unicode character not provided by Apple in MacOS/iOS, you just have to install a font which does include it.  This page gives you a couple.


CoreDragCreate error - drag&drop and copy-paste stop working

I don't know what is causing the issue, but the pboard process is responsible for copy and paste.  Restarting it might provide a fix (temporarily), and can be less disruptive than logging out.  From this answer:

  Check if the pboard daemon is running:

  launchctl list | grep com.apple.pboard

  If the pboard daemon is running, then stop and start it. If it's not running, start it:

  launchctl stop com.apple.pboard

  launchctl start com.apple.pboard

  Then, you may need to restart the application(s) where cut-and-paste is not working.


What does it mean when it says "read" under an SMS in Messages?

Delivered means that it's gotten to its destination. Read means that the user has actually opened the text in the Messages app.


USB Devices not working on Catalina after water spilled over keyboard

Is this a software issue or perhaps it's due to water damage?

It’s water damage.

The USB port (this is  a generalized description) has several pins, but it’s basically two categories - data pins and power pins.  Your USB supplies 5V and up to 500mA.  If USB-C, it can be up to 20V.  This comes from the power rails managed by the SMC.  The data pins go to the USB controller chip.  Your symptoms point to the fact that the USB controller took damage.

  SMC doesn't seem to reset when I try to..? Is it normal to immediately fast-boot after performing an SMC reset?

An SMC reset isn’t going to fix the problem because the power portion of all this is working.  The bottom line is that you have physical damage and “a simple water spill isn’t so simple.”  You need to take it in for service.


Here is the way I removed this automatic upgrade which never explained me
what was going on.

The best information I found about this automatic update, and its removal is here:
how to remove Google’s secret update software from your mac.

Check the presence of GoogleSoftwareUpdate

defaults read com.google.Keystone.Agent

gives a lot of info confirming me that the GoogleSoftwareUpdate is active and configured.

Stop the agent

cd /Library/LaunchAgents
launchctl unload com.google.keystone.agent.plist

Uninstall GoogleSoftwareUpdate

cd ~/Library/Google
python GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

defaults read com.google.Keystone.Agent

outputs:

Domain com.google.Keystone.Agent does not exist

which confirms that the GoogleSoftwareUpdate doesn't have any more
any default configured.

Clean up

cd ~/Library/Google
rm -rf GoogleSoftwareUpdate

cd ~/Library/Logs
rm GoogleSoftwareUpdateAgent.log

cd /Library/LaunchAgents
/usr/bin/sudo rm com.google.keystone.agent.plist

cd /Library/Google
/usr/bin/sudo rm -rf GoogleSoftwareUpdate


iMac occasionally gets very sluggish. Memory Pressure is high and its hard to use computer. Why is this?

A dying a hard drive will actually cause this symptom as the system "waits" for read/write operations to complete.  It'll eventually get there, but often times, it will crash.
From the comments, you've confirmed this with the SMART status saying "Failed" which means that drive literally has one foot in the grave and slowly putting the other one in now.

I just hate putting money into my old computer.

I can't agree more.  However, this one might be worth an SSD upgrade. You can get a 120GB for under $20USD and a 250GB for under $40. Why go through the trouble?
Here's a little teaser....
This is a little side project I've been hacking away on... It's a white 2007 MacBook.

(Forgive the bezel, I'm dealing with an unscrupulous vendor in NJ who sent me a dead LCD and refused to exchange it due to COVID-19 and I'm waiting on a resolution from AMEX). I'm into this for about $40 (a little horse trading on ebay helps) and everything works - Ethernet, Bluetooth, external display, and even WiFi!  It's utterly useless, from a macOS perspective, but not for FreeBSD with the MATE DE. Even if all else fails, I still have a good SSD that I got for $20 that can go into another machine...
Your iMac is a tank, and I'd hate to see it meet an untimely demise.  ;-)


How to securely erase an arbitrary SATA drive, utilizing the drive firmware to do so?

There are three ways of dealing with it:

OS X provides good userland access to any USB device, so if one wished to bundle hdparm with a USB storage driver, it'd be possible to use hdparm on USB-connected devices to perform secure erasure.
Alternatively, you could write a kernel driver to expose this functionality to the userland.
Finally, you can use a virtual machine running linux, since both VMware Fusion and VirtualBox expose USB devices to the guest. I'll detail this last solution here.

The steps are:

Buy a USB 2 or USB 3 hard drive enclosure. I've verified that the NexStar NST-D306S3 dock works great.
Plug it into a USB 2 port. I never got it working with USB 3 ports, due to bugs in Linux kernel.
Set up a new VM and attach systemrescuecd image to the virtual CD drive. The VM does not need a hard drive, and needs only 256 MB of RAM.
Boot up the VM. Attach the drive to the VM.
Ensure that only one USB device is attached to the VM. This storage device will be available as /dev/sda.
Issue the following commands on sysrescuecd's console:

hdparm --user-master u --security-set-pass NULL /dev/sda
hdparm --user-master u --security-erase NULL /dev/sda

That's it. Your drive will be completely wiped by its own firmware, without using any appreciable amount of USB bandwidth, CPU, nor drive's write endurance (for SSDs). This works perfectly even on the earliest Intel Mac, and won't slow the machine down any. You can use VMware Fusion or VirtualBox, both work equally well for this purpose.


I do not know why, but using key code instead works

tell application "System Events"
    tell application "System Events" to key code 21 using control down
end tell


Will there be issues if I install RAM modules with different sizes in a Mac mini?

If the two different sized RAM modules have the same specifications (e.g. latency), you shouldn't have any issues.

The advantages - more memory - outweigh the disadvantages of different sized modules - no interleaving memory.


How do I select non contiguous Numbers spreadsheet cells using applescript?

Try the following:
set thisColor to {32767, 32766, 32767}
set theseCells to {"A1", "A5", "B2", "C4"}

tell application "Numbers"
    activate
    if not (exists document 1) then make new document
    tell the active sheet of the front document to set thisTable to ¬
        make new table with properties {row count:5, column count:3}
    tell thisTable
        set the width of its columns to 30
        set the height of its rows to 30
        set the background color of its cells to {65535, 65535, 65535}
        repeat with aCell in theseCells
            set the background color of cell aCell to thisColor
        end repeat
    end tell
end tell


How to find an iMovie project file - Mac- iPad iMovie?

According to iMore : How to move an iMovie project from your iPhone or iPad to your Mac
you cannot transfer a project from Mac to iDevice, only from the iDevice to the Mac.

  Can I move projects back to my iPhone or iPad?

  Not at this time, sadly. You can keep working on the project file you exported—it opens in either iOS or OS X—but once you import it into iMovie on the Mac, you're stuck editing in the Mac environment.


There are many ways to do this. Here are a few...

IMO The best way is to replace the actual AppName.icns file with the one from the older version, in this case it's: /Applications/iTunes.app/Contents/Resources/iTunes.icns

Select the application bundle and control-click (right-click) > Show Package Contents, then navigate to the AppName.icns file shown in the pathname above.  Note:  After replacing the AppName.icns file one may need to run killall Finder in a Terminal to force the updated AppName.icns file to show properly everywhere.  If it's not showing properly in the Dock afterwards run killall Dock in a Terminal.

Another way is to paste an image into the App's Info Sheet after selecting its icon at the top left of the Info Sheet.  Select the application bundle then control-click (right-click) > Get Info or  ⌘ -I.

Or use a third-party app that can assign an new image/icon to the application bundle.


Is it possible to remove the "Shared" folder under Users?

Yes, it's possible, but that doesn't mean you should do it.

Finder/etc doesn't stop you deleting it, and it's not a 'system' directory (despite being created by the system), but is it causing a problem, enough that you want to delete it? Apps can depend on that directory and deleting it could cause problems, now or in the future. I don't have any examples of such applications, but that's not to say they don't exist or may exist in the future.


The MAMP Pro 1.0/2.0/2.0 upgrade/3.0 serial numbers are stored in the following files:
"/Library/Application Support/appsolute/MAMP PRO/Registration 1.0" or
"/Library/Application Support/appsolute/MAMP PRO/Registration 2.0" or
"/Library/Application Support/appsolute/MAMP PRO/Registration upgrade 1.0 to 2.0" or
"/Library/Application Support/appsolute/MAMP PRO/Registration 3.0"

Example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>sn</key>
<string>AABB1122CCDD33AA1</string>
</dict>
</plist>

Your serial number is then string : AABB-1122-CCDD-33AA1

In MAMP Pro 4 and 5 the serial number is longer and is prefixed with an "MP" (which won't occur in the sn-string).

Files:

"/Library/Application Support/appsolute/MAMP PRO/Registration 4.0" or
"/Library/Application Support/appsolute/MAMP PRO/Registration upgrade 4.x to 5.x" or
"/Library/Application Support/appsolute/MAMP PRO/Registration 5.x"

Example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>sn</key>
<string>11112A2AB333C4444DD55EE66F7F7ABCDEA</string>
</dict>
</plist>

The serial number would be: MP-1111-2A2A-B333-C4444-DD55-EE66-F7F7-ABCDE-A

(don't try it – it's probably no valid number because I modified my own serial number massively)


Macbook pro 13 early 2011 fan starts and stops constantly

In all likely hood,your fan has failed and it needs to be replaced.

The stopping and starting is indicative of a bad or seized motor.


Can I search for a multi-word expression in Preview?

Well, of course, it was a problem with me. The search results only appear after having typed the whole query and pressed enter, which is a different behavior than the single word search where the results are updated as you type.

Somebody had a similar problem here.


Locked out of iPhone. Don't want to restore

Here are a few iPhone lockscreen bypass procedures. Though they greatly depend on exactly which firmware is on the device, otherwise, I have a feeling your S.O.L.

http://www.wikihow.com/Bypass-iPhone-Passcode


How do I create an apple script that toggles between opening and closing an application?

You would be best advised to either create the application from within Script Editor as an actual AppleScript app written in AppleScript; or to create an executable shell script program that is written in shell script without calling out to osascript.  There's nothing wrong per se about mixing it up, and indeed there's lots of situations where it's needed or useful, but this isn't one as both scripting languages have their own dedicated mechanisms for doing what you need.  I'll show you both example scripts:
AppleScript
First, I'd recommend running a quick line of AppleScript to obtain the bundle identifier of KeyboardCleanTool, which is one way to allow AppleScript to reference an application without having that application launch as a result without an explicit request for it to do so (some applications do this because their AppleScript dictionary only avails itself to be read by AppleScript if the application is running).
So, run this line, then you can dispose of it after taking a note of the result:
return the id of the application named "KeyboardCleanTool"

It'll probably be something like "com.hegenberg.KeyboardCleanTool".  That's what I'll use in the script below, which you can replace with the correct bundle identifier:
property id : "com.hegenberg.KeyboardCleanTool"
property A : a reference to application id id

if A is running then return quit A
run A

There are three ways to open applications using AppleScript, each with different results:

activate opens the application, brings it to the foreground, and gives it focus;
launch opens the application and reveals the windows but doesn't bring them into the foreground, nor gives it focus.  The windows will be obscured behind whatever application currently has focus, and possibly others (I don't recall fully, but the newly launched app might sit at the back of the application z-ordering);
run opens the application but neither shows its windows nor gives it focus.  For applications that have neither a dock nor menu bar icon, you won't be given any signal that it has been opened.  This is the command it sounds like you want.

Using tell application "Finder" to set visible of process "KeyboardCleanTool" to false is not a great method.  Firstly, you shouldn't use Finder for controlling the GUI, which is what this is doing; use System Events, which was created specifically to take the job away from Finder because Finder can't even do its own job properly without having a melt down, let alone trying to prioritise calls to manipulate the UI.
It also requires additional permissions that I'm sure you've already granted, but is worth mentioning for other users who don't wish to do this.
Lastly, if you don't need call in outside help to do something, it's much more advantageous (quicker, more efficient, less demanding on resources) to use a means already availed to you by the core scripting commands.
To create an Application using the above script: Save the script in Script Editor, selecting the type from the drop down list in the Save dialog that is called something like "Application bundle" or "AppleScript Applet".  You'll know it when you see the four options.  It can be saved anywhere you like, but a sub-directory in your user applications folder would be a sensible choice, i.e. ~/Applications, or the root applications folder, /Applications if you prefer.
Shell Script, e.g. bash
Let me know if you use a shell other than bash, and I'm aware Catalina is packaged with zsh and I, myself, preferentially use Fish and recommend you check it out.
The bash script for the task at hand can be this:
pkill -i 'KeyboardCleanTool' || lsappinfo launch nofront=true async=true /Applications/KeyboardCleanTool.app

This can be saved as anything you like, and ideally in a directory that is listed in your $PATH environment variable, such as _/usr/local/bin.  It will also need to be made executable.  Taking the above script, here's the entire bash code that will do all this:
echo '#!/usr/bin/env bash

A="${1-KeyboardCleanTool}" # Default app name if none given
[[ -e "${fp="/Applications/$A.app"}" ]] || fp="$( locate -l 1 -i "*/$A.app" )"
pkill -i "$A" || lsappinfo launch nofront=true async=true "$fp"' > /usr/local/bin/rd; chmod +x /usr/local/bin/rd

Once that's done, you can invoke the program like this:
rd textedit           # Will run or quit TextEdit
rd keyboardcleantool  # Will run or quit KeyboardCleanTool
rd                    # (Default) Will run or quit KeyboardCleanTool

And, of course, you don't need to save the program in /usr/local/bin.  Saving it in your main /Applications folder is perfectly fine.  It will have an icon representing a Terminal shell, but you can treat it like any other application: double-click to run from within Finder and it will exit when it's done.


When you drag onto an application on the Dock or an unopened folder in Finder, the operating system isn't sure if you just intend to drag-and-drop, or if you want to place the dragged item in a specific place once the folder or application is opened.

In an application like a web browser, where a window can have multiple tabs, the application doesn't know which tab you're trying to send the item to, or if you want to open a new tab with that item to view it, or ...

If you drag-and-hold over an application or unopened folder, after a few seconds the application or folder will open (or un-minimize). This is called spring-loaded folders. There's no way to disable this. In the case of folders, you can continue to open subfolders in this manner until you find the location you want.

In the case of some applications, you can change what happens with the dragged item.

In Chrome, for example, you can:

drag onto the tab bar to open a new tab with that item for viewing
drag onto the Bookmark Toolbar to create a bookmark to it
drag into the address bar to open that item in the current tab
drag onto a target in the loaded tab (such as your Imgur example)
drag onto another tab in the tab bar to bring that tab to the front, and then into the address bar or a target location on the page loaded in that tab

To answer your direct question: Having the application window or folder open somewhere on your desktop (even if it's on a different monitor that's hooked up to your computer) will allow you to drag directly into the open application window and drop it immediately without delay.

Similarly if, somewhere on the screen, you can see the icon of a closed folder that you want to drag an item into, you can let go as soon as your mouse cursor is over the closed folder and it will drop the item into that folder without delay or opening it.