Associating ssh public key with user account

First, you create a public and private key (if you haven't done so already) on the machine from which you want to login:

ssh-keygen -t dsa

You only need to do this if there isn't already a ~/.ssh/id_dsa.pub file.

On Linux, there's the ssh-copy-id helper. On Mac, you need to copy the public key by hand:

Copy the generated public key to the target machine:

scp ~/.ssh/id_dsa.pub user@targetmachine:myPublicKey.pub
Login to the target machine:

ssh user@targetmachine
Append the public key to the authorized keys:

cat myPublicKey.pub >>.ssh/authorized_keys
You can now delete the copied key:

rm myPublicKey.pub
Done. You should now be able to login to your target machine without the need to enter a password.


Any default microphone preference setting to change voice for anonymity?

A Mac can change its own voice, like when it's reading a text file, but not your voice.  One free software package that does what you want is MorphVox Jr. It can change a man's voice to a woman's and woman's to man.  There are examples on the link I sent. This version is free. The full version is $40.

This link lists 5 top voice changing apps. They are Voxal Voice Changer, MorphVox, Voice Candy, Voice Changer Plus, and Voice Swap. You can read about them on the link.


How do I identify the device where the photos came from?

You can group the photos by the camera that took them, using Smart Albums.

First click on one of your girlfriend's photos and Show Info under the Window menu. You will see something like this. It's the camera model that is important (I have boxed it in red).

My hope is that your iPhone is not the same model as your girlfriend's. If it isn't we are in business. Assuming that they are different here is what you need to do.

Go to File/New Smart Album...

Call it "My Girlfriend's Photos" or whatever (I called mine "iPhone 6s pictures"). Set the Camera Model to include what you saw in the Info pane. In my case, it's iPhone 6s. See below.

If you show the Sidebar (View menu) you will then see your Smart Album somewhere in it. Here's how it looked here.

If you are showing the Sidebar, and you click on "All Photos" under the heading "Albums" (not "Photos" at the very top), you will notice that View/Sort will say something like "Keep sorted by oldest date added." This may give you a second chance at figuring out which photos are your girlfriend's, because the sorting is by date ADDED and not date "taken." So the pictures that were newly added would be at the bottom, and those are probably your girlfriend's. You could select them and put them into a regular album and you'd be all set.

Personally I am hoping that you two have different iPhone models because the Smart Folder method would be very cool.


Is it better to use ePub or mobi files in iBooks?

ePub is the newer standard and is supported by the Apple iBooks app, but Apple only supports it's own FairPlay DRM wrapper used to encrypt the ePub files to protect the books from being copied or read on unauthorised devices.

Most other (non-Apple) eBook stores sell ePub books encrypted with Adobe's Adept DRM wrapper, which you can't read with the iBooks app (although certain other eBook apps do support the Adobe DRM system)

Mobi is for other reader systems (I believe the Kindle uses this format) and is not supported by the iBooks app. I expect there are other iPhone apps that support mobi files.


Limit mac CPU frequency without disabling Turbo Boost?

As I understand the intel feature it's on or off.  There is no in between setting.
Also running at above the base frequency will cause the CPU temp to creep up slowly.


How to change temperature in Today's Summary part from F to C in Notification Center

Open System Preferences
Click Language & Region
Select Advanced
Change Measurement units to Metric

Add-on note: You may have to do this a couple of times or cycle through the options to make it stick.


How to change safari search engine Mac OS

You might find this Stack Exchange Answer provides a solution:

There are two places to select the search engine. Setting the search engine from Safari's URL bar overrides whatever's set in Safari > Preferences > Search. My Safari had Google set from the URL bar, and whatever I set in Safari Preferences was immediately reverted to Google.

To reset the default search engine in Safari's URL bar, click on the magnifying glass icon, which appears at the left side of the URL bar when no page is displayed. A dropdown appears. Then select which engine you'd choose. Luckily, I was content with DDG, one of the only four choices presented.


Is there any way to display whether a song is explicit via my iPhone's Music app? (if i bought explicit songs from the itunes store) with Cydia?

If explicit you should have a little E next to the title


Can i download the new iOS without computer internet connection?

If your iOS device is on version 5.0 or higher, then yes, you can do it directly from the handset by going to Settings/General/Software Update.

If you're on iOS 4.x then no, you will need a computer to do this.

To upgrade in your situation, I would recommend the following steps:
1) On your new laptop, open iTunes, and in the preferences on the devices tab, make sure Prevent iPods, iPhones, and iPads from syncing automatically
2) Plug your iPhone in to the new laptop, and in iTunes, select the iPhone on the left pane.
3) Click Check for update.

It should find a newer version, and start to download the file. You can now disconnect your iPhone from your new laptop.

Once it has downloaded this file, you should be able to find it on an OSX system in your home folder/library/iTunes/iPhone Software Updates. On Windows it should be in your user profile folder\Application Data\Apple Computer\iTunes\iPhone Software Updates.

You can copy this file to your old computer, and then plug your iPhone in to that.

On a Mac, hold the Option key (alt on modern keyboards) (shift on Windows) and click Check for update. You should now be able to manually navigate to the ipsw file you just copied over.

It should now start the update process on your iPhone.


What is opt-cmd-] bound to and how can I switch this off?

I would go into system preferences > keyboard > shortcuts, and browse through all of the keyboard shortcuts and see if any have ⌘⌥]as they’re keybind. you could also open Automator, and press the record button, press ⌘⌥] and then click stop recording and see what it says that you did.


If your Mac isn't a corporate managed machine I'd go for uninstalling the Tenable Security Nessus software.

Others might have a different feeling about this but you don't need additional security software on OSX.  We run a Mac-only office for years and the only additional security thing we stick with is the 'Little Snitch' firewall app.

I wouldn't have a clue whether the Nessus software has an uninstall app available but if not, try to get rid of these folders:

/Library/Nessus
/Applications/Nessus
/Library/Receipts/Nessus*


iCloud's "play a sound" feature will ding even with the phone on silent.


Any way to have custom movie artwork for movies purchased on iTunes spread to iPhone and iPad via iCloud?

iTunes movies

I have tested this with purchased movies from the iTunes Store.

It is not possible to change the artwork for purchased movies across devices using iCloud. The same is true for The movie title, summary, etc.

Changes to movie titles will be saved locally, even if you remove the download and download it at a later point in time. Other devices won't receive changed movie titles.

Movies without DRM

Movies without DRM that you have added yourself to your iTunes Library can be synced locally to your devices. Changes made to the artwork of these movie files will be updated upon the next sync (via USB/Wi-Fi).


Can data be recovered after iOS system restore

No. Once the key is deleted there is no way to recover the data. You could theoretically bruteforce the key, but this would take a very long time.


Would App store accept a program that bundles a Python interpreter?

Before the Mac App Store

To improve your user's experience, you may be able to avoid needing to be in the Mac App Store.

Code sign your existing application and macOS's hostility towards your app will vanish.
Improve your application's first run experience using LetsMove. This open source framework will automatically copy the application into the /Applications folder and eject the disk image.
Use the open source Sparkle framework to add automated software updating to your application.

Just code signing your application will dramatically improve the first run experience for your users.

App Store Requirements

If your application meets the requirements below, then it will likely be accepted into the Mac App Store:

conforms to the App Store Guidelines;
supports being sandboxed;
can be bundled within a self contained application.

Ask Apple's iTunes Connect Team

You can contact Apple's iTunes Connect and talk to them before committing to significant development work. They are best placed to know what is likely to be accepted or not.


By default the Mac formats external drives with HFS+ format. You'd need to load software on your PC to read that filesystem or return the drive to the Mac to change around the settings.

Search here for things in filesystem and with HFS and windows for more information.

Transfer files between bootcamp partitions
Why I can not see mac partition under windows installed with bootcamp?


Will a Airport Utility archive action delete files on the target disk?

When the "archive" backs up files from the source disk, it puts the files into a sub-directory called "Time Capsule Backup" on the destination disk.  There is no timestamp on the destination folder name.  The files are not zipped up in an archive either.   Now I understand how the backup is able to generate a backup without deleting any files on the destination disk.


How do I clean up the simple finder for a parental controlled account?

As you've confessed your developing skills, I'll just limit myself to tell you that, as far as I know, it's not possible to hide applications from a user that has Parental Controlled accounts, even with simple Finder. I believe Apple considered that it was too much trouble.

What I'd do is move your son's applications to his /User/son/Applications and restrict access to /Applications for him.

You may be wondering: "but wouldn't that mean I'd have to duplicate apps I also want to use?". And you'd be right.

:)


@grgarside: El Capitan and later won't let you just rm the default apps, they're protected. – grgarside 11 mins ago

That's because of El Capitan's System Integrity Protection System (SIPS), which prevents even Root from making (potentially harmful) changes to the system. A fine idea in principle, apart from the fact that it stops you doing a lot of things whose "integrity" to the system is spurious –such as changing the speech bubble colour in Messages, or deleting pointless Apple apps you never use.

You can disable SIPS by booting into Recovery (Hold down Command+R at startup) and then using Utilities > Terminal issue the following command:

csrutil disable

and then rebooting.

Normal God-like power will now be restored to root and you're free to delete Apple bloatware.  To re-enable SIPS, the corresponding command from recovery is:

csrutil enable

However - and it's a big "However!" - with SIPS re-enabled again, OSX will silently restore any system apps you deleted. I found this out when I disabled SIPS, removed iTunes, re-enabled SIPS and found iTunes back in my Applications folder a few days later.


How do I setup access codes for shared printers?

Finally got a call back from RICOH.  It's under the "Job Log" drop-down menu in the print dialog.  User ID, password, codes, and controls (hold vs. locked), etc can all be set there!


Apple Directory / Profile Manager  - Restricting simultaneous same user logins on multiple  machines?

I assume you mean Open Directory, not Apple Directory.

There is a check box in Workgroup Manager in the user's account.  Set it to not allow simultaneous logins.  This box is present in WGM on 10.3 - 10.6  I know that Lion deals with workgroups a little differently.


Mavericks firewall does not keep my choices

It sounds like the problem is that virtualenv modifies the python binary when it copies it into the environment, invalidating the signature.

Try to follow this and see if it resolves your issue: http://blog.movieos.org/post/63545845092/stop-my-os-x-firewall-complaining-about-a-virtualenv


