Is there a way to list all available commands in terminal

In zsh you need to enable the completion system. Please read through man zshcompsys. To install the completion system enter the command

compinstall

and follow the directions. Check the fpath variable

echo $fpath

in my situation I needed to declare the variable in my .zshrc

fpath=(/usr/local/share/zsh/5.0.7/functions)

This is the location of my zsh functions. After the compinit line in your .zshrc add the following lines

autoload -Uz bashcompinit
bashcompinit

This is the completions entries in my .zshrc

#\\\_ COMPLETIONS _///#
zstyle :compinstall filename '/Users/fd0/.zshrc'
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
autoload -Uz compinit
compinit
autoload -Uz bashcompinit
bashcompinit

I can now enter the command compgen -c and it behaves similar to bash.


scp (secure copy) in lieu of vmware disk-sharing

If you're trying to connect from Linux back to your Mac you'll need to make sure ssh access is enable on you Mac first. Go to System Settings -> Sharing and make sure the Remote Login option is check.

This dialog will also tell you the the IP address of your Mac and the account name to use to connect. If your Linux VM's network is set to Bridged you can work with your Mac as if it was any other machine on your network. They both have unique IPs in your local network. So:

From a terminal window on your Linux VM you can now do:

scp <stuff to copy> <your mac user name that users returned>@<ip address of the active interface>:/path/to/put/stuff/at

For example, according to my settings, if I wanted to copy from a terminal window on my Linux VM to my Mac I'd do:

scp myfile.txt ian@192.168.1.99:~/tmp/

That would put myfile.txt from my Linux VM in to /Users/ian/tmp on my OS X host OS.

Similarly, from the Linux VM:

scp ian@192.16.8.1.99:~/tmp/myfile.txt .

Would copy myfile.txt from the Mac back to my working directory on the Linux VM.

If you're trying to connect from your Mac to your Linux machine you need to make certain that the ssh daemon is running on your Linux machine. To start sshd, open a terminal on your Linux machine and type:

sudo /sbin/service sshd start

If it starts correctly you'll see a [START] box. If it fails, well, that's a question for https://unix.stackexchange.com/.

Now you just need to get the IP address for your Linux VM. At a terminal window on your Linux VM type:

ifconfig

The eth0 interface should be your active ethernet interface. Grab it's IP address. That's what you'll use to connect to your Linux VM from a Terminal window on your Mac.

Open a Terminal window on your Mac and type:

scp <local file> <username>@<ip address you got above>:~/tmp/

to copy the file from your Mac to your Linux VM while you're on you Mac.


What you need to do when you want a fresh install is to follow these steps on here:

How to create a bootable installer for macOS

and then boot from it (press and hold ⌥-Option while powering up) to install the OS.

Other then the above proceddure this formats the drive completly so I recommend to do a backup before even though you have everything in the cloud. Sorry, nevermind since you add a new SSD.

After finishing the installation keep in mind to enable TRIM since you installed a 3rd-party SSD!
Then you can copy all your needed files.


iPad 3 not connecting to a cellular network at all

Which iOS version is installed? Did it ever work since you bought it? Have you updated the iOS since you own the iPad?

Your description reminds me of my fahter's 2nd hand iPhone 3GS. He bought it and updated to the latest iOS 6.0.1 without knowing that the iPhone he bought was jailbroken. The update made the iPhone totally worthless because it could not connect to mobile network nor WLAN any more.


How can I prevent the iCloud dialog from showing up for new users?

From a Terminal window:

  sudo defaults write /System/Library/User\Template/Non_localized/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE

Source


Is iPhone activation locked if Find My iPhone is disabled?

If you disabled "Find my iPhone" you don't need an Apple ID to reactivate the phone. You will be asked for an Apple ID to log into iCloud etc. but this step can be skipped.

Since you are still stuck at the SIM prompt, it's too early to know if the device is activation locked yet. Pass that step and then you'll know.


Hidden web server
The web server running on your server is the one used by cupsd to manage your printers queue.
The command:
nmap localhost -p 80

will show you that it is actually closed, unless you activated the sharing of a printer.
You can stop cupsd either through the GUI of System Preferences… or with launchctl:
/usr/bin/sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cups-lpd.plist
/usr/bin/sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cups.plist

Nmap
If you don't have nmap because your version of MacOS doesn't anymore bring this useful software (which is a total failure for people who need to analyse network problems) you can easily install it with Macports or Brew. I estimate uou will need 15 minutes to install it, read the basic documentation. Within less than half an hour you will be able to discover holes through which your system can be attacked.


You should be able to use iPartition to solve this problem. I've had a lot of success with re-partitioning drives that failed when trying to use Disk Utility. It also depends on the partition scheme on the drive. If the scheme doesn't support repartitioning you will have to wipe the drive and start fresh.

I would suggest a GUID partition scheme.


AXSelectedRows: Getting selected rows for AXOutline

I guess getting the value of AXSelectedRows is just something that has not been implemented. When I open a Finder window in list view, select two rows, and run this script:

tell application "System Events" to tell window 1 of process "Finder"
    value of attribute "AXSelectedRows" of outline 1 of scroll area 1 of splitter group 1
end tell

The result is:

{application "System Events", application "System Events"}

However you can use a whose clause to get the selected rows without using a repeat loop:

tell application "System Events" to tell process "Finder"
    rows of outline 1 of scroll area 1 of splitter group 1 of window 1 where selected is true
end tell


I think iOS 14 may have British PC as an option now.
If not, or if you can't upgrade, there’s no way yet to add or customize hardware layouts in iOS, even via an app, as far as I know. You can ask Apple to add this feature via
http://www.apple.com/feedback


Home button unresponsive after left inactive

There are a range of possible fixes. Have you tried the following?

Recalibrating

Recalibrating the home button appears to fix the issue for a majority of the users. It happened with our iPhones here. When the home button gets a bit tricky and unresponsive, this is what we usually do:

Open an app. Any default iOS app. (Weather, Clock etc.)
Hold the Sleep/Wake button (Power) till the ‘Slide to power off’ appears
Now press and hold the home button till the slide goes away and you get to the homescreen.
(You’ll notice that the app is closed)

This should fix the calibration issues and make the home button work better. Of course, while the thing works well, the calibration appears to wane away after sometime. For some, this happens within a week or so. For some, this happens after several weeks or months.

Cleaning / Dusting

Sweat causes moisture. There’s dust all around. And with the kind of little spaces that the home button’s edge has, it is very much possible that the unresponsiveness is due to dust clogged in it. Usually, repair takes up a lot of time and money so you can try cleaning the thing yourself.

One of the best ways to clean the home button without having to play around with the screws is to just press the button and air dust it. This usually blows away some of the clog dust and helps you get back some good responsiveness with the home button.

If all else fails:

Reset: go to Settings -> General -> Reset -> Reset All Settings. Have a data backup just in case.


Syncing and deleting categories in Outlook?

You can delete the category by finding its ID and using the command:

delete category id <#>

So something like this works fine:

tell application "Microsoft Outlook"
    set badCategory to "foo"
    set allCategories to every category
    repeat with varCategory in allCategories
        if name of varCategory is badCategory then
            delete category id of varCategory
            log "name = " & name of aTag as string
            log "id = " & id of aTag as string
            log "deleting it!"
            exit repeat
        end if
    end repeat
end tell


I had no .vimrc yet, when I added a .vimrc file, the Explorer worked without any problem.

But even without .vimrc or .gvimrc, the Explorer worked correctly in MacVim.


Grant non-admin sudo privilege, but with `~` being his own home~

There is a flaw in bruce's home folder probably: the permissions of ~/Library/Preferences/Preferences are wrong. Therefore the script doesn't work as expected.

Check the following output in my environment executing the script logged in as admin. I slightly modified the script and replaced ls ~/Library/Preferences/Preferences by ls -la ~/Library/Preferences | grep "loginwindow"

/Users/bruce/bin/sh/test-env.sh
batman
/Users/batman
-rw-------    1 batman  staff     192 27 Nov 13:42 com.apple.loginwindow.plist
-rw-------    1 batman  staff     198 24 Okt 21:43 loginwindow.plist

sudo /Users/bruce/bin/sh/test-env.sh
root
/Users/batman
-rw-------    1 batman  staff     192 27 Nov 13:42 com.apple.loginwindow.plist
-rw-------    1 batman  staff     198 24 Okt 21:43 loginwindow.plist

sudo -i -u bruce /Users/bruce/bin/sh/test-env.sh
bruce
/Users/bruce
-rw-------    1 bruce  staff      95 27 Nov 13:40 com.apple.loginwindow.plist
-rw-------    1 bruce  staff     198 27 Nov 13:36 loginwindow.plist

sudo su bruce
/Users/bruce/bin/sh/test-env.sh
bruce
/Users/bruce
-rw-------    1 bruce  staff      95 27 Nov 13:40 com.apple.loginwindow.plist
-rw-------    1 bruce  staff     198 27 Nov 13:36 loginwindow.plist
$USERNAME = root #check this by entering `env` in the shell additionally

sudo su -l bruce
/Users/bruce/bin/sh/test-env.sh
bruce
/Users/bruce
-rw-------    1 bruce  staff      95 27 Nov 13:40 com.apple.loginwindow.plist
-rw-------    1 bruce  staff     198 27 Nov 13:36 loginwindow.plist
$USERNAME = <empty>

Also: there is a major misunderstanding how sudo/su really works. Your admin batman never runs a command "on behalf" of another user. If you enter "sudo some_command" or "sudo -i -u user some_command" it's always the super user's elevated position (and the privilege of an admin to run sudo as determined by the sudoers file and "make himself super user" temporarily) which "executes the command successfully on behalf of another user".

If you have to execute commands with escalated privileges on a daily base with your non-admin user, add him to the sudoers file and add a restricted number of commands only.

Example (control Apache web server):

bruce ALL=(ALL) /usr/sbin/apachectl

or without the requirement to enter a password after executing sudo apachectl as bruce:

bruce ALL=(ALL) NOPASSWD: /usr/sbin/apachectl

Or modify the scripts appropriately to stay within bruce's realm.

That said the advice/practice that "the daily user shouldn't be a sudoer" is still valid.

Homebrew is a different beast: it's designed to be installed by one user only - an admin user. Most apps/executables provided by the homebrew environment can be launched by a standard user after modifying the user's $PATH though or using the full path.

Several how-tos exist how to set up homebrew as a multi-user environment (e.g. My Homebrew Multi User Setup). I don't know if this still applies to newer OS X systems/brew versions.


