Why does =$0 appear in Safari web inspector?

More than likely, you've used the Inspection Tool and have an element highlighted.

  The $0–$4 variables contain the current and previous selected nodes from the Elements Tree Hierarchy.

source: https://webkit.org/blog/829/web-inspector-updates/

  Chrome, Firefox, Opera, Safari - If you have an element currently selected in your "Elements" tab, you can use the reference $0 to call it within your code. For example, to see the elements' contents you would type $0.innerHTML. In Chrome and Safari, you can call the console from any of the other tabs by pressing "Escape" so you don't have to keep switching.

source: http://www.andismith.com/blog/2011/11/25-dev-tool-secrets/


Make Siri Ding Again on Pressing Home Button

The only solution I have found with ios 9 is to go to Settings > Accessibility, and turn Vibration off. Extra caveats can be found in the source link.
Source: apple.com discussion


Is it possible to know which apps are installed on other's iPhone?

If it were Apple ID information, it would contain only purchases and their dates, not whether the app is currently installed or not. That doesn't seem to be updated in Apple ID information realtime.

Easy way to see a list of all the apps I have installed on my iPhone

So direct interaction of the two parties on the app, or in real life can be a possible reason IMO.


I can't reproduce your problem:

Maybe Siri thinks you're trying to voice dial.

Actually, maybe you don't have Siri on, as voice dialing appears to be enabled by default when you turn Siri Off.


Remove MacBook from Apple ID, is extended warranty still valid after that?

Just logout (and install it from scratch after format) or check this Kb
Apple Care is bought for a device, so yes.


Select the graph, go to Format, Series tab, then select a Value Label.


Dropbox files are syncing but Finder is not displaying them

To make sure we are talking apples to apples when referring to dropbox.

In the OS the folder under public called "Dropbox" is not the same as the common "Dropbox" web sharing service.  The apple convention allows other users to drop files for you to access without granting other users access to other files in your user folder.  The apple "dropbox" is located in ~/public/dropbox/
Once you retrieve a file from that folder you would place it in your own file system wherever you want to access it from normally.

If you are using the "Dropbox" web sharing service you would need to install that program and set it up to sync with one of the folders in your home folder outside of the Public folder.

Assuming you are aware of everything I said above the Dropbox program will need to be updated and reconfigured for El-Capitan as new security elements were established to manage access to network resources from programs and services.

I would suggest uninstalling DropBox from your computer (whatever version you have installed) and then installing the updated version configure to the folder you want to sync and reboot your computer.  The files should start syncing then.  If they don't check the console to see what is occurring to block the access.


Settings app badge stuck at 1 after update to iOS 8.0.2

I found a MacRumors thread complaining about the same thing, and more Google results about the same problem happening as far back as iOS 6.  It can apparently be fixed by a DFU restore, if you're willing to be that drastic.  Otherwise...wait for the next update.


Shift+3 returns £ sign instead of # sign

The keyboard is working as designed for Apple.

If you want to use the keyboard as normal the # is given by Alt-3

I found this annoying as well and the way I get round it is to change the input source to Australian the only difference is that Shift3 is now # and Alt3 is £

Input Source setting is System Preferences->Keyboard->Input Source By default this will just show the UK keyboard to see more hit the + at the bottom of the list and add Australian

This is the answer I gave in Stack Overflow and I think is a duplicate here as well but I could not find the original.


How can I change permissions of mount point of a network resource on Mac OS X 10.6.8 (Snow Leopard)?

The syntax will vary upon the filesystem use, but if it's SMBFS or CIFS based, you will need to specify the mode of the mount point, e.g. -d=777. For example:

mount -o nosuid,-d=777 -t smbfs //domain;uid:passwd@server/share /Volumes/<mount point>

where:

domain = Domain or Workgroup
uid = Username
passwd = Password
server = Name or IP address of the server
esri = Name of the share


How can I protect headphone jack from heavy cable?

The short nub of the L shaped jack should work nicely to avoid a large lever sticking out of your headphone jack.

I actually prefer a different approach to this problem of leverage - a flexible and much shorter adapter that bends like a tree in the wind rather than breaking as a rigid lever must do.

The Monster iCablelink adapter is high quality and very inexpensive on the internet.

As you can see there are only the two stereo pins on this adapter so you will lose any microphone (and likely any button control) so you will want to select an adapter to pass those pins through if you need microphone functionality.


Adding "popup menu" to an input method that doesn't support it

With Ukelele I was able to make a copy of the Unicode Hex input source and add the "en" language to the bundle format.  This seems to have created a version of Unicode Hex with a working popup, as shown below.  Modifying the popup would be a separate operation with the pressandhold.app.

The image shows the input source used both for Option 1234 (= U+1234, Ethiopic SEE) and the press/hold letter a.  I have not tested it in more detail.  A copy can be obtained here .


How setup macports package bash to be used from terminal.app

From man chsh
The shell field is the command interpreter the user prefers.  If the shell field
is empty, the Bourne shell, /bin/sh, is assumed.  When altering a login shell, and
not the super-user, the user may not change from a non-standard shell or to a
non-standard shell.  Non-standard is defined as a shell not found in /etc/shells.

So to change your shell to /opt/local/bin/bash run
grep -q '^/opt/local/bin/bash' /etc/shells || sudo sh -c 'echo /opt/local/bin/bash >> /etc/shells'
chsh -s /opt/local/bin/bash

If you use bash as your login shell (which is what chsh and the default for Terminal.app do) then if you don't have ~/.bash_profile then bash will automatically read ~/.profile (but as you are using bash you should be using ~/.bash_profile)
Terminal.app by default runs login which runs the shell set by chsh and that should be loading macports bash and then ~/.profile


You can define functions in bash:

echoAndSay() {
    say $*
    printf "%s: " "$*"
}

echoAndSay "Enter your first name"
read -r name
echoAndSay "Enter your last name"
read -r lastname
say "Good morning ${name} ${lastname}"


iPhones have a neat feature that allows you to put your emergency contact information on the lock screen so no one has to unlock your phone to access it. You can set it up through the Health App on your iPhone.

Since your Contacts won't be accessible on your iPhone without your passcode, this is a reasonable alternative.

If you set this up, you could theoretically delete the entry in your Contacts that is listed as ICE, thereby fixing your problem with the contact name showing up as ICE.


Two value-based axis for chart in Numbers 3.5

Took me a while, but I figured it out: The solution is to choose a scatter plot instead of a line chart.

Select Insert -> Chart -> 2D Scatter
Select the chart, then select Add Chart Data:

Now simply select your entire table, including the x axis. Numbers will figure out the rest and automatically select your leftmost column as the x-axis.

Finally, to make it look like a line chart, select the chart, then select the "Axis" tab in the inspector Chose Data Symbols: None and Connection Lines: Straight.

Result:


Home directory associated with application—how can I undo this?

Try this in Terminal:

SetFile -a B "$HOME"

Original credit to this goes to Tantek Çelik. I just happened to remember finding his post when I was trying to fix a different problem getting VLC to play .dvdmedia files.

Note that if you do not have /usr/bin/SetFile then you may need to install the command line tools for Xcode. If you are not automatically prompted to install that, you should be able to install them by entering this line in Terminal:

xcode-select --install

which will prompt you to install them using a dialog box like this:

Just click 'Install' you don't need "Get Xcode" unless you want the whole thing.

If that doesn't work, the next thing I would try is:

xattr -d com.apple.FinderInfo "$HOME"

which will remove extended attributes from "$HOME" but I am not sure if there are attributes that it would remove which you would be better off keeping, so I hesitate to suggest it. Use as your own risk/YMMV, etc.


Growl 1.3 (available on the Mac App Store) supports a history of notifications, and additionally a rollup of all notifications while you are away from the computer. Unfortunately it requires Mac OS X Lion. You can get to the history right from the Growl Preferences.

Earlier versions did not have this feature.


How to fix font issue on gimp with x11 or macbook pro

GIMP automatically detects and uses the system language.

In the unlikely event that language detection fails, or if you just want to use a different language, you may do so:

Apple Mac OS X

From System Preferences, click on the International icon.

In the Language tab, the desired language should be the first in the list.

recent builds of GIMP may offer a language selection in the preferences


How can I re-run the initial Setup Assistant on Mountain Lion?

Actually, you should be able to do it by removing a hidden system file which tells OS X that setup has run. Delete this file:

/var/db/.AppleSetupDone

It's a hidden file, so you will have to remove it using Terminal, or show hidden files in Finder. You can remove the file like so:

rm /var/db/.AppleSetupDone

To show hidden files in Finder, type the following into the Terminal:

defaults write com.apple.Finder AppleShowAllFiles -bool true

…and then restart Finder.


The simplest way is to just use the ⌥⌘S shortcut to show the Finder sidebar (which has the Applications folder by default), and drag the app there. You can then use the same shortcut to hide it if you prefer.

If you wanted a unique shortcut for copying a file to the Applications folder, you could make a simple service using Automator:

Open Automator, and create a new workflow, as a Service.
Set the options to Service receives selected files or folders in Finder.
Add a Copy Finder Items action, and set the destination to the Applications folder.
Save the service, and give it an appropriate name.
Open Keyboard Preferences, select Services under Keyboard Shortcuts. Find the service you just created, and assign it a shortcut of your choice.

If you wanted to get fancy, you could expand the service to automatically eject the disk image afterwards, but I'll leave that as an exercise to the reader.


Using caps lock key instead of right click (contextual menu)

The 3rd party tool http://pqrs.org/macosx/keyremap4macbook/ seems to be able to do what you need to remap your keys.

One possibility is to remap Caps Lock to Control and thus pressing Caps Lock + left-click would open the context menu.

Sure, this doesn't remove the need for a mouse click, so the right-click might be a better solution :)


Is latest 16" MacBook Pro powerful enough to stream 4k video from Plex to AppleTV without buffering issues?

I eventually ended up getting that new 2020 16" MacBook Pro and can conclusively say the answer is Yes.

4K .mkv files stream from the Plex Server running on the Mac to the Plex client running on an AppleTV box with no buffering/delays. This is over an Ethernet connection.


Can the mac's bluetooth name be changed without changing the computer/network name/hostname?

Had the same problem, this worked for me:

You can rename the LocalHostName separately from the Computer Name, which should give you the desired result, and shouldn't mess with any network settings.

Under System Preferences -> Sharing, click the Edit button to the lower right of the Computer Name field. Here you can enter a different local hostname, and leave the computer name set to whatever you want the Bluetooth name to be.