OS X El Capitan partial download issue? (125kb file)

This happened to me, I eventually got it working though. I would suggest leaving the update running overnight, that should fix it.


How to make iCloud 3.0 on Windows sync bookmarks with Safari

I was wondering the same thing when I found this:

http://9to5mac.com/2013/09/19/farewell-windows-safari-as-apple-excludes-from-icloud-bookmark-sync/

I looks like this is no longer possible.


Disable password authentication on SSH server on OS X Server 10.8

As any BSD system you should toggle off some options in your sshd_config like I've described in this Stack Overflow answer:

UsePam yes # it will not be used
ChallengeResponseAuthentication no
PasswordAuthentication no
kbdInteractiveAuthentication no


Is there a native terminal in OS X, without having to load the desktop, window manager, etc?

I don't think Single User Mode is really what you want.

A better idea is to use a console login.

To do this, first you have the login window set to show “Name and Password”:

Then you can login as ">console" as the username (no password) and get a terminal prompt.

It's not very pretty, but it's handy if you need it.


Well after no action after an hour I restarted and was presented with a non-bootable SSD.

Luckily the task immediately previous to enabling FileVault was to run a backup so that was restored overnight...


Any way to force command line terminal to control a Mac?

It seems like you want the ability to enter commands using the mouse and keyboard when the mouse and keyboard are unavailable, which is sorta odd.

Anyway, I can think of a few ways to prod your computer into doing something without the mouse and keyboard.

A Griffin PowerMate. Set it to open Terminal or run a script when you press the button.
Do Something When. Set it to run a script when a specific USB flash drive (or similar) is inserted.


Most of the time spotlight is showing nothing after upgrading to el capitan

I too see this behaviour. Typing an extra letter or even removing a letter from the search term tends to fix the problem.

This appears to be a bug in OS X 10.11. Please can you provide feedback to Apple. Every report helps!


I had a similar issue. Starcraft has a temporary file that generally sits at /Applications/Starcraft II/Battle.net/Battle.net-patch.MPQ, when I deleted this file and started the repair tool at /Applications/StarCraft II/Support/Repair it worked beautifully.


viewing contacts without my iphone in my presence

If you store them with an iCloud account you can go to http://iCloud.com/ to see them. Log in with your iCloud/AppleID account information and you can see your contacts on the website.

Similarly, if your iPhone syncs contacts with http://gmail.com/ or http://outlook.com/ or some other provider, you could use a web browsers to log onto your account at that website and see your contacts thusly.


Import photos from external disk into iCloud Photo Library via MacBook Air with not enough HD space

First, you will have to update to Photos app on OS X, as iPhoto is not compatible with iCloud Photo Library.
Activate iCloud Photo Library and subscribe a storage plan that accommodates your pictures and anything else you have there (iOS Backups, for instance). Select the "Optimize Mac Storage" on the Photos app Preferences > iCloud pane.

Then import batches of 10 GB or so of your pictures to the empty Photos app library; given you will have only 5 GB left I assume it will start optimizing right away. When you regain some space, you can add another batch.


Dell U3415W monitor does not wake when I power up my Mac Mini

I was able to resolve this by connecting the monitor to the mac mini with an HDMI-to-HDMI cable. I then selected the HDMI input on my monitor's OSD.


Apple Remote Desktop Admin blocked by OS X Yosemite Firewall

Quit ARD if running, and go to [your home]/Library/Containers. Move the folder com.apple.RemoteDesktop to your desktop and see if ARD Admin still has startup issues. If it starts working properly you can trash the com.apple.RemoteDesktop folder. Note this will reset ARD and lose any custom UNIX commands you may have set up, back those commands up first before trashing the folder permanently.


Developer ID Installer certificate "unusable" on another iMac

Yes, I guess that each Developer ID Installer is related to the public / private key  with which the CSR was generated.


Is the iPhone 5s Voice over LTE (VoLTE) capable?

According to all sources I checked the iPhone 5s hardware is capable of VoLTE.
As you probably know, recently Verizon announce the feature most likely to highlight it during the upcoming iPhone 6 release.

http://9to5mac.com/2014/08/26/verizon-rolling-out-volte-in-coming-weeks-ahead-of-iphone-6-ios-8/


If you have that many browsers failing, you should contact Apple Developer support to have them check on things.

https://developer.apple.com/contact/

The system status show no outage so you'll need someone on the inside to point out what you're doing wrong or fix what they're doing wrong (other than still using Tomcat, I suppose).


Why does WhatsApp require so much space for iCloud backup?

I would be more worried if the backup of my data takes less space than the data itself. If you want to reduce the size of the backup (and the data), start with deleting videos and pictures contained in WhatsApp conversations.


Brother MFC Scanner not recognized any more

I experienced the same problem with macOS High Sierra 10.13.6 on a MacBook Pro 13" 2018 and a Brother MFC-j6510DW.

The solution is straightforward, you have to reset the printing system according to the Apple support document, macOS Sierra: Reset the printing system

Go to System Preferences → Printers & Scanners:

Control click in the list at the left, then choose Reset printing system... from the context menu that appears.
After you reset the printing system, the list of printers in Printers & Scanners preferences is empty.
Re-add any printers

That's all.


Open App store and click on sign out.

Now sign in with new apple id.

Be aware that the iPhoto belongs to your apple id.

The new apple id will not work with updates to iPhoto without paying for it.


MacBook bought as new could potentially be a refurbished older model

Click on Apple Menu -> About this Mac...
It should tell you exactly which hardware version you're using -- e.g. mine says "MacBook Pro (Retina, 15-inch, Mid 2015)"

If you want even more detail, there's a free app called MacTracker https://itunes.apple.com/us/app/mactracker/id430255202?mt=12 on the App Store that will provide even more info.

As to the second and third questions...shrug


Remove OTA downloaded (but not installed) iOS 8

I did same on iPad2.  I have managed to remove the download (which wasn't installed).  Select settings, general, usage, manage storage when the app list loads, you should see ios8, select this and then delete. Hope you're successful.


Usually the appointments and other information comes from a Calendar that you signed up to.

Look on the left to see which ones you are signed up to and disable the one you do not want.


Showing comments when presenting in Keynote

You cannot (if you want to be sure of it, simply search for “note” in Keynote’s help).

Comments are explicitly made for the presenter, not the audience. They behave just like Presenter Notes, except they are positioned on the slides instead of being meta-data.

If you want to show post-it notes on the screen, you'll have to obtain a post-it image somewhere, and then fill it with text.

The easiest way to do so is to take a screen capture of a dashboard widget. I'll be nice, here it is for you  ;)

You can then simply add it as background image of a rectangle, and fill it with text however you please.


Share the clipboards automatically when using Apple Screen Sharing?

Unfortunately, it doesn't seem like the clipboard can be shared automatically. However, instead of going Edit->Send Clipboard and Edit->Get Clipboard, you can use the get/send clipboard buttons:

They're usually hidden by default, but you can get them to appear by clicking this button in the upper right hand corner of the window:
 or going View->Show Toolbar


When you connect your phone to a public wifi, is it possible for someone to see your photos being uploaded to iCloud?

Short answer, no.

Essentially, not only is the transmission encrypted -  see
iCloud security and privacy overview
but also since iOS 8 your phone changes its MAC address pseudo-randomly, so it can't even be identified as 'your' phone for a lot of the time.

Every time a new potential exploit is discovered, there will be an update to close the door on it - see About the security content of iOS 8 for some eye-glazing detail… ;)

Some of this is not actually published by Apple, as the last thing they want to do is give away how they are trying to ensure your security.


Unable to install an update via the softwareupdate command line tool

As documented in the man page you need to use sudo to actually install software via softwareupdate. So in your case it's
sudo /usr/sbin/softwareupdate -i "macOS Catalina 10.15.7 Update"

to install 10.15.7, or
sudo /usr/sbin/softwareupdate -ia

to install all available updates.


How to regenerate random smart playlist in iTunes 11?

If you uncheck "Live updating" in the smart playlist edit screen you will be able to delete tracks from the smart playlist.

However the playlist won't repopulate until you right-click the playlist and select "Update Smart Playlist".

Interestingly that command doesn't do anything unless the tracks have been deleted.


How to change the charging chime on MBP (PowerChime.app)

I had the same exact question, Googled it, landed on here and found the answer hours later, lol.
If you're still looking for the answer, or for anyone's future reference -- after disabling SIP and restarting, open terminal and run:
sudo mount -uw /
killall Finder

... and you're good to go. Just proceed to replace the .aif file in "Powerchime.app". For me, I changed mine to the old iOS charging chime!
Haha


Need a script to connect to wifi based on user logged in

I'd say there's no need of complicated solutions.
Every users you created have a completely customizable environment. So, if you go to the System Preferences, Network, choose WiFi on the left (among different types of connections) and then click on the "Advanced" button.
You'll see a list of preferred networks. The items in this list may be simply dragged. The one on the top will be the chosen one, even if there are other wifi networks you previously connected to.
Obviously, you might also decide to delete the other networks, if you are sure you won't use them with that user.


For anyone facing this situation, the fix is this:

Note: This has been tried with a 13 MacBook Pro 2018 and 15 MacBook Pro 2018. This should work on any bricked T2 device.

Requirements:

Another working macOS computer (PC-1)
USB-A to USB-C cable or Thunderbolt 2/3 to USB-C
Bricked macOS computer (PC-2) that wont boot external drives and Internet Recovery is not working.
Apple Configurator 2

Step 1: Download “Apple Configurator 2” to PC-1 from App Store

Step 2: Connect PC-1 to PC-2, if your PC-2 is a MacBook Pro 2018+ (4 Thunderbolt ports), you need to connect the Power Supply to the LEFT TOP port of the PC-2 and the USB-C to USB-A to the LEFT BOTTOM port of the PC-2.

Step 3: Open “Apple Configurator 2” in PC-1

Step 4: While connected (step 2) power off PC-2 pressing the power button for around 5 seconds

Step 5: While off, press COMMAND+OPTION+RIGHT SHIFT+POWER until PC-2 appears in PC-1 as “DFU”.

Step 6: Once “DFU” appears in PC-1, select it and go to “Actions > Advanced > Remove Data & Settings”.