How to block everything except my connection to the VPN?

Little Snitch (a highly customizable firewall for macOS) has the functionality you are looking for.

First create a profile for a VPN connection. (allow all in/out traffic) Then create a second profile, which would block all in/out traffic. Lastly, set-up automatic profile switching based on the current state of connection to the VPN server.

Check out this guide for more info.

  Once you’ve got Little Snitch’s automatic profile switching enabled,
  it will prompt you to choose the appropriate profile when you join
  foreign networks. You should obviously choose your untrusted profile.
  For both your known trusted networks and your VPN connection, you
  should configure the trusted profile to be selected. Once you’ve done
  this, all the pieces will come together. When you are on a public
  network, you can select the untrusted profile, and it will block all
  traffic until you establish a VPN connection. After that, it will
  automatically switch over to your trusted profile.


Unable to reactivate cancelled MobileMe trial account

That account shouldn't be burned since Apple explicitly allows for renewal of expired trials as part of the normal upgrade process. You will very likely lose your data if it has been expired past 15 days but you shouldn't lose the account if you still know the password and can answer security questions or account history questions if you get to a human for support.

The system is in the middle of a change where they are phasing out physical box with activation codes and moving to all online activations.

If you can't renew it following this link then hop on the Express Lane and ask for help with Mobile Me billing. You should get connected to someone that can look up your account and see why it might be blocked.

I have had success adding these accounts as a sub-account on a family pack as well, but that involves more money or finding a friend to "resuscitate" your account long enough to renew it as a stand-alone account.


Purchased new MacBook Pro on 16th October 2011; question about Up-To-Date program

Probably not, but you should contact Apple in your country to get a definitive answer.


Why is my hard drive still full after deleting files?

You also need to empty the Trash. Right click on the Trash icon (far right of the dock) and choose Empty Trash :)

To view your hard drive, open a new Finder window. Then in the menu, click Go → Home to see your user directory. Or choose Computer to see your whole hard drive.


Time Machine - List of Files that were backed up

The command tmutil compare lets you compare file lists if you don't want to do it using ls or other commands that can show differences in files and folders like rsync and many graphical diff programs.

You can list backup paths and then copy them into the compare command. Example:

sudo tmutil listbackups
sudo tmutil compare "path1" "path2"

Many people adore BackupLoupe as well. It makes a powerful database of what files are included with each backup interval.


Cannot use FaceTime HD Camera on VirtualBox Ubuntu 18.04 guest OS

Your problem seems to be that Ubuntu 18.04 doesn't come with support for the FaceTime HD camera out of the box. In addition to setting up VirtualBox correctly (which you seem to have done), you'll also need to install driver support within Ubuntu.

You can use the script given here:

https://gist.github.com/Stono/990ea9f0b3c41606c292f00382d421bf

or download the driver source code manually here:

https://github.com/patjak/bcwc_pcie

The GitHub link also has pointers to a Wiki with more information.


How can I create a custom behavior for a URL scheme?

I found my answer using AppleScript:

https://support.shotgunsoftware.com/entries/127152-Launching-External-Applications-using-Custom-Protocols-under-OSX

Create an AppleScript that uses on open location this_URL
Save as Application
Edit the Info.plist of the Application with:

<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLName</key>
    <string>Magnet</string>
    <key>CFBundleURLSchemes</key>
    <array>
      <string>magnet</string>
    </array>
  </dict>
</array>


Macbook Pro wont open apps or download content due to Error Code: -50.

-50 is a file system error: "Error in user parameter list" (see https://support.apple.com/kb/HT1618)

What OS X version are you on? https://support.apple.com/kb/HT4718 or Will reinstalling Lion erase all my documents and applications? maybe helpful.


F7, F8, F9 media keys no longer works in High Sierra 10.13.1

First I would prefer to restart Mac system.
you can change your function shortcut keys.

Change the behavior of function keys on your Mac

You can use the top row of keys on your Apple keyboard as standard function keys or to control built-in Mac features.

If your Apple keyboard has icons printed on some of the keys on its top row,

these keys can be used to perform the special features shown in each icon. They can also be used as standard function keys (F1–F12).
The action performed by standard function keys varies depending on the app you're using, or depending on the keyboard shortcuts listed in the Keyboard & Mouse pane of System Preferences:
By default, pressing one of these keys performs the special feature indicated by the icon printed on the key. For example, pressing the keys with speaker icons adjusts the volume.

If you prefer the top row of keys to always behave as standard function keys without holding the Fn key:

Choose System Preferences from the Apple menu.
Click Keyboard.
Click the Keyboard tab if it's not already highlighted.
Select "Use all
F1, F2, etc. keys as standard function keys"

With this option enabled, the keys on the top row act as standard function keys (F1–F12). To use a feature indicated by the icon printed on a key, hold Fn while pressing the key.


How do I ensure iphone wont use cellular data?

In the Settings App, go to General -> Network.

Flip the switch beside Cellular Data to OFF.

That is all. I don't have a data plan and I leave it off and have never been surprised by additional charges on my bill.


The latest OS that will run on your machine is Snow Leopard. There is no software download for OS X Snow Leopard. You need to find the install disk, buy a new install disk, or take your laptop to an Apple Store, where they will reinstall the OS for free.


How do I get my Google contacts in Gmail on my Gmail app on the iPad?

I don't know why everyone seems to over complicate this, you don't need to export contacts and import them somewhere else nor do you need exchange. Steps to sync contacts with your iDevice are as follows:

Plug your device into your computer and open iTunes
Select your device in iTunes and click the "info" tab
Check "Sync Contacts" and then "Sync Google contacts"
Enter your google login info

Done! Contacts will sync with gmail.


Recoverability with HFS Plus following removal of a disk from RAID 0 hardware or software

In a RAID 0 set established by Disk Utility you, of course, have zero redundancy. The moment one of the drives is lost from the set the entire set becomes useless and you have a volume failure. If (and only if) no attempt was made by anything to write to the volume while the physical drive wasn't there you might be lucky and it will be OK but otherwise you will have a problem.

At that point any recovery is going to be difficult. Any attached Mac will just see the volume disappear. I've seen this happen a number of times and getting the data off was only ever partially successful (and a small part at that) and extremely expensive. My advice to a couple of customers who've had it happen is just give it up as a joke and go to the backups. Chances of good data recovery are so close to zero as makes no difference.

If you are extremely lucky and there was no attempt to write to the volume and the heavens smile upon you then it is conceivable that a volume repair might work. I've actually seen it happen - once.

For a hardware RAID 0 it's pretty much the same.

The only place I like to use RAID 0 is in a separate hardware drive array such as the Promise boxes for a user who really needs the speed for something like video editing.

If you really need the speed of RAID 0 then make sure you have really good backup policies.


How to add a 2nd account to receive imessages

It is possible.

Go to Settings > Messages > Sending and Receiving > Add e-mail address

This works for FaceTime as well:

Go to Settings > FaceTime > Add e-mail address

However, as Mike and Tetsujin stated above, it is not possible to use multiple iCloud/Apple ID accounts on the iPad ;).


Why do the new iMacs have mobile video cards?

Four factors are in play for choosing how to design a system:

Space
Cost
Performance
Reliability

I certainly won't speak for Apple's engineers, but buying in volume lets a video chip manufacturer pack more performance in a lesser cost package. Any performance that isn't balanced with the rest of the system is wasted performance. One would presume this was the optimal choice for the new iMacs given the state of components available.

Performance is also about efficiency - so if the raw benchmark is big enough to drive three huge monitors on the 27 inch model, why not choose a smaller mobile chipset, manage less drivers in the OS, reuse the same chip on the mobile line and free sourcing, engineering, testing and repair inventory assets for other more pressing problems to solve?

We will soon have benchmarks to see whether the designers did their jobs well this revision. My limited testing shows the new iMacs to scream compared to old MacPro and iMacs which were no slouch in the graphics department by my standards.


Scrolling does not register each click of the wheel

This site is very helpful and I discovered this post: Change the mouse wheel scrolling acceleration

It's exactly what I needed!


What have I done to Preview in Yosemite?

I just tested this. Clicking the Arrow tool does indeed simply add an arrow instead of having you drag it out first.

I rarely if ever use the Annotate toolbar, so I am certain I have not made any changes that would have caused this. More likely, the upgrade to Yosemite changed how this tool works.


Process "accountsd" has over 500% CPU usage

Alright after several unsuccesful restarts, Diagnostics (starting mac while pressing D), recovery and safe mode starts. I did a "force quit" of this accountsd process and after that, I made a hard shutdown of my mac (holding power button for 10 sec). Apparently this seems to reset the SMC of the Mac.
Now everything is working fine again. The accountsd process is at 0% CPU and I can use my mac in the usual way.
What I cant say is: Did the "force quit" of said accountsd process resolve the issue or the SMS reset?
For anyone having the same issue and finding this thread: I would try both and see if it works for you.


iPad Pro iPadOS 14.5, last highlights and notes on Books is lost every time I close Books or shut down

iOS and iPadOS 14.5 are currently beta operating systems and are expected to have bugs and other random issues. As of this writing, they are on developer beta 2 and public beta 1. There will likely be over 5 betas before this version is officially released.
You should not use beta software on your primary devices or on any devices on which you depend. You should report any bugs you find to Apple using the Feedback app (purple/pink icon) that appears on your Home Screen or app drawer when you install beta software on your Apple devices. If you are not willing to live with bugs/issues and report them to Apple, you should not install beta software.
There’s nothing anyone here can do to help you with beta Apple software. If you report the bugs to Apple, they will likely fix it before releasing the final version.
You can either downgrade your device to a final version of iPadOS such as 14.4 (recommended) or wait until the next beta is released and hope it is fixed by then, but there are no guarantees about beta software and the next version could actually be worse than the current one you have.
Reinstall Apple Books
Sometimes with beta software resetting settings, apps or even the whole device might work. You can try reinstalling Apple Books.

Make a backup of all of your files. PDFs, books and anything you have imported into Apple Books. You already have a backup if you use iCloud and Apple Books and iCloud Drive are enabled on Preferences > Your Name > iCloud. Make sure the backup has finished synchronization before proceeding.

Delete the Apple Books app and download it again from the App Store. Then try again and see if it fixes your issue.


Change global system property for file.encoding

You've got it the wrong way round, the issue is not the OSX default encoding which is UTF8, but Java's default encoding under OSX which is MacRoman

