Whatsapp-Restore from iCloud is not showing my Backup 10 days back, I've made a backup of Whatsapp and then I uninstalled the application and Signed out of iCloud to give my iPhone 6 to my friend.

Now when I signed back into iCloud and installed Whatsapp again and gave my same old number, Restore from iCloud saying "No Backup found".

But I can see the Whatsapp backup of 540MB in Settings> iCloud> Manage Storage> Backups. It has messages from more than a year that I'm saving it.

I never came across this situation earlier while reinstalling.

I've enough storage space to restore and I tried with connecting to the Wi-Fi and Mobile data.

My current iOS version is 10.3.1 from more than a month.

Any help or suggestion to get back my backup would be highly appreciated. what should I do now?

Thanks million

You need to change your phone name from Settings > general > About > Name and make sure the new iPhone's name as same as before. After reboot/restart WhatsApp you will able to find the backup.


YouTube app won't update on iPad 3 I have an iPad 3 3G/WiFi with iOS 9.3.6.
When I try to use the YouTube app, an "Update required" dialogue pops up, but when I try to update from the App Store, it just displays "Open" with no update choice.
Searching online, I found out that Apple has stopped support for this old tablet, is there anything I can do other than buying a newer version of iPad?
My iPad is updated to the latest version of iOS. Thank you for your help.

Your iPad has been released in March of 2012 and is now eight years
old. It is normal that Apps and Apple will drop software support at some point.

iOS updates and App updates are different.

iOS is the Operating systems from Apple for their mobile devices and the newest version usually supports devices up to ~5 years old.
App updates (in this case YouTube) are released from the developer (in this case Google). They may require a certain iOS version (which includes certain libraries and features that the App can use).

You are experiencing the second problem, where the App needs a newer version of iOS to run. However, your iPad is not being supported by Apple anymore.
That means in your case that there is nothing you can do about the App update.
What you could try though, is to open YouTube in your browser. Usually this works but I can only confirm this for newer devices.


Where in macOS High Sierra is the "Updates Installed in the Last 30 Days" information from the App Store stored? In macOS Sierra this information was stored in:

~/Library/Application Support/App Store/updatejournal.plist

But in macOS High Sierra this file only contains the 3rd Party Apps from the App Store. The Update Information from Apple Updates is apparently stored somewhere else

Is there a second file somewhere else, or where is this information now stored?

It’s in a different location now:

/private/var/db/softwareupdate/journal.plist

Don't forget to reboot.


What location data will an Android phone provide to an iOS device that lacks GPS? Will my iPad 4 Wi-Fi only (or an iPod touch) get live location data for navigation purposes if I connect to an Android mobile phone that is enabled as a Wi-Fi hotspot?

When you tether an iOS device, it will have a live data connection and perhaps make some better use of any Wi-Fi signals that are in range for determining location, but in general - you won't get GPS like accuracy just because an iPad or iPod is connected to a phone (android or iOS) over Wi-Fi tethering.

Just like your computer can't really gain GPS data from a Wi-Fi router, the same holds for an andriod based Wi-Fi router that happens to be a phone.

There is no reason why this data couldn't be sent to an app and a GPS server could be conceived on Android or iOS to provide streaming data, but this isn't something that comes automatically or by-design from Wi-Fi tethering.


Apple Mail incoming mail notification When you get a new mail in Entourage then a small window appears with some basic info about the new mail you receveid. Is it possible to do the same thing with Apple Mail?

Try Growl and the GrowlMail plugin, simply click to view the message, and it's free! http://growl.info/


Safe to delete "Recovered Messages" Mailbox in Apple Mail on Mac? A "Mailbox" (visible on the left sidebar on Apple Mail on Mac) was created called "Recovered Messages (Google)", I am using my Gmail account in Mail. It is categorized under "On My Mac".

I believe that any messages which are not sent successfully sometimes get placed there (attachments too large etc).

I have no messages in the folder and prefer not to see it with the assumption that if necessary it would be created again. Is it safe for me to delete the folder?

I've searched for the answer but most people are asking for help deleting the actual messages the folder contains, not deleting the folder itself.

I get one such folder occasionally after I run a script to perform some housekeeping. I simply right-click and delete it, and Mail creates it anew the next time it needs it.

If your folder is empty, it should be safe to delete it.


How to open a fixed URL + what's in the clipboard via a script & bind it to a shortcut? Will this applescript work?

Tell Application "Safari" to open location
"http://www.site.com/"
end tell

Tell Process "Safari"
   Keystroke "l" using command down

Tell application "System Events" to key code
124 using command down

Tell Process "Safari"
   Keystroke "v" using command down
   Keystroke return
end tell

The following example AppleScript code will do as you asked:

set the clipboard to "questions/392514/i-want-to-write-a-script-to-open-a-fixed-url-whats-in-the-clipboard-ex-open"

set myURL to "https://apple.stackexchange.com/" & (the clipboard)

tell application "Safari" to ¬
    tell its first window to ¬
        set its current tab to ¬
            (make new tab with properties {URL:myURL})

If you run the example AppleScript code, as is, it will open to your question.

The first line of code is just there for testing purposes as well as the "https://apple.stackexchange.com/" part of myURL. Change it to what you want and comment out or delete the first line to use it normally.

To incorporate that into something more robust to account for the current state of Safari, the following example AppleScript code handles the typical different scenarios:

set the clipboard to "questions/392514/i-want-to-write-a-script-to-open-a-fixed-url-whats-in-the-clipboard-ex-open"

set myURL to "https://apple.stackexchange.com/" & (the clipboard)

tell application "Safari"
    activate
    if (count documents) is equal to 0 then
        make new document
        repeat until exists its first window
            delay 0.01
        end repeat
        set URL of its current tab of its first window to myURL
    else
        set firstTabURL to URL of its first tab of its first window
        if {"favorites://", "topsites://", missing value} contains firstTabURL then
            set URL of its current tab of its first window to myURL
        else
            tell its first window to ¬
                set its current tab to ¬
                    (make new tab with properties {URL:myURL})
        end if
    end if
end tell

Again, the first line of code is just there for testing purposes as well as the "https://apple.stackexchange.com/" part of myURL. Change it to what you want and comment out or delete the first line to use it normally.

Note: The example AppleScript code  was tested on macOS High Sierra.

Note: The example AppleScript code is just that and does not contain any error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. delay 0.5, with the value of the delay set appropriately.


Upgrading the from OS X 10.6 to OS X Server 10.6 in-place to remove the 10-user FTP limit in client? Is there an easy way to upgrade from OS X 10.6 to OS X 10.6 Server, or a workaround to eliminate the 10-user limit for ftp connections?

No - server needs additional packages to be run at install time and there is no general upgrade path or migration assistant to move a client mac to server.

Even at $499 Snow Leopard Server provides a lot of bang for the buck - but if you can compile open source and don't need this NOW a free solution might make more sense.

I've never had to bypass the limit - but my first step would be turning off the mac delivered ftpd and compiling Pure-FTPd (you need to use PAM when you compile for Max OS X)

Once you confirm the new binary works as planned for more than 10 users, you can dig into launchd and set it up to call your ftpd instead of the built in one.


Does the iTunes Affiliate Program work with the Volume Purchase Program? Can one earn affiliate commission through the iTunes Affiliate Program for purchases made through Apple's Volume Purchase Programs for Business or Education?

In case it makes a difference, we're based in the U.S., so we would be using the LinkShare-powered program.

That would be called Double dipping.

As Volume purchasing (authorized) user you get the benefits of Volume purchase.

Means, you have to register with Volume Purchase account, that is not the same as the associate account.

You can not get at the same time the affiliate commission on top.


What time is shown for received push notification? When a push notification is shown on the sleep screen, there is a time attached to it. What time is this? Is it when it was received on the phone?

Yes. All times listed on your phone indicate when you received the notification and are relative to the current time on the phone. This includes not only notifications on the lock screen, but also in the Messages.app, for example, and the Mail.app.

All time stamps are listed for when the notification was delivered, or when the action occurred on your phone (you made a phone call, and looked in Phone > History).


Can I play music from my macbook on my iPad for free? Is there an app that works to play music that's on my macbook on my iPad? Right now my iPad is connected to my stereo, and is only the 16 gig model, so I can't exactly move all my tunes onto it. I know I can use airfoil to play iTunes on my macbook and have the iPad act as the speaker control, but it is expensive. I installed the Remote app and set up home sharing but it only seems to work in the opposite direction (play music on my macbook speakers using the iPad as the controller).

This is exactly what iTunes Home Sharing allows you to do -- stream music stored on my Mac using your iDevice.

The short steps for setting this up are:

Enable home sharing in iTunes on your Mac:

Start iTunes
Go to Preferences -> Sharing and make certain 'Share my library on my local network' is checked.
LEAVE ITUNES RUNNING!

Now connect to your shared library from your iDevice:

Go to the Settings app and click on the Music settings
Scroll down to the bottom of the Music settings page and you'll see the 'Home Sharing' setting
Enter your iTunes account ID and password to enable your iDevice to see your shared library

Use the Music app on your iDevice to access your shared library

Open the Music app
Your shared iTunes library should now be available as a source of audio in the app

This works for video, audio and podcasts as well. If your Mac puts itself to sleep you might need to wake it back up for the shared library to show up in your iDevice before you can stream audio or video from it.


Warning message when trying to change Standby mode settings I tried changing the Standby mode settings using the command sudo pmset -a standbydelay 5400 . I set it to 5400 so that it is delayed to 1.5 hours compared to 70 minutes as default.

However, I get the following message right after I changed it :

Warning: Idle sleep timings for "Battery Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.

What does this mean ?? Must I change the value back to 4200 ?

edit

Active Profiles:
Battery Power       -1*
AC Power        -1
Currently in use:
 standbydelay         5400
 standby              1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 darkwakes            0
 gpuswitch            2
 disksleep            0
 sleep                180
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         5
 acwake               0
 lidwake              1

