Did you have Find My iPad activated via the iCloud settings on your iPad?

If so, then you will be able to do any of the following on your iPad:

locate it on a map
send a message to it
play a sound on it
remotely lock it
remotely wipe it

Just for the record, when you enable iCloud, options 2, 3, 4 and 5 above are automatically enabled.

If you have Location Services turned on, Find My iPad can also help you locate your iPad on a map as long as it's connected to the Internet.

If you had this activated, or aren't sure if you did, then follow these steps:

use the Find My iPhone app on an iPhone or another iPad or visit icloud.com/find from a computer with a web browser.
Log in to your iCloud account (this may or may not be the same as your usual Apple ID).
Once you're logged in, see if your missing iPad is listed under My Devices.
If it's listed, then that means it's been set up for Find My iPad (a good sign).
Now, if it's currently connected to the internet, you have two possibilities:

if you had location services activated on the iPad, you should see its location come up. Clicking/tapping on the icon will display the Actions option and tapping on this will give you the following three choices: Play Sound; Lost Mode; and Erase iPad.
if you didn't have location services activated on the iPad, it will display a message like "Online, no location available". In this case, clicking/tapping on the iPad icon will give you the following four choices: Notify When Found; Play Sound; Lost Mode; and Erase iPad.

If it's not connected, it will display as being "Offline". Clicking/tapping on the iPad icon will also display the following four choices: Notify When Found; Play Sound; Lost Mode; and Erase iPad.
Select the option you want.