The drive will be wiped and an error will appear in PC-1 when trying to re-install macOS (THIS IS OK) and PC-2 will just restart.

Step 7: Disconnect PC-2 from PC-1

Step 8: Power off (if it’s on) PC-2

Step 9: Boot PC-2 with COMMAND+R, internet recovery should appear.

Step 10: If on wifi: enter credentials

Step 11: Internet Recovery will show a progress bar and a timer, follow the instructions and restore your macOS.

Internet Recovery failing happens because PC-2 detects more than 1 partitions in the hard drive, that’s why we wipe them out with Apple Configurator 2 and then try again to restore from internet.


External hard drive very slow to load after dropping it and can't be repaired with Disk Utility

I hate to be the bearer of bad news, but that external hard disk drive is most likely damaged beyond repair.

  I was using my WD HDD, it fell off my corner.

This is physical damage. No software can fix this.  This is like totaling your car and then trying to fix it by  changing your oil or using better gas.

  I fixed the thing, I plugged it into the Mac and it loads the HDD but
  it's very very very very slow.

It sounds like there was actual damage that you had to repair, but aside from that, there are two components to an external USB drive:

USB controller which is the bridge between the USB bus and the SATA disk drive
The SATA disk drive

From what you describe, the Mac is "seeing" the controller, but when it tries to access it, things go "wrong."  This would be consistent with a damaged hard drive.

The only thing you can realistically do now is hope that you have backups/copies of what was on that drive.


Is it possible to merge 2 different Contacts archives?

Sure, copy each archive to /Users/Shared and then make two new user accounts. Import one archive in one account and export it as vcard to /Users/Shared. Repeat for #2. Go back to your Main account and import both sets of vcards in to your intended app.

At that point you can export/sync and clean up the un-needed user accounts and files from /Users/Shared folder.


How to resize an iBooks' book window after switching between display?

Try to resize the book to its "original" size with  cmd ⌘0. Usually the window gets very small then.

You can always close an open book with cmd ⌘W.


Which macOS VNC client can connect to the default Ubuntu VNC server?

There exist many modern VNC clients for macOS that supports connecting to Linux servers. Free ones include TigerVNC and RealVNC Viewer.


Format a SSD from Mac OS Extended to NTFS

I respond to myself because I managed to do it. On my SSD I had an installation of OS X Yosemite, so I couldn't format it directly to NTFS.

So I first format the SSD to Mac OS Extended. And then I could choose the NTFS format option from Disk Utility.


Why is there static noise when playing media at zero volume on iPhone?

Hmmm...I did the same thing and I noticed the static too! So, I contacted Apple Support via Online Chat with the exact same wording you provided as above and a helpful representative provided the following answer:

"Now light static is going to be normal on your device even if it is fully down because there’s audio playing. You don’t have anything to worry about."

I replied:

"Ok, because I was worried that despite being on zero volume that the audio would suddenly start playing out loud! It's just that I wasn't aware of this before"

To which Toya, the representative, replied:

"Yes I definitely understand. That’s never fun, but you’re good. Now if it ever becomes loud static or screechy you have a problem."

=====================================

So there is no issue here!


Follow these steps, testing to see if the issue is resolved after each section.

Update iTunes
Check the USB cable
Verify that Apple Mobile Device Support is installed
(can be found in installed programs)
Restart the Apple Mobile Device Service
Windows Vista or Windows 7
Close iTunes and disconnect the iPhone, iPad, or iPod touch.
Click the Windows Start button  Start button.
In the Start Search field type Services.
In the Programs section of the search results, Click "Services".
Select Apple Mobile Device and click Stop the service.
Verify that the Apple Mobile Device USB Driver is installed
1.Connect the device to the computer.
2.Quit iTunes if it launches.
For Windows Vista and Windows 7:
3.Click the Start menu, right-click on Computer, and choose Properties.
In the upper-left corner, click Device Manager. The Device Manager window should open.

4.Click the plus (+) icon (or disclosure triangle () (for Windows 7 and Windows 8) next to "Universal Serial Bus controllers" to expand the selection.
5.Locate the Apple Mobile Device USB Driver in this list. If this entry is displayed without any downward arrow, "!" or "?" symbols over it, then this driver is successfully installed.
If the Apple Mobile Device USB Driver is not listed, reinstall it (instructions on apples site)
If the Apple Mobile Device USB Driver entry is listed, but has an exclamation mark or question mark over it, continue to the next steps to reinstall the Apple Mobile Device driver.
Check for third-party software conflicts
Uninstall any cellular device connectivity software from vendors such as Samsung, Nokia, Bora, Novatel, Sony, Android, LG, Sierra, Huawei, Pantech, or Motorola and see if the problem persists.
Reinstall Itunes

For a way more detailed explanation check here:http://support.apple.com/kb/ts1538


What is the effect of the choice to "set up as new iPad"?

CONFIRMED BY MYSELF on my new iPad mini 4 and iTunes 12.

If you select "Set up as new iPad" and hit Enter you'll get a new window with "Sync with iTunes" message and a blue button with white letters Get Started.
After hitting this button you'll get a iTunes window for your attached device with all the relevant information, Backups and other Options.

In other words, if you select "Set up as new iPad" * NOTHING IS CHANGED IN THE ATTACHED DEVICE * it is only attached to iTunes for subsequent actions.


How can I get Snow Leopard to properly reconnect to my Windows network drives after it goes to sleep?

This is a known issue, and has no current hotfix or resolution.  The problem is in the samba implementation.

The only thing I can think of doing is writing a script to umount your samba just before sleep, and mounting right after sleep.  (Nobody has done this yet)

Most educated source on the problem I could find:
https://superuser.com/questions/144327/mac-os-cant-connect-to-smb-shares-after-sleep


Apple Macbook Moving Desktop Files, Folders, Icons

When you are dragging them there is no way to disable this, with the exception that if you perform this action in Finder list view it would show a list of the folders instead of large icons. The intention is that you need to be able to see your drag target, so it tidies them into a bundle.


How do I run a java application that wants to bind to ports 80 and 443?

You cannot, normally, run a .jar file (which is a Java ARchive file) using the open command on OS X. It's not a executable file, it doesn't give the system any hints about how it should be run normally, so open is giving you the LSOpenURLsWithRole() error you see above.

First, you'll need to install Java on your Mac. The easiest way to do this is to open a Terminal.app window and type:

java -version

If that returns a java version like this:

IanCsiMac:~ |ruby-2.1.5|
> java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

You're done. Java is ready to be used. If java isn't present on your system, running that command will pop up a window asking if you want to install it. Follow the prompts and when you're done, java -version will show you something like what you see above. The version may be different, but the command will now work.

Now you need to run your .jar file using the java command. You need to provide three options to the java command in order for this to work:

The -jar option which tells java you're running the contents of a Java ARchive file;
A memory option for the Java Virtual Machine in the form -Xmx1024m; and finally
The path to the .jar file on disk.

For your download it's all going to look like this:

java -jar -Xmx1024m /Users/user/Downloads/burpsuite_free_v1.6.01.jar

That will start the program HOWEVER it still won't be able to bind to ports 80 and 443. Those are protected ports. Ports <1024 on any Mac OS X machine can only be bound to be processes started as root.

The correct way to run programs as root is to use the sudo command, not to login as the root user. This provides a level of control and indirection to your actions so you don't do something accidentally silly like rm -rf / without a prompt asking you if you're sure you want to do such a silly thing.

So, the final form of your command will be:

sudo java -jar -Xmx1024m /Users/user/Downloads/burpsuite_free_v1.6.01.jar

You'll be prompted for your password and, assuming nothing else is already bound to ports 80 and 443, your application will start and being listening on those ports.

If it fails because it cannot bind to 80 and 443, you'll need to find out what's bound there already and shut it down. You can use the lsof command to figure this out.

For port 80 the call is:

sudo lsof -iTCP:80 -sTCP:LISTEN -n -P

For 443 it's:

sudo lsof -iTCP:443 -sTCP:LISTEN -n -P

The output from that command, assuming something is listening on the port, will look something like this:

> sudo lsof -iTCP:80 -sTCP:LISTEN -n -P
COMMAND PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
nginx    50 root    9u  IPv6 0x8978b255ac4ef0b7      0t0  TCP *:80 (LISTEN)

As you can see, I have a process named nginx listening port 80. It has process ID 50.

I can kill that process with:

sudo pkill nginx

That doesn't necessarily guarantee it won't try and come back, but how to deal with this fully and completely is best stated as entirely separate question on the site altogether.


Not natively no. There are no current Apple devices supporting wireless charging out of the box.

There are however adapters for some devices, mostly phones rather than tablets. Not sure how useful a wireless charging adapter would be for an iPad.


MacBook Pro's battery charging only to 27%

According to this Apple Support page:

  Occasionally, the battery might not show a full charge (100%) in
  macOS, even after the power adapter has been connected for an extended
  period of time. The battery might appear to stop charging between 93
  percent and 99 percent. This behavior is normal and will help to
  prolong the overall life of the battery.

But 27% is quite low.

Additionally, you can try checking the battery cycle count. The average for your Mac is 1000.

From this article:

  Follow these steps to access information about your Mac notebook
  battery, including its cycle count:

  Hold the Option key and click the Apple menu. Choose System
  Information.

  Under the Hardware section of the System Information window, select Power. The current cycle count is listed under the Battery Information section.


Where is the official Apple documentation for the Terminal App? I need a list of escape sequences

This is a bit vague... what sequences are NOT implemented?  One simple solution would be to see if iTerm2 is a better fit to your needs.  Incidentally, have you tried:

~$ cat .bashrc
export TERM=xterm-256color

(I am setting my TERM to xterm-256color in my bashrc, so that I get a number of xterm-256color behaviour by default).

Having said that, a few google inspired links that you might find useful, or not, depending on the sequences you are looking for:

https://discussions.apple.com/thread/1375184?start=0&tstart=0

http://taoofmac.com/space/apps/Terminal


Without knowing your hardware, this search might help you understand if your hardware supports it.

https://support.apple.com/kb/index?page=search&q=multiple%20displays%20air&product=&doctype=&currentPage=1&includeArchived=false&locale=en_US&src=globalnav_support&type=organic

Feel free to take away any of the & items if your Air is old enough the support KB is archived.
The current Air should be capable of most dual display setups: https://support.apple.com/en-us/HT211190


What is the best way to use Gtalk on iphone?

Since Google does a pretty good job of making their websites mobile-friendly, navigating to http://talkgadget.google.com/ and logging in should present you with a nice chatting interface.

On the iOS app side, imo seems to be a popular choice, though I can't personally vouch for it (the mobile web interface works fine for me when I'm away from a real computer)