Based on the output of pmset -g, you have your system set to sleep after 2 hours, but the disk sleep timer is set to zero--meaning never according to the pmset man page. To correct the error, set disksleep to a value greater than zero but less than (or equal to) sleep.

Use something like the following with your preferred disksleep time,

pmset -a disksleep 45

to set disksleep to 45 minutes for all power situations.  You may want to adjust these times for when your MBPr is running on battery.  Set battery profiles with -b instead of -a.

I think you'll benefit greatly from the pmset man page. It's very clear and You'll probably discover something else that pertains to your needs there.


iPad screen doesn't respond on corners and types on its own after dropping it My iPad's screen has been buggy ever since I dropped it 2 months ago. It was bearable back then but now it moves the icons by itself and types on its own.

The iPad does not respond to touch on all four corners and whenever I leave it it types on its own and moves the screen.

I have not tried fixing it as I wouldn't want to risk it and break it completely, although I am willing to repair if needed.

The digitizer (the part that senses touch) was damaged in the drop. It will likely need the digitizer replaced. Not sure if that is replaceable separately or of you have to replace the whole screen assembly but that is what needs to be done, no way around it.


remindd sometimes spikes over 100-200% CPU usage Over the past few months, I have experienced my MacBook turning on its fans because of high CPU usage. When that happens, I see that a process called remindd is using 100-300% CPU for a long time, usually more than 10 minutes. It seems this process belongs to the reminders app, which I do use, but it doesn't make any sense that the app has such a high CPU usage. This is not a one time thing, it happened at least 5 times in the last few weeks. I usually ended up killing the process or restarting my Mac. Quitting the reminders app does not stop the process.

What can I do to prevent this?

It may be related to the reminders app constantly syncing:

Although that opens only more questions than it answers.

I'm using the latest MacBook Pro 16" with MacOS 10.15.4 (19E287)

What worked for me is to turn off Reminders syncing, reboot, then turn it back on. Assuming you are running Catalina, you would go to:
System Preferences -> Internet Accounts -> iCloud -> Uncheck Reminders
It took a bit for my reminders to sync again, but after that, there were no more issues with Reminders app lockup and the remindd run away CPU usage.
However, as of recent (Catalina 10.15.7), remindd has run away CPU usage regardless if I turn off/on syncing or I just leave it off the all the time.
Since I posted this answer, I will add that even with Big Sur (including 11.3 update), so long as I have Reminders enabled, I get high CPU usage with remindd. In addition, reminders are not properly syncing between my iPhone, iPad, and Mac. It appears there is some corruption in my Reminder data and it is not getting fixed with macOS updates.


How can I lower the media volume on my iPhone when no media is playing? On the laptop it's a one-touch mute button, nice and easy.

On my iPhone there is no mute button, so volume controls must be used instead, which is no problem. When I use the volume buttons when there are no media playing, it lowers my ringer volume.

The issue is that I have to wait at least until the video player loads, and depending on which video player I am using, the both volume slider is grayed out out until the video starts playing.

The combination leads to a nonzero period of time when I am exposed to the audio while I am lowering the volume.

Q: Is there a way to adjust the media volume when there is no media playing [yet]?

The control center works (swipe up from bottom of screen and slide volume slider as desired).

In iOS 9 at least, you can also go Settings -> Sounds and under the Ringer and Alerts section, turn off "Change with Buttons", then use the volume buttons on the side of the phone to adjust the media volume. You can leave this option off to always have media volume control with the hardware buttons if you are OK with the ringer volume being just off or on at a preset level using the silent toggle switch on the side of the phone.


Any way to see waveform when using Quick Look on an audio file? Are there any plugins that will allow me to see a waveform when using Quick Look on an audio file?

