Used 2015 MBP Pro Retina dropped 300 mAh of Full Charge Capacity in three months

At this speed, the Mac will have a dead battery in around 6 years. Probably below useful levels in less than 5 years. As the Mac is already around 4 years old, that means around 7 to 9 years of battery life. Which seems quite decent considering that laptop batteries are expected to last 2 to 4 years, according to a quick Google search.

In other words, you are probably doing everything right.

As mentioned before, heat (and cold) is an issue. However, leaving it plugged in during work should not be a problem, as cycles add more to battery loss than leaving it at high charge. So the rule about 20% to 80% is more useful for storage than for an actively used Mac, as it will add cycles to always move between the two values. Reconditioning a battery also adds cycles, usually without any advantages. Do that only if the battery has serious issues. When you don't work, keep it unplugged, but make sure you reload it before it gets below 20%, and only up to 60% if you don't intend to use it for a longer time.


Spotlight can, if you just search for "-kind:folder".
It also shows the files. It looks like a bug to me, but it works.

Found here.


How to optimise my script, a script for opening new a new emacs instance only if no instance is present

I usually just run

emacsclient -a emacs FILE

or

emacsclient -a SHELL-SCRIPT-WHICH-STARTS-EMACS-WITH-PARAMETERS FILE

and let emacsclient figure out the rest.


I'm not sure doing this with Safari is possible, but there is kiosk software out there that should fill your needs. They all seem to use WebKit, so the browsing experience will be similar to Safari.
Here's what I found:

eCrisper $79. Looks fairly configurable, it would allow you to display some branding or supplementary information in addition to the browser.
xStand $99.99. This looks like the most actively developed and supported option. Available on the Mac App Store.
Kiosk $4.99 This is the cheapest ($4.99), but also has the fewest features, and hasn't been updated since October 2011. Available on the Mac App Store.

eCrisper and xStand both have demos available.
Any of those should fulfill requirements 2 and 3. For the first one, I'm not aware of any way to boot up a Mac automatically when it gets plugged in. There is an option in Energy Saver Preferences to "Start up automatically after a power failure", which will restart automatically if the power gets disconnected, but for a cold start, you need to press the power button or use Wake on LAN.
However once the power goes on, you can put whatever kiosk software you decide on in the login items, and enable automatic login (probably for a user with limited privileges, as an added security measure). That will get it automatically booting into the locked down browser mode.


If you want control over the retention policy, Time Machine isn't really the right tool for you; it's really designed to avoid requiring the user make decisions, and as a result it's not a good choice for someone who wants to be able to make decisions. The retention policy definitely follows this principle; there's no way (at least as far as I've ever seen) to adjust its retention policy.

In fact, there's not even any way to guarantee snapshots will be retained at all. If Time Machine decides it needs the entire backup capacity for the current backup (say, because you just connected your big external disk full of videos and it wants to back that up -- this happened to a friend of mine), it'll actually remove all old snapshots to make room. Note that there is an option in the preference pane to notify you after old backups are deleted.

Basically, Time Machine places priority on getting the current data backed up vs. retaining old data, and there's no way to change this. (It is, after all, a backup system, not an archiving system.) If your priorities differ, you really should find another archiving tool.

(BTW, you did misread its normal policy slightly: it keeps the daily snapshots for a month, and only after a month does it thin them down to one a week.)


Why have 3 songs from a recent download from iTunes got a ''! next to them and won't sync to playlist?

You are seeing the exclamation point because iTunes doesn't know where to find the song.

Using iCloud, you can download those three songs again without having to pay. You can do this by going to the iTunes store, navigate to Quick Links on the right, and click the Purchased link. Search for your songs and you can redownload them.


Question Regarding Bootcamp and Windows 7

I recently installed Windows 7 using BootCamp on my MacBook Pro, Yes, I am able to access all the files on my mac HD.


If I delete my backup on my old phone, will anything happen to my new phone?

No it shouldn't, because the backups don't affect anything anyway.

  The short answer is no—deleting your old iPhone backup from iCloud is completely safe and won’t affect any of the data on your actual iPhone. In fact, even deleting the backup of your current iPhone won’t have any impact on what’s actually on your device. The information stored in your iCloud Backups is just that—a backup, or copy, of what is currently on your iPhone.

From http://www.ilounge.com/index.php/articles/comments/deleting-old-icloud-backups


Why history search results are different in Spotlight and in Safari search bar

Why doesn’t Spotlight show the same results as in search bar in Safari?

It’s because they use two different search engines.
In iOS 8, Spotlight was using Bing (iOS 9 used Bing as well) whereas Safari was defaulted out of the box to use Google, but you could, obviously, change that. According to Wikipedia, Spotlight search uses Bing but goes through Apple’s servers first with a unique identifier that changes every 15 minutes.  However, it’s still 2 different engines, thus the different results and the non-matching history.

Since the release of Yosemite, Spotlight sends all entered queries and location information to Apple by default. The data is accompanied by a unique identifying code, which Apple claims to rotate every 15 minutes to a new identifier. In response to privacy concerns, Apple has stated that they do not use the data to create profiles of their users, and that query and location information is only shared with their partner, Bing, under a strict contract which prohibits the information from being used for advertising purposes.

So, not only is it two different search engines, the search is actually sent to Bing through Apple with an identifier that technically doesn’t come back to you, so the search history will be different even if you standardize on Bing.
IMO, I’ve been using Bing instead of Google for a while now and I can honestly say that the results are better, easier to filter ads versus genuine search results and I have less of my search activity going to aggregators who sell it to advertisers.  So, if it’s still Bing, I don’t have any issue with that at all.
Update:  After further research, in 2017, Apple switched from Google to Bing (quietly, I might add).  The process is still the same - the search  goes through Apple's servers first as they did with Bing.


My external hard drive has been formatted. No backup on Time Machine. How can I recover my files?

First step, use a low level tool like dd to make an image of the drive as it exists now, and then stop using the drive. Every second that drive spends connected to a computer (especially a Mac) is a chance for something new to be written to it on top of data you want to recover. All of your recovery attempts should be performed on the image that you make.

Once you have that image, there are a lot of tools you can try to use.

TestDisk can recover the partition table if that was overwritten. If you had multiple partitions, restoring the table will likely magically and immediately "unformat" all except the first one, because all their metadata will still be intact.

The next thing you want to try depends on the filesystem each (or the only) partition had. There are tools explicitly made for unformatting HFS+, various types of FAT, ext2, etc.

If that fails, or even if it doesn't, the final step is to use a tool that will search through the entire drive, sector by sector, and try to put files back together based on their headers. This is prone to failure in cases of fragmentation, but can often recover things that other methods cannot (including deleted files, fyi). I recommend PhotoRec. You might also try some of the Mac-specific tools covered in this article.


How to use SquidMan and force apps to go through it?

Simply add your proxy settings to the network card that you use.

System Preferences => Network => Unlock the session for administrative changes from the little lock button on the bottom left side => Select the active network card => Advanced... => Proxies => and enter your proxy credentials in the "Web Proxy (HTTP)" and "Secure Web Proxy (HTTPS)" sections.

This will make your whole system go thru that proxy and if you would like to use different proxy (or may be your IP address) while browsing, you may install an additional plugin on your browser (I suggest FoxyProxy for Mozilla Firefox).


Will I see performance boost if I add memory with these Page-In/Page-Out statistics?

The increase speed you see when starting Photoshop immediately after previously starting and stopping it is coming from the hard disk cache which cannot be increased, and adding more system memory will not make much difference unless your allocated memory is sufficiently high to require significant paging out to make room for the new app.  As any paging will have taken place on the first load, it's unlikely to require more paging on the 2nd attempt unless you re-access the data that has been paged out so that is get's paged back in, which you do not allow time for in this scenario.  Your page in/out figures need to be better detailed to allow for proper consideration - how long is this sampled over etc?


Can you use a Lightning cable extension with an Apple iPhone dock?

YES, it works perfectly! Just be sure to use a good, quality lightening extension cable like one from Anker - or the Cellularize cable linked above on Amazon. Finally, a reliable 3.5mm audio + charging solution for my iPhone 7 (inside its Otterbox case)! :)


Can an old photo from Gmail get put into my photo stream?

Yes - software does have bugs from time to time. It also could be you unintentionally did it or that another device is signed into your iCloud and entered that photo intentionally.


iMessage appears to be blocked, but FaceTime rings

The reason is because the person your are messaging turned off their Apple ID from iMessage. You’re iPad is trying to send a text message but because you’re not on an iPhone it can’t.

FaceTime was ringing because the person didn’t turn off FaceTime but only iMessage.


External drive error while moving files, now folder is inaccessible from Finder

chflags can set various options on a file that affect its display in Finder.  See man chflags, which mentions that the existing flags on a file can be seen by using ls -lO.

Extended Attributes are also a possibility (although I think less likely for this issue): try ls -l@, or xattr -l filename to see those.


Annoying prompt keeps popping up: 'The "cc" command requires the command line developer tools.'

It may be BBEdit or something related to TeX.

It's a longshot, but if you run Console, you may get a clue by searching for whether anything is throwing an error regarding the "Command Line."


Terminal won't choose new window settings at startup

It sounds like Lion's resume feature is confusing the cause-effect relationship between settings and application behavior.

The "On Startup, open" should work, assuming that you had no windows open when you closed Terminal.app.  Lion's resume feature is enabled for Terminal.app by default, so quitting the application before closing any windows will yield the same windows the Terminal is re-launched.

The simplest fix is this:

Make sure you've closed all Terminal windows.
Restart Terminal.app.

In the normal course of events, the resulting window should have the "On Start, open..." settings. If the steps above do not fix the issue, then I recommend deleting your Terminal preferences with a backup so that you can revert if needed.

Disable Resume for Terminal.app

You can also just disable resume for Terminal.app. Run the following command and re-launch Terminal.app twice:

defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false


After installing a dictionary deinstalling apps doesn‘t work

Based on the comments, I think this is related to Screen Time.

Assuming you're the owner and don't want Screen Time on or that it was turned on by mistake, simply go to Settings -> Screen Time -> Content & Privacy.

Tap on iTunes & App Store Purchases.  Make sure the setting for 'Deleting Apps' is 'Allow'.