Lightning cable works in computer but not in wall

It's not that surprising - a lot of 3rd party accessories aren't of a very high quality, and some of them don't support all functions.

For example, there are many Lightning cables on the market that support charging, but not data transfer.

Another example is some speakers support charging of iDevices, while some only support the transfer of audio data.

The quality of the cable can impact the amount of charge travelling through it and how many devices it will or won't work with. Some cables deteriorate faster than others, meaning they stop working with some devices and not others, or just stop working totally.

Also, sometimes it isn't the cable, but the charger or accessory it is connected to.

Another variable is the amount of current going through the cable - it's quite likely that the current from your chargers is higher than your laptop (especially if they're Windows laptops).

Regardless of the cause/reason, I've seen your scenario occur many times and sometimes disconnecting and reconnecting the cable a few times gets it to work, but it's certainly not a cable I would trust any more. And they wouldn't be worth trying to fix either.

I'd keep them for as long as they work with your laptops, but would otherwise replace them and ensure you buy cables from a reputable source/brand.


Does rm -rf * in home directory in MacBook Pro deletes all my pictures in Photos app?

The Photos app normally uses photos that are stored in the Pictures folder inside of your home directory, although you can change the location that the app looks for and stores photos in.

rm -rf *  means delete all files and folders in the current directory without warning me that I might be deleting something important or asking if I'm sure.

So this would have deleted the photos in the current folder.  It would also delete things like your user Library and all the settings for your user account, which can make the account unusable.

Using disk utility to reformat the hard drive erases the entire computer, operating system and all.

To answer your question, unless someone used some kind of forensic tools to take apart your hard drive, your photos are gone.


Keynote (with iWork 09) does not have Flash options/features in the export to HTML they were available only up to iWork 08. Hopefully someone will be able to tell you how to edit the HTML Keynote now creates so that the navigation controls are not shown.


Find my phone stopped working from homepod

I encountered this problem when trying to launch a third party app via Homepod, either directly or in a Shortcut. Turns out you have to give explicit permission for Siri to use it with a particular app. Go to Settings -> Siri & Search on your iPhone, scroll down to the list of apps, open the app you wish to use with Siri, scroll down and turn on "Use with Ask Siri". If you hear Siri saying this when trying to use Apple own apps like Find My, the only thing I can think about is enabling Personal Requests, as described here https://support.apple.com/en-gb/guide/homepod/apd779d9bb45/1.0/homepod/1.0#apdf41297105


You can try hard rebooting the device. Hold the power button and the home button for 10 seconds or longer. If you phone does not have certain buttons ie force touch home button/ iphone X please use this article to figure out how to hard reboot your phone.

If you cannot break out of the boot loop and you cannot hard restart your phone, take it in to an apple specialist and if it is an issue with the Operating system they will certainly help you fix it.


How to remove files from a sparsebundle file (previous Time Machine image)?

So the comment @GordonDavisson gave above got me thinking about permissions and with a little extra searching I ended up finding this answer to  How can I delete Time Machine files using the commandline

I ended up doing the following

% du -sh geek-imac.sparsebundle
711G    geek-imac.sparsebundle

% hdiutil attach geek-imac.sparsebundle
/dev/disk3              GUID_partition_scheme
/dev/disk3s1            EFI
/dev/disk3s2            Apple_HFS                       /Volumes/Time Machine Backups

% cd <to appropriate folder>

% sudo /System/Library/Extensions/TMSafetyNet.kext/Contents/Helpers/bypass rm -rf *.m4v

%  hdiutil detach disk3
"disk3" unmounted.
"disk3" ejected.

% hdiutil compact geek-imac.sparsebundle
Starting to compact…
Reclaiming free space…
............................................................................................................................................................................................................................................
Finishing compaction…
Reclaimed 172.2 GB out of 1.3 TB possible.

% du -sh geek-imac.sparsebundle
539G    geek-imac.sparsebundle

I had not heard of bypass before, but will keep it in my toolbox for future work.


Why do iMessage and FaceTime continue to charge money even after activation?

The most logical answer to this is that it is not sending international SMS messages after activation is done, so it must be something else your carrier is charging you for.
I would contact your carrier to get an explanation of the costs.
As far as I understand, many carriers have business relationsships with Apple and ensure that you are not charged for FaceTime/iMessage activation. You can check a list of carriers here:
https://support.apple.com/en-us/HT204039
UPDATE
You have updated the question with the requested information.
The phone number you quote is indeed an Apple registration number in the UK. Your own phone number seem to be in India. The carriers I know in Europe usually do not charge their customers for Apple registrations, but your Indian carrier apparently does.
The text message you have is not the FaceTime registration message - it doesn't look like that. It does however look like a standard receipt that indicates that a has been delivered succesfully.
I would try disabling and enabling FaceTime/Messages (i.e. specifically your phone number from FaceTime/Messages) to try to trigger a re-registration.
If that doesn't work, contact Apple to work out why it keeps trying to register.


can I restore my SMS messages without iCloud?

No, if you don't have any backups in iCloud or your local Mac or PC, you can't restore them.  You don't have any place to restore them from.
The SIM card does not store a copy of messages sent using iMessage or Messages.


If you want to open all xml files in Chrome, you need to click the Change All... button in the File | Get info (cmd+i) window.


Is there a simple way to compare apps in my iTunes library with those actually installed on my iPhone?

Two possible answers...

Assuming you've not actively deleted them from iTunes as well as from your iPhone...

Upgrade to iTunes 10.x if you haven't already
Plug your iPhone into your Mac, open iTunes, sync it.
Click on the iPhone in the side bar and go to the Apps tab

You'll see that some apps are checked and others are not. This is an indicator of whether or not they're installed on the device.

Pretty sure this got introduced in iTunes 10.x (hence the first step)

Assuming you don't delete your old emails... (e.g. Archive in GMail)

The iTunes store should have emailed you summaries of the apps you've purchased (even the free ones) shortly after their 'purchase', so, if you have an email account where you've kept those emails, you could search through them to get a list of each app you've purchased from the iTunes store.


Am i able to install Win 10 on a Macbook Pro '15 running Catalina (model no. 12,5) with/without bootcamp properly?

If you wish to create a USB Windows 10 installer, the process if fairly simple.

Use the Boot Camp Assistant to download the Windows Support Software (the drivers).
Download the Windows 10 ISO from this website.
Erase a 16 GB or larger flash drive. Use the Master Boot Record scheme and ExFAT format.
Copy the files from the Windows Support Software download and Windows 10 ISO to the flash drive.

If you do not wish to use the Boot Camp Assistant to install Windows 10 to the internal drive, then apply the following steps.

If you are going to keep some existing partitions, then create free space or contiguous partitions which can be deleted during the Windows installation.
Restart the Mac and hold down the option key until the Mac Startup Manager icons appear.
Select the EFI Boot under the external drive icon.
When asked for a Product Key, you can select to skip this step. If you skip, then at some point (30 days?) you will need to enter a product key.
During the installation, either erase the entire internal drive or install to available free space. This may require first deleting any unneeded partitions.


Figure out which command is bound to a keyboard shortcut in TextMate

I figured it out!

The key was using the Bundles -> Select Bundle Item... (^+⌘+T) dialog box. When the box options, in the search field at the top of the dialog box, click the down arrow on the magnifying glass and change the search type from "Item title" to "Key equivalent".

Now you can press the ⌘+⌥+\ key combination and the list will filter to show you the commands bound to that combination:


Force Mac to use Power Adapter as Power Source

I still don't understand your question.

You want to plug it in but not charge the battery? Why?

My vague understanding about batteries speaking with hardware repair shops, etc. is that it's no longer truly worth worrying about. You charge when you can, you use the battery when you must. While plugged in, the battery charges until full and then stops charging. Presumably, at that point, it's using the power cord and not the battery.

The other thing that I seem to recall is that it's all about the charge cycles. You want to keep that number down. So, if you work from home one day, it would be better to leave it plugged in all day because that would only be one cycle (assuming you plugged it in first thing in the morning). If you plugged it in until it was charged, then unplugged it and used it until it was low on battery, then repeated, that would be 2, 3, or 4 charges during the day depending on how you use the computer.

So, what I've heard from people much more knowledgeable than I, is that the potential gains you might experience doing "the right thing" are not worth the effort required to realize those gains.


Battery draining fast and Haptic feedback not working

The simple solution to a battery draining is that it's a faulty battery (which can even happen with a new part - it's less likely, but it does happen) or a faulty logic board.

The simple solution to haptic feedback is a bad logic board, a bad cable (connection reseat possibly) or a bad part.

So, right now you have two strikes against the logic board and can probably open and reconnect all cables before you start to replace parts to isolate this to one failure or two failures.

As far as software triage, you can test by downloading and installing a fresh, new OS onto an external USB drive. Even a slow drive will work for testing that the CPU is low in activity monitor and do a run time test to see how fast the battery discharges in idle and sleep. It also lets you test the haptic feedback on a fresh system. I'd hate for you to go in for more hardware repairs if there's a software cause.


This is a problem with firmlinks which are used by macOS and not supported by ncdu.
You can use ncdu --exclude /System/Volumes/Data -x / on macOS Catalina to avoid the problem and scan the whole file system.


What to do with equipment for old PowerBook 5300c and other Equipment?

I would try something like eBay or classified ads, and then donation and or recycling after that if no one wants the stuff.


This is not normal, shutdown the laptop and the press the Power Button and hold down Command + Alt/Option + P + R. Hold these buttons for around 20 seconds. This might fix the issue.