If you explicitly need to set a hostname, you can also do that from Terminal, by entering:

scutil --set HostName yourhostnamehere

Before you do that though, you might want to check the current values. You can use these commands for hostname, local hostname, and computer name respectively:

scutil --get HostName
scutil --get LocalHostName
scutil --get ComputerName

An explanation of each of the properties can be found here:

ComputerName is the so-called “user-friendly” computer name for a Mac, it’s what will show up on the Mac itself and what will be visible to others when connecting to it over a local network. This is also what’s visible under the Sharing preference panel.

HostName is the name assigned to the computer as visible from the command line, and it’s also used by local and remote networks when connecting through SSH and Remote Login.

LocalHostName is the name identifier used by Bonjour and visible through file sharing services like AirDrop


The file system shows there is a user, "_mysql", that I cannot "su" as root. What is basically going on so I can get mysqld running again

My mysql database (5.6.23) became unable to start when I upgraded from El Capitan to Catalina (10.15.5). Now it works. This is what I did, but its possible some of this might not be needed or a recommended thing to do:

/tmp$ su
Password:
/tmp# cd /usr/local/mysql/data
/usr/local/mysql/data# chown _mysql:_mysql *
/usr/local/mysql/data# chmod 777 *
/usr/local/mysql/data# exit
/usr/local/mysql/data$ cd /tmp
/tmp$ sudo /usr/local/mysql/support-files/mysql.server start &

