Charging Macbook Pro with lower wattage from display is bad for battery health?

Charging the MacBook Pro with the lower wattage from the display is not bad for your battery health at all.
There's also nothing wrong with the computer consuming more energy than the charger delivers when under heavy use. It won't damage the battery nor the charger. Ofcourse it will eventually discharge the battery so that you need to lower the energy consumption in order to actually charge the battery.
Note that a MacBook Pro does not usually use near 97 watts all the time when in use. It is usually in short bursts if at all.


Using iFile to change lock screen passcode

It should be, is for sure in iOS6 and will ever be encrypted in future iOS versions. I doubt you can bypass the code.

However there is a securityleak in iOS 5 (since you have 5.0.1) I think you should check out this post online

The post contains this video, on how to bypass the lock. I hope that will help you out rather than changing the code via iFile.


How to sync Google Photo from phone to mac?

Another way is to use other service to sync photo e.g. dropbox or LR

and put that folder in your gDrive so it sync with gDrive and you got photo from you phone

https://support.google.com/photos/thread/13415041?hl=en


IPad mini repeating playlist without my permission

There is a repeat button in Apple Music. It is shown in this image: http://cdn.cultofmac.com/wp-content/uploads/2015/09/Repeat-icon.jpg

All you need to do is deselect that option. Don't be misled by the small '1' that shows up on the icon- you need to deselect it entirely.

If you don't have a button, please provide a screenshot so I can give different advice, but you should have it... It's easy to miss though


Don't prompt for opening certain external apps in Chrome

So I think you are referring to protocol handlers - this is the message that says "Are you sure you want to open this link in ?"
If so, try this:

Quit Google Chrome.
With Finder selected, hit the Shift-⌘-G and enter
the folder address ~/Library/Application Support/Google/Chrome.
Open the "Default" folder, and open the "Preferences" file in a text
editor like Text Editor.
Search for the phrase “excluded_schemes,”
which houses your list of protocol handler preferences in the text
file.
Search for the protocol (like “itmss” for iTunes, or
“slack” for Slack) and change its state from “false” to “true,”
taking care not to remove any punctuation.
Save the file, and re-open
Chrome.

** This only works if you've previously left "Always use this app for this filetype" unchecked, and may not work for all versions of Chrome  ***


Native way to speed up/remove desktop switching animations

Try going to System Preferences - Accessibility - Display, and tick Reduce motion.


I cant get past my password since my mac only spells caps and starts up in safe mode

Your Mac starts up in safeboot mode because of your SHIFT key pressed.

You could probably disconnect your keyboard as done here, and try a bluetooth or USB keyboard.

In the answer with the repair instruction is also a programm mentioned, which can disable a specific key. Nevertheless, I wish good luck and hope you can fix it.

I found nice instructions on How-To-Detach-A-Key here. It shows what you can expect when detaching a key from your keyboard.

** Update **

If you can ssh into your machine from another Mac, you could try to install Karabiner. With this app you can disable your left SHIFT key.