From there you can back out and leave the rest of the settings as-is or turn off the restrictions.  To turn off restrictions, turn off the 'Content & Privacy Restrictions' switch.  You might be prompted for your password or PIN to do this.

The image below is from an iPhone but the flow and look are similar to the iPad.


Create solid horizontal lines in the .txt file

It's a menu option in TextEdit.  Point your mouse at Edit > Substitutions > Smart Dashes, which I'm guessing will not be ticked.  Click on it, and turn it on.

Now when you press and hold the hyphen key, they will be replaced with gapless dashes that will form the line you're after.

There's also some options relating to this in the main preferences pane of TextEdit, which I believe are used for the default settings for new documents being created:

So make sure Smart dashes is turned on by default.  And don't miss the very bottom checkbox, which you might want to uncheck so that you retain this sort of dash-forming hyphens in plain text as well as rich text documents.

Should, by some unfortunate circumstance, this not resolve your issue, leave a comment, and I can provide you with an alternative way to achieve the same thing.


What's the best way to recover data from corrupted iPhone 6s (iTunes not working/iCloud not used)

If you only need to get the notes from your backup, just download third party application to extract your notes from the Backup ( but if that is encrypted, most softwares ask to decrypt the backup first. So I assume 27th November backup is not encrypted)

After the extraction of Notes from backup, restore 27th November backup to iPhone and import those Notes from the PC (Which you are extracted from backup)

Import notes from PC : https://support.apple.com/en-gb/HT205793

It is not quite possible to repair a corruped iTunes backup because mainly those are encrypted. So you best shot is what I described.

I think you have asked that whether these provided links applications are reliable and clean. I've used DrFone program personally and that wasn't quite satisfying. But that could be great for you since that has good ratings. Give a try to find out which program is the best for you to do your task.


How do I move a row between two rows in Numbers?

Click and release in the column header
Drag the column header. You'll see an insertion bar drawn between the destination columns.

You are probably moving the cursor over an edge of the selection rectangle until it turns into the hand and then dragging. That will replace the column you drag to.


it does not show history but if the device is shut off or location services disabled, find my iPhone will show the last known location of your device


So you already know the JavaScript method for clicking on an HTML element using its class name as a selector:

document.getElementsByClassName('classnamehere')[0].click();

where [0] denoted the first item in the array of elements, all of whom share the same classname.  Often, it's better--at least in my mind—to try and use an element's id, which provides a unique attribute by which to select an element:

document.getElementById('idnamehere').click();

To run this code from Google Chrome by way of AppleScript, the general form looks like this:

    set js to "document.getElementsByClassName('classnamehere')[0].click();"

    tell application "Google Chrome" to tell ¬
        the front window to tell ¬
        the active tab to ¬
        set jsResult to execute javascript js

The important feature about execute javascript is that it must be directed to a specific tab in Google Chrome.  You can't send the command to a window or the application object.  So:

    tell application "Google Chrome" to ¬
        execute javascript js

will throw an error (even on the assumption that you had defined js).

The syntax can also take this form:

    tell application "Google Chrome" to tell front window to ¬
        set jsResult to execute of tab 1 javascript js

or this form:

    tell application "Google Chrome" to tell front window to ¬
        (execute javascript js) in front tab

In each of these commands, the javascript is being told to execute in a specific tab.

You haven't yet specified what "detailed" refers to, and when you do, I can update this answer accordingly.  Working on the assumption that it's either a class name or an id of an HTML element, you can use one of the expressions at the top and plug it straight into the code examples I gave you.  So, you might use the JavaScript method getElementsByClassName, which would take this form:

document.getElementsByClassName('detailed')[0].click();

where [0] could end up being changed to [1], [2], etc. depending how many other elements have this class name.  What I would then do is define my AppleScript variable js to hold the JavaScript command for me:

    set js to "document.getElementsByClassName('detailed')[0].click();"

then tell the active tab in Chrome to execute it:

    tell application "Google Chrome"
        tell active tab of window 1 to ¬
            execute javascript js
    end tell

The execute command will always return a value, even if it's just an empty string.  Therefore, if you wish, you can assign that value to a variable in AppleScript to use later in your script:

    set jsResult to the result

Or, more directly:

    set jsResult to execute javascript js


How to connect MacPro 2013 Thunderbolt 2 to USB C

You need a thunderbolt dock to convert the embedded USB signal when carried over thunderbolt 2.

They are not reversible either in a meaningful way.

Once TB2 is present you can use the TB3 to TB2 adapter bidirectionally.

Why not use the USB A ports to connect USB C?


How to delete all photos from iPhone using mac or pc

I found out that if you disable iCloud photo syncing, then Image Capture will allow you to delete your photos.

Go to Settings > iCloud > Photos and turn off "iCloud Photo Library". Then, close image capture, disconnect your iPhone from your Mac, and reconnect the iPhone. Then Image Capture will show the delete icon.


Using Iphone as bluetooth replacement for mac

I don't think it's possible to use the iPhone as bluetooth bridge between your macbook and the speakers.

The cheap alternative is to buy a bluetooth dongle like this one:

ASUS USB Adapter with Bluetooth (USB-BT400)


Where are ssh login attempts logged to on jailbroken iPhone with OpenSSH?

I just found the answer to this

you have to manually edit /Library/LaunchDaemons/com.openssh.sshd.plist

change this part:

<key>ProgramArguments</key>
<array>
    <string>/usr/sbin/sshd</string>
    <string>-i</string>
</array>

to this:

<key>ProgramArguments</key>
<array>
    <string>/usr/sbin/sshd</string>
    <string>-E /var/log/auth.log -i</string>
</array>

then reboot or restart sshd


Internet sharing via WiFi won't work (BSS stopping)

Had the same problem, reseting the NVRAM and PRAM worked for me.

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


Unity: How can I run Unity builds created in High Sierra & Verify they run on Mojave without a Mojave computer?

Since it is tagged with Catalina too, GitHub has machines where a build can be tested.
Just write some automated tests that run using the binary (which you might want to upload to git-lfs) and use GitHub actions to run them remotely.

https://docs.github.com/en/actions
https://docs.github.com/en/github/managing-large-files

There are plenty of workflow files available if you search properly. https://github.com/search/advanced
There might be other such CI/CD delivery options too with other macOS versions.

https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software


Can Time Machine backup two HDDs to Time Capsule?

Yes, by default Time Machine will backup all internal HDD's whether they are SSD or not. Just make sure your time capsule is big enough.


How to reassociate Time Machine backup with the computer

sudo tmutil inheritbackup "/path/to/backup.sparsebundle"

  Machine directories and sparsebundles are owned by one computer at a time, and are tracked by unique identifiers rather than computer name, host name, or ethernet address. The inheritbackup verb reassigns the identity of the specified item, reconfiguring it so the current host recognizes it during backups. When inheriting a sparsebundle, the machine directory within will also be claimed.

This performs automatic inheritance of the computer and disk backups located within. This may not function correctly. If not, you may need to manually associate the disk within the backup with your current disk.

sudo tmutil associatedisk -a "/" "/Volumes/backupdisk/Backups.backupdb/computername/Latest/localdiskname"

  The -a option tells associatedisk to find all snapshot volumes in the same machine directory that match the identity of MyStuff, and then perform the association on all of them.


Can I put music files on an iPod without iTunes?

A google search for "iTunes alternatives" returns a lot of results. For example: http://www.copytrans.net/copytransmanager.php


Will a USB 2.0 5400RPM External HDD for Time Machine slow down my SSD?

I use a USB 2.0 external hard drive for Time Machine, and I have not seen any changes in speed.  Time Machine works pretty quietly and effortlessly in the background without slowing down the Mac's performance.  According to the Time Machine System Preferences pane,

  Time Machine keeps:

  Hourly backups for the past 24 hours
  Daily backups for the past month
  Weekly backups for all previous months

  The oldest backups are deleted when your disk becomes full.


On the Mac, what if Disk Utility is used to mirror two hard drives, one is 1.5TB, and the other is 2TB?

In this situation, I recommend using disk utility to partition the larger drive such that one partition matches the size of the smaller drive.  Then setup the partitions of the same size as a RAID1.  You will end up with a mirrored partition of 1.5TB and another un-mirrored partition of 0.5TB based on your first example.

Same thing will work for a 2TB + 3TB drive, but the mirrored/un-mirrored partitions will be 2TB and 1TB, respectively. Brand won't matter and you can use disk utility to find the exact sizes.


Kernel Problems randomly restarting MacMini Late 2012

If your issue appeared with 10.10.3, I am 98% certain it is a bug in OS X Yosemite, introduced with the 10.10.3 update and related to Intel HD 4000 GPUs. Welcome aboard. The kernel panics are totally erratic, some users have also graphics glitches. The only common feature is having a Intel HD 4000 GPU.

On MacBook Pros with dual GPU you can avoid the problem by disabling Automatic Graphics Switching (System Preferences > Energy Saver).

Please contribute to the thread in the apple discussion forum and file a bug report (with link to the thread).


The first things I would do are reset your NVRAM followed by resetting your SMC. See below for further info.

Resetting the NVRAM on Late-2016 MacBook Pro models

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). To reset the NVRAM on all Late-2016 MacBook Pro models (with and without Touch Bar) follow these steps:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then immediately press the commandoptionpr keys.
Keep these keys pressed down for at least 20 seconds!
Let go of the keys and let your Mac reboot normally.

Note 1: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Note 2: These steps will also work to reset the NVRAM (or PRAM) for all Macs. However, the late-2016 MBP models actually required the commandoptionpr keys to be held down for 20 seconds, while earlier Macs did not require this, but doing so does not cause any problems either.

Reset the SMC

Your MacBook Pro has a system management controller that can easily be reset. To do this on your particular model, follow these steps:

Shut down your computer
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button
Let go
Turn your computer back on with the power button.

Let me know how you go after doing both resets.


Slow Internet Mac Yosemite Recovery Doom (MacBook Air, Early 2015)

It sounds like there is a problem with the USB installer. To confirm this, restart holding Option + R to return to Disk Utility, and verify you formatted the drive as "Mac OS X Extended (Journaled).

If you have a working bootable usb, holding the "option" key should show you the Startup Manager menu:

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