Apples Mac Developer docs on Java see the section 'Character Encoding'


Since Lion it is possible to run a virtual copy of Mac OS X on Apple hardware (e.g., with VirualBox, Parallels, VMWare).

You could install a clean copy, take a snapshot and use this fresh installation for tests.


How can I make earphones with full inline controls work with VLC/Spotify?

I just wrote a simple Mac app to solve this problem. Give it a try.

(Tested on Mac OS X EI and Sierra. Not working for 10.12.4.)


Restore ebooks (PDF) from iTunes backup?

There is an application called iPhone Backup Extractor that will help you extract data from an iPhone backup. it will convert the files you see in the backup with randomly generated names to things you will recognise.
When you run the application and identify the backup you want it to use it'll give you a list of all the application data contained within the backup. BTW you'll need to move the backup folder so its sitting at /Users/YOURUSERNAME/Library/Application Support/MobileSync/Backup/LONG_GIBBERISH_STRING for iPhone Backup Extractor to find it.
I'm not 100% certain where Apple stores books/documents that haven't been purchased but my guess would be within either "com.apple.iBooks" or "iOS Files".


Transferring a single folder from a Time Machine to a different Mac

You can also copy the folder from Finder from /Volumes/<Time Machine volume name>/Backups.backupdb/<Mac name>/.

If your backup is on a network volume like a Time Capsule, open the sparse bundle file like /Volumes/Data/Your Mac.sparsebundle/ first.

You can also run a command like cp -a /Volumes/Time\ Machine/Backups.backupdb/Your\ Mac/2014-07-17-184058/HD/Users/username/folder ~/Desktop or tmutil restore /Volumes/Time\ Machine/Backups.backupdb/Your\ Mac/2014-07-17-184058/HD/Users/username/folder ~/Desktop in a shell.

Finder and tmutil restore remove extended attributes like com.apple.metadata:_kTimeMachineNewestSnapshot but cp doesn't.


Sharing a Bluetooth Keyboard and Mouse sequentially between two Macs

I, too, was looking for an answer to this very question. Here is the solution that I came up with:

Go to System Preferences -> Bluetooth
Click 'Advanced'
Make sure that 'Allow Bluetooth devices to wake this computer' is
unchecked
Click 'OK'

Now, when I want to switch from my main computer to my MacBook Pro, I put the main computer to sleep and wake up the second one. The bluetooth keyboard and mouse both switch over to the laptop and away I go. When I want to return to the main computer, I put the laptop to sleep and wake the Mac Mini using its power button.


That sounds like the main difference between a US and a UK keyboard. On a UK keyboard the " is above the number 2, and on a US keyboard the @ is above the 2.

Is the keyboard UK or US?

And is the Mac set to have a UK or a US keyboard attached?


What is the "keep alive taking too long to send" error indicating?

I have "solved" the issue by factory resetting my Airport Express.
This does seem a bit of a sledgehammer approach, so everyone is still welcome to post a real solution.


Can I change the startup sound on macOS Big Sur?

On an Intel Mac, the startup chime is part of the Mac's firmware. You can't just replace it, like you could a normal audio file.
Think about this logically—the startup chime plays as soon as you turn on your computer, before it loads the operating system. And if you wipe your hard drive, the sound will still play. How would that be possible, if the chime was stored on your drive?


Catalina Upgrade Cannot Delete Relocated Items

As this questi9on has had over 1k views, it seems it is a common issue. Therefore, I thought I would outline what I did to get it resolved in case others find it useful.

When I first tried to remove the link, I was told the operation was not permitted. Looking at the link, I could see it was owned by 'root' and in the 'wheel' group. I therefore then tried to remove it with sudo i.e.

sudo unlink X11

This failed with the same error. I also tried

sudo rm -rf X11

but this also failed with the same error. I then posted here asking for help and @Danijel-JamesW added a comment with a link to a useful article which provided some background on the new security features initially introduced in the previous version of macOS, but extended in Catalina. One of the things this article highlights is that some applications, like terminals and editors (in my case Emacs), need to have the full disk access privilege. Without this privilege, you will often get operation not permitted errors in unexpected locations/situations. Unfortunately, this was not the issue in my case. My terminal app (iTerm2.app) had the necessary permissions. However, the article did indicate that you could also get around the operation not permitted error by disabling SIP (System Integrity Protection). This was going to be my next move. However, in the end it was not necessary.

Thanks to a comment from @user3439694 I found out that you can boot into recovery mode and use the terminal to delete the file. THis is what I did

Boot holding down commmand + R
Click on Utilities and select Terminal from the top menu
Enter rm -rf /path/to/file/to/remove
Reboot

This solved my issue. One important thing to note is that working in the recovery terminal is powerful and potentially dangerous. You need to make sure you are deleting what you mean to delete. To be extra safe, instead of immediately issue the rm command, you can use ls -l to make sure you have the correct file or directory and then hit the up arrow to bring back the command from the history, move to the beginning of the line, remove the ls -l and type rm -rf, leaving the path unmodified following the rm -rf. Note also that the -r means recursive and -f means force - very powerful and dangerous. It will essentially remove everything from the point specified in the path downwards i.e. all sub directories and files. So, if you get that path wrong, you may end up deleting much more than you expected to.  In my case, the path I needed was

/Volumes/Macintosh\ HD\ -\ Data/Users/tim/Desktop/Relocated\ Items

my login account is 'tim'. the '\ ' are needed to escape the spaces in the path. Most systems will have the path starting with /Volume, but the drive name may differ (i.e. Macintosh HD). the '- Data' is fairly standard.

Anyway, this fixed the issue and those irritating files are now gone and my Desktop folder is clean (for now!).


Can I move my Dock to the left side of my right monitor?

I too have tried to have this setup, looking in display settings the closest thing that worked was this. It's not perfect but it does the job! Rearrange the left screen so that the screens meet at diagonals.


Turn on Remote Login under System Preferences >> Sharing

It will enable the sshd service and allow you to connect.


How to set up routing tables on OS X to redirect VPN traffic?

If your VPN client sets a default route when it connects you'll have to delete that route after connecting.  Then the static routes that you've configured should take effect.  To edit routing table in macos you should use the route command with sudo.  The synopsis is:

route [-dnqtv] command [[modifiers] args]


How can I get Siri to shuffle all songs by Phish?

Put all your Phish in a playlist, and give it a name like 'tunesofish'. Then simply say "shuffle playlist tunesofish". Siri will open the playlist and play it shuffled.

Here, I've asked Siri to play my Comedy playlist:

This works with a smart playlist set to auto-add everything from artist "Phish":


How good is Yosemite - Is it worth to upgrade now or wait till it stabilizes

There are some bugs as in every .0 release, but your mileage may vary as to which ones (if any) end up affecting you. Unfortunately nobody can predict that. If you are concerned about a critical production system being put out of commission, it is probably best to wait for 10.10.1.


iphone jailbreak - its asking for active sim card

At the risk of stating what you've probably already tried... Insert the Chinese sim card you want to use.


How to remove the download tab still appearing on videos after uninstalling Wondershare AllMyTube

To properly uninstall Wondershare AllMyTube for Mac you have to remove additionally the following files or folders - besides the app itself:

/Users/[user]/Library/Application Support/MediaDownloadKit
/Users/[user]/Library/Application Support/Wondershare AllMyTube
/Users/[user]/Library/Application Support/Safari/Extensions/AllMyTube.safariextz

If you have no other Wondershare apps you may also remove:

/Users/[user]/Library/Application Support/wondershare

with [user]: your user name

If you usually use Chrome check the Chrome extensions from inside Google Chrome and delete the Wondershare AllMyTube extension. In Firefox check the Add-ons and delete the Wondershare AllMyTube add-on.

Usually the user's Library folder is invisible. To open it use in the Finder's menubar Go -> "Go to Folder..." (shiftcmdG) and enter ~/Library.


My first thought is that you can try repair the disk permissions in Disk Utility. Might be a problem with some files.

Do you get the actual login prompt or just nothing happens? Do the content in the store load?


Login screen freezes after the Lion 10.7.1 update

If you have another mac at home, I recommend using the OS X Recovery Disk Assistant to clone the recovery partition. Then just insert the USB into the non-functional Mac and boot from the USB, as this will allow reinstallation of the OS.

Tip: only use these steps if the built-in recovery partition is not accessible. After taking these steps I would strongly recommend that you upgrade your OS (preferably to Mavericks) if you don't want this to happen again.


Source:

  The supported device for iOS 13 as follows:

  iPhone 11
  iPhone 11 Pro
  iPhone 11 Pro Max
  iPhone XS
  iPhone XS Max
  iPhone XR
  iPhone X
  iPhone 8
  iPhone 8 Plus
  iPhone 7
  iPhone 7 Plus
  iPhone 6s
  iPhone 6s Plus
  iPhone SE
  iPod touch (7th generation)**

But checking the fine print with ** for the iPod touch states that it won’t be available on the iPod touch until the 24th or 25th of September (depending on your location).

Your best bet is probably to try installing a developer beta or a public beta.


How to stop iTunes from automatically re-downloading?

To stop iTunes from automatically downloading, you should completely uninstall it from your computer. Simply follow the steps:

Open Activity Monitor on your Mac and kill the process "iTunes-Helper".
Open Terminal and type:
"sudo rm -r /Applications/iTunes.app".


Prevent Safari from opening minimized window

One way is to use built-in way to open new window while clicking on link. ⌘ + , to open Safari preferences > Tabs and one can see following options:

So ⌘ + ⌥ + click will open link in new window and makes it active. By adding ⇧ will not make new window active.
Also - what action you call minimizing? Because I can't reproduce any sudden window opening if window is minimized (⌘ + M)


Here’s how I would try to figure this out.

if you have a straight edge, perhaps a 12" metal ruler, try laying that ON EDGE across the keyboard at the bottom, top, and middle, and perhaps even a couple diagonal angles. I'm not sure if the newer models are like mine at home, but the keys rest just ever-so-slightly below the case, so you should be able to see if anything is approaching the ruler's edge across the span.

if you're unable to tell, something like this could probably warrant a pic or two added here, or even if just taken from your phone, which could then be examined by eye and perhaps by selection in a photo editing app. it wouldn't be 100% accurate, but if there was an upward shift of pixels in the middle versus the two ends, you might have something.