This app has a command line api, so 'fixing' your machine should be possible. Go [here](https://pqrs.org/osx/karabiner/files/Karabiner-10.6.0.dmg"Download app") to download it.


How to stop iPhone users from sending iMessages and send SMS instead

Disabling iMessages on an account that no longer has an iPhone can be frustrating.  But there is hope.  I've written a quick howto which answers this question in full.  Please see it at Why are iMessages being sent to a non-iPhone device.  You will find step by step instructions on how to end your troubles with iMessage.

Hope this helps!


Notifications from Apple TV on iPhone asking to allow login to Apple ID

That code that your iPad and iPhone are asking for is the two-factor authentication code. If you dont see a code on your Apple TV then the next best step for you is to go to http://www.appleid.apple.com and then sign in, get the code from one of your devices, then when in your account go under "security". In security look for two-factor authentication ON. If it is on, click edit on the far right hand side in security then you'll see "turn off two-factor authentication".

You'll want to turn it off in order to bypass the requesting of a code. Once you attempt to turn it off it'll ask you to create 3 security question (with answers) and double check your birthdate & rescue email (if you have one).

Once you've turned off two-factor authentication all of the devices that you are signed into will ask your to "update" your Apple ID by putting in your password to the account. It knows that you changed the security type to your account and wants to verify that you permitted it. After that you should have no problem getting the Apple TV working again.

***You may need to reset the Apple TV and its connection to your internets signal if its still not working. The above fix is just to get rid of those prompts, but it wont fix the connection.

Let me know if you have any concerns/questions/issues.


If you aren't printing very long documents, one option would be to manually deselect the even/odd pages in the Print dialog.


These is a list of icon's resolution needed for iPhone, iPad and both of them.

29x29 iphone/ipad
40x40 iphone/ipad
50x50 ipad
57x57 iphone
58x58 iphone/ipad
72x72 ipad
76x76 ipad
80x80 iphone/ipad
87x87 iphone
100x100 ipad
114x114 iphone
120x120 iphone
144x144 ipad
152x152 ipad
180x180 iphone

To generate all of them, I recommend you an app called Prepo that accept a 1024x1024 and generate the ones you defined.


OSX Bash for loop - issues with spaces in folder names?

These kind of things can be tricky in all Unix shells due to the way space is acting as a separator, running aliases as part of shell scripts just makes things even more interesting. I would probably run two passes of find to set first the directories in order, and then next the files:

find . -maxdepth 1 -mindepth 1 -type d -exec chmod u+x '{}' \;
find . -maxdepth 1 -mindepth 1 -type f -exec chmod u-x '{}' \;


What's a good "todo" widget for Mac OS X 10.6?

Lately, I've became really passionate about Alarms.

It transforms your entire menu bar into a drop-area for whatever file, email, shortcut you want to handle later.

Plus, it syncs with iCal, so you may use it in combination with another full-featured app (like TheHitList).

Just watch the introductory video!


Is it possible to master a DVD with 720HD high-definition video?

No, there is simply no way to encode HD resolution video onto a DVD. This is a common misconception. The DVD video format does not support HD resolution. DVD players cannot reproduce 720HD video.

If you want HD on a disk, that is what Blu-ray disks and Blu-ray console players are for.

There was once a format called HD-DVD, but it is no longer supported by anybody and standard DVD players will not play back an HD-DVD at the intended resolution.

720HD is 1280 x 720 pixels per frame.

The highest resolution that the DVD format can support is 720 x 480 pixels per frame for NTSC (or 720 x 576 pixels per frame for PAL), which is at best only 37.5% of the resolution of 720HD.


macOS 11: Get system information (GPU, resolution) programmatically (in C)

displayplacer allows to read and write display settings and is open source. I'm not sure about GPU details though.
The API used seems to be defined in IOKit/graphics/IOGraphicsLib.h.


Turn off auto-locking for specific applications

This can't be done at the moment. The Auto-Lock setting applies to every app. The only exception to this is if an app asks iOS to prevent sleep.

You can provide feedback to Apple regarding this at the following page:

http://www.apple.com/feedback/iphone.html


You obviously mean: How do I do this with Karabiner Elements … ?!?

For one: "Cmd-W" is not default for closing apps, but "Cmd-Q" is.

But, if you really want "Cmd-W" to close an app, here is Karabiner Elements' code:

{ "title": "Make ''Cmd-W'' close the current app.",
  "rules": [
     { "description": "Makes ''Cmd-W'' the shortcut for closing apps.",
       "manipulators": [
        { "from": { "key_code": "w",
                    "modifiers": {
                        "mandatory": ["left_command"] }
                  },
            "to":[
                 { "key_code": "q",
                   "modifiers": ["left_command"],
                   "repeat": false }],
          "type":  "basic"
                }
            ]
        }
    ]
}

Copy code to BBEdit (TextEdit) and save to ~/.config./karabiner/assets/complex_modifications as WhateverYouLike.json

Next open KE, tab "Complex Modifications", click [+ Add rule] at bottom, scroll down to WhateverYouLike.json and click [+ Enable].

That should be it … KE's modifications work without restart.

(Btw: the "repeat" part makes your shortcut close only ONE app, just to make sure …)


How do I disable "Enable Autofill using Contacts..."?

This appears to be a bug. A solution online recommends

Go to a form such as the USPS ZIP lookup

Start to fill it, and click "enable autofill" when it appears.

If prompted for permissions to let Chrome use contacts, do not allow it.

Just clicking the enable autofill once appeared to do the trick for me—I think my Chrome was already blocked from my contacts.


Property List (plist) files can grow to large sizes. Ten megabytes is large for preferences but not extreme.

Reasonable Size

Apple's developer documentation mentions that preferences sync'd with iCloud have an upper limit of 1 MB:

  The total amount of space available in your app’s key-value store, for a given user, is 1 MB. There is a per-key value size limit of 1 MB, and a maximum of 1024 keys.

Bookmarks

The sidebar lists and recent items content you mention are bookmarks. Bookmarks are encoded blobs of data used by OS X to locate a specific file or folder. A bookmark frequently contains more information than just a path; information such as security rights and means to locate the original file should it move or be renamed.


No, it does not have to do with macOS having a "BSD apropos" and Linux having a "Linux apropos".
Apropos on Linux and macOS is actually the exact same program. The difference you're seeing here is that macOS comes with a rather old version of apropros. You would find the exact same program in Linux distributions from that time period (at that time it was actually a rather simple shell script).
The "-r" option for regular expression was introduced with man-db version 2.5.4 from 2009, of which apropros is part.
You can install a newer version of man-db (and apropos) by having HomeBrew install, and running:
brew install man-db


I have a 50 GB storage plan for a previous phone that I still pay for. How do I make it cover my new phone?

It's assumed you mean an iCloud storage plan and not a storage plan sold/supported by your carrier (i.e. AT&T has Personal Cloud).
iCloud storage is tied to your Apple ID, not to the device itself.  So, all devices that you have signed into with your AppleID, will have access to that storage pool.  Once you sign out, the device will no longer have access to it.  Since you're using a Samsung (Android) device, the only way to access iCloud is via the iCloud Website (https://icloud.com).  If you no longer need this, you simply have to cancel it as there's no Android app for iCloud.
If it is a plan through your carrier, to move your service you would need to contact them for support.


How can I figure out why my Apple TV drops connection when using AirPlay

There are multiple tools available on your Mac.

open Console and look around the time stamp of the event (lost connection) to see what is it reporting.
Use Ping to test the connection speed and stability

Apple TV: Go to the Settings menu on Apple TV, select General > Network -note the IP address (you will need it later).

Start Network Utility

Ping your Apple TV IP, you might want to run a continuous ping to see if it changes significantly over time.

Read more "how to" here:

Testing TCP port connectivity between computers and devices


That problem is caused by asn1crypto.
You could try:

rm -rf /usr/local/lib/python3.7/site-packages/asn1crypto*

Which will uninstall asn1crypto.

Reference:
This Stack Overflow Post


Wipe the SSD of a barely-booting MacBook Air

You could try to hold down Command + R as soon as you start up your MacBook. This will get you into recovery mode. From there you can start the Disk Utility and format your disk.


Any recommendations for a before&after software installation scanner/uninstaller?

All the apps you listed seem to be commercial products while there are some free tools that can do this for you.

Based on this thread I tried and used AppCleaner. It seems to do the job well.


Yosemite won't recognize my (admin) user password

It will be hard to tell what has broken without being logged in, but the solution is easy.

Boot to the Recovery HD (power cycle the Mac, then hold Cmd-R until the screen goes grey. Then wait about a minute or so and you should get the recovery tools. See http://support.apple.com/kb/HT4718 for details) and reset the password to be what you want it to be. Once you get logged in again, you can look at the logs and patch up your Keychain as needed.


Square brackets on Swedish Keyboard - MacBook Pro with Catalina MacOs

Simplest way to find anything like this is from the Keyboard Viewer, available as an option for the menu bar in System Prefs > Keyboard > Input sources [or also in that pref itself]
Finding the Swedish layout in that panel shows [ & ] on Opt 8 & 9 respectively.


How can I open application's windows on dock separately like Windows 7?

Pretty sure this isn't possible as I don't see a way in settings, here are some workarounds:

Minimized windows will show up in dock if "minimize windows into application icon" isn't checked in dock preferences (right click on dock to pull them up).
If all windows are not minimized you can swipe up with three fingers to show all windows. You can also cycle through windows by pressing command + `
Right click the excel icon in dock to display all open workbooks.


How to transfer Clash of Clans from one iOS device to another

Yes it is possible. All you need to do is have both your devices next to that you want to make the transfer with. Then tap the settings button in clash of clans and you will see "link a device". Follow the on screen instructions after that.

If you have a new account already made on your new device past town hall 4 you are unable to link them. You will need to contact supercell for further information, which is what I had to do.


When Organized by Conversation, Mail's Inbox sometimes sends out to wrong recipient

There are at least half a dozen threads on Apple Support about this, and was a bug that has been fixed as of 10.7.2.


How to change how your Terminal app starts

As far as number one, in Terminal preferences, select the settings tab, select "Pro", and click the default button.


Alternative Ways to Control The Volume Level Of My Mac In OS X?

Use the volume keys on your keyboard (hold Shift + Option for finer control)
Go to the Sound pane of System Preferences


Is there a decent icon editor for OS X capable of editing .icns files?

In 10.5+, Apple's built-in Preview.app lets you do edit .icns files!
(Preview used to be pretty bare-bones back in 10.2 days, but with every OS release it has gotten more and more powerful.)
After opening the file, use the up/down arrow keys to switch between the different sized icon and bitmask images contained in the .icns file.
Then with each image you can:

Cut/Copy/Paste
Annotate (draw rectangles, add text, lines, arrows, ...)
Change transparency
Scale
Adjust color (saturation, tint, sharpness, etc)


Time Machine restores and network settings

After performing your clean install, you can launch the migration assistant and choose Time Machine as your source. This will allow you to select what to restore including Applications, Documents and Home Folder, System and Network settings, and all of your application settings. You can read more at this article on Apple's site: http://support.apple.com/kb/HT5872


Using lftp with sftp and pget -cn10 I was able to get the transfer up to 99 mbps!


Backups using Mac Mini Server & Time Machine

I'm not sure what you're exactly asking… but let's try.

If you have a Mac Mini Server and want to backup 3-6 machine's data, I'm assuming those machines save that data in the Mini's storage. (If not they should).

Then You can use a combination (or all) of the following:

1) The "Data" is stored on a mirrored drive (RAID-1 or more). For redundancy in case of hardware failure. Doesn't count as backup but counts as immediate hardware failure protection measure. Keep working even if the drive fails.

2) The "Data" Drive is part of a Time Machine to an external drive(s) (those drives can also be mirrored for an extra layer of protection). If your time machine drive fails, you have the mirror to keep working until you're able to restore the offending hardware.

3) A final, good idea, is to clone the drive (internal) into yet another external drive to have a copy-cat of the data in case everything goes to hell (You can use tools like SuperDuper or CarbonCopyCloner for that.

4) If what you want is the minimum amount of downtime in case of hardware failure or total software failure, you might want to have backups of at least one of each of your Macs so you can boot from an external identical drive if one machine fails (while you reinstall the original). Assuming the data is never locally stored, of course. Otherwise, you'll need a TimeCapsule with a huge external storage to let each Mac backup over the air (or net) to the Time Capsule as well.

Think of backups and redundancy as layers. The more you have, the more protected you are against external factors.

All this would be useless if you don't take your backups offsite…


Where is the list of sidebar's favourites stored in macOS Sierra?

Thanks to @TonyWilliams for the starting point and after a brief research I realized that requested sidebar's favourites are stored actually in directory ~/Library/Application Support/com.apple.sharedfilelist/, the file com.apple.LSSharedFileList.FavoriteItems.sfl among other files which are responsible for other sidebar sections. But those files are not available for easy editing.

Starting from OSX El Capitan and newer versions there is a command-line tool sfltool availabe to make some operations with that files, such as add an item.
But this tools doesn't have ability to remove items (the root of my problem which causes to this research) and I found another good tool on GitHub called mysides
which allows to remove items as well.


How can I make iTunes start again after disabling it?

Figured this one out myself:

Re-disabled iTunes via Play Button ITunes Patch
This (while still stopping iTunes from eating the play button) now makes iTunes launch normally again.


Does trimmed SIM card affect iPhone 4S's signal strength?

No - the sim card only provides an ICCID number to the phone. That number is read once per boot as the phone just uses the sim to identify what account to bill for service when registering with the nearby cell towers (IMEI and ICCID together let the system know what number to assign your phone and who to bill).

Something else must be causing your observed behavior.

Keep in mind, there is no guarantee two phones in the same location are not on distinct cell towers. Especially if one tower is overloaded or doesn't have high speed data so the phone /carrier might pick a faster connection that happens to have less bars of signal.

What does your carrier say if you call them for a site survey / diagnostic?


Fusion drive upgrade: how to get my installation back afterwards?

Personally I did the same thing. No, Cloning and restoring the clone to the fusion drive will not "Destroy" the fusion drive.


The usual way to run commands at regular intervals is you use launchd

An easy way is to use tools like Lingon X or LaunchControl to maintain the  daemon/agent configuration file.

You can also do this without the tool by creating the file with a plain editor. To run as root you will need a .plist file in /Library/LaunchDaemons. This needs you to provide the script and its arguments and will run as root.

In your case create a script to run both updates

port -v selfupdate
port -v upgrade outdated

Apple gives an example to run a script called happybirthday as below

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
  "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.example.happybirthday</string>
    <key>ProgramArguments</key>
    <array>
        <string>happybirthday</string>
    </array>
    <key>StartCalendarInterval</key>
    <dict>
        <key>Day</key>
        <integer>11</integer>
        <key>Hour</key>
        <integer>0</integer>
        <key>Minute</key>
        <integer>0</integer>
        <key>Month</key>
        <integer>7</integer>
        <key>Weekday</key>
        <integer>0</integer>
    </dict>
</dict>
</plist>


How do I keep my mac from going into sleep mode?

Thanks for your help Graham, but I decided to take a look at my logic board and found some places that had been corroded. I removed my logic board and gave it a good clean with isopropyl alcohol and a toothbrush and for now my mac has stopped going to sleep on its own, also fans are back to normal.


If you use command-line (Terminal.app in macOS) or even if you have a passing familiarity with it, youtube-dl is a highly recommended tool.

youtube-dl is available for macOS, Windows as well as Linux. The usage is very simple, just type the following command-line in Terminal (I have used an example video for demonstration purposes. Replace the URL with the appropriate one as desired):

youtube-dl https://www.youtube.com/watch?v=dgxpBpa9A48

That's it. It will download the video in the best available quality. There are no ads or any questionable content involved. Also there is no risk of downloading any inadvertent software/malware. youtube-dl downloads videos at best available speed for your Internet connection (unlike many other tools). It also supports download resuming (helpful if the connection breaks midway).

youtube-dl is not a built-in command in macOS. The easiest and best way to install it would be via using Homebrew. Follow the instructions on the linked webpage to install Homebrew. Once installed, run the following command to install youtube-dl:

brew install youtube-dl

Using youtube-dl, you can also easily download the video in lower resolution (for e.g. to watch on mobile device or to share over messenger) or just the audio only or video only stream from the video.

To select the download quality or type, simply, execute the command with an additional -F option to list all the available formats as:

youtube-dl -F https://www.youtube.com/watch?v=dgxpBpa9A48

The output will show all the available formats as:

[youtube] dgxpBpa9A48: Downloading webpage
[youtube] dgxpBpa9A48: Downloading video info webpage
[youtube] dgxpBpa9A48: Extracting video information
[info] Available formats for dgxpBpa9A48:
format code  extension  resolution note
249          webm       audio only DASH audio   50k , opus @ 50k, 3.19MiB
250          webm       audio only DASH audio   79k , opus @ 70k, 4.87MiB
171          webm       audio only DASH audio  112k , vorbis@128k, 6.98MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k, 8.70MiB
251          webm       audio only DASH audio  143k , opus @160k, 9.06MiB
278          webm       236x144    144p   83k , webm container, vp9, 30fps, video only, 2.79MiB
160          mp4        236x144    144p  129k , avc1.4d400c, 30fps, video only, 5.18MiB
242          webm       394x240    240p  188k , vp9, 30fps, video only, 4.55MiB
133          mp4        394x240    240p  271k , avc1.4d400d, 30fps, video only, 11.95MiB
243          webm       590x360    360p  347k , vp9, 30fps, video only, 8.06MiB
134          mp4        590x360    360p  487k , avc1.4d401e, 30fps, video only, 9.38MiB
244          webm       786x480    480p  508k , vp9, 30fps, video only, 13.20MiB
247          webm       1180x720   720p  910k , vp9, 30fps, video only, 25.75MiB
135          mp4        786x480    480p  957k , avc1.4d401f, 30fps, video only, 18.18MiB
302          webm       1180x720   720p60 1561k , vp9, 60fps, video only, 28.76MiB
136          mp4        1180x720   720p 1806k , avc1.4d401f, 30fps, video only, 36.16MiB
298          mp4        1180x720   720p60 1973k , avc1.4d4020, 60fps, video only, 37.02MiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k
36           3gp        320x194    small , mp4v.20.3, mp4a.40.2
18           mp4        592x360    medium , avc1.42001E, mp4a.40.2@ 96k
43           webm       640x360    medium , vp8.0, vorbis@128k
22           mp4        1180x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)

To download the desired variant, simply pass the mentioned format code with -f option, and that particular audio/video stream will be downloaded and saved. For e.g., execute the following command-line to download the medium sized variant, suitable for playback on mobile devices:

youtube-dl -f 18 https://www.youtube.com/watch?v=dgxpBpa9A48

There are many more advanced options like looking up available subtitle files and downloading a specific one. The aforementioned options should suffice for casual usage.

Note: youtube-dl supports downloading from over a 1000 popular streaming websites like Vimeo, Dailymotion etc. apart from YouTube. youtube-dl can be easily installed using Homebrew.


As someone who has to test RAM every day (Apple Certified Macintosh Technician for 2.5 years), I've found that the best RAM testing utility hands down is Memtest.

It's really easy to use too!  First, copy it to /usr/bin then boot to single-user mode.  Next, type in mount -uw / to mount your internal drive (for logging purposes) and finally type in memtest all -L 3 to start the Memtest suite.

If you want to perform more loops, change the 3 to a number you desire (e.g. memtest all -L 5), I reckon 3 to 5 loops is the best because it gives the RAM time to heat up (intermittent RAM failures can be heat related).

edit: Just wanted to add that Apple Hardware Test is useless, so never use it for testing hardware, especially RAM.


In Keynote '13, A dialog box keeps giving me a warning when I save / autosave

The file might be being modified by another process. You can see as the file is accessed by various processes by running:

sudo opensnoop -f /path/to/file

Use the file normally, then attempt to save. If you get the error, check back in Terminal to see if any other processes have accessed the file.


Can I manually/programmatically put the battery charging on hold?

Here's a tool that I've seen recommended by others:
https://github.com/davidwernhart/AlDente
It can limit your charging to specific percentages. However, I've not used it myself.


Is there any way to access Google Tasks on iPhone?

One of the best ways to access Google Tasks is via the webapp. Here is the iPhone version:

And the standard basic HTML view:

Hope that helps!


How do I get my address to appear at the top of contacts?

You'll need to create a contact for yourself with the home address, phone number, etc. To do this, create a contact with your information like any other contact. Then, go to Settings -> Mail, Contacts, & Calendars. Scroll down to "My Info," and select the contact you just created.

Then, your contact card will appear at the top of the Contacts list every time.


Assign ß on MacBook or external Magic Keyboard to long pressing S

The easiest fix is to just switch to the US or ABC input source.  These have the same mapping as Dutch, but with more press/hold options.

If you want to customize the Dutch input source, see this:


Is there an alternative to touch-automation than AutoTouch?

I don't think there are any other option (cheaper) that I've heard of.  Most of the unique tweaks in the jailbreak world are always priced high.

You should probably tweet to the developer @KentKrantz
and ask him about AutoTouch performance on iPhone 4 running iOS7 or maybe ask him for a trial license after which if you're interested you could buy the full license for $5 which doesn't seem a lot.


Stop App Store prompting for specific system update

Turns out that if you click on "More Info" and expand the update fully, you can then right-click on it and choose "Ignore Update".


Using symbolic link not working to back up iPhone directly to non-default location

Edited to remove a wrong suggestion.

I have not witnessed any problems making backups while symlinking the MobileSync/Backup directory, but I have seen many problems restoring the backups with the symlink setup. With that said, it's possible the issue extends to making the backups now too. That would be interesting to verify.


iPhone 5s forwarding automatically to another phone in the household after iOS 8 is installed

The problem you are having is due to the Facetime feature "iPhone Cellular Calls" which allows you to "Use your iPhone cellular connection to make and receive calls on devices signed into your iCloud account when they are nearby and on Wi-Fi."  This is fine if all of the devices are your own so that you can answer the call on any of your iDevices but obviously not a good idea for multiple people.

Are all of the phones signed into the same [primary] iCloud account? Settings > iCloud

If so, you have 2 options.

Log them out of the primary account and sign in using their own personal AppleID accounts.

If you were using a single iCloud account so everyone has access to a shared account for Music/Movie/App purchases, you should switch over to the new iOS 8 Family Sharing feature.

If you haven't created their own AppleID accounts because they were under 13 or you didn't want to include your credit card on their account profile, with the Family Sharing feature, you can create accounts for each child that is automatically part of Family Sharing and all purchases must be approved by you first. See this Apple KB article for more details.

Turn off the iPhone Cellular Calls option in the Settings > Facetime screen.  This will stop the calls from going to multiple devices for now but in the long run, it would be best to set up multiple AppleIDs and start using the Family Sharing feature.

Tip: When you switch over to the Family Sharing, you can either use the old shared iCloud as your own (the Organizer) or create your own personal account.
 When setting up the Family Sharing, one of the screens will ask if you want to share your purchases or use a different account.  Choose the different account option and use the old shared account.  This 2nd method will share all the previous purchases made under the shared account out to all family members but gives you the option to NOT share your own purchases.  This is helpful for parents to purchase items that the rest of the family shouldn't have access to.

If you want to purchase something that should be shared, either sign into the App Store using the old shared account (just remember to sign out and back into your own account) or simply use one of your kids devices.

Hope this helps :)


iTunes apps are for iOS devices: iPhone, iPad and iPod touch.
If you want to install apps on OS X, download them from the Internet or the Mac App Store.


Bluetooth is not working (maybe reconnecting ...)

Reset PRAM/NVRAM after updating to Catalina so that any old data should be removed from the cache.

Shut down your Mac.
Turn it on and immediately press and hold these four keys together: Option, Command, P, and R.
You can release the keys after about 20 seconds, during which your Mac might appear to restart.

It will resolved your issue. This solution worked in a couple of Macbooks of my colleagues after upgrading.


You need to copy one of the themes (from gnome-look or etc) to /Users/your_user/.themes and install gtk-chtheme via brew. There you can set theme which you want:

So now Zim looks as follow:


How to disable HyperThreading on Mac OS X Yosemite?

Indeed there is a solution, but you have to have Xcode installed.

Search for "Instruments" with Spotlight (cmd+space), open the application and go to the preferences (cmd+,). Select the "CPUs" tab and untick "Hardware Multi-Threading".

However, after restarting your Mac it will be enabled again.


Can I change the flash storage in my iPhone 4?

No, it is flash memory soldered onto the main circuit board and cannot be changed. It is not similar to devices with removable/upgradeable storage at all.

In this case "no user-serviceable parts inside" would be pretty close to the truth. iFixit has a great iPhone 4S tear down if you'd like a complete tour of the internals. They have done the same to many devices if you explore a bit, very interesting.


Why is my ipod shouting everything at me?

Just google Speakhints and figure out how to turn it the hell off.


Pictures attached to messages "vanishes"


iPhone 4 Will not Sync Calendar through Exchange Server 2003

According to Apple's Exchange ActiveSync and iOS Devices:Requirements iOS devices support Exchange ActiveSync (EAS) for Exchange Server 2003 Service Pack 2.

Check with your Exchange Administrator and be certain that your system meets that requirement. The linked document may be of further assistance.


meh. A reboot fixed it. What is this, Windows? I would still like to know what caused the problem, what other avenues I should have explored and how to resolve it without rebooting.


Turns out I had an old version.

The new, officially Lion compatible version from the keyremap4macbook homepage works fine.


why does my print job fail? 15 page PDF, freezes on page 7

If you think its buffer issue then try to print from page 1 to 6, then 7 to 10, then 11 to 15. You should have the options.

If you do not see:

Then click the Show Details in the print Dialogue


Submitting to app store, in "Prepare for Submission", how long do I get?

Apple has changed the rules a number of times, but a fairly recent (October 2014) blog post suggests that these app name reservations no longer automatically expire. The author says he received the following e-mail from Apple:

This was posted as an answer to a similar question on Stack Overflow. The accepted answer to that question still states there is a time limit of 180 days, but the answer was last edited in March 2014, and the quote it gives no longer seems to appear on the page it links to.


Insert date & time in latest version of Numbers

Unfortunately, Apple removed that option in the menu bar. However, you can still get the today's date by manually typing it (obviously) or by selecting the cell and typing "=Today", followed by the return key.

You can also type "=Date", followed by the return key. You can then manually select the date there.


Spotlight doesn't work anymore in OS X Mountain Lion

Firsts, make sure you have enough free disk space. How much is enough? Well, if you have 10% of the drive free, it should do.

Open Terminal and execute the following commands one after another:

sudo mdutil -i off /
sudo mdutil -E /
sudo mdutil -i on /

Now Spotline should start indexing your drive. This may take hours but you should get search back after it ends.

Before or after you do that, you can check Spotlight status in Terminal using:

sudo mdutil -sv /


How to show iOS screen on a projector like Steve Jobs did on his keynotes?

About the iPhone/iPad frame images - they are available when you're a registered iOS developer: http://developer.apple.com/appstore/resources/marketing/
They are a very high quality Photoshop files (for printing and for screen use).


How to get rid of the "ears" in the bottom of the screen?

If you put the dock on the left- or right-hand side of the screen instead of at the bottom, the unused space around it will be much smaller.


macOS 10.13 High Sierra - Location Services will not enable

This script worked for me, macOS Sierra.

More details pls check here:
https://www.jamf.com/jamf-nation/discussions/22095/enable-location-services-after-imaging

#!/bin/bash

## Unload locationd
launchctl unload /System/Library/LaunchDaemons/com.apple.locationd.plist

## Write enabled value to locationd plist
defaults write /var/db/locationd/Library/Preferences/ByHost/com.apple.locationd LocationServicesEnabled -int 1

## Fix Permissions for the locationd folder
chown -R _locationd:_locationd /var/db/locationd

## Reload locationd
launchctl load /System/Library/LaunchDaemons/com.apple.locationd.plist

exit 0


I logged out of iCloud on my iPhone and now it won't let me log back in

This answer offers an alternative to the one posted by user @Sacha on May 10th of 2018. For Apple users (like me) that cannot remove 2-factor authentication (because their account does not feature the link to do so), try this:

Log into your Apple account from a computer (appleid.apple.com or icloud.com). That step will require you to use your 2-factor authentication, as expected, so have your phone handy.
Scroll to the "devices" section. Verify that all shown devices are correct and not listed more than once. In my case, my iPhone was listed twice and that seemed to confuse the iCloud login algorithm. If that's the case, remove all duplicate(s) from the "devices" list so you only have a single phone listed there, and log out.
From your phone, try logging in again to iCloud.
If that still does not work, log into your Apple account from your computer again, and remove the device causing problem from the list completely. Log out. Now you have a clean slate.
Grab your phone, and try logging in again to iCloud. This time, you may need to force the 2-factor code to be sent by SMS, instead of iMessages (since you might no longer have access to the iMessage app).
Hopefully, this time around, your iPhone will complete the login process into iCloud and you will see your device on the Apple account page next time you access it.


Getting a new iPhone 5 and handing down my old 4S

Back up the 4S (either to your computer or iCloud), then when you set up the 5, select to restore from the old 4S backup. That will restore your iCloud account, and all apps and content.

Once the 5 has been successfully set up with your content, wipe the 4s (Settings → Reset → Erase All Content and Settings) and set it up from scratch, with a new iCloud account for your wife (unless she has an existing one).

It's important to note that your phone account is tied to the SIM card in the phone, so calls and SMSes sent to your existing number will still go to the iPhone 4S, and the iPhone 5 will be linked to your wife's account. To change this, you need to swap the SIM cards, which is easy to do, except the iPhone 4S uses a micro-SIM, whereas the 5 uses a nano-SIM. You're likely going to need to talk with your phone provider to reprogram the SIMs, or get new ones of the proper sizes.


Want to cancel a 'Pending Erase' on iphone... Any suggestions?

Cancel an erase
If your device is offline, the remote erase happens the next time it is online. If you find the device before it is erased, you can cancel the request.

In Find My iPhone on iCloud.com, click All Devices, then select the device.
If you do not see All Devices, it is because you have already selected a device. Click the name of the current device in the centre of the toolbar to access the Devices list, then select a new device.

Click Stop Erase Request, then enter your Apple ID password.

https://support.apple.com/guide/icloud/mmfc0ef36f/icloud


Unfortunately, Apple is no longer signing iOS v11.4 so you cannot downgrade the iOS version. I've seen a few scattered instances of iPhone 7 touch not working on iOS 12. The common denominator seems to be aftermarket screens.

This is similar to the issue we had back when iOS 11 came out and lower quality aftermarket screens were also affected but on a much wider scale. You could contact Apple support or Store but they will probably just want you to replace the screen for an Apple original.

If you can't or don't want to do that, then go back to the shop that repaired your screen in the first place and see if they have an "original-quality" screen they can try to help troubleshoot the issue. Otherwise, you will have to wait until (if ?) this gets corrected in the next release.


The kernel extension AppleUSBFTDI.kext is located at /System/Library/Extensions/. The kext is protected by System Integrity Protection, which has to be disabled if you really want to remove it.

Disabling SIP is addressed in this answer.


Don't know if this is the right way but I got it to work:
https://stackoverflow.com/questions/54028143/mcrypt-php-extension-required-on-mac-os-x-mojave

The answer on there was to pretty much remove any link for mcrypt and then re-link it. I had issues with the autoconf which required some file permissions tweaking (sudo wasn't working). That answer was here. https://stackoverflow.com/questions/16844826/error-when-trying-to-brew-link-autoconf

This was such a nightmare but that worked for me.


Change the location of Chrome notifications?

This isn't possible right now, with Chrome's notifications or with native macOS notifications — they're stuck in the top right.

This functionality used to exist on Windows, but isn't possible now, and there don't appear to be any plans for its implementation.


Boot Camp 6 update won't install on Windows 10

It has been a while sine I tried this so my apologies if it is a little vague... But the actual Windows drivers are inside the BootCamp package. In a zip file if memory serves.

Right-click on the bootcamp app and look for the drivers zip file (should be obvious which one it is.) and copy it out.

Put it in a place that your Win 10 installation can see it, boot into windows, copy the file over, open it up and install the drivers. One at a time if necessary in Windows.


Keynote 6.6.2, iMac, OS El Capitan: How do I export Keynote presentation to quicktime without the voice over?

I have two solutions, the first one is to export to QuickTime with the audio and then remove the audio the secondary is to first remove the audio then export to QuickTime.

Solution 1
First export to QuickTime
Open iMovie and create a new movie project (you can remove the new project later)
Drag and drop the video file to the large grey section at the bottom
Right click and click Detach audio
Right click on the new green bar below and click Delete (all audio has been removed)
To export, Click File->Share->File and click next and save it where you will find it.

Note, this solution removes all the audio. If you would like to keep some, you can simply add the audio just before you export the file in iMovie by drawing it to the large grey section.

Solution 2
An audio file in a keynote looks like this:

They are placed on the slides and don't have any fixed positions so they can be located at anywhere. To remove them you have to look thru all the slides and remove them one by one. Click on it then press backspace to remove it.


How an I confirm my Bluetooth 3.0 Keyboard is encrypted?

I suspect you should assume your keyboard is not secure. Much depends on who is likely to be attacking you – prankster or nation state:

  While Bluetooth has its benefits, it is susceptible to denial of service attacks, eavesdropping, man-in-the-middle attacks, message modification, and resource misappropriation.

These two questions on related StackExchanges give a good overview:

Is Bluetooth 4.0 traffic encrypted by default/design?
How secure is a bluetooth keyboard against password sniffing?

Hopefully you can secure the environment in which the keyboard can broadcast.

WireShark

The WireShark tool maybe able to intercept the Bluetooth traffic. See Bluetooth Smart Wireshark Plugin for a guide. Also see Bluetooth Smart Security for more technical details.


There is a bug in 10.7 and 10.8 where changing the sort direction doesn't always work unless you change the sort column first (see this question).

tell application "Finder" to tell list view options of window 1
    set sort column to name column
    set sort column to modification date column
    set sort direction of column modification date column to reversed
end tell


AppleScript issues with Terminal commands

You are having problems with the quoting of commands in a command.

An easy way out is to put the command ina shellscript e.g. name the script ~/bin/install_homebrew and after creating it make it executable

Script is

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

the call the script from the terminal or from Applescript

tell application "Terminal"
    do script exec "~/bin/install_homebrew "
end tell


Find All MP4 Files With DTS or AC3/A52 Audio?

I made a shell script. This will print any file that has a different codec.
Set the directory and extension to look for.

#!/bin/zsh
directory=~/Music
extension=m4a
codec=aac

find $directory -type f -name "*.$extension" -print0 | while read -d $'\0' file
do
    file_codec="$(ffprobe -v quiet -show_streams -print_format json $file | jq '.streams[0].codec_name')"
    [[ "${file_codec//\"}" != $codec ]] && echo $file
done

You need ffmpeg and jq. You can install both of them from homebrew.


When playing games, there are two things which determine your "real" fps, i.e., the number of unique or distinct frames you actually see.

Firstly, the monitor has a built in "refresh rate," which is the fastest speed at which the pixels may change color. The refresh rate never changes, no matter what your computer is doing. For most monitors this is 60hz, although high end "gaming" monitors may have refresh rates as high as 144Hz.

The second thing you have to consider, is how many FPS your computer is able to send to the monitor. This is determined by your graphics card (GPU), CPU, RAM, and Hard Drive in that order. Depending on how demanding the game is, the number of FPS your computer will send to the monitor will change. The more demanding the game the less FPS. For example Battlefield 1 and Ashes of the Singularity are very demanding games, Overwatch is semi demanding, and angry birds or candy crush, are not demanding. Macs tend to have very weak GPUs

The number of FPS you actually see is whichever is less, the Refresh Rate, or the FPS output by the computer. For example, if your monitor is 60Hz, but your computer is only outputting 25FPS, you only really get 25FPS.

Finally, the monitor only displays the images your computer sends to it. So in a sense, you can't play any games "on it." However, if you connect a windows computer to the Samsung monitor, or install a Windows partition on your Mac via Bootcamp and connect it to the monitor, then you can view your Windows games on the monitor.


Maybe this will be of use to you.

Dialog Toolkit and Dialog Toolkit Plus are ASObjC-based script libraries for showing enhanced dialogs. Add multiple text entry fields, checkboxes, popup menus, radio buttons, path controls, extra buttons and rules to dialogs.

Just read the text files included in the bundle to help you get started. Playing around in Script Editor.app, with the sample scripts included, should help you understand the process.

Here are a few examples created with this scripting addition in Script Editor


Does the AirPod Case, or headphones when in the case, emit a bluetooth ID?

When the case is closed with both AirPods inside, you can't locate the AirPods. It will only show the last know location which is when the AirPods were last connected to a paired device. So no Bluetooth is not emitting if the AirPods are in a case. Technically they are turned off.

If you want to test them you can place them in a case and then check for bluetooth signal or go to find my iPhone and see if you can locate them. It will only give last known location.


On a mac can I extend (not duplicate) my display to multiple external monitors?

No, second screens are addressed as separate windows and not spanned. You can run 6 plus displays on the macOS window manager even without external GPU, so it’s not about ports or cables or protocols. It’s the window manager design you’re fighting.
If you consider adding more pixels on a second or third display, then it’s trivial to add displays, just connect them. If you want a blended space where two displays extend into one logical contiguous space, that needs hardware or a different OS.  This came about in Mavericks and there’s no sign Apple is reversing decision on this.

https://www.imore.com/how-span-window-between-two-displays-mavericks

The best you can do is in mission control, enable displays have their own spaces.

how to make each display a separate space, yet have a keyboard shortcut to move both screens at the same time?

You also might be very happy with an external GPU since it simplifies cable management and unlocks performance far past the MacBook Pro / Intel chipset alone can deliver.


How to disable LinkedIn birthday event notification in mac calendar?

The only way I found was to disable LinkedIn in your Contacts "Preferences > Accounts".  That is how I could prevent them from showing in my Calendar.

I highly recommend you to send feedback to Apple about this.


How to obtain a list of files contained in a folder (as a text file)

Open Terminal
find TOP-FOLDER -type f -print | sed 's_/_,_g' > ~/filelist.csv
Import ~/filelist.csv into Numbers or Excel


The Activity window shows for me (you could try under Window tab and click Activity).But I can't "Send it to Back" like before; now it is always the top window in the stack.


Can Siri play a recent iTunes Radio station without an Apple Music subscription?

It looks like you still can play your iTunes Radio stations from Siri. From what I understand, you're correct in your observation that you no longer can view all of your stations outside of the "Recently Played" section, but Siri can both create new stations and play existing ones on command.

I tried playing/creating stations through Siri a few times on my iPhone 6+ running iOS 9, with these results:

When I tried to play an Owl City radio station I had previously created, and told it, "Play my Owl City station on iTunes Radio," it played Beats 1. But this worked (and created a new Owl City station instead):

To make sure that things were working the way I thought they were, I also tried playing a Taylor Swift station I had recently created. This time, it played the station without creating a new one.

Unfortunately, you can't just say, "Play my most recent radio station," and expect it to play your most recent station. Instead, in my experience, it jumps to Beats 1, what Siri calls its "favorite radio station." You can see the Music app cueing it up in the background thanks to Siri's translucent new appearance.


You'll want to right click on the favorite and "get info". The name shows up under "Name and Extension". You'll not, I think, be able to rename everything. If it's greyed out, for example, you won't be able to rename it.


Is my iPhone model number MC922LL/A unlocked or locked?

I got a 4S MC922LL as replacement phone from A pple(my 4S was having issues).

I put my friend's T-Mobile sim and it is working.
I've tried it multiple times even after restarting the phone and it is still working with the T-Mobile Sim.

It seems to be unlocked.


How to run a Visual Studio on Parallels Desktop with Elevated privilages via dock icon

Try to launch devenv through runas.exe, there you can specify the user who you want.
So you should make a shortcut with the following command:

runas.exe /user:admin "c:\PATHTODEVENV\devenv.exe

As I know it will ask your password, but then you can try the /savecred switch.

More info:
https://stackoverflow.com/questions/8249705/how-to-run-an-app-as-run-as-administrator-from-command-prompt, and
http://technet.microsoft.com/en-us/library/bb490994.aspx
Good Luck!


How to connect an iPad to a digital projector

It is actually very simple.
You just need the right cable.

Depending on Projector type you might use the Lightning to VGA Adapter if your Projector is of that type. Note: it does not support Audio!.
Look at your Projector to see if the plug looks like this:

If your projector has HDMI plug use the Lightning Digital AV Adapter

Look at your projector if the plug looks like this:

The projectors normally have 16:9 = wide screen (for movies) and you iPad does not, so you will see a black stripe on both sides, that is normal.

PS: if it has both plugs pick the second one "Lightning Digital AV Adapter" since you can use it to plug in to your LCD TV :)


Can't install El Capitan in VirtualBox on High Sierra

Well I just figured out that you have to click view>all devices in Disk Utility before you can see the virtual drive and format it or install to it!


Text copied from Terminal with formatting in Mavericks (10.9), Yosemite (10.10), and El Capitan (10.11)

You can disable copy/pasting the formatting from Terminal by changing the com.apple.Terminal preferences file.

Open Terminal on your Mac and enter the following command:
defaults write com.apple.Terminal CopyAttributesProfile com.apple.Terminal.no-attributes

This will strip all text attributes out of copy/pasting from Terminal


Is backup of IMAP necessary when switching to a new Macbook

IMAP and Exchange both keep your email on the server.   Adding the account on a new computer will allow you to access your existing email on a new local machine.

While you didn't mention POP3 in your question, that would be the email protocol that was designed to store your messages locally.  IMAP and Exchange protocols came later.


If you want to one line it (which I find more convenient):

echo 'export PATH=$PATH:"/path/to/your/dir"' >> ~/.bash_profile && source ~/.bash_profile

of course you can change this to your preferences (ie. append or prepend to $PATH, .bashrc, .bash_profile, .zshrc, etc.)


MacBook Air / Parallels USB Storage Drive Association Issues

The behavior belong to Windows, you can try following this method to assign a permanent letter:

https://superuser.com/questions/108186/how-to-assign-permanent-drive-letters-to-removable-usb-hard-drives


I'm using MAC much years, and never needed to use the launchctl command. If mean never, mean in normal usage, of course sometimes needed use it when installing somethings from the macports - for onetime load of startup files or so.
I'm wondering, why you need start/stop/restart services with launchctl? Asking because if you not an experienced OS X users you probably will screw the system "harmony" :). So, in this case - IMHO - better to ask the specific problem, so ask how to start/stop the specific service.

I don't see a problem with asking the wider question as to how services are started and stopped if it enables the OP to better understand the underlying mechanics of the system.
As to why you would want to do this, one good reason would be to remotely kill errant processes on remote machines via Apple Remote Desktop. I do this frequently for our network users at school and it can save a lot of leg work (as well as avoiding entering repetitive terminal commands).
ARD users will want to kill processes by name rather than by PID as the process ID isn't necessarily the same each time the process is initiated...
sudo killall coreaudiod

...would be a useful command for ARD users as it's repeatable regardless of PID, whereas...
sudo kill -1 211

...would very likely only work to kill coreaudiod on the occasion that its PID was actually 211, and definitely wouldn't be an ARD command worth saving for future use. This may seem obvious to "advanced" users but unfamiliar users may not realise the difference.


Try breaking the ITL file & make iTunes rebuild it.
Don't just throw it away, & don't launch iTunes until there is a broken .itl file in place - that will not produce the desired result...

First, move the existing iTunes Library.itl to the desktop, just in case.
Don't touch the .xml, just the .itl file.

It can be found in ~/Music/iTunes/

Then…

Delete the existing ITL if you left a copy in the iTunes folder.
Open Terminal & enter this touch ~/Music/iTunes/iTunes\ Library.itl That will create an empty ITL file, broken enough for our purposes.
Launch iTunes. It will now notice something is 'wrong' & start rebuilding the ITL file, using your existing XML file. The message is 'Importing ‘iTunes Music Library.xml’ This will take some time, maybe 15 minutes or so, depending on your Library size.

Breaking it rather than not having any .itl file there at all makes the difference between several minutes & several hours for the rebuild, & also how much playlist & other metadata is successfully kept.

You may find some album artwork missing - it never seems to be a truly perfect solution, but your play counts, playlists etc should all survive intact.


How do I get the Terminal command files (.command files) ask for words?

.command scripts run in Terminal windows (that is, when you double-click a .command file, it opens a Terminal window, and you can use that window to interact with the script). You can use that to prompt the user and get input; exactly how you do that depends on the scripting language you're using (which is determined by the shebang (starts with #!) line at the beginning of the script. In bash, you'd do something like:
#!/bin/bash

read -p "Continue to make directory? y/n " makedir
if [[ "$makedir" = [Yy] ]]; then
    mkdir somedirectory
fi

In zsh, the syntax for adding a prompt to the read command is different, and it has a -q option specifically for y/n questions (that succeeds if the answer is "y" or "Y", and can be used directly in an if):
#!/bin/zsh

if read -q "makedir?Continue to make directory? y/n "; then
    mkdir somedirectory
fi

In other languages, you'd do... whatever you do in that language to prompt for and accept input.


How does Eclipse work on new Retina MacBook Pros?

To enable a retina rendered Eclipse

From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972

Here's the workaround:

Do "Show package contents" on the Eclipse.app.  Edit Contents/Info.plist using your favorite text editor.  Just
above

</dict>
</plist>

Place this:

<key>NSHighResolutionCapable</key>
<true/>

Then, make a copy of the app so that OSX will notice the change.
Now, the info window will not show "Open in Low Resolution" as checked.  Launch
Eclipse and enjoy your new retina awesomeness.


Installing an Apple TV 4 app on Apple TV 2

No, is the short answer.

Apple TV gen 2 and Apple TV 4 run completely different operating systems. There is no compatibility in software between them.


Can't install homebrew formula, says "Error: File exists - build"

I ran into this same problem when I was trying to upgrade jasper

The issue appears to be that the formula wants you to build in a subdirectory called build but there is already a directory called build in the repository.

My fix was to modify line 21 of the formula.

You can edit the formula with

brew edit jasper

and change line 21 to read

mkdir "build2" do

or similar.


Why does handBrake rotate my original videos?

Why:
Some programs like quick time, automatic rotate the video when they display, but the original file is still not ok. Please try to see your videos using vlc or other apps. handBrake only rotate your videos if you set that option.

How:
You can rotate the video if you fill the Additional options in the bottom. If you like to rotate 90 clockwise with "Custom --rotate=4" or 90 counter-clockwise with "Custom --rotate=7".

the full parameter list is:

1 : x flip
2 : y flip
3 : 180 degrees rotate (also the DEFAULT)
4 :90 degrees rotate (clockwise)
5 : 90 degrees rotate + y flip
6 : 270 degrees rotate + y flip
7 : 270 degrees rotate

See similar question on https://superuser.com/questions/418985/can-handbrake-flip-rotate-a-video


Is there a way to display an instance of BezelUI (brightness HUD, volume HUD) using BASH or AppleScript?

Someone has created a solution to this problem: OSDisplay on GitHub.


how do I get my iPhone contacts onto my new MacBook Pro, so that I can send iMessages from my computer, instead of my phone?

You will need to use the same iCloud device on both, and allow Messages in the cloud on both devices. On your iPhone, go to Settings > Tap your name at the top > iCloud. Make sure, both Contacts and Messages are enabled.

Then go back to iMessage on the Mac and go through the configuration there. You may need to open iMessage preferences, then go to the iMessage tab and check most of the boxes there.


SSH (or SFTP) upload files from OSX terminal

You have to make sure that the path you are copying to exists.

Before executing your scp command, ssh into your remote host, cd to the directory, and issue the pwd command.  That will give you the current working directory.

Copy that to your clipboard.

Exit SSH, then re-issue the scp command with the directory (paste from your clipboard).


Want Preview to default to Thumbnail view in Sidebar

If I go to Preview's PREFERENCES..., choose the PDF icon at the top of the preferences and in the "Opening for the first time:", check "☑ Always show sidebar". With this option selected, the thumbnails show up on when I open a PDF in Preview. My MacBook is running OS X 10.10.5 Yosemite.

I've also selected "single Page" from the "Show as" drop-down to make it easy to know exactly which page I'm viewing.


Is there a way to rearrange home screens on iOS?

Depending on your setup, you have two options.

OPTION 1 - Use iTunes 12.6.3 instead. Refer to this answer for more details!
OPTION 2 - Use Apple Configurator 2. Download and install Apple Configurator.

Apple Configurator 2 provides much more advanced features in terms of managing your iOS devices. However, if you don't already have it installed, then the current version (v2.5) requires macOS Sierra 10.12.5 or later to run.

Once installed:

Connect your iPhone via USB to your Mac
Launch Apple Configurator 2
Select your iPhone
Go to Actions > Modify > Home Screen Layout...
Your screens will appear
Click and hold the mouse pointer on the screen outline and drag it to change its order. So, using your example, click and hold the outline for screen 3 and drag it to the left of screen 2.
Click on the blue Apply button at bottom right.


Where is the default Mac screen saver location?

The defaults screensavers are in /System/Library/Screen Savers.


Can I get files off an iPhone 4 that is stuck in a firmware update loop?

Usually this is resolved by a second restore after you reboot your computer. Of course, you might wait things out if you don't have a backup and there is any chance whatsoever the phone will complete this update without risk of losing the data on the phone (contacts, app information, documents, etc...)

To be sure you (and I) haven't skipped a step, you will want to do everything on this page.

iTunes: Restoring iOS software

Pay attention to the link at the bottom should you get there about putting the device into recovery mode. That will wipe everything, so don't do that unless you have a good backup from this morning (or whenever you started the update process).


Change or disable Content Security Policy in Safari?

Impossible in Safari, I had to install Firefox Developer Edition and change it there:

by disabling security.csp.enable in the about:config menu

Which you access of course by typing about:config into the URL bar.


Lightweight PDF reader with auto refresh

You can configure Skim to do this by executing

defaults write -app Skim SKAutoReloadFileUpdate -boolean true

Which is a hidden preference:

  When this is true, and Skim checks for file updates on disk, the document is automatically reloaded without asking when there are no notes or edits. We don't recommend using this.

Note: Preferences → Sync → Check for file changes needs to be enabled if you haven’t already done so.

(I've tested this with Skim 1.4.8 and TL2013).


How to stop instagram app remembering / auto-filling in username at login screen, when not yet logged in

Navigate to Instagram app → Profile → Settings → scroll down to Privacy & Security → Saved Login Info → Turn it off.


If you go to the XQuartz home page you will find a link to download XQuartz that should be correct.

If you are running OS X 10.9 then you need version 2.7.5

At the moment it is http://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.5.dmg but our friends at MacOSforge appear to have a broken server. The problem is not yours, it is on their system.

Wait a few more hours and it should be right.

If you can't wait then grab it from my dropbox :-

https://www.dropbox.com/s/m6c2owdu0nkf7aa/XQuartz-2.7.5.dmg

(note to everyone - I'll remove it in a day or so. Try the website first.)


When my mac is tethered to my iPhone it can't resolve localhost

I like using fully qualified DNS and http://xip.io/ explains how to map whatever RFC1918 non-routable address you have set up in docker to avoid the whole localhost mess when you change up your route to the internet.

This ends up being more solid for me rather than munkying about, especially if your tethering is IPv6 only which can complicate things.


Problems with SD card reader on Bootcamp (MBP 15" Late 2011)

Try to isolate the problem as much as possible first.

Boot straight into windows (not thru parallels) and test the cards to see if they work. If they don't, the problem is with the driver inside w7. If they do work then the problem might be in the way parallels shares the hardware access with W7.

When using parallels to access the hardware you are not using the actual drivers as you don't have access to the actual hardware, just a parallel's emulation of the hardware and an interface to it in osx.

If the problem persists in W7 reinstall the windows support files as it should work (mine works with SDXC perfectly), but this WONT fix the paralles problem.

As I said the parallels problem is completely separated and much harder as you can't switch drivers. But try this: http://lifehacker.com/368819/access-usb-drives-in-parallels-and-your-mac-simultaneously

ie: add /Volumes as a shared folder (its where OSX mounts HD/USB/SD/DVD drives)


Phone calls immediately hang up - unless headphones are connected

As a (former) iPhone 7 user with a similar problem, I presume you are also unable to record voice memos or audio in your videos. If so, I am afraid it is a common problem having to do with the sound card of your iPhone 7: https://www.consumeraffairs.com/news/apple-iphone-7-owners-report-sound-issue-011519.html Apple has previously offered cheap(er) repairs for this issue, but I am unaware if this is still the case. Be sure to contact your local Apple dealer to see if this is the case.
Otherwise, there are second-party shops which should be able to perform this repair. Your iPhone is most likely already out of warranty so there should not be significant issues with future repairs. However, Apple has previously said they will not repair items repaired outside of official Apple shops, so it might be wise to do some further research and decide if you are willing to take the risk.


MacBook Pro: Can't change the screen brightness

Restarting the Mac fixed the issue for me. I can now set the screen brightness alright.

Apparently it's a mysterious bug in macOS.


How can I use my US-iPhone in South Korea?

Before buying a CDMA SIM in Korea, check that your iPhone 4s is

a CDMA phone, and
unlocked

Calling stateside from South Korea using a Korea-issued SIM card may be expensive. You should consider getting iOS apps (e.g. Skype, WhatsApp) that relies on WiFi or data plan to communicate.


There are two changes that I've read about, both related to the color change but not just that the color is different:

The rear camera positioning has been slightly modified to reduce the amount of light that leaks into the area; it's said to be recessed slightly deeper into the device, though other reports indicate a slightly different casing. Makes sense, since the black glass and plastic would absorb light that the white glass and plastic would let through, likely causing washed-out pictures (or the software adjusting the white balance incorrectly, losing details in lighter and/or darker areas of the image).
Reports also indicate that the proximity sensor has been modified. Though it's quite possible, if the iPhone uses a capacitive proximity sensor such a change shouldn't be necessary (if it uses an infrared proximity sensor then the same light change issue would require a change). It seems more likely that the change was made for the ambient light sensor which is right next to the proximity sensor, since the ambient light sensor would have light change differences as well.

Other than the the phones are identical. The new one is no faster, for example.


I found a way to disable this behaviour through the this command:

sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool NO


Multiple .local hostname on one computer

I think you don't need to register a new hostname if you're just about publishing web services.
On the Mac, you can register a new website with bonjour on the command line with

dns-sd -R "My Website" _http._tcp . 80 path=/path-to-page.html

you can verify that it worked by using Safari's bonjour menu or on the command line with

dns-sd -B _http._tcp

Bonjour for Windows is available (and is, I think, included when installing iTunes).

If for some reason you actually need specific host names, you could consider using dnsmasq (can be installed with homebrew or macports) to reroute your specific hostnames only (using your default DNS for everything else) and telling your Windows computer to use your Mac as its DNS server.

Update:

I failed to realise it's totally possible, you can indeed register multiple .local hostnames with bonjour, do it as a proxy like this:

dns-sd -P myService1 _http._tcp local 80 server1.local 127.0.0.1 path=/path/to/service1
dns-sd -P myService2 _http._tcp local 80 server2.local 127.0.0.1 path=/path/to/service2

Here you're registering two services (myService1,-2) running on the same server (127.0.0.1, within different server paths) on port 80 as two different .local names.


internet sharing (mojave) AND two-way connection

Answering my own question for the record if anyone else searches. FYI I had to go to a full router setup to get this to work. The new configuration is:
wireless router <---> MBP <---> eth <--->|    |<---> eth <---> PC
                                         router

The MBP side of the router is the "internet" connection and the other side is the 4-port hub provided by the router for its private local network. Had to set up port forwarding on the router to target individual PCs via RDP, and there are Raspberry Pis on the hub side as well, but all is functional.
I still think I'm lacking something because "internet sharing" is inherently 2-way on some level, but I don't know enough about Apple's implementation of this sharing to know what's missing.


Disconnecting & Connecting macbook pro to Apple display

To be honest, I've found for many users it's best to just shutdown their MacBook prior to disconnecting it from a display (especially if it's also drawing its power from the display).

However, you should also be able to just put your Mac to sleep prior to unplugging the display and Apple actually recommends at least doing so:

  It's best to put your Mac to sleep by choosing Apple menu > Sleep before disconnecting your display.

Source: Apple

Also, only some DVI and Mini DisplayPort displays can be unplugged without putting the computer to sleep, but since you're using an Apple 27" display (which should be fine), you can try resetting the NVRAM to see if this addresses your issue.

Resetting the NVRAM on your model MacBook Pro

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). In your case here’s how to reset it (I recommend doing this using the built-in keyboard and while your MBP is not connected to the display):

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then press the commandoptionPR keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again and you here the startup chime.
Let go of the keys and let your Mac reboot normally.

Note: 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).

Resetting the SMC on your model MacBook Pro

If, after resetting the NVRAM, you notice no difference, you can also reset the SMC.

Follow these instructions to reset the SMC on your model MacBook Pro (once again, I recommend doing this using the built-in keyboard and while your MBP is not connected to the display):

Shut down your computer
Keep the MagSafe adapter (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.

Further reading:

Use your Mac notebook computer in closed-display mode with an external display


What Causes rMBP Fan Noise When Connected to Two External Monitors

I would recommend the iStat Monitor to find out what is going on.

In comparison the 750 vs 650:

50/45 watt power consumption

and 967 vs 900 MHz clock

would not explain the higher heat generation.

However due to the RAM size difference it could explain that the 650 has to work harder (at max power) resulting in higher heat generation, while the 750 does not break the sweat with 2 monitors.


It’s not possible. The iPhone 5c has a 32-bit CPU, and iOS 11 has dropped 32-bit support and will only run on 64-bit CPUs. Apple will let you install it on any phone that can run it at all, which is the iPhone 5s or newer.


How to transfer ONE photo FROM PC to iPhone 6

The Apple way is to pick a folder on your PC for sync. You do this through iTunes, by connecting your phone and picking the photos tab. Full information here: http://support.apple.com/kb/ht4236

However, if it's just 1 or 2 photos, the easiest way is to use Dropbox (you have Dropbox right?). Put the photo in your Dropbox, go to the same folder using the Dropbox app on your phone, click on the photo, click the little share button in bottom left, and then choose "Save Image."


Shrink Trackpad on Macbook running Mojave

The simplest solution I've found which works on any recent version of MacOS is turn off tap to click in System Preferences > Trackpad > Point & Click.

You can use this applescript to quickly toggle tap-to-click on and off. On MacOS open Applications > Utilities > Script Editor and paste the code from this script:

tell application "System Preferences"
    reveal anchor "trackpadTab" of pane "com.apple.preference.trackpad"
end tell
tell application "System Events" to tell process "System Preferences"
    click checkbox 3 of tab group 1 of window 1
end tell
quit application "System Preferences"

Then select File > Export and save in Applications but also make sure to select File Format > Application before saving.

If you want to make it very easy to run the toggle on and off, you may want to add a custom keyboard shortcut which would just run the toggle application.


Why is my applescript for checking if a file exists failing?

It looks like the Finder needs the absolute path to the home folder instead of the relative path. Instead of starting the path with ~/, it needs to start with /Users/username/.

Instead of hardcoding the username into the script, you can have AppleScript build the absolute path on the fly:

set homePath to POSIX path of (path to home folder)

Then you can replace "~/ with homePath & "

For example:

if exists "~/Downloads/Conversion/" & cbUsername & ".flv" as POSIX file then

would become

if exists homePath & "Downloads/Conversion/" & cbUsername & ".flv" as POSIX file then

Alternatively, if you only use ~ with the path ~/Downloads/Conversion/, you could instead change that whole path to a variable:

set cbPath to POSIX path of (path to home folder) & "Downloads/Conversion/"

Then the final script would be:

set cbPath to POSIX path of (path to home folder) & "Downloads/Conversion/"

tell application "Finder"
    if exists cbPath & cbUsername & ".flv" as POSIX file then
        set x to 1
        repeat
            set newCbFilename to cbUsername & "_" & x as string
            if exists cbPath & newCbFilename & ".flv" as POSIX file then
                set x to x + 1
            else
                exit repeat
            end if
        end repeat
        copy newCbFilename to finalCbFilename
        display dialog "Filename already exists " & "File will be named: " & finalCbFilename & ".flv" buttons "OK" default button "OK" with title "Error" with icon caution
    else
        copy cbUsername to finalCbFilename
    end if
end tell


Remove ZoomAudioDevice from Audio Devices

It appears the ZoomAudioDevice is now located in /Library/Audio/Plug-Ins/HAL/ and is no longer a kext.

To uninstall it, I deleted it with the below command and restarted.

sudo rm -r /Library/Audio/Plug-Ins/HAL/ZoomAudioDevice.driver

This is with a new install from May 2019. Perhaps old installs continue using the kext if its already installed. Though, the readme here indicates the .driver file is used on MacOS 10.10 and above.


Microsoft Office 2011 no longer working with Yosemite 10.10.2?

I've tried myself and can confirm that Office 2011 works for OS X 10.10.2. I would recommend that you uninstall Office and then install it from your installation disc or redownloading it from Microsoft if you bought it as an online download.


How to set the iphone mail app to send email only

You can setup iOS to send only, you just have to fool it :)

Here is how I did it on iOS 7...

If you have an existing GMail account setup in iPhone Mail, delete it.
Go to Settings > Mail, Contacts... > Add Account
From the list of choices, select Other
Select Add Mail Account
Fill in your details for your mail account, press Next
Choose POP instead of IMAP
For Incoming Mail Server I used dummy info like

Server: blah.gmail.com
User Name: blah

For Outgoing Mail Server I used the proper settings

Host Name: smtp.gmail.com
User Name:
Password:

Press Save

If it asks to save without SSL answer with NO

Press Save again!

It will warn you that it may not work. Confirm save.

Go to Settings > Mail,Contacts,... > 'your account' > SMTP > Primary Server
Verify SSL is on
Change Server Port to 587
Press Done and exit to Accounts.

That is it! You can now send emails and if you open the mail app it will complain because of the dummy Incoming Server.

Also check that you have the Settings > Mail,Contacts....> Fetch New Data settings to off/manual.

Hope that helped.


Weird/cool question!

I think I went through a similar thought process at one point: the way I think of it is like a set of train tracks. The train enters at the left and reaches a fork or split, giving it the option of the upper or lower path to the right. In the glyph, the tracks are set for the lower option.

Shift does have its own glyph: ⇧, which can be remembered as pushing the case of the typed letter up.


Newly-created SSH keys landed in my home folder rather than `.ssh` folder after creating with `ssh-keygen`

You are prompted for a file name, not a folder name (Enter **file** in which to save the key). So if you just reply with a file name the keys will be stored (with that name) in the current directory. You can just move them to .ssh/ manually if necessary. You probably also need to tell ssh to use your keys instead of the default ones (or you rename your keys to the default name).


Movie downloaded from iTunes store on iPad, not available on Mac

I believe you can find a Purchased section in iTunes Store, under that section, you can select to view your movies.

Also, you can log out and log back into iTunes Store (not authorize/deauthorize, log in and out). You do have to rematch iTunes Match after signing out, but it is just a single one-pass scan which will be fast.

If it not there, you may have to contact iTunes support.


External Seagate Hard drive for Mac - Compatibility

As long as the drive connects to your MacBook Air via a connection protocol that the Air supports like Thunderbolt or USB 2 or USB 3 you can format the drive and use it with your Mac just fine.

To format an external hard drive on your Mac (paraphrased from here):

Connect the drive to your Mac
Open Applications > Utilities > Disk Utility
On the left hand side of Disk Utility you'll see a list of drives. Find your external drive and select it.
Select the Erase tab and choose Mac OS Extended (Journaled) for the format and give it a name
Press the Erase button to kick off the process. NOTE: This will erase everything currently on the hard drive!


Stolen MacBook Pro - Locating via Serial Number

In short: No, you can't

Why?
Well, according to Apple, Find My Mac is the only Apple service that can help track or locate a lost Mac. If you didn’t set up Find My Mac before your Mac was lost, you can’t locate it, this includes the serial number.

What Can You Try?

Your best bet would be to "report your lost or stolen Mac to local law enforcement. They might request the serial number of your computer." - Apple.
There are databases for submitting lost device's serial numbers, these alert buyers for example when a device is marked stolen. I'd recommend getting onto this as soon as possible.

At set up and with macOS upgrades, Apple almost forces all this additional security because it works. By default, services like the Find My Mac are checked, you would have had to make the conscious decision not to enable the service. Naturally, what isn't enabled can't be called upon.


Best TimeMachine solution for macOS Sierra given current hardware?

If you buy the "Server" app from the App Store ($20 I think), it will let you once again use your iMac as a network based backup destination for Macs running Time Machine on the network. You can just turn on the Backup feature in Server.app and ignore all the rest.

You can most likely do this without the server app using some command line tricks, but I don't know how off the top of my head.

The only other solution is physically plugging in the drive to each Mac, one by one. But like you said, that's not ideal.


In Disk Utility, what advantages do "read/write disk image"s have over "sparse bundle disk image"s?

From this blog post:

  A customized .sparseimage file can be made larger than the total capacity of the physical volume on which it originally resides.  While the sparse image volume will seem to make that capacity available, attempting to exceed the physical capacity of the underlying volume will result in a disk error: "ran out of space."

A couple of other disadvantages of a sparse bundle:

Since it's actually a directory containing multiple files, it can't be attached to an email, sent with DropSend, etc. You would have to compress it into an archive first (eg. Zip).
It's only supported from OS X 10.5 (Leopard) onwards, so if you have an old Mac running 10.4 or earlier, you won't be able to open sparse bundles created on newer Macs.


How to prevent MacOS from adding dot underscore files (._whatever.html )in zip archives?

There's no native way to automatically exclude resource forks or other extended attribute and filesystem metadata during compression, but many 3rd party apps can do it. These files contain filesystem data that should be preserved and you get a valuable signal that you have lost data when your process strips or ignores these files.
One such is Keka (donationware, ie free direct download, paid from App Store)


Dump a user's mailbox to a file (e.g., .mbox) from server for archival

I ended up doing this via Terminal on the server.

cd /Library/Server/Mail/Data/mail
sudo ls -l users | grep <username>

(where  is the username you're looking for)

This returns the user's ID (e.g., 006638A6-9664-4CB4-8814-525A253B6E33)

sudo cp -a <id>/ ~/Desktop/<username>

This will copy the user's mail directory to a directory on the desktop. I then dumped that directory onto an external hard drive used for archiving former employees' mailboxes.

Thankfully we'll be switching away from macOS Server (which will be removing the Mail service in an upcoming update) to Exchange, so I won't have to deal with this anymore!


SSH connection using public/private key authentication fails only for port 22

The problem here seems to be that you have "something" interfering with your network traffic that is specifically blocking out your attempt to authenticate via keys on port 22.

This "something" could be so called "endpoint protection" software (software firewall), it could be a network device on your network (i.e. router with deep packet inspection, firewall, etc.) or it could be a network device on the network path or at the server end.

This seems to be the most logical conclusion as this can explain why it doesn't work on port 22, but do work on other ports.

I.e. if you hadn't included the port information, I would have looked at the authorized_keys file on the server. It is possible to specify that a specific key can only be used for authentication when connecting from a specific host - or that it must not be used when connecting from a specific host. If you had set that up to allow the Ubuntu host and not the Mac host - that could explain parts of what you're seeing. However, this method does not include matching again the port number - so it cannot explain that.

This is all assuming that you're running the exact same configuration for port 22 and port 2222 (which you stated you are), and that you're running standard OpenSSH software on the server. If you're not, that software might include configuration to discriminate based on ports - but I don't think it is likely.


iPhone Xr: Ringer volume sound loud for the first second then goes real quiet?

The lowering of alerts sounds is a feature of iOS. To disable the feature, go to
Settings > Face ID & Passcode > Attention Aware Features and then toggle the setting off.


XCode Server not sending email notifications to committers whether the build has passed or not

It turns out that a working mail is not enough. You also need mailq to work. See https://gist.github.com/kany/c44c077881047ead8faa for more.

Especially this part if your mailq does not work as it did for me: https://gist.github.com/kany/c44c077881047ead8faa#gistcomment-2254978

Also, you can set up postfix to do proper mail forwarding if you prefer that avenue:

https://blog.anupamsg.me/2012/02/14/enabling-postfix-for-outbound-relay-via-gmail-on-os-x-lion-11/


It changes according to localization, but just the name as all the default folders in OS X, the path is the same.

Macintosh HD/Users/user_name/Downloads


Yes, you're in luck — this is in fact possible!

Login to iCloud, and then click your name in the top right of the page, and then click "iCloud Settings." Scroll to the bottom of the page, and in the bottom left hand corner you should see an "Advanced" box:

Then, click "Restore Files," and it will take you to this window:

If your files are not in this window, then I'm afraid you're out of luck!


Oh dear. If you're seeing the .HFS+ Private* directories, you're likely using a very old version of your HFS+ driver on Ubuntu. I would stop using this immediately and update to something more current.

Basically, the purpose for that directory is that HFS+ doesn't support hard links—not really—and UNIX, upon which OS X/macOS is based, requires them. So what they did was to use a really obnoxious duct-tape kludge to simulate hard links; any file that has more than one link is moved into one of those invisible directories as an "inode"; the actual hard links are really just aliases to the "inode" file with a special flag set in its metadata. There's also a second HFS+ Private Data folder that holds something else; I can't remember what it is anymore, but it's another thing like this that really should be a file-system-level feature, but isn't.

So basically, if you're using an HFS+ driver that shows those folders, you're basically dealing with an older version of the spec. If you interact with files in that directory, you can mess up your drive but good. And if you delete it—well—just don't. Find a newer version of the driver that supports the latest version of the spec, or better yet, upgrade to APFS, which is implemented in a much more sensible manner (or so we assume; they still haven't published the specification on the thing AFAIK).


Cannot see files from Finder but I can from Terminal

Try sudo mv -r /path/to/.folder /path/to/newfolder
For example, if the folder was named .images, was located on your desktop, and you wanted to see it as images2 you would type sudo mv -r Desktop/.images Desktop/images2.

You could also try running defaults write com.apple.finder AppleShowAllFiles YES and then relaunch Finder, which would instead show all files and folders, including hidden ones (anything starting with a .).


Shell script to restart a certain process if it is not responding

Look at the launchctl which is an interface to launchd daemon.

This daemon main task is to take care of all the system and users
daemons. This care includes the possibility to restart a daemon whenever
it quits or crashes.

To start with, I advise you to read:

man launchd
man launchctl

Then have a look at one of the simplest plist files used by the
system to help you writing your own one to survey JVM and restart it if needed:

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


App Store doesn't launch after El Capitan 10.11.1 update

This is the kind of 'random' error I would entrust to Onyx [freeware] to tackle.

Run the Utility, supply your admin password, then allow it to run the disk check.

After it has finished, go to Maintenance & the 2nd tab, Permissions. Run the perms check.

If that is not sufficient to fix it, then try the default options in the last tab, Rebuilding.
Reboot.

Navigate to ~/Library/Saved Application State/com.apple.appstore.savedState & delete the contents of that folder, not the folder itself.

 add a comment below if it still doesn't work


iMovie 10 (Mavericks): Altering the duration of imported pictures (stills)

⌘-click on all the pictures that you want to adjust the timing of in the timeline.
Go to Window → Show Adjustments Bar or press 3.
Select the info button on the adjustments bar.
Enter the duration into the box on the right and press Enter.

This will change the duration of all the selected clips (or in this case, pictures).


Difference between photostream and icloud photos

Each of them comes with their own advantages.
Advantages of Photo Stream:

Does not use your iCloud storage
Only stores your most recent 1000 photos or the last 30 days of images
Does not upload and sync videos

On the other hand, here is the advantages of iCloud Photo Library:

Stores all your photos and personal video
Uses your iCloud storage
Stores full-resolution photos

If you want to see a good article about the whole difference, you can check this link.


Does Exchange enable MDM automatically on iOS?

I'm not sure if it could be done automatically when you sign into an exchange account. If your device is under MDM policy you will find a configuration profile in the Settings.

How to delete a configuration profile on iOS

Open Settings on your iOS device.
Go to the section General → Profiles & Device Management, or Settings → General → Profiles.
Tap on a configuration profile you would like to remove from your iOS device.

Tap Delete Profile at the bottom of the configuration profile screen.
Enter your passcode, if required.

Confirm that you would like to remove the selected configuration profile from your device by tapping Delete. When you delete a profile, all of the settings and accounts associated with the profile are also removed.
It is always a good idea to restart your iOS device after removing a profile.


Why can't I open the Creative Cloud folder in terminal

To access the folder Creative Cloud Files you have to escape spaces in the folder name:

cd Creative\ Cloud\ Files

or use quotation marks:

cd "Creative Cloud Files"

You can also use the tab key after entering the first letters which will then auto-expand the folder name if the entered string is unique in the directory:

cd Cre tab which will expand to cd Creative\ Cloud\ Files/then.

If the same directory also contains a folder e.g. Credentials you have to enter an additional character (which makes the string unique) to get an auto-completed folder name.


Is a website block not visible on Safari on MacBook Pro?

I'd get him to check AdBlock…
Safari prefs > Extensions > AdBlock >'Click me to show AdBlock's options…

Other Filter lists
☐ Antisocial filter list (removes social media buttons)


How do apps recognize you after you delete them?

Developer access to the UDID was removed in iOS 6, so they are not (no longer?) using that.

The replacement was identifierForVendor. However, once the last app by a particular vendor is removed from a device, even if an app from that vendor is re-downloaded in the future, the identifierForVendor will change. So that's out too.

Given that a factory reset of a device will cause the link to break (according to various reports on the internet), the best guess is that SuperCell, or whomever, is using the advertisingIdentifier. This uniquely identifies the user, regardless of app vendor, and survives deletion of apps. The only time it changes is, you guessed it, during a factory reset.


For the touch-bar 13" MBP the right side ports have reduced bandwidth, this could explain a portion of the difference in speed between the two modes. However, you will likely never see the full speed while running in TDM, that is because TDM runs as a UEFI application within the UEFI rom, this limits the resources that can be used in targeted disk mode. Thunderbolt bridge should get you full speed, if that is an option for your use case.

  Other boot-related features, such as Target Disk Mode, the Startup
  Manager, and the firmware password user interface, are all implemented
  as UEFI applications built into the main UEFI firmware.


How switch Mac UK PC keyboard layout backslash \ and backtick ` to match normal UK PC layout

It appears to be controlled by what you actually have connected... but there is something else going on I'm still trying to hone down.
The best conclusion I can come to at the moment is "it's a bug" but one that seems to be at least partially fixed in High Sierra & Mojave.

This is a UK Apple Keyboard on Mojave [confirmed identical on High Sierrs]

When you first open the panel, it shows as ANSI.

Press Shift [which I discovered by accident trying to take screenshots] & it changes to ISO.

Then add British PC & it seems to retain that information...

Now I've persuaded it to show like that I can't 'break' it again, it seems to stick so far.

However, testing on El Capitan, I can't persuade it to flip to ISO, no matter what I do - it stays as ANSI...

Test on the El Cap machine, swapping a TextEdit document from British to British PC - even though the control panel still claims it's ANSI & after clearing all keyboard prefs & re-detecting the keyboard...

The Mac 'knows' it's ISO, but won't display as that in the Keyboard Input Sources control panel.


What port is this *picture* (mid 2007 13 inch macbook)?

This pictured connector on your mid 2007 13 inch MacBook is a mini DVI connector according to http://support.apple.com/kb/HT3235

The Apple part number for the Apple Mini-DVI to VGA Adapter is: M9320G.

And the eBay link: http://www.ebay.com/sch/i.html?_nkw=M9320G


MBP Touch Bar Mirror Displays Keyboard Shorcut

The new shortcut is Command-Dim Brightness. It even makes sense in the following way:

Assuming that you take advantage of the touch bar, and it displays the system controls instead of the function keys then the hand gesture is exactly the same as before when you would have pressed Command-F1 since the Dim Brightness button is where F1 would be:

The annoying thing is that if you have an application-aware touch bar configuration, then you have to bring up the system controls touch bar configuration first.

This is why, in some cases, the Display Menu (in the App Store) which adds a status item in your menu bar (and includes a Mirror Screen choice) is a good option.


Identifying and removing unknown Sound device

I also suffered from this problem after installing a software to use a wireless projector. Though the name is not ESHOW but DongleAudio in my case, I guess this works for you.

In Terminal.app, cd /Library/Audio/Plug-Ins/HAL
Remove the driver by rm -rf ESHOW.driver or rm -rf DongleAudio.driver
Reboot your Mac

I hope this helps.


How to find photos not in any album in iOS photo app?

The best solution is to use the system as the developers intended, despite the inconvenience.

For Albums created on the iOS device using the Photos app (I believe the same applies for Events created in iPhoto on iOS):

Deleting a picture from an album removes it only from the album.
Deleting a picture from the Camera Roll deletes the photo from the device—but it may still be part of your Photo Stream.
Deleting a photo from Photo Stream removes it from the stream, but will not remove the photo from devices on which it has been included in Albums or Events. ᔥApple — iCloud: How to delete photos from your Photo Stream

There is no magic incantation that will reveal photos you've deleted from albums.


External DVD reader suddenly not working anymore

That it works fine on a Windows PC but not your Mac is puzzling.

Think back to when you know it worked properly. What software have you updated since then? That could be the cause. For example if you went from OSX 10.10.3 to 10.10.4 and that is the only change there may have been a problem with the update.

In that case you may want to try re-applying the latest Combo Updater for your current OS version. If it was an app of some sort you may have to contact the manufacturer to see if they have had similar issues from other customers.


Homebrew - brew docter command not working

Check your spelling

it is not "docter"

it is "doctor"

So, you can try /usr/local/bin/brew doctor