Here are a few tutorials on creating Bootable USB OS X installers:

http://www.intowindows.com/how-to-create-mac-os-x-yosemite-bootable-usb-using-diskmaker-x/

How do I create a Mac bootable USB drive using Windows?

http://www.makarandmane.com/computer/tips-and-tricks/apple-mac-os-x/create-bootable-usb-mac-os-x-installer-from-windows/


Sync Services error on Windows 7 when iPhone 4S is plugged in

I googled your error message and I found this page and this apple support thread.

Hope this helps !

Edit:  Solution #2 in the Lei Mobile site seemed to resolve my issue.  I renamed the C:\Users\username\AppData\Roaming\AppleComputer\SyncSerivces to SyncServices_old.  I was at least able to plug in my iPhone and perform an initial back up.

I will continue to use to see if that is the permanent fix.


I think it is the new format for films (H.264) that will reduce the size of your film. That why it took you so long but the quality remains the same.


iMessage falsely reports "could not send"

Apple has a status page to show availability of all the different services: Apple System Status. Worth checking in these moments, it doesn't always look like


Trigger action on external monitor plug/unplug

There is ControlPlane, but I didn't have much luck with it on El Captain.

Other option is running a never-ending AppleScript which calls your script on change of number of monitors. See this answer.


Why is the sort feature always grayed out in the Podcasts app on MacOS Catalina?

I'm going to say it's a Catalina bug.  I have 10.15 and have dozens of different podcasts downloaded.

I couldn't get those menu items to be enabled.  I tried all different kinds of variations of selecting/not selecting podcasts and it never worked.

Hopefully, this will be fixed in a future patch or someone will add an answer telling us what we're doing wrong.


The backup from April is visible because it was made with iOS v9.x. The backup from before you downgraded was made with v10.x.

You cannot downgrade and then restore a backup from before you downgraded. It is not compatible with the version of iOS that you are running.


Is there a way to unlock a password protected iPad?

I'm not sure a general answer can be given with the lack of details in this specific case, but like any data recovery situation, it pays to stop and get some professional help to at least understand your options.

How valuable is the data? Give an order of magnitude guess. $10, $100, $1000, $10,000, or more? The solutions for each involve different timescales and tools.
STOP trying to guess the passcode - it could have a 10 guess and the iPad erases itself trigger set. The trigger could even be less than 10 incorrect guesses. Your next attempt to unlock it could be your last chance to save the contents.
What else is available? In almost all cases, a computer exists that will unlock each iOS device - so rather than trying to guess the passcode - see if you can locate that computer instead.

Here are support articles that should help anyone in this situation:

iOS: Understanding passcodes  - http://support.apple.com/kb/HT4113
iOS: Forgotten passcode or device disabled after entering wrong passcode  - http://support.apple.com/kb/HT1212
iCloud: Find My iPhone overview - http://support.apple.com/kb/PH2696

Once you realize that time is on your side and that the system is designed to not be compromised by someone that finds the device, your chance of success will increase with the added care you bring to the task. That design notwithstanding, there are often circumstances when a passcode gets forgotten or not handed to the device's current owner and you have a few avenues to get the passcode reset or bypassed without erasing the device's contents whether you try to crack the PIN with a tool or work around the security by locating the computer that can unlock the device for you.


Can't remove U.S. from the languages and input methods menu

It appears that OS X requires a keyboard layout that it recognizes as producing latin characters to be selected as one of the choices in the menu, and it does not recognize ArgenPinYin as one of them. I can deselect the US layout if I select German or Portuguese, for instance, but not if I select Greek or Pinyin - Simplified.

So yes, U.S. can be removed as a language, but some other keyboard layout that OS X recognizes as a Latin layout must first be selected.


Safari 8.0 - 9.0 100% Cpu usage OSX 10.11.3 might be related to bookmarks / favorites

Actually i have found solution of this issue. It seems apple didn't handled unusual cases with new Favorites tab introduced in Yosemite as far as i remember - but this is actually easy to predict, shame on you apple.

I have quite a lot pages in bookmarks (old styled, dropdown menu), and favorites tab, in favorites i have subdirectory with bitcoin exchanges. Some of those exchanges use cloudflare to prevent ddos attacks, and form time to time ask for captcha verification. It seems each time user click on URL Field in safari, favorites bookmarks appear, and safari try to download icons and maybe other meta data for each page, and then in case unusual response, it stucks safari and waste cpu on creating many threads for nothing, im not sure if it actually retry and try download again or it's strictly connected to processing downloaded metadata from page but it just make uncountable number of threads and block cpu with junk calculations. Im not exactly sure if it's caused by cloudflare check or by any other corrupted response. But finally i have moved all bitcoin exchanges subdirectory do old styled bookmarks, where obviously metadata or/and image is not being downloaded.

In case someone will need to fix it, just monitor bookmarks and safari cpu usage, and remove one by one from favorites, restart safari, and again until eliminate issue.


Cant complete transaction please contact Itunes to complete transaction

We won't be able to help you if Apple wants you to contact them - that is your solution. There may be a problem with your account / something else, but that's just a general message. You will have to contact them to find out what's wrong.


Depending on where you installed com.oracle.oss.mysql.mysqld.plist you may have to run:

sudo launchctl list | grep mysql

to check if com.oracle.oss.mysql.mysqld.plist is in the launchctl database.

Even if you find it that doesn't necessarily mean that mysql is loaded at start-up. Open Activity Monitor or enter ps | grep mysqld in Terminal.app to check if it is running.

If you get an error like that in your system log:

  com.apple.xpc.launchd[1]: (com.oracle.oss.mysql.mysqld) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

unload the plist and add two lines to com.oracle.oss.mysql.mysqld.plist

<key>StandardErrorPath</key>
<string>/tmp/mysql.err</string>

Be sure to properly chmod/chown the file afterwards:

sudo chown root:wheel /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
sudo chmod 644 /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist

and reload the launch daemon

sudo launchctl load -w /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist

Open the file /tmp/mysql.err in Console and check for further problems.


Where to find app which opens on startup, but it's not in Users & Groups?

When a system is booted, launchd startup process launches daemons and agents in the following system-level locations (based on the property list files):

/System/Library/LaunchDaemons (system-wide, not writeable when SIP mode is enabled)
/Library/LaunchDaemons (system-wide)

When a user logs in, a per-user launchd is started and it loads the user agents from the property list files found in:

/System/Library/LaunchAgents (system-wide, not writeable when SIP mode is enabled)
/Library/LaunchAgents (system-wide)
~/Library/LaunchAgents (user-level)

Source: Creating Launch Daemons and Agents.

On earlier systems, third party startup items could be also found in /etc/rc.local file and /Library/StartupItems folder, but with Mac OS X 10.4, startup items are deprecated in favour of launchd daemons.

Source: Old Systems and Technology - Startup Item.


How did you set up the system to say the time?

I set it up as follows:
System Preferences --> Dictation & Speech --> Text to Speech --> Customize --> Add a French voice. It took some time to download.

And then on the command line:

$ export LANG=fr_FR
$ say `date`

This works for me.

What might work in the GUI is to set the date format to French:

System Preferences --> Language & Region --> Advanced --> Format Language - French

As you can see in the screenshots below, this changes the date and format only, not the entire language of the system.


What is wireless beaming and how do I use it?

How to use Wireless Beaming

The first step is to install iPhoto on two iOS devices such as an iPhone and an iPad on which iPhoto is compatible. You then start up iPhoto on both devices and head to the "gear" icon which is the settings menu. You want "Wireless Beaming" set to On for both devices inside of here. As far as I can tell, you actually need to have both devices on the same wifi network for this to work, so if necessary turn on wifi and connect to a shared network. From this point, all you have to do is find an image and click the share button(pointy arrow) which brings up the share menu. Inside of that you will find an option for "Beam" that looks like a wifi network icon. Once you hit the beam icon you can then select up to 100 images to share, and you are provided with a list of devices to share the images with. Once you select the "Beam Photos" button, the receiving device will be asked for a confirmation, and within seconds the images are sent.

What exactly is Wireless Beaming

Wireless beaming requires both devices to be on the same wifi network. The Bonjour networking from Apple is working behind the scenes to create a zeroconf network that keeps it dead simple for the user. According to this article iPhoto Beaming: Under the hood - iPhoto Beaming uses a UDP service called _mobileiphoto._udp. The article also describes that it looks as though this communication is setup specifically for iPhoto only, and not as an iOS wide implementation of file sharing. To send the files, the source iPhoto looks for potential recipients, connects to them, negotiates a handshake, asks for permission from the receiver, and sends the files. More detail with flows can be found at the link above.

As ughoavgfhw pointed out in the comments, the Apple iPhoto site notes that the functionality works over wifi OR bluetooth, but I have not been able to verify this, and other users have noted it requires the same wifi network. I will be testing this on my own shortly.


Is there a PoE (Power over Ethernet) kit available for the 802.11ac Airport Extreme?

No - the power supply expects 100-240 VAC and lists the current draw as 1.5 A which seems quite high for the heat it puts out, but perhaps with several USB drives connected and max power it gets even half that usage in real life.

You certainly can take DC power from POE using a splitter, but those all seem to provide 1A at 12 VDC which is a far cry short of the wattage listed for the Airport Extreme. I doubt you'd find a DC to AC inverter that would generate enough AC to run the Airport though...


how do I retrieve my photos that are stored for the last five years while I was with iPhone now that I'm using Android

Download photos from iCloud using a smartphone
Assuming you have not the possibility to access a Computer, and the only way of browsing the Internet is using your phone running Android, you may want to follow these few steps:

Open your Internet browser, and visit the iCloud website.

Sign in with your AppleID (the one you used in your previous iPhone)

Tap the Photos App in the Home screen that will appear

Select the photos left in your iCloud Photo Library and then tap on download


Force restart it
 To force restart or hard reset your device, press and hold the
 Sleep/Wake and Home buttons simultaneously for at least ten seconds.
 After about ten seconds, you should see the Apple logo and can
 release the buttons.
If you have the iTunes app at your PC/iMac?? Restore your
 iPhone through iTunes. S O S ..before restoring it you have to back
 it up to iTunes or iCloud.


is there a shortcut to expand folders in Finder while being in Cover Flow mode?