either way, better to be sure now while under warranty, so you can at least get it on notice in case it gets worse. if it's related to heat, or perhaps some sort of battery swelling, it might be more noticeable at certain times. I've had several batteries expand over the years, and I believe they all stayed the bloated width, but before they became damaging or even just noticeable, they might have swelled and reverted, I can't say.


Can I use a Shure Beta 58 vocal mic with my PowerBook MacIntosh laptop?

An XLR (the connector on the Shure mic) to USB audio device is what you need. There are several varieties on the market, but this is a very handy gadget which has worked well for me.

Shure X2U XLR to USB USB Signal Adapter


Messages shows wrong informations in the recent chats list

It's a bug. Messages will work when it works, and fail when it fails. Unfortunately there isn't a solid fix from Apple (yet).


Is there a simple or "one-click" unlock for sprint iPhone 6 plus IOS 8.1.1?

No there is not.

You need to talk to Sprint for them to unlock it, since they locked it in first place.


Restoring to 4.2 is not possible unless you had your iPhone jailbroken when 4.2 was the current version and saved Apples signature with this.

But if you only want back to iOS 4 you might still have a chance, because as far as I know 4.3.5 images are still being authenticated by Apple.

So you can try and download the 4.3.5 image (just google for it), and hold alt while clicking restore in iTunes. It will ask you with which file you want to restore.

Select the downloaded file and unless an error pops up (which might be the case if Apple decided not to allow installations of 4.3.5 anymore) you should be running iOS 4.