I had the same issue on a MacBookPro10,1 (15" Retina, Mid 2012) and reseting the NVRAM fixed it for me.

If that does not fix it, it might be a worth a trip to the Apple Store.


MacBook Air syncing with my iTunes on my iPhone

You can not just drag and drop music from an iPhone when connected to the computer, though there are software for that. I would suggest, Download a software such as iPod access, which can help you extract the songs directly from the iPhone.


Short answer, use a rectangular shape as you were to draw a block, and then just type words inside it.  Then you can change its size freely.  However, this is NOT called textbox in Keynote.

The confusion/frustration comes from how Keynote and Powerpoint handle textbox.  In Keynote, I think a textbox can't be changed height wise, since it's supposed to big enough to expose all the texts in it.  So you can't arbitrarily change its size.  In contrary, Powerpoint let you change the size of a textbox freely even if you block some of the texts in it.

Mac OSX Yosemite 10.10.3

Keynote version 6.5.3(2151) (don't think these matters in this case)


Disable mouse interference in input source overlay when switching?

As I've never seen a keyboard with that 'globe' on the Fn key to switch layouts, I'm curious as to what your Control panel for it looks like.
System Prefs > Keyboard > Shortcuts > Input Sources.
If that's anything like mine, just switch it to another key command. I use Ctrl/Spacebar & like you I only have 2 languages, so it's a simple flip between the two.

This produces no screen overlay, but if you have the language menu bar item, you see the flags switch.


Why can't I log in to Messages using my preferred Apple ID

Trying to use an Apple ID with an expired password will result in the inability to authenticate an Apple ID for the messages app and will prevent you from logging into other iCloud services. Unfortunately, the iOS device doesn't notify one that the password has expired. Trying to login into iCloud.com using that ID will also fail without any explanation—it just fails.

The iTunes Store seemingly continues to accept the expired password for some period of time after iCloud ceases to do so. (I imagine this is for a limited time only and that the iTunes ID database syncs with the main database regularly.)

If you're having problems you can check the status of your Apple ID and change your password by going to Apple's My Apple ID page and logging in. You will be notified if your password has expired and be given the opportunity to change it.

An AppleID with a time-expiring password is an outlier situation. I assume this is the reason that iOS/iCloud return incorrect/forgotten password errors instead of notifying the user that the password needs to be changed.


Can't delete partitions after attempting BOOTCAMP on my iMac 5k

Something went totally wrong and your Logical Volume Group is fragmented. You have to rebuild your Fusion Drive from scratch:

Preparation:

Backup "Macintosh HD" to an external drive with Time Machine
Detach any external drive (especially your external Time Machine backup drive)
Restart to Internet Recovery Mode by pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 5 min (presenting a small animated globe) to boot into a recovery netboot image which usually is loaded from an apple/akamai server.

I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.

Alternatively you may start from a bootable installer thumb drive (Yosemite) or a thumb drive containing a full system (Yosemite).

Rebuild Fusion Drive

Booted to Internet Recovery Mode open Utilities → Terminal in the menubar and enter:
diskutil cs list to get the CoreStorage listing.
Copy the second Logical Volume Group UUID, it's the seventh listed in the listing of diskutil cs list.
Then delete the second Logical Volume Group with diskutil cs delete LVG2UUID.
In your case: diskutil cs delete E0E4516A-DE3A-4B62-BE6A-855A760F5E3E
Copy the Logical Volume UUID it's the sixth UUID listed
delete the Logical Volume with diskutil cs deleteVolume LVUUID.
In your case: diskutil cs deleteVolume 00CDC215-F00D-4AD4-BA78-A2B220278688
Copy the first Logical Volume Group UUID, it's the first listed in the listing of diskutil cs list.
Then delete the first Logical Volume Group with diskutil cs delete LVGUUID.
In your case: diskutil cs delete 8FCBCB92-43CC-45A2-A058-58CAF79B93B4
Enter exit and quit 'Terminal'
Open 'Disk Utility'. Enter 'Ignore' if you are asked to fix the drives.
Choose your SSD and partition it: 1 Partition Mac OS X Extended (Journaled),
hit the Options button and choose GUID Partiton table and hit OK and Apply.
Please check that the size is ~121 GB

Example:
Beware! Since I took the screenshots in a virtual machine which couldn't be booted to Internet Recovery Mode i had to create two example disks with different disk identifiers and sizes. So don't use my UUIDs and disk identifiers recreating your Fusion Drive.

Choose your HDD and partition it: 1 Partition Mac OS X Extended (Journaled),
hit the Options button and choose GUID Partiton table and hit OK and Apply.
Please check that the size is ~3 TB

Example:

Quit Disk Utility and open Terminal
Enter diskutil list

Example (your disk identifiers and sizes are different of course: Your volume SSD probably has the Identifier disk0s2 and the size 121 GB and your volume HDD probably has the Identifier disk1s2 and the size 3.0 TB):

Enter diskutil cs create "Name" IdentifierSSD IdentifierHDD
In your case probably diskutil cs create "Macintosh HD" disk0s2 disk1s2.

Copy the resulting LVGUUID

Example:

Enter diskutil cs CreateVolume LVGUUID jhfs+ "Macintosh HD" 100%.

Example:

Enter diskutil cs list
Check the size of your Logical Volume. It should have the size ~3.121 TB

Example:

Quit Terminal
Open 'Disk Utility' and check your newly created volume for errors
Quit 'Disk Utility'

Restoring "Macintosh HD" from Time Machine backup (alternatively you may reinstall OS X and migrate your users and apps - see below)

Attach your external Time Machine backup drive or check this answer if you use NAS or another network share.
Open 'Restore from Time Machine Backup'

Choose the appropriate Time Machine backup and restore your system
The messages on your screen may differ slightly (different names and backup source)

Reboot to your restored system.
Unmount and detach your Time Machine backup drive
Open 'Terminal' and enter 'diskutil list'
Check if your 'Recovery HD' is listed.
If your 'Recovery HD' is missing, usually reinstalling your current system with the latest available system installer (e.g. 'Install OS X Yosemite (10.10.2)' if Yosemite is currently installed) will recreate it without loosing any data. AFAIK Recovery Partition Creator 3.8 will NOT create a Recovery HD on CoreStorage volumes.
After reinstalling the system with the latest available system installer open App Store and install the latest security fixes.

Reinstalling Yosemite from scratch and migrating apps & data from Time Machine backup

Choose "Reinstall OS X"

Choose "Macintosh HD" as destination disk
after the download, installation and a restart the Setup Assistant will ask you - beyond other questions - to migrate users, apps and other data
attach your Time Machine Backup drive and wait a few seconds
choose "Migrate from Time Machine backup" (or something similar - i don't remember the precise message.)
finish the migration
start App Store.app and install the latest updates.


I'm afraid there's no non-destructive way to revert back to HFS once converted. You may use diskutil apfs deleteContainer /dev/disk(x)s(x) (where x is your correct APFS container).
This will revert the APFS container back to HFS but will destroy all data. Best find another pool of storage to copy all data from that drive to, then revert, then copy back.


Alfred 2 fails to launch after upgrade to Yosemite

Don't use Alfred myself so I can't give a specific answer.

Something I would try though is using opensnoop to see if I can work out where it is failing.

If you type sudo opensnoop | grep alfred into a Terminal it'll show you all the files that Alfred is touching. That might help you identify where it is crashing, for example if it is a corrupt plist file.


How to record everything that goes in my EarPods on OS X Yosemite?

I've been using SoundSiphon as a Soundflower replacement. It works well, but occasionally it produces system log messages (which are merely annoying).

I'm not sure about recording what goes into the EarPods mic at the same time, but by itself it should work without needing additional software.


Double sound notification when plugging in iPhone X with Fast Charge

Yes, when fast charging iPhone gives the charging sound ("Ding") notification twice. And definitely you will not get sound notification twice when you have used the 12W iPad charger.
12W Charger => The downside is that while it’s faster than the brick that comes with your phone, it’s still not quite the true quick charging speed that a USB-C brick should offer. Simply you could not get the true fast charging. But it is better than what comes with the box.

29W Charger => Apple isn’t saying what the maximum fast charging speed is for the new phones — only that it achieved those fast charging results with its 29W, 61W, and 87W USB-C chargers for the new MacBooks and MacBook Pros. These chargers offer the best fast charging power where you hear the charging sound twice.

References : (EasyAcc, 2017), (Apple Inc., 2017) , (The Verge, 2017).


If your user is an admin, they should (by default) be able to use sudo (based on the contents of the sudoers file).

If you re-enable the root user, and examine the contents of the file at /etc/sudoers, you should find this line (which specifies that the admin group has the ability to use sudo):

%admin  ALL=(ALL) ALL

It may be a good idea to confirm that "phil" is in the admin users group. You can perfom this check on the command line using this command (after you've re-enabled root, of course):

sudo dseditgroup -o checkmember -m phil admin

It's also possible that the rootpw flag may be set in the /etc/sudoers file (this should be off by default). If you find the following line in that file, see if deleting it will help:

Defaults rootpw


Attach your phone to any Mac that you want to use as your new machine. It can be the same machine with a new hard drive, or a completely new Mac altogether.
When prompted to sync, cancel, so that you don't lose the data on your phone.

Now, click File -> Transfer Purchases. You will be prompted to "authorize" your Mac. Log in and then you should be able to transfer your music and apps.

If you want to save your contacts to your computer, look through the "Info" tab to have iTunes overwrite the contacts on your Mac with those on your phone. There are settings for that there.

You can also use Music Rescue (shareware) to pull off your music.


trouble deleting files from an external drive

Open Terminal
Drag folder you want to delete onto the Terminal icon in the dock
Type cd .. in the new Terminal window in order to move to the parent directory.
Type ls to find out the exact name of the files/folders in the directory.
Type sudo rm -r filename to delete the file/folder 'filename'. Be careful to type the correct name.

Dragging files onto the terminal icon does not work. You will need to drag the parent directory onto the icon.


What version of iTunes dropped synchronization support for iPod Classic?

iPod classic continues to be supported when device syncing was moved from iTunes into the Finder. No device support was removed from iTunes.
If you're having trouble synchronising an iPod with a newer Mac, that sounds like a specific issue that would warrant a specific question.
I can't find the Twitter thread I saw on this topic, but I've found this video that also demonstrates it: https://www.youtube.com/watch?v=fV3itfJyyMM.

An Apple Support article for Big Sur also mentions syncing of iPod classic/nano/shuffle: https://support.apple.com/en-gb/guide/mac-help/mchl923c1147/mac


Try to rename it issuing this command on the terminal as a privileged user:

diskutil CoreStorage rename (uuid of the logical volume) NewName


You have to install Windows 7 to BIOS boot. EFI booting is not possible for two reasons. First the EFI firmware in your Mac is not new enough. Second, the drivers are for a BIOS booting Windows. The Apple way is to use a the Boot Camp Assistant and a Windows 7 DVD. You can choose either a 32 bit for 64 bit Windows. Windows 7 should include SP1. You can download the current Windows 7 from Microsoft. If necessary, the Window Support Software (Boot Camp Support Software) can be downloaded from the Apple website Install Windows 7 on your Mac using Boot Camp.

Your model Mac can not BIOS boot from a USB port. Therefore, modifying the Boot Camp Assistant application to create a Windows 7 USB installer is a pointless waste of time.

If the use of a DVD is not an option, then the following methods can be used or adapted.

The VM method. Here, a virtual machine is only used to install Windows 7.
The GUI method. The answer is for Windows 10. You will have to adapt for Windows 7.
The CLI method. The answer is for a Windows 7 and 10 dual boot. You will have to adapt to omit Windows 10.


I have a service listening on a port, how do I open the port externally?

On MacOS X greater than 10.8, you should allow incoming connections for this application.

Within:

System Preferences > Security & Privacy > Firewall > Firewall Options…

click on the +, and select the application to use.


How to install boot camp without Windows cd?

Are you missing the physical media and only have an ISO of the Windows CD or do you not even have that? An ISO and an 8GB thumb drive is all you really need. Just launch the Boot Camp app and follow the prompts.

Boot Camp is basically the glue that allows Windows to install on a Mac. And by glue I mean the installation utilities and drivers.

Using Boot Camp without Windows is kind of like using an oil filter without the car to plug it into: it has no function all by itself, it only works in concert with another part. In the case of the oil filter, it needs a car or other vehicle. In the Case of Boot Camp, it needs Windows.


Jash, you can downgrade your OS to 8.0 by downloading the original IPSW file for your device.  (They are device specific, so make sure you have the model number handy for your phone.)

http://www.redmondpie.com/ios-8-beta-download-release-date-features-rumors-and-news-update/

Once you download the version of 8.0 for your iPhone version - following this:

Connect iPhone to computer
Click on iPhone, then Summary
Hold SHIFT and click on restore. A file dialog window should open, allowing you to manually select the restore media. Navigate to where you downloaded the iOS software to, and select that .ipsw file from the list.  This is different for Mac vs. Windows - so it may be CNTRL or SHIFT for you. (SHIFT is Mac OS.)

It should overwrite and install the 8.0 version to the iPhone.

Regards,

Ed


How do I disable "link preview" in iOS safari?

I think the other answer is outdated. Link preview is the default action on long-press now (not just 3d touch), and not just in Safari.

To disable it, long-press a link and tap the "Hide preview" option. That option is currently found in the top right corner (which might change with future updates).


Why is my MacBook Pro's screen going black for a second?

Clearly, something isn't right. I highly suggest you make an appointment at your nearest Apple Certified repair location or a Genius Bar.


Is it possible to hide the name of the desktop icons?

If you want to just hide one filename or folder, the answer is kludgey but it works:
Insert 58 spaces in the beginning of the filename: the filename "disappears" from the desktop.  It still exists (you can Cmd-I or Finder to see it/change it), but it's no longer visible on the Desktop.  In actuality, it's probably showing the first 58 characters of the filename (the invisible spaces) and cutting off the rest, so technically it's not hiding the name, just truncating it, but anyway...  (The 58 may not be an exact number, but that's how many it took to hide "foo.app" on my 10.11.6 Mac.)


Open System Preferences
Select User & Groups
Select Login Options (not Login Items)
(Click the lock to make changes at the lower left corner of the window)
Uncheck "Show fast user switching menu as ...


When running a binary from your shell, the shell stores its path within PATH in a cache and uses that value for future calls to avoid having to research the path each time. If you then install a new version of this binary in a different location the shell won't notice this and keep running the previous version.
If you are running bash

hash -t nano will show the currently used version of nano (if any)
hash nano will update the cache for nano

If you are running zsh

hash -m nano will show the currently used version of nano (if any)
hash -f nano will update the cache for nano


Yes, i'm the IT Manager for an Ad Agency using mostly Macs, and i've done it all, 10.4-10.7 and it's almost never a problem. Are you using AD or something for authentication? Migrating from 10.4 all the way up to 10.7 has always worked for me.

As a suggestion, try installing Applejack on the system and running it. It's an excellent a ppm, and has sorted out issues for me more than a lot of times.. It's been a lifesaver.. Also, Are you using Firewire? or Ethernet to migrate user accounts? Ethernet is by far the fastest/best way to migrate user accounts between 2 machines

Wow, that was totally wrong. Sorry, i was not paying attention when i wrote that...
EDIT: Firewire 800 is the fastest, Firewire 400 is the next fastest, Ethernet is the slowest, and Wireless is unusable.. Sorry... Msg me if you are still having problems, and I'll try to help!


As you mentioned, characters like á are stored or shown in decomposed form (LATIN SMALL LETTER A + COMBINING ACUTE ACCENT) even though most keyboard layouts insert characters in composed form (LATIN SMALL LETTER A WITH ACUTE).

The format is a variant of NFD where some ranges of characters are not decomposed. See Text Encodings in VFS:

  Important: The terms used in this Q&A, precomposed and decomposed, roughly correspond to Unicode Normal Forms C and D, respectively. However, most volume formats do not follow the exact specification for these normal forms. For example, HFS Plus (Mac OS Extended) uses a variant of Normal Form D in which U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through U+2FAFF are not decomposed (this avoids problems with round trip conversions from old Mac text encodings).

You can convert text to the decomposed format with iconv -t utf-8-mac:

$ touch á
$ ls | tr -d '\n' | xxd -p
61cc81
$ printf á | xxd -p
c3a1
$ find . -name á
$ find . -name $(iconv -f utf-8 -t utf-8-mac <<< á)
./á


New motherboard comes with new SMC controller.

I would suggest your run a Reset-SMC on yours to correctly identify your hardware.


To disable local backups issue this command in terminal:

sudo tmutil disablelocal

This almost never is necessary as the system will automatically prune and disable local backups as your drive fills. You can search for backupd using the console app to see if and when the storage cleanup happens due to low space.

There is a lot of confusion as to the purpose of local snapshots. It's not to take snapshots that then get dumped to your actual Time Machine drive when you run a backup, it's a separate set of snapshots that let you restore files you've accidentally changed or deleted, when you're away from your Time Machine drive. It's not a true backup -- it won't help you if your laptop's drive fails -- but it will help out if you're on the go and you accidentally lose something while on the go. As such, they don't get cleared out after TM backups.

On my computer (a Macbook Air with flash memory), it deletes old mobile snapshots after a week. The behavior may be different on devices with hard drives, as they don't experience longevity issues with full disks. According to Apple's documentation, they aren't deleted after a week. Note that the available space shown in Finder does not take into account the local snapshots, because they will automatically be deleted if you need the space, and it will automatically keep at least 20% of your disk space free -- so you generally shouldn't worry about space taken up by local snapshots.
However, if you don't want them around, you can disable them with the command sudo tmutil disablelocal. This will free up the space taken by your local snapshots, and if you reenable it with sudo tmutil enablelocal, it'll start again with an empty set of local snapshots. So, a quick way of clearing out what's on there is to disable and re-enable local snapshots.

You can see how many old backups are being stored by activating Time Machine. White tick marks indicate local snapshots, and purple ones indicate real backups.

There's more information from apple and here.


Cannot create Bootcamp partition on High Sierra APFS SSD disk

This answer is not finished. Please do not edit!

This answer is based on the accepted answer to the question "Boot Camp Assistance is stuck on create a partition?". Modifications were made to include improvements suggested by user128216 to this answer.

Based on the lack of posted questions regarding using the Boot Camp Assistant to install Windows, I have assumed most users are successfully installing Windows on drives containing APFS partitions. When the Boot Camp Assistant fails, generally the problem is not with the Boot Camp Assistant, but rather with the APFS container. So, the usual solution is to backup your stuff, wipe the drive, and reload everything.

However, if you wish to install Windows without using the Boot Camp Assistant (except for creating the USB installation flash drive), you need to first determine how much space is available for Windows. This can be determined from the output of the command diskutil apfs resizecontainer diskXsY limits, where X is the drive number identifier and Y is the partition number of the APFS container.

These are the basic steps needed to install Windows 10 for an EFI boot.

  Note: To get a better view of the images shown below, either click on an image or open an image in a new window.

Use the Boot Camp Assistant application to copy the Windows 10 installation files and the Boot Camp Support Software to a 16 GB or larger flash drive. A USB 3.0 flash drive would operate considerably faster than a USB 2.0 flash drive.
The command below will create the 70 GB "BOOTCAMP" partition on your internal SSD drive. The space occupied by this partition will be used for installing Windows.

sudo  diskutil  apfs  resizeContainer  disk0s2  180.8G  FAT32  BOOTCAMP  70G

If you have not already done so, insert the flash drive containing the Windows 10 installation files and the Boot Camp Support Software.
Use the command shown below to rename the AutoUnattend.xml file.

mv  /volumes/WINSTALL/AutoUnattend.xml  /volumes/WINSTALL/NoAutoUnattend.xml

Next, you need to boot from the volume where the Windows installation files reside. Hold down the option key immediately after restarting on your Mac. Release the option when the Startup Manager window appears. Select the icon labeled "EFI boot". Next, select the arrow below the "EFI boot" label.
Open a Windows Command Prompt window, by following the procedure outlined in this step. Below is an image of what is initially displayed by the Windows 10 installer. Select "Next".

In the image shown below, select "Repair your computer".

In the image shown below, select "Troubleshoot".

In the image shown below, select "Command Prompt".

The result should be the image shown below.

Use the command diskpart to finish partitioning disk0. The commands you need to enter are given below.

  Note: Sometimes it can take a while for the diskpart command to produce the first prompt. Be patient.

diskpart
list  volume

From the output of the command list volume, determine the number for the volume with the label "BOOTCAMP". In this example, I will assume the number is 0. Your number could be different. The next command selects this partition.

select  volume  0

The next commands effect the "BOOTCAMP" volume. The format is changed to NTFS. Next, the size is shrunk by 600 MB.

format  fs=ntfs  label=BOOTCAMP  quick
shrink  desired=600

Create a Windows Recovery Environment (WinRE) partition. The next commands create and initialize an empty 600 MB WinRE.

create  partition  primary
set  id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt  attributes=0x8000000000000001
format  fs=ntfs  label=Recovery  quick

The next command lists the current volumes. Take note of the drive letter (Ltr) for the volume with label "WINSTALL". In this example, I will assume the letter is D. Your letter could be different.

list  volume

The command below quits the command diskpart.

exit

Enter the command below to start the Windows installation. If the drive letter, for the "WINSTALL" volume, is not D, then make the appropriate substitute when entering the command below.

setup  /unattend:D:\NoAutoUnattend.xml

When a window similar to what is shown below appears, select the "BOOTCAMP" partition, then click on the "Next" button.

Continue with the installation of Windows 10. If the computer boots back to macOS, goto System Preferences and select Windows as your startup disk. Restart the computer to continue initializing Windows 10.
When finished, the Windows Support Software installer should automatically launch. If this does not occur, use the Windows File Explorer to open the Windows Support Software application named "Setup". This application can be found in the "BootCamp" folder on the "WINSTALL" drive. After the installer application completes, allow the computer to restart.

If asked, I can clarify any of the above steps.


Connect a Lacie Thunderbolt only drive to a USB port?

Thunderbolt is PCI express, so you would need an older machine to have a PCI express bus or card and then add an adapter card which would cost far more than a new USB drive.

I don't think that adapter (which is eminently makable) would be brought to market due to the cost of the "solution" to be implemented.

If you need a drive that connects to old and new computers, perhaps trading your awesome Thunderbolt drive for a USB one would make sense, but you might instead put the files on an internet share to do short term sharing of the data.


How can I share a Time Capsule connection?

Yes you can. Since the Time Capsule is an Airport Extreme with an internal hard drive it's relatively easy to convert it into a wireless to wired bridge assuming you already have it set to hook up to the wireless network.

Open up Airport Utility and start Manual Setup on your Time Capsule
Go to the Internet section
Under Internet Connection be sure Connection Sharing is set to Bridge Mode

If bridge mode is turned on it will share the connection and essentially act like a switch.


Why is my new Apple TV suddenly not showing my purchased TV shows?

I was having this same issue. I have Restrictions turned on so my kids couldn't buy anything. It's supposed to ask for a passcode (which it does when buying apps). Trying to buy something on iTunes just caused the spinner to spin forever. I turned off Restictions and it worked the first time!


Is there a replacement for Rosetta in Lion?

I know it sucks, but really you might just need to drop the PPC stuff (Apple isn't going to support it at all in the future) or look into trying to get the source code and recompiling it yourself.


How to export the contact photo in Mountain Lion?

Trying on OS X Yosemite 10.10.1:

On OS X 10.8 it was possible to extract a photo from contacts on the Mac user interface.
That did not work for me on the current version.
Thus I went to look in the ~/Library.

I found the picture I had taken under

~/Library/Application\ Support/AddressBook/Sources/(some long hex string)/Images/

Thus on Finder click the "Go To" menu, holding the ⌥ ALT. Click on "Library", then navigate to the Images folder.

(On my iPhone, in Contacts, I had taken a photo of a friend yesterday.
Today I wanted to file the photo, found it as above on my Mac, though with a size of 87 KB only.)


com.apple.quarantine attribute does not cause any warnings

Special attributes cleared when I finished install of new version of docker desktop (I stumbled upon the @ in ls -l output when new version was being downloaded). Apparently during download and install some tech details were under the hood and I did not guess they effected main/active file attributes.


What cable provides support for dual external monitors at 1920x1080 on a MacBook Air?

My information is second-hand, but another user at my company gave an strongly enthusiastic recommendation of a "NewerTech" USB to DVI adapter. Note that this will require use of their driver, but he has had no issues with it. It is available from OWC.


How to setup a MacBook Pro with DHCP Server over USB WiFi dongle

To get that working you have to be able to create an ad-hoc network with one of the two Wi-Fi interfaces. It works at least with Airport but only without any Wi-Fi security like WEP/WPA/WPA2. I don't have access to a RTL8188cus, so I don't know if its driver allows a "safer" wireless networking.

Additionally you have to install a lightweight DNS/DHCP service like dnsmasq.

Open Terminal.app
Install homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

doctor homebrew:

brew doctor

install dnsmasq:

brew install dnsmasq

copy config and plist files:

cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons
sudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

create some additional config files and folders:

sudo mkdir /usr/local/etc/hosts
sudo touch /usr/local/etc/hosts/hosts.conf
sudo mkdir /var/lib/misc
sudo touch /var/lib/misc/dnsmasq.leases

Create an ad-hoc network with your Airport Wi-Fi interface including a name.
Open System Preferences -> Network -> Airport Interface and configure an IP-address, a netmask and a DNS-server manually:

IP-address: 192.168.2.10
Netmask: 255.255.255.0
DNS-server: 127.0.0.1

Modify /usr/local/etc/hosts/hosts.conf with nano:

sudo nano /usr/local/etc/hosts/hosts.conf

Content (append a trailing empty new line):

127.0.0.1       localhost
192.168.2.10    host.foo.bar www.foo.bar

Modify /usr/local/etc/dnsmasq.conf with nano:

sudo nano /usr/local/etc/dnsmasq.conf

Content:

...
# Add other name servers here, with domain specs if they are for
# non-public domains.
server=/foo.bar/127.0.0.1
addn-hosts=/usr/local/etc/hosts/hosts.conf
...
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=en0 #modify the interface name if necessary
...
# 3) Provides the domain part for "expand-hosts"
domain=foo.bar
...
# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
dhcp-range=192.168.2.50,192.168.2.100,12h
...

If you need further settings/options read the comments in the config file.
load the dnsmasq daemon:

sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

Configure your web-server properly.
Start your web-server.

Connect the client hosts to your ad-hoc Wi-Fi network.
The clients have to get their IP-addresses on the Wi-Fi interface via DHCP. It usually doesn't work with manually configured IP-addresses (without changing them or only by accident!).
Open a browser on the client hosts and enter www.foo.bar.


Google Calendar will not sync with Calendar.app after Yosemite

Have you tried changing what to be synced here? This is the Google Calendar Sync select page, it is also available for iPhone.

On these sites you are able to choose, which calendars are being synced. Your choices are:

All of your own calendars
All the calendars you've subscribed to.


iPhone 5 not charged enough to boot after 2 hours plugged in

The iPhone turned on the Apple logo and is now fully back on after almost 3 hours of charging. Turns out it may take 3 hours if battery is drained completely for iPhone 5 to turn back on.


This pkg is also in the "OS X Install ESD" this one should not be empty.

to get it just download mavericks from app store

make a right click and show package contents there should be an "OS X Install ESD".dmg

mount it

now you should find BSD.pkg under -> /Volumes/OS X Install ESD/Packages/BSD.pkg


Will i be able to upgrade from ios 9.1 beta to 9.1 stable

Are you saying that your firmware is higher than iOS 9.1 and you want to downgrade back to 9.1? If so, you can't because Apple has stopped signing iOS 9.1 since December, I think. You can learn more from this post.


Running Steam game in fullscreen doesn't allow second screen to show anything else (Mavericks)

I believe Steam uses its own full-screen mechanism independent of the system's full-screen option.  Since it's not the typical full-screen provided by OS X, the multiple spaces feature doesn't work here.


Pioneer DVD-ROM will not eject after some time of system usage

It turns out that OS X presently does not know how to properly wake all optical drive devices.  Turning off "Put hard disks to sleep when possible" has seemingly resolved it for the time being and this has been reported to Apple.


This sounds as though your system is in a cycle of kernel panics. The first thing to do is to try starting your system in Safe Mode to clear out the system- and application caches and to rebuild the font libraries:

http://support.apple.com/kb/ht1455

If that doesn't do it, I would next try resetting your PRAM. There may be some boot settings that have gotten messed up. To reset your PRAM, turn off your computer and then turn it on again. Immediately press command+option+p+r until you hear the start tone for a second time, then release it.

If a Safe Boot and PRAM reset don't fix things, you can next try resetting the System Management Controller (SMC). Instructions vary depending on the system, so see the following Apple article for details:

http://support.apple.com/kb/HT3964

Finally, if that doesn't do it, you'll need to run Apple Diagnostics to determine whether you have a hardware fault. Again, details differ depending on the system, so see the following article:

http://support.apple.com/kb/HT5781

Best of luck!


Every time I press enter in the terminal it says Karans-MacBook-Air:~ karanmunjal$. How do I fix this?

Right now, it is showing you the default prompt, which is your computer name, current directory and the username.

export PS1="$" or export PS1="\w $" or similar (see https://ss64.com/bash/syntax-prompt.html)

should relieve you. If you're  convinced, append your custom command to ~/.bash_profile and reopen Terminal.

Other than that, pressing enter is actually running an empty command, so after completion, the prompt returns to receive further ones. That is expected behaviour.

Just in case, you want to edit computer name, Go to System Preferences -> Sharing and edit it under Computer Name.


Nedit stopped working on my iMac running High Sierra 10.13.4

Looks from your comment that your display variable is not set. Ensure you have an X-Server running (I. E. XQuartz) and then set your display environment variable first with:

export DISPLAY=:0

Launching applications from within the XQuartz terminal will have the $DISPLAY env var set automatically. You can make this change persist by adding that line to your ~/.profile or ~/.bash_profile file:

echo 'export DISPLAY=:0' >> ~/.profile

Note that in my setup, XQuartz automatically sets $DISPLAY for me without my needing to do this, so you may want to re-install XQuartz.(Or ask a follow-up question about why that behavior isn't working)


Safari keeps deleting items from my reading list

They're not being deleted, they're just read and you're hiding read items. Show unread items in reading list by clicking the Show Unread button above the list.


Unlike other folders, dragging apps out of /Applications create an alias. What controls this behavior?

Sadly, the premise behind this question was flawed. I originally posted this observation:

  Inside of a test VM, I renamed /Applications to /Applications2. The renamed Applications2 folder retained the same dragging behavior as before, suggesting that the functionality is not hard-coded to a specific path.

Unfortunately, this only remains true until a restart of Finder. In other words, if I rename the /Applications to /Applications2, Applications2 will retain its special dragging behavior only until Finder is restarted! If I killall Finder, Applications2 will gain normal dragging behavior.

This also works in reverse—a user-created directory moved to /Applications will gain special dragging behavior when Finder is restarted.

So, I think it's safe to conclude that the behavior is hard coded to specific paths, and cannot be changed. I'm disappointed, but it does make sense. I do wonder if these hardcoded Finder paths are stored in a config file somewhere that could be changed... but knowing Apple, probably not.


Where are stored C "object" and "executable" files in Xcode?

The files are stored in the project directory; in Xcode, find the file you'd like to see where is, right-click it, and choose "Show in Finder".
Nope. You'll have to recompile for other platforms, and possibly change code to be more portable. (That last, of course, depends on what libraries you use.)
Probably. Xcode may set some compiler flags you wouldn't in the terminal. Look in your project settings for these.
I would expect so, but I do not know how.
Clang from the LLVM project. Apple used to use gcc.

This is from my Yosemite (10.10.4) Mac with Xcode 6.4:

$ clang --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

Amusingly, gcc also is actually clang:

$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

If you want to develop native Mac or iOS apps, you pretty much have to use Xcode. Java apps are not native, and you cannot write Java code in Xcode. (One used to be able to write Java in Xcode back before OS X 10.4, before the Cocoa-Java bridge was deprecated.)


If the above don't work, which I imagine resetting the NVRAM won't since that's what you do each time, you can try the following:

Your Mac might be in Safe Sleep. To wake from Safe Sleep, connect
your Mac to its power adapter and press the power button. Make sure
that your Mac isn't turned off. If your MacBook Pro still won't wake
up, follow these steps to turn off Power Nap:
Press and hold the power button to turn off your Mac. Wait a few
seconds, then press the power button again to turn your Mac back on.

After your Mac starts up, choose Apple logo in top-left corner > System Preferences,
then click Energy Saver. Click the Battery tab and deselect Enable
Power Nap while on battery power. Click the Power Adapter tab and
deselect Enable Power Nap while plugged into a power adapter.


Numbers Sum of all values in a column where another cell within the row matches text

I've found it!

I opened the function browser and read the description of every function down the list until I finally found the SUMIF function!
SUMIF(table1::ID, $A2, table1::numbers)

The first parameter creates a range across the whole column with header ID in table1, the second is a strict column reference with a relative row reference, so I could copy / paste down the whole column, and the third parameter is the entire column with header numbers in table1.


iOS 8.1 which will most probably be released on 20 Oct will fix the issue by adding the ability to select between 2G, 3G and LTE


How do I prevent my PPP connection from disconnecting when it's idle?

I found a solution. The file preferences.plist inside /Library/Preferences/SystemConfiguration contains the configurations for the various network interfaces.

Looking at the file with a plist editor I found the following data under Root / NetworkServices / ... / PPP:

After I've modified the Disconnect... related values from 1 to 0 with BBEdit, the automatic disconnect has been successfully disabled.

However, after another ~40 minutes, the connection was dropped with a different message saying that the connection was dropped because no (phone) number was given. That made no sense to me, because when I manually reconnected afterwards, it worked again. So, there's still something wrong with my setup but the idle disconnection is not it any more.


AirDrop photo from iPhone to Macbook Pro says "waiting…" then "rejected"

SOLUTION

ok after months of this on occasionally then off mostly and sat with the waiting. I found the solution

VPN, do you have any VPN like expressvpn or similar on your mac, if so turn it off and voila .


iCloud gets stuck syncing in Sierra, how do I fix

Well it seems that Kaspersky Internet Security (16.0.0.245b.a.c) is the problem here.  I found that changing the "Check secure connections (HTTPS)" setting allowed syncing as usual.  This setting is found under the Protection tab in Preferences, under Web Anti-Virus.  I changed the option from "Check secure connections (HTTPS)>always", to "Check secure connections (HTTPS)>Only for Parental Control, Safe Money, and Privacy Protection".

I also added icloud.com to the Trusted zone and Web site tracking exclusions, but I do not believe these changes were necessary or had any effect."


Will I lose previous purchases when I change country in iTunes

No, you will not lose your original iTunes purchases (songs, movies, apps, books, magazines, etc).

However, if you use iTunes on Macs or Windows to manage your apps, you'll only be able to download any app update(s) only if you switch your iTunes login (authenticate by typing in the correct password when prompted) to the same country that you purchased the apps.

If you use iPod Touch, iPhone, or iPad installed with the latest iOS 5, you'll be able to download updates from purchases made with different iTunes country ids. Again, you'll need to authenticate by typing in the correct password when prompted. But unlike iOS 4, you won't need to log out before switching iTunes id.

I am happily using two different iTunes id to buy content from different countries.


How to put Magic Trackpad 2 into Discovery Mode

To setup a Magic Trackpad 2 you have to connect it to your Mac using the Lightning cable.

Connect the Trackpad, make sure device's power is on, setup using Bluetooth section of System Preferences.

Here is the Apple support article with the steps I described:

Set up your Apple wireless mouse, keyboard, and trackpad


Email notification for specific emails containing "n words" if n > 500

If using Gmail or Google Apps (Google for Work or G Suite), filters may be of help.
You can make specific email go to a specific folder on arrival, bypassing the inbox.

There is a discussion here on Gmail filters and wildcards that may point you in the right direction for creating the filter. Questions about Gmail will have better (and non-off-topic) answers there.

The problem with this solution is that you won't get notified.

I can think of two ways to get actual notifications from those specific search terms: filter everything that does not match the criteria out of the inbox, so you'll only get notifications from incoming mail that matches, or adding an IFTTT recipe that notifies you when the criteria is fulfilled —this looks promising:

I'd go with "New email in inbox from search" trigger and then enter your search terms. Here is a guide from Google on search operators that allow you to construct a custom search, OR probably, but you'll have to experiment the search syntax that gives you the desired result.


Home sharing on iPhone: "You don't have permission to access the requested resource "

Fix:

Sign out of Home sharing:  iOS Settings > Music > Sign out of Home Sharing
Sign in to Home sharing again, with your Apple ID.
Terminate the Music app. Double-click the Home button to bring up the iOS app switcher. Swipe the Music app with an upwards motion, to terminate it.
Open the Music app again. Home Sharing should now be working again. You will have to reindex the contents.

I don't know why this problem exists, but Home Sharing seems to have become increasingly unreliable as Apple post-Jobs appears to divert resources elsewhere.


How can I connect Linux server with Applescript using iTerm or Terminal?

Applescript

You can execute shell commands directly from Applescript

do shell script "ssh user@linuxbox command-to-run"

Automator

You can create a new workflow and insert the necessary shell commands into the "Execute shell script" action.


Gmail doesn't offer IMAP push for iOS (IMAP idle isn't supported by iOS Mail), but Google Sync (which actually uses MS exchange mobile protocol) which doesn't only push your mails but also syncs your contacts and calendars (if you wish to).

As of Janury 30, 2013, Google terminated Active Sync support for free users.


First Aid Fails on External Disk, what can I do from here?

Invalid node structure is bad news. You should backup as much data as possible then try repartitioning the drive using Disk Utility.

If the repartition fails or the same issues crop up again it'll be time to replace that hard drive.


Connect to second Wifi network using dongle

If you have the USB-AC51 I am afraid it does not work with Yosemite.

In the specs it only shows support up to 10.8 and not for 10.10

source: http://www.asus.com/us/Networking/USBAC51/specifications/

It turns out that someone is claiming that the "Bearextender driver software" works for that, but I can not confirm since I do not have your hardware to test.

http://store.bearextender.com/pages/regarding-yosemite-compatiblity


Yosemite: How can I diagnose problem where Chrome won't download anything

I updated my system software now everything works


Where and how can I upgrade my ipod 1st gen?

You can't. Your model does not support iOS 5. No amount of money will help you here.


Big black vertical bar on external screen

My monitor shows exactly the same black sidebar on the left. Tried many tips and tricks. And finally unplug the miniDP to VGA connecter on both side and reconnect again solve the problem.

I tried to change the VGA side here and there for hours. :( so stupid me. So I guess some other also had the same experiences but I don't know why the answer is marked down to negative scores...

I didn't mean to solve all the problem for all. But just a mark for myself that shows it solved my problem and hopefully will help some of the others.


Updating to OS X 10.10.2 broke Quick Look previews for HTML files

Known bug on Apple's Bug Radar as Bug # 19639311

10.10.2 quick look broken for HTML files

qlmanage -t <path_to_html_file> produces a small thumbnail of the HMTL file
qlmanage -p <path_to_html_file> just gives me a blank quicklook preview

This doesn't happen with a .jpg file I used as a control sample.


Extension cord or "hub" for USB-C / Thunderbolt 3

USB-C and Thunderbolt 3 are different protocol in a same physical connector.

For a USB-C hub you can't support both DP(4K 60Hz) and USB 3.0.

A Thunderbolt 3 Hub will be far more expensive than a USB-C Hub. Unless you are ready to pay for it, it might be better to stick on your current configuration.


How can I make Finder display correct 'today' date?

Is it possible the date field is the created date-rather than the modified date? If so, change the displayed properties to the modified date.


Is there a way to rename a sound card in Mac OS X?

The Sound Card’s name comes from the Device itself, which “publishes” its name. The operating system reads the name from there. I don’t believe you can rename it, but you can definitely go to /Applications/Utilities/Audio MIDI Setup and create an Aggregate Audio Device (with the names you want) and select the input/outputs of each.

For example, you can create your headphones like this:


Cannot open Terminal on mac ("Not allowed to use" error message)

Your best bet would be to do a clean install, presuming you have copies / licenses for any software you use on there. Backup any files you want to keep, and follow one of the many guides out there. For instance:

http://mashable.com/2015/10/01/clean-install-os-x-el-capitan/

This could well take less time than figuring out what the IT guys did, and make your Mac faster in the long run.


To install GCC 4.7 from Homebrew:

$ brew tap homebrew/homebrew-versions
$ brew install gcc47

which will install it as gcc-47. If you want to install as gcc instead:

$ ln -s /usr/local/bin/gcc-47 /usr/local/bin/gcc