aaaand while typing the question I just played around and figured it out:

In order to expand a folder you need to use COMMAND+"left arrow" and COMMAND+"right arrow" respectively.


I want my Mac running Sierra, to stop hiding dock when I enter "Command+Option+D"

Click on the Apple menu
Open "System Preferences"

Select "Keyboard"

Click "Shortcuts"
Select "Launchpad & Dock"
Uncheck "Turn Dock Hiding On/Off"


How can I tell what version of SMB is negotiated when I connect to a share from macOS?

The smbutil command can dump the attributes for all shares or you can target one particular share and parse out the version string:

smbutil statshares -a

In the case of the listing below:

site-test-mbp01:~ me$ df
Filesystem                                           512-blocks       Used  Available Capacity  iused               ifree %iused  Mounted on
/dev/disk1s1                                          975210568  368841648  602865928    38%  1808606 9223372036852967201    0%   /
devfs                                                       706        706          0   100%     1222                   0  100%   /dev
/dev/disk1s4                                          975210568    2097200  602865928     1%        2 9223372036854775805    0%   /private/var/vm
map -hosts                                                    0          0          0   100%        0                   0  100%   /net
map auto_home                                                 0          0          0   100%        0                   0  100%   /home
/dev/disk3s1                                         7813365344 1387760392 6424657392    18%    28307 9223372036854747500    0%   /Volumes/apfs
com.apple.TimeMachine.2018-03-29-120539@/dev/disk1s1  975210568  367917520  602865928    38%  1809465 9223372036852966342    0%   /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/site-test-mbp01/2018-03-29-120539/Macintosh HD
com.apple.TimeMachine.2018-03-23-083810@/dev/disk1s1  975210568  348612592  602865928    37%  1755978 9223372036853019829    0%   /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/site-test-mbp01/2018-03-23-083810/Macintosh HD
//me@file-nasuni/abc                              2147409920     227552 2147182368     1%   113774          1073591184    0%   /Volumes/abc

To target the Nasuni share "abc"

smbutil statshares -m /Volumes/abc/|grep VERSION|awk '{print $2}

The command shows I'm negotiated a SMB_3.02 connection to that storage appliance share.


Assuming you have not already bought a suite of USB drives for this task, there are USB drives with hardware write-protect switches. It doesn't prevent anyone from flipping the switch back, but it sounds like you're not concerned about malicious intent, just making sure the editor(s) don't do something foolish.

This question has also been asked and answered on Super User. The accepted answer suggests that you should just set the contents of the drive Read Only. You could do this on one master drive, and then use something like Carbon Copy Cloner or Super Duper to replicate the data with the read only bits intact to multiple other devices.


Why use the terminal in daily non-programming life

Many people coming over to Mac OS X come from a Unix-ish environment and prefer terminals, so for them there are command line interfaces to many things. If you prefer to stick with the GUI, no problem.


How to play Apple Music and Radio (Beats 1) on iTunes?

You need iTunes 12.2 - presumably will be out any minute now…

Update 07:30 GMT 1st July.
OS X 10.10.4 iTunes 12.2 & iOS 8.4 all now available & successfully installed here.


How to stop my iPhone from asking me to enter my password?

Password is always needed for the first time after a restart, first time in the App Store etc, after that it will accept the fingerprint, so long as you have that switched on -

Settings > Touch ID… > [passcode] > use touchID for…


Putting display to sleep with AirPlay crashs apps in macOS High Sierra

I have had the same issue, but it got fixed after upgrading to macOS High Sierra 10.13.4.

I use AirPlay daily at work to connect to AirServer running on a Windows PC that has an external monitor attached, so that I can have a second external monitor on my MacBook Air. And when I walk away from my desk, I either Lock Screen with the Command + Option + Eject shortcut or using hot corner to put the display to sleep with password protection. When I would come back, I would have to login again and all apps were restarted. No kernel panic, but the OS itself appears to crash.

I discovered that the WindowServer itself that was crashing. Opening Console.app, and looking under "System Reports" in the sidebar, I found crash reports for WindowServer at the exact times that I had locked my Mac. I sent the crash report to Apple yesterday via their feedback form, but then I also decided to upgrade to 10.13.4 to see if there's any chance the problem had been fixed already, even though there was no mention of it in the release notes.

And after a bunch of testing today, it looks like the problem has been resolved. I've now connected to AirPlay as usual, and locked my screen multiple times both with the Command + Option + Eject shortcut and using a hot corner to put the display to sleep, and in both cases, the Mac was able to wake up, and I could log back into my running system, with all the apps still running, as expected.

Weirdly, I'm experiencing different behaviour now depending on whether I lock via the keyboard shortcut or via the hot corner:

Keyboard shortcut: Disconnects from AirPlay display altogether. On wakeup, Mac will auto-unlock via the Apple Watch, although it takes a bit longer. I have to reconnect to AirPlay display.

Hot Corner: Doesn't disconnect from AirPlay (at least not immediately, it just shows a black screen). On wakeup, I'm presented with the login screen asking for my password, but the Mac does not auto-unlock via the Apple Watch. I don't however have to reconnect the AirPlay display.

I'll send the feedback for the aforementioned issues but the crashing appears to have gone.


iCloud backup restore from iOS 8.4 to iOS 9.3 possible?

There shouldn't be a problem. I believe I've done an iCloud transfer from iOS 5.1.1 to iOS 7.0.4, which is a much larger gap.

If anything, going from iOS 9.3.2 to iOS 8.4.1 might be a problem, but you aren't doing that, so you'll be fine.

iCloud is built with moving to a new device in mind. It wouldn't make much sense for Apple to make it impossible to restore a backup from a previous iOS version.


Incoming connection on UDP port 137 (NBNS) from an internal IP address?

The NetBIOS name service is somewhat similar to Apple's mDNS, but it is the older technology. Within a Windows network, it distributes the types of services your machine is offering by shouting out in the network what is has.

A citation from wikipedia:

"[…] In order to start sessions or distribute datagrams, an application must register its NetBIOS name using the name service. NetBIOS names are 16 octets in length and vary based on the particular implementation. Frequently, the 16th octet, called the NetBIOS Suffix, designates the type of resource, and can be used to tell other applications what type of services the system offers. In NBT, the name service operates on UDP port 137 (TCP port 137 can also be used, but rarely is).

The name service primitives offered by NetBIOS are:

Add name – registers a NetBIOS name.
Add group name – registers a NetBIOS "group" name.
Delete name – un-registers a NetBIOS name or group name.
Find name – looks up a NetBIOS name on the network.
[…]"

https://en.wikipedia.org/wiki/NetBIOS#Name_service


Cannot visit ebay.com with safari on MacOS Sierra

The first thing I would try is Safari -> Clear History. If that doesn't work, try Preferences -> Privacy -> Manage Website Data and remove any Ebay data.


Buy AppleCare for MacBook Pro in different country than I bought MacBook

I know of quite a few people based in the UK who have bought their Apple Care from eBay in the states.


Quoting from this superuser answer by Rich Homolka:

  Mac OS X has roots in BSD UNIX, a.k.a. the UNIX that came out of UC
  Berkeley.  They had a group of trusted people
  that could become superuser by using the su command.  So they coded
  their UNIX to only allow people in this specific group to become
  superuser using su.  They chose the groupname 'wheel', supposedly
  reference to other systems that had WHEEL, possibly a reference to
  being a 'big
  wheel'

  It's less important now that you have the GUI authorization popups and
  sudo.  You can use sudo without being in wheel group I believe.


Keyboard shortcut to exit the print dialogue in safari

Normally, use the esc key.

This will dismiss the dialog without using the mouse.

This shortcut work with most dialog boxes in macOS.  See this answer for more details.

If one has remapped the esc key, using command+. should dismiss the dialog as well.  (Thanks to Steve Chambers' comment.)


Why doesn't my messages icon on my iPhone 5 display the number of messages?

You've turned it off in Notification Center.

Open Settings, then scroll to Notification Center and tap it.
Scroll down to the "Include" section; "Messages" should be there. If not you've turned off notifications for it altogether; scroll on down to "Do Not Include" and you should see it there. In either case, tap it.
Tap the "Badge App Icon" switch so it's on.

Your messages count should be back.


How to check for internal damage after a fall?

If your mac is running the most El Capitan (OS X 10.11.x), and was made after 2012, you can perform the Apple Hardware Test (instructions see Method 1). If the mac was made before 2012, or is not running OS X 10.8.4 or above, you will have to follow the second set of instructions I will include in this guide.

Method 1

Disconnect all cables, with exception to the power adapter (which is required to continue), keyboard, mouse, Ethernet cable, and display.
Power off your computer, then power it on using the power button located on the computer.
Press the 'D' key on the computer while starting up, but before the grey screen appears.
Wait for a minute or two, and select your language.
To perform a quick check, you may press the t button, or return.
To perform a thorough check, you must select "perform extended testing".
The status of the check will appear in the bottom right of the screen.

Method 2

See step one through step 3 in method 1.
Follow onscreen instructions.

Sources:

https://support.apple.com/kb/PH18765

https://support.apple.com/en-ca/HT201257


Why has the edit button disappeared from my iPhone in Mail?

It has just moved to the Flag symbol in the bottom left hand corner.


How does one reorganize one's entire Aperture library from scratch?

By default, there is not any magic when importing photos to aperture.

Probably at that point, what it might be confusing is that Aperture has transformed your iPhoto albums to folders/projects, which are not what you exactly want.

My advise would be to create one project, move all your images there, delete all other projects/folders, and then create new projects as desired.

Furthermore, you can find a lot of articles of how you may use projects/folders to organize your photographs, like this one.


How to update Python which download from official website?

If you have homebrew installed you can type in the terminal:

brew install python3

Otherwise you can just download it again from the website and install it.

If you don't know which version of python you have installed type python --version or python3 --version. Similar questions have been answered on SO and other websites.


CPU cores have a temperature near 80 °C and then the fan starts to work. Is it too late?

No, it is not a "bad" temperature. If your MBP 13" 2015 model is configured with the default CPU, it is specced to work at up to 105° C. So running at 70 or 80 degrees is no problem at all.

In general you should never change the configuration of your fans away from the defaults supplied by Apple.


How to Sync Gmail's "Other" Contacts with OS X Yosemite (Mail.app and Contacts) and iOS Mail

Mail.app and Contacts.app have no access to the "Others" group from gmail...

however, if you compose all your gmail account messages in Mail.app on iOS or OS X instead of the gmail web client, they will autofill any addresses you have previously sent to.


This exact question has been answered on SO.

With Atom open, select from the Menu Bar:

Atom > Install Shell Commands

https://stackoverflow.com/a/23666354/4581844


Hard drive for Fusion drive: 7200 vs 5400

Fusion Drives store everything on disk, but keep a cache of most used data on flash.

If you are planning on using a lot of different data (like starting, stopping, creating and removing those docker containers and VMs) then the disk part will be used a lot.

I don't know how much the price difference is where you are, but in regards to RAM and disk, I always go for the fastest. I also use lots of VMs and containers and with those big, continually replaced and changing files, I take all the speed I can get.


Getting notified when someone logs into a server using SSH or Remote Desktop

Your best defence is always to turn off unnecessary services. If you're not using remote desktop: turn it off. If you're not using the HTTP or FTP servers: turn them off. Fewer services running, fewer points of entry for possibly intruders to exploit.

Aside from locking it down, there are some free and open source products that are OS X friendly you can look at to do intrusion detection on your machine.

Snort

Though I haven't personally run it, I do have colleagues who know and trust it for intrusion detection. It's BSD-compatible so it makes a it a good fit for OS X. Another upside to going with Snort is it's available as a Homebrew package:

> brew info snort
snort 2.9.0.5
http://www.snort.org
Depends on: daq, libdnet, pcre
Not installed
https://github.com/mxcl/homebrew/commits/master/Library/Formula/snort.rb

==> Caveats
For snort to be functional, you need to update the permissions for /dev/bpf*
so that they can be read by non-root users.  This can be done manually using:
    sudo chmod 644 /dev/bpf*
or you could create a startup item to do this for you.

So you get a simplified path to installation and some trust in the fact that it ports well to OS X and runs there. With Homebrew installed you only need to do:

> brew install snort

And you're ready to get started with it.

Check out this Snort for OS X Lion Server setup guide that the Snort community provides to get started with rule writing for your OS X machine. That's a great document and, in addition to walking through installing Snort from source (which you don't need to do), it talks about all the things you should do your OS X Lion Server instance to help protect it. If you install via Homebrew, start at Section 5 (page 13) in the PDF since you don't need to worry about installing it from source code.