For the benefit of others, there are other services to achieve what you want. However, all of these involve installing third party software on the device (and since you're asking the question it's safe to assume you haven't done this).

Regardless of whether you have Find My iPad activated, this would be a good time to reset your passwords for any online services, email addresses, etc. However, in doing so, you would be best to change your email passwords first to minimise the risk of any password reset info being intercepted on the iPad.


How to know if my iOS contains pirated contents

I'm not a lawyer but I doubt you will have an issue here. After all a pirated eBook looks rather the same as a bought one (same for other media).

Having said that the only way possible is to open each and every app and check the content stored there. If you want to be really thorough you also may want to check old mails etc.


Can I set OS X to automatically open ICS files in iCal?

If you highlight the file in the finder, press command-i to open the file info dialog. Change the entry "Open with" to "iCal" (select "other" and browse for iCal if it is not listed). Press the button "change all" to make "open in iCal" the default action.


Mirroring iPad to Apple TV using local router and using data connection?

If your cellular network allows you can turn on the “personal hotspot” feature on iPad and connect Apple TV to that network. Then you can AirPlay the content to Apple TV (not mirroring) and at the same time use the cellular 3G network for internet.


How can I backup MacBook before the battery runs out?

This adapter will help you. Also useful for other use cases.

The USB-C Digital AV Multiport Adapter lets you connect your USB-C or Thunderbolt 3 (USB-C) enabled Mac to an HDMI display, while also connecting a standard USB device and a USB-C charging cable.

Or this one:
HyperDrive USB Type-C Hub with 4K HDMI Support

Matching colours. Turns a single USB Type-C port into 4 ports (HDMI, 2 x USB 3.0, USB Type-C with Power Delivery)


Mixing 10/1000 Device w/ other Gigabit Devices to Apple Airport Extreme

No - switches isolate things so you don't need to worry about hub-like limitations.


Firstly, you want to hope that was clean water, no sugars, no coffee or tea or juice etc!

It's a large area to dry properly but even though you might think it's dry, it's probably not yet, you may want to consider trying the following:

Place the laptop near a dehumidifier (preferably near the intake) to try to draw out water for several hours
Place the laptop in a highly air conditioned room, aircon removes moisture from the air, you may need to place a fan blowing air over the unit to encourage the water to become airborn
Place the unit in a sealed bin bag with a lot of salt or dry rice in it (be really careful not to get this on or in your unit, salt water will corrode your laptop like thing else, put the laptop on a cardboard shelf over the salt/rice)
If you have a load of silica gel bags (they come with loads of things, I got a particularly big one with an iMac once leave them on the keyboard and seal it in a bag to try to draw moisture out.  (Top Tip, keep a bag with silica gel bags in it, whenever you get one in something, save it!)

All of the above may take several attempts to work, or may simply not work.

Finally, you can disassemble the keyboard unit, this may be to try to dry it further, or to replace if it turns out to be broken, it's not too difficult a job, lookup your model on iFixIT.


Both Parallels Desktop 10 and VMWare fusion support virtualising Yosemite. Both are better than Virtual Box.

In Parallels you can create a virtual machine with Yosemite immediately by using the recovery partition.


How to install VLC Player on the original iPad (iOS 5.1.1)?

version 2.2.x is what you need.

The latest with 5.1 support according to wiki:
https://wiki.videolan.org/Documentation:IOS/#Feature_Overview

Download away! Vlc keeps all the different versions!
http://downloads.videolan.org/videolan/vlc-iOS/

No Jailbreak required.


How do I retrieve photos from the cloud after I place them there?

Both iCloud Photo Library and iCloud Photo Stream are synchronisation services, and will do exactly that. Sync between devices.
Meaning that if you delete your photos from your iPad manually, they will also be deleted in the iCloud Photo Library unless you disabled this feature first.

Your best shot at retrieving your images is to check your "Recently deleted" folder on the iPad or after logging in to https://www.icloud.com under Photos.


Usually with the 2011 and later Mac models, you have to use a DVD to install Windows using the Boot Camp Assistant. I would recommend a RW DVD. They take longer to burn, but are reusable. If your optical drive does not work, post a comment and you can discuss other ways to install Windows.

  Note: You will still need a USB flash drive to hold the "Boot Camp Support Software" from Apple.


Avoid 'via gmail' for messages sent from my iPhone

Assume your email address is "you@gmail.com" and your other email address is "you@owndomain.com."

When you setup an email account on your iPhone, you tell it which account you want to to use to log in and send/receive email.

You can change the "From:" line to be anything you want (using the "comma trick" on iOS or other settings in other mail clients), but Google does not want you to be able to "spoof" your email address without making it clear which account it came from. The reasons for this should be obvious.

When you send email, you connect to a SMTP server and give your username and password. if that username is "you@gmail.com" and the "From:" line is "you@owndomain.com" then Gmail will automatically add the "Sender:" header which contains your actual Gmail address. (Outlook displays this as "via" I believe.)

The only way to avoid that is to have the username that you log in with be "you@owndomain.com" rather than "you@gmail.com".

The easiest way to do that is to use Google Apps for your domain which is free for up to 10 users.

You can still set that up as a "Gmail" account in iOS, but when you send email it will not have the Sender: header added because you are sending from the same account that you use to log in.

The only drawback is that you will have two accounts now in the iOS Mail app, which is (I assume) what you wanted to avoid by using the comma trick in the first place. You'll have to decide which is more important: having one email account in iOS (and having "via"/Sender: header added), or not having Sender: added and having more than one email account.)


iPad 3 - when I click on the email icon, it quickly pulls up the email but then it disappears!

Welcome. Is your device jailbroken? If so, have a go at updating cydia. If not I might need some more information. What did you do before the problem appeared? Have you had the problem for a long time?


MacBook admin account password reset using Apple ID does not work

Strange... If you wait long enough at the EFI Login Window does the text at the bottom change to say something about restarting into Recovery to reset your password? If so, hold down the power button to shut down then hold it down again to startup in Recovery. Once the Password Reset Utility loads you can choose the My keyboard isn’t working when typing my password to log in option to disable FileVault. It will ask for a password, so not sure it'll work.


Stolen iPhone - check status of Find My iPhone

Go to https://www.icloud.com/#find to check the status.

From there you can track where it currently is or was last seen, make it play a sound, lock it by enabling Lost Mode [which includes adding another phone number to the lock screen you can be contacted at], or even erase it [though that would disable Find My iPhone]


You can only get them back if you happen to have a recent ( iTunes / iCloud ) backup of your device before you deleted those memos.


MacOS Unable to use “(free space)” in BigSur

You can not add free space that resides above a APFS container. An alternative, outlined in this answer, will not work because the APFS container is to large to be cloned to the free space you wished to add. You would need to first reduce the size of the Vaats - Data volume before applying the answer.
You could try shrinking the current APFS container and to create a new temporary partition. Move files from the APFS volume Vaats - Data to a volume in this new temporary partition. The idea would be to reduce space occupied by data in the APFS container so the APFS container could be cloned to a new APFS container you would create in the (free space). After cloning, the original APFS container be removed and the new APFS container could be expanded to reclaim the space. Next, copy the files stored in the temporary partition to the cloned APFS volume Vaats - Data. Finally, remove the temporary partition and expand the new APFS container to reclaim the space.


How to resize main partition to full available physical space?

One way to do this is to completely reformat the drive. This will collect all sub-volumes together back to the original. This would, obviously, erase all data on the drive, so back up your macOS with Time Machine (so you can migrate the data back in easily).

Start by navigating to Disk Utility in macOS Recovery:

Change the view from "Show Only Volumes" to "Show All Devices":

Finally, select the drive at the root of the tree shown, then reformat it using the "Erase" button in disk utility:

Once you have a fresh drive, you can reinstall macOS using your backup drive and then continue from there.

Hope this help! Please let me know if you have any more questions!


Does installing Xcode 5.0 with iOS 7 SDK remove my iOS 6.x SDKs?

Whenever we install newer version of xcode, it ask "Do you want to replace the last version or to keep both", than we need to choose the Both Version option. It will keep both.


Want to launch dnsmasq ony when Thunderbolt Ethernet is active

Not possible....

From https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html

Network Availability
If your daemon depends on the network being available, this cannot be handled with dependencies because network interfaces can come and go at any time in OS X. To solve this problem, you should use the network reachability functionality or the dynamic store functionality in the System Configuration framework. This is documented in System Configuration Programming Guidelines and System Configuration Framework Reference. For more information about network reachability, see Determining Reachability and Getting Connected in System Configuration Programming Guidelines.


How do I move a VirtualBox Windows VM from Windows to Mac

The answer was in this post:
https://superuser.com/questions/995193/fatal-could-not-read-from-the-boot-medium-system-halted-in-virtualbox
It's really hard to figure is it superuser or Mac or whatever.
This nailed it.


How do I get my iphone to show up in iTunes 11 consistently?

This happens to me, too.  The computer is connected by ethernet to the wifi router.  Sometimes exiting iTunes and the re-launching works to get iTunes to see the iPhone.  (And connecting the iPhone to the computer by cable always works.)


What are the licensing concerns running Mac OS X guest OS on VMWare ESXi 5.5 with non-apple hardware?

You can't run OS X virtualized or not, on non-Apple-branded hardware per the software license agreement.  You would need Apple hardware to virtualize it and be compliant with the EULA.

Mavericks EULA


Get MacBook to say Thank You when plugging in the power cord?

This worked for me:

global thanks

on run
    set thanks to false
end run

on idle
    set battStatus to do shell script "pmset -g | grep \\*"
    if battStatus contains "AC Power" then
        if thanks is false then
            say "thank you"
            set thanks to true
        end if
    else
        set thanks to false
    end if
    return 1
end idle

Open Script Editor, Save as Application, Check "Stay open after run handler" to keep the program running. The only downside is you'll have to keep this program open at all times. You can set it to launch when you login. Maybe someone else has a better way to address this.


See: How to uninstall AVG AntiVirus for Mac

  To uninstall AVG Antivirus for Mac:

  Run the AVG AntiVirus for Mac
  Click the AVG AntiVirus Menu bar, and click Uninstall AVG AntiVirus
  Click Continue to begin the uninstallation process
  AVG will run the uninstallation
  The Uninstallation is now complete, please click Restart to reboot your computer


What domain name is appended to a default Apple ID when created in OS X?

The default domain name for new Apple ID's (or iCloud accounts) is @icloud.com. You can also use @me.com.


The wireless chipset's Wi-Fi frequency (Ghz or MHz) and Wi-Fi output (dbm) MacBook Pro 13' 2017 touch bar

I'm not sure how much this answer will help, but unless I'm missing some finer details in your question, the Wi-Fi bands supported are 5GHz (IEEE 802.11ac natively) and 2.4GHz (via backwards compatibility with the 802.11n specifications).

I'm not 100% certain on the radio output power, but typically Apple hardware is rated at 20 dBm (nominal).

If it helps, all Apple hardware fully complies with IEEE specifications and meet the legal regulatory requirements for all regions to which they sell directly. And, just for the record, Apple does sell these models directly in Taiwan.

Also, by default Apple designs these products to ensure their devices

do not exceed the level of allowable transmitter power, the different available channels, and the times those channels can be occupied.
will not transmit at a power above what is allowable in any nation to which they sell, nor will their products use frequencies that are not permitted in any nation.


How to enable process accounting on macOS

You can either use an app to turn on process accounting or use command line tools:

App: Onyx

CLI:

Open Terminal and enter:

sudo mkdir /var/account
sudo touch /var/account/acct
sudo accton /var/account/acct

With sa you can print the system accounting statistics. Check man sa


Kernel Task is using 1000% of The CPU on macOS Catalina

Kernel_task is a dummy process which takes up CPU resources from other applications in order to cool the system down. So I would look at your system's cooling, maybe use fan tools such as Mac Fan Control and perhaps disabling turbo boost with a tool such as TurboSwitcher. Also on some MacBook Pro's you can cool the system a bit by using a TB3 port on the right-hand side to charge from rather than the left.

Some other issues related to Kernel_task problems.

Update software (so bugs get fixed)
Check for malware.
Adobe Flash! if you have this uninstall it is well known using up CPU resources. It is not needed anymore.
Boot into safe mode see if that solves the issue
If #4 works try uninstalling third-party software with kernel extensions (kexts) by using AppCleaner or CleanMyMac X,
find them using terminal  kextstat | grep -v com.apple and match them to the software packages. Do not remove Apple's, hence the command line filters them out of the listing of extensions.
Use System Preferences -> Users & Groups -> Login Items and remove those applications you don't need to start upon login.
Clean out your system using a tool like CleanMyMac X and uninstall applications you no longer use.
Try resetting NVRAM
Upgrade macOS
10.Reinstall macOS


Mac with 2 monitors, how do i switch virtual desktops on one monitor only?

I am not on a My Mac at the moment, but in the Mission Control Preferences there is a setting to have the spaces work independently. Go to Preferences -> Mission Control -> Displays have separate Spaces.


Ethernet cannot see RTA1025W modem (wi-fi can)

Do you get the same result when starting up in safe boot?

This could either be an Ethernet driver or a hardware issue. One of the first things to try is perform an SMC reset (shift-ctrl-alt-power). I usually go a stage further and disconnect the battery for 10 minutes, this can clear SMC-related issues that the official method doesn't always cure such as errant SD card readers disappearing etc.).

After an SMC reset perform a PRAM reset (alt-option-p-r).

Your problem should be cleared by this stage but if not you need to look at your preference files in /Library/Preferences/SystemConfiguration, particularly NetworkInterfaces.plist and preferences.plist. Move them to your desktop, reboot and see if connectivity is restored.

Another way to check if it's a software issue is to create a clean install of OS X on an external drive. If your Ethernet port is working under the new OS then you will know it's definitely an OS problem rather than hardware.


Any Windows Backup software of your choice. Altho you then might have to reinstall windows before you can restore the files themself.


Exists such thing as mozrepl for Safari?

If the main idea is scripting Safari, I would try using Automator before trying AppleScript. I'd start by hitting the record button and then:

Open Safari
Navigate to your webpage
GET by saving the webpage source
Allow the page to do whataver AJAX calls you may want it to do

save the webpage source again

Fill out a form, hit submit for your POST

save the webpage source yet again

Or you could try AppleScript with something like this:

tell application "Safari"
    tell window 1
    set current tab to (make new tab with properties {URL:"http://www.example.com"})
    end tell
end tell

You can add to the script form fills and submit buttons with javascript:

do JavaScript "document.getElementById('field').value = '" & myvalue & "'"
do JavaScript "document.forms[\"form\"].submit();"

I'd try this out within the JavaScript console within a web browser first to make sure you have the names of everything correct.


Can I use a Time Capsule as an all-purpose storage disk?

Yes. Time Capsules can be used for Time Machine backups as well as for general storage, though Apple recommends against it:

  Time Machine works best if you use your backup disk only for Time Machine backups. If you keep files on your backup disk, Time Machine won’t back up those files, and the space available for Time Machine backups is reduced.

I personally don't believe that they will “work better” if you only use them for backups—I haven't had any problems with my setup, and it's been this way for a few years—but that's what the official knowledge base says.

It's easy to get at the general storage. I have disk accounts set up, so the way you do it might be somewhat different. My Time Capsule appears in Finder's left sidebar. When I click on it, two items appear: one with my username and one with the Time Capsule's disk's name. I double-click on the first one, and (after waiting a few seconds for the disk to spin up again,) I get a list of the files I've stored there. Finder also puts an icon on the desktop, which I can use to quickly get back to it. When I'm done, I either drag that icon to the trash, or click the eject icon next to the Time Capsule's name in any Finder window.

Time Capsules do seem to support PPPoE for Internet connections: in AirPort Utility's Internet tab, there is an option for PPPoE in the Connect Using drop-down box. I can't be 100% sure of this, though: my ISP doesn't use it.

(Everything here was copied from my three comments.)


It's hard to know what slow means. If you have FileVault enabled - only accounts that are cleared to unlock e drive show up after the boot to the pre-start screen.

Once one of those users authenticates, the volume gets unlocked and then the OS boots. If you don't expect this layer and seeing the OS boot after user credentials are presented, that might explain everything. Without a stopwatch to time what is slow, it's hard to tell more what you are seeing.

Since all new hardware gets AppleCare for questions like this, I would get their help narrowing down your variables and perhaps ask a follow on question with some specifics if needed.


Can't burn Mac OS X 10.7 Lion to a disc because it doesn't have enough space

Like @Mark Wilson mentioned in the comments, "use a dual-layer DVD."

A "standard" DVD only holds 4GB of data. Generally a little less than 4GB usually as the DVD's file system has a little overhead so it is usually 3.9GB or thereabouts.

Best Buy, Office Depot and Amazon all sell dual layer DVDs. Look for ones with 8.5GB capacity that say "DL"after the DVD-R or DVD+R on the packaging.


Assuming you've logged into the same Apple ID in Apple > System Preferences > iCloud as you have on your other devices, you should be fine. Beyond this, you've already selected the correct options regarding iCloud Drive.

Considering this is a totally new MacBook, you will need to allow some time for everything to get synced, especially when there's multiple devices concerned and if there's larger amounts of data (not only in terms of file sizes, but also in terms of the actual number of files).

Another factor will be the speed of your internet connection. In the meantime, just make sure your MacBook is online and has a stable connection. I'd allow 24hrs in order to start seeing your files populate, keeping in mind that they may not all be there if you have a lot of data.

Finally, if you do have a lot to sync, you can opt to not let your MacBook go to sleep during the initial sync period (i.e. allow your screen to go to sleep, but not your MacBook itself). In other words, select the Prevent Computer from sleeping automatically when the display is off option in Energy Saver preferences.


On MacOS, how do you delete history without deleting cookies and cache?

Open safari and press ⌘Y, then press ⌘A, right click (Or control click) and select delete.
If you just want to delete some, then ⌘Click the days or sites you want to delete and then right click (Or control click) and select delete.


Stop iCloud automatic download to harddrive

This is the answer, you just push undownload after the download is finished.
https://github.com/Obbut/iCloud-Control/releases


Songs in my library "cannot be played on this iphone" anymore

This sounds dumb, but play the affected songs on itunes and resync. It should work.


Volume Keys not working with HDMI audio on mac OSX Lion?

See a solution here for the problem - http://www.vanetta.net/2012/07/enabling-hdmi-audio-controls-on-2011.html

Requires the free third party app - https://code.google.com/p/soundflower/ but it works perfectly.


COUNTIF(Table 1::A2:A72, A3)
and add manually the date on A3
COUNTIF(Sheet 1:T1:99, "Approved")


Identify if an iOS In-App Purchase is a consumable or non-consumable?

If an item can be used once and then is not available again, it is a consumable.

If an item can be reused over and over, it's a non-consumable.

This is explained in the developer Apple's IAP overview you referenced:

  Consumable

  Users can purchase different types of consumables, such as lives or gems in a game, to further their progress through an app. Consumable in-app purchases are used once, are depleted, and can be purchased again.

  Non-Consumable

  Users can purchase non-consumable, premium features within an app. Non-consumables are purchased once and do not expire, such as additional filters in a photo app. Apple can host content associated with your non-consumable in-app purchases.

Based on your comments, I would say you have a Consumable IAP.  You app could be reject for other reasons, though, so this is no guarantee that it will pass App Review.


I got it fixed by adding

<key>AbandonProcessGroup</key>
<true/>

More info about it can be found here OSX run script to mount sshfs at login with a plist file


You can find the specifications for your computer here.

Specifically, the unit has the following (with a maximum RAM capacity of 8GB):

RAM Type: PC3-8500 DDR3 SO-DIMMs
Min. RAM Speed: 1066 MHz

So buying RAM that meets those specs is sufficient. As for buying "Apple" branded memory, it doesn't seem necessary. I always look to Mushkin, which sells "Apple" tested memory and have relied on them exclusively, but I have read others running Macs with Kingston, Crucial, or any one of the many other brands available without reporting issues.

Match the type and speed, and you shouldn't have any problem. Newegg has a 4GB package (2x2GB sticks) and a 8GB package (2x4GB sticks) for relatively cheap. They should give you an idea of what kind of prices to expect. Searching google yields quite a few results if you are interested in other brands or other configurations.

Lastly, consult iFixit for details on how to upgrade the memory for your specific model.


How do I force Safari to save password for ALL websites?

In some cases it is the website itself telling the browser to not save the passwords. There are a number of ways a web programmer can implement this and a number of ways to get around it.

I used to use a little JavaScript "bookmarklet" that tried to turn off any JavaScript on a website that told the browser to not save the password. It worked about a quarter of the time. Barely worth the trouble.

More recently I have moved to a 3rd party password manager (1Password) that will save the password for any website.

Editing a preference file is chancy and annoyingly "manual" but possible (EG worth looking into if it is possible) depending on how geeky you want to get. And checking for preferences that say not to remember a password for a specific site in Keychain or Safari itself is worth checking on. But my bet is on a website telling your browser not to remember passwords.


Is it better to upgrade to Mavericks or to perform a clean install?

First, take a backup (using Time Machine or a cloning tool like Carbon Copy Cloner or SuperDuper! or Clonezilla) so that you can revert to it if at all something goes wrong and you're unable to salvage it through simple troubleshooting and fixes.

After that, just do a straight upgrade to OS X Mavericks. If you have several apps already installed, then an upgrade will save you a lot of time. The upgrade to OS X Mavericks will retain all your applications, settings and files (they won't be removed).

Also, a clean install is recommended only if you're having some issues in the system that you're unable to trace and resolve through other means. For every other case, a straight upgrade is reliable and quicker.

On the other hand, if you choose a clean install, then you would have to (follow this tedious and time consuming process):

Backup your system (using Time Machine or a cloning tool like Carbon Copy Cloner or SuperDuper! or Clonezilla)
Install OS X Mavericks
Configure all the settings for OS X Mavericks as if you were setting up a new system
Install all your applications afresh
Configure each of your applications according to how you'd like
Copy all your files and folders from the backup


How to stop uTorrent on specific network?

MarcoPolo can be used for launching scripts based on using specific NetworkLinks or IP addresses.

Your applescript then should contain something like:

tell application "uTorrent" to quit


Network switching issues with MacOS 10.7?

I have seen something similar to this; I do not have a fix (wish I did).

The problem is that Lion speculatively brings up the interface immediately with its last known address (presumably based on the router or AP; it does store that information in one of the system plists), while querying the DHCP server to find out if that address is actually available.  If the DHCP server returns DHCPNAK, the interface becomes unconfigured while it properly negotiates a new address, at which point the interface is brought back up.

Theoretically (although probably not in practice on a small home network) your computer could have the same address as another computer on the network during that initial speculative phase.


When you put the display to sleep, it turns back on when the computer detects a key press or mouse movement or mouse click. In your case, it seems like your speaker vibration is causing the mouse to move, and thus waking up the display. The best workarounds are to avoid mouse movement by moving the speaker away from the mouse or placing the mouse on a surface that absorbs the speaker's vibrations or reducing the speaker volume.

Note that you could reduce the sensitivity of the mouse by going to System Preferences > Mouse and then selecting a slower Tracking speed. But this would also likely make your system difficult to use - you'd have to physically move the mouse farther to move the cursor by a particular distance on the screen - and you may have to switch between two levels of sensitivity (slow and faster) often if you're not happy with the slow tracking setting for normal use.


Can't run Apache Maven via command line on El Capitan

I assume your JAVA_HOME is not configured properly. This will result in an info and error output entering mvn -h or mvn -v.

To install Java 8 and Maven properly do the following:

Download and install the latest JDK
Open Terminal and enter /usr/libexec/java_home. The result should be (as of August 2016):

/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home

Download and unzip Maven. Move the resulting folder to an appropriate folder (e.g. /opt/)
In Terminal enter nano .bash_profile. Add the lines

export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=/opt/apache-maven-3.3.9/bin:/...other_paths_already_in_your_profile..:$PATH

save the file to disk and quit nano with ctrlO and ctrlX
Source your modified profile with source .bash_profile or better restart Terminal.

If you have installed maven and/or java with MacPorts or homebrew, the approach is similar the paths to Java/Maven may differ though.


How to access a launch daemon's values/ system defaults value

It's most likely not the answer that you're looking for, but suddenly I discovered a simple and trivial thing - "do not disturb" mode silences that notification, along with all the others of course...

I know that it's not a proper solution, but I'll stick with it by now.
How could I've been so blind :D


Any potential issues logging into an ARD session with a dedicated ARD user?

The protection of the ARD is in the fact that you can enable and disable users for this feature.

The brute force protection is that of the user account. You can set it up to lock after 5 failed attempts or what ever you please.

It is strongly advisable NOT to use an Admin account for this, but instead use a normal account to give access to the ARD, and using account switching or admin privilege escalation where and when you need it. Part of the reason being is that you can take over the session of any user currently logged in that way, without the user knowing. So IF you are worried about people breaking in to your account, that is the way to minimise the risk as far as possible.
(Best practice is that nobody is admin on a Mac apart from a dedicated account that can be used for privilege escalation instead)

Hope this helps in your decision making process.

GJ


Apple would need to make a way for people to change the text or functionality of these notifications.
As of this writing, Apple doesn't expose to developers or users a way to customize these alert buttons.
You can contact Apple by completing this feedback and telling them you want this ability.


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 accurate is System Report on RAM speed?

This depends mostly on the capabilities of the FSB and the RAM itself.  If, for example, you install a 1600 MHz stick next to a 1333 MHz chip, most FSBs will time at 1333 for both, if it is even capable of doing so.  Most FSBs also have a maximum clock speed as you indicated in the comments.

The FSB is not likely fudging the numbers.  There is a chance the 'limit' imposed by KB HT1270 is a soft one.  Though my 2008 MBP had a limit of 2x2GB I ran it for years with 2x4GB sticks.  I couldn't say for certain regarding your specific model, but I'm inclined to disregard this list.

Don't go crazy though, there are some hard limits on the size that will be accommodated, which you've likely reached with your 16GB.

Additionally, in my experience, transitioning from 1333 to 1600 typically doesn't produce noticeable speed increases, though the doubling of the capacity would.  If you're noticing this under moderate load with no paging, it's likely the effects are psychosomatic. :)


Missing Firmware Partition after NVRAM reset in MacOS High Sierra

You Title is bit misleading for me.

Based on your description on what is going on lets try to repair your disk.

1- check the cable connections for firm fit.

2- Start or restart your Mac. As soon as you hear the startup tone, press and hold

  Command-S

on the keyboard. Keep holding down those keys until you see a black screen with white lettering. This is called “booting into Single User Mode.” As soon as you see the black screen with white lettering, you can release the keys.

Wait for the text to stop.

The last line should end in root#.

Right after the root# prompt, enter the following:

/sbin/fsck -fy

Press the Return key.

It will attempt to repair your disk and tell you the result.


Unable to upgrade recent 1Password through App Store in macOS Big Sur 11.2.3 (20D91)

The official support gave me the answer.

Quit all browsers
Open main 1Password window
Press ⌃ + ⌥ + ⌘ + Q to quit and indeed it quits all processes.

Weird that the CLI approach didn't work.
Anyway - solved.


How to ask for reimbursement for the app purchased from iTunes store

How to get a refund using iTunes

Launch iTunes on either your Mac or Windows PC.
Click on your name at the top and in the drop down select Account Info.
Type in your password when prompted in order to proceed.
Click on See All under your Purchase History.
Click on the arrow next to the purchase batch that contains the purchase you'd like a refund for.
Click on Report a Problem next to the single purchase you'd like a refund for, unless there is only one, then you may use the large Report a Problem button.
You will be routed to Apple's website. Just follow the steps after signing in and request the Refund option and explain why.

How to get a refund using the web
If you're not at your computer, or simply prefer to sidestep iTunes, you can still request a refund using any web browser.

Go to Apple's problem reports page: http://reportaproblem.apple.com/
Login with your Apple ID user name (typically your email address) and password.
Select the appropriate tab—all, music, movies, TV shows, apps, or books.
Find the purchase you want refunded.
Select Report a Problem to the right of the purchase.
Select the reason you want the refund.
Fill in the description, as appropriate.
Select Submit.

How to get a refund using your iPhone or iPad
Apple hasn't built any links to problem reporting into the iTunes Store or App Store apps, so if you're stuck using the web on your iPhone, iPod touch, or iPad as well. If it's more convenient, you can go directly to problem reporting via your email receipt.

Launch Mail from your Home screen.
Search for "Your receipt from Apple" if it's not immediately visible.
Tap on the receipt for the purchase your want refunded. (Unless you remember the date, there's no way to tell which receipt is which unless you tap it to open it, so you might end up tapping a lot...)
Tap the purchase you want to report.

Source.


How to change arrow keys to scrub not skip iTunes tracks?

I don't think you can set this behaviour anywhere in the preferences, but you can make this yourselves using Script Editor (installed on every mac) and FastScripts (get it here).

Building the script:

Open Script editor, copy the following lines to two separate files, and save them both to ~/Library/Scripts/

First:

-- iTunes Skip 5
tell application "iTunes" to set player position to (player position + 5)

Second:

-- iTunes Back 5
tell application "iTunes" to set player position to (player position - 5)

Setting the keyboard shortcuts:

Download and open fastscripts. Now you'll find it in the top bar of your screen. Click on it, go to preferences and set your keyboard shortcuts. The arrow keys themselves are not possible to set, because they're already in use for skipping tracks, but a good alternative would be something like: fn + ctrl + rewind/forward

Source: SixHat


How can I avoid notes to be deleted from the iPhone when I delete them on my Mac Email app?

Turn off notes sync in Settings -> Mail,Calender,Contacts -> select your account and then turn off notes sync.

In Mail if you hit command + comma you can also stop showing notes in the inbox.


In Terminal.app (found in the /Applications/Utilities/ folder), run this command and arguments:

/usr/bin/defaults delete ~/Library/Preferences/com.apple.iBooks

This will wipe the plist file, but may not trash it.

Now when you open iBooks, the settings will be back to the default.

This same command will work with other apps using the appropriate arguments.


This warning is there to prevent people from over filling their devices with local data and also to keep developers in check from not over stuffing the content that gets stored locally.

I don't think there is a way to white list one site to have increased space. I would clear thing by first quitting Safari using multitasking controls, and then go to the settings app -> Safari -> Advanced -> Website Data and clear all the data.

That would allow it to start cleanly. You also might want to be sure your device itself wasn't totally full by checking Usage under general in the settings app.


Amigo, I might start with launchctl:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.locate.plist

Then check for any impediments to obtaining exclusive lock privilege on the nonexistent database:

sudo fuser -fu /private/var/db/locate.database
sudo lsof /private/var/db/locate.database

Then kill any process reported by either command.  Next, run the db generator by hand, preceded by an opensnoop for debugging if something goes wrong.  You will need to open a new terminal window ( command key - N shortcut, I believe ) and run opensnoop there, exiting it with a Control Key - c combo.

sudo opensnoop -cegx -f /private/var/db/locate.database

Then over to your original window type:

sudo /usr/libexec/locate.updatedb

Remember to quit opensnoop with a cntrl-c in its window.

F.


How to open a file with automator and then open another file when the first file is closed?

You can use the open command with the -W option to wait until you close the program. You can hardcode the list in an Automator Run Shell Script action where your command lines would look like the following:

open -W ~/Documents/firstSpreadSheet.numbers
open -W ~/Documents/secondSpreadSheet.numbers
open -W ~/Documents/thirdSpreadSheet.numbers

Note that you must completely exit out of Numbers (e.g., cmd-Q) for the next file to open; closing the window is not sufficient.


MacBook Air 2020 - Unable to Connect to External Monitor

Using two or more adapters in series is not recommended. While not dangerous, they rarely work, or at best, work badly. Find the right adapter for your needs.
I've used this Belkin adapter and this one, to connect different USB-C Apple laptops to a small selection of VGA-only monitors.


Yes, there's nothing why it shouldn't work.

Please not that some Macs only have one headphone Jack. Even if it automatically switches to in&output when you plug in an (Apple) Headset, you'll have to set it manually to input when using a normal male-male cable.

To do this, open Settings>Audio and you'll find a dropdown box. ('use headphone jack as...' or so)


Mac Mini Server running Mountain Lion (10.8.2) is freezing during boot (last line: IPv6 packet filtering initialized)

A possibility

The lack of progress, beyond the firewall-related message, may be unrelated to the firewall or networking. For example, these two lines from Intel Mac Pro Stuck on Gray Apple screen before OS load (2010-07-17):

IPv6 packet filtering initialized, default to accept, logging disabled
Jul 15 22:08:39 kextd[25]: kextd_watch_volumes: Couldn't set up diskarb sessions

– that's not to say that your issue may be the same; just to encourage thinking beyond networking.

Preliminary advice

Use Recovery OS:

Disk Utility to verify the file system of the OS X startup volume
verify permissions of the OS X startup volume.

Then – if the file system is OK – get the full installer for OS X (at another Mac, if necessary); install to the outdated Mac.


Failed to authenticate with Google, please try again later

This is not a bug of macOS. It was bug or troubles in some google network services like oauth2 with urls: https://accounts.google.com/o/oauth2/v2/auth/identifier...
Solution is to use VPN with any remote GEO location.


I see that you have already tried a lot of things. Do you happen to have iOS 14.1 ? I heard that this problem happens on it. Perhaps one of these methods will help you:

Clear your Instagram App Cache
Update your Instagram to the Latest
Turn Off Power Saving Mode
Turn off/on airplane mode
Try to log out/log in


It seems like your bash shell is looking for .profile instead of .bashrc . What you can do is make a symbolic link:

ln -s ~/.bashrc ~/.profile

and restart your session (close, reopen Terminal). Any future bash setting updates can be made to .profile or .bashrc.


You could also use WriteRoom. It's based on TextEdit but has a few additional features like customizable themes.


Sync my Music from Windows with the correct Added Date?

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

This Apple support document answers your question very well. Migration Assistant will copy over your iTunes library with metadata. Before that, delete the iTunes library you copied over from your previous attempt.


iTunes is trying to upgrade to iOS 4.3.5 instead of iOS 5

I had the same issue. Connected my iPad, started iTunes, and was offered iOS 4.3.5 (and this was just last week!). I had iTunes up to date and everything.

I canceled the upgrade, closed and reopened iTunes, and it then decided to offer to upgrade to 5.0.

I think it will resolve itself. Try restarting.


That is odd. The only thing I can think of is that perhaps the start/stop times of some individual songs have been changed. Try this

Find a song that this happened to
Get Info on it (right click on the song in iTunes and select Get Info)
Click the "options" tab near the top of the Get Info window
Check and see if the start and stop times have been changed. Start should be "0:00" and end should be the full length of the song in minutes and seconds.

If those times are set incorrectly the songs will be clipped/truncated when playing, creating an AAC version of the song or burning to CD.

If that is not it... well sorry I don't know


How to replace icon view with list view on an iPhone's home page?

No, not without any type of jailbreak.

Apple doesn't allow any changes to the default grid view of their iOS/iPadOS devices.

If you have a jailbroken device, you can use tweak like HomeList.  This adds watchOS-type scrolling to the home page.


Screen capture app that captures a window even when minimized?

You are making the assumption that windows are always updated when minimized. This is not the case. This also applies to apps present on other spaces.

In other words, this is not possible.


Why doesn't Mail.app ver. 4 recognize Google Apps accounts as Gmail IMAP

The Gmail IMAP accounts are there for convenience: Gmail is popular and the possible in & out servers are the same for the lot of users. Having ugly technical data filled upfront makes the user experience more laid back and minimizes the possibility of typoing wrong data.

The domain itself doesn't tell if it is a Google Apps domain or not. Yes, (any) mail software could try to retrieve the info through some channels, but that would lead to extra traffic. Also using your domain with Google Apps is rather marginal versus not using your own domain with Google Apps.

Furthermore, it would be rather dubious if Apple tried to check every non-gmail.com domain if it is a Google Apps domain or not. Every query leaves a footprint.


How to disable coalescing of log messages in OS X?

The Console application is simply reading the log files.  I suspect running syslogd with that flag will cure your problem, as syslogd will then write the log files differently..


How to embed a file as an icon in MS Word 2011

A solution to this is to insert the icon and link the icon to the image file.

Find the image in Finder. Highlight the icon and select Get Info from the File menu; right-click on the icon and select Get Info from the contextual menu; or select the icon and press the Command+i key combo. Next, click on the icon the appears in the upper-left of the panel.

Press Command+c to copy the icon and then paste it into your document. Resize to your liking.

If you want the icon to link to the file, right-click on the image and choose "Hyperlink."

Then click the "Select" button and open your file. Finalize by click "OK"


When you decline an airdrop, does it go to recently deleted?

If you are the Airdrop recipient and you decline to share with someone, it doesn't get saved on your system.  It simply isn't transferred to you.

If you are the sender and the recipient declines your share, nothing happens; you still have the file and it stays in the same place.

If there's a file that you're seeing in the Trash (or as you mentioned it 'recently deleted'), that means the file was accepted and was then deleted.


Macbook Retina recognizing replaced SSD as external despite being internal

I believe it will only show up as internal if it's connected to the internal bus on the motherboard.  Anything else will display as external.  You can change the icons if you want it to look like an internal drive from Finder.


That's because <CTRL-=> is an invalid key combination in a terminal interface.

(Hint:  There's no such corresponding ASCII character.)


I'm not a coder. I'm a writer of prose and I type 90 words per minute, and like you, I can't stand Apple's keyboards. For years I used an ergonomic keyboard and the original Microsoft Natural Keyboard circa 1994 was the best for my needs. When I wore out my second Natural Keyboard, ultimately I determined that the issue for me wasn't the need for the ergonomic shape. Rather, it was the need for something with a deep, full, springy, clicky key travel, which I find much less fatiguing than typing on shallow keyboards. So these days I've gone back to conventional non-ergonomic keyboards but ones with full-travel clicky keys. The Matias USB 2.0 keyboard is my favorite and it's quite affordable. I also have a Happy Hacking Keyboard Lite 2 (OEM by Fujitsu, I believe) when I want to get totally minimalist. It's also favored by a lot of coders, I understand. It's been on the market for many years, and is reasonably priced.

With regard to a true ergonomic design: Although I have never tried them personally, the Kinesis Maxim and Freestyle models are available, and also in a version specifically for Mac.


Can I reverse the scroll direction of my mouse?

The system preference for scroll direction is all-or-nothing and applies to every input device uniformly.  With some things, this just doesn't make sense.  If you want fine-grained control of which input devices scroll in which way (for example, if you want touchpads to use the "natural" scrolling while having the scroll wheel use traditional scrolling), try ScrollReverser.


While a song is playing, pull up to reveal both the list of next titles and two buttons to enable/disable shuffle and to set the playlist or title to repeat.


How do I show if I am the BCC'ed recipient in Mail.app?

(Sorry for the lack of screenshots; I'm writing from a Windows machine right now)

Go to Mail > Preferences > Rules

Click "Add Rule"

For Description, enter "BCC"
For the conditions, select "Any Recipient" "Does not contain" and enter your address in the third field
For action, select "Set Color" "of background" "Purple" (or whatever color you chose)
and click OK.

From then on, incoming messages not sent "To:" or "CC:" you will be marked in that color.


How to register an AppleScript as a potential default web browser?

Have you tried adding the CFBundleURLTypes and the sub-key LSIsAppleDefaultForScheme?

<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLName</key>
        <string>Web site URL</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>http</string>
            <string>https</string>
        </array>
        <key>LSIsAppleDefaultForScheme</key>
        <true/>
    </dict>
</array>

Not sure that it will help, but I have noticed these keys in the info.plist of all the apps that I have checked that show up in that browser list.


How to run a script from Alfred or Spotlight or any run dialog?

Dterm

You might want to take a look at Dterm. This is a dialog under commandshiftreturn and does exactly what you are looking for and it does even more than that.

As it says on the site:

"DTerm provides a context-sensitive command line that makes it fast and easy to run commands on the files you're working with and then use the results of those commands."


It seems that a recent restore and fixing permissions and the disk in Disk Utility have cleared up the issue. If it does happen again, however, I will return to this post with a bounty. Also, a recent OS X update seems to have eliminated the issue.


As of Mavericks, this is provided by the OS. Activity monitor has a tab devoted to displaying the energy use of running (and recently running) apps.

Also, the battery icon shows applications that use significant energy on Mavericks and newer.


Recover partitions or data after partition map becomes corrupted (HFS+)

DiskWarrior

It worked wonders for me, and so did it for many other people. However, for very serious cases like yours, it took about 3 months continuously to completely restore all my data back. However, this requires a Mac.


How to get iTunes to reconnect after buffering?

It is not possible to change the time-out within iTunes easily. But there is another solution to your problem.

Create a playlist of an internet stream

Go to the iTunes Internet tab.
Select your radiostation
Get Info (File -> Get Info, or CommandI)
In the info screen, select the Summary section
Right click the URL next to Where:, 'Copy URL'
Now open this stream (File -> Open Stream, or CommandU, paste, OK)

This should create a new playlist "Internet Songs". As it only contains 1 'Internet Song', this should keep your from skipping to the next stream.


Mavericks update broke ssh key-based authentication

Turns out it was about the key file name.

authorized_keys2 was the correct one to use for SSH2 keys a loooong time ago when I first configured the key-based authentication. For years, authorized_keys2 file was deprecated but still working. In Mavericks version of opensshd the support has been dropped.

This can be fixed with a simple rename:

cd ~/.ssh; mv authorized_keys2 authorized_keys


How to fix Safari print preview crash after upgrade to Mountain Lion?

https://discussions.apple.com/thread/4213152?start=0&tstart=0

It's an issue with the most recent driver version. Open Finder, select Go > Go to Folder and write:

/Library/Printers/hp/PDEs

and delete:

hpPostScriptPDE.plugin


Problem after erasing the HD of a brand new Mac (OS X Yosemite) with Disk Utility

Basically you have a CoreStorage Logical Volume Group without a CoreStorage Logical Volume now. You may delete your Logical Volume Group (-> step 4) or restore a Logical Volume (-> step 7).

Requirements: Booted to Recovery Mode

Please quit Disk Utility.
Open Utilities/Terminal in the menubar
Enter diskutil cs list and hit enter. The output will look like this:

CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 5B8350BF-20EF-4199-82E6-129EFF19E9EB
    =========================================================
    Name:         Macintosh HD
    Status:       Online
    Size:         250640592384 B (250.2 GB)
    Free Space:   6111232 B (6.1 MB)
    |
    +-< Physical Volume 907FCDE2-0C62-4951-A39E-36F19244FDB7
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk0s2
    |   Status:   Online
    |   Size:     250634481152 B (250.2 GB)

To delete the Logical Volume Group enter:

diskutil cs delete lvgUUID

The lvgUUID is the UUID of the Logical Volume Group and usually the first listed.
In the above example:

diskutil cs delete 5B8350BF-20EF-4199-82E6-129EFF19E9EB

This will delete your CoreStorage LVG and reformat it as an unencrypted HFS+ volume.
Enter exit, hit enter and quit Terminal
Open Disk Utility to format your disk like you want.
After step 3 you may create alternatively a new CoreStorage Logical Volume in your orphaned LVG by entering:

diskutil cs createVolume lvgUUID jhfs+ NewVolName Size

Using the above example

diskutil cs createVolume 5B8350BF-20EF-4199-82E6-129EFF19E9EB jhfs+ MyMac 100%

would create a new full sized (≈ 249.5 GB) Journaled HFS+ volume with the name 'MyMac'


How to setup iPads to be shared by multiple users?

iPads, by their nature are single user devices. One could go on and on about why that is or is not a good thing. But the fact remains that currently iOS does not offer multiple logins, like you can get on any Windows PC, or any Macintosh.

Apple does offer Apple School Manager that may give you some or most of what you are looking for. Perhaps someone with actual familiarity with this program could chime in or provide a more complete answer, but that link should at least get you started.


Can I do 4K@60hz with my early 2015 MacBook Pro Retina?

I have a similar device (Early 2015 rMBP with 16 GB running macOS Sierra 10.12.6) and can confirm that it will power an external 4K display at 60 Hz - it's supposed to power two external displays at 4K (3840x2160) in addition to the builtin display, in fact. However, there are anomalies on my side when it comes to the refresh rate depending on my screen setup. Also, MacOS does not let me choose the refresh rate for the 4K screen when it's connected through the Mini DisplayPort to DisplayPort cable - other than feeling the difference, I only see the refresh rate in the system profiler.

Hardware:
rMBP Early 2015 with macOS 10.12.6 and 16 GB RAM;
Display 1 (old): 900x1440 via mDP-DVI adaptor and DVI cable; Display 2 (4K): 3840x2160 via mDP-DP cable

Scenario 1 = 1 desktop:
rMBP is closed,
Display 1 (old) is disconnected,
Display 2 (4K) is the only desktop displayed at 3840x2160 @ 60 Hz

Scenario 2 = 2 desktops with builtin screen:
rMBP is open at 2560 x 1600 Retina,
Display 1 (old) is disconnected,
Display 2 (4K) is connected with 3840x2160 @ only 30 Hz

Scenario 3 = 2 desktops without builtin screen:
rMBP is closed,
Display 1 (old) is connected with 900x1440 @ 60 Hz,
Display 2 (4K) is connected with 3840x2160 @ only 30 Hz

Scenario 4 = 3 desktops:
rMBP is open at 2560 x 1600 Retina,
Display 1 (old) is connected with 900x1440 @ 60 Hz,
Display 2 (4K) is connected with 3840x2160 @ 60 Hz

To sum up, this means that my early 2015 rMBP 13" will only display 4K @ 60 Hz on the screen capable of doing so if either all 3 displays are active or the 4K display is the only active display. The refresh rate on the 4K screen is dropped to 30 Hz if it's one of only two active displays. This result has persisted despite restarting my Mac but I do not know if this behavior is limited to my example. If any reader has a logical explanation and/or solution for this, please post your answer.


Can MacBook Pro with Retina display (13", Late 2012) output above 1080p to 4k tv?

What's officially "supported" and what's possible don't match. I have a late-2012 rMBP and got 4K out of it at 30Hz.

I took a screenshot as proof:

Just a normal mini-displayport<->displayport cable was used.

More details in my answer here: https://apple.stackexchange.com/a/147765/39878

or on this blog post: http://www.mattburns.co.uk/blog/2014/09/30/running-the-4k-aoc-u2868pqu-and-intel-hd4000-graphics/


Textmate alt-f to move forward by one word

As usual... KeyRemap4MacBook to the rescue :P   Its emacs mode will give you those bindings, and you can choose a lot more bindings than that as well:


Upgrading MacBook Pro 17" - do I need to connect old drive externally?

Migration Assistant can use a Time Capsule as a Time Machine backup source, without the need for a direct connection. Once you've installed OS X, use Migration Assistant to restore from a Time Machine backup, then select your Time Capsule.


How to sync contacts between MacBook and iPhone without iCloud

With the help of Apple support I have determined that one of the contact records was responsible. When that contact was removed syncing between the computer and the phone was successful. When that contact was included, syncing failed.

I compared hex dumps of the bad record  and good records and I could find no significant differences.


They will regenerate and make the old codes invalid.

"They become invalid if a new version of the app becomes available" ... "You can request up to 100 promo codes for every version of each platform of your app"  - Apple Developer - Providing Promo Codes


In the Finder, use command-F to get a Finder search window.  You will get:

There is now a bar with criteria added.  You see a pop-up menu "Kind" followed by "is" and another pop-up menu "Any".  Click the "Kind", and choose "Name" from that menu:

There now is a pop-up menu just following "Name", select "contains" from that, and type the word "path" in the field that follows.
You can add criteria by clicking the + sign at the right of the search bar.

Spotlight does seem to "power" the default search field in Finder windows.  I use Spotlight only in desperation, as it almost never ever finds what I'm looking for.  But with the search criteria in the Finder's search window I usually book success.

So, remember:  command-F gets you a Finder search window with a criteria bar, and that certainly helps.


There were quite a few changes.

The biggest is that this is the first version of iOS 4 for the iPad, which brings multitasking, folders, unified inbox, air print, air play, and more.

This is also the unifying iOS so that the iPad and iPhone and iPod Touch are running the same OS now.

You can find an entire list at http://www.apple.com/ios/


How to stop Mac App Store from downloading macOS Sierra?

Even though you already installed macOS Sierra, App Store still allows you to download the original install file.

There are 3 methods to cancel a download in Mac App Store:

You can stop the download by going to Launchpad, click and hold on macOS Sierra and click the small 'x' button to delete it. This will stop its download.
Turn off your WiFi temporarily and Mac App Store will show a message that the download has failed. Then, find the downloaded file in the Applications folder and move it to Trash. Empty the trash and turn your WiFi back on.
Go to the Purchases page in Mac App Store, hold down option key and click Cancel. The download will be cancelled.


How do I ensure SMB based volume paths are available?

In a script you can use the following basic construct:

#!bin/bash

if mount | grep -q "remoteshare"; then # check if remoteshare is available
    exit
else
    echo not found
fi

grep -q ... suppresses normal output. If successful the script exits. In the other case it will echo "not found".

Instead of echo not found you can ssh into the remote server, run serveradmin and enable or restart the smb service – man serveradmin will show you how to do this. Then quit the ssh session and try to remount the SMB share.

To ssh passwordless into the server enable key based authentication - passing a password in a script is insecure and error prone. To use serveradmin on the remote server without sudoing, modify /etc/sudoers on the remote server and change the part:

## User privilege specification
##
root ALL=(ALL) ALL
%admin  ALL=(ALL) ALL

to

## User privilege specification
##
root ALL=(ALL) ALL
%admin  ALL=(ALL) ALL
your_remote_username ALL=(ALL) NOPASSWD: /Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin

Instead of the line echo not found use something like this then:

ssh username@remotemac
serveradmin stop smb
sleep 10
serveradmin start smb
sleep 2
exit
echo "SMB service was restarted"
mount_smbfs //your_remote_username:password@remotemac/folder /some/mntpoint

The inaccessibility of an SMB share may have many causes. It's probably impossible to cover all cases in one script.


How to upgrade macOS when it asks me to approve my billing info?

I had exactly the same problem on my early 2013 macbook pro with mac os Mountain Lion. For me, opening my Apple Id on my Ipad and changing the billing info there solved the problem.


The command for alias local='...' gets run on terminal open

I could not recreate what you have said is happening to you.

Saying that I would say that: It is really very dangerous to invoke local as your alias

Because the word local is a shell builtin, a reserved word for the default Bash shell to define a local variable in Bash script inside a Bash function. If you do type local from a new terminal window after removing it from your alias or by unalias local and then you would see it says:

local is a shell builtin

That is why, when you changed your alias to local2 from local it worked fine since local2 is not a shell builtin.

However, if you are using Korn Shell (version 93u+), local is not a shell builtin there. But, in most other shells local is a reserved word or shell builtin. So, in short: local should not be stored as an alias

For more information about shell builtin, look at man page: man builtin

Also, as mentioned by Gordon Davidson, there is definitely something calling the local variable and since you have overridden it as an alias for npm, it is running each time you are opening a new session.


How to include a tab in an Excel for Mac cell - Mac equivalent of char(9)

Believe it or not, the TAB character on a Mac has the same ASCII code -- 9, so =char(9) should just work.


Bash subshell in Terminal has Mac OS's session save enabled

I’m not certain when this became the default, but I agree, it’s an annoying default; it was added in one of the last few major releases. I came across this question because I was searching for how to best disable this, and I think you may have provided the solution yourself:

In /etc/bashrc_Apple_Terminal, there is great amount of documentation about how the functionality in the file is implemented.

The final comment is the kicker:

# The save/restore mechanism is disabled if the following file exists:
#
#   ~/.bash_sessions_disable

I tested this on my machine and it works, no more session saving.


save a file to /usr using Mac's Save As dialogue

It does indeed appear to be a regular save dialog, so once you've expanded it (the down-arrow next to 'Where' so you get a mini-finder view), the key combo ⌘ Command⇧ Shift. should toggle invisibles.

(The same combo works in Finder proper, also)


I've just assigned custom shortcuts for the menu bar items.

You could also assign a shortcut to an AppleScript like this.

try
    tell application "Skim" to tell document 1
        if item -2 of (view settings as list) is single page then
            set view settings to {display mode:single page continuous}
        else
            set view settings to {display mode:single page}
        end if
    end tell
end try


How can I use rEFInd boot manager without an enter key?

You can try using one of the following:

rEFInd does have the ability to work will a mouse. If this does not work automatically, then you may have to edit the refind.conf file. This file can be found in the EFI/BOOT folder of the EFI volume labeled ElTorito on the USB.
By default, you can make your selection by pressing a number key. So for example, if the first row on the displayed rEFInd menu has three icons, the you can make a selection by pressing either the 1, 2 or 3 key. In fact, you can do this before the menu is even displayed.
The return key has the ASCII code of 13, which is a control M. So you can substitute pressing the control+M key combination for pressing the return key.


MacBook Air/Pro: run script upon lid close?

There does not seem to be a way for a program to get notified when the lid is closed. However, the state of the lid can be monitored periodically (and in this particular case, every second) and actions taken based on the lid state.

I do not know of any program that can provide a complete solution for your need, but you can use the following information to build a solution yourself.

Download this clamshellstate.pl perl script
You can run it in Terminal (under /Applications/Utilities) like:

./clamshellstate.pl 1

to get an output like "Open" or "Closed" indicating the current lid state
Create a shell script like (substitute script-to-run with a shell script you'd like to run):

./clamshellstate.pl 1 | grep Closed > /dev/null && *script-to-run*

Configure this script to run once every second using launchd.plist. Or use Lingon to easily configure launchd.plist.

Note: Instead of clamshellstate.pl, you can also use the following command in Terminal:

ioreg -r -k AppleClamshellState | grep '"AppleClamshellState" = Yes' | cut -f2 -d"="

to get a "Yes" for the closed state and a "No" for the open state.


My Notes app accidentally got deleted from my iPhone 4s and I cannot locate it in the app list in iTunes when I synch. Any ideas?

It sounds like it's not deleted, but just off of the screen. I've had this happen to a few of my apps. What I always do to fix it is go to Settings > General > Reset > Reset Home Screen Layout. You'll get your Notes app back, but your Home Screen will be arranged into alphabetical order, and unless you're JailBroken, this is pretty much the only way to get it back without restoring.


Triple Boot Mac OS Sierra, Windows 10, Kali Linux 2.0 On A Macbook Pro

I sugest the  easiest  way is to instal Mac and windows as you have done before make the partition etc then when you go to install Grub there is an option where to install it. install to the partition where the linux installation is (take note during partitioning the location) this way the boot partition doesn't get edited and often it cant be on new systems except by the host OS. then make a bootable usb with supergrub2 to boot linux this way when osx updates or anything else decides to write to EFI your ok. this still gives you the option to direct refind or whatever bootmanager to grub


I can't find the contact after I saved them on my IPhone 5S,

Go to Contacts. Upper Left hand corner, tap "Groups". You may have more than one account apart from your iCloud account, like Gmail. In this case, it might be that only one account is checked so just check all accounts including your iCloud account.


You can try and remove the ~/Library/Messages and
~/Library/Caches/Messages folders, then restart.


All iPads I have ever seen has had their OUI listed as Apple Inc, even though the WiFi network chip is made by others. This has been true for the first generation iPad as well as the latest iPads I have seen.

Of course I cannot know if Apple has made a device with a different OUI - I doubt it though.

Note that it is possible to change a MAC address in software. This means that devices from other vendors can "masquerade" as Apple devices, and vice versa.


Are time machine directory exclusions recursive?

Yes, directory exclusion are recursive. This means that if you exclude for example ~/MyDocuments/ then everything in that folder and beneath is excluded. That includes for example ~/MyDocuments/SubFolder/document.docx.

However, there are some special cases. When you have a non hard-link, the link itself is excluded, but the link is not followed to exclude the objects linked to. This means that a symbolic link or firm link, like you have in your case, is excluded from the backup - but not what it links to.

In your case /usr/local is not really a subfolder of /usr, but rather a link. This is the reason you see that /usr/local, which is really /System/Volumes/Data/usr/local, is not excluded when you exclude /usr.

Note that excluding a directory does not exclude the volumes mounted under that directory. For example sudo tmutil exclude -p /System will only exclude directories in the volume / (but not other volumes mounted to /System/Volume/ e.g. /System/Volume/Data/).

According to the man page:

  The third kind of exclusion is a volume exclusion. These track volumes
  based on file system UUID, which is persistent across volume name and
  mount path changes.

Therefore sudo tmutil exclude -v / will exclude folders and volumes (including /System/Volume/Data/).


Can water seep into my laptop through the sides of the trackpad?

Yes - capillary action is strongest in small gaps like the one surrounding the glass trackpad and the unibody frame. That liquid would likely seep and pool on top of the battery.


View Keychain from encrypted IOS 8.2 backup?

I had the same problem and found a great article that helped me decrypt the keychain from my iOS 9 backup: Recovering Google Authenticator Keys from iOS Backups.

Here are the steps for El Capitan:

Install pip: sudo easy_install pip
Install m2crypto (see answer to Trouble installing m2crypto with pip on El Capitan)

First, install openssl and swig with Homebrew: brew install openssl swig
Then install m2crypto using pip:

env LDFLAGS="-L$(brew --prefix openssl)/lib" \
CFLAGS="-I$(brew --prefix openssl)/include" \
SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \
pip install --user m2crypto

Install some more Python packages:

pip install --user construct progressbar pycrypto pyasn1

Download the iPhone Data Protection Tools
Extract your backup: python backup_tool.py PATH_TO_BACKUP
And finally, decrypt your keychain:

python keychain_tool.py -d "PATH_TO_extract/KeychainDomain/keychain-backup.plist" "PATH_TO_extract/Manifest.plist"


I'd rather throw them away. There are a few Youtube videos that could help, though.

The one which felt into the glass of water was, perhaps, the right one? I don't know why, or if it is just mine (and my mother's, actually) but it seems that the left one sounds a lot lower than the right one.

It seems, too, that Apple is quite nice about replacing the headphones while under warranty. It's worth trying, too.


"apps" are "Package Bundles" is Apple jargon, and are treated specially by the OS.
As mentioned above, these are actually Unix directories, in a special format. The actual Unix Executable File is in a subdirectory named MacOS, which you can see using the "Show Package Contents" menu in Finder.
The "app" is analogous to the directory created when you install a Windows program.
You can indeed navigate into the app, and run the Unix Executable File.
For more complete details see the Apple Bundle Programming Guide It is in the archive section but Apple's new documentation does not give the overview
This doesn't solve your problem, but without knowing more about the app it won't be solved by manipulating the package. You will need to contact the developer.
You could also look at the Console app, which will let you examine any error or warning messages.


Script / Automator for conversion of Apple Works docs to .odt docs

Well, 2 answers came in on another bulletin,

1st by fosnola:

Hello,

one solution can be to use the LibreOffice command tool line ( see http://blog.vogella.com/2012/02/27/batch-converting-libreoffice-documents-into-p df/ ), ie. to type in a Terminal windows something like:

 /Applications/LibreOffice.app/Contents/MacOS/soffice --invisible --nologo --convert-to odt *.cwk

to convert all files *.cwk to odt

Another solution can be to modify mwawOSX ( @ sourceforge.net > projects > libmwaw > files ), an AppleScript which called the libmwaw, the filter that LibreOffice uses...

--------------------------------..--------------------------------

2nd by VilingOSX:

On OS X 10.9.2, the LibreOffice 4.2.3.3 command-line (Terminal) syntax for converting a pure AppleWorks 6.2.9 WP document to the following formats:

MS Word .docx

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to docx:"MS Word 2007 XML" --outdir ~/Desktop alice_6.2.9_osx.cwk

PDF

/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to pdf:writer_pdf_Export --outdir ~/Desktop alice_6.2.9_osx.cwk

A couple of paragraphs of the conversion result shown in Pages v5.2 from the output Word document.

...[LINK]

And the following is a .docx from an MS Windows AppleWorks v5 document conversion, changing only the alice cwk with lorem_v5_win.cwk:

...[LINK]

If you have mixed text and graphics, your mileage will vary on the quality of the output.

--------------------------------..--------------------------------
Will have to test which is better.

/
Omar KN


Make command line app behave like a normal macOS app?

There is an app called Platypus which will take shell scripts or python scripts and make them into an app that you can just double click to run. The app is free. I use it to convert python scrips but it also works for command line scripts.


You can access the protected files by entering the password.  However, you will get the warning that by opening the document it will become a Pages for iOS document, and thus will no longer be password protected.  You do have the option of 'Opening a Copy' thereby preserving the originals password.

This could be useful if you just need access to the document to read it and then deleting the copy.  Not so useful if you need to edit the doc and save it and have the password intact.


Will an AT&T iPad purchased from Best Buy US work in india?

There are 2 options.

First you will have to have AT&T unlock your device.

Then you will need to find a provider in India that will support your device.

Alternately (but costly) is to open an International roaming account with AT&T.

Check here:

http://www.wireless.att.com/learn/international/roaming/travel-guide.jsp?

Technically speaking, you device will work in India.

Check here

http://www.wireless.att.com/travelguide/coverage/roaming/step3.jsp?CIDL=356&CTN=&MNC=SHOP&DID1=468&DID2=&devicenum=1&STEP=3


SSH-Keygen Fingerprint and SSH giving fingerprints with lots of letters and numbers

Turns out that SSH recently switched from using MD5 fingerprints (what I refer to as a "traditional" fingerprint) and now uses SHA256 fingerprints (what I referred to as gobbledygook).

I'm guessing that with El Capitan OS X is now using a newer version of SSH that is using the new SHA256 default.

For those of you who find this, although SSH will give you an SHA256 fingerprint by default, you can ask SSH to give you an MD5 Fingerprint.

ssh -o FingerprintHash=md5 [server]

It appears that on my Mac, that the command

ssh-keygen -lf /path/to/key

now defaults to an SHA 256 fingerprint. However, if you're using Ubuntu, it looks like ssh-keygen is still defaulting to MD5 (maybe I need to update my ssh package on Ubuntu).

Here is the post that I finally found once I started using the right terminology:
https://superuser.com/questions/929566/sha256-ssh-fingerprint-given-by-the-client-but-only-md5-fingerprint-known-for-se


You can pipe your command into more or less.  du -h | less
This gives you a page at a time.


One possibility could be to use ControllerMate.

You would have to create a Driver Configuration and map all of the keys to None.  Then there are multiple ways to enable/disable the custom Driver Configuration, but unfortunately CLI is currently not an option.

But CM is very customizable and I'm sure you could come up with something.  For example, using the logic blocks, you could have it disable when you have held down Z for 2 seconds, then hold down P and click the mouse.  Using a delay timer block to wait for 30 seconds but then only re-enable if holding the left shift key down and scrolling the mouse up/down.

Another similar utility that might work is Karabiner-Elements.  It is a complete rewrite of his wonderful Karabiner app which broke hard with macOS Sierra.  It is still in the early development stages but it might have the functionality you need.


My first suggestion would be to launch iTunes and from the menu bar select Store -> Check Available Downloads

If that does not work, just contact Apple Support. Reference your order number, and they should push the download back down to you.

They do have a 24 hour turn around on this, so do it earlier rather than later so you'll have it for your next flight!

http://www.apple.com/support/contact/


iBooks margin is a waste of screen space

Open up the Settings app > iBooks > Full Justification


How to set default directory for Emacs 27.1 app?

I had the same issue after installing Emacs 27.1, my default directory became "/"
I could fix it by adding the following to my .emacs file.
(setq default-directory "~/")
(setq command-line-default-directory "~/")


Erase All Contents And Settings on iPhone 4

The tool you want to use is iTune's Restore to Factory Settings, found in the General tab when your iPhone is connected to iTunes.

While I haven't used this on an iPhone, I am reasonably sure that it will remove your iOS (firmware) updates so that you will have to re-download them.
It will also take all your apps, music, videos, and other media off the iPhone, as well as erasing all your settings and resetting them to the defaults. Basically, your iPhone will be just like it was when you bought it.

Directions on how to perform this operation (and restore afterwards from a backup) are available in the Restoring section of this Apple help document.


Difference between unlocked iPhone and carrier iPhone

An unlocked phone is sometimes called a SIM-Free or contract-free phone. Unlocking means that you can use your phone with a different carrier. Hope this will help you.


Global Proxy - Tunnel All Traffic to Proxy

I believe this question has been asked and answered over at Superuser: https://superuser.com/questions/802967/how-can-i-make-sure-all-my-macs-tcp-traffic-goes-through-a-socks5-proxy


How can I get 2560X1080 resolution on my LG 29UM58 monitor, connected to a Mac Mini?

You'll need a 1080 capable adapter or better. See this thread for some options.

How can a Mac mini drive 3440 pixels wide display instead of 1920?

I'd get the cable matters 4K adapter over the 1080p one if you can afford the extra $4 cost.

Keep in mind HDMI spec as well for limits on resolution: Can a MacBook Air support 2560x1600 output via HDMI using a Mini DisplayPort/Thunderbolt to HMDI adaptor?


Macbook Pro external monitor maxes out at 1360x768

Turns out a reboot was necessary for it to display correctly.  Once that was done all is good in the world again.

NOTE:
Was never able to get this to work properly with a VGA adapter - a reboot is always required.  The only solution was going to HDMI.


macOS, delete profiles that need password

You can back up the Mac and then boot to recovery and erase it. The MDM profiles are designed to resist cracking so erase and restore is often the fastest method.

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


This was discussed some time ago on Unix.SE and the bottom line is that there is no general way of doing that, unless you

want to search for that data in the memory of the terminal process
you want a terminal that support querying for the buffers (some says xterm knows that)
You have your commands running in screen/tmux

I would not like to discourage you nor any other possible answerers. Maybe there is some Apple-specific way I don't know about.


I don't know of any place specifically to discuss Neo, but I've been using it for a few years (used to be called Tao) and it is my most used application on my computer. I own licenses for Neo and OmniOutliner and Neo is just much much much more configurable and powerful. It has a bit of a learning curve, but it's an amazing piece of software. In the Windows world I used to use Ecco Pro, which is also amazing and free nowadays.


HFS+ case-sensitive or case-insensitive -- which type to use for the primary drive partition?

Use the default (case-insensitive) unless you both a) know what you're doing and b) you absolutely have to. There are several programs (Norton Antivirus comes to mind) that won't work properly on a case-sensitive file system.

HFS is, by default, case-insensitive but case-preserving (i.e. it doesn't care what you type for comparison purposes, but it will remember what you type).


How does H2O Wireless work with the iPhone without needing any unlock?

H₂O doesn't provide a network of its own. Instead, it purchases bandwidth in bulk from a carrier, in this case AT&T, and provides prepaid service using the carriers network.

So your friends phone isn't unlocked, but works just fine on the carrier network that its locked to.


Have you installed any tweaks that prevent restoring via iTunes such as NO PLS RECOVERY? If not, then try going into DFU mode: How to get into DFU mode and iTunes should recognize your device. If it still doesn't, try removing all Apple applications from your computer & re-installing the latest available version of iTunes: Download iTunes from here.


Here is a place you can learn all about Batteries.

Battery University.

and from Apple here

To you question on 8+ hour, the new MacBook Air (2104 model) has that.

  The 11-inch MacBook Air lasts up to 9 hours between charges and the
  13-inch model lasts up to an incredible 12 hours.

The cycle count is only one of the indicator and can not be used as absolute measure of Battery status. You need to look at the Full Charged Capacity (in About This Mac- Power)to get total understanding of the battery status. That one indicates the capability of the battery to hold the charge indicating how many cells are not doing so well and not holding the charge.

With all that said, if you use the battery in the Apple prescribed manner, you can not prolog its life beyond the original design, or beyond the physics and chemistry involved. For example a battery will develop short circuits due to build up of Whiskers (growth of Li metal deposits) that short out portions of the cells during its life and there is not much you can do about that.


How do I take a picture of the login screen?

You can SSH into another Mac and use screencapture in the shell.

Enable remote login in the sharing preferences on the other computer
ssh username@other_computers_ip
sudo screencapture ~/Desktop/screenshot.png


LaunchPad totally disorganised after reboot OS X Yosemite

Go to: User directory > Library > Application Support > Dock > there, you might have a file with a strange name finishing by .db - you can do this in finder with the Go menu and paste or type the string shown below:

Put this file into the trash, but don't empty the trash, just in case.
Just restart the Mac. The Launchpad must be reinitialize, that's mean you have to remake the arrangement of all your apps, the same way at your first Lion's installation. Voilà!
If you have problems after the reboot, you can restore the file from trash to the correct location - replacing any new file that was created and then contact Apple support in that case:

From Apple Discussions


Pause notications in OSX whilst in a meeting

When you click on the notification icon in the top bar, you can select "Do not disturb" there by clicking the icon and scrolling up, the setting is hidden above the first notification. You'll see that the icon is greyed out to show the change in state.

As a shortcut you can click on the notification icon in the top bar whilst keeping ⌥ ALT pressed to go into "Do not disturb mode".

Notifications won't show up now!


how to avoid the "downloaded application" warning for a Standard User

The basic problem is that the applications are all marked as being in quarantine (they have the "com.apple.quarantine" extended attribute) because they were downloaded from the net. Running the app removes the quarantine attribute if the file permissions allow you to modify the file (e.g. if you're the file's owner -- in this case, the Admin user). If you don't have permission, the quarantine attribute stays, and you keep getting the "downloaded from the Internet" message over and over.

Solution: one way or another, you need to remove that quarantine attribute. You can do this for a bunch of apps at once in Terminal.

First use su (switch user) to switch to your admin user (type in "su", then a space, then the account name of your admin user, then press return and enter the admin account's password; note that the password won't be displayed as you type). It should look something like this:

Dans-Mac:~ dan$ su adminacct
Password:
bash-3.2$

If that works, type in "xattr -r -d com.apple.quarantine", then a space, then drag all the apps you want to dequarantine from the Finder to the Terminal window; when they're all listed, press return. Note that you can drag them one at a time or in groups, whatever's convenient. Something like this:

bash-3.2$ xattr -r -d com.apple.quarantine /Applications/BBEdit.app /Applications/Firefox.app


system_profiler SPSerialATADataType

Located at /usr/sbin/system_profiler. For example:

SATA/SATA Express:

    Intel 7 Series Chipset:

      Vendor: Intel
      Product: 7 Series Chipset
      Link Speed: 6 Gigabit
      Negotiated Link Speed: 3 Gigabit
      Physical Interconnect: SATA
      Description: AHCI Version 1.30 Supported

        APPLE HDD ST1000LM024:

          Capacity: 1 TB (1,000,204,886,016 bytes)
          Model: APPLE HDD ST1000LM024
          Revision: 2AR20008
          Serial Number: XXXXXXXXXXXXXX
          Native Command Queuing: Yes
          Queue Depth: 32
          Removable Media: No
          Detachable Drive: No
          BSD Name: disk0
          Rotational Rate: 5400
          Medium Type: Rotational
          Partition Map Type: GPT (GUID Partition Table)
          S.M.A.R.T. status: Verified
          Volumes:
            EFI:
              Capacity: 209.7 MB (209,715,200 bytes)
              File System: MS-DOS FAT32
              BSD Name: disk0s1
              Content: EFI
              Volume UUID: 0E239BC6-F960-3107-89CF-1C97F78BB46B
            iMac HDD:
              Capacity: 999.35 GB (999,345,127,424 bytes)
              Available: 241.23 GB (241,225,633,792 bytes)
              Writable: Yes
              File System: Journaled HFS+
              BSD Name: disk0s2
              Mount Point: /Volumes/iMac HDD
              Content: Apple_HFS
              Volume UUID: ECE5EA87-55BF-33A8-AA27-FB7BE9F48CC4
            Recovery HD:
              Capacity: 650 MB (650,002,432 bytes)
              File System: Journaled HFS+
              BSD Name: disk0s3
              Content: Apple_Boot
              Volume UUID: A6D16761-A44A-3B42-9C8D-DDDD4E42B6F6

    Intel 7 Series Chipset:

      Vendor: Intel
      Product: 7 Series Chipset
      Link Speed: 6 Gigabit
      Description: AHCI Version 1.30 Supported


I can think of a couple of things.
First, try deleting everything in your .Trash folder with sudo privileges:
sudo rm -rf ~/.Trash/*

If that fails, then try resetting the PRAM on your Mac. Sometimes doing so can surprisingly fix odd errors.
Finally, make sure that the permissions on your .Trash folder are correct
ls -ale ~/.Trash/

The permission for the folder should be like the following:

drwx------  24 username  staff         816 Mar 24 22:06 .
drwxr-xr-x+ 34 username  staff        1156 Mar 24 09:51 ..


Mac wakes up from sleep every two hours on Mac OS X Yosemite

Since com.apple.mDNSResponder.plist got replaced by com.apple.discoveryd.plist after Yosemite Beta, there is another solution for your Problem.

All you have to do is to run following command in your terminal:

sudo /usr/libexec/PlistBuddy -c "Add :ProgramArguments: string --no-multicast" \
         /System/Library/LaunchDaemons/com.apple.discoveryd.plist

And reboot your system and it should be gone.

Like also described here: http://ispire.me/fix-yosemite-rtc-alarm-wakeup-issue/

You just have to know that services relying on multicast might not work properly anymore after this change.


Photos unable to consolidate referenced photos

For the record, although I was reluctant to try it at first, what eventually solved my problem, was to

relocate all files into the Aperture library,
completely delete the Photos library,
reimport the Aperture library with all photos now managed.

Steps 1 and 2 can run in parallel to save time. After doing this, Photos is now able to scan all 17,000 photos for faces and upload all of them to my iCloud Photo library.


How to use Nike Running with iOS 8's Health app?

Nike (and all the others providing similar things) needs to update their application to make use of HealthKit and send data to the Health app.

Apple has announced that these updates also will not be available until later in September 2014:

http://www.loopinsight.com/2014/09/18/apple-pulls-healthkit-apps-after-discovering-last-minute-bug/


Your earbuds have one plug that goes into the headphone socket on your laptop, that socket does NOT have a microphone pickup.

The socket in your iPhone is dual capable, both headphone and microphone connections.

You will need to get a headset that has both a microphone and headphone plugs if you want to use your laptop for dictation


IDERepositoryViewer damaged or missing resources causes Xcode 5 to crash. Why?

Thanks for your post of the problem, it helped me to work out what the issue is. That offending plug-in is NOT part of Xcode 5 at all. Like you, I had this happen after upgrading from Xcode 4 to Xcode 5. I did a clean install of Xcode 5 on another computer and it doesn't have that plug-in.


After Zoom install: macOS forwards various requests to localhost

Unbelievable, after months of digging around cluelessly, I seem to have found it out. Apparently, the IPs
103.86.99.99
103.86.96.96

are part of some malicious part, they appear here:
$ scutil --dns
resolver #1
  search domain[0] :
  nameserver[0] : 192.168.178.1
  nameserver[1] : fd00::7eff:4dff:fe7e:56fa
  if_index : 5 (en0)
  flags    : Scoped, Request A records, Request AAAA records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

resolver #2
  nameserver[0] : 103.86.99.99
  nameserver[1] : 103.86.96.96
  if_index : 14 (ipsec0)
  flags    : Scoped, Request A records
  reach    : 0x00000003 (Reachable,Transient Connection)

and this resolver #2 isn't shown in any DNS settings in the system config.
running $sudo scutil, I found these IPs in this entry:
>get State:/Network/Service/39118383-7AC1-4270-AA42-7F97B4505F57/DNS

>d.show

<dictionary> {

  ConfirmedServiceID : 39118383-7AC1-4270-AA42-7F97B4505F57

  ServerAddresses : <array> {
    0 : 103.86.99.99
    1 : 103.86.96.96
  }

The top answer here showed me how to replace this entry with a proper one. After that, I ran:
sudo rm /etc/resolv.conf

sudo ln -s /var/run/resolv.conf /etc/resolv.conf

What kind of crap could that have been ?


Boot Camp partition removal failed in macOS Sierra

After an unsuccessful Boot Camp Assistant “Remove Windows 10 or later version” execution, almost any CoreStorage partition I came across was FUBAR. This usually doesn't affect the file system/content of the system volume but some internal CoreStorage structures which inhibits any modification of the Logical Volume Group and subsequent containers.

Backup your main macOS volume with Time Machine or another backup solution.
Disconnect your external backup drive.

Last resort (very unlikely to work!):

Open Terminal and enter diskutil cs list
With the UUID of the Logical Volume (usually the last UUID in the output of the previous command) enter

diskutil cs resizeStack <lvUUID> <size>

e.g.

diskutil cs resizeStack F95E3156-8CFA-4B73-98F7-5A6D9644CA6F 248500m

The command usually fails with some error. But if you get Error: -69720: There is not enough free space... use a slightly smaller size like 248200m until you are successful.

Common approach (with a Time Machine backup):

Restart to Internet Recovery Mode by pressing alt cmd R at startup. Booting to Recovery Mode is not conducive because the Recovery HD will be moved in one of the steps below. And you can't move a partition used as a boot volume.

The prerequisites are the latest firmware update installed, either E
thernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot into a recovery netboot image which usually is loaded from an Apple/Akamai server.

I recommend Ethernet because it's more reliable. If you are restricted to Wi-Fi and the boot process fails, just restart your Mac with the same shortcut until you succeed booting.

Alternatively you may start from a bootable installer thumb drive (preferably Sierra) or a thumb drive containing a full system (Sierra).
Open Disk Utility in the macOS Utilities window
Repartition your internal drive to one volume/GUID partition table/JHFS+.
Quit Disk Utility.
Attach your backup drive.
Open Restore from Time Machine Backup in the macOS Utilities window and restore the backup to your newly created main volume.


Where is the auto save option in Microsoft Office 2016 for Word and Power Point?

This is not auto-save however.  This simply sets the interval at which Excel will generate an auto-save file should there be a crash.  If you close without saving, this file is immediately deleted.  If the crash doesn't meet Microsoft's definition of a crash, the file is deleted.  If you don't open Excel properly the next time, the auto-recover won't show and the file will be deleted.

What most people want, myself included, is a true autosave.  Once you create a file, name it and save it once, it will continue to save it again at a set interval.  Microsoft does not offer this option.


How can I use AppleScript to type text into a new window?

Quotes that are meant to be literal need to be escaped with a backslash and instead of using keystroke, use the following example to create a new AppleScript document containing the wanted code:

tell application "AppleScript Editor"
    set text of (make new document) to "tell application \"System Events\"\n\tkeystroke \"n\" using command down\nend tell"
end tell

Copy and paste the code example above into a new AppleScript document and press the Compile button.  It will then look like:

tell application "AppleScript Editor"
    set text of (make new document) to "tell application \"System Events\"
    keystroke \"n\" using command down
end tell"
end tell

Then press the Run button and it will create a new AppleScript document containing the following:

tell application "System Events"
    keystroke "n" using command down
end tell

Which if you then press the Run button of this new document, it creates a new blank AppleScript document.

Note: Depending on the version of OS X/macOS the tell application "AppleScript Editor" line may be tell application "Script Editor".  You can still paste the example code, as is, into Script Editor and is will automatically remove the Apple portion from AppleScript to show as tell application "Script Editor".


Is there a way to view and control the powerstate of the discrete GPU on a 2011 MBP in OSX?

I use gfxCardStatus to see and control if my discrete GPU is in use. Is that what you want?

To see how much power is consumed you can use iStat Menu for example...


Behavior of hard-coded date in AppleScript

This works for me using the latest version of Sierra

--property the_date : current date
property the_date : date ("Sunday, May 31, 2009 at 4:00:00PM")
property the_year : year of the_date
property the_day : day of the_date
property the_month : month of the_date
property the_hours : hours of the_date
property the_minutes : minutes of the_date
property the_seconds : seconds of the_date
property shortDateString : missing value

make_date(the_year, the_month, the_day, the_hours, the_minutes, the_seconds)

set shortDateString to short date string of the_date
set timeString to time string of the_date
set systemDate to date string of date shortDateString
log timeString
log shortDateString
log systemDate

on make_date(the_year, the_month, the_day, the_hours, the_minutes, the_seconds)
    --set the_date to current date
    set year of the_date to the_year
    set day of the_date to 1
    set month of the_date to the_month
    set day of the_date to the_day
    set hours of the_date to the_hours
    set minutes of the_date to the_minutes
    set seconds of the_date to the_seconds
    return the_date
end make_date

In this script, I set a predetermined date value as a variable.  With my region set up to United States, in system preferences, I ran the script and logged the results.  The first three lines of the results in the following image, were the values returned with my system set to United States region.  Next I went back to system preferences and switched my region to Hungary and ran the script again.  The last three lines of the results in the image, reflect the date and time values as if I was on a computer in Europe (Hungary)


I mentioned in the original post that I had reset NVRAM (twice, as it happens). I reset NVRAM a third time, and lo and behold, could now boot from the external SSD. Go figure.