One major error was that "/usr/local/mysql/data/JonDoe-MacBook-Pro.local.pid could not be created". And that was resolved by the chown and chmod commands I think. Before the chown, the user was root and group was wheel for files, but not directories, in /usr/local/mysql/data.
(#1) this does not start the server

/tmp$ su
Password:
/tmp# cd /usr/local/mysql/support-files
/usr/local/mysql/support-files# ./mysql.server start &

(#2) this does the server

/tmp$ sudo /usr/local/mysql/support-files/mysql.server start &

My understanding is that option #1 and #2 should start the server in the exact same way. This added to my not understanding.


Sleep timeout missing from the energy saver preferences

Deliberately Removed

Apple have removed the Computer slider from the Energy Saver settings. This is deliberate.

The decision is related to Apple's introduction of improved hardware, Power Nap support, and the engineers' belief that OS X is best placed to manage the computer's power state.

If you would like to see this slider return, provide feedback to Apple.

Downloads and Other Long Running Tasks

OS X will stay awake during most long running tasks.

The behaviour will depend on the software downloading the file. Safari and Transmission, for example, both ask OS X to stay awake while a download is ongoing.

Applications need to lodge power assertions with OS X that explicitly stop the computer sleeping. You can see these assertions using the following pmset command:

pmset -g assertions

For older software, you can add this behaviour using the built-in command line tool caffeinate.

Third Party Alternatives

Third party tools exist to supplement the Energy Saver settings. I created Power Manager and it can put your Mac to sleep after inactivity.

Other tools exist and you could probably create a script to also recreate this behaviour.


Apple Business Manager - what am I not understanding about the process?

Is the device enrolled with Apple DEP? If not, you can’t remotely remove activation lock with a simple click.

The WIPE button can do 1 of 2 things. It really depends on how it’s configured

Wipe Managed App Data (these are apps from your Volume Purchase Agreement). The customer data stays in tact (including their Apple ID).
Wipe all data. This is probably the default configuration for your MDM. It erases all data as if the customer tapped SETTINGS -> GENERAL -> RESET

If you are NOT enrolled in Apple’s DEP then you’ll need to supervise the device. This will provide you with a lot more options. You can remove the Apple ID, change the background wall paper, turn on or off the GPS, etc.

Reference: https://support.apple.com/en-us/HT202804

I am an AirWatch MDM Administrator


How can I see a list of my reviews in iPad Apple Store?

In the desktop iTunes application:

  Sign in to the iTunes Store.
  From the Store menu, chose View My Account.
  In the Settings section, click Manage next to "Reviews and Ratings."

from http://support.apple.com/kb/HT5024


Automatically open Finder when disk image is mounted

As a test, I created a 100 MB APFS disk image and saved it to the default location, in my Documents folder. I then unmounted the disk image, as it needed to be unmounted to test what I did next.

Next, in Automator, I created a new Folder Action, while setting Folder Action receives files and folders to Volumes. I did this by clicking Choose folder > Other… and then pressed ⇧⌘G to bring up the Go to the folder: sheet. I then typed in /Volumes and clicked the Go button, followed by the Choose button.

Next I added an Open Finder Items action and saved the Folder Action as e.g. Open Mounted Disk

From Finder, I then doubled-clicked the APSF.dmg file and when it was mounted, it opened a new Finder window to the root of the mounted disk image.

Note that when the disk image opened, I was prompted with a message "FolderActionsDispatcher" would like to access files in your Documents folder, to which I clicked the OK button. This created an entry in System Preferences > Security & Privacy > Privacy > Files and Folders as FolderActionsDispatcher with a [√] Documents Folder checkbox.
The e.g. Open Mounted Disk.workflow was by default saved to:

/Users/$USER/Library/Workflows/Applications/Folder Actions/


How can I repair OS X Lion's Keychain Access?

Keychain Access: Keychain First Aid

As you can open Keychain Access, first use its first aid to verify or repair:

As commented, it's also good to use Disk Utility to verify or repair permissions. Also (not specific to this question) take the opportunity to verify the integrity of your startup volume.


Yes, there is a way for you both to still share the music you have jointly accumulated and paid for over the years. However, this can only happen with his agreement.

Basically it involves the use of Family Sharing.

The way you would set this up is to create a separate Apple ID for yourself (which you want to do anyway) and then invite him to be part of your Family Group (or he could create one and invite you to his).

Now, despite the above Apple page stating that all members of the Family Group pay for family purchases with the same credit card, the way to get around this is to ensure you have credit on your account (via gift cards). Below is an example of how this works.

EXAMPLE

You create an Apple ID and then create a Family Group. You then invite your Ex to be a part of that Family Group and technically this means that you agree to pay for any purchases they make via iTunes, iBooks, and the App Store. However, if your Ex has credit on his Apple ID (via iTunes gift cards) then any purchases they make directly using their Apple ID will come off their account credit. In other words, it would never come off your credit card unless they no longer had enough credit to cover the purchase. Of course, the roles could be reversed (i.e. he creates the Family Group and technically covers your purchases). Another option would be to just set up a specific debit card (e.g. Visa Debit Card) that is used for nothing else but your Family Sharing and, because it's a debit card (i.e. not a credit card), it can only spend money that's already in the account. You could each agree to put x$ into it every month etc to maintain it.

Now, I should point out that besides the fact you would both have to agree to this, this approach also means when you purchase music, an iBook, app, etc that he will be able to also download and use it (unless the author/developer has opted not to allow family sharing for that particular product). This may not be a big deal, or it may be (especially if you're concerned about privacy) because they will be able to see what you've purchased (if they go looking at the Purchased tab within iTunes, iBooks, the App Store, etc) unless you've manually chosen to hide it. Also, going down this path means you may want to selectively choose what you do activate at your end (e.g. you may not want to share your location, photos, etc).

For more information refer to:

Family Sharing
10 Things to Know Before Enabling Apple's Family Sharing


How to logout Apple ID in App Store since MacOS Mojave new look

In the Mac App Store Menu bar, go to Store → Sign Out to sign out.

The entry would change to Sign In after successful logout. You can also sign in by clicking on the Sign In button shown towards the bottom left of the Mac App Store window.


How to open Google Chrome or Safari from Terminal

All you need to do in Terminal, no matter what directory you're in, is use
open -a Safari
open -a Google\ Chrome

and optionally, add the URL afterwards if you want to open the Browser to the given URL
open -a Safari http://apple.com/


What is the definitive iPhone X corner radius?

iPhone X corners do not have a conclusive corner radius. They're not normal arcs, they are ‘continuous corners’.
You can't replicate these with a simple .cornerRadius, and you also can't use Apple's own continuous corners, since that's a private API.

CALayer on iOS 11 has a private "continuousCorners" property, which is what powers many rounded corners in SpringBoard – and likely more! Now I'm jealous.

https://twitter.com/argentumko/status/955773459463790592
The closest you can get without your own implementation is UIBezierPath's rounded rectangle drawing, which uses _continuousRoundedRectBezierPath.


Develop in-house app for another company signing with own Apple Developer Enterprise account

Apple does not allow you to use company A's Enterprise account for signing apps to be distributed and used amongst employees of company B, unless company B is owned by company A.

A few other exceptions exist, for example for car manufacturers and their dealerships, and for hotel chains and their individual hotels. Also an exception exists if the employees of company B are actually physically located at company A's premises, and company A control the devices (i.e. they own the devices or they can remove these apps again). If your case do not fit these exceptions, you'll need individual approval from Apple for you case. This is normally not possible to get.


Unable to sign into Messages on Mavericks

Context: I have two login keychains, one from an old MBP and the new one from this machine.

After deleting anything that had to do with Messages/Apple ID (including encryption keys, certificates, etc.) and killing the imagent and identityservicesd processes, Messages finally let me log in:

Apple ID n**@*****.com key (multiple of both public and private keys)
A bunch of old @me.com stuff (anything)
iMessage Encryption / Decryption Keys


Download photos from digital camera to iCloud

It is possible you have checked the Enable camera uploads for: checkbox in Dropbox Preferences:


Instead of using UUID try using LABEL. This will help to rule out UUID problems.

The following line in /private/etc/fstab stops the drive named SpareSSHD from mounting on OS X 10.10:

LABEL=SpareSSHD none    hfs rw,noauto

My drives are encrypted with FileVault2 and this works.

The following links provide more detail:

How can I tell OSX NOT to mount some of the drives in my computer?
fstab(5) manual

/private/etc/fstab and /etc/fstab are the same file. As @forquare confirms, they are symlinked. You can edit either.


Try

sudo kextunload -b "com.apple.driver.usb.AppleUSBEHCIPCI"; sleep 5; sudo kextload -b "com.apple.driver.usb.AppleUSBEHCIPCI"

Works on my system, just tested it. I had to run the command 3 times though because for 2 times my usb camera didn't reconnect correctly, no idea why that happened.

Or similar to this with the full path

sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext
sudo kextload /System/Library/Extensions/IOUSBMassStorageClass.kext

Oh well, this work


Why can't I jailbreak iPod Touch 4g 4.3.3 (8j2)?

Try going to Settings>General>International and choose region format "Hawaii United States". Then open www.jailbreakme.com again from Safari.


Where can I find a list of available OS X "Extensions"?

You can search the Mac App Store for apps supporting a specific extension type. For example, searching for appex:com.apple.share-services will show apps that support the share extension. Not all macOS apps are distributed through the Mac App Store, so this isn't an exhaustive list.

Common Mac Extension Types are listed below:

Action: com.apple.ui-services
Audio Unit: com.apple.AudioUnit-UI
Content Blocker: com.apple.Safari.content-blocker
Document Provider: com.apple.fileprovider-ui
Finder Sync: com.apple.FinderSync
Photo Editing: com.apple.photo-editing
Share: com.apple.share-services
Today: com.apple.widget-extension


See Amit Singh's Experimenting With Light On Apple Notebook Computers but note Apple do not provide official support for these methods:

  Please note that there are no Apple "APIs" to access the motion sensor or the ambient light sensor.

Amit's code examines the IOKit entry from AppleLMUController.

Also related to your question is How do you programmatically access the ambient light sensor on Mac OS X 10.5+?


How to reset Launchpad ordering in OS X Yosemite?

Enter this line in the console:

defaults -currentHost write com.apple.dock ResetLaunchPad -bool true; killall Dock

Removing the db doesn't seem to do the trick any more. So this two steps are necessary to reset the Launchpad in Yosemite:

  rm ~/Library/Application\ Support/Dock/*.db ; killall Dock
  defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock


Fink installation: After installation (I believe): -bash: fink: command not found

Check that this line

. /sw/bin/init.sh

has been added in either .bash_profile, .bash_login, or .profile. If the search comes up empty, then add the line to one of these files. If you are not sure which file you should use, then add it to .bash_profile. Open a new terminal session and init.sh will modify your PATH variable.


How can I give an app permanent permission so it doesn't ask for my password every time?

I do not think this is the app that requires the password, but the host file itself. The host file is owned by root and requires a password to edit. Hostbuddy is probably just requesting the password in order to modify the file. A way to fix this would be to take ownership of the file (not recommended due to security reasons). Another way would be to run Hostbuddy as administrator (but I believe this requires a password anyway just to start it).

If you for some reason want to take the security risk for convenience you should take ownership of the host file OR run Hostbuddy as administrator.

EDIT: IMPLEMENTATION

In order to achieve this I believe you must set the setuid bit on the application. To do so I suggest making a new user group that only you are in and using that to gain root access to the app. To do this start by opening System Preferences and going to Users and Groups. You are going to want to make a new group by selecting the '+' button at the bottom left of the window. Go ahead and create a new group by the name 'HostBuddy' Without the quotes like so:

Next you need to set yourself as a member of this group like so:

Finally we need to do some work within the terminal. Go ahead and open up Terminal.app and navigate to where HostBuddy is (probably /Applications) like so:

After doing this we set the setuid bit for the application itself under your group name and set permissions with two more commands like this (remember it is cAsE SenSiTIve!):

This should allow you to click and run the app as root without needing a password. Since we added a group to the mix this also means other users on your computer do not have that privilege. They must enter a password each time. Only your particular user (or others in the HostBuddy group) get a password-free experience.


How do I locate spouse's misplaced iPhone 6S?

You cannot simply add a device to Find My iPhone - though Family Sharing will enable that automatically. Think of find my device like data backups, you need to set them up before you lose the item in question.

Unless you are already set up for Family Sharing, which would allow you to see the location of all the family's devices, then from an iPhone using Find My iPhone, or a web browser using https://www.icloud.com/#find , sign into his Apple ID.

Otherwise, check with your cellular carrier or check wireless networks to see if the phone is joined to any known networks.


How can I see my home folder in the finder?

Shift+Command+H takes you to your home folder
Command+UpArrow takes you one folder up

Have a look at the "Go To" menu in Finder for additional key combinations. Some people like to use the ~ character and the Go to Folder... shortcut as that expands to the current user's home folder like on other UNIX operating systems.

You may also want to have a look at Mac OS X keyboard shortcuts (HT1343) which contains a huge list of OS X Lion keyboard shortcuts.


Doing a 'hard reset' of wifi state without restarting

If I understand correctly, your laptop is prioritizing one Wi-Fi Access Point over another, even though that one is further away. You can change the priority of Access Points by finding the following:

System Preferences ==> Network ==> Advanced

You will see a list of networks your laptop has previously connected to, and you can rearrange the list via drag & drop, with the first item in the list being of the highest priority.

Once you are done, click OK then Apply and restart your Wi-Fi card to get the desired results.


Will data be lost in resetting macOS admin password?

As you mentioned, credentials will be lost including the Keychain, but files will be preserved. You can either create a new account, log into it and change the permissions on the original account’s home folder to be able to access the files, or reset the password to the existing administrator account and log into that. The former will preserve the Keychain in case the password is recovered while still giving access to the files.


Before we begin: Make a backup of your Data e.g. with Time Machine or similar Software (if you not use Time Machine).

Note: All steps are complete in itself. If one of the steps work, you're done.

Step 1: Boot into Safe Mode

Restart your mac and hold down the Shift-Key during startup.
The startup process is slower and possible you got a flashing screen. This is normal.
Login and open the Disk Utility. Choose your Systemdrive and click on the buttons Verify and repair disk permissions.
Restart the mac and test.

Step 2: Finder Preferences

Sometimes the Finder Preferences may be corrupt so you can delete this files to return to Standard configuration.

Click on the Finder Desktop and press the keys Command + Shift + G
In the small Window copy and insert the following Line ~/Library and press Enter.
Search for the following folders and move the bold-marked files into the Trash.

~/Library/Preferences/com.apple.finder.plist
~/Library/Preferences/com.apple.sidebarlists.plist (if exists!)
~/Library/Saved Application State/com.apple.finder.savedState
~/Library/SyncedPreferences/com.apple.finder.plist

Note:
Maybe some of the files (folders) not exist on your system this is ok.
Please don't delete the files until test that works.

Restart the mac and test


How to fix a file that's read-only despite showing correct permissions

Try ls -lO to see if any file flags are set.  If it's locked (uchg flag), you can unlock it in either the Finder's Get Info window, or with chflags nouchg "Bad File".  If some other flag is set, use chflags no<whatever> "Bad File" to clear it.

EDIT: The -O flag to la adds another column between the group and size of the files, listing file flags (if any).  Note that flags are entirely separate from extended attributes (what -@ displays).  Here's an example:

$ touch "Normal File" "Locked File" "Invisible, Append-only File"
$ chflags uchg "Locked File"
$ chflags uappnd,hidden "Invisible, Append-only File"
$ ls -l
total 0
-rw-r--r--@ 1 gordon  wheel  0 Feb  4 07:24 Invisible, Append-only File
-rw-r--r--  1 gordon  wheel  0 Feb  4 07:24 Locked File
-rw-r--r--  1 gordon  wheel  0 Feb  4 07:24 Normal File
$ ls -lO
total 0
-rw-r--r--@ 1 gordon  wheel  uappnd,hidden 0 Feb  4 07:24 Invisible, Append-only File
-rw-r--r--  1 gordon  wheel  uchg          0 Feb  4 07:24 Locked File
-rw-r--r--  1 gordon  wheel  -             0 Feb  4 07:24 Normal File

The uchg flag is what gets set if you check the "Locked" box in a file's Get Info window.  BTW, the "hidden" flag only affects the Finder -- the only way to hide files from the command line is to put a . at the front of the filename.


How do I make a command run automatically when I open a new terminal window?

Each shell has initialisation files which get run at each start (aka new Terminal tab/window). Put the command into the appropriate one and it will be available in new tabs.

for bash, use ~/.bashrc
for zsh, use ~/.zshrc

You can use echo $SHELL to determine which shell you are using.


How to check system process battery usage information on iOS 8?

DetailedBatteryUsage Cydia tweak from the BigBoss repo shows the battery usage for system processes. It integrated right into the Battery Status tab inside settings and throws in a neat battery life cycle graph for the last seven days and also displays information about active usage/background usage.


Why does new file created by touch have GID wheel?

/var/tmp has the sticky bit set:

pse@Mithos:~$ ll -d /var/tmp
drwxrwxrwt  5 root  wheel  170 Dec 24 16:17 /var/tmp/

so any files created in there inherit the group of the directory.

From man sticky:

  A directory whose `sticky bit' is set becomes an append-only directory, or, more accurately, a
       directory in which the deletion of files is restricted.  A file in a sticky directory may only be
       removed or renamed by a user if the user has write permission for the directory and the user is
       the owner of the file, the owner of the directory, or the super-user.  This feature is usefully
       applied to directories such as /tmp which must be publicly writable but should deny users the
       license to arbitrarily delete or rename each others' files.

  Any user may create a sticky directory.  See chmod(1) for details about modifying file modes.


A quick way to solve your problem is to simply disable the IR remote control receiver.  Visit this preference under

System Preferences -> Security -> General

and uncheck the box labeled "Disable remote control infrared receiver".


What are the differences between the AT&T and Verizon versions of iPhone 4?

Due to the differences between CDMA and GSM, the antenna notches have been moved around. There are also 4 now instead of 3, and as a result of adding a notch on the left side of the phone, the mute switch is slightly lower on the Verizon iPhone 4 than the AT&T iPhone 4, which could cause cases made for the AT&T iPhone 4 to not fit the Verizon iPhone 4 properly:

Though this may change in a future version of iOS, right now the Verizon iPhone 4 has a "Personal Hotspot" feature to share the data connection with up to 5 devices. In contrast, the AT&T iPhone 4 supports tethering through USB or Bluetooth only, and only to 1 device:

Finally, because the Verizon iPhone 4 runs on Verizon's CDMA, it does not support simultaneous data and voice, unlike the AT&T iPhone 4 which does over 3G.


Can you get blackboard letter N, R, etc., symbols for mathematical notation?

N is at U+2115, R is at U+211D... just as described in the wikipedia article you linked to.  Odd that they aren't in the normal ABC order.  But, they are there.


How can I kill my iPhone when my location service is turned off?

If the iPhone has no power, there is nothing you can do as it cannot be found.
Find My Iphone only works with an iPhone turned on.

You could check regularly if they power on the iPhone, you can put it on the loud sound or clean it remotely. Offline/Without power there is nothing you can do.

If your iPhone was running iOS7 and iCloud is enabled the thieves cannot restore the iPhone, so they cannot sell it.


Account with parental controls enabled breaks proxy use

I've found a solution for this problem. Running proxy software on the Mac will override Apple's built-in proxy used for parental controls. In this case I used squid via the SquidMan package as follows:

Install the SquidMan package to the administrator account. Ensure SquidMan is configured to run at startup.
In SquidMan's preferences enable use of a parental control proxy, and point it to your router that is running squid (at 192.x.x.x, port 3128).
In the controlled account configure the browser to use a proxy and point it to the one created by SquidMan (at localhost, port 8080)

In this way Internet access from the controlled account will be routed through SquidMan to the specified proxy coming from the router.

One caveat of bypassing the Apple proxy is that the Parental Controls will no longer keep a history of visited websites. However you can configure Squid on your router to keep access logs that provide much more information than Apple's parental controls are capable of.


Distribution of the enterprise iOS application

An app is just a file. You can distribute them through a sophisticated framework such as a custom App store hosted on your own servers or just place them on a web server. In fact, you could also just email the app or push them through iTunes or other file sharing technology.

When you sign up as any iOS developer - you can install apps on your devices without ever submitting them to Apple. In the case of an enterprise account, you are allowed to install them for production use as well as development use.

The mechanism you choose for Mobile Device Management will affect your costs and benefits for the various distribution methods, but your general question is answered - Yes, as an enterprise developer no Apple involvement is needed or possible if you don't want your apps ever on the App Store in general or getting reviewed by Apple in specific.


Configuring AirPort Extreme with Existing Router

The airport extreme should be connected as just a device with the cisco router handling DHCP and NAT.  in the airport configuration go to the Network Tab and click the double headed arrow under Router Mode set it to "Off(Bridged Mode)

You can then go to Wireless and set that how ever you want all traffic will go to the cisco router and either be forwarded to the Internet or go to the voip, printer, etc.


Install second operating system on internal (as VM with Parallels) or external drive?

A native OS is always faster than one running in a virtual machine.

That would seem to be obvious, so edit your Question if I am misunderstanding you, or if you had other issues or complications in mind. If your external drive or connection is slow, then booting to external might be about the same as the VM on internal drive, or even worse if using a USB 2 drive/connection. On a Thunderbolt drive, you will be running faster than than will the VM on internal.

On the other hand, I have successfully done Xcode programming in a VM in Parallels. The performance is surprisingly good.

There are always niggly glitches and bugs in Parallels, and always changing version to version as some get fixed while new ones appear. But I've encountered no showstoppers, just annoyances. The most serious bug suffered by me and reported by others is that the mouse suddenly and inexplicably becomes useless within the VM. The workaround is to suspend and restore the VM. Takes about 10-20 seconds, and solves the problem reliably, but is quite annoying.

Currently, there are still issues with trying to run the VM in Retina mode. While it generally works well enough, it really slows down performance noticeably. And a few apps malfunction, misinterpreting the resolution, causing the content of their windows to be dramatically zoomed in, rendering the app unusable. In addition to some web browsers, this happens in the Xcode Simulator. Workaround is to shutoff Retina mode in your VM’s settings.

Another benefit of a VM is keeping Apple's confusing array of settings and security certificates in Keychain all stored nicely in the VM and kept separate from your own stuff on your real Mac. If doing a clean install or moving to a fresh Mac, would you know how to move all the pieces needed to keep Xcode and iTunesConnect happy?


macbook pro 2017 battery drains even in charge

If your MacBook Pro is discharging while in use and plugged in, you are probably using the wrong charger.  The 2017 MacBook Pro uses either a 61W or 87W charger.  See:  Find the right power adapter and cable for your Mac notebook

When selecting a charger, always go equal or bigger than what you need.  The wattage rating is the maximum that will will supply, not "push".  In other words, if your device needs less, it won't harm it.  However, if it needs more, there won't be any more to give.


Automount NFS shared home directories and other shares

I found out that the problem was very simple to fix. Just add the resvport option to all the mounting point, and if works like a charm


How to install MacTeX 2015 successfully in El Capitan?

You are misreading the guide when defining the path for TeX programs in TeX Live Utility.

In TeX Live Utility, open Preferences
Click on "Choose"
Do one of the following

press Shift-Cmd-G, type /Libary/TeX, click on "Go", double-click on texbin and then click on "Choose"
press Shift-Cmd-G, type /Libary/TeX/texbin, click on "Go" and then click on "Choose"


Can I log employees' working hours through Bonjour availability?

It looks like you want something like NetSpy or ActyMac to monitor employee activity. It will handle what you want and more, although I'm not sure I would suggest the orwelian approach to employee management.

You may want to look into a pure network monitoring tool like Paessler.

The easiest solution would be for you to just monitor the server log on your OS X server for the time the user logs-in and logs out. A simple script that tracks the time and totals them into a spreadsheet using a nightly cron job.

You can also just use the last command as seen in the screenshot aslong as the file has not be cleared.

You may want to try other basic unix system logging scripts.


How do I distinguish between identical phones that can't turn on?

There is a cable at all Apple Stores that can obtain the serial number from the great majority of no power iPhones when connected to a specific application. Not all no power devices are able to connect, but upwards of 90% do, in my experience.

The only real issue I can foresee is that technically speaking you should only bring one device per appointment. That said, I really can't imagine anyone refusing to even check the serial number on two phones in one session, especially since you're only planning to get service on the one that is in warranty.

Oh, and be prepared for the no power iPhone to be gone for 10 days or longer undergoing screening before replacement if you ship it from an Apple Store. You can blame years of rampant warranty fraud for that.

If the technician is able to obtain the serial number of the device that has AppleCare for you, you would actually actually be better off getting service through AppleCare over the phone once you have that serial number. They can ship you the new phone while you wait for the device to get through screening at least. Unfortunately, they do put a hold on your credit card, but if the device passes through screening, you are, of course, not charged.

If you can't get to the stores, you get one shot as a consumer seeking warranty service to identify an iPhone 7 or later that won't turn on when connected to power or a computer.

The one item that's externally serialized is the SIM tray.

If you don't have confidence which tray belongs to which phone or it’s lost, Apple or an authorized tech may need to disassemble the device if they need to establish the serial in question before offering warranty service eligibility.

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

Older iPhone had them engraved on the case as well, but that could wear out, so all Apple warranty providers are well trained in how to help you establish eligibility for repair if need be. It might delay the repair, but you won't lose service due to this alone in my experience.

A long shot might be if you know the phone number for the phone, the carrier might have records of the IMEI / MEID / CDN / ICCID that would help Apple locate your serial. Again, this like the packing slips or packaging or receipt won’t help you if you don’t know which phone is which.


How to put a Macbook Air into "Target Disk Mode"?

In the "startup disk" section of system preferences, you should have a button to restart in target disk mode. If this is missing/ disabled then the machine doesn't support Target Disk Mode.


Late 2011 MacBook Pro Cannot Install OS X

Some 2011 MBPs have a well-known GPU problem. So well-known, in fact, that Apple will replace your GPU for free! That link leads to Apple's page for their GPU replacement program.


Okay, I think I've tracked this one down. It isn't a problem with your iPod or iPad, it's a problem with the router itself. Its DNS has been overwritten so that it randomly (about 5% of the time) will redirect you to one of their sites.

Because you're using someone else's open access point, there really isn't anything that you can do about it except to stop using that particular router.

For more info, see these pages:

Strange Redirects
Malwarebytes Forum
Random Browser Redirects, TDSS?
or the results of this Google search


iMessage no longer able to reach a specific contact

The reason it was broken: the specific contact had changed his AppleID password and had not updated it on his iPhone.

The solution that worked for us:

He reset his AppleID (c.f.: http://support.apple.com/kb/ht5624)
He updated the password at iPhone (iOS7) >> Settings >> Messages
He updated the password at iPhone >> Settings >> FaceTime
I reset my network settings: my iPhone (iOS7) >> Settings >> General >> Reset >> Reset Network Settings

He didn't have to reset his network settings, and neither of us powered our iPhones off/on.


Should I use Wi-Fi and Ethernet at the same time?

There shouldn’t be a problem with keeping both on at all times. Your machine will choose one automatically and everything will work. You can also increase the priority of one system over the other so that your chosen system will be used if available.

All things being equal Ethernet is sometimes faster due to WiFi devices slowing down when lots of devices and access points are close together (like in apartments). If you need gigabit network speeds then Ethernet will usually be faster as you generally need to be close to your access point for gigabit WiFi speeds.

AirDrop requires WiFi as it directly connects two devices. Other than AirDrop needing WiFi and the generally better speeds with less interference on Ethernet there is no reason for preferring one over the other.


Set sublime text to read .asp files as .php files (with php syntax)

Go to View → Syntax → Open all with current extension as... and select PHP. Check the image below:


I faced a similar issue where some stranger sending me creepy texts using Gmail chat. I simply sent a SMS with the keyword "Stop", and after that I didn't get a single text from that email address on my phone number. I'm not entirely sure if it would work in 2019, but you can give it a try. Same thing is suggested in this old article: https://techwithlove.com/how-to-send-sms-from-gmail. So it might worth a try!

If supported by your carrier, then you can login to your account and block that email from sending you text messages. Someone suggested these steps on AndroidCentral forums to block text messages from the email and/or on Verizon:

Login to your account and hit MY VERIZON.
Choose VERIZON FAMILY SAFEGUARDS AND CONTROLS.
Choose INTERNET SPAM BLOCKING.
At the bottom of the number block list, choose BLOCK ALL TEXT
MESSAGES SENT FROM THE WEB and BLOCK ALL TEXT MESSAGES FROM EMAIL .
Save and close.

Source: https://forums.androidcentral.com/verizon-galaxy-s-iii/297351-how-block-texts-email-addresses-solved.html


Mail signatures--assigning to specific users

No. This isn't possible with a standard install of OSX Mail.app.

What you can do, as I am sure you are already well aware of, is set up multiple signatures, and manually select the signature that you desire to use. What you can do in the case of wanting no signature is set up a "signature" labeled "Empty", and then put nothing in there. Then have that set to default, or the other way around.


My Wi-Fi connection works on all Linux systems but none of the OS X distributions

The could be a couple of things going on, hardware or software. Let's eliminate software.

Go to /Library/Preferences and look for the ones that start with "com.apple.network" I have three of them. Delete them and reboot.

Now go back into your network preference pane. Any VPNs you set up will be gone and you should have the default list of all interfaces with network capability. Select the WiFi interface and configure that as you like.

What I am thinking is possible that you have a damaged preference file associated with networking (hopefully I didn't miss any preference files...). Doing this will give you a clean slate with network settings.

If that doesn't do it, you may have a hardware issue, which means time for an Apple Genius appointment.


Removing characters from a string via Terminal

This seems to work:

$ echo 'http://t.umblr.com/redirect?z=https%3A%2F%2Farchiveofourown.org%2Fworks%2F1885509&t=N2M3YmNhNjQzODU5MjI2NmE5ZjljY2Y4NWVhOTVhM2IwYzgyYzYyYixLOHhQakVRbA%3D%3D' | awk 'BEGIN{FS="=|&"}{gsub(/%3A/, ":")}{gsub(/%2F/, "/")}{print $2}'
https://archiveofourown.org/works/1885509
$

What happening here is the URL string is placed in single quotes and using echo is piped | into an awk program.

Example Syntax:

echo 'URL' | awk 'BEGIN{FS="=|&"}{gsub(/%3A/, ":")}{gsub(/%2F/, "/")}{print $2}'


The PDF Browser Plugin from Schubert|it recently added support for Firefox.
It's free for personal, non-commercial use.  I've found it to be a very capable in-browser PDF viewer.


cannot install iOS 7.1 simulator for Xcode 6 (weird file mounting error)

Quit Xcode (Command ⌘+Q).
Delete the ~/Library/Caches/com.apple.dt.Xcode folder.
Reopen Xcode.


Stuck in update boot (not enough disk space)

Go in the Recovery menu (hold cmd+r), in the top left corner, you should see the Apple logo. Click on it and select the boot disk, which should appear as your internal hard disk, you will be prompted to enter your password to decrypt it and you should be good to boot into your old system.


Lion adding an empty desktop when full-screening an application

Full-screening an application puts that application on a new "desktop" to the right of the desktop it was on.  You started with Safari on desktop 2 and Sparrow on desktop 3 and fullscreened both, which left desktop 2 and 3 blank (they don't get closed just because they are blank) and the fullscreened apps to the right of where they were.

If you don't want the blanks, just fullscreen from your original desktop directly.

This is working the way it should as far as I can see.


Upgrade available for Open GL graphics card

It's an integrated chip, so no, no upgrade is possible for this generation of iMacs.


Is there a modern browser for iOS 10.3.3 capable of supporting ES6+ Javascript?

From what little I know about ECMAScript Safari on iOS (which all browsers must use for rendering web pages, as @Mark pointed out in his comment) some things are supported but many are not. And your guess is as good as anyone's as to why that is the case (not to mention off-topic here).

So you are likely out of luck for full ECMAScrip support on iOS unless you want to go the jailbreak route. We can't help with that and I don't know if there is a browser for jailbroken iOS devices that does support ECMAScript.


What are the risks of jailbreaking an iOS device?

The absolute worst case scenario is you are forced to revert back to a non-jailbroken device and may lose content if you did not make the necessary backups. That is bar-none the worst case scenario. It is also of note that Apple will turn you away should you bring in a device that is jailbroken. They have a firm stance against the practice and state that it will void your warranty. Of course reinstalling iOS and removing the jailbreak corrects this matter. Additionally, upgrading to future iOS versions will remove the jailbreak (OTA updates in iOS 5 cannot be performed).

You cannot "brick" your device, rendering it inoperable by using any jailbreak utilities. Repeat, you cannot "brick" your device anymore than you can render a Mac inoperable by messing with OS X. A simple restore returns the device back to its original state. The ill-gotten rumor likely started due to the protection schemas in place that safe guard the mobile device from tampering (i.e., breaking Apple's closed system). Apple has set up a gauntlet a jailbreaker must bypass in order to open iOS. During those stages, problems may occur, leaving the phone in a state of "flux." This occurs when the device is left without a working operating system. In this state, it will not graciously look to iTunes for a fix. But rather sit in this state of limbo and require additional software to "bring it back to life." It is, however, always possible to restore it and any coming forward to claim otherwise are only bringing to light their own ignorance and ineptitude at correcting the matter. I think an apt analogy would be to look at someone trying to jump start a car. It's possible to boost any car, but some may reverse the cables, or fail to clamp the negative to a proper ground. Sparks fly and the ECU shorts. Surely if the person knew what they were doing, they would have jump started the car without issue.

Jailbreaking itself does not pose an inherent risk. There have been cases where a jailbreak actually allowed the patching of a known security risk (jailbreak me.com first exploited this security hole and then subsequently provided means to repair it well before Apple stepped in correct the matter upstream). These cases, are however, rare. Most of the time, a jailbreak relies on similar exploits to deliver itself (as is the case with iOS 5.0). So while the jailbreak is safe, it may force a user to remain on a compromised version of iOS and unlike the initial PDF exploit that made jailbreakme.com possible, may not have the means to patch it.

The biggest threat is the expansion of capabilities made famous through Cydia. The most prolific is the installation of SSH (a secure file transfer protocol) without changing the two accounts on the device (root and mobile). They both share the same password (alpine) and without changing them, a mischievous hacker only needs to get the device's respective IP address. After which, they will have root access (full control). This, of course, is easy enough to overcome and will likely only affect the most ignorance of user bases. Surely you cannot claim a house is unsafe because the residents refuse to lock their door!

Lastly, the installation of apps through untrusted Cydia repositories may also be a cause for concern. Jailbreaking a device removes Apple's signature checks, so the device is only too happy to run most code thrown at it. While Apple stringently approves what code is given the authority to run on your device (and sandboxes all apps for that matter, greatly restricting their privileges) those checks are removed after the device is jailbroken. Moreover, those apps are no longer sandboxed like the ones found on Apple's App Store. It's possible that a user may come across malicious code, but no such cases have been made public. The jailbreaking community isn't bent on malicious intent, but rather freedom of choice. In that respect, they act as paladins, and anyone seeking to exploit their work would be brought to light before long.

The troubles affecting jailbreaking essential revolve around ignorance and naivety. For an experienced and intelligent user, they bring no more risk to one's security than a "locked" device. And in some cases, may provide the ability to tighten's one's security and privacy (typically made possible by developers that use Cydia to distribute their wares).

Note: Cydia itself is a reputable "store." The programs found within it's walls are all safe and typically carry some level of professionalism. The problems arise when users register outside repositories (or repos) that carry untested, pirated, or questionable software. Jailbreaking also does not mean iOS is free to run "cracked" software found legitimately in the App Store. Those security measures remain intact even on a jailbroken device and must be circumvented separately, outside of the actual jailbreak. Many are confused by this duality and assume a jailbroken device can natively install pirated apps. That is not the case.


How to find the IMEI and serial number of an iPhone before selling it?

You can easily determine the IMEI and the serial number by going to Settings app → General → About and looking for fields named IMEI and Serial Number (along with host of other information).

There's also an Apple support document titled Find the serial number or IMEI on your iPhone, iPad or iPod touch which is worth going through.

The other crucial step to take before giving away your iPhone is to make sure you have synced all your important data (Contacts, Photos, Notes etc.) to iCloud. Also, make sure to create a backup of your iPhone if you wish to restore it to a new iPhone. The backup can be created either on iCloud or an Mac or a Windows computer using iTunes.

Once you have backuped up all the important user data, make sure you sign out of iCloud. To sign out of iCloud, go to Settings app, tap on your name shown with profile picture (this should be the first item just below the Search bar), scroll down and tap on Sign Out (last item shown in red).

You may also be asked to turn off Find My iPhone. Do so by tapping on iCloud on the same screen and than tap on Find My iPhone. Toggle to turn off the switch shown in front of Find My iPhone.

When signing out, iPhone prompts you to choose between deleting or keeping data (Contacts, Notes, Reminders etc.) locally on device. It is recommended to delete the data from device as you are giving it away. As an extra security measure, it's recommended to factory reset the device. Do so by going to Settings app → General → Reset and tap on Erase All Content and Settings. You may be prompted to provide the device passcode.

Once the device is erased, do not set it up again before giving away. It is possible to see the IMEI number even on an iPhone that isn't setup.

It's recommended to go through the Apple support document What to do before you sell, give away, or trade in your iPhone, iPad, or iPod touch and make sure to follow all the official guidelines.


Remove Re: AW: and other from subject in Mail

I wrote a plugin for mail.app which does exactly that. You can find it at:github feel free to use it.


So I found the problem. It was one of the RAM slots that caused the problem. After removing one of the RAM chips everything runs fine and stable for over a week now.


I can't log into my Apple ID account on websites / can't download apps / edit Apple ID settings

Best thing to do in this case is find a working web browser and try signing into iCloud.com or appleid.apple.com to be sure your account isn't locked or you have a password issue.

When that's sorted, go back to the device and try one thing before you move on to the next. Check date/time on the device since most Apple log in are very strictly SSL / HTTPS checked and time being off will block the log in attempt as does network shenanigans like man in the middle type privacy attacks (or "snooping by someone" using http proxy).


You can change your Computer Name from System Prefs > Sharing > File sharing.
You can search prefs to find it...


Is there a way to avoid the Featured tab in IOS App Store?

This is not possible (at least not currently). When the iOS App Store is opened, it will either open up the default page, which is the Featured tab, or the last viewed page, if it was previously recently opened.

Perhaps you can suggest that the Updates tab should become the default tab if there are any pending updates, on Apple's iPhone feedback page. However, I know that people sometimes choose not to update apps for whatever reason, so constantly being brought to the updates page might offend them...


Is there an IOS app that mimics "while you were out phone message pads"

Yes. Notes app does this perfectly on iOS 11.

Take a picture of the paper, crop and color correct if you please. You can also or store in iCloud Drive, photos or store on the iPad as a file, but I kind of like the notes app.

Then annotate the image with text typing, finger drawing in pen, pencil, marker or use a stylus or Apple Pencil on iPad.

Then send the file using messages or any other app.


Disk Images no longer show up in Finder's Sidebar

Update.

Just realised that it the CDS,DVDS,  and iPod option in the Finder side bar prefs control  showing of DMGs

You need to check it to get them to show up.

The below may be related to External drives not showing up.

If you drag them of the sidebar they will never show up even when mounted.

To get them back you need to mount them and drag them back on.

This may not be what is going on with your if this is happening to any new items you have never mounted before. But you could try this and see.

Here for illustration a Partition and a DMG being dragged off.
(But this has happened to me without me realising or for some unknown reason.)

To get them back I would need to drag them back.

I go to my device window:

And drag them back to the side bar

And now they are back.


What happens if you have more than 1 apple id associated with 1 account...?

I understand you want to keep an eye out... but all messages?  and no privacy? ;-)

That said.

What you could try is setting up a extra account (user) on your iMac/Macbook. Hookup her iCloud account there. You can swap between your own account and 'her' account on the fly.

When you then open iMessage on the desktop i think (and expect) that you would find all copies of her iMessages. That is, Apple iMessages, true SMS are not delivered (only on the iPhone). But since she has a iPod Touch... i think you should be safe. Give it a try.


I'm not sure I entirely follow you, however; if you are using X-Code to compile and run C programs, output (e.g. any printf statements) should automatically be sent to the console, like so:

int main(int argc, const char * argv[])
{
   printf("Test program\n");
   getchar();
   return 0;
}

Is this the 'screen' you want to clear? If so, simply building and running any program which has no console output will do so (although I'd be interested to know why you need this.)

In the example above, comment out the line with the printf statement and build and run. You'll get a clear console.


DNS works in terminal but not elsewhere in Mac OS

Why does it work in Terminal and why doesn't it work in Mac OS? The answer to your first part is in man dig or man host:

  The dig command does not use the host name and address resolution or the DNS query routing mechanisms used by other processes running on Mac OS X.  The results of name or address queries printed by dig may differ from those found by other processes that use the Mac OS X native name and address resolution mechanisms.  The results of DNS queries may also differ from queries that use the Mac OS X DNS routing library.

To answer the second part, I would run a packet trace and see if the query packets are going out, and if so, to where? tcpdump -i en0 -vnnt "udp port 53"

mDNS is for Bonjour discovery; I don't believe it has much to do with standard DNS but don't quote me on that.


Features : Apple TV -vs- Apple TV app on Samsung Smart TVs

No, the Apple TV app on the Samsung Smart TV does not allow you to run other Apple TV apps such as Netflix, Amazon Prime Video, etc.

The Apple TV app on the Samsung Smart TV allows you to buy and rent movies from Apple, subscribe to the Apple TV+ service and Apple TV-channels.

Here's Apple's instructions on getting it setup:

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

If you want to use services such as Netflix and Amazon Prime Video, then they must be installed as "Samsung Apps" independently.


Is it possible to put a hard limit on the sound volume?

If this problem is still relevant to you, I've got good news.

I wrote an app, which limits the volume on your Mac to a given percentage you set. It's called Earsafe, you can check it out at earsafe.io.

All the best!


Gifting an App Store app to an Apple ID that is part of a Family Sharing family?

If I gift the app to my friend, does the entire family get access? (This isn't a problem, but it's something that I think would need to be communicated, especially if others in the Family Sharing plan decide to use the app and then my friend later leaves the family)

Yes. After you gift the app to your friend's Apple ID, it appears as a purchased item under their account. If the app in question has family-sharing enabled, it would also become available to the other members of the family.

  If my friend decides to leave the Family Sharing plan, will she retain access to the app I gifted her under her own Apple ID, or will it revert to being owned by the Family Sharing family owner?

The app gets tied to your friends Apple ID. So she'd retain access. If the other family members have downloaded and installed the app before your friend leaves the family, they can continue using it. After your friend has left the family, the other members of the same family would lose access to download it for free.

  If my friend uses in-app purchase to buy an add-on for the app (not a transient item like coins or credits, but say unlocking a feature), will that attach to her own Apple ID (and thus be available should she disconnect from the family sharing plan) or will it belong to the family and thus not be available later?

The In-App purchases are tied to the Apple ID that purchases them, not the family. So she'd continue to have access to the In-App purchases made with her Apple ID, and the family she's a part of would not have access to it, irrespective of whether she remains a part of the family or not.

A very simple way to understand and get answer to these questions is this: There is no such concept as family ownership of content. Content such as an app purchase is owned by a single Apple ID, and it appears under the list of purchased item for the said Apple ID. If the developer of the app has enabled family-sharing for their app and someone from the family purchases the app, it becomes available for download to the other members of the family the Apple ID is a part of.

To understand more about Family Sharing, you can consider going through the following links:

Family Sharing - Apple
What types of content can I share with my family using purchase sharing?


YES, you can change the email address associated with the Apple ID. The Apple ID is literally the email address (don't pay attention to the previous answer...)! It sounds like you created an ADDITIONAL Apple ID instead of updating the email address on your current Apple ID.

Navigate to appleid.apple.com and login with your 'old' Apple ID email address, from here you will be able to update to your new email. However, you would also need to follow this process to login to appleid.apple.com with the NEW address and assign this a "dummy" email address so that you can assign the "new" email to your current Apple ID so that you retain all purchases and content associated with your iCloud account.


Is there any way to view saved wifi passwords on the iPhone?

1) If you have a Mac connected to the same network, you can find the stored password in it's Keychain using the Keychain Access app (link)

2) If the router is an Apple Airport based device, you may be able to log straight into it via Airport Utility (available on Mac and iOS) to see the password at source

3) If you are on iOS7, then you can use iCloud Keychain Syncing to allow the stored password on your iPad to be synced elsewhere (assuming you have a Mac too), allowing you to then read it in your Keychain as per point 1.  In the screenshot shown, most of these  WiFi networks are in other cities that only my iPhone has connected to:


Can I fresh install a Beta version of macOS?

There's some misconceptions here.  Let's clear them up....

  Current Beta access program enables one to upgrade to macOS Mojave
  from a stable release,

No, it gives you access to prerelease software that you can install on your device.  They make no mention "enablement of upgrade."  Granted, since Mojave hasn't been released, it will be a de facto "upgrade"

  Would creating a bootable installer and booting from it be a good
  idea, when I'm working with a Beta version?

A better question would be, "Why wouldn't it be a good idea?"

A beta is, again, prerelease software and it will have bugs.

  Please note that since the public beta software has not yet been
  commercially released by Apple, it may contain errors or inaccuracies
  and may not function as well as commercially released software.

When you download the software, you are presumed to have read and be aware of this.  There's nothing precluding you from attempting to install it via USB and it's encouraged.  Should you find an issue, report it to Apple.

And....

It's important to note that Mojave and all beta software in general is being made publicly with the expectation that you leave feedback about issues/problems/bugs that you discover.  Expecting the software to function without issue or as a fix for what plagues released software is an unrealistic expectation.

In other words, don't run this on a "production" machine and make lots of backups of your data.


iPhone update failed now stuck in Recovery Mode

This is a tough one as once you are in recovery mode you can't backup your phone. So tell us, were you backing up to iCloud or had you been backing up to a Mac or PC using iTunes? If not you may be out of luck.

What you need to do is get it out of Recovery Mode. I can't locate the info for the older SE model but you could try these.

On iPhone 8, 7, 6, 6s, 5 and earlier, hold down Power Button to turn off your device.
On iPhone XS, XS, XR, X, press and hold the side button with either volume button.

Once the phone has powered down, power it back on normally and hope it comes up out of recovery mode.

If that happens you should back up the phone with iTunes immediately then go to

Settings > General > Reset > Erase all content and settings.

Once that is done you should be able to update your phone and then restore from the backup you just made.

If it didn't come out of Recovery Mode You may need to enlist professional help. I have also seen a lot of utilities out there that can supposedly either backup an iPhone in recovery mode or get it out of Recovery Mode. I have no experience with these utilities, I have no idea if they do the job they say they do or are just backdoors to some kind of malware. So find an iPhone expert (Apple store or otherwise) who can fix this issue.

And for heaven's sake start backing up your phone on a regular basis. Either to a computer or to iCloud.


Which Macs cannot upgrade to Mountain Lion?

Apple said the following Macs will run Mountain Lion:

iMac (Mid 2007 or newer)
MacBook (Late 2008 Aluminum, or Early 2009 or newer)
MacBook Pro (Mid/Late 2007 or newer)
MacBook Air (Late 2008 or newer)
Mac mini (Early 2009 or newer)
Mac Pro (Early 2008 or newer)
Xserve (Early 2009)

So the complement of this list are not supported to run Mountain Lion (as far as I can tell; edit this list to add or subtract models as appropriate; you may be able to get it running on an unsupported machine):

Macintosh 128K
Macintosh 512K
Macintosh 128K (revised)
Macintosh XL
Macintosh Plus
Macintosh 512Ke
Macintosh Plus (Platinum)
Macintosh SE
Macintosh II
Macintosh IIx
Macintosh SE/30
Macintosh IIcx
Macintosh SE FDHD
Macintosh IIci
Macintosh Portable
Macintosh IIfx
Macintosh LC
Macintosh Classic
Macintosh IIsi
Macintosh Portable (backlit screen)
Macintosh Classic II
Quadra 700
Quadra 900
PowerBook 100
PowerBook 140
PowerBook 170
Macintosh LC II
Quadra 950
PowerBook 145
Macintosh IIvi
Macintosh IIvx
PowerBook 160
PowerBook 180
PowerBook Duo 210
PowerBook Duo 230
Macintosh LC III / III+
Macintosh Color Classic
Centris 610
Centris 650
Quadra 800
PowerBook 165c
Workgroup Server 80
Workgroup Server 95
PowerBook 145b
PowerBook 180c
Macintosh LC 520
Workgroup Server 60
Centris / Quadra 660AV
Quadra 840AV
PowerBook 165
Macintosh Color Classic II
Macintosh TV
Quadra 605
Quadra 610
Quadra 650
PowerBook Duo 250
PowerBook Duo 270c
Macintosh LC 550
Macintosh LC 575
Power Macintosh 6100
Power Macintosh 7100
Power Macintosh 8100
Workgroup Server 6150
Workgroup Server 8150
Workgroup Server 9150
PowerBook 520/c
PowerBook 540/c
PowerBook 550
PowerBook Duo 280
PowerBook Duo 280c
Quadra 630
PowerBook 150
Power Macintosh 6200 / 6300
Macintosh LC 580
Performa 5200
Power Macintosh 9500
Power Macintosh 7200
Power Macintosh 7500
Power Macintosh 8500
PowerBook 190
PowerBook 5300
PowerBook Duo 2300c
Workgroup Server 7250
Workgroup Server 8550
Performa 5260 / 5300
Performa 5400
Power Macintosh 7600
Performa 6360
Performa 6400
Power Macintosh 4400
PowerBook 1400
Power Macintosh 5500
Power Macintosh 6500
Power Macintosh 7300
Power Macintosh 8600
Power Macintosh 9600
PowerBook 3400
Twentieth Anniversary Macintosh
Workgroup Server 7350
Workgroup Server 9650
PowerBook 2400c
Power Macintosh G3 desktop
Power Macintosh G3 minitower
PowerBook G3
Power Macintosh G3 AIO
Macintosh Server G3
PowerBook G3 series
iMac G3
Power Macintosh G3 (Blue & White)
Macintosh Server G3 (Blue & White)
PowerBook G3 ("Lombard")
iBook
Macintosh Server G4
iMac (slot loading)
Power Mac G4 Graphite
PowerBook ("Pismo")
Power Mac G4 Cube
iBook (FireWire)
PowerBook G4 Titanium
iBook (white)
Power Mac G4 Quicksilver
Server G4 Quicksilver
iMac G4 15"
iBook (14")
eMac
Xserve
iMac G4 17"
Power Mac G4 MDD
Macintosh Server G4 MDD
PowerBook G4 Aluminum (12")
PowerBook G4 Aluminum (17")
Xserve slot loading
Xserve Cluster Node
Power Mac G5
PowerBook G4 Aluminum (15")
iBook G4 (12" / 14")
iMac G4 20"
Xserve G5
Xserve Cluster Node G5    Xserve
Power Mac G5 FX
iMac G5 17"
iMac G5 20"   iMac
Mac mini
Power Mac G5 dual core
iMac Core Duo
MacBook Pro (15")
Mac mini Core Solo
Mac mini Core Duo
MacBook Pro (17")
MacBook   (Late 2008 plastic)
Xserve (Intel) (Late 2006)
MacBook (Late 2006)
Mac mini Core 2 Duo
MacBook (Late 2007)
Xserve Harpertown
MacBook Penryn
1st generation MacBook Air  (early 2008)


Mac Command Line Tools Continue to Update

Ignore the update shown in the App Store. Install Command Line Tools by running the command:

xcode-select --install

In case the command doesn't work, and gives an error stating,

  xcode-select: error: command line tools are already installed, use "Software Update" to install updates

simply run brew config. It will show a dialogue box asking to accept Xcode license terms. Once accepted, Command Line Tools will be setup successfully.


How do you say "numeral" in french for Siri to get numbers right?

The solution is in the official Apple documentation, you should say "numérotation quatre" to input "4".


MacBook MiniDisplay to HDMI does not work

Most likely the adapter.  I have had cheap ($10) ones go out.

One solution is to buy the Apple brand ($30 ?).  I chose instead to buy two $5 replacements.  So far no problem, and the benefit of having extra ones is I can keep one at work, keep one at home without having to (remember to) unplug it, and also have one I carry with me incase I need to project somewhere.


I found Java 1.7 SDK in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk, and all the binaries in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/bin.

And by clicking the jdk file, I could arrange the order so that Java SE 7 is executed first.

java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

And I could also bring up the app from /Applications/Utilities/Java Preferences.app

For eclipse, I could add one line in /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini to teach eclipse what Java it will use :

-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java


External HD doesn't mount when USB plugged in (Lion)

There is a workaround, sometimes the drive will detect but not mount. If you open Disk Utility it should be listed on the sidebar and you can manually mount it from there.

This doesn't resolve the underlying issue of why OS X hasn't automounted, but if you check in the system logs when you plug it in you might get a clue towards that.


There is command line solution that I've found in Mac Rumors

sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`

Which can assigned to an alias:

alias fixairplay="sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`"

Then this command fixes the issue:

fixairplay


Why do I have to source ~/.bash_login every time I open Terminal

Does it have to be .bash_login? Try renaming it to .profile.


can't add my present account to folder > Get Info > Sharing & Permissions on Macbook Pro

Solution:
Mac > Sys Prefs > Sharing > File Sharing > Shared Folders: select
Users > Everyone:  changed from 'read' to 'Read & Write' fixes it.

BUT, the best solution is this:
Leave 'Everyone' as 'Read only' or remove 'Everyone'.

Press [+] box and add Mac account that is same name as my current Windows account, and set it to read & write.
What magic!


The software you are looking for is called "Digital Rights Management" software, often abbreviated to "DRM".
Searching for this term will find a wide range of third party tools and solutions for protecting your videos. The offerings will range from massive companies like Adobe with their Access solution to numerous smaller companies.
Protecting Streamed/Online Content
Controlling access to a video file to be played on viewer's computer is a difficult problem. Your best option is to provide online only access to your video content. By serving the video content yourself, you can more easily control access.
Have you considered using YouTube and their paid channel service?
Protecting Local Content
There is currently no built-in DRM mechanism included with Mac OS X. Requiring a user to install a third party video codec is likely to limit your audience.
However, Flash remains a popular plug-in and can be used to provide digital rights management. Flash works both in the web browser and for stand alone applications.
Searching for flash protect local video returns software claiming to support multiple platforms, including Apple:
Protect Software

We protect your software, video and content effectively against
illegal copies and sharing. On CD/DVD/BD, USB-Stick, in local networks
or via the Internet - We have the best solution for copy protection.

Brightcove

Robust content protection across
every screen is an essential part of any video monetization strategy.
Brightcove helps you protect your content and your business model with
the most advanced encryption and DRM technologies, as well as
geographic, time-based and user-based restrictions, to prevent
unauthorized access, downloads, and copying of your valuable content.

Multimedia OwnerGuard

Multimedia OwnerGuard is designed to support a wide range of
Multimedia Files including (swf, flv, mp4, f4v, 3gp, avi, rm, mkv,
3gg, 3g2, mov, m4v, m4a, f4p, f4a, f4b, mp3, mpg, asf, wma, wmv, aac,
ogg, aif, flac). Now you can use full features of OwnerGuard DRM
Technology to protect and distribute your Flash SWF, FLV and many
other media files while OwnerGuard protects your digital ownership
rights.

SWF Protection

Encrypt and protect Flash SWF files from decompilers. Protect not only Actionscripts, but also all images, sounds, buttons and sprites resources in your SWF files.

Try a Flash Based Solution
Try one of the Flash based video protection programs returned by the search above; I have no experience with any, so will not directly recommend one. The list above is extracted from the first page of Google results.


Multiline text can be achieved using either of the following methods:

Separate the text by new lines, with the first quote and last quote encapsulating the contents.

Use \n as new line.

set myvar to "hello\nanother\n\nfinal"

You can set the value of a select element using the following JavaScript

document.getElementById("PaymentEnSelection").value = 1

The value given is one of the value attributes on the option elements that you wish to select.


How do I undo this setting on a MacBook?

You've managed to enable VoiceOver! If your sound had been turned on, you'd also hear your computer speaking the words that appear on screen. VoiceOver is OS X's built-in screen reading software for the vision-impaired. It can speak and display lots of information about the elements on screen, including the currently-active text field.

You can disable/enable it with ⌘+F5 (or ⌘+fn+F5 on newer keyboards). This and more accessibility-related settings and keyboard shortcuts can be found in the Universal Access preferences, and the Universal Access section of the Keyboard preferences.

(In Lion, it seems you get an intro dialog when enabling VoiceOver — perhaps this doesn't happen when the computer is locked, or in previous versions of OS X.)


In Lion, how can I configure to not automatically re-open recent files that weren't closed?

System Preferences > General

Uncheck the Restore windows when quitting and re-opening apps.

You can also toggle this behavior by holding the option key when quitting an application.

Added - October 19, 2012

In Mountain Lion, this option has been changed to read, "Close windows when quitting an application" with fine print to explain that open documents will not be restored.


Is it possible to enable mouse right click via Terminal?

Try defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseButtonMode TwoButton

To undo: defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseButtonMode OneButton


Security for selling MacBook Pro for parts

In my opinion, there is no need for concern. I genuinely believe that it is highly improbable that someone would take the time to retrieve data off an old hard drive. In time old credit card numbers that might be stored will expire. Perhaps you can change the passwords of frequently used websites. Thats a good measure anyway. So essentially the data would be useless. If it has proprietary information that is work related then you may take more caution.


"The Installer information on the recovery server is damaged" when installing macOS Sierra

You need to restart the Mac and keep holding ⌘+R, and you will get the Internet Recovery screen. Connect to WiFi or via Ethernet and you will be to reinstall the OS.
A couple things to watch on machines that have been off for a while:

check the date and time, if they are not within 4 minutes of reality, the check for valid software can fail.
Be very clear if your macOS installer was downloaded a while back, the signing certifications can be expired.
Be aware that even an unexpired certificate can fail to install if there are errors in the network or disk.


How can I install Mac OS X Lion in VirtualBox, or any other type of virtual machine?

10.7 (Build 11A511) guest in VirtualBox 4.1 greater
Whilst end user forums are currently limited to Mac OS X Server, not updated for Lion, there is discussion of Lion (not always Lion Server) in that context.
With the most recent VirtualBox it is unnecessary to convert disk images; .dmg files are recognised.
Depending on your approach, you might see:

This version of Mac OS X is not supported on this platform!

— (example) — I saw that at least once.
Suggestion A: await media from Apple
I recommend this most strongly.
Await Apple's provision of Lion on a USB thumb drive. It may be something greater than 11A511 and if so, that greatness may be more suitable for use in virtual machines without the need to hack (see caution below).
Suggestion B: attempt upgrade from Snow Leopard within the virtual machine
In the virtual machine: install Snow Leopard then (honouring Apple's license for Snow Leopard as far as possible in this situation) use that installation for nothing other than an immediate upgrade to Lion. Attention please to agreements at Apple — Legal.
Suggestion C: hobby hacking with BaseSystem.dmg

mount the hidden Apple_Boot Recovery HD

use ditto or cp to set aside from that volume a copy of the following file:
/Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.dmg

unmount Recovery HD

use chflags with the nohidden keyword to remove the hidden flag from the copy that you set aside

if you can boot the virtual machine from that .dmg then use Mac OS X Utilities to  reinstall using the electronic software distribution downloaded from Apple

if at step (5) you fail, discuss in Ask Different Chat.

Suggestion D: hobby hacking with InstallESD.dmg
At least one Apple Exchange user reports some success with a home-produced DVD burnt from an InstallESD.dmg
This may be most tempting and most likely to yield immediate success, of sorts, but in my estimation: hacking with this particular .dmg (ignoring Apple's .app for 11A511 as a whole) carries the greatest long-term risks.
Caution!
By using any .dmg out of context, as suggested above, you may be risking the integrity of your installation in ways that we can not predict. Please consider the following extract from Ask Different Chat:

home-produced bootable media for Lion: known risks and unknowns around 10.7 (Build 11A511)

With that caution in mind, my strongest recommendation is (A) to wait for Apple to provide USB flash media (scheduled for August 2011) with the assumption that it will be both (i) greater than 11A511 and (ii) more suitable for virtual machines and other environments that lacked broad support from Apple on the day of Lion's release.
(Bear in mind: day one was almost totally oriented to download-based upgrades from Snow Leopard.)


I had a look at the internals of a fresh Showroom layout Keynote file (it's a zipped folder actually). Inside, there is a index.apxl file which contains lots of data .. also color data. I wrote this short Ruby script to make a quick-and-dirty html file with all colors used in the Keynote document:

#!/usr/bin/env ruby

puts "<!DOCTYPE html>"
file = IO.read("index.apxl") # slurp apxl file

# iterate through file and convert color info to 8-bit integer:
file.scan(/sfa:[rgb]=\"(\d\.?\d*)\"\s+sfa:[rgb]=\"(\d\.?\d*)\"\s+sfa:[rgb]=\"(\d\.?\d*)\"/) do |w|

  r = (w[0].to_f*255).to_i
  g = (w[1].to_f*255).to_i
  b = (w[2].to_f*255).to_i
  puts "
&nbsp;
"
end

puts "" # close html

After pruning duplicate lines, this is the visual result of the process.

These colors are used in the default Showroom layout. You can now select (one click) the individual same-colored areas of a bar graph (here: grey or red).

In the graphics inspector () you can change the colors according to your wishes. Pick the colors from above graphic with the color picker like this:


"Play/Pause" button on remote does nothing, Apple TV 4K

Thankfully they have just fixed this issue.  If you update to the latest Beta version, it works again.


In Photos, can you crop and scale original to save space?

Any edit will always increase space used, as it will keep the original in Masters & add a new edited version.

It's the 'safest' method which is why I presume it's done that way.

If you want total control over your pictures, you need a more pro-oriented application.

Having said that - my own workflow only uses Photos as a 'show it to people & carry it on the phone' structure. All my real work I do in Photoshop, ViewNX-i etc... but the downside of that is I end up with far more safety copies & work in progress/files with different icc profiles etc than I would if I just used Photos.
One picture can end up having 1GB of variations, + backups in 2 other locations.


Apple script Call the following handler when.... assign applescript situations

I think your question is, "What does this script do?". This script is a sample script, that will receive a text message invitation. If the name of the person sending the text message is "Johnny Appleseed", it will respond in the chat with a text message that says "Hello Johnny Appleseed!".


AppleScript: How to get time without seconds? Alternatively, how to remove text in middle of string?

Here is an AppleScript subroutine I found doing a Google search that does what you asked.

on getTimeInHoursAndMinutes()
    -- Get the "hour"
    set timeStr to time string of (current date)
    set Pos to offset of ":" in timeStr
    set theHour to characters 1 thru (Pos - 1) of timeStr as string
    set timeStr to characters (Pos + 1) through end of timeStr as string

    -- Get the "minute"
    set Pos to offset of ":" in timeStr
    set theMin to characters 1 thru (Pos - 1) of timeStr as string
    set timeStr to characters (Pos + 1) through end of timeStr as string

    --Get "AM or PM"
    set Pos to offset of " " in timeStr
    set theSfx to characters (Pos + 1) through end of timeStr as string

    return (theHour & ":" & theMin & " " & theSfx) as string
end getTimeInHoursAndMinutes

set CurrentTime to getTimeInHoursAndMinutes()


Synchronize two working external drives over network

This ServerFault entry asks a similar question. The answers there are rsync and a product called Unison. It sounds like either solution fits the problem you have in front of you.

For rsync, something like the following recipe would likely work (I haven't run this, so the syntax may need some fiddling):

# sync drive.2 to drive.1
rsync -av --stats <user>@computer.2:/path/to/drive.2 /path/to/drive.1/

# sync drive.1 to drive.2
rsync -av --stats <user>@computer.1:/path/to/drive.1 /path/to/drive.2/

And Unison, the other option from the ServerFault entry, looks like it's a software package designed specifically to solve your type of synchronization problem.


Any application that can split scanned PDF's on an iPad?

PDFPen for iPad

has recently been released. It will permit you to split PDFs by saving a new copy of the PDF and then deleting pages you don't want.


Restart your Mac.
Do not change any settings

Execute chmod -RN ~/Library/ in terminal.

It'll restore permissions for your library folder.
After the command have finished running (it can take from seconds to several minutes) try to change the dark setting, and restart.


To fix the problem you should try to see if the problem is hardware or software.
We are going to rule out software because of the hardware testing that was completed.
As noted in OP's comment

... But I tried connecting the wireless keyboard to my MacBook, and the Eject key did not work there too ...

Since this problem persisted across multiple macs that strongly points to a hardware issue with the eject key on that Apple wireless keyboard.
If your Mac that the keyboard came with still has some coverage under AppleCare then Apple should cover repairing or replacing the keyboard according to  AppleCare - Mac and Apple Display Coverage

What’s covered — Mac

Your Mac computer

Included accessories such as the power adapter


How can I log in again after downgrading a 1st-gen MacBook Air from Lion to Snow Leopard?

You may want to try the method described here under 'Reset Mac Password – without a CD'. This method resets the OS so that it thinks that it's the first time it's been run. This will kick off the Create New User Account wizard when the OS is rebooted, which allows you to create a new account with Administrator rights. You can then use this account to reset the password of the original account.

Extract from above article:

  Stage 1) Boot into Single User Mode and remove a setup file

  Restart the Mac holding down the Command+S keys, this will take you
  into Single User Mode and it’s Terminal interface
  You’ll need to check
  the filesystem first: fsck -fy
  Next, you must mount the root drive as writeable so that changes will
  save: mount -uw /
  Now, type the following command exactly, followed by the enter key: rm
  /var/db/.applesetupdone
  After removing the applesetupdone file, you need to reboot, type
  ‘reboot’ and hit enter.

  Stage 2) Create a New User Account upon System Boot

  You aren’t finished, but the hard part is now over – no more
  command lines, you’ll now be in the familiar Mac OS X GUI to finish
  the password reset process. In this step we just create a new user
  account as if you just got a new Mac:

  Upon reboot, you will be presented with the traditional “Welcome
  Wizard” startup screen just like when you first get a Mac
  Follow the
  welcome wizard and create a new user account – making the account name
  different from the account whose password you want to recover
  Continue on and boot into Mac OS X with this newly created user account, this
  new user account is an Administrator and has administrative access

  Stage 3) Reset the Forgot Password via System Preferences

  You are almost done, now you just need to reset the forgotten user account
  password using the Accounts control panel:

  Once you are booted into Mac OS X, click on the Apple logo and then
  navigate down to “System Preferences”
  Click on the “Accounts” icon in
  System Preferences
  Click on the Lock icon in the lower left corner of
  the “Accounts” preference window and enter the newly created user
  credentials, this enables you to change other user accounts and reset
  other users passwords
  On the left side user panel, select the user
  account containing the forgotten password
  With the user of the
  forgotten password account selected, click on the “Reset Password”
  button
  Enter a new password for that user, be sure to include a
  meaningful hint so you don’t forget it again!
  Close System Preferences
  and reboot the Mac
  You can now login to the previously inaccessible
  user account using the newly reset password! All user files and
  settings are maintained as before the password was forgotten


two itunes libraries - one on external hard disk

iPhone can be synced to only one iTunes library at any given moment. If you want to add songs to the iPhone, you must add them to your MBP's iTunes library and then sync to the iPhone.


Keyboard Shortcut for Creating a new Desktop (new Space) on MacOS

Found a solution with apple script here, credit to @codehearts:
https://github.com/ianyh/Amethyst/issues/143

tell application "System Events"
  do shell script "/Applications/Mission\\ Control.app/Contents/MacOS/Mission\\ Control"
  click button 1 of group "Spaces Bar" of group 1 of group "Mission Control" of process "Dock"
  do shell script "/Applications/Mission\\ Control.app/Contents/MacOS/Mission\\ Control"
end tell

The script can be either saved as a ...applescript file with #!/usr/bin/osascript line to run in the shell, or bind to a key directly in Alfred to start a new desktop through Mission Control.


In Xcode 4.3, where do I put the additional tools?

Find Xcode.app and open it by 'Show package content'
Drag and drop new development tool from downloaded .dmg to /Applications inside Xcode
Add yourself to 'Sharing & Permissions' of /Resources with rights to read/write
Repeat step 3 for file

 /Resources/IDEHelperApps.plist

Open file IDEHelperApps.plist in TextEdit.app
Add string with name of added tool to first array. For example:

<string>Contents/Applications/PackageMaker.app</string>

Save .plist and restart Xcode.


Applescript to reboot router by clicking on buttons

There's no way for me to know if this following code will help you, without being able to see the website and test the script.  The action for clicking a button in Safari (by identifying the button by its ID), requires the use of JavaScript within your AppleScript code…

As long as this button is not within a drop-down menu or pop-up window or something else, this script should work for you

tell application "Safari"
    do JavaScript "document.getElementById('menu_tools').click();" in document 1
end tell


Why not put the finished books in a folder?

That’s an easy way to get them out of the way. Also, since you are on a Mac you can easily export / delete / file them outside the app so you have a backup that’s easy to manage and a clean slate for new reading.


Changing terminal colors for normal files when ls -G or within .bash_profile

I don't think colorizing the file names of regular files is possible with ls alone (i.e. without postprocessing the output with another script):

The manual page for ls (shown when you type man ls) does not mention this possibility.
I would expect that the ls coming with Mac OS X is very similar to the BSD version of ls, since there seems to be little motivation for Apple to make changes in this area.  The source code for BSD's ls is available online, e.g. the FreeBSD version is on GitHub.  The function which selects the color for a file name is colortype() in the source file bin/ls/print.c.  And checking the source code it is clear that at least the BSD version of ls does not have the ability to change color when printing the names of a regular file.