Tripwire

I've run Tripwire on linux machines to do rapid intrusion detection and alerting. It's effective but it's a bit of a beast to set up. It can perform actions when rules are matched against log files. Of course, a savvy hacker is going to know to disable Tripwire as soon as they break in so they don't end up with their session getting cut off.

The MacWorld hint talks about setting up Tripwire on OS X. It's not simple and the article ends with mentioning that it's not been tested.


re-mount ejected SD card without reinserting

On Mountain Lion with built-in SD readers:

sudo kextunload -b com.apple.driver.AppleSDXC
sudo kextload -b com.apple.driver.AppleSDXC


View ASP.NET website developed on a VM in safari on Mac

I don't have time to test all of this, I use a different and more complicated setup for the Linux servers I run. I also use the vmnet option from the "Pro" version and not the "Private to My Mac". Let me know if this works

Shutdown your Windows VM

You want to create a new network card in VMWare's settings for the Window's VM. In VMWare's settings for the VM, click "Add Device..." and add a second "Network Adaptor". This is just like adding a network card to a computer. You want this network to be a custom "Private to My Mac".

Start up your Windows VM, it should automatically detect new hardware. Otherwise, force Windows to install the drivers. You may need to have VMWare update its tools.

Get the IP address for Windows is using for the new network adaptor. This address should be accessible to your Mac.


Apple says:

  Add and remove subscribers to a shared photo stream

  Select iCloud in the Source list.
  Select the shared photo stream whose subscribers you want to change, and click the Info button in the toolbar.
  In the Subscribers section of the Info pane, do one of the following:

  To invite a new subscriber: Type the invitee’s email address.
  If the person you’re inviting doesn’t have an iCloud account, select the Public Website checkbox.
  To remove a subscriber: Select the subscriber’s email address, and press Delete.

  If you invited a new person to view your shared photo stream, an email and a notification are sent, asking that person to subscribe to your shared photo stream. If you removed an existing subscriber from your shared photo stream, the shared stream is immediately removed from the subscriber’s Apple devices. If you want to reinvite a subscriber to view your shared photo stream, delete the person’s email address from the “Shared with” section, and add the email address again.


Put the contacts you want to allow to call you when you are sleeping to a group an give that group a name.
Then: Settings > Do not Disturb > Allow Calls From > select group of contacts that you created.

Additionally you may select to allow repeated calls (if someone will call you second time within 3 minutes - you will hear it) and choose Scheduled if you want to schedule your Do Not Disturb to switch on automatically.


Losing connection with wireless headset since restoring computer

El Capitan is beta software, so there's going to be a lot of bugs, that's the idea of a public beta: let users find and report bugs before the software is released to the mainstream. So, unfortunately, you may have to wait until October when El Capitan comes out for a fix.


iMac sounds like it's starting up then shutting down immediately

Open it up, check for dust, reinstall the Mac OS X (fresh installation), Check whether the fan is functioning properly. If all these doesn't solve the issue, then probably you will need to get it examined by an Apple service guy.


There's a great answer over on Stack Overflow covering this: Exclude directory from find . command
Essentially, the command to exclude directories from find is as follows:
find . -type d \( -path dir1 -o -path dir2 -o -path dir3 \) -prune -o -print

From the above example, you should be able to extrapolate excluding a single directory.
A brief explanation:
-type d        # type: directories
-path dir1     # your path
-o             # "or"
-prune         # skip the previous set
-print         # print results


Verification Failed. There was an error in connecting to your Apple ID

This was driving me crazy! Accidentally the "set time/date automatically" had been turned off and the date was way off. Turning this back on made everything work again! Apple ID worked and all Google apps (YouTube) started working again.


You should install the latest compatible Mac OS release available for your iMac.

It is correct that you need an Apple ID to download a version of Mac OS using Internet Recovery.

The installation of Mac OS, however, will not be linked to your Apple ID if you just run the setup.

As soon as the new owner starts the machine and creates a user account Mac OS will ask him/her to create a new Apple ID or to use an existing one.

Please let me know if this helps.


What is near the front camera on iPad Air?

It is the Ambient light sensor (ALS).

If Auto-Brightness is on, iPad adjusts the screen brightness for current light conditions using the built-in ambient light sensor.
Quoted From iPad User Guide For iOS 7 (October 2013) P.23

Additional information: Quora: Where is the Ambient Light Sensor located on the iPad


Replace a 2017 Touch Bar MacBook Pro retina display with late 2013 MacBook Pro retina display?

No. The displays in the two MacBook Pro are not compatible and can not be interchanged. Also, the two models vary a lot in overall hardware design.

You can refer to the iFixit Display Replacement guides for more details:

MacBook Pro 13" Retina Display Late 2013 Display Assembly Replacement

MacBook Pro 13" Touch Bar 2016 & 2017 Display Replacement


How to use Homebrew to install local archive

If Homebrew already has a formula for it (in /usr/local/Library/Formula), and you have the exact archive that the formula expects (i.e. same file name and same contents, as determined by SHA1 or whatever hash type the formula uses), you can put the archive in ~/Library/Caches/Homebrew and then try brew install formula_name (substituting the correct name for formula_name, of course).


Put this into your ~/.bashrc ~/.bash_profile or where-ever you like it:

alias copyLastCmd='fc -ln -1 | awk '{$1=$1}1' | pbcopy '

After opening a new window (or running source ~/.bash_profile) you should be able to run copyLastCmd and have the command in the clipboard.

To explain what's going on: you're basically using "fix command" (fc) to get you the last command, remove both leading and trailing whitespace for nicer formatting with awk and then copy it into your Mac's pasteboard with pbcopy.

EDIT:

Now that we know that you want to copy to paste into another terminal tab, there's another option:
Add these lines to your ~/.bashrc ~/.bash_profile or where-ever you like it:

shopt -s histappend
PROMPT_COMMAND='$PROMPT_COMMAND; history -a; history -n'