(I'm using Yosemite.)

Snapper from Audioease has been the best I've found so far.  I have it set to launch at log in so I don't even have to think about it.  It activates the waveform view you're asking for just by clicking once on any audio file.  It also has many other features like format conversion, export, etc.
It's not free but is entirely worth the cost with the time it saves me.


Is it possible to run a shell script when the iChat online status changes on Lion? I had a script under Snow Leopard that would upload a tiny file to my server when I launched iChat to reflect my status on my website. For some reason it doesn't work anymore in Lion.

Is there a way to trigger a shell script on online/offline status change in 10.7 without even launching iChat?

Option 1: run a script like this every minute or so with cron or launchd:

#!/bin/bash

cd=~/Library/Caches/me.lri.scripts
mkdir -p $cd
cf=$cd/ichatstatuscheck
status=$(osascript -e "tell app \"iChat\" to status")
[[ -f $cf && "$status" != $(cat $cf) ]] && say "$status"
echo "$status" > $cf

(The script activates iChat every time it's run.)

Option 2: save this as a stay open application in AppleScript Editor:

repeat
    tell application "iChat"
        set prev to status
        delay 5
        if status is not prev then do shell script "say " & quoted form of status
    end tell
end repeat

(Also activates iChat every time it gets the status.)

Option 3: use an iChat event handler (thanks Kopischke)

This worked for me on Lion, but only when iChat was active. (Not when it wasn't and I changed the status from iChat's status bar item — which I guess was the actual problem the OP had.)


How do I map a Mac function to an 'unfindable' Windows keyboard key? The issue is this: I'm using a PC keyboard with my (closed) MBP at work, and am using Karabiner (TAFKA KeyRemap4MacBook) to map the Mac keys to their appropriate places on it. So far so good.

However, on the number pad, adjacent to some volume buttons on the top row (which worked straight off, no mapping required) there's a key with a crescent moon on it, which would be perfect for inducing insta-sleep/lock. But I can't find it in Karabiner, or Keyboard Viewer in order to map said function to it! It doesn't show up anywhere, and pressing it gives no identifying feedback/input…

Any thoughts? Admittedly a very minor 'issue' but you know, one of those ones that, like an ear-worm, just won't leave me alone!

The keyboard in question is an Emprex 6310u (see the moon?):

[Facepalm] Press and hold the key, that's how. I guess it's a 'hold' so as to avoid lighter presses/brushes?

So much for my first question on AskDifferent…

Thanks me! You're welcome, me!


How can I have spell check for one language *but NOT* for another in El Capitain? I want to have spell checking ON for Greek (or any other language you have) and OFF for English.

At the System Preferences (Keyboard -> Text) I have enabled Greek (where it says "Ελληνικά (iSquare)" in the images) as the ONLY enabled language (I have disabled all the others from the pop-up menu (Set Up...) and I have choose it at the same menu.

So Greek spell checking works.
But the problem is that when I type an English word, it spell checks that word too! (So if I type: "helloo" it changes it to "hello"!)

This is what I want to avoid!

Is there a way to have the checking done only in Greek and not in English?

So that "Εληνικά" will become "Ελληνικά", but "helloo" will stay "helloo".

The following script will set the spelling language to ONLY Korean and open a TextEdit window.

#!/bin/sh
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin export PATH

CommandD()
{
osascript <<EndOfMyScript
tell application "System Events"
keystroke "d" using [command down, option down]
end tell
EndOfMyScript
}

currentDockHiddenState=$(defaults read com.apple.Dock autohide)
if [[ "$currentDockHiddenState" != "1" ]]; then
    CommandD
fi

# Disable text auto-replacement
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSAutomaticCapitalizationEnabled -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSAutomaticDashSubstitutionEnabled -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSAutomaticPeriodSubstitutionEnabled -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSAutomaticSpellingCorrectionEnabled -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSAutomaticTextCompletionEnabled -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSSpellCheckerAutomaticallyIdentifiesLanguages -bool false
defaults write ~/Library/Preferences/.GlobalPreferences.plist WebAutomaticSpellingCorrectionEnabled -bool false
defaults delete ~/Library/Preferences/.GlobalPreferences.plist NSUserDictionaryReplacementItems
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSUserDictionaryReplacementItems -array
defaults delete ~/Library/Preferences/.GlobalPreferences.plist AppleLanguages
defaults write ~/Library/Preferences/.GlobalPreferences.plist AppleLanguages -array-add "en" "ko"
defaults delete ~/Library/Preferences/.GlobalPreferences.plist NSLinguisticDataAssetsRequested
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSLinguisticDataAssetsRequested -array-add "en" "en_US" "ko"
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSPreferredSpellServerLanguage "ko"
defaults delete ~/Library/Preferences/.GlobalPreferences.plist NSPreferredSpellServerVendors
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSPreferredSpellServerVendors -dict "ko" -string "Apple"
defaults delete ~/Library/Preferences/.GlobalPreferences.plist NSPreferredSpellServers
defaults write ~/Library/Preferences/.GlobalPreferences.plist NSPreferredSpellServers -array-add "ko" "Apple"

osascript -e 'tell application "Finder"' -e 'set rrr to get bounds of window of desktop' -e 'end tell' -e 'tell application "TextEdit"' -e 'activate' -e 'set bounds of window 1 to rrr' -e 'end tell'


How can I delete original photos locally and retain the low-res versions? I am migrating from Aperture to the new Photos. In Aperture, I had my originals on an external hard drive (i.e. the library was local, but the originals were on the external drive). Now in iPhoto, I can still access those externally saved photos, but they don't upload to iCloud (instead, it always asks me for permissions whenever I open any external image, which is also annoying).

I found out that I can select an album and go on File->Consolidate to have it copy the originals over into the Photos library. When I do this, the images are being uploaded to iCloud. So far so good.

But this is when I run into space issues: I want all the originals to live in the cloud and have a thin library on my Mac. With storing the originals on the external hard drive, this was working (still ~50 GB on my Mac). But now it seems to store all the originals on my Mac anyway. I have selected Preferences->Optimize Mac Storage, yet it claims there is not enough storage on my mac to keep all the optimized version:

Your Mac Storage is full
This Mac is no longer updating because there is not enough
space to store optimized versions of your photos and videos.

When I right-click an album, I can select "Download Originals to this Mac" - what I want to do is the opposite: delete the originals locally, keep only low-res versions and have the originals in full resolution available in iCloud. How can I achieve that?

Can you confirm that all of your photos and videos have uploaded to the cloud? Check https://www.icloud.com/#photos

Because it sounds like the error might be that they're only uploading if they first are copied from your external drive to the internal drive.

Assuming they have all uploaded, you can (after making a backup), simply delete your local Pictures > Photos Library.photoslibrary. Photos.app will create a new such file when you start it again, and only low-res versions of your images will be downloaded.

If you have not succeeded in uploading all of your photos yet, your best bet is probably to switch Photos Library.photoslibrary to be on your external drive, to avoid filling up your internal drive.


13" 2017 MacBook Pro closed-clamshell mode with Dell U2715H Dell U2715H has a USB-B 3.0 upstream connector for its internal USB hub. If I connect the upstream port with a USB-B to USB-C cable to a 13" 2017 MBP will it charge the laptop? Another way to put this question is: can I use the 13" 2017 MBP in closed-clamshell mode with the Dell U2715H connected through a DP to USB-C and a USB-B to USB-C cable?

The monitor will not be able to charge the laptop, no. Therefore the MBP will not by default work in closed-camshell mode when connected only to the monitor and not to another external power source.


Using Automator to obtain content from multiple webpages? I'd like to use Apple's Automator to obtain content from multiple webpages. The webpages each contain links, text, and photos. I would then like to place this information in a text document.

Detailed steps would be much appreciated!

Thanks for your help!

Automator, as an automation tool, is a bit of a sledgehammer, so the following is a bit clumsy, but works.

Automator provides two actions for choosing URLs: Get Specified URLs, that allows one to specify a pre-determined list of URLs, and Get Current Webpage from Safari, that specifies the URL of Safari's current webpage. It also provides three nice actions for parsing we webpages: Get Text from Webpage, Get Image URLs from Webpage and Get Link URLs from Webpages, which do what you would expect them to. Finally, Automator provides an action to place text in a document: Set Contents of TextEdit Document. You may also want to use the Get Specified Text action to separate the text, images, and links sections of your new TextEdit Document.

Here is what your complete Automator workflow might look like:

Get Specified Text --- Text of Webpage ---

Set Contents of TextEdit Document using the "by replacing" option.

Get Current Webpage from Safari

Get Text from Webpage

Set Contents of TextEdit Document using the "by appending" option.

Get Specified Text --- Images URLs of Webpage ---

Set Contents of TextEdit Document using the "by appending" option.

Get Current Webpage from Safari

Get Image URLs from Webpage

Set Contents of TextEdit Document using the "by appending" option.

Get Specified Text --- Link URLs of Webpage ---

Set Contents of TextEdit Document using the "by appending" option.

Get Current Webpage from Safari

Get Link URLs from Webpages

Set Contents of TextEdit Document using the "by appending" option.

When this workflow finishes, there will be a new untitled TextEdit document open whose contents is text, image URLs and link URLs of Safari's current webpage. You can save it wherever you please.


iTunes "Apps" section - clarification See the following image..

This is the view that is shown under the "Apps" tab, when I connect my iPhone with iTunes.

From my understanding,

Point 1, "Synced Apps" option provides the functionality to sync the Apps between your iPhone & iTunes. If you uncheck this option, there is no sync will happen between your iTunes and iPhone.
Point 2, iTunes has a trick that, it won't delete the Apps that you are deleting from the iPhone. iTunes have a backup of those deleted Apps and if you want to reinstall them in future, you can simply check the needed App then do sync. (I deleted the "Angry Gran" app before some days via my iPhone, but iTunes does not delete the app, so only it get unchecked there).
Point 3, This option "Automatically sync new apps" should be checked if you want the automatic sync process. If you did not checked this option, you probably sync the apps manually by clicking the "Sync" button in the bottom of the page.
Point 4, I really dont know about this. I added some files here, made sync, checked in iPhone. Nothing happens.

My questions are,

It's good idea to backup the deleted Apps in iTunes. But, how can I remove the Apps permanently from iTunes. Say if I want to remove that "Angry Gran" app from iTunes, how can I do it?
I want to know how to use the Point 4 part. That is, I want to add the documents directly to the file sharing Apps. For example, I want to add some photos in SC App (it is the app to hide photos/videos) directly from the "Documents" section. I added some photos, iTunes shows the added photos, but in that app, there is no sign for added photos.

Question 1 answer;

To delete an app, simply go to the iTunes sidebar, and find where it
says 'Apps'.
Click the apps window, and it will load a list of all the
applications that are stored of your computer.
Now the next step is to do a quick search for 'angry gran', in the
search field, in the top right of the window.
When you have found the offending app, click on it once, highlighting
it.
Press delete. (It will then say, 'Remove from library?'. Click yes,
and when it asks, click once again to move the app to the trash.)

Question 2 answer;

The section of the screen you have labeled in 4, is used for syncing documents, and other user created items, on, and off your iDevice. It can be used to transfer files from the iOS version of garageband, to the desktop version, vice versa. (It is in no way limited to just garageband. Many apps use this feature)

This feature only works for documents of the specific filetype for the app. If you are trying to put photos into an app, you will have to sync them normally, and then access them through the (usually) built in media browser.


What causes ssh to return Network is down? I'm trying, without success, connect to a local network ssh server from macOS by doing:

$ ssh user@1111:ab1:123:ab1:011b:12bc:ab12:1a2b

and then I get:

ssh: connect to host 1111:ab1:123:ab1:011b:12bc:ab12:1a2b port 22: Network is down

I actually can connect to that server from iPhone app Termius (and there are also other reasons to think the server side is ok) so I believe there is a problem on the client side. I tried that same app on macOS without success.

Also, ssh to a virtual machine works well, as well as to an amazon aws server.

Also tried verbose:

$ ssh user@1111:ab1:123:ab1:011b:12bc:ab12:1a2b -vvv
OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 1111:ab1:123:ab1:011b:12bc:ab12:1a2b port 22.
ssh: connect to host 1111:ab1:123:ab1:011b:12bc:ab12:1a2b port 22: Network is down

And IPV6:

$ ssh -6 -vvv user@1111:ab1:123:ab1:011b:12bc:ab12:1a2b
OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 1111:ab1:123:ab1:011b:12bc:ab12:1a2b port 22.
ssh: connect to host 1111:ab1:123:ab1:011b:12bc:ab12:1a2b port 22: Network is down

And ping:

$ ping 1111:ab1:123:ab1:011b:12bc:ab12:1a2b
ping: cannot resolve 1111:ab1:123:ab1:011b:12bc:ab12:1a2b: Unknown host

What might be causing the Network is down? How should I debug this?

SSH is just the messenger, and is likely calling strerror(3) or equivalent on a bad exit code from some socket call:

$ find /usr/include -name "*.h" -exec grep 'Network is down' {} +
/usr/include/apr-1/apr_errno.h:#define SOCENETDOWN             (SOCBASEERR+50)            /* Network is down */
/usr/include/sys/errno.h:#define        ENETDOWN        50              /* Network is down */
$

If we dig around in the system man pages for ENETDOWN this will turn up documentation...

$ find /usr/share/man -type f -exec grep -l ENETDOWN {} +
/usr/share/man/man2/connect.2
/usr/share/man/man2/connectx.2
/usr/share/man/man2/intro.2
/usr/share/man/man2/send.2
...

Though not much as connect(2) or intro(2) merely indicate

 [ENETDOWN]         The local network interface is not functioning.
...
 50 ENETDOWN Network is down.  A socket operation encountered a dead net-
         work.

Is IPv6 working on this host? You'll probably need to debug with ping6 (not ping) and maybe check the IPv6 settings via some clicky interface or instead ifconfig and netstat -rn.

To avoid the GUI, the network settings for IPv6 can be adjusted with something like

sudo ipconfig set en0 AUTOMATIC-V6

see the ipconfig(8) manual for details.


Double tap -> drag and drop stopped working in Chrome when using Logitech mouse OSX 10.9.4
Chrome Canary: Version 38.0.2086.3 canary (64-bit)
Chrome Stable: Version 35.0.1916.153

Trackpad, magic trackpad work as they should. In Chrome I can double tap on text and drag it and drop it from within the app, and out of the app.
However, when I use my logitech mouse, I can double tap, but I cannot drag and drop the text/image/whatever. If I switch to my trackpad I get the {+} icon and I can move the text around.
Any suggestions as to what I can do to fix this?

I tested a few other mice, and it seems that it was my mouse that was causing the problem. The clicker got too much use over the last 5-6 years, and does not accept the click+hold any longer.


How can I make the App Store remember my password? It seems that my iPod Touch (iOS 5.0.1) will keep asking for my AppleID password every time I try to install an application from App Store. It is really driving me insane.

I would be happy to add the password once at boot up instead of entering it each time.

I couldn't find a related option in Settings.

How do I change this behavior?

You can't change this behavior.  Although, when you download a free app, you have to enter your password; if you download another free app immediately after, you won't have to re-enter your pass.  That's as close as you're going to get to a remember password feature on iOS 5.

This is something that was intentionally in place and now it's intentionally changed on iOS 6 to reduce the need to re-enter your password just for updates.


How could I remove mysql from manually installation version I manually installed the MySQL without homebrew

However, I still installed another mysql server by homebrew.

which mysql

/usr/local/bin/mysql

How could I remove the manual installed mysql server, thanks

To completely uninstall MySQL OS X it is necessary to remove numerous files and folders and edit one file.

To uninstall MySQL and completely remove it (including all databases) from your Mac do the following:

Open a Terminal window
Use mysqldump to backup your databases to text files!
Stop the database server
Remove files and folders:

rm -rf ~/Library/PreferencePanes/My*
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /private/var/db/receipts/*mysql*
sudo rm /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
edit /etc/hostconfig and remove the line MYSQLCOM=-YES-


Detaching Process from "Run Script Over SSH" in Shortcuts I'm trying to use the "Run Script Over SSH" in Shortcuts (found under Scripting > Shell.

I want to execute a long running command from a sharesheet. So that the sharesheet doesn't remain open, and I can move on to other tasks without worrying about leaving the network etc, the command, foo, needs to execute detached from the SSH session.

I have tried using nohup, but I receive a nohup: can't detach from console: Undefined error: 0. I have also tried backgrouding & and using disown, but neither technique has been successful. Also tried screen on my machine, but it just hangs blank. Are these ineffective because of security changes to MacOS?

What is the appropriate way to keep foo running after my ssh session is gone?

Try using tmux it'll keep sessions alive after you leave.


Some songs are skipped over/broken on my iPhone; how can I find these? Sometimes when I go to play a song on my iPhone, it skips over it entirely and goes onto a song after it in the list.

The same happens when I try and play it in iTunes directly from the device - it gets a exclamation-mark-circle icon to its left when I try and play.

The songs have all been copied on by drag/drop from MP3 folders, so I suspect the copy process didn't completely properly.  Is there a way I can find all these songs so I can re-copy them?  (Trying to copy the entire album over again creates duplicate entries.)

Finally found an answer to this, thanks to Galley from iLounge!

Create a standard playlist called "Not Missing".
Drag your entire library into that playlist. Missing tracks cannot be copied to a playlist.
Create a smart playlist called "Missing" where:

Playlist - is not - Not Missing
(additional to this post)  Media type - is - Music

You now have a playlist which contains only your songs with the dreaded exclamation mark, and you can re-add them from your original source.


In Mail.app are images for a gmail account pulled from google image proxy servers or original servers? When using Mail.app to access a gmail account, will images get pulled from the google image proxy servers or from the original servers?

From https://support.google.com/mail/answer/145919?hl=en

  How Gmail makes images safe
  Some senders try to use externally linked images in harmful ways, but Gmail takes action to ensure that images are loaded safely. Gmail serves all images through Google’s image proxy servers and transcodes them before delivery to protect you in the following ways:

  Senders can’t use image loading to get information like your IP address or location.
  Senders can’t set or read cookies in your browser.
  Gmail checks your images for known viruses or malware.
  In some cases, senders may be able to know whether an individual has opened a message with unique image links. As always, Gmail scans every message for suspicious content and if Gmail considers a sender or message potentially suspicious, images won’t be displayed and you’ll be asked whether you want to see the images.

Apple's Mail.app fetches email over IMAP. Gmail does not replace any image URLs when email is accessed through IMAP, therefore images come directly from the original source.

You can verify that by reviewing the raw source of the email in your IMAP client (e.g. Mail.app). Select View > Message > Raw Source from the menu. Alternatively, use the keyboard shortcut Option-Command-U.


Change Siri Search Engine iOS 9 I'm using Siri on an iPad Pro and I've set the default search engine in Settings > Safari to Bing but when I search for something with Siri it defaults to Baidu. I know that the default search engine works for Safari because when I type in the search bar it searches with Bing.

Search results for this don't apply to iOS 9. The iPad is new and there are no extensions on any sort installed. No data has been transferred from a backup. The only third party apps installed so far are MS Word, PowerPoint, and Excel.

How can I make Siri search with Bing?

Until today, there's no way to do this. Here's my findings:

Siri doesn't perform search directly on baidu.com, it uses Siri's hideout [guzzoni.apple.com] to relay the request over (properly configured) TLS.

Other than asking for Apple's mercy, I think it's more probable to trade Chinese iPhone with one from another country.

BTW, the packets themselves are pretty fun to look at.


Snow Leopard Clean Install I have an iMac from 2010 and the Snow Leopard DVD and I am trying to do a clean install of Snow Leopard on it. Then, if I use the Install Snow Leopard option from the DVD, when it restarts it hangs on the apple icon, but if I restart the Mac nothing happened to my HDD.

I also tried using booting the DVD by holding 'Option' when I restart it, and after I choose to boot from the DVD, it hangs on the apple icon and I can hear that the DVD stop spinning.

I boot it on safe mode and use the Apple Hardware Diagnose Tool and no issues have been shown. I will appreciate if anyone have an idea of how I can perform this clean install. Thanks!

A Snow Leopard DVD may not work on a 2010 iMac. For example, according to everymac.com a iMac11,2 (21.5-inch, Mid-2010) came preinstalled with OS X 10.6.3. So, if your Snow Leopard DVD is OS X 10.6 then you should expect problems when booting.

  Note: While one may think 10.6 should be 10.6.0, doing so would differ from Apple conventions. For example, see an image of the Snow Leopard 10.6 DVD or the system requirements for the Mac OS X 10.6.8 Update Combo v1.1.


Creating an event from Last Imported in Photos.app How do I make an event from my last import using Photos? Does Photos only use albums rather than events? Is it still possible to merge events?

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


Start menu + taskbar for Mac OS X I am looking for a start menu and taskbar for Mac OS X 10.10 (Yosemite) with as many following features as possible (approximately ordered by descending importance):

Start menu:

Multi-column application list (i.e. no need to scroll)
Applications shouldn't be split into different categories
no menu delay (i.e. the delay for opening submenus when the mouse hovers over a folder item should be 0.)
show the X recently launched applications
clicking on a non-leaf element of the start menu should have no effect

Taskbar:

can be configured to have several rows
doesn't let other windows to go under the taskbar
doesn't combine windows belonging to the same application
is not transparent

Is there any other great option? I am basically looking for an equivalent of Classic Start Menu (Windows).

It's okay if the suggested application provides only the start menu or the taskbar.

I am aware of uBar but it does not present applications in a multi-column application list, clicking on a non-leaf element opens some folder,  and maximized windows overlap with the uBar's taskbar.

I am also aware of iTaskbar but it has the same issues as uBar: it does not present applications in a multi-column application list, and maximized windows overlap with the taskbar.

Lastly, Fantasktik is no longer maintained and doesn't work with my OS X.

You can try this, Start Menu for Mac OS X:


How to disable "iCloud Storage is Full" Messages on OS X Every couple of days I get this message that "iCloud Storage is Full" in a window on my MacBook, it is very annoying, as I know my storage is full and that I need to upgrade it. The window only gives me two options, "Manage" and "Upgrade", either of which opens up System Preferences, which wouldn't be such an issue if my internet connection was faster, but it takes System Preferences way too long to retrieve info about my iCloud Drive and I can't close System Preferences until it does. One cannot hide the window by clicking into another app.

How can I disable these iCloud Drive messages from appearing (perhaps from a Terminal command)? I am using OS X 10.11 "El Capitan", if it makes a difference.

I'm really looking for something that will just prevent this window from launching, maybe via a Terminal command or deleting/renaming a file, rather than just giving in and buying more storage or freeing some space.

As far as I'm aware, these are the only ways to turn off this message:

Turn off iCloud Backup
Free up some space in iCloud
Turn on Do Not Disturb
Pay the money to upgrade

All the Google searches and discussions on Reddit, Apple and other websites indicate that there is no other way. However I'm trying to reproduce the issue to see if it can be solved via the command line.

Until then, or until someone else comes up with a working procedure, assume the above is the only answer.


'du -hs *' on Mac failing with "du: illegal option -- n" I want a list of all the sub-directories and their total sizes. I can do it with the du -hs * command in CentOS and Ubuntu, but why doesn't it work on Mac?
This is the output I get:
MyMac:~ user$ du -hs *
du: illegal option -- n
usage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m | -g] [-x] [-I mask] [file ...]

As far as I know, * is a wildcard. Does macOS not support wildcards?

You probably have a file whose name begins with -n:
MyMac:~ user$ du -hs *
4.9G    Applications
1.1G    Desktop
2.2G    Documents
954M    Downloads
3.3G    Library
2.4M    Movies
7.8G    Music
 29G    Pictures
1.9G    Public
MyMac:~ user$ touch ./-none
MyMac:~ user$ du -hs *
du: illegal option -- n

Try du -hs -- *.


Can Apple Watch activity tracking be thrown off by movement? If someone has a nervous habit, such as twirling their hair, drumming on the desk, etc, throughout the day, using the hand that the Apple Watch is worn on, can this throw off activity readings (and sitting/standing reminders, etc)?

One would assume that the watch double-checks things like this by measuring heart rate, etc, to be sure, but I'm wondering about the technical implementation.

Yes it can. Only exercise uses heart rate currently to gauge effort. I know of several people that figured out how to game the stand goal while flying in an airplane by just moving one forearm.

The accelerometer algorithm for standing can't really tell why your hand moves when it is checking for sedentary conditions. This is probably a known issue since preventing this would also reduce the accuracy of legitimate walking about so it’s probably an engineering trade off as opposed to something Apple didn’t consider.


What are the risks of jailbreaking an iOS device? I know that many people jailbreak their iOS devices. Is there a risk involved with jailbreaking? If, so what? Can you brick your device by jailbreaking? What's the worst thing that could happen?

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

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

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

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

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

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

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


Planning to test our web application in Safari/Windows 7 instead of Safari/OS X & iOS We got a recommendation to test our web application in Safari for OS X and iOS (iPad). Instead of using a MacBook/iPad will it be the correct way to confirm the compatibility of Safari OS X and iOS if I install Safari in Windows 7 and do testing?

Or do I really have to use OS X/iOS only instead of Windows 7 to confirm Safari compatibility?

Safari for Windows was dropped at version 6, in 2012. It is no longer available for download, directly from Apple, though can be found on several file hosters.
The last version of Safari for Windows was 5.1.7, released May 9, 2012.

I would say testing against such an outdated version would not really be useful at all.

There's a long article on resurrecting it for Windows 10 here though it doesn't deal with the comparison in security or real compatibility terms.


The browser doesn't show videos on Youtube Today I noticed that Safari doesn't show anymore the videos shown on Youtube; I just see a black rectangle, and when I try to use the popup menu in that area, it doesn't appear.

As far as I can remember, one week ago I was able to see videos on Youtube. Something is changed in this week; for what I can remember, Safari has not been updated, in these days.

How can I find the reason of the problem, and eventually resolve it?

I have the same problem and the only solution I have in the moment is to change the User Agent using the Developer Menu. Safari 4.1.3 - Mac works for me. But this is not permanent! You have to change it every time yu start Safari :-(


Best Method for Converting An Executable to A Word Doc? I'm sorting through a bunch of old writings & am running across a large number of files, which are exe's rather than doc or docx or txt or any other normal text doc format. I am almost positive that all of these writings were done in Microsoft Word for Mac (probably) 2004. There are gibberish characters at the header & footers but the body text has all seemed intact, from what I've glanced at. I am curious about how this might have happened, but my priority right now is just reconverting these files back to a simple text format. There are hundreds of documents, mostly notes, but some finished pieces and I would much prefer to not have to go in & remove the junk text from all of them by hand. So...what are my options? thx

The file you linked can be opened, for proper display, in LibreOffice, which by the way is free.

I was also able to convert this file via the command line to a plain text document using LibreOffice's executable soffice using the following syntax:

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to txt $FileNameToConvert

Example:

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to txt "'…& hitting number three on 3"

The above command created the "'…& hitting number three on 3.txt" file and I then opened it in TextEdit and it displayed properly as it should.

You can batch convert the documents in the same manner by using a wildcard (an asterisk), e.g..:

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to txt *

The above command to batch convert assumes you've installed LibreOffice in /Applications and placed the files to convert in their own directory and have changed to that directory in Terminal.

Note: If you want to convert the files to Microsoft Word documents use doc or docx instead of txt for the --convert-to option, e.g.: --convert-to doc


Why isn't the "Open New Page" button working in Safari for iPad (iOS 4.3.5)? In my recently acquired iPad2, the Safari "Open Page" button is not working. All the rest of the buttons work fine, except this one... The oddest thing is that when I "long-tap" a link and choose "Open in a new page", the animation shows all the other pages (though I can't tap/select/close any of them) before opening the new page...

Deleting the Safari cache/history works to get a new "blank" page but not to get the button working. I've tried closing Safari, powering off and even "rebooting" (home-sleep for 15 seconds) the iPad with the same result.

This was working fine before; I updated to 4.3.5 yesterday so I'm blaming it on that.

Any ideas? It's really a PITA not to basically be able to use Safari.

Sorry for the delay in getting back: Updating to 5.0 didn't fix the issue, and I noticed the "dead spot" on other apps so, to I finally took the iPad to an apple store, where they diagnosed a problem with the screen: there was a strip, around 1 cm wide that was not working properly. Got a new one and now I'm a happy camper!!

EDIT: Typo fixing (I should use spell checking!)


How to quick launch an app in the Dock via a keyboard shortcut? In windows, it is easier to do cause there's shortcut via win+1 or ..., I'm wondering that I could do about the Mac, I did not find any stuff like that.

On my laptop I press the Spotlight keyboard shortcut, type the first 3 letters of my app and press enter. It takes 1 second and voilà.


Spotlight Recursive Search in Finder How do I have a recursive search for filetypes in a Finder folder?

no AppleScript
no Terminal
100% Spotlight

Is this possible?  Looking for mp3 and jpg file types.  I am using El Capitan (macOS 10.10)

Spotlight Search
Use the kind attribute in your Spotlight search.  For example, in the search dialog, type
kind:mp3
to find all MP3 files.  I have a listing of all the relevant attributes in this answer.
So, for a more relevant example, you would issue a Spotlight search with your search term in double quotes and specify the attribute as follows:
"search term" kind:mp3

Not indexed by Spotlight
If you have a location not indexed by Spotlight, the most efficient tool for doing this is the built in tool find, however, since "Terminal" is off the table, you're options are limited.

Use Finder Search ⌘ CommandF and create a query for that specific location.  Here's an example of a Finder search for images in my "Backgrounds" folder (and below)

Use a 3rd party tool.  Disclaimer:  There are many tools out there, but the good ones will usually have a cost. These are the ones I'm familiar with however, they are not what I use as I prefer to utilize built in tools like find, mdfind and even locate via the command line.

HoudahSpot 5 ($35USD) Allows you to create and save complex search queries on macOS.
Alfred (Free, but Powerpack is about $40USD).  This is more of a productivity and workflow tool, but it does have excellent search capabilities.  The Powerpak can greatly enhance all of the functions.
Find Any File ($8USD).  A search utility that goes beyond Spotlight.
EasyFind ($0). File search utility that helps organize your searching.   Recommended by user Tetsujin


What do the new Terms and Conditions for the iTunes Store mean? In the new Terms and Conditions for the iTunes store, it says that the following has changed:

  Notification of an additional type of previously purchased content
  that may be subsequently downloaded to certain computers and devices
  as an accommodation to you, subject to existing association rules; and
  that such content may be played back on certain devices that are not
  subject to existing association rules, with limitations.

What does this mean?

It means you can download TV shows you've purchased in the past for different Apple devices, though it may not always be available to download at all times.

Source


How can I disable the suspend to disk function on my MacBook Pro Whenever I close the lid of my MacBook Pro it takes over a minute to write out my memory to disk. This is part of the Mac's safe suspend option, which allows it to restore your memory from the hibernation file if the Mac loses power (say you change batteries or they go flat) while it is asleep.

I prefer my machine to go to sleep as soon as possible and am willing to take the risk of an unclean shutdown should my battery go flat.

A long time ago I disabled this behavior, but have recently reinstalled my machine and OS X has reverted to the default behavior.

How can I disable the hibernation action when I close the lid?

To disable Safe Sleep:

$ sudo pmset -a hibernatemode 0
$ sudo nvram "use-nvramrc?"=false

Further details can be found at http://www.normalesup.org/~martinez/macosx/, Including how to enable it again.


Assistive Touch on iPad mini is getting turned off automatically Assistive Touch on my iPad mini is getting turned off automatically and when I go to Settings to check the status it will be in the off state.No-one is changing the status from on to off.I don't know why this happening.

At the very bottom of the assistive preferences there's an option to put something on "shortcut" - meaning pressing the home button 3 times.
Any chance you have that on assistive touch and do it by accident?


Are the column width inches in Excel on a Mac the same as those of Windows? Are the column width inches in Excel on a Mac the same as those of Windows?

I was given homework by my instructor and the width is far too much – so do Excel on OS X and Windows behave the same in that regard?

An inch is an inch independently of any application or physical ruler you are using to measure it. So yes, the column widths are the same for the same number of inches on both versions.


Problem persistently defining aliases in terminal I am trying to persistently define some aliases for my everyday terminal use. I started off with this tutorial: How to persistently define aliases in Terminal, more precisely with Mike's comment.

As he suggested I created a .bashrc file and symlinked .bash_profile and .profile to it.

My two aliases I created in .bashrc are the following:

alias showFiles= ‘defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder’
 alias hideFiles= ‘defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder’

Now I have a problem, when i open a new bash window in Terminal, i get this error message:

-bash: alias: ‘defaults: not found
-bash: alias: write: not found
-bash: alias: com.apple.finder: not found
-bash: alias: AppleShowAllFiles: not found
-bash: alias: TRUE: not found
No matching processes belonging to you were found
-bash: alias: ‘defaults: not found
-bash: alias: write: not found
-bash: alias: com.apple.finder: not found
-bash: alias: AppleShowAllFiles: not found
-bash: alias: FALSE: not found
No matching processes belonging to you were found

Could someone please explain why I get this error and/or how to fix it ?

The alias command requires you to have no spaces around the = and also you should use " or ' to enclose the string not the curly quote ‘ you have. That quote often appears in pdfs and books when the editing program tries to make things look nice.

so the command should be

alias showFiles="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
alias hideFiles="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"

I can't find a reference for these but they are just things I have learnt :(


Why is SSH still asking for my passphrase on a private key provided by the server admin? (No passphrase set on private key) I'm being prompted for a passphrase each time I try to connect with my ssh key.

$ ssh user@server.ip -i .ssh/private_key

I was given these credentials (private key) by the server admin, so I cannot regenerate the key, and there is nothing wrong with the credentials. I copied/pasted the key exactly (there is no botching of dashes with hyphens due to a mail client, etc). I verified there are no spaces / line break issues with vim, an the same issue happens. Permissions are set correctly (to 0600).

What did I do wrong?

Turns out I copied the data from the SSH key itself, but not the header/footer, and that was the entire issue. Note to self: make sure to copy everything from the start of the line BEGIN RSA PRIVATE KEY to the end of the line END RSA PRIVATE KEY including all dashes.

In other words, the private key is not...

4OoXTO0cqjtyd7rPWaKeKHgmF5Zu9h7AdZCIJuUTpbBhzER7nW1tMZVPAHMed3r
...
Z9BX7lae9FN/dv5TSAFdSG1Ow011ZvENw25l4mKMPREcHRvDMedeL6oQSBL2m9c

... but rather ...

-----BEGIN RSA PRIVATE KEY-----
4OoXTO0cqjtyd7rPWaKeKHgmF5Zu9h7AdZCIJuUTpbBhzER7nW1tMZVPAHMed3r
...
Z9BX7lae9FN/dv5TSAFdSG1Ow011ZvENw25l4mKMPREcHRvDMedeL6oQSBL2m9c
-----END RSA PRIVATE KEY-----


Mac mini, two monitors over hdmi and Thunderbolt simultaneously Will the new Mac Mini (mid-level, quad-core) support the following two
monitors simultaneously: one an Apple Cinema Display 30", 2560x1600
resolution, connected to both the Thunderbolt port and one USB port via the
Mini DisplayPort to Dual-Link DVI adaptor (this thing:
http://store.apple.com/ca/product/MB571Z/A/mini-displayport-to-dual-link-dvi
-adapter)
 and the other monitor a Samsung with 1600 x 1200 resolution connected to
the Mini Mac by the hdmi port, using the hdmi-to-dvi adaptor Apple gives you
with the Mac Mini?

I have read in some places that hdmi cannot output better than 1920 x 1080,
but 1600 x 1200 is actually fewer pixels and I have read differing accounts
of whether it will work.

For the Apple Cinema Display, currently on my MacBook Pro 2009 I run it
using the adaptor I mentioned above, and it needs to connect to one USB port
as well as to the miniDisplay Port. I am guessing that the Thunderbolt port
will serve instead of the miniDisplay Port and I will still need to connect
to one USB port on the Mini, in addition to the Thunderbolt port.

Thank you!

Yes, that will work.

The maximum for HDMI 1.0 is actually 1920x1200, not 1080. Later revisions can go higher, but previous Mac mini HDMI ports have been limited to 1920x1200 and there's no reason to believe it would have changed.


Service which monitors when apps are updated? I have a couple of old applications which I adore, but really don't want to have on my iPhone at the moment, because they're terrible in iOS6 / iPhone 5 and haven't been updated  for over a year.  I'd like to get rid of it so it's not taking up space,  but would like to monitor its updates still.

Does such a service exist which 'monitors', or tracks the version of an application, and will let me know when it's updated?  This way, I could delete the app, wait for it to be updated, and re-install it again.

iTunes can kind of do this, in the sense that even if it's not installed on my iPhone it'll still let me know an update has been released.  I don't use iTunes, pretty much at all, so I don't want to use it that way.

Michael

I haven't heard of a service with the exact function. However lame this could sound, you could check out the app producer's website/fb/yt and sign-up for news or email newsletters which would inform you when these apps are updated.

Chances are slim, however, if the apps haven't been updated for more than a year.


Finder opens Terminal when clicking on homedir icon I have added an icon for my homedir to Finder.

However, when I click on it, Terminal opens instead of the expected Finder view of $HOME.

Is there some sort of file type or other metadata that has somehow become incorrect for the homedir icon? If so, how do I fix it?

A directory can become a "Package", if the bundle bit has been set for some reason by either another program, or the user.
"Kind: Package" will then be visible in the "Get Info" window and it can be opened by the application set in the same window.

Some applications prefer (or create) a package instead of a directory, which can be double clicked to open a whole library folder in an application (iPhoto for example).
It may also make the user think twice to directly access and edit its contents.

To remove the bit from the home directory run the following command in Terminal (to be found in /Applications/Utilities/Terminal.app, or search in Spotlight):

SetFile -a b ~

SetFile is part of the command line tools. Without the command line tools installed, a popup should ask you if you want to download them. Allow this and try again.


can't boot on win10 without alt (option) on an air macbook air 2017, I deleted OSX and installed only Windows 10 from a usb cd drive. Everytime I boot the computer, I have to push on ALT to select the only one item: Windows. Otherwise I get a blackscreen with a folder and a question mark.

When windows is loaded, under control pannel>bootcamp, the startup disk is: "Basic data partition Windows" and this is the only one available

What can I do to fix this issue ?

I don't know what happens but the issue is solved after a lot of reboot


Where can I download the source code of SEDarwin project? I am trying to get the source code of SEDarwin project. TrustedBSD page related to Sedarwin(http://www.trustedbsd.org/sedarwin.html) says that that SEDarwin project has been moved to it's own website at www.sedarwin.org.But that website appears to be down.

I am particularly interested in the source code of MAC policy modules and MAC framework.

Any help regarding this is greatly appreciated.

Thanks,

Ramkumar

Depending what version of SEDarwin you are looking for here is a website that might help you.

SEDarwin Downloads

If satisfied with the answer to mark it as completed do the above :):


How to add permanent environment variable in zsh I have been scouring the internet, and cannot seem to find a solution to permanently adding an environment variable, specifically when my OS is macOS Mojave (10.14).  It seems there are a lot of tutorials for past versions of the OS, but none for this one one.  It also seems every old method has become outdated.

I want to add an environment variable ENV_VAR=12345 to my Mac, so that I can import it into a Python module using os.environ['ENV_VAR']

The most relevant tutorial I have found is this, but it doesn't quite do the trick for me. A lot of others tell you how to temporarily add environment variables to bash, but I don't think this is good enough.  I want the addition to be there if you restart terminal.

Can you please either provide a short tutorial or point me to the correct/modern tutorial?

UPDATE: I should have mentioned that I use zsh.  This was key.

Bash

Since Bash is typically the default shell you can open up this file in your home directory:

$ vim ~/.bash_profile

And add your variable to this file:

export ENV_VAR=12345

You can do this without even having to edit this file if you like, using the following one-liner:

$ echo 'export ENV_VAR=12345' >> ~/.bash_profile

And then confirm like so:

$ cat ~/.bash_profile
for i in ~/.bash_profile.d/[0-9]*; do
  . "$i"
done
export ENV_VAR=12345

After doing the above, if you open a new terminal you should see that environment variable has been set:

$ echo $ENV_VAR
12345

Zsh

If you find that you're using an alternative shell such as zsh, that uses a different set of configuration files maintained within your home directory, ~. Luckily the syntax of the changes is basically the same, just different files. So you can add the above example to this file instead:

$ echo 'export ENV_VAR=12345' >> ~/.zshenv

And then when you launch a zsh:

$ echo $ENV_VAR
12345

References

Zsh Startup Files


Dreamweaver compatibly with Mojave I know some apps in CS6 work and others don’t in Mojave. Has anyone tested Dreamweaver CS6 specifically?

Dreamweaver CS6 does not work if you upgrade to Mojave.

I just did the OS install  and now dreamweaver CS6 won't work.


How do I install libgit2 on OSX Lion? I'm trying to install libgit2 on OSX, and I keep running into issues. Ultimately I'm trying to get pygit2 installed, which fails because it doesn't recognize libgit2 being installed.

libgit2's instructions are the following according to their github page:

$ mkdir build && cd build
$ cmake ..
$ cmake --build .

They then say that in order to build the universal binary for OSX, you can use the following when configuring:

-DCMAKE_OSX_ARCHITECTURES="i386;x86_64"

To me that means do the following:

$ mkdir build && cd build
$ cmake .. -DCMAKE_OSX_ARCHITECTURES="i386;x86_64"
$ cmake --build .

However, that doesn't appear to work. I still have pygit2 bomb out when I try and install it through pip.

$ pip install pygit2

This is the error I get:

In file included from src/pygit2.c:32:

include/pygit2/types.h:60: error: expected specifier-qualifier-list before ‘git_diff_list’

src/pygit2.c: In function ‘moduleinit’:

src/pygit2.c:231: error: ‘GIT_STATUS_CURRENT’ undeclared (first use in this function)

src/pygit2.c:231: error: (Each undeclared identifier is reported only once

src/pygit2.c:231: error: for each function it appears in.)

*snip*

Command /Users/HOMEDIR/VIRTUALENVPATH/bin/python -c "import setuptools;__file__='/Users/HOMEDIR/VIRTUALENVPATH/build/pygit2/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/3v/7q7kyp3x4js3j0hvhmfkt6fw0000gn/T/pip-Sbr_Q3-record/install-record.txt --single-version-externally-managed --install-headers /Users/HOMEDIR/VIRTUALENVPATH/bin/../include/site/python2.7 failed with error code 1 in /Users/HOMEDIR/VIRTUALENVPATH/build/pygit2

Has anyone been through this rodeo before and can help out?

I coul not install pygit2 using pip. However, it worked fine using the latest version available on Github:

$ git clone git://github.com/libgit2/pygit2.git
$ cd pygit2
$ python setup.py install

The problem here I think is that you're trying to use a two month old pygit2 release with the cutting edge version of libgit2. If using pip is an absolute necessity, you should try installing an older version of libgit2 too (like this one).

You only have to use the -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" flag if you're targeting "old" Macs without 64 bits capable processors (before Core 2 x, with Snow Leopard or older).

You should also run

$ cmake --build . --target install

after your

$ cmake --build .

command. Without this, libgit2 headers (*.h) and libraries (*.dylib) will not be installed in your /usr/local/{include,lib} directories and will not be available to others softwares (hence your compilations errors).


How can I uninstall the FTDIUSBSerialDriver? How can I uninstall the FTDIUSBSerialDriver and FTDIUSBSerialDriverInstaller from my MacBook Air with Yosemite? They are shown in System Information → Software → Installations.

The files are highlighted in blue below:

First, find out if the package is installed, and it's name:

pkgutil --pkgs | grep -i ftdi

It should output:

com.FTDI.driver.FTDIUSBSerialDriver

Then get a list of files:

pkgutil --files com.FTDI.driver.FTDIUSBSerialDriver

In my case, this was the result:

Library
Library/Extensions
Library/Extensions/FTDIUSBSerialDriver.kext
Library/Extensions/FTDIUSBSerialDriver.kext/Contents
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/MacOS
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/MacOS/FTDIUSBSerialDriver
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Resources
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Resources/English.lproj
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Resources/English.lproj/InfoPlist.strings
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/_CodeSignature
Library/Extensions/FTDIUSBSerialDriver.kext/Contents/_CodeSignature/CodeResources

Then simply delete the files in question:

sudo rm -r /Library/Extensions/FTDIUSBSerialDriver.kext

And follow it up with "forgetting" the package:

sudo pkgutil --forget com.FTDI.driver.FTDIUSBSerialDriver


Where in iOS 8 do I customize the notification centre? For some reason I cannot find Notification Centre section on my iPhone 6.

It's where you can set the today view to appear on lock screen, etc. I set it up a long time ago (probably in iOS 7), and I think there used to be a "Notification Centre" section in Settings. Now All I see is:

-Notifications (control notifications from apps)
-Control Centre
-Do Not Disturb

Where did it go? I searched online and tried to find it myself but it's taking too much time. Can anyone help?

Make certain your phone is unlocked and pull down the notification center.  When on the 'today' tab and unlocked, there is an 'edit' button at the bottom of the notification center that allows you to adjust what content is displayed and what order it is displayed.


How to sync video from iphone to mac without USB cable I am at my home. I made a video 30 minutes ago on my iphone 6s. when I go to my "photos" on mac, the video is still not there.

both my iphone and mac are connected to the same wifi network. same apple id and have plenty of storage in icloud drive.

Now how do I sync this video to mac immediately? usually every photo and video I take on my iphone becomes visible in my photos application on mac. but it takes its own sweet time.

I just want to know how can I make it happen immediately.

Let's say I want to do this without physically connecting my phone to my mac with a cable.

You should be able to use Airdrop between your iPhone and Mac

Check out this article: http://www.macrumors.com/2014/10/29/how-to-share-files-mac-ios-airdrop/

You will need a Mac released in 2012 or later running Yosemite at the least. make sure you have wifi and bluetooth enabled.


Archive Button in Outlook for Mac Not Showing on Ribbon According to the Outlook UserVoice site, the latest version of Outlook for Mac has an Archive feature.

Based on this Microsoft article there supposed to be an Archive button next to the Delete button on the ribbon.

I'm running Microsoft Outlook for Mac Version 15.24 and I'm not seeing the new button. I'm I running the right version? What do I need to do to make the Archive button show?

As it turns out, the Archive button showed up when I added a Google account to Outlook for Mac. It did not show for the existing Exchange account. Guess the archive feature doesn't work with Exchange.


Do pics get multiplied in iPhone's photo app? If we make a album in iPhone's photo app by selecting some photos from 'all photos', would it multiply or duplicate the pictures in the phone? As the pics will be there in 'all pictures' section too and hence would the extra space be occupied the pix of the freshly created album?

No, photos added to albums are references to the original. Deleting the original photo removes the photo from any albums that it has been added to.


Changing iterm2 Terminal Color Is there a way to bold the color of the current active terminal tab in iterm2? I do not see an option to do that on the appearance tab of preferences. I know I can change the tab style, but I still want a really bold appearance.

From the above picture, I want the middle tab to be of a bold color (orange or some other bright colors) when it is active.

iTerm2 build 2.1.4 on OS X 10.11.4 has that capability built in:

View > Tab Colour:

Clicking one of the colours has the following result (Inactive):

(Active)


How do I make my Apple ID sign in request silent? Every time I sign in iCloud I receive in iPad a notification to allow login. Thats ok!

What's not okay is that sound so loud. How do I make it elegantly silent?

The two-factor authentication alert follows the volume of Ringer and Alerts. It can be adjusted via the hardware volume buttons, although you may have disabled that functionality.

If that is the case, head into Settings → Sounds and adjust the slider for Ringer and Alerts. This will affect the volume of all notifications (including FaceTime call notifications).

If you want to completely silence those alerts, you can:

Drag the slider all the way down.
Use your iPad’s hardware mute switch (removed starting with iPad Air 2, iPad mini 4, iPad Pro and iPad 5).
Pull up the Control Center and enable the crossed-out bell icon.


Prevent Spotlight from indexing future hard drives Using Mavericks, how can I prevent Spotlight from indexing all drives except my primary internal drive?  In my work, I connect dozens of new drives every week, and I do not want the .Spotlight-V100 folder to be created on them.

I know I can add each drive to the Spotlight privacy list, but that can only be done after connecting the drive, and then the .Spotlight-V100 folder has already been created.

I could disable Spotlight completely, but then I lose the convenience of indexing my internal drive.  I want to use Spotlight for my internal drive only, and disable it for all other drives, including ones that have yet to be connected.

A file called

.metadata_never_index

place in the root of any volume will suppress indexing behaviour.

You can generate this file automatically

the following files need to be created as root

the following shell script will create the requisite file should an active (less than 30 days old) spotlight entry not be found.

/var/root/unindex.sh

to create this

sudo vi /var/root/unindex.sh

or use your preferred text editor

The contents should be

#!/bin/bash
# suppress spotlight indexing of new volumes
# pc 26-june-2014 v0.1
# v 0.2 27-june-2014 add mdutil

# get the last volume mounted

vol=$(df)
vol=${vol##*%}
echo $vol

# is this a volume that has been indexed in the past month

count=$(find ${vol}/.Spotlight-V100 -mtime -30 | wc -l )
[[ $count -gt 1 ]] && {

# then it remains so

logger -t unindex spotlight activity detected in last 30 days
exit 0
}

# else create index supression file
logger -t unindex creating ${vol}/.metadata_never_index
touch ${vol}/.metadata_never_index
# and stop spotlight indexing the drive
logger -t unindex mdutil -i off /Volumes/${vol}
mdutil -i off /Volumes/${vol}

make sure it can be executed...

sudo chmod a+x /var/root/unindex.sh

now add an entry to launchd, create the file

/Library/LaunchDaemons/org.misctools.unindex.plist

to create this

sudo vi /Library/LaunchDaemons/org.misctools.unindex.plist

with contents

<?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>org.misctools.unindex</string>
    <key>ProgramArguments</key>
    <array>
        <string>/var/root/unindex.sh</string>
    </array>
    <key>RunAtLoad</key>
    <false/>
    <key>StartOnMount</key>
    <true/>
</dict>
</plist>

now activate the job

sudo launchctl load /Library/LaunchDaemons/org.misctools.unindex.plist

the job will launch every time you mount a disk, look in the console for messages filtered by 'unindex' for it's actions e.g. from my machine

 26/06/2014 09:02:35.824 unindex[1362]: creating /Volumes/hfs/.metadata_never_index


What is the best way to occasionally play a sound? I have a speaker (Bose SoundLink Mini) connected to my MacBook Pro, and it switches off after periods of non-use. This means that it will shut off even while I am at the computer, if a sound hasn't been played in awhile. What is the most sensible way to have a very quiet (ideally inaudible) sound played every fifteen minutes? I have a little familiarity with AppleScript and am happy to learn more; I don't yet know anything about other scripting methods.

Simply create a launch agent which repeatedly says something (or plays a sound) and load it:

Create a plist with nano in Terminal:

nano ~/Library/LaunchAgent/usr.home.bose.wakeup.plist

Copy the following lines and paste it into the Terminal window:

<?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>Disabled</key>
    <false/>
    <key>Label</key>
    <string>usr.home.bose.wakeup</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/say</string>
        <string>wake</string>
        <string>up</string>
        <string>you</string>
        <string>lazy</string>
        <string>Bose</string>
        <string>SoundLink</string>
        <string>Mini</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StartInterval</key>
    <integer>887</integer>
</dict>
</plist>

Save the file with ctrlO and exit nano with ctrlX
Load the plist with:

launchctl load ~/Library/LaunchAgent/usr.home.bose.wakeup.plist

You can use other voices by adding the option -v $VOICE. To get the list of all available voices enter say -v ? in Terminal.

Example:

...
<array>
    <string>/usr/bin/say</string>
    <string>-v</string>
    <string>Agnes</string>
    <string>wake</string>
...

The downside of say: you can't set a sound level!

Therefore an alternative launch agent with afplay instead (you can set the sound level with the -v option):

<?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>Disabled</key>
    <false/>
    <key>Label</key>
    <string>usr.home.bose.wakeup</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/afplay</string>
        <string>-v</string>
        <string>0.05</string>
        <string>/System/Library/Sounds/Submarine.aiff</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StartInterval</key>
    <integer>887</integer>
</dict>
</plist>


iOS 10 photos removing individual photo from people folders How do I remove a photo that has accidentally been put in the wrong people photo album?

I have a photo of my dad (who is now deceased) that has appeared in the album for my father-in-law (who is very much alive). I can't find a way to remove an individual photo from the new people album once it is in it. I don't want to hide the whole album of my father-in-law, just remove this one misfiled photo.

Select your father-in-law from the "People" album, tap the "Select" button in the upper right-hand corner, tap on the mislabeled photo, tap the "Share" icon in the bottom left, then from the list at the bottom of the screen select "Not This Person."

If you need to select multiple photos, check all applicable pictures from the scrollable list at the top of the Share sheet prior to pressing "Not This Person."

If you don’t see this control, you are likely browsing photos from a location other than the People album. Use the back buttons in the top left to navigate all the way back to the top-level list of albums, then tap into the album corresponding to the person who has been wrongly identified in photos.


PHP will not run from command line When trying to run a PHP script from inside Terminal, the script is just echoed to stdout.  This happens if the script is executed directly (first line #!/usr/bin/php) called as an argument (/usr/bin/php ./test.php), or if the php command(s) is input interactively.

What could be the problem?

Computer is El Capitan Server, 10.11.6; and, no extra MAMP/Apache/PHP has been installed.  On a non-server El Capitan machine, things work as expected; so, I'm stumped...

Adding output of ls command:

sh-3.2# ls -lFa /usr/bin/php
-rwxr-xr-x  1 root  wheel  10577264 Jul  9 11:51 /usr/bin/php*
sh-3.2#

Adding more output:

sh-3.2# ls -lFa /var/root/test.php
-rwxr-xr-x  1 root  wheel  17 Nov 21 16:48 /var/root/test.php*
sh-3.2# cat /var/root/test.php
<?
phpinfo();
?>
sh-3.2# /usr/bin/php /var/root/test.php
<?
phpinfo();
?>
sh-3.2# od -c /var/root/test.php
0000000    <   ?  \n   p   h   p   i   n   f   o   (   )   ;  \n   ?   >
0000020   \n
0000021
sh-3.2# od -x /var/root/test.php
0000000      3f3c    700a    7068    6e69    6f66    2928    0a3b    3e3f
0000020      000a
0000021
sh-3.2#

Use the long tag like

<?php
phpinfo();

in test.php instead of your somehow malformed test.php and it should work.


Connect iPhone to Internet through laptop? I have a laptop at work that's connected to the the office LAN.

I have an iPhone that sometimes can sort of connect via Sprint, but usually it's pretty slow.

However, when I'm at the office, my iPhone/Sprint can barely connect at all. It's hopeless.

Is there some way my laptop can create a WiFi network that my iPhone can use and thereby share my laptop's fast connection?

I've tried going to "Create network" on my laptop, then "Create computer-to-computer network" and then on my iPhone going to Settings > WiFi > Choose a Network and actually connecting to that WiFi network I just created.

Once I do that, I can look in the iPhone's settings and verify that the phone is supposedly on that WiFi network and it has an I.P. address.

However, in the upper-left area of my iPhone screen it still says, "Sprint" and there's a little circle after it. (Circle???)

In terms of functionality, the phone is still ridiculously slow as if it were still trying to use the more-or-less useless Sprint service.

So is there some better way to do this that allows my iPhone to get a fast connection?

Sounds like Internet Sharing is what you want (go to System Preferences > Sharing). This post and video shows you how to switch it on, although I've not actually tried it myself.

IIRC, the "circle" icon means you have a GPRS connection, not the faster EDGE or 3G connections.


Mac Backups - 5xMac's with a synchronized catalog? I'm looking for a free or if not cheap solution to a situation we find ourselves in. Currently we have 5 designers all doing artwork throughout the day and then periodically, or when the mood takes them, burning it to DVD-R then running it through an ancient X11 Disc Catalog app we have. The problem is each person does it "their own way" and the disc numbers get mixed up from time to time and lost etc.

I'm looking for a collaborative solution where perhaps they backup to a central server, however I don't really want a "spare" Mac just sitting there doing nothing. If for instance everyone kept their work in a specific folder on their Mac that was polled or similar in a sort of Server->Client relationship?

I don't really know what it is I'm after, so some ideas or suggestions would be great! Too many people are getting bogged down burning DVD's etc at the moment!

I would look at getting a NAS (Network Attached Storage) box which appears to be basically a disk that can be accessed from anywhere on the network and is added to the network like any other machine. I would suggest using Ethernet to the router rather than WiFi.  (I just got a very simple 2TB NAS for £80 so can be inexpensive, although given this is a work setup I would expect to look for a more complete set up costing more, remember to work out the cost of losing a design before saying any solution costs too much)

In the simplest form a share can be mounted to each Mac where it will look like another disk in the finder. Then users can copy from their machine to the NAS.You would also have to set up another process to backup the designs from the NAS. Most NASes come with software that sets up automatic backups from Macs to the NAS. The other benefit of having the data on a NAS and not on DVDs is all the designs are quickly available. Your X11 catalog should also be able to work off this.

More complex NASs will include things like

RAID which means you don't lose data when one disk fails.
allow you to add more disks to increase capacity
Do unattended backups to cloud or other off site storage
Could burn DVDs itself


How do I install MacOS Sierra DMG to Bootable USB? I have MacBook Pro (Mid 2012) model, and I formatted the whole hard-drive to create partitions on 500GB HDD. So now I don't have any OS installed on MacBook and for booting I use Cmd+Opt+R and It gives me "Internet Recovery" option. After that It prompts me "OS X Utilities". From there I choose "Re-install MacOS" and It gives me Yosemite installation.

The problem is, I don't want to install Yosemite, I want to install macOS Sierra but it is prompting me to download Yosemite. So I downloaded a Install macOS Sierra.dmg file from torrents and now I want to create a Bootable USB drive.

While searching for solutions on net, I found poeple are installing from "Install macOS Sierra**.app**", not from ".dmg" extension.

Quesion

Please suggest me how would I create Bootable USB from Install macOS Sierra.dmg? I don't have "*.app" folder.

I have access to my other machines with MacOS and Ubuntu to make it happen.

Here's what you need to do, you have two options:

Use Internet Recovery to install Yosemite, like you were doing earlier, and then either upgrade to macOS Sierra via the App Store or just download the macOS Sierra upgrade to create a macOS Sierra USB Installer from.
To create a macOS Sierra USB Installer you need a working Mac so you can download macOS Sierra from the App Store and with a blank USB stick run this command via Terminal. Make sure you first reformat the USB stick using Disk Utility to Mac OS X Extended (Journaled). Also rename the USB stick to: Untitled

Use the following command:

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

Then perform a clean install using the macOS Sierra USB Installer.


How can I set to show window switcher an all displays when I hit Cmd+Tab I two monitors plus my macbook display and I find it sometimes annoying to find where the window switcher shows up. It would make sense to show it everywhere when I hit Cmd+Tab. Please give me advise how to set my mac to behave that way.

Unfortunately, there is no such option available on Mac OS.

Nevertheless the application switcher always appears on the same screen on which the Dock is.

If you use OS X Yosemite or newer and have the option "Displays have seperate spaces" enabled in your system settings, you can move your mouse pointer all the way down to the bottom of one of your displays and the Dock will appear on this screen. This is the only way I know to select on which display the application switcher shows up.


iWork '09 Numbers: How to set the default language of the document I would like to set the default language of a Numbers document. I figured out how to do it for a Pages document:
How Do I Set the Default Language in Pages?
but I cannot find the corresponding inspector tab in Numbers.

How can I set the default language of the Numbers document to e.g. German? The OS and other programs should remain in English, however.

According to what you've done in Pages, I assume that you want to change the language of the document cells in numbers.  What you did in Pages changed the language of the document, not the application.
Changing the language of document cells
Edit > Spelling > Spelling...

Changing the language of the applications
This is not possible from within pages. As of iWork '09 the used language follows the set language defined under System Preferences → Language & Text.
However, you can start applications in a custom language via Language Switcher (works in Lion). But even with this tool you cannot set the language in which an applications starts permanently. You have to start it via Language Switcher every time.


My signed .pkg file is not accepted I'm struggling with signing my installer to keep Gatekeeper happy.

When building i sign the .pkg:

productsign --sign "3rd Party Mac Developer Installer: GNXXXXXXXXXX (XXXXXXXXXXX)" UnsignedJaXXXXXXXXXX0.5.pkg JaXXXXXXXXXXt0.5.pkg

using this certificate:

When checking with pkgutil I can see that the file is signed:

However still Gatekeeper is not happy.

spctl gives this result:

What am I missing?

Update

spctl with verbose:

You're using a signing identity that can only be used for Mac App Store distribution. You cannot sign with that identity and test it on your own Mac before submitting it to the Mac App Store - it won't pass GateKeeper validation.

If you want to create an installer for distribution outside the Mac App Store, you'll need to use a signing identity prefixed "Developer ID Installer".


Unable to unlock Apple Account So recently I have been facing an issue where I cannot unlock my apple ID.

Here how my process goes:

Login to my apple ID/icloud from either web or my MBA
I enter the username and password.
I get a message saying I need to unlock my account
Visit iforgot.apple.com to reset password/unlock account
Enter email
Asks me either the recovery key (which currently I'm unable to locate) or send a code to trusted device which I DO have access to!
I have it send a code to a trusted device
Enter CODE
Asks me for my current password
Here where things gets tricky, It tells me my password is incorrect.

I know my password is correct because it wouldn't have prompted me to unlock account. I know this because I learned through trial and error that when you enter wrong password, it says "incorrect password" for step 3.

I have been stuck in this loop for more than 2 weeks now since I returned back from my international trip.

Apple support keeps giving me the run around.

I use lastpass to manage passwords so I know my passwords are correct.

What can I do to recover my account?

Without your recovery key - you're in a precarious state.

Apple lays out the steps to regenerate that from https://support.apple.com/en-us/HT202649

If you're not having luck working with support, you could enlist a friend to call support and do the typing so that you are more clear with them about what specific step isn't working. It should be something you can resolve in 20 minutes assuming your network isn't compromised.

Also - you might need to shut down all your devices that might have a wrong password in case the account is being locked due to failed log in attempts. Keep in mind - Apple is trained to be suspicious of requests to unlock an account from a different country since you've enabled enhances security of two step authentication on your account.


How can I run Apple Hardware Test with a firmware password set? I have a firmware password set using the Firmware Password Utility.

When I hold D immediately after power-on to start Apple Hardware Test, nothing happens.  My computer boots normally.

How can I start Apple Hardware Test?

Your firmware password must be disabled to start Apple Hardware Test.  To do this:

Either boot into OS X Recovery (hold ⌘+R while powering on) and select Firmware Password Utility from the menu, or follow these instructions.
Select "Turn Off Firmware Password...":
Enter your firmware password to disable it:
Select "Quit Firmware Password Utility":
Restart your Mac and attempt to launch Apple Hardware Test again with D.


Isolate OSX Dock per Space How can I make it so that each space has its own isolated dock?

Basically what I'm looking for is:

The dock in one space should not show the icon of an app that was open in another space.
If I have the same program open in two different spaces, clicking on the icon in one space should not go to the app in the other space.

Is this possible natively, or with a third party program?

As mentioned in the Independent docks across displays thread, you can't do it with the native Dock system.  You will need a third party utility like DockSpaces.


Keeping track of songs in playlists Is there a way to track what songs in an iTunes account appear in playlists? i.e. -- some songs may appear in 2 playlists, some appear in none. How can I know that?

In your iTunes Music Library, right-click on a song's title and select Show in Playlist from the menu. A submenu will pop out, showing all of the playlists to which the song belongs.