(Also if you do this, you should do it soon, Apple won't authenticate 4.3.5 images forever.)


Full wifi signal but horrible download speeds

WiFi signal strength only tells just that, the strength of the signal.

It is a prerequisite to have a good connection.

How ever that does not tell you about the Quality.

If you have high interference (from devices or Neighboring networks) then your RSSI will be high. It should be <70 or better (the lower the better).

Then there is the Transmit Rate value that will tell you the actual data transmit rate.

To look up all those values hold the option (alt) key while clicking on the WiFi Icon.


Are you sourcing your .vimrc.local by hand? That is not a standard file. MacVIM will read your ~/.vimrc and ~/.gvimrc. I'd suggest you keep your syntax settings in .gvimrc for MacVIM unless you want to use them in your terminal as well.

If you want to keep a generic .gvimrc that is shared by multiple systems and set your color only for this machine in .gvimrc.local you can put the following at the end of your ~/.gvimrc

" Allow for local machine-specific modifications
if filereadable($HOME . "/.gvimrc.local")
  source ~/.gvimrc.local
endif


My iPad is completely drained for almost 3 months

Keep your iPad charging for at least some hours and let's see if the battery can "wake up". Some of my old cellphones' battery only "wake up" after like one day of charging. Hope everything is alright, or you would need to have the battery replaced.


Apple Magic Keyboard connected in Wired mode - turn Bluetooth off

Yes, it works well when connected via Lightning cable only with Bluetooth disabled or enabled. I just tested it.

By the way, the keyboard charge lasts about 3-4months with everyday typing. 5min charge can last you hours. The Magic keyboard's battery last much, much longer than previous editions.


OS X Mountain Lion makes it impossible to do that, because of Security Reasons. You can’t store your Mac App Store password or iTunes Store password in the keychain. For everything else, there’s 1Password.


How can I remove Firefox using terminal?

To remove Firefox.app:

Login with an administrator account
sudo rm -rf /Applications/Firefox.app/

You get the same result by just dragging the Firefox app from /Applications/ to the trash.

If the crashes continue after reinstalling, deleting preferences and support files in the user library may help:

~/Library/Preferences/org.mozilla.firefox*
~/Library/Application Support/Firefox
~/Library/Application Support/Mozilla
~/Library/Mozilla
~/Library/Caches/Firefox


Mac Mini Server starts to unreponsive desktop

Let us assume you've broken all the users, to fix that, connect a keyboard and display and hold S to start into single-user mode and remove the set up file.  Making a new user is non-destructive and it gets you a usable shall immediately with superior tools available to diagnose and fix the issue.

My MBP will not startup properly!

When you type halt, you can then start up the Mac and make a new local admin user with correct permissions and a working home folder. At that point you can evaluate whether to:

restore from a backup
make a backup
fix whatever was broken or try to narrow down what broke
wipe and start over

If you're someone who's going to make a go of fixing things in single-user mode, I would enable SSH login which gives you a bunch better error message when user home folder Sprague and also debility to do remote maintenance  in many cases where screen sharing brakes.


Under Settings -> General -> International, you need to change the Region Format settings to specify your desired region; I'm assuming you only changed the Language settings.

When I change Region Format to French -> Canada, my lockscreen appears with the correct French date format: mardi 16 avril.


How to properly install freetype2 devel package?

Found that I needed xcode to install all dependencies (prompted me when I opened xcode). It seems to be working now..


Change the default save location for Excel 2016

In Excel, navigate to File|Options|Save.
Check "Save to Computer by default"
Enter "Default local file location"


How can I set Last Modified Date of file after using HandbrakeCLI to convert a file?

The modification date can be set with

touch -m -t 201207010742 whatever.m4v

AFAIK the creation/birth date can't be modified.

To set the modification date based on the creation date of another file you can use stat:

touch -m -t $(stat -f %SB -t %Y%m%d%H%M original-file.mov) new-file-m4v

To apply this to your script, use something like

for f in "$@"
  do
     olddate=$(stat -f %SB -t %Y%m%d%H%M "$f")
     base=${f%.*}
     extension=${f##*.}
     newfile=${base}.m4v
     echo Converting \"$f\" to \"$newfile\"
     /Applications/HandBrakeCLI  -e x264 -b 4000 -a 1 -E faac -B 160 -R 48 -6 dpl2 -f mp4 --crop 0:0:0:0  -x level=40:ref=2:mixed-refs:bframes=3:weightb:subme=9:direct=auto:b-pyramid:me=umh:analyse=all:no-fast-pskip:filter=-2,-1 -i "$f" -o "$newfile"
     touch -m -t $olddate "$newfile"
  done


It seems that the key setting to resolve this is "When switching to an application, switch to a Space with open windows for the application."
With that box CHECKED, new windows open where I expect them to.
Closing Firefox with two windows open both on my 4K display and then reopening Firefox, now reopens one window on the built-in display and one window on the 4K display, which is weird.  I may post further updates if I figure out why or figure out how to resolve that.  But having NEW windows open on my 4K display (as they now do) reduces the annoyance factor by a LOT.


Workflow for dealing with incoming files to keep the file system tidy?

You might look at Yojimbo from BareBones. File and information manager. Quite powerful. http://www.barebones.com/products/yojimbo/


Script sort MP4 (and other) videos by orientation to portrait and landscape folders >>> IMPOSSIBLE?

You can use the test function provided by fish to compare the two dimensions:
#!/usr/local/bin/fish
for i in *.{mp4,MP4,mov,MOV,m4v,M4V}
  if test (mdls -raw -name kMDItemPixelHeight $i) -gt (mdls -raw -name kMDItemPixelWidth $i)
     mv $i portrait/
  else
     mv $i landscape/
  end
end

bash probably provides the same functionality, but I'm more familiar with fish.


You will need to sign up for a Yahoo! account by going here.

Once you have done that, you can configure Yahoo Messenger in iChat by doing the following:

Open iChat
Open iChat Preferences by going to the menu item iChat > Preferences or by hitting ⌘ + , on your keyboard
Go to Accounts
Click the + button
Select "Yahoo" from the drop down menu under Account Type:

Authenticate using your Yahoo account credentials
Enjoy using iChat with Yahoo.


Can’t get my MBP running since macOS Mojave

Lets try to repair your disk in Single User mode.

Hold Shift key during start up.

Let it finish ..

then enter

/sbin/fsck -fy

When it’s done, you’ll see a message saying “** The volume [name] appears to be OK” if everything is fine.

If it found problems, you’ll see a “***** FILE SYSTEM WAS MODIFIED *****” message. This indicates the fsck command found and fixed problems. The fsck command may find additional errors after repairing the first batch of errors, so Apple recommends you run the fsck command again if it found and fixed problems. Run the above fsck command over and over until you see a “** The volume [name] appears to be OK” message.

When the fsck command says your disk is okay, type the following command at the terminal and press Enter:

reboot


The general principle used by FileVault is the same as for any encryption scheme which allows more than one password to access the data (such as LUKS, which is commonly used in Linux environments). To summarise:

A key called the MEK (media encryption key) is used to encrypt and decrypt the data.
A key called the KEK (key encryption key) is used to generate a ciphertext version of the MEK, which we'll call X. The value of X is stored alongside the data, e.g. in a filesystem header.
A series of passwords (such as your user password and a recovery password), e.g P₁ and P₂, are passed to a standardised key derivation function to generate corresponding encryption keys that are used to generate ciphertext versions of the KEK. Let's say that the ciphertext version of the KEK generated using P₁ is C₁, and likewise, P₂ yields C₂. The values C₁ and C₂ are stored alongside X.

Now, if you know one of the passwords, you can provide it to decrypt the data. For example, if you know P₂, you can decrypt C₂ to find out the KEK. Once you know the KEK, you can decrypt X to find out the MEK. Once you know the MEK, you can decrypt the data.

This scheme allows easy addition, removal, and alteration of passwords used to access the data, since this simply requires altering the set of stored Cᵢ values. No re-encrypting of the data itself is necessary, since the MEK being used doesn't change.

In LUKS, these places to store a Cᵢ value are called "keyslots", and LUKS provides eight such keyslots.

In APFS, all such Cᵢ values are stored together in a data block called a "keybag" — in principle, the size of this keybag is unbounded, but in current practice, it's typically large enough for 7 keys. When you set up authorised users and passwords in FileVault preferences, one of these slots is used to store a Cᵢ which can be decrypted using the recovery password that is displayed to you.


Is it possible to completely reset an iPhone so its software/firmware is guaranteed to be 100% factory fresh?

No, it’s not possible if the phone has received iOS updates, which it probably has. You may be able to reset it to the factory state of a new iPhone, but not to the factory state of your iPhone, because Apple works hard to ensure that you can’t downgrade iOS to the factory version.


Mavericks 10.9.5 / MBP 17 2011 - system intermittently hangs when a USB mouse is plugged in

A clean install of Mavericks might help or even better, update to Yosemite for more bug fixes.


Your battery is dead.
You need to replace the battery.   Granted, it's a bit young at just under two years and 820 cycles, but it's not uncommon nor unheard of.  Unfortunately, batteries die for any number of factors.
With your specific battery, it appears that it won't take a charge, thus it cannot hold one.

Everything was working fine and all of a sudden this happens. I feel
if I plugged the charger in time, I wouldn't have to see all this.

There are a number of factors that contribute to premature battery death - it could have been defective from the factory or you could have subjected it to extreme conditions.  Perhaps something in between.  The point is, it happens.  There is nothing you could have done to prevent your battery from degrading.

...also a new battery isn't exactly affordable for me at the moment.
And it is also important to note that while the charger is on, it
shows orange LED. So, what should I do?

First off, the orange LED means it's sending voltage to the charging circuit or "charging" for short.   It doesn't mean it's "successfully charging" the battery.
Getting an Apple Store to change out your battery will be very expensive (minimum $500).  However, a replacement battery alone is fairly inexpensive (around $70 USD) if you are willing to change it out yourself.  ifixit.com has an excellent step-by-step guide to walk you through it.  They rank it as difficult, not because it's complex (it actually quite simple) but because the battery is glued in and you have to be careful.


Time Machine backs up a huge quantity of data on every run

Take a look at BackupLoupe:

http://www.soma-zone.com/BackupLoupe/

The blurb on the website describes what it can do far more eloquently than I can, but to summarise it's commercial software that you can evaluate for free and then pay for if you with to use it. Once you have determined which backup intervals or which files are taking up more space than you wish, you can delete files across all backups or delete snapshots as needed to maintain storage space per your requirements and preference.


How do you set the selection in iTunes in an AppleScript

Try:

tell application "iTunes"
    set originalSelection to first item of selection
    delay 5
    reveal originalSelection
end tell


Poor performance with Virtual Box on MacBook Pro 2017

The problem is Retina itself. If you use other monitor with other resolution (no retina) you'll see much better performance.
I think it's an issue with OSX and Retina/HiDPI Resolutions.


Is there a way to disable a disk or disk controller before OSX boots?

A simple solution since you are booting off a USB/Recovery disk, you could mount the drive in "read only" via diskutil:

diskutil mountDisk readOnly /dev/diskX

Now, if your USB/Recovery disk has already mounted it when it loads, you will have to unmount it first:

diskutil unmountDisk /dev/diskX

diskX is the drive identifier of the disk you are attempting to (un)mount.  You can find it by issuing the command diskutil list and finding the drive you are interested in.

From the manpage:

  Mount a single volume.  If readOnly is specified, then the file system
  is mounted read-only, even if the volume's underlying file system
  and/or device and/or media supports writing; even the super-user may
  not write to it; this is the same as the rdonly option to mount (8).
  If a -mountPoint is specified, then that path, rather than the
  standard path of /Volumes/VolumeName, will be used as the view into
  the volume file content; a directory at that path must already exist.


Can't start Xcode - stuck on installing state

There is a small progress bar under the Launchpad icon in the Menu Bar.

You can also see the current download progress by hovering over the icon.

Wait for it to end.


Make "move item" a default right click option

Sam, I don't think it's possible without a third party app. As mentioned by @Tetsujin, there is a native shortcut for moving a file Cmd+C and Cmd+Alt+V, but if you don't wish to use shortcuts, you may have to use a third party app.

I guess you could make an Automator Service, but you'd have to access it from the  "Services" submenu thing and I feel it would be more of a hindrance than a real solution.

3rd party applications that add "Cut" to the context menu:

All of these applications use the same logic as Windows, when it comes to moving files this way, which is to say backwards from how it works in macs: You start with the intent to "Copy" or "Cut" file(s) and then just normally "Paste" to complete the action. Cutting = Moving.

Should be noted that from 10.11. onward XtraFinder and TotalFinder become more difficult to run, as they need to inject code to Finder and SIP is not into that. I believe both support disabling SIP → installing → enabling SIP. I know TotalFinder does.

XtraFinder - Free app.

Adds "Cut" to the context menu.
XtraFinder Preferences > Features > Cut & Paste

TotalFinder - Paid app.

Adds "Cut" to the context menu. It's on by default.

There's an alternative Finder Preferences > TotalFinder > Menus > Show CutPaste buttons in Context Menus, which turns Cut Copy Paste into buttons all in one line in the context menu.

Though I'd highly advice against it, you can disable the tabs if that is not your thing.
More or less the same as XtraFinder with some differences.

Path Finder - Paid app.

Path Finder Preferences > Features > Contextual Menu.

Commands list on the left contains all possible context menu items, Cut being one of them and the Contextual Menu list on the right contains all the current items in the context menu. You should be aware that these are contextual... Like for example, you won't see "Copy Dropbox Link" in the actual context menu if the file is not in your Dropbox folder.

Finder replacement. The other two apps extend Finder functionality.
Has a fully customizable context menu.
In general is more customizable than the other two.
Should be noted that many things that irritate people when they first start using Path Finder can be changed from the View > Show View Options. Some of them being "Bold folders" and "Smart Sorting".

All of these application have shortcuts too:

Cmd+C = Copy
Cmd+X = Cut
Cmd+V = Paste

Path Finder and XtraFinder both have Move to... and Copy to... context menu items as well.


Macbook pro display problem: orange "smudge" appears near edge

Looks like a display issue.

If you think it's defective, take it in to an Apple Store and you may be able to convince them to replace it for free and/or at a discount.

If it's accidental damage you don't have many options other than paying for a repair or living with it.


How do I get my folder list from the dock to start at the TOP of the folder rather the bottom, when organized by date?

It makes sense if you think about it from a Finder perspective...when you click on Date Modified in Finder, you generally want the newest items at the top of the list.

That said, it doesn't make sense when the list in this case opens from the bottom (at least, not without some way to sort the opposite way). I wasn't able to find a way around this, but there are two work-arounds:

Use the keyboard shortcut Control-Command-↑ to jump up a page at a time
Use the Home key to jump straight to the top of the list (similarly, End jumps back to the bottom)

On a Mac keyboard without Home or End keys, the combination Fn-← stands in for Home, and Fn-→ stands in for End.


iPad/iPhone AnyConnect VPN wrong MTU size

Unfortunately, it isn't possible to set the MTU on iOS. There is no GUI for it, and without jailbreaking you can't access the ifconfig command line tool that would be used to configure this on OS X (I think ifconfig might not exist anyway even if you do jailbreak).

I have the same problem with a VPN I use occasionally. To use it with OS X I have to run sudo ifconfig ppp0 mtu 1270. From iOS there is no solution, however I've noticed VLC clients seem to work fine even with a broken MTU and am able to access the office network that way.

To fix this, you're going to have to configure your server somehow - that would be a good question for Serve Fault.


Why does "ls -l" display the year of my (jar) file as "16:18"?

From man ls (The Long Format):

  If the modification time of the file is more than 6 months in the past or future, then the year of the last modification is displayed in place of the hour and minute fields.

Or in other words: It works as designed.


USB Devices Disabled when no devices are connected

None of apple technical support instructions worked.
Called for Apple Care Service
Technician came with a brand new mother board
Replaced and problem fixed.

So basically it was hardware failure, which can't be answered here since the board was taken.


How do I send calls from numbers not in contacts to voicemail?

No, this is not possible with the Phone app included in iOS 10 (nor with any earlier version).


Apple not recognizing my id and password

If you go to a web browser and try logging in to the Apple ID website, can you go in and make a change to a phone number or address and have it be effective?

That will test that Apple's servers are operational much better than trusting the status page at http://www.apple.com/support/systemstatus/

Next, you'll need to verify that the date and time are set properly on the computer/device. You might enable automatic time setting and power down, restart that device to ensure it starts cleanly and connects to the network and gets the correct time.

The steps above cover all the major items that cause software update errors - the Apple side being down and the device being out of time and not having a clean start and some pending requests stuck in the queue (or other temporary resource constraint issues that a restart will clear up).


Is it safe to expand this Macintosh HD partition?

Is it safe for me to try to expand the partition back to it's original size?

Yes, it should be safe to try to expand the partition back to its size. You can do this either by dragging the line or typing a number larger than 251 in the "Size" box.

  Do I risk losing data?

Any time you make changes to a drive (including resizing a partition), you risk losing data. I would argue that the risk is small but you should ALWAYS have an up-to-date backup. Make a backup immediately before you attempt the resize.


App store still showing beta release of El Capitan months after withdrawal from beta programs?

This worked for me! After unchecking the beta software enrollment in the system settings, I ran:

sudo softwareupdate --clear-catalog

man softwareupdate doesn't document this flag, but it seems to clear pending updates from the App Store, and on the next run of the App Store it will repopulate based on the current configuration of your system, therefore it will not show the beta update, but it will still show other regular updates for your system.

man page: https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/softwareupdate.8.html


When is the nano-texture glass Pro Display XDR better than the standard one?

You kinda got it all... that's it. It's just an improved matte display that minimizes reflections and glare, at the cost of some saturation and crispness. The only difference is how the matte effect is done: in a standard matte display, it's a coating, while on the Pro Display XDR, it's etched into the glass.

In a professional environment, the requirements are really the same as a non-professional one: while the glossy version is better if you can work in a controlled lighting environment, that privilege isn't always available (such as on-location shoots), and the benefits of the matte display can outweigh the downsides. It really does just depend on preference and working environment.


What happens after a stolen Mac was remotely wiped?

Yeah u ain't getting it back! Once iCloud is turned off it can't trace like with a phone I factory reset it I don't add iCloud an that tracker the hole thing is factory reset. An that's what a thief would do reinstall it it's easy to get the firmware password. Were u insured? If so talk to Apple about them giving u another one. But straight up truth its long gone.


Missing Disk Image password in Keychain after Time Machine restore

Figured out the answer. To anyone wondering: the login.keychain file apparently doesn't have all the passwords in it. I had to copy the entire 'Keychains' directory over to my new system for them to show up. Disaster averted!


Here you can see the capacity in GB and how many songs are estimated for the original iPod.  See linked source below for other models.

  * Apple estimated the song capacity of the first and second generation iPod using the 160-Kbps MP3 format. These files are larger than the
  128-Kbps AAC format used to estimate the capacity of subsequent iPod
  models.

Information taken from: How many songs does each iPod, iPod mini, iPod nano, iPod touch, and iPod shuffle hold?


You have a French keyboard activated.
Go to Settings > General > Keyboards > Keyboards and select the edit button on top right. Delete the keyboards you don't want.

Alternatively, tap the globe symbol on the left side of the keyboard to rotate between active keyboards.

If you keep it pressed you can select from a list


Can't use VSCode integrated terminal while on Team Viewer

Apparently there is a known bug with Team Viewer's Keyboard mapping on Linux, read more here. This is a Team Viewer error only and can be fixed by using another Remote Access software, I am using Chrome Remote Desktop (as suggested by user206904) though performance is not great.


How to get Wi-Fi/LAN working in Recovery Mode?

The clue is in your ScreenCap.

The recovery partition does not have your WiFi password stored so you will have to reconnect to WiFi "manually."

Select "Join Other Network..." and pick your WiFi network and enter the correct password. That should get you going.


iPhone 5s screen goes black during a phone call

Is your phone in a protective case?  My wife's iPhone does the same thing because her case is loose and slides over the proximity sensor and thinks it's still by her face.

The screen turns black because of a proximity sensor on the phone. This is to save battery during a call, and to protect the buttons from being pressed when it's up against your face. This feature can not be disabled. The only way I have been able to prevent the screen from turning black during a call is by using a Bluetooth headset, earbuds, or speakerphone during the call, and never bringing it close enough to the face to trigger the sensor.


The 2016 model's probably going to have Thunderbolt 3 which is usb-C compatible. It's quite possible that it's going to have a complete redesign and some of the ports like HDMI and SD-card slot might have to go. With Skylake there's going to be new Iros Pro integrated graphics which compete with current dGPU's of suitable thermal envelope for the MBP. As there's nothing significantly better available I think they are going to ditch the dGPU option for good and make the chassis smaller and lighter.

AMD's Polaris and Nvidia's Pascal are coming in the second half of this year and they are going to outperform Iris Pro but I doubt Apple is going to wait for them as they are not so keen on ultimate graphics performance.

The next Apple event is going to be March 21 and there has been no solid rumors of anything that's going to be announced there. I believe we might see the new MBP there because there's really no reason for Apple to keep waiting when competitors are adopting the new high-end Skylake processors. A lot of retailers have the 2015 model on discount right now and their stock is running low.

If you dont't think you need a slight improvement in performance, the possible redesign and Thunderbolt 3, now is the time to jump on those discounts. The 2015 is by no means a bad laptop.


El Capitan app/extn to allow whole-screen zoom with just trackpad

I use BetterTouchTool (BTT) for customizing a trackpad (or I did before my trackpad fell apart has yet to be replaced). I know that BTT can do what you are asking. Since it can also be used to customize most other input devices (keyboard, mouse, remote, etc.) and not just a trackpad I still make use of it without a trackpad and with or without I consider it one of my essential pieces of software. I've moved most of the my shortcuts to BTT so that all my alterations are in one place.

BTT allows you to set up most any gesture you'd like, not just the standard Apple gestures. The downside is that the documentation is somewhat sparse and it can help to have a certain amount of technical experience to figure out how to set up certain functions but your desired need shouldn't be too difficult to configure.

I believe that you can download a trial version before deciding to pay for the app and the license cost is very reasonable and done as  a "pay what you can" sale (with a low minimum cost). (BTW, I'm only a user  of BTT and am not connected with it's development or sales.)

BetterTouchTool is available from BetterTouchTool.com which actually redirects to the developer's site: https://www.boastr.net/


Syncing between devices and macs problem

The way your question is worded is a bit funny but it sounds like the "Replace information on this iPhone" might be what you are looking for. You can find it in the Info tab of the iTunes sync window and what it does is it basically wipes what data there is on the iPhone (ot other iOS device) and replaces it with what is on the computer.


It's easy enough to create a shell script which checks for a few conditions and then takes the appropriate action.

I've put mine at http://dl.dropbox.com/u/18414/bin/unpkg.sh but will copy the initial version below:

#!/bin/zsh
#
#   Author:     Timothy J. Luoma
#   Email:      luomat at gmail dot com
#   Date:       2011-12-29
#
#   Purpose:    extract .pkg files, either xar archives or directory
#
#   URL:       http://dl.dropbox.com/u/18414/bin/unpkg.sh
#
#   See also:  http://apple.stackexchange.com/questions/34957/foolproof-way-of-extracting-pkg-files

NAME="$0:t"

    # Brief explanation of how program works
USAGE="$NAME is meant to extract package files. (Filenames must end in .pkg). Can handle both .pkg directories or xar archives.

Usage: $NAME /path/to/foo.pkg
"

    # in case of emergency, report error and exit
die ()
{
    echo "$NAME: $@"
    exit 1
}

    # if not given any input, explain how to use it
if [ "$#" = "0" ]
then
        die "$USAGE"
fi

    # put whatever we get as an argument into a variable
INPUT="$@"

    # does the input actual refer to an existing file?
    # if not, exit
[[ -e "$INPUT" ]]       || die "$INPUT does not exist"

    # get the extension of the input. i.e. if we are
    # given "foo.pkg" this will just be "pkg"
EXT="$INPUT:e"

    # check to make sure that the extension is 'pkg'
    # because that's what we're looking for
[[ "$EXT" = "pkg" ]]    || die "$INPUT is not a pkg"

TYPE=`file -b "$INPUT"`

case "$TYPE" in
    directory)
                gzcat "$INPUT/Contents/Archive.pax.gz" | pax -r

    ;;

    "xar archive - version 1")
                # Put whatever commands you want here
                :
    ;;

    *)
            die "$USAGE"
    ;;