Then, once you have some new tabs open (let's call them "tab A" and "tab B"):

Execute any command in tab A
Switch to tab B, press enter on an empty line, giving you a "fresh" new line (and thus re-evaluating the history)
use the up arrow once and you should have the command you've just entered in tab A.

EDIT 2:
I've replaced the usage of sed with awk in the original answer above, to take care of both leading and trailing whitespace .


Save this in some file that is in your PATH, call it kill-server for example. Make sure to chmod +x on it.

#! /bin/bash

lsof -i tcp:8000 | grep -v PID | awk '{print $2}' | xargs kill

Then invoke it with kill-server or whatever you decided to call it. This is about as short as it gets.


Yosemite Mail.app - Rule stuck on 7 days

Copied from TunaMaxx above who doesn't have enough rep to answer:

I've found out more about this, but I don't have enough rep in this community to get over the protection on this ticket. However I have since found out this is a bug in Apple Mail, and has existed for a number of versions. The good news is the values you enter are actually recorded and respected, even though the UI says "7 days" all the time. To verify, set a rule to a number like '57' or something. Then, open ~/Library/Mail/V2/MailData/SyncedRules.plist and search for '57' in that file. You'll find it close to the matching rule info. The value survives and is respected even restarting Mail. –


Creating an event from Last Imported in Photos.app

Photos uses Albums instead of Events and you can create an Album from the last imported by selecting all in the Last Imported album and clicking the + icon on the toolbar. Albums are merged by selecting the contents of one, copying it to another, then deleting the first.


Are you trying to clean install OS X Mavericks? If you are, you should download a copy of Mavericks, then restore it onto a external drive, restart your mac onto that install drive, go to Utilities, then to 'Disk Utility' then erase your hard drive. Next, install Mavericks.

If you tried this step and booted with the install drive, I do not know if I can help you.


How to remove the device name from the bash prompt?

Yes, BASH (the default OS X Shell) has the ability to customize the prompt in many ways.

$PS1 is the the shell variable for the main prompt.

Try typing echo $PS1 in the command line and it will show you how $PS1 is currently configured.

If you just want to remove the the host name you can set $PS1 to \W \u\$ (note there is a space after the $) (i.e.$PS1="\W \u\$ ")

If you want this to happen every time you login in you will need to add export $PS1="\W \u\$ " to your .bashrc file.

There is extensive information on setting the PS1 prompt with other options in the man bash page.


screencapture as a service doesn't work in OS X 10.9.2

There is something strange, I just rebooted and everything is fine now.


I can't type special characters on my Mac firmware password request

Finally and with the help of my friend Víctor I have managed to solve the problem. An important detail is that I use a Spanish keyboard layout. When you configure the firmware password from the recovery mode of the operative, your local keyboard configuration is loaded. However, when you try to enter the firmware password the distribution that is loaded is the American.

So, to enter the special characters of your password you will need to know how they're transcribed using your keyboard as an American keyboard. E.g.: in a Spanish keyboard, the # is written using ⌥ option + 3 and in an American, ⇧ shift + 3. In the login password screen of the firmware you'll have to use ⇧ shift + 3 to input it.

In honor of the truth, when you configure your firmware password a comment urges you only to use letters, numbers and punctuation symbols. I must admit that I didn't notice that warning. And being an advanced and very careful user, I established a potentially dangerous password for the integrity of my system without perceive it. I consider it's an important error in the system.

I can only reiterate the gratitude to my friend Víctor for his help this morning. We use his Mac to transcribe my password with an American keyboard layout.


My MacBook Pro doesn’t wake up after sleep mode

In cases like this you should try to do a PRAM and an SMC reset. You can see how to do that here and here. Don't worry you won't loose any data.


What is the server URL thru which Apple updates occur?

According to this Apple KB Document, ports 80 and 8088 are used for SUS.


Thunderbolt Display Camera No Longer Recognized by my Macbook Pro

FOUND THE SOLUTION!

Open Terminal and type:

sudo killall VDCAssistant

Camera works now!


User in Permission "Loading..." has become "_spotlight"?

Check the folder with ls -le /Users/<user_name>/Documents/<folder_name> and you will see that _spotlight just indicates an ACL. The real owner:group is root:staff. Adding an ACL for the user _spotlight is sometimes necessary to allow (or disallow) the indexing of a folder for the Spotlight search database.

Depending on your system version you may get a similar result checking the /Applications folder:

ls -dle /Applications
drwxrwxr-x+ 84 root  admin  - 2856 23 Jan 20:34 /Applications
 0: group:everyone deny delete
 1: user:_spotlight inherited allow list,search,file_inherit,directory_inherit


Is there WindowTabs like app on Mac OS X?

StickyWindows creates a tab for every window that sits on the desktop. Its not exactly what WindowsTabs do but it is something ;)
It seems to only work with Leopard though :(


Fn+F6 misbehaving after Mountain Lion upgrade

If you upgrade to Mac OS X 10.8.4 Mountain Lion and also have Parallels Desktop installed, you will be required to upgrade the latter to version 8.  This new version by default uses the F6 key to "Show and Hide the Parallels Desktop".  To disable this, use the menus "Parallels Desktop" : "Preferences", and click on the "System Shortcuts" tab. to show the above preference, which can then be unchecked or changed to a different shortcut key.


It sounds like the Notes were being saved on iCloud on both devices.  When you deleted them from your phone, you were really deleting them from iCloud.

If you use "Time Machine" to backup your macbook, you can go back to the day before you deleted the notes on your phone and then sync your phone with iTunes to put the notes back on.

Then, on your iPhone, go into the iCloud settings and turn off Notes.  This will save your iPhone notes locally and keep them separate from the macbook.


I would take the MacBook into Apple or an authorised repairer to have them examine it. Possible damaged mobo or connectors inside the MacBook that are causing you the grief.


Updated to Big Sur and find -exec results in permission denied

The problem is with your find invocation:

find . -name "*_20*.pdf" -exec {} ~/Desktop/. \;

If your PDF was named “Foo_20.pdf” then when find matched it it would attempt to run Foo_20.pdf ~/Desktop/. which is an attempt to execute the PDF as if it were an executable, and of course because it’s not (specifically, because it lacks the +x file permission) you get a permission denied error.
Your command is missing a cp invocation:
find . -name "*_20*.pdf" -exec cp {} ~/Desktop/. \;


The "Esc" key in my bluetooth keyboard doesn't work, how to fix it?

I have (likely) the same keyboard and solved the problem this way: I mapped caps lock to esc.

You can do this via System Preferences > Keyboard > Modifier Keys. There, at Caps Lock select Escape.


windows 10 bootcamp wireless display adapter macbook pro 2017

This occurred for me once I updated the graphics driver from the Apple update.  It was working fine with a fresh install until that update was applied (May 2018).  I reloaded Windows in Bootcamp again and got the same result.


Local Directory empty on my FileZilla Pro Client

Make sure to grant permission through the directory access permissions dialog.If you are using Filezilla Pro, it is under Edit -> Directory access permissions. After you grant permission, you should be able to see the local files from the Local Directory.

Reference:
https://trac.filezilla-project.org/ticket/11575


Change Screen Resolution for Mac Built-in VNC (Screen Sharing)

I found the solution in this article:How to change Macbook Screen Resolution Manually.
I used the DisableMonitor application.
https://notebooks.com/wp-content/uploads/2016/02/disablemonitor-resolution-menu-1024x754.png


I get different results based on whether 1,8/0.083 is used or 1.8/0.083 is used both in spotlight on iOS and macOS.  It would appear that the comma , is ignored and the number is treated as non decimal.

Attached are the results.  One could verify if the region settings make a difference by changing them temporarily to UK or another region.

iOS:

macOS:

Compare Wolfram Alpha results:


Is there an App for determining the current capacity of an Apple watch battery?

No - neither is there a public API for apps to do this on any iOS device. Clearly there are private API (heres one version for iOS / not watchOS) and occasionally someone slips an app by review knowing full well that's against the rules - but they generally get pulled quickly or fail to work / crash.

Is there an iPhone app (as opposed to desktop software) that shows actual battery cycles - cycles number


Lets do some information collecting then do some testing.

  Click on the Apple (top left)

  About this Mac

  More Info

  System Report

  Now look for Network and WiFi

There you will see the information about your WiFi card and the status of the connections.

It looks like this:

As next step I suggest to do some Diagnostics.

Than open the Network Diagnostics to test your WiFi connection.

  Choose Apple menu > System Preferences, and then click Network.

  Click “Assist me,” click Diagnostics, and then follow the onscreen
  instructions.

This test will tell you about your WiFi card and connections.


iPad screen is black and won't turn on after charging and resetting

Have you tried restoring the device using iTunes? If that doesn't work, you may wish to take it into the nearest Apple Store, or finding a place that'll repair your iPad, because if none of the above worked, then I'm afraid your iPad is dead.


What features have been added to the Files app since it was introduced with iOS 11?

iOS 11 introduced the Files app.

iOS 12 added the following features, summarised from

https://support.apple.com/HT209084

AR Quick Look support

iOS 13 added the following features, summarised from

https://support.apple.com/HT210393

  External drives supported in Files to access and manage files on a USB drive, SD card, or hard drive
  SMB support to connect to a server at work or a home PC
  Local storage for creating folders on the local drive and adding your favorite files
  Zip and Unzip support for creating and expanding Zip files

https://appletoolbox.com/everything-in-the-new-files-app-for-ipados/

Document scanning previously only in Notes, now available to scan to Files directly.
Column view (iPadOS).
Multiple Files app windows (an iPadOS feature supported by Files app).


Problem with Photoshop CS6 Freezing up on OSX Mavericks

I would use opensnoop to figure out what it's doing when it hangs.

I've used the following command to watch a process and log the results to my desktop while watching the results live.

Once your figure out which file it's hanging on, you might be able to determine what the next step should be.

  ps aux | grep -i Photoshop | head -n 1 | col | cut -f 2 | cut -d' ' -f
  1 | xargs -I {} sudo opensnoop -v -p {} | tee -a ~/Desktop/logfile.txt


SwitchUp can swap out the Finder preferences and let you manager multiple sets of these preferences, which can give you different sidebars.  Watch the video on their website to get an idea of how it works.


Automatic Termination remains part of macOS. When implemented correctly, you should not see it in action.

To discover which applications know about Automatic Termination, issue the following command in Terminal.app:

grep -r NSSupportsAutomaticTermination /Applications

Requires More Code

Supporting Automatic Termination requires additional and, frequently involved, effort from the application developer.

The application needs to deal with an environment where it could be required to quit at (almost) any time; that means being able to save and restore state quickly, with no user interaction, and at (almost) any moment:

  Automatic termination is a feature that you must explicitly code for in your app. Declaring support for automatic termination is easy, but apps also need to work with the system to save the current state of their user interface so that it can be restored later as needed. The system can kill the underlying process for an auto-terminable app at any time, so saving this information maintains continuity for the app. Usually, the system kills an app’s underlying process some time after the user has closed all of the app’s windows. However, the system may also kill an app with open windows if the app is not currently on screen, perhaps because the user hid it or switched spaces.

Ask Apple

Why Apple appears to have removed support from some of their applications in OS X 10.11 is a question best directed to Apple.

A Matter of Priorities

Anyone who writes Mac applications must judge if this is a feature worth implementing and if that engineering time is better spent elsewhere. This will always be a matter of judgement for the developer, so I suspect your question can never be definitively answered.

Tell Developers

If you have applications you want to support Automatic Termination, tell the application's developers. If enough customers value Automatic Termination, then developers will make the time to implement it.


How to bind contacts to another apple ID

If the contacts in question are coming from iCloud, you'll need to change the account in Settings → iCloud to a different iCloud account.

Your contacts may also be coming from a different account (or multiple accounts).  Check other accounts in Settings → Mail, Contacts, Calendars to see if any of them may also be a source of contacts.


Getting Messages sent to my sister's iPhone on my MacBook Air

If it is not a bug, probably her iPhone and your MacBook are connected with the same Apple ID account. Just log out from her Apple ID in "System Preferences > Internet Accounts" and from "System Preferences > Users & Groups > Your Mac Account > Advanced settings > Change Apple ID".


Right click on Dock icons in Mission Control

Clicking and holding on the dock icon will open the context menu, though it will also dismiss Mission Control at the same time (but that still saves you the step of having to dismiss Mission Control yourself first).


Unable to account for 23.6 GB of disk space

Both About this Mac and df seem to agree that you have 91GiB used, 21GiB free on /, which adds up to the volume of your 112GiB (120GB) hard drive.

The problem must be with the list of files Disk Inventory X scans.

Run du -s as a superuser starting from / and then going deeper into the filesystem to get a more accurate picture of your disk space usage.

Keep in mind:
About this Mac and Finder display space in GB (base 10, 1GB = 1000MB)
df -h and du -h show results in GiB (base 2, 1GiB = 1024MiB)
df -H and du -H show results in GB
Many GUI tools display file size in GiB while labeling it as GB


Can I transfer purchased content from an iPhone to an authorised PC

You can transfer purchases from your device to your computer.

Assure that you are signed into the AppleStore on the Computer
With the device plugged in via USB, Context-click (right-click) on the device and select "Transfer Purchases".

For more information and guided steps, please refer to this AppleSupport Article


The – button is greyed out for a user when the user is still logged in with Fast User Switching. Log out the other user you're trying to delete, then return to System Preferences with this user account and try again. You can restart to be sure that user is inactive as well.

You can delete a user from command line and you need to be careful you have the exact short name correct or you will erase the wrong data. In this case, the short name is mac. Run the following to delete the user and separately delete the user's home folder. If you want to keep the home folder, don't run the rm command.

sudo dscl . delete /Users/mac
sudo rm -rf /Users/mac

If the dscl command fails, reset the password on the account and retry the above commands.

sudo passwd mac


How do I stop marking mail as read caused by looking at the preview pane?

You can change the mark as read delay to a great value, for example 30 seconds, by typing the following in the Terminal:

defaults write com.apple.Mail MarkAsReadDelay 30

(NB: A value of -1 will disable marking as read from Preview if the preview window is hidden.  Tested on Mail 5.2/OSX 10.7.4)


How can I browse the directories of an external drive even when it is not attached?

Based on the clarifications in the comments, you can do the following:

Create an index file

find /Volumes/YOUR-EXTERNAL-DRIVE -print > ~/YOUR-EXTERNAL-DRIVE-index.txt

This will list all files/folders on the external drive and store the result in your home folder.

Search for a file

grep THE-NAME-YOU-ARE-LOOKING-FOR ~/YOUR-EXTERNAL-DRIVE-index.txt

Partial names will work as well (and the external drive must not be attached for the search).


How do I send ASCII text to printer (over USB)?

I managed to install a raw printer driver and print to it from the command line.

Using CUPS/Gutenprint's web interface at http://localhost:631/ I added a printer with device URI

  usbtb://Generic%00%00%06/Generic%20Bulk%20Device?serial=1234567890

and selected "Raw" as the make for the printer. (Please note that the serial URI parameter corresponds to the serial number for the USB device as listed in the question!)

I can now see the printer listed when issuing the command lpstat -p -d

  printer Generic_usbtb is idle.  enabled since Tue Jul 16 23:04:11 2013

To print the text file text.txt I write lp -d Generic_usbtb test.txt


This is the default behavior if you hold the right mouse button, not just click it. It's so you can click and hold the right mouse button, move your mouse over the desired entry, and release to select. Make sure you're just clicking and not clicking and holding. It's possible it's a problem with the mouse itself sending the data incorrectly so your computer thinks the button is pressed down longer than it is.


Use AppleScript to launch and manage Quicktime Player in the background

How about this: It's not exactly what you want, but achieves roughly the same thing.

I seem to remember pre-OS X you could activate an app and keep it from being frontmost, but that appears not to be possible these days (or I imagined it.)

to replaceFrontQTPlayerWithFile(aFile)

tell application "QuickTime Player"
    activate

    try
        set frontDoc to front document
        close front document
    on error err number errNum
        if errNum is -1719 then
            -- There is no open document
        else if errNum is -10000 then
            -- Front doc exists, but does not really...
        else
            log err
        end if
    end try

    open aFile
    play front document

    -- Hide QTP
    tell application "System Events"
        keystroke "h" using command down
    end tell

end tell
end replaceFrontQTPlayerWithFile

on run
    set unixFile to "/Users/diggory/Music/iTunes/iTunes Music/Music/Underworld/Oblivion With Bells/01 Crocodile.m4a"
    set macFile to POSIX file unixFile
    set fileRef to (macFile as alias)
    my replaceFrontQTPlayerWithFile(fileRef)
end run


Some OS software from another internet source other than Apple is not entirely reliable unless they are a certified Apple seller. In order to get back to the OS you want you can do a few things. Delete the HDD from disk utility and recover it from Internet Recovery. This should bring you to download El Capitan, after that you want to go to the app store and see if you have a version of Mavericks already downloaded, if you go great. If not, you are going to need to buy a copy and then download that onto your USB to reboot from there. Chances are, the copy of Mavericks you have is corrupt in some way or missing essential components.


Can you wait for Spotlight to reindex your machine?

If so, try this:

Go to the Spotlight section of System Preferences.
Go to the Privacy section and add your boot disk (mine is Macintosh HD).
Remove it again.
Go to Spotlight. Notice the "Indexing..." indicator. You can continue to use Spotlight and the rest of your machine while it indexes, but until it finishes it may not find everything.

Can't wait (or don't want to use Spotlight)?

