How to use Keep in Dock option with applications started form the console? I tried to use Keep in Dock option with a Java application that is started from the command line but when I try to restart the application it will fail - and this is happening because it will start java without any parameters.

There are two ways of starting the application on OS X but both of them fail if you want to use the Keep in Dock option.

start it using the shell script olv.sh
start the jar file logview.jar by clicking on it in Finder.

In case you want to debug, the application is http://code.google.com/p/otroslogviewer but I know that the same problem applies for other apps too.

How can I solve the problem so I can start the application from Dock and eventually from Finder also.

You could write a shell script to invoke the java app with the parameters you need, then wrap it up in an app with Platypus.

The resultant app can then be put in the Dock like any other app.

I've used it for a variety of tasks, such as popping-up a help screen with a serial number for users to enter for a recalcitrant app which didn't like mass deployment and would ask the user to enter it at first run, to a complicated script which mounted a disk-image of a science textbook's additional media DVD and then ran the associated app to access the content. Platypus even allowed me to roll the disk-image into the final app itself, making deployment easier.


Lost my Macbook pro with retina display. How do I find out if Find My iDevice is enabled on it? Someone just broke into my apartment today and stole my new MacBook Pro. When I go to icloud.com and click on Find my iPhone, on the Devices section, my MacBook is listed. When I click on it, it attempts to find it and says its offline. I don't know how to proceed. There's a good chance that it was stolen by a kid who lives within a 5 mile radius (from details I can't share).

How can I be sure that Find my iDevice was enabled on my MacBook? (I can't remember for the life of me if I had enabled or disabled it)
Maybe I'm just being naively hopeful but is there a way to not wipe out the drive and still prevent access?  It's not likely to have been stolen by a security expert, to say the least. (wider neighborhood kid is what it looks like)
I've checked 'Notify when found' on the icloud.com/find page for my device. Does this mean I'll get an email? Do I have to be on icloud.find 24/7 to get a notification and the last location?

If you can see your MacBook Pro with Retina Display in iCloud, it has been enabled. The reason it is showing as offline is because it is either (1) shut down and not connected to internet, or (2) the device has, somehow, already been wiped, with the first option being much more likely in this situation. Computers are particularly vulnerable to this type of situation because they don't have a constant data connection like an iPhone, or data-enabled iPad, often would. The user must boot the laptop and connect to a wifi before Find My Mac will know anything about it's where-abouts or be able to perform any actions.

The first, and main thing to do is to select the the "Lock", or "Erase" option. If it is a neighborhood kid and you think some noise might provide truth, you could always do the play sound feature. This plays an alert at maximum volume. You should probably use this sparingly, and only activate it, for example, if you are within earshot of it. Chances are the user could take quick actions to dampen the sound.

As for the "Lock", or "Erase" option, it will do this as soon as the computer is connected to the internet. Obviously, if they never connect the computer to the internet before wiping it, then the Lock feature won't do any good, but at least if they do, it will help you.
Good news for you is you can erase your Mac and still be able to locate it with Find my Mac. (Another helpful Q&A on that).
And yes, you will get an email when any action occurs on your Mac - such as it being locked or found.


Can AirPort Express add speakers to a network without broadcasting a new wifi signal? I have a Time Capsule, which is 802.11ac capable. On wifi I get ~100mbps.

I recently got some desktop speakers for my office. I like to move my laptop around the house, and I'd like to avoid having to plug the speakers in/out when I come into the office if possible. I'd also like my wife to be able to play music to the speakers, and her desk isn't close to them.

One option is the AirPort Express. I would use it in the office + plug my speakers into it, so I can just select the speakers as my output device when I come in. However, I wouldn't want my laptop to connect to the express's network, since it's only 802.11n, capable of ~50mbps.

Is it possible for the AirPort express to make my speakers available on the main wifi network, but for my laptop to somehow "ignore" the extended network coming from the Express? Can I choose to only connect to the "a/c part" of the network? Can the two spectrum bands be used to solve this?

Yep - just configure the express to "Join a network" instead of "extending" it.


Brew install fails on gpg-agent? Is there another way to get gpg-agent in? I need GPG2 signing for RVM in order to provision a server.

The message

bash-4.3$ brew install --vd gnupg2
==> Installing dependencies for gnupg2: gpg-agent, dirmngr, libusb, libusb-compat
==> Installing gnupg2 dependency: gpg-agent
==> Downloading ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

curl: (28) Connection timed out after 5004 milliseconds
Trying a mirror...
==> Downloading ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

curl: (7) Failed to connect to ftp.mirrorservice.org port 21: Operation timed out
Error: Failed to download resource "gpg-agent"
Download failed: ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

Unfortunetly nothing too informative...

Fixed with:

$ brew edit gpg-agent
    - mirror "ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"
    + mirror "http://mirrors.dotsrc.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"

$ brew install gpg-agent
$ brew install gnupg2


VPN (PPTP) disconnects in OS X El Capitan (after update) OS X - 10.11.4 El Capitan
Macbook pro Retina Mid 2015
VPN type is PPTP, automatic encryption, All traffic over VPN.

When connecting to a VPN server, the system mentions that the connection could not be established. The connection was working before the update.
Here is the log from the console:

29-03-16 13:21:17,116 nesessionmanager[1014]: NESMLegacySession[VPN (PPTP):F5CF80F6-DB7E-4039-BC09-AD38FE019991]: Received a start command from SystemUIServer[1477]
29-03-16 13:21:17,116 nesessionmanager[1014]: NESMLegacySession[VPN (PPTP):F5CF80F6-DB7E-4039-BC09-AD38FE019991]: status changed to connecting
29-03-16 13:21:17,123 pppd[2023]: NetworkExtension is the controller
29-03-16 13:21:17,123 pppd[2023]: NetworkExtension is the controller
29-03-16 13:21:17,140 pppd[2023]: publish_entry SCDSet() failed: Success!
29-03-16 13:21:17,140 pppd[2023]: publish_entry SCDSet() failed: Success!
29-03-16 13:21:17,140 pppd[2023]: pppd 2.4.2 (Apple version 809.40.5) started by lukevanenkhuizen, uid 501
29-03-16 13:21:17,140 pppd[2023]: pptp_get_router_address
29-03-16 13:21:17,140 pppd[2023]: pptp_get_router_address 192.168.10.254 from dict 1
29-03-16 13:21:17,141 pppd[2023]: PPTP connecting to server '95.97.141.150' (95.97.141.150)...
29-03-16 13:21:30,495 CalendarAgent[304]: [com.apple.calendar.store.log.caldav.coredav] [Refusing to parse response to PROPPATCH because of content-type: [text/plain; charset="utf-8"].]
29-03-16 13:21:30,580 CalendarAgent[304]: [com.apple.calendar.store.log.caldav.coredav] [Refusing to parse response to PROPPATCH because of content-type: [text/plain; charset="utf-8"].]
29-03-16 13:21:32,249 pppd[2023]: PPTP connect errno = 60 Operation timed out
29-03-16 13:21:32,250 nesessionmanager[1014]: NESMLegacySession[VPN (PPTP):F5CF80F6-DB7E-4039-BC09-AD38FE019991]: status changed to disconnecting
29-03-16 13:21:32,252 nesessionmanager[1014]: NESMLegacySession[VPN (PPTP):F5CF80F6-DB7E-4039-BC09-AD38FE019991]: status changed to disconnected, last stop reason None
29-03-16 13:21:32,319 UserNotificationCenter[2026]: *** WARNING: Method userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
29-03-16 13:21:35,000 syslogd[48]: ASL Sender Statistics

What does this mean? Any help would be highly appreciated!

I've been struggling with VPN since 10.11.4. I'm unable to connect to a VPN server that I've used for a long time. I hope this is not noise, but here's what I have encountered in my research...

My problem is with an L2TP tunnel. https://discussions.apple.com/thread/7502488 discusses a potentially related problem with respect to Cisco IPSec VPN. The interesting part there is that some have reported success changing to Diffie-Hellman group 14.

Slightly related is the App Store description of the 10.11.4 OS X server where they say "L2TP/IPsec VPN profiles now require 2048-bit or stronger Diffie-Hellman groups". This is consistent with the group 14 reports above since group 14 has 2048 bits.

At https://supportforums.cisco.com/document/12276506/diffie-hellman-groups they discuss the relative strengths of the various groups. One post says that group 14 is the minimum acceptable security for key exchange.

So I've started to think that Apple is now ruling out groups 1, 2, and 5. This is bad for me since those are the only groups supported by the older tunnel server I used to connect to.

I also use Private Internet Access sometimes. I tested connecting to them using L2TP. It worked fine. However, even with verbose logging, I couldn't find any log entries related to a negotiated DH group. But PIA is a security focused service. So, I'm guessing they would avoid a DH group considered insecure by some.

I contacted Apple Care. They were unable to help. I didn't push them to escalate it.

I tested from my Mac using wireless, Ethernet, and tethered to my 3G phone. My work partner, running an older mac that hasn't been updated to 10.11.4, connects fine to the server.

I also tested with my iPhone. It cannot connect either. Unfortunately, I've updated that recently to iOS 9.3. forums_developer_apple_com/thread/31608 reports problems with iOS 9.3 in addition to OS X 10.11.4. (Sorry, I don't have enough reputation to post that third link.)

Regards,
Barry


How can I tell if a shortcut is already used? I know how to list user shortcuts for an app (in this case PowerPoint) like this:

defaults read com.microsoft.PowerPoint NSUserKeyEquivalents

But is there a way to list the default shortcuts via the command line (applescript is OK)? That way I could avoid overwriting existing ones, and I wouldn't have to test manually every shortcut I want to add.

This isn't possible since the app doesn't store what shortcuts it may make available, as it can change the menus as it wishes or use a shortcut for something not available in a menu.

When user shortcuts are added and the user presses the shortcut, macOS looks through the menus to find the menu item which matches the name you enter. This is a runtime check performed when the shortcut is actioned, since it's not possible to check prior to this. This is why the text which you enter for the menu item in System Preferences is a freeform box, since it's not possible to enumerate every menu item which could exist for an app.
Apps don't have to restrict shortcuts to items available in the menus. Apps can trigger on shortcuts without registering a companion menu item. This is the second reason the shortcuts can't be enumerated.


My user preferences are gone after restart I restarted my computer and it's like I have a new install.

The system tells me it can't find a telephony file and my login startup items are gone. All my Finder preferences and other settings are gone.

I am using El Capitan 10.11.6 and my home folder is on an external drive.

Has anyone ever seen this?

I believe somehow my external drive was momentarily disconnected and after I restarted it was like a brand new computer.

I restored from my last time machine backup and everything was back to normal except....my external drive was missing from the last time machine backup.

Time machine then backed up my entire external drive again.

It seems all is well now.

The moral to the story.....don't go without time machine or some other backup scheme.


Cisco AnyConnect causes OS X to kernel panic My Macbook Pro 15" (Early 2011 - the one with Thunderbolt port) constantly kernel panics whenever Cisco AnyConnect establishes connection.

The panic tends to happen in the first ~30 seconds after connection is established.

The crash log is available here:
https://gist.github.com/d947e73b0b6c17a863b7

Any thoughts?

Some details:
Macbook Pro 15" i7 Early 2011 (the one with Thunderbolt)
Cisco AnyConnect version 2.5.2019

PS. I asked this question on the Apple Support forum, but so far I have got no answer :(

EDIT: This problem originally occurs in Snow Leopard, but problem persists in Lion (10.7), even after a fresh install (not upgrade from 10.6)

I've experienced the same issue on an iMac running OSX Lion (10.7.3). I submitted a bug report to Apple and tweeted at @anyconnect. You will need to work with Cisco support or use another version of the app unless we can narrow down the specific setting that is causing this crash.


Can I open files from unknown "developers" and still forbid applications from unknown developers? I'm trying to open a .txt file in Sublime Text 3, but macOS won't let me because it says it's from an unknown "developer". I can totally understand this warning when it comes to applications, but I don't think it's warranted when it's just a text file.

Can I somehow make it possible to open text files from the internet without making it possible to run applications downloaded from untrusted sources?

This method lets you allow a single file to be opened.
 1. Find the file in finder.
 2. Press ctrl.
 3. Click on the file.
 4. Click "Open".
 5. Click OK in the Prompt.

Be aware this will disable the security checks of the file, maybe the file contains malware


Why isn't KeyRemap4MacBook's "PageUp/PageDown to Left/Right (only in iPhoto)" setting working? I have "PageUp/PageDown to Left/Right (only in iPhoto)" checked in KeyRemap4MacBook (version 7.5.0):

And I've confirmed that my (non-Kensington) wireless USB gadget shows a PageDown and PageUp in KeyDump when I press the next slide and previous slide buttons:

eventType:keyDown   code:0x79   name:PageDown   flags:Fn    misc:characters:
eventType:keyUp code:0x79   name:PageDown   flags:Fn    misc:characters:
eventType:keyDown   code:0x74   name:PageUp flags:Fn    misc:characters:
eventType:keyUp code:0x74   name:PageUp flags:Fn    misc:characters:

But when I put iPhoto (version 9.2.1) in slideshow mode, the right and left arrow keys change the photo, but the buttons on my gadget don't work.

Any ideas why this isn't working? I thought perhaps KeyRemap4MacBook is remapping my MacBook Air's internal keyboard, but not the external USB keyboard that my gadget is pretending to be.  But fn-Down-Arrow and fn-Up-Arrow (which show as PageDown and PageUp in KeyDump) also don't work in iPhoto.

(My MBA is running OS X 10.7.2.)

I posted my question on the KeyRemap4MacBook Google Group, and got a reply from Takayama Fumihiko, the creator of KeyRemap4MacBook.  He had me send him the vendor ID and product ID for the device, and sent me back a private.xml file with a new setting that worked.  (The pre-defined "PageUp/PageDown to Left/Right (only in iPhoto)" setting only works with the vendor ID and product ID for the Kensington K33374 USB remote.)

Here's the private.xml file contents:

<?xml version="1.0"?>
<root>

  <devicevendordef>
    <vendorname>Tenx_Technology_Inc</vendorname>
    <vendorid>0x1130</vendorid>
  </devicevendordef>

  <deviceproductdef>
    <productname>Tenx_wireless_USB_gadget</productname>
    <productid>0x6604</productid>
  </deviceproductdef>

  <item>
    <name>PageUp/PageDown to Left/Right (only in iPhoto)</name>
    <appendix>(This is effective only with "Tenx_wireless_USB_gadget")</appendix>
    <identifier>private.pageupdown2leftright_iphoto</identifier>
    <only>IPHOTO</only>
    <device_only>DeviceVendor::Tenx_Technology_Inc,DeviceProduct::Tenx_wireless_USB_gadget</device_only>
    <autogen>--KeyToKey-- FROMKEYCODE_PAGEUP,   KeyCode::CURSOR_LEFT</autogen>
    <autogen>--KeyToKey-- FROMKEYCODE_PAGEDOWN, KeyCode::CURSOR_RIGHT</autogen>
  </item>

</root>

See the "How to add new settings" section in the KeyRemap4MacBook documentation for instructions on what to do with the private.xml file (except replace the file instead of editing the original one with a text editor).


Why is this item bold in the Bluetooth menu? Can anyone tell me what the bold text means in this image of my Bluetooth menu?

It seems that the mouse might be interfering with my keyboard, and I'm wondering if this is trying to say that?

It means that particular device is active (in this case it's your Logitech mouse).


Accessing dictionary keys using defaults How do I use defaults to access a specific field in a dictionary? I've tried doing this

$ defaults read -app Terminal "Window Settings.Pro"

but it doesn't work. Accessing "Window Settings" on its own does work though, and Pro is a key in that dictionary.

defaults isn't capable of doing this.

One of the options you have is plistbuddy :

/usr/libexec/PlistBuddy -c "print 'Window Settings':Pro" ~/Library/Preferences/com.apple.Terminal.plist


"Could not find RubyGem rails" on 10.7.1 Server I just cannot get Rails to work on my 10.7.1 Server installation. After having run CC=/usr/bin/gcc-4.2 gem install rails --force as root, I still get this:

% rails
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::LoadError)
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
  from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
  from /usr/bin/rails:18

RVM doesn't appear to be producing a working install either.

To cap it all, this lack of Rails is preventing Profile Manager from running.

Does anybody know what could be going wrong here? I've tried a clean install of 10.7 (not Server, though) on another machine, and Rails runs fine in that. I'm not particularly keen on nuking and reinstalling my main system, though!

Try upgrading rubygems or try uninstalling rails and installing back again using gems.

gem update --system
gem uninstall rails
gem install rails


How can I prevent a forced iOS7 upgrade when restoring iPhone 4s from backup For some reason my iPhone 4s (running on latest iOS 6 and never jailbroken) has crashed and is stuck on a rebooting loop. I tried to restore my iPhone from a backup I made about a week ago. iTunes prompted me to install the latest version (11.1) and I went ahead and did this, remembering that I saw somewhere that you need to be running the latest version of iTunes to be able to restore.

However, as soon as it picks up the iPhone in recovery and I press "Restore" it forces me to update to iOS 7.  At this point I have pressed "cancel", as I'm concerned that if I go ahead and update, I won't be able to restore my phone with last weeks backup, because this  was backed up under iOS 6.

How can I restore the phone to iOS 6 and recover my backup?

You may be stuck on iOS 7 if you don't have a way to get that software from Apple's servers. Typically only registered developers can download several versions of software, but if you search - there are many places that archive these software ipsw files. It's always a bit of a risk downloading software from a place other than the vendor, but I don't know of a better option.

Typically, when a new OS is released, iTunes will only download the latest software if you don't already have an older version of the software stored locally. Is there any chance that computer (or another computer) downloaded iOS 6 and still has it on the hard drive? If so, you can decline the offer to upgrade and restore the device from that version of firmware.

As was covered in the comments - there is no restriction to load iOS 6 backup on iOS 7. Also - this is more about the computer and iTunes having the old iOS file already downloaded than something that's inherent on the device. Any change you have a backup copy of the iOS files iTunes downloaded?


Am I allowed to use an apple device from placeit.net with an app screenshot on Twitter? I've built an iOS 8 app and I'm not 100% sure if I'm allowed to use a photo of an iPhone 5s running my app as a timeline picture on Facebook and Twitter (support pages)? The device will only be visible from the front, hence leaving the Apple logo hidden.

Thank you!
Erik

You may want to check this answer:

  You will get lots of free iPhone 4s images from internet. There are
  lot of sites which provides freebies for designers here is a link

  365psd.com www.pixeden.com

  BR, Hari

If you are part of the apple developer program you can access the marketing section and get the iphone images that you are able to use.

Hope it helps.


Not receiving droid texts on iphone I gave my granddaughter my samsung android phone when her iphone got broken. I now have an iphone. I have to send her texts using SMS (turned it on in settings) but when she answers I do not receive her replies on my iphone 5.   I've noticed my messages to other iphone users are not always iMessages anymore.  Frustrated with not being able to communicate with granddaughter.  Does it have anything to do with the droid was my phone before and used same number?

It doesn't have to do with your Number, it's a known Bug which happens to all iPhone Android switchers.

It has to do with the way Apple has made its iMessage service.

Thanks to an ongoing issue with the way Apple built its iMessage platform, users who switch away from an iPhone to an Android phone or any other cell phone are faced with a huge problem: once they bail on the iPhone, they often can’t receive text messages from contacts who are still using iPhones. This is because Apple’s system still sees them as iMessage users, and it tries to deliver messages sent using Apple’s Messages app as iMessages. To make matters even worse, the iPhone users who send those messages see their status as “delivered” even though they are not being received.

source http://bgr.com/2014/05/19/fix-imessage-iphone-bug-android-sms/.

i hope this will help you.


How to update apps outside the US? I bought my macbook pro in HK and I live in China.
As a new user, I don't understand why I can't update my apps and I see this message:
"Your Apple ID is not valid for use in the Chinese Store. To create a new Apple ID, you must switch to the U.S. Store."

What am I supposed to do? Apple is really weird with these "border limits" in a global world. Please help!

Thanks

I don't have any particular experience with overseas connectivity but I wonder if getting a VPN service specifically from Hong Kong with an exit there would fix the issue. This might allow the HK Apple store to see your MacBook as local to HK rather than where you actually are and connect you to the HK Apple store. I know people do this all the time to connect to TV streams overseas from their home country, might this work the same?


Why is exFAT so slow on Mac? I tried exFAT in order to use my external hdd on both mac and windows but I found it's so much slower than HFS+. The speed is noticeably different when I tried to fast forward movies (over 4gb).

exFAT was recommended in this question.

exFAT is a file system optimized for flash drives, meaning storage devices without moving parts where seek times are constant. It sounds like you're using it for a mechanical hard drive – which is what's causing the poor performance that you're experiencing.

You should reformat the drive to HFS+ or FAT32 and only use exFAT for solid-state drives.

ref: http://en.wikipedia.org/wiki/ExFAT


Backing up iPhoto pictures and folders from the command-line I'd like to install a new OS X on a MacBook and I'd like to know what needs to be done to backup only the iPhoto pictures.  I definitely do not want to backup the entire /Users/Cedric/ directory.  All I need is my iPhoto pictures and all the iPhoto "folders".

Ideally I'd like to do this over the network using ssh / scp.

Your whole iPhoto library is stored in ~/Pictures/iPhoto Library. If you look at it in the Finder it appears as a single file but it's actually a package (aka directory structure). So in order to back it up over ssh/scp you can use one of

scp -r ~/Pictures/iPhoto\ Library user@remote_host:
rsync -a -e ssh ~/Pictures/iPhoto\ Library remote_host:


Where does the Add Account information auto-populate from In System Preferences, under Mail, Contacts & Calendars if you add an account (Microsoft Exchange or GMail) a few of the fields are auto populated (ie Name and email address).

Where is this information pulled from?

I suspect it is from the information entered when you register the Mac on first boot. Can someone please confirm this?

Also, is there an easy way to modify this information so it doesn't autofill with the incorrect name/email?

Thanks.

There should be a contact in Contacts.app which has a little head and shoulders silhouette next to it in the list and a grey bar with "me" across the picture.

I think you are right that this is created when you first started using the computer.


Any free and reliable app to display Markdown documents in macOS? Sometimes we add a file readme.txt in our folder for notes or things to know about.

Using Markdown, it is pretty easy to make it into a nicely formatted document. Can we write a README.md and can use any free and reliable app and use the Mac to read it?

(So far I know Atom has a Markdown-preview which can be activated by using the keyboard shortcut Control + Shift + M, but if there is a one click preview app, it'd be the best. There is a Quick Look plug-in, but I am wondering if I should alter my OS? If there is a trustworthy app that can do it, it'd be best).

Xcode : if you already use it.
Sublime text:  https://www.sublimetext.com you can also install plugins suitable for you. It is much smaller than Xcode, doesn't exceed 100 MB, despite several packages.

Install packages using cmd+shift+p and then typing "install package". Then type the name of the package, it would show you the webpage of the developer where you can find the documentation.
VSCode: with some extensions it can work.


How do I install .NET Core on OSX? What commands are needed to install .NET Core on OSX?

These instructions come from the Microsoft site.

Install HomeBrew:

(Paste into Terminal.)

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

Update homebrew:

brew update

Install OpenSSL:

Source

brew install openssl
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/

Finally install .NET core, download here:


Is it safe to install a third party high capacity battery into my iPhone 5S? I stumbled upon this battery on Amazon and I was wondering if it'd be safe to install it into my iPhone 5S, assuming it's actually compatible.

No it is not safe.

Not for technical reasons -- That is impossible to judge -- but look at the seller's profile on amazon. They have thousands of items for sale, yet they have a total of two customer ratings; one rating one star the other two stars (out of five)!

This looks very much like a scammy outfit that changes its name when it gets bad reviews. Run away.

Also: shipping time 20 to 30 days?!?


Cable / io spec for using 2x external displays on an iMac Im looking at buying a new 21.5" iMac.

I want to connect 2x external 1080p or 4k displays to this, these displays will have either HDMI or DVI conncetion.

I notice that there is 1x mini display output on the iMac so i can use a convertor to use that for 1x display. But what should i use for the second external display ?

According to the specifications on Apple.com iMacs have...

  Two Thunderbolt 3 (USB-C) ports with support for:

DisplayPort
Thunderbolt (up to 40 Gbps)
USB 3.1 Gen 2 (up to 10 Gbps)
Thunderbolt 2, HDMI, DVI, and VGA supported using adapters (sold separately)

So the adapters you need (sold by Apple or lots of other places) will have USB-C on one end and whatever connector your monitors have available on the other.

Apple sells some nice LG displays that have USB-C video connectors but you may not need something like that in price, performance or color fidelity depending on your specific needs. A less expensive monitor might suit you fine. I would look for ones with Displayport (mini or otherwise) and/or HDMI as you will have smaller connectors and an all digital path for the video signal.

Monitors often come with cables already, select your adapters to connect to the cables your monitor comes with or recommends.


where is previous Terminal sessions info stored? When My computer crashes while using Terminal, I see this kind of screen when I reopen Terminal, showing me what was previously on the Terminal screen.

Where on my hard drive is that information (the one above the grey line which reads "Restored Jan 27, 2018 at 7:07:50 PM") stored for Terminal to show after the crash?

The history files for the Bash-Terminal are located within:

  ~/.bash_sessions/

(and called *.history)

or in this file:

  ~/.bash_history

(Both of them are hidden)

You can find other log files if you open the console app.

If you are curious about the Terminal.app log see
here.


Unable to update after iTunes ID has been changed Til last week I was using abcd@gmail.com as my iTunes account. Now I have changed my account to abcd@yahoo.com .

I have few pending updates on my App Store.
When I am trying to update it, I am asked to login into abcd@gmail.com iTunes. How do I sync all the existing apps with the yahoo id ?

Apps, books, tunes & even the iOS itself belong to the ID that purchased them.

When you say you have 'changed your account' I'm guessing that rather than simply changing the primary email address on your old ID, you've set up a brand new one.
This will now leave you in the position that each time you need to update the OS or any app, you will need to sign in with the old ID again.

It is not possible to transfer any apps, books or tunes from one account to another so unless you completely erase the device & start afresh with the new ID, repurchasing previous software, then you are stuck with this double sign-in.

The additional problem with having set up a new Apple ID with your new email address is that you can now no longer change your primary address on your old ID to that address.

This is the method to change a primary email address - for future reference.
You may be able to call Apple & see if anything can be done now, but I'm not sure it can.

Change your Apple ID

Follow these steps to change the email address that you use as your Apple ID.

Sign out of iCloud, the iTunes & App store, FaceTime, Find My Friends, Find My iPhone, and iMessage on each device that uses your Apple ID.
Sign in to your Apple ID account page.
In the Account section, click Edit > Change Email Address.
Enter the email address you want to use as your Apple ID. A verification code will be sent to your new email address.
Enter the verification code from the email into the fields provided and start using your updated Apple ID. Didn't get the email?

You can change your Apple ID to any other email address you control, as long as it's not already in use as an Apple ID. If your email address ends with @icloud.com, @me.com, or @mac.com, you can't change your Apple ID and you won't see Change Email Address on your account page.


Terminal goes slow after install Mavericks OS After I've update my OS to Mavericks.

Terminal goes really slow, I've found out that the problem must be from Xcode.

While I remove Xcode from my computer terminal works fine, and after I installed Xcode,  it goes slow again.(It takes like 2 second for ls command)

Please help.

PS. my computer is MacBook Pro with Retina.

I had the same problem to and I was looking for the way to solve it.

Checking at the issue that Adam Albrecht commented, it looks like the problem was being caused by the zsh vi-mode plugin in combination with the apple provided git.

Installing git from homebrew solve the problem without having to deactivate the vi-mode plugin


Permissions error when downloading or quick-looking attachments in mail.app after symlinking Mail Downloads directory Awhile back, I symlinked my ~/Library/Mail Downloads directory to ~/Downloads so that my email attachments would be downloaded to the same location that all my other applications download files to.

When I upgraded to Mountain Lion, I noticed that the Mail Downloads folder had been restored.  So I deleted it and recreated the symlink the same way I did for previous versions of OS X.

Now, every time I try to download or quick-look an attachment in mail.app, I see the following error (might not be exact; translating from Spanish):

  Mail was unable to save the attachment "..." to disk.  Make sure that the downloads folder has write permissions.

Some of the fixes I have tried:

Making ~/Downloads world-writable.
Removing the symlink and re-creating the directory.

Making that directory world-writable.

Repairing permissions via Disk Utility.
Changing the location of the Downloads Folder preference for Mail.app to ~/Downloads.

How do I restore the functionality of my Mail Downloads folder (preferably so that it is symlinked to my home Downloads folder)?

Assuming Mountain Lion...

Quit Mail

Delete the ~/Library/Mail Downloads folder.

Delete the ~/Library/Containers/com.apple.mail folder.

Restart Mail

Rebuild Mailboxes

Set your Downloads folder in Mails preferences to ~/Downloads.

Better?


Download manager for the iPad What's a good (paid or free) download manager app for the iPad? I tried using iDownloads+ Free, but it seems to unreliable when the connection is spotty.

Atomic Webbrowser
This is a very advanced web browser with a Download Manager.

Download a file or image in the background.
Simultaneous downloads.
Suspend and resume downloads.


iPhone/iTunes backup books from iBooks I have some books in iBooks that were opened from third-party apps, so they are not on my mac. I would like to save them in iTunes and don't find a way to do it.

For example there are some apps, that allow you to copy music, photos or videos from iPhone/iPad, but i found none that could do books.

Any ideas?

I've not heard of any apps that allow you to copy iPhone > Mac / PC, but I vaguely remember mine just copying them over anyway.

http://support.apple.com/kb/ht4227 suggests that they will be copied over automatically.


When buying online, how do I know the exact CPU type? Apple seems not to be willing to give details about the CPUs it embeds in its laptops. Nothing beyond "i5" or "i7" anyway. The thing is, I want to choose a CPU that performs well on benchmarks.

I want either to be able to check whether the CPU is one of those I think are ok or look for benchmarks for the CPU of a particular laptop.

I couldn't find any model ID I could look up.
Did I miss something ?

Though Apple doesn't provide the info on their website, there are a number of tools that allow you to easily find what CPU is being used.

Let's take a look at the highest configuration of the iMac 27" 5K for our example.

Apple's website lists a 3.3GHz quad-core i5 and a 4.0 GHz i7. Viewing ark.intel.com, we can see the current Skylake generation (6th gen) of processors has two processors that align with what's in the iMac: the i5 6600 and the i7 6700K.

However, this method requires some guesswork and a little bit of searching. There are easier methods.

The app MacTracker provides a slick interface for viewing the specs of almost every Apple product to date. Looking at the entry for the 5K 27" Late 2015 iMac, we can see the available CPU options.

If an app isn't quite your style, everymac.com has a list of almost every Mac with specifications as well.


Word prediction / typing suggestions not available in Macbook Pro Touch Bar while working with MS Word Word prediction / typing suggestions is not available in Macbook Pro Touch Bar while working with MS Word.  Only formatting menu is appearing in the touch bar like Bold, Italics, Underline etc.

Touch bar functionality is app specific and I don't currently see a way to customize the touch bar on Microsoft Word (it would be somewhere in the menu bar).


Am I supposed to have access to "com.apple.TCC"? I was doing some snooping around on my MacBook Air after the update to macOS Mojave and noticed a folder that I have permission to view its contents that I don't have permission for on my iMac. The folder in question is "com.apple.TCC" under the Application Support folder, the path from the Finder is by selecting the following: Macintosh HD -> Library -> Application Support

I was just poking around and noticed that the folder was inaccessible on the iMac and it had me wondering as to whether or not I should have access to it in the first place. I wasn't going around aimlessly deleting/modifying any of the files, I was just curiously looking at them and nothing more.
I find it quite strange that my MacBook is able to view the contents, but the iMac is not and was wondering if others can confirm if they can/cannot view its contents.

Apparently the TCC database stores the "privacy database": settings from System Preferences > Security & Privacy > Privacy.

See https://eclecticlight.co/2017/01/09/controlling-privacy-in-macos-sierra/ and man tccutil.

The article says

  ... this is managed in a special TTC database, which is stored in the folder ~/Library/Application Support/com.apple.TCC. There is also a master database stored at /Library/Application Support/com.apple.TCC, but you cannot open that folder, as only the system has that privilege.

On my iMac running High Sierra:

$ ls -ld /Library/Application\ Support/com.apple.TCC ~/Library/Application\ Support/com.apple.TCC
drwx------  3 root    admin  102  4 Oct 11:15 /Library/Application Support/com.apple.TCC
drwx------  3 ashley  staff  102 29 Jun 16:13 /Users/ashley/Library/Application Support/com.apple.TCC

Note the different ownership: the one in /Library (= Macintosh HD -> Library) is owned by root, and the one in my home folder (~/Library/Application Support = /Users/ashley/Library/Application Support) is owned by me. Because the permissions are drwx------ in both cases, only the owner can see into the folder... so when I look in Finder, the one in /Library has a "no entry" sign on it (because I'm not root), but I can open the one in my home folder, and see there is a file there named TCC.db.

I don't know why you see a difference between your MacBook Air and your iMac. In older times, I'd recommend you "repair permissions", but I believe that facility has gone away in the recent operating systems.


Does Reset and "Erase All Content and Settings" removes iOS updates? I want to reset and clear the iPad.

But I would like to keep the iOS updates.

No. Factory resetting your phone only deletes the user data; the operating system and firmware will still remain the same.

That means, if your iPhone is running iOS 9.3.2 before you reset with Erase all content and settings, it will be running iOS 9.3.2 (minus all of your data) once it starts up again.


Macbook Pro gets slow frequently when connected to external monitor via HDMI cable Hi I have a Macbook Pro (2019). Both my laptop and external monitor is getting slow frequently when i connect to a LG 4k external monitor. I am using typec to Hdmi adpater to connect to monitor.
My Laptop details:

Also when this happens videos are getting pixelated (can be seen in the below image).

All I can see is that my kernal_task is consuming too much cpu but not sure why this is happening.

I have took some screenshots of temperatures from tg_pro app when this issue occurred, and it seems fine.

Any Idea, How I can fix the issue?

This looks like you have a faulty cable and I would look into replacing that immediately. The faulty cable is also causing the performance issues as kernel_task with such a high CPU usage means it is thermal throttling hard.
I've always used the Choetech brand for my USB-C to HDMI but PrimeCables will do as well. Make sure you're getting something rated for 4K 60Hz and check the reviews on whatever you intend to buy. As an aside, I'd look into a USB-C to DP adapter instead as this can result in a better experience with certain monitors.


Can Numbers create stacked column charts with two columns for each category? I'm trying to create a column chart in Numbers where each column is also stacked. For example, consider the following data.

Here we have numbers for the total sample and numbers for how that total is actually the average of two segments. I've already graphed a stacked column chart of the total sample, which looks something like this:

Now I'm trying to create a chart that shows the differences in the segments while also displaying the stacks for each individual segment. For the above data, it might look something like this:

I've successfully created the column charts in Numbers that show the total sample stacked or that show the segments, but unstacked. I'm trying to create one that shows the segments comparison with the stacked totals.

Is this possible in Numbers? Excel? Or should I just do it manually (which will really suck, because eventually I'm going to have dozens of these) in OmniGraffle?

EDIT (Complete revision):

Based on your data, the only way to accomplish this without redesigning the table is to create separate charts for each Segment shown.  As each segment has 4 pieces of data, this is the only way to do this.  (There may be someone out there who is a charting expert that could do much better, I'm sure)

First, as you have done is to make a Total chart:

Then crate separate charts, positioned together for the segments:

The charts can be edited for looks and data views in the Inspector but that is beyond the scope of the question.


Can you work with Vim on iPad Mini with an external keyboard? I'm considering to buy an iPad Mini and use it -- among other things -- for programming using Vim. I would connect via SSH to a Digital Ocean server and start Vim there. I would use an external (physical) keyboard when working with Vim.

Which app should I use on the iPad to get the best VIM experience over SSH and which issues (e.g. due to keyboard layout) I have to expect?

PS: Note that I don't intend to use the iOS port of Vim.

I use Prompt 2 to connect over SSH to my server. It's a paid app, but I never had an issue with it, it's really reliable. If your connection is good enough you won't appreciate any lag. Vim works great with it.

Can't tell you about external keyboards.


Disk Utility in High Sierra 10.13.1 partitioning fail Before moving to Mac Sierra, main media disk was portioned in two volumes;
Main with OS space 200GB, Subsidiary with 800 GB.

I wanted to delete the subsidiary to merge it again with the Main, and then resize the Main to 400GB, and the remaining 600GB to a new volume.

It didn't work:
main stayed, the previous Sub volume of 600 disappeared completely and was in hidden modus added to the Recovery HD.

Now we have the following status:

iMacvanFreddy2:~ freddyvandercruyssen$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            201.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             798.8 GB   disk0s3

/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *15.5 GB    disk1
   1:                       0xEF                         4.1 MB     disk1s2

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        +536.9 MB   disk2
   1:        Apple_partition_map                         32.3 KB    disk2s1
   2:                  Apple_HFS StellarPartitionManager 536.9 MB   disk2s2

diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            201.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             798.8 GB   disk0s3

/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *15.5 GB    disk1
   1:                       0xEF                         4.1 MB     disk1s2

what commands to enter to resize the HD recovery disk, and to regain the rest of the volume in a new part

You have to remove the recovery partition - it's probably broken; at least it's consuming 80% of your disk. Then you have to resize your main partition disk0s2. Finally restore/rebuild the recovery partition.

Open Terminal.app and enter diskutil list to get the details
Check the disk: diskutil verifyDisk disk0.
diskutil eraseVolume Free n disk0s3
diskutil resizeVolume disk0s2 R to resize the main volume to the max.

If the R size option fails try to use a real size like 120g or the percentage 100% (on some external disks this may fail because of some 2 TiB limit).

diskutil resizeVolume disk0s2 1000g

or a little less if this also fails

diskutil resizeVolume disk0s2 999800m

Recreate the recovery partition by downloading and reinstalling the latest High Sierra version (10.3.2 as of time of writing). Reinstalling won't delete your data. A Time Machine backup is recommended though.


How to avoid apps being re-arranged when synching with iTunes? I very rarely synchronise my iPhone with iTunes. Because every time I do it all apps are re-arranged on the phone to like they were at the time of my last synching.

Apps that I deleted on the iPhone are transferred to it and folders and location of the icons are out of my preferred order.

How can I avoid this?

You could disable App syncing completely on the apps tab. Then iTunes will not sync the apps anymore and so it won't re-arrange them.
The drawback is that new apps won't be downloaded to your Mac/PC anymore. So in case you have to restore your iPhone using iTunes you will have to re-download all the apps. But as your purchases are connected to your Apple ID you will not loose the apps. They're just not stored on your Mac/PC.


Why are my Apple Developer emails blue? In Mail.app, the "Apple Developer" emails I get have a blue background, in the message list.  Why?  And how can I turn this off?

Mail automatically highlights emails from Apple. You can turn this off in the Rules tab of Mail Preferences.


OS X default input language I have three languages in macOS Sierra. I want to set a default one, when I open new window in browser, for example, English.

Usually it's so but sometimes it's another one that I use rarely. And I can't understand when it's English and when another one.
I'm new to Mac, in Windows there is default language option. Is there some option like this in macOS?

You keyboard input language is controlled by system preferences/keyboard/input sources and what you select in the "flag" menu in the Menu Bar (not by Language and Region).  Check your settings there.


How to install CPAN modules from the command line on OS X? Simple question: How to install CPAN modules on OS-X like normal Linux/Unix way?

I just want to type in cpan something like install Perl6::Say for example.

Open the /Applications/Utilities/Terminal.app and you have a unix prompt.

Both perl and cpan ship with OS X so you have nothing to install unless you want a different version of them than ships with your particular version and build of OS X.

Air:~ me$ cpan Perl6::Say
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...  Will write to
 <</Users/me/.cpan/CPAN/MyConfig.pm>>


AppleScript move tab Is there a way to move tab using the tab number in Google Chrome ?

something like this :

tell application "Google Chrome"
    set activeIndex to get active tab index of window 1
    tell window 1
        set TheTab to move tab 3 after third tab
    end tell
    set active tab index of window 1 to activeIndex
end tell

obviously the code is not valid

I do not believe this is possible using the Chromium suite.

Window provides the property ‘active tab index’ as get/set, however setting this only changes which tab the window has active, rather than setting the index of the tab itself (i.e. it changes the active tab to an entirely different tab).
One can get the ‘active tab’ from the window, but tab itself does not provide any relevant commands.
A new tab without focusing can only be created at the end of the list of tabs of a particular window.


How to add an CA to the default TrustStore in OSX and iOS Recently, I want to capture the ingress package in iOS, after I installed p12 using Safari. It shows can't establish secure link.
However after I add NSAppTransportSecurity/NSAllowsArbitraryLoads = True to ingress.app/info.plist. Ingress tries send package again and again. However the server only returns null package.
In the other hands. I tried to add the p12 to OSX and pip doesn't work fine, says cert error.
I think some app only trust the default TrustStore.

So here is my problem: How to add an CA to the default TrustStore in OSX and iOS.

Finally I found an old way to add cert to default Trust Store from [question]: https://stackoverflow.com/questions/347690/iphone-truststore-ca-certificates @Max Ried's method, however it's too old, and the TrustStore.sqite has been changed into the certsTable.data and I found no way to decode it, and Russian pdf might help [pdf]: http://dsec.ru/upload/medialibrary/b2f/b2fa8c121cc7f1ca94b63f34c22735e7.pdf
So is there any up-to-date method to install CA?

Both iOS and OS X can use configuration profiles to install certificates.

Apple has some nice documentation at https://help.apple.com/serverapp/mac/5.0/#/ for how to do that using Server.app. Luckily, you can use the same profile on iOS/OS X for certs although many other settings are unique to one or the other OS.

I would recommend using Apple Configurator 2 to make your profiles since it's free and graphical based. You might use Profile Manager on Server.app if you have lots of clients to configure and another MDM solution doesn't work for you.

No matter which tool you choose to craft the profile, it's just a file you place on a web server or email to the clients and then tap/click to install the certificate.


Quickly browse through different available Wireless networks for the iPhone? I was wondering if there is a Cydia App or some other way that provides a way to browse and choose different available networks in a very fast manner ?
I hate going through Settings > Wi-Fi > Network - I would rather have a drop down list from notification center or something similar.

Any suggestions ?

As fas as I know, there is only a concept video for Notification Center WiFi seleciton, and there is a Simple Wifi for Notification Center Cydia tweak that will show WiFi info in there, but I don't think there is actually something that gives you exactly what you want.

But really, it's just two taps. Settings icon > WiFi section. That shows you all available networks. If your current WiFi network goes off, a list of available networks will automatically pop up.


Upgrading MacBook with Crucial RAM sticks I have a MacBook Pro mc700 (early 2011), and I've bought a pair of 4Gb Crucial RAM sticks. The problem is that I'm not sure whether these RAM sticks are original or not, and I'm really worried about not being compatible with my MacBook Pro. Can anybody please help me to find out whether is it original or not?

The MacBook Pro (MC700) early 2011 supports 1333 MHz PC3-10600 DDR3 SDRAMs. Check the sticker on the RAM-module or on the packaging if it fits. Here is a link to all compatible modules with product numbers.

If they fit formally and physically put them in and run the Apple Hardware Test/extended memory test.


Is it possible to hook up macbook build in keyboard to Ubuntu PC? I need to work on both: Mac Pro and Ubuntu PC.

I would like to use one keyboard. It is more less simple to do with external Mac keyboard, but how to do it with build-in one?

External is not convenient, because I use 3 or 4 screens (including laptop one) and the whole 'work env' gets either too wide or too deep.

Have you tried Synergy? They say that it  lets you easily share your mouse and keyboard between multiple computers on your desktop.

There are some videos on Youtube which show how it works.


Why can't I download anymore apps on my iPad? I think I don't have anymore space. So what do I do now? Help?

As noted in another answer, you'll need to remove some data if you want to install new apps. What you remove really depends on what's taking up lots of space — it might be apps (games in particular tend to be large), videos or music.

You can get a good overview of what's taking up space on your device by going to Settings → General → Usage. You should see a breakdown of how much storage each app is taking up. You can also remove apps from this screen, or if tap on the Music or Videos apps, you have the option of removing some media files more granularly.


How can I see a list of my reviews in iPad Apple Store? I want to see a list of my rewiews so I can keep track of apps I have reviewed and perhaps share them to my friends. So, how can I preview my reviews, i.e. the feedback, feature-request and such things for developers to get better, in iPad Apple Store?

In the desktop iTunes application:

  Sign in to the iTunes Store.
  From the Store menu, chose View My Account.
  In the Settings section, click Manage next to "Reviews and Ratings."

from http://support.apple.com/kb/HT5024


A faster alternative for arrow keys? When editing texts, left and right arrow keys are frequently used. But it takes quite some time to move your right hand from the letters section to the arrow keys.

I used to use a Sony laptop, on which I could press "fn" with my left hand and then press "u" and "o" with my right hand to achieve the functions of "left arrow key" and "right arrow key", so my right hand seldom moved away from "jkl;". Neat.

Is there a similar resort on Mac?

Thanks!!

You can use this :

ctrl+A: beginning of line.
ctrl+E: end of line.
ctrl+U: delete from cursor to beginning of line.
ctrl+K: delete from cursor to end of line.
ctrl+W: erase word to the left.
ctrl+T: transpose characters around cursor.


Changing Default Apache version on MacOS Sierra A DHS sweep of the network showed that one of the researchers Macs is running a non-safe version of Apache (2.4.25) and they would like him to update to at least 2.4.27.

He is having difficulty getting MacOS to use the new version of Apache rather than the one installed by default with Sierra. His issues are:

Mac OS X 10.12.6 Sierra

I have installed httpd 2.4.27 . . .  /usr/local/apache2/bin/
but the default httpd running is located at /usr/sbin/
I cannot install a new httpd into /usr/sbin/  - no write persmissions for sudo
I made a root user active - but "root" does not have write permissions for /usr/sbin/ either

I cannot find any source on the web that describes how to change the httpd path from the default system version (/usr/sbin/httpd) to a new USER installed version, like /usr/local/apache2/bin/httpd

What steps am I missing?

To use a new version of Apache you need to disable the built in Apache version:

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

You need root access (an admin user and password for instance) to disable this. Then you can run your own apache - whatever source and location and version you want. This is better than replacing the shipping version since each macOS update can and will change the build in version. Side loading your preferred source of apache guarantees it will last outside the Apple update process. The only down side is you have to patch and secure this side loaded version.

One excellent way to side load a robust and easily patched version of apache https is with https://brew.sh homebrew package manager.

  $ brew info httpd
  httpd: stable 2.4.37 (bottled) Apache HTTP server
  https://httpd.apache.org/
  Not installed
  From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/httpd.rb
  ==> Dependencies Required: apr ✘, apr-util ✘, brotli ✘, nghttp2 ✘, openssl ✔, pcre ✘.
  ==> Caveats DocumentRoot is /usr/local/var/www.

  The default ports have been set in /usr/local/etc/httpd/httpd.conf to
  8080 and in /usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that
  httpd can run without sudo.

  To have launchd start httpd now and restart at login:
     brew services start httpd
  Or, if you don't want/need a background service you can
  just run:
     apachectl start

The other benefit is you can use brew services to set the daemon to launch at boot and it will respawn without you needing to make your own launchd / launchctl script or use crontab or equivalent.


Little Snitch uninstalled properly but Little Snitch Helper still here Long time ago, I uninstalled Little Snitch with the built-in uninstaller.

I also ran CleanMyMac and checked all possible leftovers on Hard Disk: /Library and inside Home Folder: /Library such as :

/Library/Caches
/Library/Preferences
/Library/Application Support
/Library/LaunchAgents
/Library/LaunchDaemons
/Library/PreferencePanes
/Library/StartupItems

But today I spotted a remaining of Little Snitch in setting > Privacy > Location : Little Snitch Helper.

If I right-click on it and do open in finder nothing appear and I'm not able to find it !

How can I get ride of it ?

Little Snitch Helper is installed in /Library/Little Snitch/Little Snitch Helper.app. But I assume that it properly deinstalled, the only thing remaining is the entry you are looking at which was required to give the application access to location data.

I just tried with some other "old" entries, you should be able to remove it by just unticking the entry (if it already is unticked, tick it first and then untick it again).


iTunes Connect : app submitted for French Store ended up in US Store I submitted an app which got reviewed and accepted. However when I search the App Store for the app, results are empty.

The issue was clear when I followed the "view on the app store" link from itunes connect : an error dialog popped up saying that "this item [...] is not available on the french store, but it is in the US store"

This is not the first app I submit, and it never happened before. All my previous apps were available on the french store. I don't understand what went wrong ...

Any ideas?

OK so in the end, Apple replied that "the app is live" after "reviewing [my] account".

Well, I don't know if they changed something or if the app finally went live worldwide with time... It's all good now


Is possible to reset the timer on a disabled iPhone without Wi-Fi or Cellular? After the screen was replaced on my iPhone 4S, I a got "disabled for 24+ millions minutes" text on my screen due to battery being unplugged. Unfortunately I have disabled cellular data and I wasn't connected to any Wi-Fi network. Is possible to unlock my iPhone without erasing data? I know the device's passcode.

Connect the device to the same iTunes library which the device synchronises with over USB. This will reset the disabled timer and allow you to enter your passcode.


Problem installing apps in 4th generation iPod touch I am running the latest supported version, iOS 6.1.6 on my iPod touch 4th generation.

But I can't download any apps from the App Store. Because it is asking for iOS 9. Now what should I do?

The current available public version is iOS 12.3, with iOS 13 due for release soon. iPod touch 4th generation can't update past iOS 6.1.6, and it is not possible to install iOS 9 on it.

iOS 6 is pretty ancient and not a lot of 3rd apps support it. There has been major design changes starting with iOS 7, and architectural enhancements in later versions of iOS. Most 3rd party apps go as back as supporting iOS 9 and later. You are restricted to running the stock Apple apps and a very limited number of 3rd party apps that support running on iOS 6.


How to use same TestFlight invitation from different devices? I want to test beta app with different devices, but when I open app from mail in TestFlight and try to start it refuse and shows "The invite has already been used". Any workaround?

As Janos said,
In order to get an invitation code again, the hack is to remove that email account from being a tester and re-add him again.
Apple will send him an email with a new redeem code.

Otherwise, Apple will send an email without a redeem code.


Copy columns of tables on web pages In PDFs in Preview I can select individual columns of tables by pressing the option key while dragging. This selects individual columns like this:

However, pressing the option key while dragging in a web page doesn't work and dragging just selects all cells of a table like:

Is there a way to select individual columns of tables on web pages?

If you're OK opening the HTML page in Chrome, then just use the CopyTables extension in Chrome:

https://chrome.google.com/webstore/detail/copytables/ekdpkppgmlalfkphpibadldikjimijon?hl=en


Can't change permissions on RAM disk Why can't I set root as folder owner?

diskutil erasevolume HFS+ "VTest" $(hdiutil attach -nomount ram://1165430)
cd /Volumes/VTest/
mkdir TDir
sudo chown root:wheel TDir/
ls -l
drwxr-xr-x  2 user  staff  68  7 янв 16:06 TDir

But it works fine for folders on any other drive(physical)

Creating a RAM disk this way disables ownership. To enable ownership additionally enter:

sudo diskutil enableOwnership diskX

To add folders use sudo mkdir folder_name. The folder has root:wheel 755 permissions then, but you can change ownership to other users later.


Is it possible to run both Xcode 3 and 4 side-by-side on the same machine? As the title says, can I have both versions of Xcode installed on the same machine?

To answer your question: Yes. When you install Xcode 4 (and its dev tools) your "old" Xcode folder gets renamed as Developer-old (provided you already had Xcode 3 installed)

To answer Ricket: Xcode 4 doesn't support a few things (yet) like Plugins and some features (like assembly code) are non existent in Xcode4 (perhaps yet or never) so if you rely on some things you might want to keep a copy of Xcode 3 around.

If you want to take a look at a good Xcode 4 review (and see some of the key benefits/drawbacks) have a look at this.


Weird iMessage behavior on Yosemite Something weird is happening with iMessage on my Mac. I can send and receive messages fine but when I close iMessage and reopen it, all my messages disappear. Also, if the app is closed and I get a message, I get a notification but when I open the app it's not there.

The conversations are all there but they are empty.

What I've tried so far:

Signed out of my account, closed iMessage and restarted the computer.
Deleted all plists related to iMessage in ~/Library/Preferences
Delete ~/Library/IdentityServices

What else should I try?

First make sure the "Save history when conversations are closed" is checked in "Preferences-->General" to have an archive of conversations in the future.

Second the Messages.app history and archives are saved to a couple locations in Yosemite.

~/Library/Containers/com.apple.iChat/Data/Library/Messages/
~/Library/Messages/

Backup the files in the folder ~/Library/Messages/ and save to a separate location to have a backup of your previous messages.(if they exist)

Then remove both the files in above paths:

rm -rf ~/Library/Containers/com.apple.iChat/Data/Library/Messages/*
rm -rf ~/Library/Messages

Restart Messages.app and the below message will appear that it is rebuilding your Messages database.  The couple times a have done this it resulted in having to just restart the machine as I didn't want to wait.

Just remember to make a backup of any files you delete as they hold archives of previous conversations.


How does iOS app Badoo tracks second registrations? I've got a message from support that I cannot use the service anymore, and if I register a new profile they will automatically track it and block it. As I read from Uber's case it's forbidden by Apple to track app reinstallation. So how will they track me?

advertisingIdentifier — I've disable it
Geoposition — I hope they wont block all users in my area
IP adress, social network profile — I've changed it
App Store payments I've made — if I get it right, billing info is not visible to the developer. But is it possible for developer to know if a user installed an application paid for it before?

Are there any other ways to track users?

iOS apps can use the DeviceCheck API to store two bits of persistent information per device on Apple servers. This data is not cleared when an application is uninstalled; some apps may use one or both of the bits to flag devices which have already taken advantage of a free trial, or which have been blocked for abuse.

This API cannot be used to track specific devices, as it is too small to store a unique identifier. (There are only four possible values which can be stored in two bits: 00, 01, 10, and 11.)

There is no way for you to clear this data, as it is stored on Apple servers.


Connect digital antenna to MacBook Pro Does anybody know if I can connect my MacBook Pro via a cable to the box on the wall that is connected to a digital antenna.

I'm renting a property and don't want to buy a TV I just want to watch free view via laptop. I do have a broadband connection....would that be easier.

I not sure that you can directly connect your MacBook to a Real Tv antenna, but you have this solution : http://www.ebay.com/bhp/usb-tv-antenna


How do I consolidate all my partitions into one partition usable for Bootcamp? I've been having an issue with Bootcamp recently after I deleted my Windows disk due to a driver issue that was unfixable. I figured I would just do a fresh install of Windows, but little to my knowledge this would be the most aggravating thing I've ever had to deal with on my Mac.

It took me some time, but I was able to fix all the stray partitions in Disk Utility:

but annoyingly, I still get this error:

After doing extensive reading apropos of similar issues, I've come to the conclusion that I am only able to solve this by formally wiping my physical disk so that all the partitions are one cohesive unit.
How can this be done? Here is my diskutil list:

    Mikes-iMac:~ MikeDang$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         24.0 GB    disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            23.6 GB    disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS Mac                     998.2 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
   4:                 Apple_Boot Recovery HD             650.0 MB   disk1s4

The partition I am currently using is disk1s2, Apple_Boot Mac. Am I correct in assuming my best bet is to break down my internal disk and reinstate a clean OS X installation, and from there download a Windows ISO and run bootcamp?

I've been searching for a solution to this issue for epochs, if anyone could help I would be eternally grateful.

Boot to Internet Recovery Mode and open Disk Utility. Repartition each disk to one partition, GUID partition table and OS X Extended (Journaled).
Exit Disk Utility, open Terminal in the menubar > Utilities
Enter diskutil list to get the device identifiers of the SSD (24 GB) and the HDD (1 TB) (probably disk0 and disk1 with the main volumes disk0s2 and disk1s2)
Enter the following to rebuild your Fusion Drive

diskutil cs create Fusion disk0s2 disk1s2 #use the dev identifiers found previously
diskutil cs list #take a note of the Logical Volume Group UUID (lvgUUID)
diskutil coreStorage createVolume lvgUUID jhfs+ "Mac" 0g #use the lvgUUID found above here (something like 28394BA0-AC56....)

Exit Terminal and install OS X/macOS from the Utilities window
After several reboots configure OS X/macOS.
Upgrade to Sierra (or an older system) if necessary/possible.
Open Boot Camp Assistant and install Windows


iPad app supporting RemoteApp RDP protocol? Is there an iPad out there than can connect to Terminal Services RemoteApp?

See TechNet article explaning RemoteApp

The full version of Spark View supports RemoteApp. You can try it here:

http://www.remotespark.com:8080

You'll have to install the gateway to make your internal network accessible.


Downgrade pre-installed Lion to Snow Leopard on a 2011 Macbook Pro? I have very recently purchased a Macbook Pro pre-installed with Lion.  After spending several days unsuccessfully trying to get it to play nicely with Active Directory I purchased a retail copy of Snow Leopard, booted it from an external DVD drive (wouldn't read the disc) erased the HDD and attempted to install Snow Leopard.  No go.  Forums suggest it cannot be done. I now have a blank HDD.

Has anyone successfully downgraded from Lion to Snow Leopard on a pre-installed Lion system?  If so, can you give instructions or point me in the direction of how to do this please?

I'm not sure if this will work in your case. But I have a 2010 MacBook Pro I cannot install the retail copy of Snow Leopard onto. That retail disc is 10.6.3, and the laptop needs a higher version.

To overcome this, I installed Snow Leopard on an external drive connected to an older Mac. I then updated Snow Leopard to 10.6.8 and copied the contents of that drive back to my MacBook Pro via SuperDuper.

Now, in your case, I'm not sure if Snow Leopard will work at all on the recent MacBook Pro. But, if you have access to an older Mac, give my solution a try.


User send texts from their iphone to my email address. How do i set this up User sends text message to my email account. I receive those messages on my iPad only. I need to receive it through email Office 365

So if I understand your problem correctly, a user is sending iMessages to your Apple ID or email. A feature used to be available to do this (I believe iOS 6 or 7), but I haven't seen anything in the latest iOS. For the older iOS you could go to Settings < Messages < Receive At and choose an email from there.


Does an AirPort access point as bridge allow communication between Macs? I am planning to make this network :

  ⎡ Internet modem ⎤      ⎡    AirPort     ⎤ <--> [ PC ]
  ⎢       &        ⎥ <--> ⎢  access point  ⎥
  ⎢     router     ⎥      ⎢   as bridge    ⎥ <⋅⋅> [ Mac 1 ]
  ⎣   (Freebox)    ⎦      ⎣ (Time Capsule) ⎦ <⋅⋅> [ Mac 2 ]

The AirPort (wi-fi) access point will be connected to the router in (gigabit) Ethernet.

I am interested in the wi-fi communications between the Macs.

Let’s say I send a big file from Mac 1 to Mac 2.

Alas, the Macs have to send and receive the waves through the access point.

Is this long enough, or do the communications have to go through the router too ?

The data will be sent through the Time Capsule, but not through your Freebox.

Mac 1 will attempt to send a file to Mac 2 by sending it to the Time Capsule where it is directed to to Mac 2. The data won't go through the Freebox unless an internet connection is required for this data to be sent.


Can I withhold number with an iPhone 5s? I need to join a client's conference call today but I'm likely to be out of the office. I don't have a company phone but don't want to share my personal mobile number. Is there a way I can withhold my number so they don't get my personal mobile number?

I've been looking in the Settings/Cellular and Settings/Network but can't see anything promising.

Look for Settings → Phone → Show My Called ID. Depending on your carrier this may or may not be available.

If it's not available there might be another way to hide your caller ID by pre-pending a prefix to the number you dial. For example in the UK you can add 141 to the start to hide your called ID.


How to minimise the risk of using a MacBook Pro 2015 recalled due to battery faults My MacBook 2015 pro Retina 15'' has to be recalled by Apple. The reason is that its battery may be a fire hazard; eg macromors. Apple said the repairs can take two-three weeks. Because of my work, I absolutely can't have this interruption during the next month. (I will get the MBP fixed in a month's time.)

Question: If I must use my MBP, how can I minimise the battery risks?

I plan to do these:

Shut down and unplug when not using
Have a CO2 fire extinguisher nearby
Only use the MBP plugged in to the mains, and not from the battery
Constantly monitor the fan speeds and the battery/CPU temperatures and shut down when they spike

Would these work?  Or should I do something else instead or in addition?

Minimizing the risk is simple. Don’t charge the battery.

Does’t matter if you are sleeping or shut down, the discharge doesn’t trigger a problem. The charging does. So just don’t use the Mac once it needs a charge.

In case you're worried about the time to fix - here is a crowd-sourced list of times to repair:

Battery Recall Turnaround by Apple*:

From            | to Depot     | Turnaround  | Notes
London, UK      | Prague, CZ   | 2-3 weeks   | Estimate by Apple, 31 Aug 19
Minneapolis, MN | Memphis, TN  | 2 days      | Apple quoted 2 weeks

*feel free to update.

As for repair times, it would be good to specify where you will be shipping the MacBook and where the repair parts might be stocked. Just because the US might have ample stock, other countries might need the whole 2 weeks to ship and perform the repairs.

The rest of the timing is for US based repairs: I would say two weeks is much longer than we’re seeing in the US. We sent two last week for work and the box with the fixed Mac was delivered three days after the box was shipped. (So it was our of our hands for two days only.) Some repairs have taken us a week, but that’s the exception of the 25 or so we’ve sent in already.

Also, you will almost certainly see the case swell before any charge causes a fire in most cases so look for that as well.

As for putting out a LiPo battery fire, CO2 is a less good choice than water or sand. The battery has so much energy and generates it’s own oxygen so smothering it for a short time and cooling it a little with CO2 might not be effective. Of course use it if you have it, but go get a bucket of something or a shovel to lift and move the MacBook to a safer place where the fire won’t spread (concrete floor, outside, etc...)


Mounting an SMB share uses the share name and not the local directory name I'm mounting an SMB share via the command line in 10.9 with the following:

mkdir /Volumes/MountName
mount_smbfs //user:password@server/Share$/SubDir /Volumes/MountName

Previously in 10.8 this would be mounted on the desktop with the MountName directory name I manually created for the mount point.

Now it's displaying with the remote share name Share$. The mount point hasn't changed and still appears as /Volumes/MountName.

How can I force the local name of a mounted drive in 10.9?

I think that you might be looking at the /Volumes/ folder with Terminal, right? But it shows the proper name of the same folder using Finder.

The share$ name in /Volumes/ only affects my shell scripts, so I've ignored the difference and life is not too bad ;)


macbook pro mid 2012 hard drive upgrade to SSD SATA recommendation I want to upgrade my MacBook pro mid 2012 Hard disk to 512 SSD, I opened my MacBook back and took photo see below.

and then I found this on website with the following spec,

the size of my hard drive is 2.5 inch and 9.5 mm which is currently inside my MacBook, the below picture is of the one I am thinking to buy its also SSD SATA and 2.5 inch 7mm.

I am not an hardware expert, please recommend 512 SSD SATA is also very expensive.
So I will order if it will fit in my MacBook and good one!

Any quality ssd would be fine, I've had great luck with Samsung 850/860.  Don't worry about mm size all are 7mm and will fit..Be sure to remove the silver studs on old HHD and
reinstall on your new SSD..  Ifixit.com has great tutorials..

it is really easy on a mid-2012 MBP

Good luck
PS While you have it open you may want to upgrade ram, replace battery and or fan.


iPhone 7 Plus touchscreen won't work! On my iPhone 7 Plus, after I upgraded to iOS 12.0.01, the touch screen stopped working. I'd restart it, but the touchscreen just doesn't work at all (so I can't slide it to "off").

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

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

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


"Can't make "documents" into type integer." -1700 I have been making a simple script for my sister, but it does not work. It calls for an integer? I did not specify it in my program, but it calls it anyway?

activate
display dialog "Click Start to start importing your own kindle books!" with title "Kindle Book Uploader by Jeremy Zhang" buttons {"Cancel", "Start"} default button "Start"

property documentFolder : "documents"

tell application "Finder" to (get name of every disk whose ejectable is true)
try
    set kindleLocation to ¬
                ((choose from list result with prompt "Select your Kindle from the list:") as text)
end try

try
      set bookFiles to ¬
                ((choose file with prompt ¬
                          "Select kindle files to import:" of type {"public.html", "public.rtf", "com.microsoft.word.doc", "public.data.mobi", "public.plain-text", "com.adobe.pdf"} with multiple selections allowed) as text)
end try

display dialog "Please wait while the application copies the kindle books..." with title "Kindle Book Uploader by Jeremy Zhang"

tell application "Finder"
      if not (exists folder documentFolder of kindleLocation) then
  make new folder at kindleLocation with properties {name:documentFolder}
      end if
end tell

set fullKindlePath to POSIX path of (kindleLocation as alias) & "documents"

tell application "Finder"
 move (bookFiles) to fullKindlePath
end tell

display dialog "Process has been done! Please eject your kindle and the files will be on the home screen of your Kindle." with title "Kindle Book Uploader by Jeremy Zhang"

And the result from running it:

tell current application
 activate
end tell
tell application "AppleScript Editor"
 display dialog "Click Start to start importing your own kindle books!" with title "Kindle Book Uploader by Jeremy Zhang" buttons {"Cancel", "Start"} default button "Start"
  --> {button returned:"Start"}
end tell
tell application "Finder"
 get name of every disk whose ejectable = true
  --> {"JEREMY DISK"}
end tell
tell application "AppleScript Editor"
 choose from list {"JEREMY DISK"} with prompt "Select your Kindle from the list:"
  --> {"JEREMY DISK"}
 choose file with prompt "Select kindle files to import:" of type {"public.html", "public.rtf", "com.microsoft.word.doc", "public.data.mobi", "public.plain-text", "com.adobe.pdf"} with multiple selections allowed
  --> {alias "Macintosh HD:Users:JeremyZhang:Downloads:5 ETS SAT S.pdf"}
 display dialog "Please wait while the application copies the kindle books..." with title "Kindle Book Uploader by Jeremy Zhang"
  --> {button returned:"OK"}
Result:
error "Can’t make \"documents\" into type integer." number -1700 from "documents" to integer

What am I doing wrong?
AppleScript Editor 2.5 (138)
AppleScript 2.2.3

The joys of variable typing in AppleScript. I think that your problem is in the line

set fullKindlePath to POSIX path of (kindleLocation as alias) & "documents"

I would try changing this to

set fullKindlePath to (the POSIX path of (kindleLocation as alias)) & "documents"

then if that doesn't work try & ("documents" as POSIX PATH)

By the way, are you sure that fullKindlePath has a '/' at the end?


Where should a daemon started by launchd store its data? When I develop UI application for OSX I store user's preferences and application config to ~/Library/Preferences/AppName.plist (using NSUserDefaults).

But when I create global background daemon that will be running using launchd on behalf of root - what is the better place to store daemon's config?

On Linux I would put it to the /etc/ directory, but I'm not sure I can do the same on Mac.

Dynamic Paths

On macOS, a process asks the operating system where to save specific types of files using the NSWorkspace method URLForDirectory:inDomain:appropriateForURL:create:error:. There is a CoreFoundation C equivalent function for this method.

This approach mimics the goals of the XDG Base Directory Specification on other platforms.

Typically /Library, however…

Before macOS 10.15, computer wide processes, such as daemons, used the /Library folder structure:

For preferences: /Library/Preferences/
For cached files: /Library/Cache/
For general support and runtime files: /Library/Application Support/

See What is the purpose of each folder under /Library and /System in Mac OS X?
 for a good overview of the various folders and their intended purpose.

However, macOS 10.15 changes the file structure and limits large parts of the core system read-only. Shipping with fixed file paths and assuming those paths to have read-write access is risky.


Is my Mac partition secure if it has FileVault 2 but the Boot Camp partition is unencrypted? With a Macbook Pro Retina running OS X 10.10 and Boot Camp Windows 7, my Mac HD is encrypted with FileVault 2 and the Boot Camp partition is unencrypted. Does this weaken the security of the Mac HD partition?

Yes -

if you ask if Mac HD was safe. The Bootcamp partition, however, is not. Any attacker could easily gain access to your Windows system or any other unencrypted partition on your drive. Make sure not to store sensitive information there (e.g. WiFi password, etc.). But normally the bootcamp partition does not contain information compromising the security of your filevault2 encrypted partition (Mac HD in your case). Those two are independent.

So in short: Having further unencrypted partitions on a filevault2 system disk does not degrade your security.


How do I find all files of a specific type that are outside of a folder? I want to find all .app files on my Mac that aren't in the  Applications folder. How do I do this?

Please unmark as duplicate

1st point: The suggested dupe's answer explains how to get a list of all applications installed, but does not explain how to exclude the Applications folder.

  How do I find all files of a specific type that are outside of a folder?
  I want to find all .app files on my Mac that aren't in the  Applications folder. How do I do this?

2nd point: This is a 2-part question. The 1st part is a generic question that asks how to find ANY files of a certain kind not in a folder. The 2nd part is the situation specific to myself. The suggested dupe partially solves my own problem but doens't address the generic question.

https://meta.stackexchange.com/questions/217115

3rd point: Furthermore, a key word in this question is "find." The suggested dupe's answer works to get a list of all installations, but it's not possible to get to where they're stored on the disk.

Basically you take the list of applications found and filter out those who are in /Applications:

find / -type d -iname *.app | grep -v '^/Applications' > ~/applications.txt

The more elaborated way skips /Applications from the start and just lists .apps found in other directories:

find / -type d \( \( -depth 1 -name Applications -prune \) -o -name '*.app' -print \)

In both cases you might get warning messages if find tries to descend into a directory not accessible to the current user. You can prevent this by running the command with sudo.


iPhone 6 email max photo resolution Is there a way to automatically have the iPhone send photo attachments in max resolutions instead of always asking me. it know it just one more step to push an additional button but it's really annoying.

as far as I know, this is not an option.

I just tried on my 4S w/iOS9. There's nothing in settings for Mail or Photos which addresses the default parameters for this check before sending a message:

This picture is from a similar thread where the author claims the "Actual Size" option is the default for image files under 500KB.

Per this 2009 article there used to be different options between "sharing" and "copy/pasting" pictures to an email, but I found in iOS9 that both methods exhibited the same behavior.


How can I reformat my hard-drive? I am in Disk Utility under the Erase Tab. The Format section is grayed out even though I have my main disk selected. The only buttons active are Erase Free Space, but I want to reformat the entire disk.

If your goal is to completely wipe all data which is on your current boot disk, then follow the procedure below.

Insert the Mac OS X CD.
Restart the computer.
Immediately after the startup sound, press and hold the "C" key to start up from CD.
When the Installer screen appears, do not click Continue. Instead, choose Installer > Open Disk Utilities.
Select the hard drive to erase.
Click the Erase tab.
Select the volume format from the Volume Format pop-up menu.
Click Options.
Select the checkbox for "Zero out data". (other options also available)
Click OK.
Click Erase.

The reason to perform this procedure as described above is it removes all traces of data by securely wiping the entire disk.  This means that even with recovery tools, somebody couldn't find what was on your disk.  It's the best way to wipe a disk if you're selling/disposing of your computer or hard drive.

UPDATE: Some additional information regarding theories on multi-pass erases can be found here: http://www.howtogeek.com/115573/htg-explains-why-you-only-have-to-wipe-a-disk-once-to-erase-it/
TLDR; Its generally unnecessary with modern disk drives


Is it possible for an AppleScript application's "Quit" button to override (i.e., cancel) an open dialog? To witness the issue to which I refer, follow these steps:

Create an AppleScript that simply contains one display dialog dialog.
Save this script as an .app file.
Run the .app file.

If you right-click the file's Dock icon, then left-click Quit, as depicted in the following screenshot:

you will observe that nothing happens. That is, the application remains open.

The keyboard shortcut, ⌘ command + Q, is similarly futile.

The only way to quit this application (excluding clicking "Force Quit" in Activity Monitor.app) is to click a button in the application's active dialog.

Is it possible to make an AppleScript application's inherent "Quit" function quit out of the application, even if the application is currently displaying a dialog when the "Quit" function is called?

Note: The display alert dialog and the choose from list dialog behave in the same domineering manner as the display dialog dialog.

The short answer is, no.

The longer answer is: By design, an AppleScript's display dialog creates an application modal object, meaning that until the User responds to the controls of the object, the application waits until is receives appropriate input to that object in order for it to continue.

If a Cancel button exists and not the default button, it can be dismissed by pressing the Esc key or a Command-period key press to activate the Cancel button. If you use a Cancel button, you can trap the error and execute a return that will halt execution of the remaining code of the app.

If if doesn't have a Cancel button then it can't be dismissed without direct interaction or forced quit by any one of several methods.

To force quit:

You can option-right-click the app's Dock tile and select Force Quit from App's Dock tile context-menu.
Press Option-Command-Esc to bring up the Force Quit Applications dialog box.
Force quit it from Activity Monitor.
Its process can also be killed from Terminal in a few different ways, but beyond the scope of this answer as it's not a GUI method.

Also, ⌘Q doesn't work because it's grayed out in the App's Menu bar menu.

All this is also true within the Script Editor itself, not just with an AppleScript app. Once a display dialog is present it must be interacted with appropriately or the app forced quit by one method or another.


Install Mavericks from usb drive on new HDD I replaced my old HDD with a new one. Also I created a bootable usb flash (8GB Toshiba) with Mavericks using DiskMaker X. I restared Mac and pressed Option key, but I see no option to boot from. I understand that I can't see my HDD at the moment because it has not been formatted yet, but I do not see also bootable usb drive. I thought maybe it was created with issues/errors, but when I tried on another Mac, it works, I can boot from usb drive. So I do not understand, what's the problem?

Did you create the bootable USB as the Mavericks USB should be created - it isn't the same way as with Lion/Mountain Lion.

Here is how a bootable USB with Mavericks need to be created: http://osxdaily.com/2013/06/12/make-boot-os-x-mavericks-usb-install-drive/


What happens if I upload an incomplete app on the App Store? I am in the process of creating an iPhone app. Someone, very recently, stole all my app files and I'm afraid if that person will submit my app before I do.

Can I upload my app, without the major features and, maybe, a little unstable, to the App Store? So, even if it gets rejected, I'd have the app name and design registered to me, and I can upload the full iPhone app, later, when it's ready. I just don't want my weeks of effort to be used by someone else.

Also, could my rejection have any impact on the future submissions?

You can upload the app without worry.

If your app got rejected,it won't affect the future submissions and you'll keep the app name with yourself. Your app name won't be taken by any other person.

There is a feature in the itunes-connect to set the release date. Even if your app got approved, it won't be released to public.

if there are major tasks to be completed in the application, it is better to create a new application and make the app-status to waiting for uploading of binary. you'll have 6 months time for uploading binary(setup) after creating the app in the itunes-connect.


Transfer sensitive data from Ubuntu to iPhone I'm new to the Apple ecosystem and I'm using Ubuntu as my primary OS on desktop. I have my computer set up as ssh server, and I have generated a public/private keypair on it which I want to transfer to my iPhone. I have just picked a top App Store hit for the ssh client (Termius), but I cannot import my key into it, except by iTunes.

For obvious reasons, I don't want my private key touching the Internet (and besides, there's no iTunes for Linux), let alone upload it on any cloud service, and would rather copy the keys through my USB cable. However, copying it to the app's data using AFC went unnoticed, and I have no idea if putting it anywhere on the filesystem would do any good (mounting using idevicepair and ifuse). Is there an app or a technique that supports what I'm trying to do?

I’ve been extremely happy with Prompt 2 for ssh clients. It can generate keys and then I set up an isolated network interface and allow ssh in via password while both devices are isolated / secured.

You can then set up the keys as needed over ssh and then disable password if you wish on your ssh server or change back to a network where you disallow password to sign in.

On Apple to Apple you can use all sorts of other ways, too - AirDrop / iMessage / iCloud files or rely on ssh as above. Ubuntu does restrict your other methods. Also, typing out a 2048 length RSA key isn’t too horrible if you absolutely won’t compromise on user/password for temporary ssh setup to exchange keys.

https://library.panic.com/prompt/prompt-key-security/


Is it possible to change recorded keynote timing after recording manually? Is it possible to change the timing manually of recorded keynote presentation instead of having to re-record the whole presentation because of one error?

Sometimes when I record a keynote presentation to my audio it can happen that on one slide I make a mistake of progressing to early with the animations, so it can be very discouraging having to record the whole presentation again only because I missed the timing on some slides.

I suspect that keynote saves somewhere the time codes for when to progress to the next animation, because when exporting to a quicktime it seems that keynote has actually to run and record the whole slideshow again

You can't do this in Keynote.  Keynote recording only allows for you to record the whole narration at once.  You could work around this by recording your audio in GarageBand, and then importing your GarageBand audio into Keynote.  GarageBand allows for much more finely-grained control of your recordings, including re-recording a section.

Another option is to use PowerPoint:Mac, which does allow you to re-record the audio for one slide.


How do I force OS X to treat a file as a Folder? I happened to name some of my photo folders "*.Playground" (e.g., some date plus the ".Playground"), it got picked up happily by Xcode and now OS X treats it like a file associated with Xcode, even changing the filename doesn't help.

Does anyone know a way to force the file to be treated as a Folder?

I created a folder with two .jpg files in it, and renamed the folder "Today.Playground". As you say, it got associated with Xcode. (Nifty icon!)

So I changed the name to "Today.layground". At first, Finder wouldn't show me what was in it. (That is, I was viewing it in column view, and column to the right showed a preview of a generic folder, instead of listing what was in it.) I clicked on another item and then clicked on the folder again, and Finder properly showed the two .jpg files still inside.

It appears to me that that's all you have to do: look away and then look again.


Connecting to Lync Online [or Skype for Business] using the Messages App Is it possible to make use of the Messages app to connect to Microsoft Lync / Skype for business ?

No, Messages does not support the protocols used by Microsoft Lync / Skype for Business.


User Control screwed up but unable to click on icons with Mouse on OSX 10.8 I dont know what has happened, but today user control with mouse and trackpad on my macbookpro is screwed up.

I rebooted twice, it made no difference.

The trackpad moves the cursor okay, but I cannot get tapping or clicking the trackpad have any effect.

With my mouse I can access menubars, but the left and right buttons are swapped round. I then went to the System Preferences screen to try and fix the mouse preferences, but clicking on any icon with left or right button has no effect.

I then found no icons of that type seem to work, I thought Id try and just update OSX with any updates available hoping that would fix anything that has got corrupted. But although I can get to the Appstore Update screen and there are two updates available I cannot get the updates installed. Clicking with the left button does nothing, clicking with right button changes the colour of the button slightly so the bottom half is in gray but nothing else happens.

As there is no menu option to install the updates I thought I tried and install the updates using the keybaord but I cannot work out how to do this.

Help Please !

I'm not sure about the answer, but my suggestions are too long for a comment. So I will create an answer nontheless.

First: Installing updates with the keyboard should be easy if you are able to launch the app store. When you are in the appstore, use your "tab"-key to go through the main menu. Hit "space" to enter the selected item. Hitting the tab key again will bring you to the other items in the window (like the "update"-button).

If updating does not solve your issue and you are sure that there is no Magic Mouse somewhere in your bag or whatever, which is accidently turned on and can cause issues, you could try to reset NVRAM. This article should be interesting to you: https://discussions.apple.com/thread/4061591?start=0&tstart=0