How to make "Go to Folder" show current path? One thing about MacOS I don't understand is how to quickly navigate the Finder in terms of quickly editing your file path.

I.e in a centralised Version Control I may have

/Software Projects/My Project/Branch1/Solution/Models/

and I want to get to

/Software Projects/My Project/Branch2/Solution/Models/

In Windows, I would just quickly go to the file path and swap the 1 for a 2, but in Mac "Go To Folder" always retains the last folder I used, and it appears I either have to type the whole path out, or open a second Finder window, "Go to Folder", drag the folder from my first window in and then swap the 1 for a 2.

There MUST be a way for "Go to folder" to just load the current working directory...but I can't seem to find a way anywhere!

Thanks

A pretty quick solution in Sierra:

Press cmd + alt + C or alt + right click on item -> copy "foo" as path name
Then press cmd + shift + G and paste your copied path with cmd + V
Edit your pasted path and press Enter


Recovery/Restore of Photos I'm hoping someone can help me with an issue with recovering photos on an iPhone.  I'm an IT person (but mostly work in the Windows world), and am trying to help a friend.  This friend had an iPhone 7 (probably 128 GB) and recently upgraded to an iPhone X.  Unfortunately, it seems the person at the phone store screwed up helping them, and I'm thinking that they probably restored an older iCloud backup to the new phone.  The reason I think this is because there's about a year's worth of photos that are missing on the new iPhone X.  I happened to have a spare iPhone 8 64 GB temporarily laying around, so I did an iCloud restore of their most recent iPhone 7 backup to this phone and found all of their "missing" photos.  Unfortunately, the problem now is that as the iCloud backup attempted to restore everything to this temporary iPhone 8, it ran out of space.  I don't know enough about the workings of iCloud (restores, iCloud Photos, etc.) so am at a loss now as to the easiest way to transfer these "missing" photos to my friend's new iPhone X (especially in light of the fact that the temporary iPhone 8 is out of space and didn't finish downloading everything from the iCloud backup).

I was thinking maybe of trying to upload all the photos to Google Photos, or maybe letting it sync to a computer and then do something from there.  I'm not sure, but it seems there is some sort of iCloud Photos repository in iCloud that allows photos/videos to be uploaded and stored in iCloud (my friend has a few hundred GB that he pays for) and then synchronized with multiple devices (similar to Google Photos), but I can't figure out how to get these "missing" photos to that easily (I'm thinking maybe they haven't synchronized to that yet because the iCloud backup restore never finished...?).  Any help is greatly appreciated.  Thanks!

https://www.easeus.com/phone-transfer/mobimover-free.html worked great - Thanks Buscar!


To prevent Text Wrap in OSX Terminal? I would like to prevent the text wrap in OSX Terminal, by letting text to continue under the border.
I could not find it in Preferences of the terminal.

How can you prevent text wrap in OSX Terminal?

This function doesn't exists in Terminal. It doesn't exist within xterm either. It might be really usefull to read log files with very long lines or output of commands as tcpdump. The wrapping render them unreadable.

I suggest you to fill a feedback about this function on:
MacOS X feedback

To make it a winning improvment proposal I suggest you to ask for an horizontal scrollbar so as to be able to display the text which is beyond the right border.


Setting locale via launch daemon - downside to this approach? I have the same problem as in this post here that R started in ESS / Emacs can not set the locales:

R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin14.5.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_MONETARY failed, using "C"
> > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin14.5.0 (64-bit)
Running under: OS X 10.11 (El Capitan)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_3.2.2 tools_3.2.2
> version
               _
platform       x86_64-apple-darwin14.5.0
arch           x86_64
os             darwin14.5.0
system         x86_64, darwin14.5.0
status
major          3
minor          2.2
year           2015
month          08
day            14
svn rev        69053
language       R
version.string R version 3.2.2 (2015-08-14)
nickname       Fire Safety
>

This is because the locales set in the .bashrc etc are not read anymore by processes started via Spotlight / Finder.

I have already set the locales in emacs