Try this Terminal command to search by name. Any 's should be replaced with '\'', because otherwise they would end the quoted string.

find ~ -iname '*whatever*'

Searching by file contents is trickier, and will only work for plain text files. Try this:

grep -iRIl 'whatever' ~

What does this all mean?

~ – your  home folder
-iname – tells find to do a case-insensitive search by filename
'xyz' – single quotes prevent characters like Space, ( or ), etc. from being interpreted by the shell
*whatever* – the *s mean "any number of characters can go here". Otherwise, find would only search for files named exactly "whatever".
-iRIl:

-i – case-insensitive
-R – recursive (search subfolders too)
-I – ignore files that aren't plain text
-l – list files, but don't display matching lines


How do I get the 'Calendar' app to display on the Dashboard?

Use this widget, hope it can help you :)

Download link


Presenter notes in Keynote Window Mode using Apple Script

So it turn's out it is simply a timing issue adding delay does the trick:
tell application "Keynote"
        activate
        show next
        delay 0.1
        set selectedSlide to slide number of current slide of front document
end tell
tell application "Skim"
    tell document 1
        go to page selectedSlide
    end tell
end tell


What causes the retina Macbook Pro HDMI-DVI output to cut out on occasion?

Try disabling Automatic Graphics Switching in the System Preferences-Energy Saver.  This may be working for me, though I haven't figured out how to reproduce the 1-2 second blanking, so only time will tell.

I'm running 10.8.2 on a new rMBP and have the same issue - The external display goes blank for 1-2 seconds when connected to a 1680 x 1050 display via the HDMI connector and the rMBP is closed and in a stand. There is no movement of the rMBP, the HDMI cable or monitor when this happens.

I have not experienced the same momentary blanking of the rMBP's display when using only the native display.

It doesn't happen often (2-3 times per day) so it's more of an irritation that I don't expect from a nearly $3,000 piece of hardware.


StarCraft II minimises itself after opening

Have you tried a full re-install of StarCraft? Have you ensured that you have all updates, particularly graphic driver updates, are installed?

Additionally, you can also find several troubleshooting steps at OS X Daily which includes a few close descriptions of the issue you described.


Can't access Mail or Mail setttings on iphone 4 + iOS 6.1.2

First, force-quit Mail.app. To do this: Go to your home screen. Double-click the home screen. Locate Mail.app in the bottom bar that appears. Press and hold Mail.app until the icons wiggle. Delete Mail.app from the bottom bar by clicking red X.

Try again to launch Mail. If this doesn't work, reset the iPhone by pressing and holding power and home buttons for 10 seconds. Restart device once it shuts off.


Exit the "Do you want to save your changes?" dialogue as fast as possible (discard changes)

Press the Spacebar.

⌘ + Backspace works if you are trying to choose “Don’t Save” but the Spacebar is what you want to select ‘Revert’.


How do I make my iPad Retina wifi hotspot discoverable (tethering 3G) when off and unplugged like my iPhone 6S?

You'd have to be on the Personal Hotspot menu from Settings. This "forces" the broadcast and allows devices to connect while you're on this menu.

AFAIK I'm afraid you can't make it discoverable while it's off, though I think there is some sort of timeout after leaving the Personal Hotspot settings that allow connections from other devices.


Never forget your little fellow Automator, sitting in a hard drive near you :)

Launch Automator, create a new workflow. Now you need to add two actions:

In the "Files & Folders" select Ask for Finder Items and drag it.
In the PDFs Category, find "New PDF from Images" and also drag it.

Your workflow should look like this:

Now read the options for each Action and customize accordingly. Investigate similar actions (especially in the Files & Folders category) and perhaps the Photos if you want to transform your images from JPG to something else. In fact, go ahead and look all over automator, there are a lot of interesting things there. :)

When you're satisfied with your Workflow, click "Run" on the top right corner. Watch the magic happens and depending upon the number of items and your CPU power, you might go grab a coffee/tea.


Where are Microsoft Office for Mac My Templates stored?

According to this page, and confirmed by experiment, the path has changed for Office 2016.  It is now ~/Library/Group Containers/UBF8T346G9.Office/User Content/Templates.  (This is what you see in the Finder: if you use Terminal the last two directories have ".localized" appended to their name, which Finder evidently suppresses).

Be aware that if you performed an upgrade of Office, you will still have the ~/Library/Application Support/Microsoft/Office/User Templates/My Templates directory, but Powerpoint, at least, won't look in that location.


Getting error in Terminal when typing Passwd *Username*

To use passwd in single-user mode or otherwise make changes to accounts on the system, you need to load Open Directory.

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


iOS background image height width in Xcode for 1x, 2x, 3x

Here is a nice graphic that displays all the screen sizes and background image sizes (courtesy of Reign Design):


Prevent BootCamp partition from automatically mounting