esac

exit 0
#EOF

zsh has been included in Mac OS X for several releases now. I prefer it over /bin/sh because… well, let's not get into a "my shell is better than your shell" war, because my shell would win :-)

In any event, zsh makes things a little easier and a little nicer, and it's included, so there's no reason not to use it, IMO. Especially for a OS X-specific script like this.

This was tested on 10.7.


The $(pwd) in your alias command is replaced immediately by its value returned from execution. This occurs at the creation of the alias, not when you want to use the alias. As shown after your first run of alias myls, the alias contains the exact path, not a call to pwd, so this will always use the original path set when you created the alias.

To use the current directory, don't run pwd, just use a relative path, which will always refer to the current directory when run.

alias myls="ls -lrth ."


Can I block or disable hotspot mode in iOS 5.1?

Source: Share your Internet connection with Personal Hotspot - Apple KB


Just unplug the USB from the back of your computer. Plug the USB back into the computer. Solved.


What is the maximum wattage an iPhone X will support for wireless charging?

I assume your question is about the software support for wireless charging and not the potential capacity the hardware may support.

Initially all iPhone models that supported wireless charging (i.e. iPhone 8, iPhone 8 Plus, iPhone X) could only receive a 5W charge from standard Qi wireless chargers, regardless of how much the charger output.

However, since iOS 11.2 Apple introduced support for 7.5W models and this is currently the limit.

It is unclear at this stage whether Apple can/will be able to further increase this limit if/when chargers supporting more than 7.5W appear on the market.


MacBook Air (Early 2015) Network Driver for Linux

There is no such thing as a late 2015 MacBook Air model. I'm assuming you have the early 2015 model.

In that case your computer has a Broadcom BCM4360 chipset for WiFi.

The driver you would need in debian is the "wl" driver. You will probably need to install the broadcom-sta-dkms package manually and then load the wl driver.

The driver is non-free/binary-only so probably not listed during installation.


How to add a Google Drive directory to my computer

Note: When you install Google Drive, you must run it from the actual application in the application folder. Launchpad is just a URL shortcut.

To change your settings:

Click Google Drive, the icon is in the menu bar at the top right of
In the top right, click Menu .
Select Preferences.

Folder can be seen here as well:


Can you still set a background color style in Textedit in Mavericks?

This might depend on whether your document is formatted as rich text (.rtf, .docx, etc.) or plain text (.txt).

If your document is plain text, I'm not sure why you would want to do this anyway, since your color changes won't be saved when you save the document.

When the document is formatted as rich text, you should see the rich text editor toolbar at the top of your window. The highlighting button is in the center, and looks like an "a" with a red slash through it (if you have no highlight color selected).  When there is a highlight color selected, it looks like an "a" with the highlight color as the background.

Hope that helps!


Backing up app data from two different devices to the same iCloud account

The backup will be overwritten.

Your Apple ID is what's used to sync data between devices.  It will take the most-recent change as what should be backed-up.  iCloud will think that you want the most-recent change to be shared across devices and it will populate that change to all devices with that same Apple ID.

The way around this would be to use Dropbox or something similar as the backup.  That way you can specify separate folders for the backup and prevent one from overwriting the other.


How to remotely view photos uploaded to iCloud?

Enable the photo streaming, then you can view the photo from any device connected with your apple ID and have iCloud enabled.

Check the Photo stream page on apple.com : http://www.apple.com/icloud/features/photo-stream.html


Installation of macOS High Sierra Update 10.13.4 failed; how do I recover without losing data?

Fortunately I was able to simply reinstall macOS High Sierra by booting into Recovery Mode (Command ⌘ + R) and choosing Reinstall macOS High Sierra.

I did not erase my drive first since system volume was intact (no errors after running Disk Utility). I simply reinstalled the OS and I was able to log back in with all my data, settings, and apps still there just like before.

Also, this installed the 10.3.4 version of macOS High Sierra, so I don't have to go through the update process again.


What is the font the battery percentage uses?

It's very likely to be Lucida Grande 13pt (It's the system default font).


How do I stop email notificatons on my Apple watch 2

To stop mail notifications on your Watch, go to Watch app on your iPhone.Scroll down to Mail. Then in Mail, select Custom. Here you can find alert On/Off options for each mail accounts on your iPhone.


Convert read-only sparseimage to read-write

I'll post this as an answer instead of deleting this question.

The culprit was a read-only foo.sparseimage file on the external harddrive. Changing the owner back to me (with read and write permission for me), everything is back to normal.


Time Machine: exclude folders with same name, now AND in the future