(setq utf-translate-cjk-mode nil) ; disable CJK coding/encoding (Chinese/Japanese/Korean characters)
(set-language-environment 'utf-8)
;; (set-keyboard-coding-system 'utf-8-mac) ; For old Carbon emacs on OS X only
(setq locale-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(unless (eq system-type 'windows-nt)
  (set-selection-coding-system 'utf-8))
(prefer-coding-system 'utf-8)

but this does not solve the problem.

Now the following solution has been proposed here to set the environment through launchd.

Now I am asking myself: This solution will set the locales for all processes started via launchd - is there a downside to using this approach?

I can't see any reason why it would cause a problem, but if it did you could always remove it and things would go back to normal. Then, you could use the app specific changes listed further down in the linked answer (which is what I'd use anyway).


Can I use my UK iPhone 5S in the USA? I have an iPhone 5S registered in the United Kingdom with a United Kingdom simcard and number from T-Mobile. I have moved to the USA permanently and cannot call or text any American numbers. I have been told this is because I need to get a US simcard and number. (Please correct if wrong)

I am considering Tracphone as a provider, and asked them if I can use their plan/sim/number in my physical phone from the UK. The answer was

  If the phone is an unlocked GSM phone that must operate on 850 and 1900 MHz bands, you can use it.

(Bold emphasis mine). Does my UK-bought 5S fit those criteria?


How to find my synced mp3 on my iphone I synced my iphone 5 with itunes and one mp3 should be then on my iphone.  I cannot find that one.  There is only lists of ones they are trying to get me to download.  Where can I find the one that I synced with itunes?
And how do I get all the other ones they want me to download off of my phone?

Open up Settings on your iPhone
Select "iTunes & App Store"
Tap the switch beside Music under "SHOW ALL" near the top

You should now only see the music that has been synced to your iPhone. The other music that could be potentially downloaded won't appear.

If you want it to list the rest of your library again, you just need to go back into the Settings and turn that option back on.


What do I do if appleid can't send me email? If I go to the Apple ID support site and try to change my security questions, or password, it tells me that it is sending email to the registered email address. This is a working address that gets dozens of messages every day. But nothing from Apple comes through. Yes, I've checked spam.

That is, I log into appleid.apple.com with my Apple ID and password, and click on 'change security questions or password'.

The support link lands me at support for hardware, so that's no help.

Is there anywhere else to turn?

I eventually reached Apple by phone. There was a subtle typo in my 'recovery' email address.


Why can't I send/receive files in iChat? I'm trying to send a file to someone else via iChat, but it always fails. We're both using our Gmail accounts. Is it even possible with Gmail accounts? We also tried jabber accounts as well, but no luck. We both have Lion 10.7.2 and temporarily disabled the OS X firewall. Both our routers using NAT. By the way, video chats work (bad quality though) and iChat screen sharing works sometimes.

This link is old but may help,
http://www.macobserver.com/tip/2007/02/14.1.shtml

I also noticed that it might help to just drag and drop the file you wish to send over the person you wish to send it to in the drop down chat menu and drop it there instead of on the chat box, it will then ask you if you want to send, click yes and it should work.


Cannot change my Apple ID when attempting to sign in to download from the App Store When attempting to download an app from the App Store, I am unable to change the Apple ID as the box is disabled, as shown below. How can I change the Apple ID?

Store Menu > Sign Out. Then you should be able to sign in to another ID.


Change update frequency of App Store in Mountain Lion? The Mac App Store on Mac OS X (10.8.3) notifies me frequently about new app updates by showing a little popup. How can I change the update frequency or the way Mac OS X notifies me?

Launch Terminal, found in /Applications/Utilities/ and enter the following command:

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ScheduleFrequency 3

Set the number at the end to the number in days between checking for available software updates, the example uses 3 days


SSD in enclosure does not mount on older MacBook Pro I bought a Crucial SSD compatible with my MacBook Pro (late 2007) and an enclosure. To my frustration, it would not mount and I think the hardware may be defective.

Sometimes, I get it to mount and the drive will stay visible on the desktop. At other times, the LED on the drive will briefly flash but nothing would appear.

How can I get my Mac to recognize this new hard drive?

The answer is, make sure that your SSD has adequate power.

Some USB cables come with two USB plugs at one end.

The second and thinner part of the cable is needed for power supply.

So plug in both ends one in each USB port of the computer and then it should supply enough power.

Alternatively, and this made for a more reliable power supply, one can use any USB device that supplies power. In this case an iPhone charger attached to the second USB end (power-only) did the trick.


Windows 10 VM Freezes in Parallels 13 - Windows 7 VMs are OK For years I have run Windows 7 VMs using Parallels on the Mac without any problems

I have recently virtualised a Windows 10 laptop to a virtual machine using the Parallels tools - this VM freezes after a short while - I get the MAC spinning wheel in the VM and the VM is unresponsive. This can happen after a few minutes if I just start the VM but don't do anything, other times it takes longer e.g. 30 minutes to freeze. The Mac continues to work without any problems. My old Windows 7 VMs run without problems.

When the VM freezes the Mac Activity Monitor has the Parallels Desktop process is not listed as 'not responding' - the virtual machine process is there too but not marked as not responding - I have to force quit both processes to restart the VM.

My Mac is running High Sierra version 10.13.5
Parallels is version 13.3.2
Windows is Windows 10 build 1803 - OS build 17143.112

I have made sure I have applied all updates to Parallels, also I have followed the instructions in various knowledge base articles (e.g. https://kb.parallels.com/112091) but unfortunately none have fixed the problem.

What can be done to remedy Windows 10 guest VM performance issues and freezing?

I have the same issue with MacOS High Sierra 10.13.6, Parallels 13 and 14 and Microsoft Windows 10 Pro 10.0.16299. Windows 10 worked w/o any problems until recently. Last week we installed Windows updates.

In order to reduce the number of possible issues, Parallels support recommends to disable all third party services (to include the ones started during startup). I just did this except for Symantec (this application runs for years w/o problems and would require a de-install). On the list of third party services now disabled are Google and Adobe.

I'm advised to get back to Parallels support if the problem occurs again.

Update: Today I experienced a sudden crash. Screen of MV and Mac freezed and after a few seconds the Mac rebooted. There was no way to switch to the Mac host. Received a crash dump after the login completed (indicating graphics problems). I'm back on square one. A session/chat with Apple support showed that there are no hardware problems. I was advised to reset SMC and NVRAM/PRAM. Completed both tasks. At the moment I'm testing again.

Update: Since the reset of SMC and NVRAM/PRAM (3 days), the problem has not occurred.


Disable Command-W in the terminal Is there any way to disable Command+W in the terminal?

On several occasions I have accidentally closed a terminal window containing important information when I meant to close a Safari tab and did not realize that the terminal was the active window.

To disable ⌘W in Terminal, do the following:

From the  menu in the top left corner of the screen, select System Preferences. Click on Keyboard then Keyboard Shortcuts then Application Shortcuts.

Click the + button to add a new shortcut
Select "Terminal.app" for the application, and for the command, type Close Window (this is case sensitive). In the shortcut box, give it a different shortcut, like ⌘ControlW
Now ⌘W will not close your terminal windows.


How can I separate mailboxes completely in Mavericks's Mail application? How can I separate mailboxes completely in Mavericks's Mail application?

I don't want any of this integrated inbox/folders with the same name feature. I just want clean/separated mailboxes with their folder structures. Its nice for people who have few accounts and small number of mails. It is not a "smart feature" when you get 135,000 messages of inbox/sent/archive folders from 18 different boxes mixed in 3 folders.

Not sure if you still have this problem, but this confused me too.

I have been using Sparrow during Mavericks. After upgrade to Yosemite I decide to give the native mail.app a try.

It looks good, but I was confused that it seem when adding multiple email accounts, it will show the structures, like folders, labels, etc in separate, but has a together inbox, which I dislike.

I believe Apple shouldn't do something this stupid (While sometimes they did...), but anyway I checked everything in the preferences but can't find a clue.

Finally, I found the way they do it....

When you adding multiple account, You still get the separate inbox and sent box and junk boxes for each account.

It is just been grouped together...looking for the small arrow at the left most of Inbox, Drafts, Sent, Junk, Trash and Archive, after expanding them, you will find your account. And you can browser them separately.


Ctrl + Cmd + Return doesn't maximize active pane in iTerm2 The split panes functionality is the primary reason why i use iTerm2.

I can maximize/unminimize the active pane by using the View -> Maximize Active Pane menu item.

But nothing happens when I press the Ctrl + Cmd + Return shortcut key combination listed next to the menu item.

I looked through the preferences pane and I didn't find this particular key binding anywhere, which makes me think it's not customizable via the UI.

Any suggestions about what might be wrong or how I could go about fixing this?

D'oh; the problem was that I was confusing the Shift key (depicted as ⇧) with the Ctrl key (depicted as ⌃).

So, the correct combination is Shift + Cmd + Return.


iTunes 12.5 - Add photo of artist / edit rainbow microphone thumbnail In the "Artist" view of iTunes 12.5, is it possible to make a photo of the artist (or at least one of the album covers) appear in place of the rainbow microphone?

Update (2017)

It appears that with 12.5.5.5 (possibly earlier, but I didn't notice), Artists that are known to Apple now have their photos set correctly:

There still doesn't appear to be a way to manually set or override this image though.

No, missing artist images do not depend on the source of the music. Even if you bought it from Apple, you may get the ugly microphone images!


Who is able to access iMessage on Apple's servers? I understand that iMessages are stored on Apple's servers regardless of whether my iCloud is switched on or not.

Can the messages stored on Apple's servers be accessed either by myself, or by anyone else using my AppleID? I am concerned that other people may be able to access these messages.

See iOS Security, pp30–32:

  iMessage

  Apple iMessage is a messaging service for iOS devices and Mac computers. iMessage supports text and attachments such as photos, contacts, and locations. Messages appear on all of a user’s registered devices so that a conversation can be continued from any of the user’s devices. iMessage makes extensive use of the Apple Push Notification service (APNs). Apple does not log messages or attachments, and their contents are protected by end-to-end encryption so no one but the sender and receiver can access them. Apple cannot decrypt the data.

  When a user turns on iMessage, the device generates two pairs of keys for use with the service: an RSA 1280-bit key for encryption and an ECDSA 256-bit key for signing. For each key pair, the private keys are saved in the device’s keychain and the public keys are sent to Apple’s directory service (IDS), where they are associated with the user’s phone number or email address, along with the device’s APNs address.

  As users enable additional devices for use with iMessage, their public keys, APNs addresses, and associated phone numbers are added to the directory service. Users can also add more email addresses, which will be verified by sending a confirmation link. Phone numbers are verified by the carrier network and SIM. Further, all of the user’s registered devices display an alert message when a new device, phone number, or email address is added.

  How iMessage sends and receives messages

  Users start a new iMessage conversation by entering an address or name. If they enter a phone number or email address, the device contacts the IDS to retrieve the public keys and APNs addresses for all of the devices associated with the addressee. If the user enters a name, the device first utilizes the user’s Contacts app to gather the phone numbers and email addresses associated with that name, then gets the public keys and APNs addresses from the IDS.

  The user’s outgoing message is individually encrypted using AES-128 in CTR mode for each of the recipient’s devices, signed using the sender’s private key, and then dispatched to the APNs for delivery. Metadata, such as the timestamp and APNs routing information, is not encrypted. Communication with APNs is encrypted using TLS.

  If the message text is too long, or if an attachment such as a photo is included, the attachment is encrypted using a random key and uploaded to iCloud. The key and URI (Uniform Resource Identifier) for the attachment are encrypted and signed, as shown below.

  For group conversations, this process is repeated for each recipient and their devices.

  On the receiving side, each device receives its copy of the message from APNs, and, if
  necessary, retrieves the attachment from iCloud. The incoming phone number or email
  address of the sender is matched to the receiver’s contacts so that a name can be
  displayed, if possible.

  As with all push notifications, the message is deleted from APNs when it is delivered.
  Unlike other APNs notifications, however, iMessage messages are queued for delivery
  to offline devices. Messages are stored for up to seven days.

If implemented properly, this means that your messages on Apple's servers can only be decrypted by devices that you registered with Apple for iMessage before they were sent.  Furthermore, you must connect the device to Apple's push service within 7 days of message transmission or else the messages will be purged.

However, that is a big "if":

There is no independent audit of Apple's codebase, so the devices that you and your correspondents use might contain "backdoors" (deliberate or otherwise) e.g. weaknesses in key generation or information leakage through covert channels—and that's assuming the devices themselves are "secure";
There is no way that your correspondents can verify that the discovered public keys (received from Apple's directory) are actually paired with the private keys you hold on your devices—Apple could substitute them for those of a "man in the middle" or simply add an additional public key for a device that you do not own but which will then be able to decrypt all messages destined for you (you can attempt to detect such attacks by querying for your public keys from another account and verifying the response, although there is still no guarantee that Apple aren't providing a different response to other parties);
As always, security is only as good as the weakest link: your correspondents have full, unencrypted access to your conversations and any compromise of them or their devices would lead to a total compromise of your communication.


Printing 2 pages per sheet results in 4 pages Every now and then, I use the "Layout" option in macOS's print dialog to fit two pages on a sheet, for instance when printing presentation slides. For some reason, this sometimes leads to 4 pages being printed per sheet, rendering the slides hardly readable. Happened twice to me today.

Does anyone know why this is happening and how to prevent it?

Update

In response to Tetsujin's comment:

I'm running the latest macOS Sierra 10.12.4 (16E195) but I've been experiencing this issue with previous versions of macOS (formerly OS X) as well so I don't think it matters.
I print from Preview and Safari and the problem occurs in both cases.
I usually print two A5s onto one A4. I'm fairly certain, there's no spilling over.
The print dialog shows the correct number of pages.
"Is this happening at the app or at the printer?" - Not sure what is meant.

I have the same problem. The only way I manage to print 2 pages is printing it as a two-page layout PDF (which generates the expected two-pages per sheet layout), and then printing this as a one page per sheet. If I print directly, it will print 4 pages per sheet when I specify 2. This happens for the last 3 Mac OS versions, independent of the printer or program (I just checked with a PDF from Safari).

This happens from Sierra up to Movaje (as of now).


Shift–Command–Left/Right Arrow started switching tabs in macOS Mojave Finder, clashes with text movement? I often need to rename longer filenames in Finder. I used to do Shift + Command + ←/→ to select text from cursor to the start/end of the field.

But in macOS Mojave, suddenly this combination started to switch to previous/next Finder tab - so when I use the shortcut, file name editing is cancelled and I get switched to a new tab.

This doesn't happen in macOS High Sierra, and it's described in Apple's support document, Mac keyboard shortcuts as:

Shift–Command–Left Arrow: Select the text between the insertion point and the beginning of the current line.
Shift–Command–Right Arrow: Select the text between the insertion point and the end of the current line.

Is this a bug? Is there a known workaround?

If you set your own shortcut for moving between tabs of a window, the Shift-Command-Arrow combinations will work as before.

To set your own shortcut:

Open System Preferences -> Keyboard -> Shortcuts
Select App Shortcuts at the bottom.
Click the + button to add a shortcut.
Make sure that "All Applications" is selected
Type in the exact names of the commands, on an English system they would be 'Show Previous Tab' and 'Show Next Tab'. Check this in the Window Menu in Finder if you're not sure.
Add your preferred shortcut to switch between tabs in either direction


Is there an easy way to list CLI tools installed on macOS? So I have various command line tools like node, stats, etc which help me with day to day tasks, however I've noticed they don't show up in storage manager under applications and am unsure if there's a way to list all of those tools and completely remove all the files of the ones I don't use any more. It'll show as extra system memory use. It's not a big deal however I don't want to waste space. Is there a tool to manage all of this?

Basically every directory listed in PATH besides the standard ones (/usr/bin:/bin:/usr/sbin:/sbin) contains user-installed, so running ls on these directories gives you the list for them and you can use the usual Unix tools like du to calculate sizes.

To make managing user-installed tools easier you can rely on a package manager. Homebrew is the package manager of choice for many users.


How can I edit my cookies in Safari Web Inspector? I could not edit value of cookies.

How can I edit my cookies in Safari  Web Inspector?

Entries in this table are read-only; if you want to edit a cookie’s value, you need to do so with the document.cookie object in JavaScript (you can use the Quick Console at the bottom of the content browser to modify the cookie and see the results update in real time). Pressing the Delete key while a cookie is selected deletes the cookie.

please reference Safari Web Inspector Guide


Com.apple.finder.plist is missing and isn't being made automatically My com.apple.finder.plist file is missing. I've looked in Library/Preferences and it isn't there, I already have hidden files and folders made visible, etc.

Whenever I restart my computer (by going up to Apple>Restart, or by Restarting by an application installation, which is how I came across this problem) every application closes and files on the desktop disappear, however, the finder stops responding and I HAVE to end up force quitting my computer which screws up the installation of the program I've been trying to install (SideSync by Samsung, if that's relevant.)

I can only see the desktop background picture and the bar on the bottom. I can't open finder, I can't Relaunch it by going to the Force Quit Application window.

Running a mid 2012 MacBook Pro with recently installed Mavericks.

Any ideas?

The finder.plist isn't in /Library, it's in
~/Library/Preferences/com.apple.finder.plist
That would be why you couldn't find it.

Quick way to get there…
From Finder
 Cmd ⌘   N  for New Window
 Cmd ⌘   Shift ⇧   G  for Go To…
Copy/paste ~/Library/Preferences/com.apple.finder.plist including the tilde ~
Hit  Enter ⌅

I'd also consider clearing the Saved Sate at
~/Library/Saved Application State/com.apple.finder.savedState
It's safe to delete the entire folder contents - data, window etc.


Why is the message body not displayed in iPhone's mail app? The normal mail app correctly shows a list of mails in my mailbox including a preview of the message body. When I tap any of them, the mail opens and correctly shows the mail header (sender, subject, date etc.) but the message body is blank.

When I look at the same mailbox using Gmail webpage, I see the identical mails with message body intact so I know that it's not a problem with the mails or the mailbox itself.

I'm using not-broken iOS 4.1 on an originally Apple-unlocked iPhone 4.
I'm using Google's official setup for Google Apps on iPhone.
I've tried purging the mail/contacts/calendar settings and following Google's setup from scratch. The problem is still there.

How can I fix it so the message body is displayed?

Response to answer:
- This used to work flawlessly, but appeared recently, without any obvious change by me.
- It might have been broken by the 4.0.2-->4.1 upgrade?
- The problem appears on wifi and on GPRS/3G, in any location, and isn't related to download delays (keeping a "blank" message open for a minute doesn't make it appear).
- It also isn't fixed by rebooting the phone.

Follow-up:
This is very weird. It seems to break every few months but only lasts a few days, then magically starts working again. Before, during, and after these incidents, I just use my phone normally and don't mess with any network settings or phone settings. I honestly have no clue what's going on.

Has this setup ever worked?

Have you tried just using plain vanilla IMAP?

Is this possibly due to poor connectivity—maybe you have a weak network connection and it's just blank until the entire message downloads?


MacbookPro 2018 13inch switches off frequently due to panic issue My macbook pro 2018 is 13 inch model with 8GB RAM and 2.3 GHz Quad-Core Intel Core i5 processor. When I am working on couple of application mainly chrome browser laptop will suddenly switched off. Later I stopped using chrome, this morning I was on call in Teams with couple of other apps open. The laptop suddenly switched off and I switched it ON using power button. All the previously opened apps will start booting up after signing in to dashboard. Once all apps are opened within few seconds macbook is getting switched off.
This happened two times. On third time I closed all the application to start working.
On every restart, I am getting following below error:

This is technically called a 'kernel panic'.
If you want to try a few easy things, follow the instructions on this apple support page regarding this error:
https://support.apple.com/en-us/HT200553
Basically install any OS updates available, install software updates for other apps and drivers, reboot in safe mode, reset NVRAM, disconnect all the external devices.
Also you could try a hardware diagnostic by rebooting while you hold down the COMMAND key and the D key at the same time.
However, if you're near an Apple store, I highly recommend making a genius bar appointment to have them take a look at it. They will do a brief look for free, and give you a recommendation for what to do next.  Here is the link to do that:
https://getsupport.apple.com/

Click Mac
Click Mac Notebooks
TYPE IN "restart" into the text bar
click "Unexpected shutdown or restart" Click Bring In For Repair
Sign in with your Apple ID
Follow the instructions.


New MBP w/touchbar: How to change default brightness level? After unplugging/rebooting/waking, regardless of whether the power cord is plugged in, the screen on my MBP (15-inch, 2017, MacOS 10.13.2 [17C88]) will default to a brightness around 80%. Is there any way I can disable this, or at least change the default to something brighter?

That's not a standard macOS feature nor a feature of the laptop. Perhaps something's wrong with the SMC? Display backlight problems can be indicative of an SMC error.

  The display backlight doesn't respond correctly to ambient light changes.

You can reset the SMC. Shut down your Mac, then…

  After your Mac shuts down, press Shift-Control-Option on the left side of the built-in keyboard, then press the power button at the same time. Hold these keys and the power button for 10 seconds.

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

The dimming when unplugging power can be controlled in System Preferences → Energy Saver → Battery:


Image capture "import error (-50)" images import fine, but won't delete from phone? My iPhone 5 recently broke, so I got an iPhone 5s. I restored from a backup using iTunes, and configured any remaining settings fine.

Usually to take images from my phone's camera I plug the phone into the computer and use Image Capture, then drag the images from Image Capture to the file I want. I have the "delete after import" setting selected so that the images are removed from my phone after import to save space.

Now when I try this with the new phone it works fine on importing the photos, but I get an error (see attached screenshot) and the images don't auto delete from my phone.

Any ideas how I can resolve this?

UPDATE - Laptop & Phone Spec

My computer - Mid 2012 MBP 15" running osx 10.9.5

My iPhone - 5s running iOS 8.3

I've noticed this is now solved on my iPhone. I'm not 100% sure how I did it but the 2 notable things I did very recently were:

rename the iPhone from "iphone(3)" to "Sam's iPhone"
turned off iCloud on the iPhone then turned in back on

Not sure which one solved it; would be good if any one who has this issue does the same and report back to be able to clarify.


iMac 27" shutting down during Windows 7 install I've got a problem with my Mid-2010 iMac 27" where when trying to Bootcamp Windows 7 x64 (Ultimate edition) it simply wont get past the expanding files stage.

Despite numerous attempts to use USB and the retail DVD, it will take about a second to copy the files and then will start to expand files.

After a few minutes of hearing the DVD drive spinning, it shuts down.

Has anyone ever encountered this?

I'm currently downloading the latest ISO from MSDN to try however I'm not holding my breath lol.

Look forward to hearing from you all :)

Thanks

Gavin

Specs

iMac 27 Mid-2010
Processor: 2.93ghz Intel Core i7
Memory: 16gb 1333 MHz DDR3
Graphics: ATI Radeon HD 5750 1024mb
Software: OS X 10.8.4 (12E55)

Partitions

Filesystem    512-blocks      Used Available Capacity  iused    ifree %iused  Mounted on
/dev/disk0s2   292863368 173193648 119157720    60% 21713204 14894715   59%   /
devfs                369       369         0   100%      642        0  100%   /dev
/dev/disk0s4   195642688      4608 195638080     1%        0        0  100%   /Volumes/BOOTCAMP
map -hosts             0         0         0   100%        0        0  100%   /net
map auto_home          0         0         0   100%        0        0  100%   /home

Get Temperature Monitor to see if it's heat related...

http://www.macupdate.com/info.php/id/12381/temperature-monitor

iStat Menus...

http://bjango.com/mac/istatmenus/

And/or iStat Pro...

http://www.islayer.com/apps/istatpro/

Open Console in Utilities & see if there are any clues in the system log for Date & Time of the last shutdown/crash & the next start up.


Xcode 7 develop for iOS without developer account I have updated my iPod to iOS 9 and want to make my own apps for it, however, I do not want to pay for a developer account because of how much it costs. I read that in Xcode 7 that you can develop apps for iOS without a developer account, this does not seem the case for me, instead when I try and build my test application (a blank single view application) I get an error saying 'no code signing identities found' and requires me to 'join a program'.

Is there a way I can develop applications without paying for a developers account (is there a 'free' option in the program options or not? Don't want to go through the steps and find out I was charged $99!)

You don't need to pay for an Apple's developer want the $99 option for a store certificate, billing and general code signing certificates.

Your personal AppleID is good enough to sign apps in Xcode and load them on a limited number of devices (5 or so) from your Mac to get started with developing. Once you need TestFlight or want to make a signed app that is reviewed - you need to pay, but get started for free.

Here’s how I would undo a previous paid AppleID - you might need Apple Developer support to help you release your AppleID from the paid program if you are reusing the same AppleID (and I encourage always reusing the same and not making new accounts when you run into a hiccup like this).

Instead, delete all Xcode copies you might have installed earlier - whether they are from the Mac App Store or downloaded and then install Xcode 7 from the Mac App store:

https://itunes.apple.com/us/app/xcode/id497799835?mt=12

Once it downloads, run the app and go to the settings:

click Accounts
click the + in the lower left and add an Apple ID
enter a personal Apple ID, the one you use for the App Store is fine to reuse
you're done

When you build an app for iOS, connect the iOS device and choose that AppleID to sign the app when asked.


How much RAM memory do I need for an OSX device? I'm about to buy a new Mac Mini and I would like to know if it's enough with 8GB RAM or I would need 16GB.
Linked is my MBP 15 early 2013 16GB RAM usage in a current daily usage.

memory pressure screenshot.

I have the Mac Mini 2018, and I bought it with the 'default' 8GB of RAM. With several apps open, but just idling, it was at the 'top' of the Green memory pressure band, and loading it beyond that, either with 'work' or data, would start to bring it into the yellow band.

I regularly had about 2Gb of swap, and the same of compressed memory. Don't forget that the Intel Graphics unit takes 1.5 Gb straight away.

I've just installed 32 Gb of RAM (from Crucial, not Apple!), and the difference is palpable.


How can I remotely send an SMS message through my Mac from my iPhone? Is there an application for Mac OS X which would allow me to remotely send SMS messages through my iPhone? Ideally, just a simple application or maybe a full screen remote application like TeamViewer.

I prefer a free solution.

You can use myPhoneDesktop.

This solution has an iPhone and Mac (or Windows) client and sends a push notification from the Mac app to the iPhone with the information for a call, text, URL, text or an image. The iPhone app then opens the data sent to it by the Mac app.

The iPhone app costs $4.99 in the App Store and the Mac app is free. myPhoneDesktop requires an account to be set up, but it is free.


Unable to extend my partition I have searched through this site alot and i wasn't able to find any solutions.

My situation is the following:
I decided to install linux to dual boot with OSX at my 1TB fully encrypted with FV2 hard drive.
I opened the disk utility and i shrinked the main partition to 500GB. I created another one with 500GB to install linux there.
Right after i did that, i changed my mind :S and wanted to expand the OSX partition again to be 1TB.
This is what I get - everything is greyed out and I'm not able to do anything:

I 've tried to reboot and boot with cmd+r to enter the system recovery and run disk utility from there - the results are the same. I 'm desperate:/

It seems that i did it using this post Unable to Resize Partitions and your comment.

Although it wasn't obvious for me, what I did was this:

diskutil corestorage resizeStack LOGICAL_VOLUME_UUID 0G

0G to expand it to the maximum available space that is free.

diskutil corestorage resizeStack

can provide with info.


How can I script Preferences changes in an application? I want to use applescript to change a checkbox in the preferences box of Safari. I can open the preference window, but how to code the check box change?

Example: I'd like to toggle the check box for "Block pop-up windows" on tab "Security" of the preferences

tell application "Safari" to activate
   tell application "System Events"
      keystroke "," using command down
   end tell
   --some magic goes here
end tell

Use UI Scripting:

http://www.macosxautomation.com/applescript/uiscripting/index.html

https://stackoverflow.com/questions/7896680/using-applescript-to-click-the-plus-button-in-a-preferences-window

How to know the name of UI elements using Accessibility inspector (or any other tool)


Can't update from El Capitan public beta I took part in the public beta of El Capitan but now that the official version has been released I can't get it to update. If I go to Updates in the App Store I get "No Updates Available" and if I try installing from the OS's page, I get the option to download the installer instead.

I'm guessing that A) there are differences between the last public beta and the release so there should be an update, and B) since I can't find any other mention of this issue, something is messed up on my machine preventing it from seeing the update.

Should I bite the bullet and download and run the installer or is there something I can change to get my machine to update?

Go to the Purchased page and click UPDATE there.


Does My Photo Stream work without an Internet connection? (local wifi only) I mean when My Photo Stream is enabled on my iPhone, does it upload photos to Apple servers? Then downloads them on other iDevices?

To the best of my knowledge, Photo Stream will work whenever it is connected to iCloud.

It doesn't matter if the connection is via your carrier data plan or via wifi to the internet. But you must in either case be able to connect to the Internet.

Of course, you must have cellular data turned ON on your device in order to connect to iCloud via cellular.

Without the Internet connection to iCloud, you will not be able to use Photo Stream simply between your devices, even if they are all on the same wifi network.


iOS no longer suggesting passwords I’m running iOS 12 on an iPhone 6 and Safari no longer gives an auto-suggested password when creating new online accounts.

Am I misremembering that this feature existed at one point or is there some new way to access this feature or otherwise turn Safari suggested passwords back on?

If the Strong Passwords suggestion isn’t showing up, it means you don’t have iCloud Keychain enabled.

Go to Settings -> Accounts & Passwords -> AutoFill Passwords and enable iCloud Keychain.


FaceTime not working on iPhone 6 Plus purchased from Dubai I bought my iPhone 6 Plus in Dubai. I am using the phone in Sri Lanka and I cannot use the FaceTime. How can I use FaceTime while in Sri Lanka?

Sorry, Facetime is not available on devices purchased in the United Arab Emirates and therefore in Dubai, as stated in these KB articles:

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

FaceTime might not be available, or might become unavailable, on devices purchased or used in certain countries, including Saudi Arabia and the United Arab Emirates.

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

I recommend that you contact Apple support in Sri Lanka at http://www.apple.com/lk/support/contact/ or a local Apple reseller, they may be able to help you.
To find a reseller near you visit https://locate.apple.com/lk/en/sales/?pt=all&lat=6.9270786&lon=79.86124300000006, press New Search:

and type in your address.


What's the best way to share Mac Apps downloaded via Mac App Store? We have four guys in the house running on Mac and say, one updates the apps that the others have purchased with their individual apple ids, could the apps be shared over a storage media/airdrop without app store pointing out for id issues?

Multiple folks downloading at the same time gets the bandwidth cropped and with the fair usage policy in place, after we hit the cap for the month the internet speed drops to a bare minimum. Well, apps like Xcode/Keynote/iPhoto which are fairly huge as a sum of all downloading the same copy.

I'm probably looking at something like steam backups, where I just share the backup of the game that friends have purchased but haven't downloaded yet and for them, it's just a matter of restoring from the backup file, without a problem, as they've purchased the game too.

If you are running Yosemite, then you can enable Family Sharing so that others can download the same app purchased by you.


High System CPU on Sierra I am seeing high system CPU on a Macbook Air and performance is hit but the list of processes does not show any obvious culprits.

Can I get more details what is going on?

This is a common situation. By default, activity monitor shows your main processes “My Processes” only, and in this case the system is busy doing work as a result of your apps or system tasks.

In the view menu, select all processes to see what’s taking all the CPU time.


iOS 14 broke my Shortcut I have a shortcut that I created in 2019 and it stopped working after iOS 14 upgrade. The specific part that stopped working is the display at the end of some calculations. No numbers are shown, only the text, like "your answer is: "  but the resulting numeric value is not shown. So, it would seem the shortcut isn't using the variables, I mean it is not like I see "your answer is: 0" the space where the number/variable should be is blank.
How can I begin to debug this?

Thanks for the help.
I had to go through and re-assign all of the fall-thru variables that I was using. not sure if they were always called magic-variables, but after conversion to ios14 all of my formulas had only "Number" in where I had previously used the result from the previous operation. Once I assigned all of the "Number"s to real values, everything worked again.


Reconnect an external HDD after proper ejection After I "properly eject" an external HDD or USB stick, can I "reconnect" it without physically unplugging it?

Yes, you can!

If you eject the USB HDD by selecting this option:

Then all you need to do is open Disk Utility and check the following:

Your hard drive will be mounted again!


Quick action opens automator I have created a "Quick Action" workflow that copies a specified file to a new directory and doesn't require any input:

I added it to the quick panel in finder for the fast access but each time I use it opens the Automator app.

I've solved the issue by converting it to the application but it seems to me there should be a way to use quick actions properly.

As properly I mean: by clicking on the saved quick action, that I added to the panel in Finder, it performs all the steps without opening the Automator app each time.

Your workflow receives No input in any application. Quick Actions are designed to run only on the type of file (or other object) that is currently selected. So I'm surprised that it shows up at all. Presumably Automator opens it because it "no input" is the default of an empty or unfinished workflow.

As your workflow doesn't require an input, (i.e. any given file as an argument), but just copies a specific file, then an application is a better choice.


How to get correct bookmark (webloc) icon to show? Safari Bookmark icons of (.webloc) are only showing generic document icon. How to get correct '@' icon to show?

It's the webloc document created when pulling (drag & drop) URL from Safari address to desktop.

Download the correct icon.
Convert it to .icns with CloudConvert.  (Note: If you convert an image to .icns, the image must be 16 × 16, 32 × 32, 48 × 48, 128 × 128, 256 × 256 or 512 × 512)
Right click on the .webloc file and click get info
Drag the .icns file you just made into the icon on the top left corner of get info.

If that doesn't work, let me know.  I'd be happy to help you! :)


What is the recommended way to set up and run an OS X web server for a busy public website? I am moving from a VPS to a dedicated Mac mini server running Mavericks. All I want to do is serve a typical website using Apache, an nginx reverse proxy, PHP and MySQL.

My website isn't gigantic, but it's not tiny either: I typically serve a hundred thousand pageviews a day. It is a public site on the internet, not a local intranet. I am familiar with tweaking .conf files and fiddling in the terminal, but the idea of creating virtualhosts and manually setting up modules stretch my abilities.

I have had difficulty finding the right software solution for this task. From what I can tell, there are three basic ways:

Use the inbuilt Apache provided by Apple and managed in Server.app. The configuration options are limited and certain advanced aspects (including using nginx, or anything much involving security) are not covered.
Use Homebrew or plain old .tar.gz files to set up my own server, treating the OS X like any old Unix. While this would work, I am hoping OS X can help me avoid the quagmire of editing config files entirely on my own.
Using Mac software like MAMP or AMPPS, though both of these appear to be outdated or unsupported, and seem geared towards local testing rather than production server use.

I would like to know of the best way to set up a Mac mini as a "real" web server, ideally with a solution that is both easy to configure and open to. Is there a well-known tutorial that I can follow? What of the alternate software recommended by this months-old article which ultimately recommended AMPPS, albeit for local testing?

For my own outward-facing servers, I did everything from within the built-in server software itself, except managing virtual hosts, for which task I used VirtualHostX.

The best tutorial I know for configuring Mavericks for web server use is done by Charles Edge, at his site, Krypted. I followed this same process essentially, and thus far, I've seen no issues since deployment.


Does the Mac still only have one hardware video decoder for the first video, and then it will be software decoder that is used? I remember in the past, a PC had one hardware decoder, and say, if any video is being shown, such as on YouTube, iTunes, or perhaps even just a video ad on the web browser, then the hardware video decoder could be used and already busy.
And if that video is paused, and the user start to watch a movie, then the hardware video decoder cannot be used and the software one would be used, and it possibly would not be as smooth as the hardware decoder.
If it is the Mac or MacBook, would it be the same? For example, if it is a mid 2014 MacBook Pro, probably with Intel Iris Graphics, or a late 2015 iMac 27 inch with AMD Radeon R9 M380, would it be the same situation?  However, if I look at the Processor graph when some YouTube video is being paused and then I play another movie from a streaming provider like Netflix or Disney+, then I see that out of the 8 cores (4 of them virtual), 4 cores were at about 40%, and the rest of the 4 cores are near 0. So would that mean the processor itself can decode the video with ease, and therefore no hardware decoding is needed? Does the GPU participate in it, when (1) it is the only video being played, or (2) when there are multiple videos and all are paused except one?

Yes, depending on the specs it often does have only one hardware media decoder. This is either integrated in the CPU (Intel processors) or on a graphic card. (Note that some graphic cards can have more than one hardware media decoder / encoder).
But that hardware decoder can play multiple streams of media, upto a limit, before the OS is forced to switch to the CPU (software rendering).
The limit though depends on the hardware decoders capability. For example, if a particular hardware media decoder claims it can decode a 1080p H.264 videos at 600 fps, then you should theoretically be able to play ten 1080p videos of 60fps (600/60 = 10) simultaneously on it.
Ofcourse, all this depends on the app playing the media and even on the OS.
For example, on Google's Chrome browser Youtube will often send you a VP8/9 encoded video or a H.264 encoded video depending on whether your laptop is running on battery or main power (H.264 consumes less power than VP8, so if you are running on battery, Youtube on Chrome will opt for H.264). If your hardware decoder can't decode VP8/9 the OS will switch to CPU software rendering. Many media players have an option to explcitly enable Hardware Acceleration (to decode videos through the hardware decoder), and if this is not enabled, then the media player app will use the CPU (for software decoding) even if your computer has a hardware decoder.
It's not that easy to test as there are many other such factors at play too - can you open 10+ videos? Is your hard disk or internet fast enough to all play 10+ videos? Will the OS hang? And so on ...


Built-In Trackpad and Keyboard Unresponsive after Sleep or Restart I have a MacBook Pro (15-inch, Early 2008) that's currently running 10.7.3. I've been finding that it will intermittently freeze and then I have to shut down and restart the computer, but sometimes that will not fix the problem.

If I plug in an external mouse and keyboard, then I can move the cursor and type again, but as soon as I remove them, the problem persists.

I've tried resetting the P-RAM, reinstalling Lion, installing a new HD, and I've had the graphics chip tested and it's performing properly. If you have any suggestions on how to fix or diagnose, that would be very helpful. Thank you.

So, correct me if I'm wrong, your problem occurs when you open your MacBook Pro?

Resetting your PRAM won't work. Try resetting your SMC. This is responsible for the responses when opening and closing your lid.


iMac 27'' mid-2011 stuck on startup (grey screen) Okay, so I'm having the dreaded grey screen on my iMac - precisely :

i'm having it doing a normal startup
i'm having it trying to boot from recovery partition
i'm having it trying to boot for internet recovery
i'm having it trying to boot in safe mode
verbose mode is no help because it ends with a grey screen before I've time to read anything
i have a windows partition which also fails to boot, except in safe mode - from where I can access all my HD partitions without any error by the way
fsck -fy in single user mode reveal no volume error
an extended Apple Hardware Test reveal no hardware error whatsoever
replacing RAM modules didn't change anything

So I'm stuck : what can possibly cause the problem if it is neither the OS (remember I'm having trouble with both MacOSX and Windows), and nor the hardware (at least if AHT is indeed reliable) ? I thought a driver might be involved, but I haven't upgraded or changed any driver on my machine since ages ago, and it worked perfectly fine until last sunday.

If anyone has an idea, please help, because I can't even point out support with a possible cause for failure here.

Thanks

You probably need your video card replaced. See this Apple article regarding a known video card issue:

https://web.archive.org/web/20130820015305/http://support.apple.com/kb/TS5167

From the article:

  Apple has determined that some AMD Radeon HD 6970M video cards used in 27-inch iMac computers with 3.1GHz quad-core Intel Core i5 or 3.4GHz quad-core Intel Core i7 processors may fail, causing the computer’s display to appear distorted, white or blue with vertical lines, or to turn black. iMac computers with affected video cards were sold between May 2011 and October 2012.


Hard drive ignores available free space I have a 500 GB SSD. At one point, it had 2 partitions--one for my regular macOS boot (430 GB), and one for developer previews (~70 GB). At some point, I deleted the developer preview partition, but the freed up space didn't flow back to the main partition. Also, I wasn't able to resize the Macintosh HD partition back to the full 500 GB. How do I get my 70 GB back on the Macintosh HD partition?

Here is the output from diskutil list showing the total drive size and only 429.4 GB available:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:       Apple_KernelCoreDump                         655.4 MB   disk0s2
   3:                 Apple_APFS Container disk1         429.4 GB   disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +429.4 GB   disk1
                                 Physical Store disk0s3
   1:                APFS Volume Macintosh HD            396.5 GB   disk1s1
   2:                APFS Volume Preboot                 43.7 MB    disk1s2
   3:                APFS Volume Recovery                509.8 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

The following solution assumes some comfort with the command line - if you aren't comfortable with it, let me know and i will provide a GUI method.

Referring to your picture,

click on the line that says "Container disk 1"
make a note of the value in the field "physical stores" (let's
assume it says disk0s2)
In spotlight type 'terminal' and hit return to bring up the command
line
become an administrator (either su to the administrator or login as
one)
type the command 'diskutil apfs resizecontainer disk0s2 0' (change
disk0s2 to your value).

When the prompt returns, you should have the whole disk back. If not, please make a note of the result and publish it here.


Using memory with a higher MHz rating? Can MacBook Pro's successfully support and fully exploit RAM of a higher MHz rating than that which they ship with?

For example, take my 15" MacBook Pro (Late 2011) that ships with 4GB of 1333MHz DDR3 memory. I'm considering buying 16GB of the same clock speed even though Apple says that it can "support up to 8GB" — but we know that Apple is wrong.

What about installing 1600MHz in the 16GB variant — will it work? Or will it be clocked down to 1333MHz? When compared to 16GB 1333MHz, will the higher clock speed improve battery life, performance, timings, or what?

The processor is hardwired to talk to the memory so it will throttle memory down to the speed it can talk at.

Installing 1600MHz RAM will just run at 1333MHz in that model MacBook Pro. There is no impact on battery life, performance, reliability etc.

I know there was an issue on some models where it would not boot with 2 modules of higher speed but I believe it is fine with the new models. There are utilities you can get to change the memory speed (on some modules) to get around this issue. I am not sure if this is the case with newer models.

The last time, I looked the price difference between these speeds of RAM was so small, I would just get the 1333 models for safety.

(MHz = clock speed)


How to re-activate my Command Shift 4 (for screen captures) I need to re-activate my Command+Shift+4 (for screen captures). I somehow lost this ability on my MacBook Air.

How can I do it?

Open System preferences App then go to Keyboard -> Abbreviations -> In the left panel click Snapshots  "scissor icon" -> Activate abbreviations.

and also...

Open System preferences App then go to Keyboard -> Keyboard Shortcuts -> In the left panel click screen shots -> select options on right frame.


Close current window shortcut Is there a shortcut to close the current window?

⌘W closes the current tab
⌥⌘W closes all windows
⌘Q quits the app completely

However, I’m looking for an intermediate between 1 and 2, to close the current window as if I’m pressing the red x.

To close the current window with several tabs use:

⇧/shift⌘W

This works fine at least in Finder, Safari, Firefox and Google Chrome.


Drag and Drop file to desktop when windows are maximized I typically maximize my windows to the full size of the screen and then rather than clicking windows to navigate through them I cmd+tab to switch between applications. The only problem that this  causes is that whenever I have to drag a file from my finder to the desktop all these maximized windows are in the way.

Is there any efficient way to move the file to the desktop. I've looked for right click "move to desktop" and I've look for some icon at the top of the screen I can drag it into and those don't exist.

You have several possibilities:

Use the sidebar and drag & drop files or folders on the 'Desktop' item
Create a 'Desktop' Dock item by dragging and dropping the folder '/Users/YourUserName/Desktop' to the Dock and afterwards drag & drop files or folders you want to move on the 'Desktop' item in your Dock
Create an Automator Service to move (or copy) chosen items to the 'Desktop' folder (rough example)


How can I make iMovie delete videos from my iPhone after importing them? In iPhoto, after you import images you can tell it to delete the files off of your phone. Is there a way to do this in iMovie?

I don't think you can, but you can delete them using Image Capture!

Image Capture lives in your Applications folder and can show the contents of a camera (or your iPhone's camera roll) as a list, and you can manipulate it directly, including deleting some or all of it. I'd just pull up Image Capture after your import, and then sort by kind to isolate the movies, and delete the items you just imported.


Restart. Some updates. Mac does not start anymore. Logs attached. How to fix it? Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Process:               macOS Installer [549]
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Path:                  /System/Installation/CDIS/macOS Installer.app/Contents/MacOS/macOS Installer
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Identifier:            com.apple.macOS-Installer
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Version:               1.0 (1004.29)
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Build Info:            OSInstaller-1004029000000000~86
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Code Type:             X86-64 (Native)
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Parent Process:        ??? [527]
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Responsible:           macOS Installer [549]
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: User ID:               0
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Date/Time:             2018-04-19 14:49:54.196 -0700
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: OS Version:            Mac OS X 10.13.4 (17E199)
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Report Version:        12
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Bridge OS Version:     <device not connected>
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Anonymous UUID:        FB9E7040-D694-4666-932D-0596AA936FC4
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Time Awake Since Boot: 79 seconds
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: System Integrity Protection: disabled
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000018
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Exception Note:        EXC_CORPSE_NOTIFY
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]:
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Termination Signal:    Segmentation fault: 11
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Termination Reason:    Namespace SIGNAL, Code 0xb
Apr 19 21:50:04 MacBook-Pro ReportCrash[553]: Terminating Process:   exc handler [0]

Full log on Pastebin: https://pastebin.com/GtkESaWh

Any ideas?

The crash report blames the installer, so the installer ran into a situation it could not cope with.

Can you boot into safe mode (Shift) during startup? If so download the combo update for 10.13.4 and run that.

If not, then the big question is can you boot into recovery mode (⌘r) at startup?

If you can I would first run disk utility and see if it can repair the disk. If it reports errors that can't be fixed, you have a problem as I am not aware of any 3rd-party disk repair utilities that can repair APFS disks (anyone?).

Please tell me you have a current backup that you can restore from?

If not I would be tempted to take it to an Apple Store and see if they can do anything with the drive.

If Disk Utility can fix or finds no issues, I would reinstall MacOS from Recovery Mode. It shoudn't wipe any of your files but depending on what happened I could not guarantee that.

That should get you started.


How to Disable resize window on mouse over edge I have my window in full screen and I want to scroll. In Windows, I would just move the mouse all the way to the right side of the screen where the scroll bar is. Then I would click down and scroll. But for Mac, instead of being able to scroll, it shows the drag/resize window cursor and if I press down and move it, it resizes the window.

Is there any way to make it so that I can just scroll the window instead of resizing it?

I'm using BetterTouchTool if there is no built in function and it would help with anything.

Don't click, just scroll.

Mac will scroll any window the cursor is over, whether it's foregrounded or not. You don't even need the cursor to be over the scroll-bar, just anywhere in that window.

The only exception to this is if your cursor is inside any specifically scrollable area within the window, such as the following example - this will override the main window scroll & scroll that specific area instead.

 random kernel panic data copied from another Ask Different question

panic(cpu 3 caller 0xffffff802cf70d0d): "a freed zone element has been modified in zone kalloc.128: expected 0xffffff8069109580 but found 0xffffff8069119580, bits changed 0x10000, at offset 0 of 128 in element 0xffffff80620cff80, cookies 0x3f00118b7d7cb634 0x5352144d41da7e3"@/SourceCache/xnu/xnu-2782.10.72/osfmk/kern/zalloc.c:496
Backtrace (CPU 3), Frame : Return Address
0xffffff8215e2b0c0 : 0xffffff802cf2fe41
0xffffff8215e2b140 : 0xffffff802cf70d0d
0xffffff8215e2b1b0 : 0xffffff802cf70811
0xffffff8215e2b1f0 : 0xffffff802cf6f657
0xffffff8215e2b320 : 0xffffff802d36a00b
0xffffff8215e2b3f0 : 0xffffff802d3699d5
0xffffff8215e2b4e0 : 0xffffff802d166802
0xffffff8215e2b650 : 0xffffff802d1741e4
0xffffff8215e2b6b0 : 0xffffff802d16f0b4
0xffffff8215e2b730 : 0xffffff802d149f64
0xffffff8215e2bb50 : 0xffffff802d39fc12
0xffffff8215e2bbb0 : 0xffffff802d164f17
0xffffff8215e2bc00 : 0xffffff802d15d143
0xffffff8215e2bf20 : 0xffffff802d1523fa
0xffffff8215e2bf50 : 0xffffff802d44b386
0xffffff8215e2bfb0 : 0xffffff802d036e86

BSD process name corresponding to current thread: icbaccountsd

Mac OS version:
14C109

Kernel version:
Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64
Kernel UUID: DCF5C2D5-16AE-37F5-B2BE-ED127048DFF5
Kernel slide:     0x000000002cc00000
Kernel text base: 0xffffff802ce00000
__HIB  text base: 0xffffff802cd00000
System model name: iMac12,1 (Mac-942B5BF58194151B)

System uptime in nanoseconds: 13465628889363
last loaded kext at 2954176650039: com.apple.filesystems.msdosfs    1.10 (addr 0xffffff7fafcb2000, size 69632)
last unloaded kext at 3097413036585: com.apple.filesystems.msdosfs  1.10 (addr 0xffffff7fafcb2000, size 61440)
loaded kexts:
com.symantec.kext.SymAPComm 12.7.1f4
com.symantec.kext.fw    5.3.1f4
com.symantec.kext.filesecurity  12.7f4
com.symantec.kext.ips   3.9.2f1
com.symantec.kext.pf    5.7.1f4
com.symantec.kext.internetSecurity  5.4f4
com.apple.filesystems.smbfs 3.0.0
com.apple.filesystems.afpfs 11.0
com.apple.nke.asp-tcp   8.0.0
com.apple.driver.AudioAUUC  1.70
com.apple.driver.AppleHWSensor  1.9.5d0
com.apple.driver.AGPM   100.15.5
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleBluetoothMultitouch   85.3
com.apple.iokit.IOBluetoothSerialManager    4.3.2f6
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleMikeyHIDDriver    124
com.apple.driver.AppleHDA   269.25
com.apple.driver.AppleUpstreamUserClient    3.6.1
com.apple.kext.AMDFramebuffer   1.3.0
com.apple.AMDRadeonX3000    1.3.0
com.apple.kext.AMD6000Controller    1.3.0
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleLPC   1.7.3
com.apple.driver.AppleMikeyDriver   269.25
com.apple.iokit.IOUserEthernet  1.0.1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleHWAccess  1
com.apple.driver.AppleHV    1
com.apple.driver.AppleIntelHD3000Graphics   10.0.0
com.apple.driver.AppleBacklight 170.5.0
com.apple.driver.AppleMCCSControl   1.2.11
com.apple.driver.AppleThunderboltIP 2.0.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.2f6
com.apple.driver.AppleSMCPDRC   1.0.0
com.apple.driver.AppleSMCLMU    2.0.7d0
com.apple.driver.AppleIntelSNBGraphicsFB    10.0.0
com.apple.driver.AppleIRController  327.5
com.apple.iokit.SCSITaskUserClient  3.7.3
com.apple.driver.AppleUSBCardReader 3.5.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage  2.7.0
com.apple.driver.AppleUSBHub    705.4.2
com.apple.iokit.AppleBCM5701Ethernet    10.1.3
com.apple.driver.AppleFWOHCI    5.5.2
com.apple.driver.AppleAHCIPort  3.1.0
com.apple.driver.AirPort.Atheros40  700.74.5
com.apple.driver.AppleUSBEHCI   705.4.14
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleACPIButtons   3.1
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleACPIEC    3.1
com.apple.driver.AppleAPIC  1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall   161
com.apple.security.quarantine   3
com.apple.security.TMSafetyNet  8
com.apple.driver.AppleIntelCPUPowerManagement   218.0.0
com.apple.security.SecureRemotePassword 1.0
com.apple.kext.triggers 1.0
com.apple.driver.AppleBluetoothHIDKeyboard  176.2
com.apple.driver.AppleHIDKeyboard   176.2
com.apple.driver.IOBluetoothHIDDriver   4.3.2f6
com.apple.driver.AppleMultitouchDriver  262.33.1
com.apple.iokit.IOSerialFamily  11
com.apple.driver.DspFuncLib 269.25
com.apple.kext.OSvKernDSPLib    1.15
com.apple.iokit.IOAcceleratorFamily2    156.6
com.apple.kext.AMDSupport   1.3.0
com.apple.AppleGraphicsDeviceControl    3.8.6
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IOFireWireIP    2.2.6
com.apple.driver.AppleHDAController 269.25
com.apple.iokit.IOHDAFamily 269.25
com.apple.iokit.IOAudioFamily   203.3
com.apple.vecLib.kext   1.2.0
com.apple.iokit.IOSurface   97
com.apple.iokit.IOUSBUserClient 705.4.0
com.apple.driver.AppleBacklightExpert   1.1.0
com.apple.iokit.IONDRVSupport   2.4.1
com.apple.driver.AppleThunderboltEDMSink    4.0.2
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.3.2f6
com.apple.iokit.IOBluetoothFamily   4.3.2f6
com.apple.driver.IOPlatformPluginFamily 5.8.1d38
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.AppleSMBusController   1.0.13d1
com.apple.driver.AppleSMBusPCI  1.0.12d1
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice  3.7.3
com.apple.iokit.IOBDStorageFamily   1.7
com.apple.iokit.IODVDStorageFamily  1.7.1
com.apple.iokit.IOCDStorageFamily   1.7.1
com.apple.iokit.IOAHCISerialATAPI   2.6.1
com.apple.iokit.IOUSBHIDDriver  705.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice   3.7.3
com.apple.iokit.IOUSBMassStorageClass   3.7.1
com.apple.iokit.IOSCSIArchitectureModelFamily   3.7.3
com.apple.driver.AppleUSBMergeNub   705.4.0
com.apple.driver.AppleUSBComposite  705.4.9
com.apple.driver.AppleThunderboltDPInAdapter    4.0.6
com.apple.driver.AppleThunderboltDPOutAdapter   4.0.6
com.apple.driver.AppleThunderboltDPAdapterFamily    4.0.6
com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
com.apple.driver.AppleThunderboltNHI    3.1.7
com.apple.iokit.IOThunderboltFamily 4.2.1
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient  1.0.1b8
com.apple.iokit.IOFireWireFamily    4.5.6
com.apple.iokit.IOAHCIFamily    2.7.5
com.apple.iokit.IO80211Family   710.55
com.apple.iokit.IONetworkingFamily  3.2
com.apple.iokit.IOUSBFamily 710.4.14
com.apple.driver.AppleEFINVRAM  2.0
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox  300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleKeyStore  2
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 396
com.apple.iokit.IOStorageFamily 2.0
com.apple.iokit.IOReportFamily  31
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform  3.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.Libm  1
com.apple.kec.pthread   1
com.apple.kec.corecrypto    1.0

System Profile:
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.74.0-P2P
Bluetooth: Version 4.3.2f6 15235, 3 services, 27 devices, 1 incoming serial ports
Thunderbolt Bus: iMac, Apple Inc., 22.1
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393930353432382D3035312E4130304C4620
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393930353432382D3035312E4130304C4620
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393930353432382D3035312E4130304C4620
Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393930353432382D3037332E4130304C4620
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Hub
USB Device: IR Receiver
USB Device: Internal Memory Card Reader
Serial ATA Device: WDC WD1001FALS-403AA0, 1 TB
Serial ATA Device: OPTIARC DVD RW AD-5680H
Model: iMac12,1, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 16 GB, SMC 1.71f22
Network Service: Ethernet, Ethernet, en0
Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB


Why don't my arrow keys work in vim under iTerm? They work just fine if I use Terminal and start a vim session, but under iTerm I have to resort to using H-J-K-L to do left-up-down-right movement.

In both Terminal and iTerm TERM=xterm-color. My .vimrc is quite lean and there are no key bindings set in there that would causing this problem.

iTerm v0.10.

The following worked for me.

In iTerm2:

Profiles -> Open Profiles...
Edit Profiles...
Keys tab
From Load Preset... drop-down, pick Terminal.app compatibility


Windows (Boot Camp) won't boot from HDD in optical drive bay I have a mid 2012 MacBook Pro, and I have done the standard mod of replacing the original HDD with a SSD and shifted the original HDD into the optical drive bay.

I then installed macOS onto the SSD and wiped the original HDD ready for Boot Camp. Now Boot Camp would not install to the HDD in the second bay, and the recommended steps from Apple was to disconnect the SSD temporarily, install Windows and then plug it back in. Worked like a charm.

Issue is not that I cannot boot into Windows. When I try to boot, I am greeted with a black screen and a blinking cursor, and that's it. Left it for a good 5 minutes and it didn't budge.

I am assuming it is because the boot loader on the primary SSD needs to have the information to boot into Windows, but since it had to be disconnected to install Windows on the second HDD this was obviously missed.

I have tried the common solution of booting into the Windows install usb, repair windows and running some boot.exe commands to try and repair but alas it does not fix the issue.

Any suggestions? Is it even possible to have macOS and Windows on two completely separate HDD/SSDs and still boot them in parallel?

You have not begun to given enough information to correctly diagnose your problem. This answer this therefore is based on many assumptions.

I know Windows 10 can be installed using the EFI boot method on the newer Mac computers. I do not know if this includes your model. Although, if your Mac does support booting Windows via EFI, then, I believe you should not of had any problems booting.

I have read from some Apple web sites where Windows can be installed on a second hard disk by temporally replacing the first disk with the second disk. If such instances, Apple referred to the computer as a Mac Pro. Your computer is a MacBook Pro. Mac Pro computers are designed to support a second internal HDD or SSD. Your computer probably was not.

For the rest of this answer, I will assume you tried to install Windows to boot using the BIOS method. It would seem that if you are intent on keeping OS X and Windows on separate internal drives, then the answer would be to install Windows on the first drive and OS X on the second drive.

Another option, if the BIOS boot method is to be employed, would be to boot Windows from the first drive while keeping most of the Window on the second drive. To do this, you would have to create a small NTFS formatted "System Reserved" partition on the first drive. This partition can be as small as 100 MB, but 500 MB is the recommended size. This partition would also have to be marked as the active. This would also mean the first drive would be using a hybrid EFI/MBR partitioning scheme. The second drive would use the legacy MBR partition scheme. Once the "System Reserved" partition is in place on the first drive, you can simply boot the Windows installer from the USB flash drive and install Windows 10 to the second drive. The installer will automatically know which files need to be placed in the "System Reserved" partition.

If you answer questions about setting up a "System Reserved" partition, let me know.


Can I stop my Macbook Pro booting into Windows automatically? I've got my Macbook Pro (early 2015) set up with Boot Camp. Normally, when I switch it on, OS X starts. But I can press Alt/Option to get the boot menu, and select Boot Camp Windows from there.

Once I've booted into Windows, though, Windows becomes the default OS! So, after booting Windows, then shutting down, when I next switch it on, Windows starts. If I want OS X back, I have to select OS X from the boot menu, or use the Boot Camp section of the Control Panel to change the boot option.

Is there anything I can do about this? I want my computer to always boot into Mac OS X, even if I last opted to boot Windows, unless I go via the boot menu.  My old Macbook Pro (mid 2009) worked that way, and I've come to prefer it.

Download BootChamp. You get a shortcut that reboots into Windows, but it doesn't change the default OS. Seems to work really well.


Remove On-screen volume display from ipad I want to stop the onscreen volume display from popping up when I change the volume.

The icon is too big and blocks the center of my screen, and stays there for a second or two. I know I'm changing the volume - I'm pressing the buttons!

Is there a way to disable this icon?

There's no way to disable the animation when using the physical buttons. If the icon shows up for far longer than the buttons are pressed, I would suspect your volume button might be stuck or there's hardware / sensor damage inside.

For a workaround, I have an iPad with a similar problem, and I use AssistiveTouch

Device > Volume Control (tap a few times) to dismiss the popup.


Changing default symbols bound to option key? When I type ⌥ and some letter a special character usually shows up - this would be really useful except for the fact that I have no use for a lot of these characters.  How can I customize which characters are bound to these shortcuts?

Create the folder ~/Library/KeyBindings/ and in it create a file called DefaultKeyBinding.dict and add whatever special character you need like so:

{
    "~c" = (insertText:, "⌘");
}

This makes ⌥+c insert the symbol ⌘. For more information on this file and its syntax refere to this article. After editing the file you need to restart your application for the changes to take effect.


iPhone 6 replacement screen and iOS 9 My 8 year old cracked a (very good) friend's teenager's iPhone 6.  It is only cracked mostly at the bottom around the home button and just barely in front of the actually display so they said not to worry about it (I did mention that it is a VERY good friend, right?)

Anyway, I am going to replace the screen (have done several iOS device screen replacements) but I found one that says to make sure that the phone still has iOS 8.x, not iOS 9.  Why?  I don't want to "fix" the phone and make it not-upgrade-able.  That is not really fixing it.

In my searching I have found old postings about screen issues but none ever seem to be tied to an iOS version.

EDIT: The vendor SPECIFICALLY says:

  This screen just fits for the IOS 8.3 SYSTEM,the original version,but not fit the newest IOS 9.0 system.  Please make sure your Iphone keep the IOS 8.3 system before installation.

Is there any firmware on the screen itself?  It is on eBay so I have used the "ask seller a question" but not sure how thorough/technically sound their answer will be.

EDIT 2:
The vendor's reply was what I expected, not helpful.  Just regurgitated the same statement worded slightly different even though I specifically stated that I am tech savvy and would like a detailed, technically sound answer.

As I continued on my quest I thought about the fact that the phone was still under warranty and I did not want to void the warranty.  My friend has "Apple Care" and had already used one screen replacement.  He used his second one for this (I paid the $80 + tax + gas money) and told him if it happens again I would pay the difference between the "Apple Care" cost and whatever they charge him so that it won't be any difference out of pocket for him.

There is firmware on all replacement parts. I'd just wait until iOS 9 comes out in September to make sure that the screen is compatible with the new software, just make sure you can return the screen. However, there are some better vendors, like iFixit, that would likely sell screens that will likely be compatible with iOS 9, just be prepared to pay an arm and a leg.


"bash -D" command doesn't seem to do anything useful I'm finally getting around to getting more familiar with the shell after all these years. I was exploring the man page for bash and looking at the -D option, which, according to the manual:

   -D        A list of all double-quoted strings preceded by $ is  printed
             on  the standard output.  These are the strings that are sub-
             ject to language translation when the current locale is not C
             or  POSIX.   This  implies the -n option; no commands will be
             executed.

However, on my mac it generates no output and dumps me into a new shell that seems to have less functionality than the original shell; the which command stopped working in this new shell.

Just wondering if someone can offer insight into what this option is for on the mac. I'm probably using it wrong, I'm sure.

It's intended to extract all the localizable strings without running the script, but it isn't very useful even for that limited purpose and I believe it has long been deprecated. If you want to see it doing something:

% printf "foo\n\$\"bar\"\n" | bash -D
"bar"


MySQL - Ruby on Rails mysql gem not working on snow leopard i have installed mysql 5.5.11 and i'm running on Snow Leopard (10.6.7)

when i create my rails application everything wokrs fine:

rails fooTest -d mysql

then

cd fooTest

then

rake db:create

and i get:

  Couldn't create database for
  {"reconnect"=>false,
  "encoding"=>"utf8",
  "username"=>"root",
  "adapter"=>"mysql",
  "database"=>"fooTest_development",
  "pool"=>5, "password"=>nil,
  "socket"=>"/tmp/mysql.sock"}, charset:
  utf8, collation: utf8_unicode_ci (if
  you set the charset manually, make
  sure you have a matching collation)

This looks like a permissions problem.  Make sure you have a password set in your mysql and are able to login from the command line

mysql -u root -p

This should prompt you for your root password.  If you can login there, that means you should be set.  All you need to do then is put the password in your database.yml file and retry the rake command.


Does Time Capsule automatically backup to the cloud? When I purchased my Time Capsule, I was told that it provides two terabytes of storage on the actual capsule and two on "the cloud". Does this happen automatically or do I have to set up something different?

Also, how do I access this?

AirPort Time Capsules do not come with any cloud-based storage. They are an entirely network-local backup and storage device. Whomever told you it it had storage "on the cloud" was not being truthful. You can see the full specs for the AirPort Time Capsule on Apple's web page. As you will see: there is no mention of any cloud-based storage at all on that page.


USB-C to MagSafe 2 Adapter I have a 2015 MacBook Pro with a MagSafe 2 charging cable. My wife has a new MacBook Pro from 2016 with USB-C. I was wondering whether I could technically (in the matter of electronic feasability) use her charging cable on my MacBook and vice versa with some sort of adapter / dongle, and, if so, where I would get one?

You don't want to mix those two.

Why?

Because the USB-C port conforms to the USB 3.1 Power Delivery Specification whereas the Magsafe charger does not.  Part of that specification includes the negotiation of delivered power.  The Magsafe will not negotiate how much power is supplied.  What it's looking for is the presence of the 1 wire charging circuit before it begins charging.

There may be adapters/converters on the market that will convert one interface to the other and vice versa, but (IMO) those cheap adapters are not worth the risk of sending the wrong voltage to your very expensive MacBook Pro.

Bottom line, use the genuine adapters built and designed for your MacBook Pro.


Force Safari 7 to open link in the current tab Suppose I have a site with this code:

<!DOCTYPE html>

    1

    2

    3

but I do not want to open any new tabs or windows.
I know I can drag the link into the address bar to force open the link in the current tab instead of a new one, but it is too cumbersome.

Is there a more convenient way to do it, like keyboard shortcut or maybe an extension?

As far as I know, there's no way to force a link to open in the current tab when it has target="_blank". There's controversy over this attribute in the web development world because it's considered overbearing to force a user to open a link in a new tab when they don't want to.

Essentially, the browser is seen as the user's property, and they have the right to decide where they want links to open. This link property has been abused many times for popup ads and, while it can be useful, it generally creates a bad user experience.

I assume the only way around it would be to create (or find?) an extension that goes through all of the links on a page and removes the target attribute. It appears that @sayzlim has found one for you (see here).

As for your third example, there's no way around that other than to disable JavaScript in your browser.


Mark as Junk in macOS and iOS Mail.app I am using the default mail app both from macOS and iOS. I use accounts from GMail and Microsoft Office 365.

If I "Move to Junk" in macOS and iOS, what does actually happen? A few related questions:

Does Google or Microsoft know that I marked those messages as junk, or such information just remains within macOS or iOS?
If it only remains within macOS or iOS, do they share information so that my experience in macOS and iOS are the same?

The simple answer is no to all.
Macos mail runs its own filters which do not affect the mail server even if the server is Apple's own iCloud.
So the rules on macos will not directly affect ios mail. If your mac is running and the rule moves it to the junk folder then ios will see it.
If you want one set of rules for all machines then mark the item as Junk using the Web interface on the server.
I think Microsoft clients talking to exchange servers do do what you suggest.
I don't exactly know if ios mail interacts with iCloud.


How to disable notifications for a single calendar, in iOS6 I have multiple calendars on my iPhone (iOS 6) and would like to know how to disable event notifications for just my work calendar (it's an Exchange account, if that makes any difference). I still need to be able to view, and add to, my work calendar though, so can't disable the whole thing.

UPDATE: The reason that I want to do this is because if I get a 'work' alert then I will either:

be in my office and using Outlook for such things, or
be on holiday/at home and not wanting to see work notifications.

The calendar needs to remain enabled because I constantly use it on my phone to plan free time (around work commitments) and also to enter out-of-office entries (e.g. dental appointments).

Yes, in iOS 8:

  To do this, simply go into the Calendar app, tap the “Calendars” button in the bottom center to bring up your list of Calendars, and then tap the red “i” to the left of the calendar you’d like to change. Scrolling all the way to the bottom will reveal an “Event Alerts” option — simply toggle this OFF to prevent alarms in that calendar from showing up on the current device.


Two different announcements from the same iPhone with the same iTunes connection Last time I connected my iPhone to iTunes and I received two different announcements while restoring the iPhone:

first:

  Last archive: Today 21:53

second:

  Last archive:
  Your iPhone has never been backed up to this computer.

Why it happens like that? The second one is not true...

After restoring your device iTunes will not link it to the previous backup. Your backup whatsoever nonetheless exists. You can find a list of your backups in iTunes Preferences > Devices / If you're using iTunes for Windows, choose Edit > Devices.

By what I understood your first screenshot is before restoring and your second screenshot is after restoring, therefore it makes sense.

Nothing to worry about. Doing a new backup will not delete your old one.


Is it possible to get the API details and protocol details from an MFI certified Accessory Manufacturer? I am not planning to manufacture any Hardware. I wanted to create an app for an existing MFI certified devices.

Is it possible to get the API details and protocol details from an MFI certified Accessory Manufacturer?

EDIT:

I plan to develop an App for an existing MFi certified hardware and release an app in the store.

The Apple MFI NDA requires that accessory developers not divulge any information about the device protocols, security chip, interface, etc.

However, device manufacturers are allowed to create libraries and SDKs that others can use to release apps that use their device.

One example is Redpark, for instance I have a few of their serial cables:

http://www.redpark.com/c2db9.html

You have access to as much of the device as they permit through their SDK, and you can release apps using that SDK that works with their device.  You can search the app store for "redpark" and find many apps that use their various iOS cables.

So yes, it is possible - nothing in the Apple NDA prevents them from disclosing and providing their API to others.  They simply cannot disclose Apple's protocol/API/interface to others.

Do note that Apple requires a company to submit device samples and use cases for MFI approval, and it appears they don't allow many developers to develop devices for which they plan to release SDKs.  There have been efforts to create universal infrared remote accessories for instance that haven't been opened even though the developers originally intended to provide an SDK. One I discussed this with indicated that Apple wouldn't approve their device unless it was tied to one, and only one app - theirs.  I understand in cases such as redpark the developers made the cables for specific customers and specific apps first, then started making generic cables for generic apps after initial approval.

So there still may be some reluctance on the part of Apple to allow developers to design open API devices.

While your question is about MFi accesories, a number of third party accessories have come out which are not MFi.  Many use Wifi or the audio jack to communicate with their iOS apps, such as http://www.60beat.com/ .  Several credit card readers plug into the audio jack.  Not all of them give their SDK/API freely, but you can always ask.


Deleting individual messages on Apple Watch How do I delete individual text messages from my watch? I can delete them from my iPhone but I can't delete from my watch.

Per the user manual, deleting texts is an all-or-nothing action. It removes the whole conversation. There does not appear to be an option to remove a single text. (Similarly, you cannot delete one email out of a thread, only the whole thread.)


How can I get a video *into* the photo/video gallery on an iPad or iPhone? Let's start by assuming that I have a perfectly compatible file. (In my use case, I was literally trying to get a video I took on my iPhone, that lives in my iPhone photos/video gallery, onto my iPad, so this isn't about conversions or codecs.)

Now, there are many ways to transfer and watch the the video, but I can't find a single darn way to save it with my other videos and photos:

If it's short, or I'm willing to clip it, I can email it to myself, but unlike photos, clicking on a video enclosure doesn't allow you to save it to the native app.    You can open it in vlc, good reader, etc.
If it's under 180MB, I can upload it to Dropbox from the source device (iPhone for me) and then access or watch it on the destination device (iPad for me).  But I can't save it to photos from Dropbox on the iPad

Why do I care, if I can access it and even watch it as described above?   Two reasons:

I like having things organized in one place.   I don't want to have to remember which vids are in Photos, vs. Dropbox, vs. Good reader, etc.
Most apps that use video (including Apple's own iMovie, for frack's sake) can only open and access movies located in the photos app.

Please tell me I'm missing something elegant, if not obvious?

I'm surprised nobody has answered this correctly.

The solution is to open iTunes, click on your iPhone, go to the Photos tab, then Sync Photos for the folder that contains the photo and video subfolders you want to sync.  Each subfolder will then be sync'ed to your iphone UNDERNEATH the Camera Roll as new Albums, and these are treated seperately than the Camera Roll and will always remain synced.

Furthermore, apps that can access the Camera Roll almost always can also access Synced Albums, so this should really work well for you.  I keep a whole bunch of old photos and videos on my iPhone at all times using this method and it works great.

As a bonus, unlike the Camera Roll, these Synced Albums don't get backed up in iTunes, so it won't slow down your Backup like a growing Camera Roll will.


How to install Livestreamer --- super n00b terminal question I am just trying to install Livestreamer on my MacBook but it looks like the only way to do so is with:

# easy_install -U livestreamer

I entered this in the terminal and hit enter...but nothing happened. Is that what I'm supposed to do? I know it's a total n00b question but I can't find any help on installing Livestreamer for Mac via Google.

The # is usually used in shell command samples to show the shell prompt and should not be entered. As it is also the comment indicator, the command you've entered just does nothing.

Make sure you are logged into an account with Administrator privileges to run the command. Then run

easy_install -U livestreamer

or (only if the above gives you "access denied" errors)

sudo easy_install -U livestreamer


Is iPhone being remotely accessed? On a consistent basis, I try to close any open apps to save battery life. I close the apps by double clicking the home screen button & then swipe the apps upward on the touchscreen to close. However, this is my concern.

Sometimes, when I check to see if any apps are open, to my surprise, a message can be open or a pic that I did not open.

Is it likely my iPhone is being remotely accessed? It's locked at all times. I occasionally change the pass code as an extra security measure; installed the apps "Look Out" and "VPN Defender" but the issue is still happening. Not certain what is going on. Concerned someone is remotely accessing my apps/iPhone in the background; possibly by jail break software that is successfully able to do this using my phone number or apple phone ID.

Most likely what you are seeing is the cached image of the app. Your iPhone takes picture snapshots of apps as they run, specifically so that when you go into the app switcher, you see a graphic that looks like the app. It also refreshes this image from time to time. Most likely, you're just seeing a stale picture.

Also on an unrelated note, with the way iOS works, closing apps the way you are doing has virtually no impact on battery life. Placebo effect possibly, but not much more.


Accessing Apple Mail's mailboxes remotely, maybe over SSH? Because of the way my work email is set up, I currently have my Mac (at home, running Mavericks) fetching my email via POP from my work's email server. I've been able to access my email over SSH manually, going into the .mbox folders and looking at emails and attachments manually.

Is there a program I can use to access these emails in a more friendly format? (I'm not a fan of scrolling through pages of .jpeg binary blobs to get to an email.)

An additional challenge is that I'm not always going to be able to access from a mac, so I can't just mount the directory and start working with the .mbox directories that way

What I would do is first make sure you're using IMAP to connect to your email (which should be the case anyhow —— I can't think of any good reasons to use POP), then use a terminal email client such as Alpine or Mutt, both of which are easily installed with Mac Ports or Homebrew, or built yourself.

This way, all your email will be perfectly synchronized, with iPhone, webmail, Mac Mail, Alpine, etc