Your original solution using /etc/fstab will work, but you must use the volume's UUID (which DOES exist, Disk Utility just doesn't display it for NTFS formatted partitions- thanks Apple...)
To learn the UUID use the following command in terminal:

diskutil info /dev/diskXsY  ##substituting the X & Y for the disk and partition designation of the volume you want NOT to be mounted- which you can learn with: diskutil list

For this command to succeed and show you the UUID you can not have Tuxera NTFS enabled for that partition.  If you are using that or probably any other non-native file system drivers for NTFS, you must disable them (at least for that partition) and reboot.
The partition must also either be mounted or dismounted when you run the command- I can't remember which (and I remember that for me it actually turned out to be the opposite of what I found posted on a forum somewhere... so experiment).

If for some reason you just can't get OS X to show you the UUID you can resort to booting up with an Ubuntu installation disk and using a tool like gparted (there are quite a few ways using either the command line or a GUI app- you won't have trouble finding more information on that).  You don't have to worry, the UUID will be the same between operating systems.

Then add the following line to /etc/fstab

UUID=(you know what to put here- no enclosing brackets or anything) none ro,noauto 0 0

reboot and voila- no unwanted partitions mounted!  This is a system wide setting for all users, but you can still mount the partition using the Disk Utility.

This is the most pervasive and effective solution to this problem- plus it's not broken if you happen to move the disk to another controller or port, or even if you change the volume's label.  However, formatting the partition will assign it a new UUID.


Can I use the same bootable drive for all models?

The general rule is that you cannot boot a device using an OS older than the device itself.

So the chances are small.

The trick would be to recreate that drive as the latest OS update is announced, concurrently with that product release.

Alternatively, use the Apple Migration Assistant

Extract:

  Before you transfer information from a Mac, connect the two computers with a cable (Ethernet, FireWire, or Thunderbolt).

  Note:   If you’re transferring from a Mac with OS X v10.8 Mountain Lion or earlier using a Thunderbolt cable, follow the steps for transferring from a Time Machine backup or other disk.
  You can also transfer information over a wired or wireless network, as long as your computers are connected to the same network.

  Open Migration Assistant, click Continue, then follow the onscreen instructions to transfer info from a Mac.

  Open Migration Assistant on the other Mac, then follow the onscreen instructions to transfer info to a Mac.
  Select what to transfer.

  Apps: Select the Applications checkbox.
  Incompatible apps or apps with newer versions already installed may not be transferred or may not be usable.
  Computer settings: Select the Computer & Network Settings checkbox.
  Your desktop picture, network settings, and more will be transferred.

  To begin the transfer, click Continue.


Not sure I like it, but I think it's by design.  I don't really use the zoom function, but occassionaly activate it by accident when srolling.  When you zoon in, it seems to remove all navigation functions other than scrolling or further zoom operations.  You need to zoom back out in order to get it all back, however due to either inertia or some other feature it's possible for you to sort of bounce in again and zoom in a small amount again, making it seem unresponsive.  It's very subtle, especially as the text will render beatutifully.  So, in short, zoom out, check that you have really actually zoomed out all the way, then try again.


Bootcamp touchpad drivers fail to install on Windows 8 RTM

Go to Device Manager and uninstall (and delete drivers) for the two
  Trackpad devices then rescan for hardware. After which, then go find
  your Boot Camp drivers, and don't run the full setup, but instead
  find the folder that specifically has the driver install packages in
  them and install the ones that are along the lines of "Apple
  Multitouch Trackpad." After this, go to your Boot Camp options to make
  sure that it now sees your Trackpad.   You should have full
  functionality restored after this.

Did get the answer from this forum post: How do I get my Macbook Pro trackpad working on Windows 8


macbook pro 15 inch retina, keyboard shortcut for desktop display

cmd-F3 works for me.  If you have Use all F1, F2, etc. keys as standard function keys turned on in System Preferences > Keyboard, then it would have to be fn-cmd-F3.


Reset an iMac to factory without passwords

First you'll need to turn off your iMac. Then press the power button and immediately hold down the Control and R keys until you see the Apple logo or spinning globe icon.

Release the keys and shortly afterward you should see the macOS Utilities window appear.

In this are four options: Restore from Time Machine Backup, Reinstall macOS, Get Help Online and Disk Utility. Click on the last one (Disk Utility) and then select Continue.

Next, you'll see a list of all the HDs currently attached to your Mac. In the left column are the names of each drive, while in the main panel are the details of the selected drive.

Look under the Internal section for your main drive. This is often called Macintosh HD and appears at the top of the list. Click on it so that it's highlighted, then click the Erase button from the options in the main panel. Use the same format suggested by the Erase on for your HD.

Once you are done, come back again to the window macOS Utilities and from there select Reinstall macOS. All should go good in 25-30 minutes as it downloads from the internet.


It seems that you may need to reconfigure your computer's iCloud. You can achieve this by reinstalling OS X. Then it would allow you to set up your iCloud account from start out. Before beginning, I strongly recommend you backup your computer just in case something goes wrong

Restart your Mac
When you hear the start up chime, hold Command ⌘+R
Click "Reinstall OS X"
Follow the instructions listed

If that doesn't work, you may need to fully erase and restore from backup.


Hide invitations on work calendar, only show imminent events

You can manage these notifications in Settings > Notifications > Calendar. This will allow you to configure your notification preferences individually for both invitations and upcoming events. There isn't a "turn notifications off" toggle for them individually, but you can manually disable all of the alerts (sounds, badges, banners etc.) for invitations alone.

I misread the last part of your question. My mistake. I don't know if it is possible to adjust notification preferences for individual accounts. I ran into this issue a while back and never found a solution.

So, in summery this is a no, you can’t have some notifications and not the rest.


Shaderific allows you to "import shader files with Dropbox or iTunes Document Sharing" so they were allowed, but the bad news is that you have at least one strong competitor.


What will be removed if I sync my device with another iTunes?

The answer depends on how your phone is configured for synchronization.  Note: If you back up your content from the phone to the local new computer first, then though some data will be erased, it will then be copied right back on to your device.

Entertainment files:
In most all situations, your music, movies, podcasts, books, and TV shows will be lost as they are replaced with information from the new computer. Apps will usually be preserved.

Contacts and calendars:
If your contacts and calendars are being synched through a cloud service, like most people today, your contacts and calendar data won't be lost. If your contact and calendar data is being synched locally through the computer directly, then yes, it would be lost and replaced with the new local data.


Is there a difference between PC4-21333 and PC4-21000 RAM for iMac 5K 27' 2019

Crucial.com shows it being PC4-21300 so I would ignore Amazon.

See https://www.crucial.com/usa/en/compatible-upgrade-for/Apple/imac-%28retina-5k%2C-27-inch-3*0ghz-intel-core-i5%2C-2019%29#MEMORYFilters


solution to install from source and get around the homebrew error

brew install openssl

-> Warning: openssl-1.0.2j already installed, it's just not linked.

brew link openssl

->Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

cd ~/scratch
git clone git@github.com:openssl/openssl.git
cd openssl
sudo mkdir /usr/local/ssl
sudo chmod 777 /usr/local/ssl
./config -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
make
make test
make install

now, you will think you failed. but per OpenSSL not getting linked with homebrew on El Capitan 10.11.6
you have to close your terminal then reopen it
now

openssl version -a

will show that you are using the new version.


Find which process receives a given keyboard command

ShortcutDetective solves your problem. It's free, simple, and to the point.


How to delete beta "update is available" after unenrolling from beta?

The following Terminal command will stop your Mac from accessing the software update catalog for Beta software:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL

You might need a restart, or relaunch of System Prefs and Command R to reload the Software Update pane at least.


Using bootcamp on an external drive - Can you run it on different mac computers?

No, that will not work.

The windows drivers most likely will not be the same between Macs.
Windows will know you have changed computers and will not boot.

Also, have you investigated just how must effort is involved in installing Windows on an external drive? You can not use the normal Windows installer. You have to install Windows from the command line.

I suppose you could manually install all the drivers you would need for all the Macs you wish to boot from. Then you could run SysPrep to generalize before switching Macs, but this was not what Microsoft intended. Also, which Mac do you intent to be connected to when you Active the software?

Windows does have a feature called Windows to Go, that can be used between computers, but I believe you will not have access to each computers internal drives. I also believe you need special hardware which comes at a premium price.

If you are still determined to try, then please report back your results.

If you get stuck at some point, please let me know. I might know how to proceed.

This is my answer to the question Is it possible to use Boot Camp with Windows 10 from an external HDD?. Of course, there are also many other opinions on how to succeed.

Below is some information on the Boot Camp Support Software.

Some the the websites are: Download Boot Camp Support Software 5.1.5769, Boot Camp Support Software 5.1.5640, Boot Camp Support Software 5.1.5621 and Boot Camp Support Software 4.0.4033. Those are for the older Macs. For the newer Macs, you can only download the Boot Camp Support Software by using the Boot Camp Assistant application. If you have to, you can use the Windows 7,  8 or 8.1 drivers to install Windows 10.

Each Mac is assigned only one unique Boot Camp Support Software package. When installing Windows, only the required drivers are installed. No Boot Camp Support Software package is an replacement or upgrade from any previous package.

Updates for the Boot Camp Support Software is delivered by either Windows Update or by Apple Software Update. These updates will download after you have installed Windows.


Group processes by apps in Activity Monitor under Memory tab

I know this is old, but this feature does exist:
Go to Activity Monitor, click "View" (at the top) and select "All Processes, Hierarchically".

Hope this helps someone!


What does the shortcut picture with x within bounded right arrow mean?

This is Forward Delete (on Windows keyboards called Del). You can achieve it on MacBook keyboard with Fn+⌫ Backspace.


My login keychain cannot be found. I have Keychain access but no Keychain repair option. OS X El Capitan

The login keychain lives in ~/Library/Keychains/

First thing I'd do is see if Time Machine has a backup.

There is no Repair Keychain function in El Capitan. According to Apple KB: About the security content of OS X El Capitan 10.11.2

  Impact: A malicious application may be able to masquerade as the
  Keychain Server. Description: An issue existed in how Keychain Access
  interacted with Keychain Agent. This issue was resolved by removing
  legacy functionality.

According to rumour, it never worked since 10.11 anyway.