You could save a property list like this as ~/Library/LaunchAgents/excludefinalcut.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>EnableGlobbing</key>
  <true/> <!-- enable wildcard and tilde expansion for ProgramArguments -->
  <key>Label</key>
  <string>excludefinalcut</string>
  <key>ProgramArguments</key>
  <array>
    <string>tmutil</string>
    <string>addexclusion</string>
    <string>~/Movies/Final Cut Events/*/Transcoded Media/Proxy Media</string>
  </array>
  <key>WatchPaths</key>
  <array>
    <string>~/Movies/Final Cut Events</string>
  </array>
</dict>
</plist>

Then load the plist by running launchctl load ~/Library/LaunchAgents/excludefinalcut.plist.

tmutil addexclusion gives files a com.apple.metadata:com_apple_backup_excludeItem extended attribute. sudo tmutil addexclusion -p would add files to the SkipPaths dictionary in /Library/Preferences/com.apple.TimeMachine.plist that is also modified by System Preferences.


Can I downgrade from macOS Sierra to Snow Leopard (OS X 10.6)?

You cannot downgrade the 2016 MacBook Retina to OS X Snow Leopard.
Apple does not support running OS version older than the one shipped with the hardware. Refer to the article Use the Mac operating system that came with your Mac, or a compatible newer version:

Your Mac is designed to work only with compatible macOS versions and builds. If you try to use an incompatible version or build, your Mac might behave unexpectedly.
Avoid using a version of the Mac operating system that is older than what came with your Mac.


Hide the source code for an Automator quick action / service

Yeah, no. When you deliver an interpreted script, people always get to see the code - by design.  This is the same for workflows and Automator and shortcuts as it is for perl and bash and python.
Unless and until there is a compiler to convert your source code into machine language and then strip the source names (or obfuscate and tokenize them) even compiled code often comes with source code to aid in debugging.
This is one of the most powerful aspects of scripts that people can see them and know what they do. This enables security validation, “fitness for purpose” checks and easy iteration / comprehension / debugging / adaptation. If you don’t want people to check your work a compiled program allows that on a technical level (or at least requires more work to analyze a binary).
Transparency is baked into this tool chain so you might need another setup if your needs dictate privacy of the code.


Jump to comment in preview when clicking on in-text comment "square"

The answer is yes... you just click it.

Apparently it just wasn't working for me (bug) until I tried to add a new note, and then deleted that note. Now I can simply click a comment square with left click to show the comment.


About MIME: is it possible to always "Open With“ text file with a a command line script?

You would not only have to create an app, but you’d have to be able to assign it to open files of that type. That seems like it would outside the ability of most users, so I’m going to disqualify it as a “solution”.

The only option that I can think of would be to use Keyboard Maestro to assign a keyboard shortcut to open a selected file in Finder with the shell script.

The precise way to do this can be found by asking at http://forum.keyboardmaestro.com/.


How do I determine if my Macbook pro has switchable audio input?

You can list specifically which audio devices your system is using in Terminal:

system_profiler SPAudioDataType

Another way you can determine if you have the combination audio port is when you're viewing System Preferences > Sound you will have an output option that shows up on the input tab.


How to copy text in Preview in password protected PDF

AFAIK, Preview has respected the security features of the PDF standard for a long time, so I don't understand/agree with the answer in the other question.**
A document that has been restricted must have the password supplied to be either printed, and/or copied, and/or opened. Preview itself can add security restrictions to saved PDFs. The security is baked into the PDFKit API that Preview and other macOS PDF utilities use.
(As far back as OS X Tiger, it was an open secret that ColorSync Utility would ignore security, letting you save a 'clean' version, but this has long been fixed. Even then, Preview respected security.)
However, I would say that 99.9% of PDFs in the wild are not restricted, so it's curious that you say 'fairly often', unless you're mining a reserve of PDFs that the authors expressly don't want you to copy for some reason. You could try contacting the authors and asking for permission: it's conceivable they may have added the protection against copying by mistake.
Needless to say, no DRM protection is impregnable, and there are several scripts and apps devoted to removing copy protections from PDFs. The simplest method is that if you can print it, then you can 're-print' the document as a new PDF.
At worst, you could use OCR software on a screenshot.
** As for the other question, the method by which images are 'lifted' from the PDF is not explicitly stated, and that may be different from copy/pasting text.


In Font Book, choose File → Restore Standard Fonts….


How many photos are on your camera roll?

iPhoto is dynamically loading all the photos on you iPhone/iPad into your MacBook's memory. This is more-or-less the same thing as loading lots of very big picture files off a USB flash drive, so don't be surprised if it takes a (some times very) long time for large camera rolls. To be sure it hasn't choked on the huge number of files you have, open activity monitor or type top in a terminal window. You'll see a list of (almost) all the tasks currently running on your system. So long as iPhoto is taking a semi-significant amount of CPU time (it takes about 10% at idle on my 15-inch MBP), the process isn't hung and you're fine.


Do Apple TVs work only with Apple routers?

The Apple TV is a client device, meaning it connects to the router. However, the current generation Apple TV does not have the capability to extend the network; i.e. act as a router.

Edit: To answer the question you edited in, yes, you can control the Apple TV from any Wi-fi network, as long as it is a 802.11a,b,g, or n network. Wi-fi is Wi-fi, no matter what device is broadcasting it.


How do I transfer iTunes on a PC to my new iPhone 6?

If you can't upgrade from Windows XP you could use iExplorer, however I'd strongly recommend upgrading to a newer OS and using iTunes.


There's no built-in option for that. You could try HotMouse for $0.99 in the App Store, or OmniDazzle (free) if you're really feeling crazy.


OS X Maverick 10.9 Import SSL Cert from Windows Server 2008

You need to import the cert via Server.app; that'll add it to the System keychain and several other locations that allow non-keychain-aware services to use it. I'm not sure why it'd be hanging, but I can think of a few things to try:

If it's not a self-signed certificate, you probably need to import the appropriate intermediate certificate(s) by dragging them into the "Drag extra non-identity certificates here" section of the import dialog. If it's a DigiCert certificate, you can find their intermediate certs here. There's probably also a way to export this from the Windows server, but I'm not familiar enough with it.
It's possible Server.app is getting confused by the file extension. Try renaming it from .pfx to .p12 (they both refer to the same file format, PKCS #12).
There might also be something odd about the file contents. Since it sounds like it imports ok via Keychain Access, try importing it with that, then re-exporting it to .p12 (see the instructions you linked), then delete it from the keychain (to avoid a conflict) and re-import it with Server.app. It's possible importing and exporting with Keychain Access will clean up the file and make it work properly in Server.app as well.


... Never mind. Apparently rotating using the trackpad of a PDF in Preview is just for cosmetic purposes. You have to rotate using +L or +R or within the Apple-bar menu. Only after that, the save option will be available. :|

Strange.


Apple TV 3rd generation. How to download to device

The Apple TV 3rd Gen has no true storage at all & only 512MB RAM - it was discovered it does actually have a 'hidden' 8GB, but presumably that will be caching content for immediate use rather than storing a movie you watched previously.
38 minutes to download a movie/TV show would indicate your internet connection is struggling.
From Everymac -

*Officially, the third generation Apple TV models have no internal storage. However, third-parties have determined that they actually have 8 GB of flash memory to cache content, just like the second generation Apple TV.


I've solved it. Change the ~/Library/Preferences/com.apple.dock.plist to be unlocked (get info, uncheck the locked label) and it will work fine. I don't remember when I locked it, but whatever.


After Sierra install, message appears saying install failed, Hold down D for Diagnostics

The error means that the file /sbin/launchd does not exist. The file is an important system component of macOS which is responsible for starting all other programs. Basically without it you cannot boot your system.

Normally this would mean that something has very seriously failed during the installation of macOS.

I would suggest reinstalling macOS while paying very close attention to any error messages that popup during installation.

If problem persists, consider the possibility of a hardware error such as a disk failure.


How am I supposed to register my company on the Apple Store? Am I?

You need to go to: https://ecommerce.apple.com to register as company and buy for company.


How to block bluetooth device that spams me with pairing requests?

The GUI way

Press and hold together the Option + Shift (⌥ + ⇧) and the click the Bluetooth icon in the topbar.

A Debug submenu will appear as shown below:

You get the options to Remove all devices and Factory reset all connected Apple devices — pick whichever you need.

The terminal way

Open terminal and type:

sudo rm /Library/Preferences/com.apple.Bluetooth.plist Enter
rm ~/Library/Preferences/com.apple.Bluetooth.plist Enter
Reboot OSX.

The commands above will remove the MAC addresses of the 'remembered' bluetooth devices from the systems settings. If you want to have a look at the actual contents of those files copy the original file to a user-writable folder and then do:

plutil -convert xml1 com.apple.Bluetooth.plist,

and then open it with a text editor (it is an XML file).

To convert it back to binary use

plutil -convert binary1 com.apple.Bluetooth.plist.


What can I do to increase the performance of my Mac Pro?

You have few options:

CPU: Now you have two two-cores XEONs. You may upgrade them to two 4-cores XEONs. Here is a crowd-sourced experience on this. AFAIK the best you can add is X5355 or even X5365. Here is a good discussion on this matter. And these are pictures.
SSD: Just put in the place reserved for second ODD(Can't remember if your model have wires in place already). Or buy 3.5" adapter like IcyDock 2.5" to 3.5" SSD & SATA Hard Drive Converter or OWC's MountPro. Yes, it is much faster for boot drive than conventional HDD, RAIDed or not.
GPU: look at this blog and forums there if you are interested in flashing cheap PC card for your Mac.
Memory: You may add as much as much as 32Gb with 240-pin PC2-5300 (667MHz) DDR2 ECC fully-buffered DIMM (FB-DIMM) (matched pairs) 4GB modules. If you need them.

Right now I would choose SSD. And then I would check if prices for those CPU are stable or keep falling and then decide on time and need for CPU upgrade.


Why does OS X's Apache server give different results using real and virtual addresses?

This is not a problem with OS X or Apache. A redirect doesn't change any PHP code behavior and since you apparently get response from the code, nothing is wrong with the server setup. The problem lies in the way Wordpress reads the domain name from the request (which is the only thing that should differ) and what it does with it.


Yes, both the external display and the internal display will be active at the same time, unless you close your MacBook.

Have a look at Apple support article HT5019: How to use multiple displays with your Mac for more details if you need them.


How can I use my iPod touch as an external disk?

I don't think it is possible using iTunes.

You can try iPhone Explorer, though (which is free), or Phone Disk


Samsung SSD Firmware Update Power Cycle on MBP

The back cover of the MacBook Pro does not need to be on in order to operate.  You can even have the drive brackets removed.  Simply use a piece of non-conductive tape (I've used blue painters tape) to temporarily hold the drive in place.  I've also found that this works best at the edge of a desk or table with a towel or large mousepad for the MBP to rest on when I have it inverted.

If you are required to power cycle the drive, carefully turn over your MBP ensuring you don't close the lid,  pull the drive up, disconnect and reconnect the drive's SATA connector.  This will power the cycle the SSD.

Once that's done, you can turn the MBP back over and continue the process.


The hosts that are not being blocked successfully are probably already in your DNS cache.
Try clearing the cache using:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

if you are on Big Sur (looks like you are), or:
sudo killall -HUP mDNSResponder

if you are running Catalina, Mojave, High Sierra, or Sierra.
You may also need to clear the browser cache.  For Safari, go to Safari -> Preferences -> Advanced and turn on "Show Develop menu in menu bar".  Next, in the Develop menu, chose "Empty Caches"


How to log login and logout on Mavericks?

Open up a terminal and enter the command: last

chris@chriss-mbp-2:~/Documents/dev/git/$ last

    chris     ttys005                   Sun Dec 22 01:51 - 02:57  (01:06)
    chris     ttys005                   Sun Dec 22 01:50 - 01:51  (00:00)
    chris     ttys004                   Sat Dec 21 13:32 - 19:53 (1+06:20)
    chris     ttys003                   Sat Dec 21 13:32   still logged in
    chris     ttys002                   Sat Dec 21 13:32   still logged in
    chris     ttys001                   Sat Dec 21 13:32   still logged in
    chris     ttys000                   Sat Dec 21 13:32   still logged in
    chris     console                   Sat Dec 21 13:32   still logged in
    reboot    ~                         Sat Dec 21 13:32
    shutdown  ~                         Sat Dec 21 13:32

Further details about last can be found in the man pages here.


Copying formatted text from a web page to an Applescript input dialog

I tried to reproduce the problem with
on run
    set dialogResult to display dialog "foo" default answer ""
    set newText to text returned of dialogResult
    display dialog "Text entered: " & newText
end run

but at least at first sight it appears to be working ok. Which specific issue did you run into ("won't work" is a bit broad)?

Update
The problem has been fixed in OS X 10.8, just got a mail from devbugs@apple.com:

14-Sep-2012 07:40 PM Apple Developer Bug Reporting Team :
We believe this issue has been addressed in OS X 10.8 (Mountain Lion) GM Seed (Build 12A269).  This pre-release version is available now on the Mac App Store to Mac Developer Program eligible members.  Please verify with this release and update your bug report with the results.


Is there a way to prevent my use of my Mac during certain hours?

I'm not sure what you're doing on your Mac that you wouldn't want to be doing, but as far as I know there's no way to restrict login entirely.

You could, however, make it impossible to use the Internet on your Mac, which (at least for me) would dramatically reduce the likelihood that I was going to try to use it.

One such app for this is called (rather ironically) Self Control.

The only downside is that I believe you would have to set it every day. Maybe someone else will have a better idea.


Delete account on Mac OS Catalina Single User Mode

In this case, I would recommend the following solution if you don't have FileVault enable :

Restart your Mac while holding down Command+ R. Release the keys when the Apple logo and a progress bar appear. This will boot Recovery Mode.
When the macOS Utilities window appears, select Disk Utility and continue.
Select your startup disk in the pane to the left and take note of its name. (It is usually named Macintosh HD). If the name is greyed out, or if you see the text "Not Mounted", click the Mount button. If requested, select your username and enter your password. Make sure that the startup disk is mounted before continuing.
Quit Disk Utility. The macOS utility window should appear.
Go to the top menu bar (where the Apple logo resides) and click on Utilities. Select Terminal from the drop-down menu.
Enter the following command, exactly as shown. Substitute "startup disk" with the actual name of your startup disk.

rm '/Volumes/Macintosh HD/var/db/.AppleSetupDone'

The command line should return with no response. Restart your Mac and it will launch Setup Assistant. If your Mac has FileVault enabled, you'll need to log in after the restart.

You'll be prompted to create a new administrator account. Give it a separate name to easily distinguish it from your real account. When done, complete the rest of the Assistant. I have done this in Catalina and tested. It works perfectly.


How to synchronize photos from MacBook to iPad without erasing photos in iPad?

If you try to synch your iPad with the new iTunes on your new machine, your pictures on the iPad will be erased and replaced with the new pictures. You have to copy pictures from iPad to your MacBook then sync with it.


Is there a way to auto switch wireless networks depending on signal strength?

Not saying this is ideal or works well. But Just to give you an idea.

You can use command line tools to write a script that checks the strength.
and then changes the network as needed.

To get the strength you can use this command line code:

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I |grep -i "agrCtlRSSI:"

Look at the man pages for /usr/sbin/networksetup for changing the setup.

As an example here is a quick applescript.
It only runs once as it is only an example of use.
But in your script I would do it as a LaunchAgent
There is an app called lingon that simplifies the writing of LaunchAgents. LaunchAgents can startup apps, run scripts at specific times, regularly or when something happens.

I hope this helps

set wifi1 to "wifissid1"
set wifi2 to "wifissid2"

try
    set strength to last word of (do shell script "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I |grep -i \"agrCtlRSSI:\"") as number
    log strength
end try
set network to do shell script "/usr/sbin/networksetup -getairportnetwork en1"
log network

if strength is less than 50 then

    if network is not equal to "Current Wi-Fi Network: " & wifi1 then

        do shell script "/usr/sbin/networksetup -setairportnetwork en1 " & wifi1 & " &> /dev/null & "

    end if

else

    if network is not equal to "Current Wi-Fi Network: " & wifi2 then

        do shell script "/usr/sbin/networksetup -setairportnetwork en1 " & wifi2 & " &> /dev/null & "

    end if

end if


You cannot link the emails and iCal events, however you can create the event by tapping on the date within the e-mail. You can then double tab on the content of the email, select all, and the copy and paste into the notes section of the iCal event.


Transfer/Migrate specific apps including settings etc to a new Mac

mackup does this:

https://github.com/lra/mackup

I don't have personal experience with it, but i've heard great things. Bear in mind you should check the list of software currently supported by it before you install.


Ping and curl resolve to one IP, dig/nslookup/host resolve to another

And I found it. The VPN config was auto-configuring it's own DNS servers, which were overriding my setup, because the VPN was also telling it to look up hosts in the domain that I was overriding. This caused the Directory Services to use the VPN vended DNS servers.

To fix, I added my custom DNS server as the first lookup entry under the VPN DNS config, and that worked.


Is there a file size limit when sharing files?

I don't think this problem is caused by the size of the file, but just one of those random hiccups that happens with AFP sometimes =/

Try using AirDrop if your on 10.7 Lion or higher. Even if your mac doesn't support AirDrop, there is a hidden command to allow for AirDrop to work over the local network (Ethernet or WiFi). See the link below.

http://hints.macworld.com/article.php?story=20110913213649565


Changing the Apple ID on a 1st generation iPad

The old iPad doesn't know about verification codes so doesn't know how to ask for it properly. You can still sign in by adding the verification code to the end of your usual password in the normal password box when trying to log in.


How can I scroll down to the bottom of document (HTML) in Safari?

Command ⌘ + Down ↓ or Function (Fn) + Right → should both work.

Fn Right is the built-in key combination that is most equivalent to the End key.


Disable Terminal man page shortcut on Catalina

If you open Terminal -> Services -> Services Preferences there are some options there for enabling/disabling global keyboard shortcuts.

Then you can disable this at Keyboard -> Shortcuts -> Services -> Open man Page in Terminal


iBooks Author only supports a subset of LaTeX, see iBooks Author: About LaTeX and MathML support for a full list of supported commands.

From looking at the samples in the support document, something like

\begin{matrix}
1 &  1 &  1 \\
2 & -1 &  1 \\
1 &  2 & -1 \\
\end{matrix}

should work.


How many worldwide average system processes and minimum process runs in Mac OS X?

Your assumption about inferring total system performance from the number of running processes is incorrect. There is no such direct correlation.

The underlying operating system easily scales to thousands of (idle) processes without any noticeable effect on system performance on a modern Mac. Therefore it makes no sense to spend effort on reducing the number of processes as such.


weird behavior of right-shift key in combination with semicolon or quotemark key

The most common cause of one key not functioning is that it has been somehow set as the trigger for Text to Speech or Speech Recognition in system preferences/speech.


list/filter apps that will work on iOS 5.1.1

No, unfortunately, there is no way to filter apps that work on earlier iOS versions. However, I've found a great site on that. It shows a list of every app that is compatible with any given iOS version. Don't try to download the app from them, though, just get the name of it and find it on the App Store.


how much time does it take to set up my Apple Developer account so I can provision my app and run it on a device?

Here's the thing, I don't even have to have a Developer Account to deploy my app to my device.

Instead, all I had to do was connect the device to my Mac Mini.
When I did that XCode recognizes the device and allows me to deploy and run the app on the device.

I hadn't seen this possibility anywhere, but now that it's possible, it doesn't matter to me so much how long I have to wait for the developer account to be officially set up, since in the wait time I can develop my apps and test them on my locally connected ipad.

As I was writing this answer, I went back to XCode and was building a new app when I suddenly saw the following message:

I couldn't believe it.  I was so excited because I could build apps for my local pad and now suddenly it has limited me until I buy a Dev Account.  Apple, I'm going to buy a dev acct and I obviously cannot deploy or sell my app to anyone without your permission.  Why would you make it this difficult?  Ridiculous!!

EDIT
Wow. Now I just googled for that and found the following Apple Forum :
https://forums.developer.apple.com/thread/49304

Someone there mentions that you just have to uninstall other apps from your device and it should work again. I had two other test apps on my device so I uninstalled them and I was able to deploy to my device again.


Associated Voila files to finder by mistake

You could reset/unregister Finder file associations with the following procedure:

In the Finder, press
⌘+⇧+U to open the
Utilities folder.
Open Terminal.app () in the Utilities folder.
To unregister the associations, paste this into the Terminal window, followed by ↵ : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -u /System/Library/CoreServices/Finder.app -domain user
To restart the Finder, type: killall Finder, followed by ↵
Voila documents should be Voila documents again.

Let me know if this works!


Why isn't the multisession login in Lion's VNC server working properly?

Wow - I was unprepared for the change where I don't just see whatever was on the screen and instead are presented with a second loginwindow instance.

My brain reels at the implications for Mac OS X Lion client acting like windows terminal server with multiple independent log in sessions. I bet a lot of software will break assuming it's the only copy running on the mac.

As to your question - I can't get VNC to break - either using Screen Sharing on another mac or using Screens app on iOS. It works like a champ for me, and I didn't change anything from a previously working Snow Leopard system. The upgrade left all my settings and VNC passwords alone and operational.