How to enable Maven autocomplete on Mac OS X command-line?

Maven doesn't ship with an auto-complete script, but there's a project on GitHub called Maven Bash Completetion.

Installation if you use Homebrew:

brew tap homebrew/completions
brew install maven-completion

Otherwise, use this command to download the latest script (to your home directory as ~/.maven-completion.bash):

wget https://raw.github.com/juven/maven-bash-completion/master/bash_completion.bash \
    -O ~/.maven-completion.bash

Then add this to your ~/.bash_profile:

if [ -f ~/.maven-completion.bash ]; then
  . ~/.maven-completion.bash
fi

You can also manually copy the file from the github repo to your home directory and edit your bash profile as above should the homebrew or wget options not work for you.

That's it. After you restart bash (e.g. open a new Terminal window), Maven autocomplete should work.


Can MBP 16" ( Late 2019) retina screen can be replaced with non-retina non-Apple screen?

No, that is not practically possible.
It is of course theoretically possible, but the costs involved for a one-off would be so high that you could buy a Retina display instead at lower cost.


Is there any way I can backup a raw partition to disk in multiple parts and update the parts only as needed?

After some time, I eventually decided that the method I outlined was probably the best way to do this. So I wrote a piece of software that allows me to make backups the way I want: multipart-backup.

Perhaps someone else will eventually find it useful too!


Unable to access files with File Sharing in Mac OS High Sierra

Gordan's got the issue:
To connect to an APFS formatted volume you need to turn OFF sharing via AFP (forcing SMB connection) on the macOS devices you are trying to share.

Open System Preferences (Screen Menu > Apple icon > System Preferences
Select Sharing icon (3rd row, Folder w/ caution sign)
Select File Sharing in Right hand list (check to turn on if not already)
Select Options ... botton on right
UNCHECK Share files and Folder using AFP
Repeat as needed for Mac devices you're trying to share

Then you should be able to connect and log in to the Mac shared on you network as before.

See Apples (very) brief doc Prepare for APFS in macOS High Sierra for other items affected by the change to APFS.


TextMate 2: How to permanently default to soft tabs (spaces instead of tabs)?

TextMate 2 uses a special file called .tm_properties to control lots of settings in the app. It will use ~/.tm_properties if present for global defaults. You can also add one inside a source tree to control settings for a particular project.

The setting you're looking for is:

softTabs = true

Just add that line to ~/.tm_properties (or create it if it doesn't exist).

You can read more about this file here.


Can I choose a preferred (Siri / communications) device?

Your devices communicate with each other over Bluetooth to determine which devices respond to "Hey Siri". If you experience that they all answer, you should observe the following:

Ensure that Bluetooth is turned on
Ensure that all devices are updated
Ensure that "Hey Siri" is turned on in Siri settings on all devices

Regarding phone calls, there's no way of prioritising devices automatically here unfortunately.

You can manually turn devices on/off by opening the Settings app on your phone, select Phone and select "Calls on Other Devices" - from here you can enable/disable calls on your various devices.


How to copy to folder: /System/Library/Filters?

User-created Filters should be saved to /Users/yourUserName/Library/Filters. You may need to create this subfolder if it's not already present in your user Library.

Also, note that the easy way to edit or create a new Filter is to use ColorSync Utility. If you edit the file in a text editor and get invalid XML, it can bring down the whole QuartzFilter system.


Is there a difference between iPhone LTE band support and carrier compatibility?

If Apple says you need a specific iPhone 5s for Spanish carriers, then you probably do. Even if a US iPhone supports all the LTE bands in Spain, you're just better off buying the phone made specifically for your country.


Call rings on bluetooth headphones, but when i pickup it defaults to the call being on the iPhone

The phone calls audio will be routed to the device you accept your phone call with. Use the play/pause button on your headphones to pick up, then the headset will be used for the phone call.


How to know if I can rely on an app to keep my password?

You have to trust the developer of the app. Period.

Besides code analysis there is no way to eliminate the possibility that an app does send your password somewhere.

And even tools like Little Snitch won't help you if the app is allowed to send emails from your account.
If you send an email to somebody it would just use the established connection to afterwards send another email with your password. Since the connection is encrypted you can't see what the app is doing. And because the whole purpose of the app is sending emails the connection is not suspicious at all. Same thing is true for all apps that need access to the internet, if you enter the password to an facebook app it could just use facebook to send a private message with your password and so on.

To make it even more difficult to detect, the developer could implement it in a way that the malicious routine waits 30 days before it sends your password. And if the developer is a smart criminal (he wrote a great app so he probably is) he can detect testers who just fast forward their device date setting too.
If the developer is smart it is nearly impossible to figure such things out without looking at the code.

Entering your password somewhere is all about trust.
And with all those apps from unknown developers it's hard to figure out which app you can trust enough to give it your password.
That's the reason Twitter, among others, uses an authentication process where the app never knows your password.

Having a different password for different services helps in case you have accidentally trusted an untrustworthy developer.
But your email password is a little bit special because usually it can be used to gain access to almost all services you use.


How can I connect a third monitor to my MacBook Pro 13"?

Check this question out, looks like a similar question to yours.

How many monitors can the new retina MacBook Pro handle and at which pixels resolutions?

Also, more specifically this:

How many monitors can the 13" retina MacBook Pro output to?

Seems you need Thunderbolt and HDMI to do it. And if you're talking about the latest MBP 13" then you may be out of luck as that only has a single Thunderbolt port.

If you are on the new model you can't get more than one external display going without daisy-chaining through Thunderbolt which will cost you a bit unless you already have compatible monitors and hardware. DVI/HDMI/VGA won't cut it.

THOUGH...

If you wanted to go through USB apparently this is also an option:

https://gigaom.com/2010/10/07/quick-tip-add-more-external-displays-to-your-mac/

Buy a USB to DVI adapter, install DisplayLink drivers, and good luck


How to make USB optical mouse work with MacBook Air?

If it supports the standard USB mouse functionality (HID), it should work.  Otherwise, you can use SteerMouse or USB Overdrive.  If you have the Developer Tools installed, you might also see what USB Prober says about the device.


How to fix "macOS needs to repair your library to run applications" after High Sierra upgrade?

So none of the given answers works on High Sierra (OS X 10.16.x) and I don't have Clean My Mac 3. This Apple article did the trick for me and pretty easily: https://support.apple.com/en-us/HT203538.

This involves setting the permissions through the finder and then resetting the permissions by using the command

diskutil resetUserPermissions / `id -u`

Make sure you cd to the appropriate home folder (I did this logged in as myself for another user that was experiencing the issue) to avoid access errors.


What is this menu bar icon with three right chevrons?

If it is opened on login, check login items, {~,}/Library/Launch{Daemons,Agents}/, or /var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist.

You could also try running sudo opensnoop and clicking one of the menu items.

Or search for the names of the menu items:

grep -r 'Inventory Scan' -onlyin /Applications/
mdfind '"Inventory Scan"' -onlyin /Applications/


How can I remove this icon from the menu bar?

That item is the VMWare fusion menu bar icon.

The vendor has this article and steps to allow you to disable and configure it.

http://kb.vmware.com/kb/1015330

To modify the behavior of this feature:

Go to Virtual Machine > Settings.
Click Application Menu (Applications in Fusion 3).
Click the Applications Menu tab if using Fusion 3.
From the Show applications menu in menu bar drop-down, choose Always, Never, or Only when Fusion is running.


File permission problems after migration to iMac

I have just found a fix!

Basically "Get Info" then at the bottom of the window next to the gear icon click on the + button. In the next window choose your account name. It creates a new permission category. then just choose Read & Write and apply to all enclosed. I have just done this to 3 machines. It's magic!! and after 3 hours of frustration.


To start off, the number 1.0E+300 is a really REALLY big number.  That's  more than the number of atoms in the entire universe by several orders.

Your script isn't far off.  To press "c" thirteen times, you can either do this:

repeat 13 times
    tell application "System Events" to keystroke "c"
    -- delay 0.1
end repeat

(you potentially need a small delay there to register individual keystrokes, but you can try it without and see which works);

or you can do this:

tell application "System Events" to keystroke "ccccccccccccc"

which is the equivalent of the repeat loop without the delay.

The left and right arrow keys are key code 123 and key code 124, respectively.  So, adding those in between the keystrokes:

tell application "System Events"
    keystroke "ccccccccccccc"
    delay 0.1
    key code 123 -- left arrow
    delay 0.1
    keystroke "ccccccccccccc"
    delay 0.1
    key code 124 -- right arrow
end tell

OR:

tell application "System Events"
    repeat 13 times
        keystroke "c"
        delay 0.1
    end repeat

    key code 123 -- left arrow
    delay 0.1

    repeat 13 times
        keystroke "c"
        delay 0.1
    end repeat

    key code 124 -- right arrow
end tell

Finally, doing this ad infinitum on a loop at 1.7 second intervals, will produce something resembling this:

tell application "System Events" to repeat
    repeat 13 times
        keystroke "c"
        delay 0.1
    end repeat

    key code 123 -- left arrow
    delay 0.1

    repeat 13 times
        keystroke "c"
        delay 0.1
    end repeat

    key code 124 -- right arrow

    delay 1.7
end repeat

Note that the outside-most repeat loop has no while, until, or times to limit its continuation.  It will loop forever, until you stop the script manually.

I also didn't factor the 0.1-second delays into the overall 1.7-second delay.  The smaller delays will exceed 1.7 seconds in total, but I'll let you adjust the timings to your needs.


The script errors because you have split the command in two lines. Basically you want to remove the newlines between the PATH and the kextunload lines, so it looks like this:

#!/bin/sh
PATH=/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin kextunload /System/Library/Extensions/AppleHDA.kext
echo "Internal Speaker disabled"

But you could also just simplify all that down to a single line you can put in crontab:

/sbin/kextunload /System/Library/Extensions/AppleHDA.kext

When you add the cronjob with crontab -e then add it like this to get it run at every boot:

@reboot /sbin/kextunload /System/Library/Extensions/AppleHDA.kext


I had the same problem.  Fixed it by following the path to Python/frameworks.  The folder in Versions was named 2.7.  I changed the folder name to 2.6 and iPhoto opened right up.


DefaultKeyBinding.dict: moveWordBackward: is not overridden on macOS Sierra

I finally solved this after realizing that the difference between my El Capitan (10.11) machine and Sierra (10.12) was the new dead key on Option-b. Whether this is a difference between keyboard layouts or OS versions I haven't been able to determine.

It seems that KeyBindings are unable to override dead keys. Using Ukelele I was able to change the output of option-b to some other character. I then installed this keyboard layout and moveWordBackward: began working with no further modifications.

In Ukelele, Choose File->New From Current Input Source
Right click on the Layout Name and choose Set Layout name and Script

Rename to something like U.S. No B Dead Key

Double click on the layout name to open the layout editor.
Hold option, then right click the b key; choose Make Output
Enter any other character; it will be overridden by DefaultKeyBinding.dict
Save
Choose File-> Install For Current User
In the Keyboard Preferences, choose your new keyboard layout.


Disable word prediction in Macbook touchbar

Text prediction can be disabled in Settings > Keyboard > Text and disabling Touch Bar typing suggestions.


It appears that you didn't fix the original problem which was why your MBP wasn't turning on in the first place - your battery wasn't charging so you had a dead battery.

You have already verified that...

the battery is good (it's new)
the charger is good as it works on another Mac
the logic board is good because when the battery has juice, it works.

Now, it seems that since the battery has gone to 0% and the charger is plugged in, your MBP is dead, correct?

That means you Mag Safe DC In board is most likely shot.

This is fairly simple to fix (I am assuming you changed your own battery). iFixit.com has an excellent tutorial on how to replace this component.  The good news is that this component is fairly inexpensive ($11 on Amazon).


Cannot re-install OS X Lion after trying to format Macbook Pro

When you're booted from the CD and looking at Disk Utility, you need to use the Erase tab, not the Partition tab.  The EFI and Recovery partitions are hidden from view, so even if you delete all the partitions on the disk, it still won't delete that one.

If that still doesn't work, then you can open up a terminal window, and issue the following command:

diskutil zeroDisk /dev/disk0

That will zero out your entire hard drive, including all your partition tables.  But it could take 2-3 hours depending how fast your hard drive is.  Once it's done, you can create a new partition and install the OS.

If course, if you're really pedantic like me, you'd remove all media from the optical drive and USB ports, zero the hard drive, power off, zap the PRAM, reset the SMC, and then boot from Internet Recovery to do the OS install.  That's factory fresh right there, my friend.  The only thing it won't have after all that is the new computer smell.


You can launch an app on an iPhone multiple ways. A few of them are:

1. Swipe left (or right) until you are on the screen of the desired app. Then simply tap the image that is located above the name of the app and the application should launch.

2. Use spotlight search: To use spotlight search simply pull the screen down when you are on the home screen of your iPhone. Then simply type on the name of the desired app and it should appear. Then tap the image above the name of the app and it should launch

3. Siri: To use Siri to launch a app hold down on your phone's home button. Your phone should vibrate and then you should say: "Launch (the name of the desired app)". Then the app should launch.

These are a few of the basic ways to launch a app. There are other ways but they get more complicated.


Yes this is possible with the iPad2 see iPad Camera Connection Kit

and also with the Galaxy Tab 10.1 Galaxy Tab™ Adapter (USB)


I've tried open-sourced packages NTFS-FREE and FUSE for OS X on Mac OS X Mountain Lion v10.8.2 and can read/write NTFS partition successfully, although NTFS-FREE only claimed to support OS X up to v10.7.

You must install both of the following packages to get things work.

FUSE for OS X:
http://osxfuse.github.com/

NTFS-FREE:
http://sourceforge.net/projects/ntfsfree/files/


macOS: Navigating between desktops using keyboard shortcuts

Go to System Preferences app → Keyboard → Shortcuts and you can assign keyboard shortcuts to move across Spaces (desktops).

You can also use the F3 (Mission Control) key on your Mac's keyboard to get a birds eye view of all the Spaces (desktops in Mac parlance) and quickly and directly switch to the desired one. However, this will also involve using the mouse/trackpad.

If you are looking for a 3rd-party tool which lets you customize keyboard shortcuts with much fine grain control, a popular app among users of macOS is Karabiner.


Personal Hotspot (using bluetooth or USB, but not WiFi).


can mac mini handle the load without eGPU?

I have the middle i5 6-core Mini, and using InDesign, Photoshop, Illustrator, Logic, Dorico and other 'pro' apps, I haven't even comes close to maxing it out. I've even had Handbrake running in the background comfortably.
The on-board SSD is crazy fast. I'd get more RAM for it, though. I have 32GB, which again never gets entirely used, even with loads of caching.
Yes, the Intel graphics units may not be as good as dedicated cards, but they're  good enough for most uses, unless you're doing 3D rendering or high-end gaming. Multiple Photoshop effects layers are not a problem.


How can I run a script or app as sudo with a click?

Run sudo visudo (or EDITOR=nano sudo visudo) and add a line like this:

%admin ALL=NOPASSWD: /usr/bin/myscript

Then create a .command file that runs /usr/bin/myscript:

echo sudo myscript>~/Desktop/test.command
chmod +x ~/Desktop/test.command
echo $'#!/bin/sh\nls /var/root'|sudo tee /usr/bin/myscript;sudo chmod +x /usr/bin/myscript

Or if for example you want to run sudo purge without having to enter a password, add

 %admin ALL=NOPASSWD: /usr/sbin/purge

to sudoers.


A1185 Macbook battery not charging because of low voltage (capacity is still good). Is it dead forever?

Is the battery dead forever? Or is there a way to revive it?

The battery is dead and there's no way to revive it.  It's time to replace it with a new one (get a quality battery with an 18 month warranty)

The logic board needs a minimum of 12V to operate.  7V is way under the threshold to turn on and will require the AC adapter to be plugged in.

For further details, see this post:  Fully charged MacBook Air turns off when power cord removed


Will older Adobe Applications (CS5/CS6) work with Mojave?

Depends on App

I have tested the following application with basic functionality and ability to open. Tell me if you need me to test others.

Note: I am on Retina computer so it's not going to look great no matter what software I'm using. Also, with almost every app (including Apple Apps) there are error messages about 32-Bit support ending soon or portions of apps are too old to be used but I have found they mostly have no effect on anything.

My Config

MacBookPro 2017
3.5 Ghz Intel Core i7
16GB Memory
macOS Mojave Beta 7

Works

Adobe Photoshop CS6 - Bit slow but not too noticeable
Adobe Illustrator CS6
Adobe Bridge CS6 - Didn't test import but should work
Adobe Premiere Pro CS6
Adobe After Effects CS6
Adobe Acrobat X Pro

Does Not Work

Distiller :(

If anyone can add to this please do!


Why is my Magic TrackPad losing functionality after Fast User Switching several times?

Okay, may have found something, posted to my other thread on this topic: https://discussions.apple.com/message/15963083#15963083

Okay, some potentially good news:

Under System Preferences > Bluetooth > Advanced > option to Allow Bluetooth devices to wake this computer

This is turned on by default and is apparently a per-user setting, not a global setting, which is where the conflict begins, from what I can tell.

My guess is that, when turned on for all users, like it is by default, when the computer goes to sleep, the bluetooth signal gets screwy, probably stepping over itself, to listen for incoming requests for both users for both keyboard and trackpad. And/or, when a user wakes the computer by pressing one of these devices, the signal tries to relaunch the Bluetooth stack for both users for both devices immediately, again probably stepping over itself, setting up a chain of events that will cause Bluetooth connectivity to fail altogether after a few sleep/wake and/or Fast User Switching cycles.

So, for a couple days now I've been running with this option turned off for one user and on for the other user. So, depending on which user is currently logged into the console, you may have to wake the computer by way of the power button or the keyboard/trackpad. The good news, though, is that it would typically foul up after no more than a day, and it's gone a couple of days thus far without issue.


Clone OS X installation from Virtual Machine to Mac Mini

Each OS X installation is specific to the hardware model and characteristics of the Mac. The installer creates a set of drivers and configuration files for the specific hardware. So you cannot really clone from VM unless it is exactly the same as your Mac Mini.

Try migration. I am not sure if you can migrate from a VM but you can always try. Make sure that VM is visible on the network (give it its own IP address).


Will I lose all existing photos if I turn on photo-syncing to iTunes for the first time?

@IconDaemon is right, best bet is to use Image Capture to download the photos to your Mac:

Connect the phone via usb.
Spotlight "Image capture" or Go To... /Application/Image Capture
Under devices in the image capture window you should no see the
iPhone, select it and it will start loading all the photos.
At the bottom of the window there is a "Import to" selection menu. Choose an iPhotos library, or just select a folder to download to, then click import all

You can optionally choose to delete the photos from the iPhone once imported.

Now that the photos are on your Mac, you can turn on iTunes syncing for photos and select the iPhoto library or folder that you choose to download to.


How can I create a shortcut to open Safari PDF in Preview?

General tab in Safari preferences.

  Open “safe” files after downloading

  In Safari, automatically open the listed types of files but not software.

https://support.apple.com/en-in/guide/safari/ibrw1072/12.0/mac/10.14.5
I don't know if you count right click as "hunting around", but you can right click on an empty part of the PDF and select "open with preview". Note that the point of click shouldn't be surrounded by content of the PDF.
You can always use Automator with or without AppleScript to do the same and then bind a shortcut with that Service/ Quick Action.


Auto-fill username and password in Fluid.app webapp

1Password only integrates with a browser that supplies an API which Fluid does not see this thread on AgileBit's website and Fluid does not seem to be able to read any OS APIs to get stored information

Patrick Welker has used using Keyboard maestro to copy around but this uses Apple's keychain, I have not tried this


Forgot email associated with my itunes account

You could have a look in your keychain.

/Applications/Utilities/Keychain Access.app

Select the Login keychain in the top left panel and the All items in the bottom one.
Use the search in the top right corner.
Search for iCloud, MobileMe ,iMessage or Apple ID.

Double click any of the items that come up and see if the jog you memory.
Most of these will bring up the email for your apple id.


Can automator create symlinks but skip existing files?

Yes! You can do it easily in the shell script. The -h flag fits the bill, as described (sort of) on the ln man page. So instead of doing ln -s, do ln -sh.

Here's an example. Say you wanted to make a symbolic link of each of your downloads, which would exist on your Desktop, but you already have some symbolic links there. Then you could do this:

cd Downloads
for f in *; do ln -sh ~/Downloads/"$f" ~/Desktop; done;

For any files that you have that you already have symbolic links for, the command will print out:

    ln: /Users/******/Desktop/FlashPlayer.dmg: File exists

The command does this printing after running so it does not throw any errors nor require any additional inputs.


TextMate : Keeping my KeyBindings after an update

Under MacroMates' keyBindings page is written:

  In addition TextMate has a /path/to/TextMate.app/Contents/Resources/KeyBindings.dict file with some extra key bindings which are specific to TextMate (and thus not appropriate to put in the per user global key bindings file). You can copy this file to ~/Library/Application Support/TextMate
  and edit it, this will then take precedence over the bundled file.

As this file won't be replaced during the Application's update, your keybindings will remain.

Note: As Matthieu points out, you will need to rename the file to DefaultKeyBinding.dict to make it work.


Can I remove the "Log Out" item from the Apple menu?

I've been looking at removing the Sleep and Shut Down options from the Apple Menu on our lab Macs. My focus was OS X 10.7.3.

I found that just removing the objects, as Daniel Lawson has suggested, also caused the Apple menu to crash when I clicked it.

After closer examination, I noticed that there were references to the Shut Down and Sleep objects elsewhere in the objects.xib file. After I removed both the objects and the references, the Apple menu behaved as expected, and did not show the Shut Down and Sleep options.

Here are my changes to the 10.7.3 objects.xib file:

File:

/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/StandardMenus.nib/objects.xib

Changes:

# diff objects.xib ../StandardMenus.nib.ORIG/objects.xib
185a186,189
>         <object class="IBCarbonMenuItem" id="236">
>           <string name="title">Sleep</string>
>           <ostype name="command">slep</ostype>
>         </object>
196a201,212
>         <object class="IBCarbonMenuItem" id="238">
>           <string name="title">Shut Down…</string>
>           <boolean name="dynamic">TRUE</boolean>
>           <boolean name="notPreviousAlternate">TRUE</boolean>
>           <ostype name="command">rsdn</ostype>
>         </object>
>         <object class="IBCarbonMenuItem" id="285">
>           <string name="title">Shut Down</string>
>           <boolean name="dynamic">TRUE</boolean>
>           <int name="keyEquivalentModifier">1572864</int>
>           <ostype name="command">shut</ostype>
>         </object>
242a259
>     <reference idRef="236"/>
358a376
>     <reference idRef="285"/>
401a420
>     <reference idRef="238"/>


Playlist questions for new iTunes update

Don't be aggravated, take a trip into settings where you can quickly and easily turn this off.

Settings > Music > Show All Music: ON / OFF

This settings toggles between:

  All music that has been downloaded or that is stored in iCloud will be shown

and

  Only music that has been downloaded to this device will be shown.

Now you're sorted, go for a run and wind down ;)


I think I have the same problem today. I resolved my problem by rebooting to macOS Recovery (turn off your Mac and press ⌘+R during while pressing power button), and use disk utility to check(First Aid) my boot drive.


Shared hard drive with user-level permissions

The "Sharing and Permissions" attributes are directly related to other users on your computer. In System Preferences, you can enable "File Sharing" which allows others on your network to connect to your machine and access folders that you designate.
In the configuration for File Sharing, you designate "Shared Folders". You can set them up to be read (or even written to) by "Everybody" or only designated users. Those designated users would need to have an account on your machine to authenticate themselves; the name of their account on their own machine isn't the factor here.

None of this requires Lion Server.


How to install/run Mac apps temporarily or in containers

Prefer using Homebrew and Homebrew-Cask whenever available.

For GUI apps, prefer using brew cask zap app_name instead of standard brew cask uninstall app_name.

Excerpt from man brew-cask:

zap token [ token ... ]
    Unconditionally remove all files associated with the given Cask.

    Implicitly performs all actions associated with uninstall, even if the Cask does not appear to be currently installed.

    Removes all staged versions of the Cask distribution found under <Caskroom_path>/token.

    If  the  Cask  definition  contains  a zap stanza, performs additional zap actions as defined there, such as removing local preference files. zap actions are variable, depending on the level of detail defined by the Cask author.

    zap may remove files which are shared between applications.

Running apps from DMG isn't a safeguard as residual files may still be left in ~/Library and other places depending on the app.

AppCleaner works fine almost all the time.

To keep your Mac responsive and free from unnecessary files occupying disk space, make it a point to install apps via above mentioned approaches and remove them as soon as you are done trying them out. This will keep you from resorting to performing a fresh operating system install frequently.

CCleaner is quit effective in getting rid of unneeded files.

However refrain from installing MacKeeper as it is widely considered to be a malware and hard to get rid of.


MacVim -- how to make Ctrl+A go to beginning of line, Ctrl+E to the end of the line

Add the following to .vimrc or .gvimrc:

:" Map Ctrl-A -> Start of line, Ctrl-E -> End of line
:map <C-a> <Home>
:map <C-e> <End>


Is this an iCloud sync/backup or do I have a data leak?

The picture displays the playback controls on the device. The name listed that you point out (the "data:video/..." part) is actually a description of the last thing you've played back.

In case of internet content on a web site for example, this would typically be a URL for a video file.

In this case it is actually a URL starting with "data:". This is a special URL that is constructed so that the actual contents of the video is actually embedded in the URL.

This is becoming a more popular technique on web page to embed content (icons, graphics, small "gifs" or similar) on web pages without having to refer to external resources. I.e. this content appears instantly with the rest of the page as it is actually loaded with the source of the web page itself.

To sum it up: What you're seeing is perfectly normal. It is not a data leak, nor does it have anything to do with an iCloud Sync or backup. It is just an indication that you have recently visited a web page (or similar) that featured a piece of embedded content.


Why does MacBook not respond to keyboard?

Actually, I can't explain this to you because what you describe is not typical behaviour.

I know it's not what your actually asking, but we could try and resolve the issue instead.

You don't actually specify the version of macOS or the exact model of MacBook, but you could try resetting the NVRAM and SMC (in that order) to see if that will resolve this issue.

Before following the steps below, ensure you have no external hardware connected and that you're using the built-in keyboard.

Reset the NVRAM

Reset the NVRAM on your MacBook as follows:

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

Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Reset the SMC

These steps assume you have a Macbook with a non-removable battery. If you have one with a removable battery, then let me know and I'll change these instructions!

To reset the SMC on your MacBook, follow these steps:

Shut down your MacBook
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button
Let go
Turn your computer back on with the power button.

After resetting both the NVRAM and SMC check to see what happens now with your keyboard after sleep. If the problem persists, then let me know and we'll try a couple of other things as well.


Short answer: not really.

Long answer: sort of, but it's probably more trouble than it's worth, unless you really can't used the shell command for some reason. OS X doesn't really expose much system configuration to Python. Most scriptable interfaces to configure OS X are shell-based or AppleScript-based (and of course the various Objective-C APIs).

Getting the UUID is possible in AppleScript:

tell application "System Information"
    set profile to system profile
    quit
end tell

set delim to AppleScript's text item delimiters
set AppleScript's text item delimiters to "Hardware UUID: "
set uuid to paragraph 1 of text item 2 of profile
set AppleScript's text item delimiters to delim
uuid

But as you can see, it's a bit convoluted (and is much slower than the ioreg method, as it has to process the entire system profile).

There is a way to bridge AppleScript to Python, known as Appscript, but it's no longer developed, and not recommended for new projects. However, if you're really determined, you could convert the above AppleScript into Python using Appscript. But to be honest, it seems like a lot of trouble to get a worse result.


What are the minimum and recommended hardware requirements for Xcode development on OS X?

Being a programmer myself, I think screen size and amount of memory are the most important factors to consider. The processors and graphic chips of all current MacBooks will be sufficient for this kind of work, although the MacBook Airs come standard with an Intel i5 processor, which can be upgraded to an i7 for a small price.

Memory: MacBook Airs come standard with 4 GB, which I think is not enough. They all have the option to upgrade to 8 GB though. The 13" MacBook Pros come with 8 GB standard, with 16 GB as an option. The 15" MacBook Pros have 16 GB standard.

For screen size, I like to have lots of it to do development work. Unfortunately, Apple stopped selling 17" laptops some years ago. On the other hand, almost all MacBook Pros now come with a Retina display, which means they have a much higher resolution for the same screen size. If you are comfortable working with smaller font sizes, you can switch to a "more space" option in the display settings, which gives you lots of screen real estate. You can choose between 13" and 15" MacBook Pros, but the 15" models are Apple's top of the line, so they might be costlier than what you're looking for. The MacBook Airs don't have Retina displays, and they come in 11" and 13" models.

A last point to look out for is disk size. All MacBooks, except for the 13" MacBook Pro without Retina display, come with an SSD. But with the cheaper models it's just 128 GB. On all MacBook Air models you have the option to pick up to 512 GB, and up to 1 TB on the MacBook Pros.

I suggest you go to the online Apple store for your country, and customize a MacBook Air or MacBook Pro to your liking and within your budget. Welcome to the Apple development world!


Will internal HDD spin down when a Mac is booted from another internal SSD?

I had this setup for a while and yes, the hard drive in the primary disk bay would spin down when booted from the SSD. It was fairly easy to tell, because when accessing the drive there was a noticeable delay when first accessing the drive after leaving it idle for about 10 minutes. This was on an older machine (2009 MacBook Pro 15", running Mac OS X 10.7).


Their first product was the Apple I computer, hand-built by Steve Wozniak and first demonstrated in 1976.

You'll find plenty of details about Apple's early years in this section of the Apple, Inc Wikipedia entry.


iTunes 12 Apple Music search: is there a way to play all songs returned by search?

In iTunes 12.3.1, you can play multiple songs from search results by playing one of the songs listed on the initial search results page -- the one divided into "Top Results" "Songs" "Albums" etc. iTunes will continue playing from your search results after the initial song.

However, you cannot play multiple songs automatically from the detailed search results, e.g. if you click on "Songs" to see the all of the matching songs, and play one from there, it will stop playing at the end of the selected song.


Check your versions of Pages, Numbers & Keynote & make sure they're not updating in the background [look at Launchpad for the telltale thermometer] - mine updated to x.5.3 when I first tried updating to 10.10.4 & I had to wait until they were finished before the OS update would run.

If they are up to date, or at least not currently updating, then I'd get the combo updater & use that instead, from - https://support.apple.com/kb/DL1820


Do iOS 11/12 have special features making it easy to share Wi-Fi passwords between devices?

In my experience, both the names and the passwords are shared via iCloud.

If I add a Wi-Fi network on my iPad, and then go to my iPhone, it will have almost always already connected to that same Wi-Fi network.

If it doesn't, I can tap on the Wi-Fi name and have it joined, without re-entering the password on my iPhone.

A potential difficulty, of course, is if the 2nd device does not have a network connection. For example, if I have a Wi-Fi-only iPad, and I add a new Wi-Fi network name/password to my iPhone, then the iPad has no way of getting that information sync'd to it until it connects to a Wi-Fi network.

Hence my suggestion of connecting the iPad first, because the iPhone has its own non-Wi-Fi network connection with which it can sync new iCloud information.

(The same would be true if you replaced 'iPad' with 'MacBook' in the above examples.)


How many RAM can i add and who are the manufacturer?

Apple did not solder RAM in those days, so you should be good to go. As far as the manufacturer is concerned, it really doesn't matter. As long as the modules are from a good (and ideally the same) manufacturer (crucial has been good in my experience), match the required specs which you can find at sites such as http://www.appleserialnumberinfo.com by entering your serial number, you'll be good to go.

I would also advise that you use the same sizes of memory modules in both banks. You currently have an imbalance, which can negatively impact performance.


Type backslash more easily on Japanese wireless keyboard

I was able to download and use Ukulele from http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=ukelele  however while the software seems powerful it's far from easy to use and have keyboards install. The manual is lengthy and takes a while to go through. There's no quick way of fixing things, unless you have a lot of experience I guess. The keyboard layout I created seems to work in Notes, but it does not work in Google Chrome (I couldn't write this comment using it)

Ok so I restarted Google Chrome and can now use the keyboard layout. Seems to work, look \\ :-)

And to add something... Ukulele works on an inherent feature of OS X (the keyboard layout files), just adds an UI on top of it. It would be nice with a simpler solution so if anyone knows feel free to add an answer.


Safari names the window according to what tab is the frontmost (or selected) tab. And it gets that info from the web page itself.

You may be able to go into developer mode, and edit the HTML title attribute on a current web page (not sure, never tried this) but as the name of the window changes with what tab is selected not sure you would find this acceptable.


Why does Java SE 6 Web Start (javaws) not find the JRE with Apple's Java for OS X 2012-006 on Mountain Lion?

At About Java for OS X 2012-006 (article HT5493, modified 2012-10-16) Apple gives a related article:

Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality (article HT5559, modified 2012-10-22).

Please run all four commands. The fourth should re-enable Java SE 6 Web Start.


STRANGE: After saving a file named BD.jpg, a few minutes later it got renamed to: Good morning -darling ...!...-).jpg. WTH?

Have a look under "System Preferences" -> "Keyboard" -> "Text" and look if there is BD as a shorthand for a longer text. Might be this AND an error on Apple side I guess. :)


Go to Settings/General/Date and Time.
Choose Set Automatically and choose your Time Zone.

Next go to Settings/Mail, Contacts, and Calendars. Page down to the Calendars section.
Set Time Zone Override to OFF if you want you calendar to display with times converted to the Time Zone where you are currently standing.
Or, set Time Zone Override to ON if you want to force the times in your calendar to be displayed in the home Time Zone that you set above.


Bootcamp: My Mac Only Boots into macOS No Matter What Partition I Choose

AFAIK High Sierra already "introduced" APFS. The Bootcamp partition is formatted NTFS, I thought. If you set the startup disk to macOS in Settings (while in macOS), then, when you startup holding the Alt key, the boot window should let you choose between the two partitions. I cannot check now since I am a long way from base.
I am not sure when Startup disk is set to the Bootcamp partition, everything will work correctly as expected.


Can Lion support resolutions higher than 1920 by 1200 on the retina MBP main display?

On new hardware, this is displayed differently than the traditional Display preferences pane. So yes, but you won't see the traditional n x n resolution listed. Here's what it will look like on a retina-enabled MacBook Pro:


Mac renames itself automatically - host name is incorrect in terminal

Yes you can :

sudo scutil --set HostName "YourHostName"
sudo scutil --set LocalHostName "YourLocalHostName"

to change the computer name :

sudo scutil --set ComputerName "YourComputerName"

To check if everything is okay : sudo scutil --get HostName


As bogdansrc mentioned, Gatekeeper only applies to application bundles that have a com.apple.quarantine extended attribute. Some applications (like μTorrent) don't add them to the files they download, and some unarchiving programs (like unzip) don't add them to files after extracting archives.

You can list extended attributes with xattr -l.

Gatekeeper is also disabled if you have disabled LSQuarantine with for example defaults write com.apple.LaunchServices LSQuarantine -bool false.


iTunes Match Alternative ... or some way of implementing this

I had some kind of similar question here.

I decided to go my own route, because basically everything from big companies is specific to their environment. And even though it required some work, I ended up with a solution I am quite happy with.

I have a Mac Server and a DynDNS service.
I have a Madsonic Instance running, which is a fork of Subsonic.

Subsonic has a lot of Apps that can be used for streaming.
Madsonic (and any other fork) is compatible to those clients.

Subsonic wants 1$ per month, if you want to use streaming (via Apps),
Madsonic (and most other forks) do not.

The Web-UI is awesome and there are also other Web-Clients like JamStash
,
that I love to use personally.

Besides the Subsonic Setup, I have a very cleaned up iTunes Library that has Home-Sharing enabled and can sync via Wifi with my iPhone. Also including my purchases.

iTunes requires a lot of attention and maintenance as I discovered recently;
and I would not recommend to let iTunes manage the Library itself.
Instead I wrote some scripts (and found some)
to make maintaining my Library a lot easier

I decided to build up a Folder Structure, that I like
and only let iTunes reference those files, but never touch them directly (except for metadata).

Subsonic does not care about the management, it simply searches for new media every day/week/month (as you wish) in a folder and updates the library.

However, all of that requires a lot of work.
If you are lazy or you simply do not care that mouch about Music, You should use another Service besides iTunes Match, as other Users also suggested (Amazon Cloud/Spotify/Ecoute/...)

From where we stand today, I am very sure, that there is no solution to a good music-streaming service that we seek.


How can I get rid of Safari 5's "awesome bar"?

I haven't tried it and I don't know if it'll solve your problem, but Shaun Inman created a Safari extension called SMRT that disables its auto-complete behavior.


You can use Apple Remote Desktop to copy the macOS Installer application to the Applications folder on every client Mac, then send the following UNIX command as root:

/Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --applicationpath /Applications/Install\ macOS\ High\ Sierra.app --agreetolicense --nointeraction

This command starts the in-place upgrade action to macOS High Sierra. It may take some time for the entire process to complete, but it doesn't require any user interaction.


A custom label will have to suffice here. I have many contacts with their cell phones listed as 'mobile', and then a custom 'Google Voice' labeled number.

[edit]
An alternative to this is to make the change via Address Book.app on your computer, then sync the contacts to your phone.

Custom labels are available in all contact adding/modification screens.

First, browse to a contact, and tap the label name (to the left of a phone number, e-mail address, etc.). You will see the list of labels.

Second, swipe all the way to the bottom, and tap on "Add Custom Label".

Type in a new Custom Label;

And then it will be displayed next to the number.

It will now appear in a list of custom labels on later access.


I deleted by mistake my whole hard disk and now I can't reinstall macOS using Recovery Mode

Only the first disk shown in your pictures, (internal), is "real". (synthesized) is how your Mac will see the real drive once it's complete, but you can ignore this one for now. All the others (disk image) are made by Internet Recovery as temporary structures, part of your recovery install & will vanish once you are booted normally.
What looks to have happened is you have formatted your internal drive, but not added a volume, only the APFS container.
The 'quick fix' would seem to be to format it again from Disk Utility. Set the View menu to 'Show all devices' first, then select your actual physical drive, not anything within it [you will see devices & their contents as a set of hierarchical folders in this View, so choose the top level] & use the 'Erase' function.
Choose GUID/APFS.
It should then make a new EFI and a new Container Disk, containing one Volume, named as you set in the previous dialog. That should now be ready to accept your install.


Download and run a free tool like Disk Inventory X or OmniDiskSweeper. It will point out where disk space is being used, by which files/folders and also allow you to delete them from the tool.

There are also paid applications that have similar features, like DaisyDisk.


It is a widely reported bug in iOS 14.2. It is not a hardware issue.
Right now there doesn't seem much that can be done about it than wait for Apple to release an update with a fix.


The steps to fix this are the same as many data corruption issues.

Back up the phone

Take care to unsync any Apple Watches
Take care to backup health data by choosing an encrypted backup option
Verify a good backup (or two)

Settings app - erase all content and settings
Set up phone as new - test one substitution to ensure it's not needing a full OS restore
Erase content and settings a second time, then restore from backup


Why does the version of Java verified by Oracle differ from the version shown at the command line?

Problematic uses of terminology

Where Oracle describes first Java for "your operating system" then "for your computer", the download is more accurately only for things that use the Internet plug-in:

jre-7u13-macosx-x64.dmg installs what's required for that plug-in, but for things that use Java without the plug-in, this installer from Oracle does nothing.

Hint

On OS X: if you want a Java Runtime Environment (JRE) from Oracle to be like the JRE in the diagram below for both (a) things that use the Internet plug-in and (b) things that use Java without that plug-in:

at Java SE Downloads, ignore the JRE; download and install the JDK
and – if you require a greater version – at JDK 8 Early Access Releases — Java.net, ignore the JRE; download and install the JDK.

Additional explanation

Apple's distribution of Java is more than an Internet plug-in.

The Oracle routine pictured above leads to nothing more than a plug-in. Other parts of Apple's distribution are unaffected by Oracle's installer.

Installation of a JDK from Oracle will place a folder at the following path, overriding (not removing) the JDK from Apple:

/Library/Java/JavaVirtualMachines

Within each JDK there is a JRE. Please see the diagram below.

Oracle do actually document this (although it has taken 3 1/2 years to find it) See Oracle's page on OSX command line

  The Java Runtime (JRE) that you download from java.com or oracle.com contains a plugin to run Java content from your browser. In order to use the command line tools, you will need to download the Java Development Kit (JDK). The JRE and JDK are separate and can coexist on your system. Only one JRE can be installed on Mac OS X. There can be multiple JDKs installed on a system, as many as you wish.

Thoughts

The huge red button "Download Java Now" is too simplistic. Too many users, including some technical experts, are ultimately puzzled by the end result.

Where a Mac browser is detected by Oracle's server, one of the following phrases might be less misleading:

Download Java for your browser
Download the Internet-plug-in

Critically

Oracle should offer some explanation in its Mac FAQ (Information and system requirements for installing and using Mac Java 7). The current undated edition of that page lacks an explanation.

Positively

Some users desire or require the JRE of the Internet plug-in to differ from the JRE used elsewhere. For these users, Oracle's effective separation of things may be welcomed.

An example:

in Safari and other browsers I use the most recent Java 7 Update 13
for Wuala.app and for other things that do not use the Internet plug-in I use early access, developer preview release Java 8 (Java(TM) SE Runtime Environment build 1.8.0-ea-b75).

YMMV.

Reference items

Java Help Center

under Terminology, see Versions.

Java Platform Standard Edition 7 Documentation

In the diagram below, from that page, focus on:

to the left, the vertical span of the JRE
the orange uppermost layer of the JRE – Java Web Start and Apple/Java Plug-in

Related

How can I switch between the two Java versions in Mountain Lion now that Java Preferences is gone?


iMac 2008 Core 2 Duo does not list my bootable USB stick in the boot menu?

Try:

Holding down Option at boot, not C. This will show every available boot option
Make sure you are using a USB keyboard attached directly to the machine


“You don't have permission to save files in the location where screen shots are stored”

grep "truncating history files" /etc/* 2> /dev/null
/etc/bashrc_Apple_Terminal:     echo -n 'truncating history files...'


Found the solution using JavaScript:

tell application "Safari"
    do JavaScript "document.title = 'Hello!';" in tab 1 of window 1
end tell


You can simply drag the message from Mail.app to a folder to create the link you want. The link that is generated is automagically named using the subject line of the email message. Yes, there are many such situations where Mac OS will do the natural thing.

You can also drag any message to TextEdit.app (as long as it's to an RTF document).  Sadly, I haven't gotten this to work with Pages '09, but TextEdit isn't that bad.  The same is reported to work with Stickies. See this link for a stickies example.

Here is another approach:

In Mail.app, on the message that you'd like to link to, select

View->Message->All Headers

(or ⇧⌘H)

and look for the a line that begins with Message ID.  Copy the text to the right of "Message ID" and use it to link to that message via

message://<copied-messageid>

.  Make sure to copy the < and > along with the rest of the id. I've tested this and it works with Safari.app as described in this article on MacOSX Hints.


Is there a way to see the time that a photo was taken on the iPhone?

You are not missing anything, the iPhone has no mechanism to see that information natively. However, if you search for EXIF on the App Store, there are a few (some free) apps that will happily do that in the device itself.

You must note that, due to the way iTunes work, pictures coming from iTunes will not have their metadata associated. Sad but true.


Copy "Artist" into "Album Artist" in iTunes?

A third-party application (or AppleScript) is needed to do this “automatically”.

You can run an application like Bliss (blisshq.com) in the background to scan your library periodically and make the changes to update missing tags.


The battery from he picture is 1583 days old !
And the status is "Check Battery" !
Th maximum charge is less than half the design capacity already !
The figure of 93.4% is how full it is of the maximum charge!
Coconut Battery is a very interesting app, but basically it reads what is in the SystemInformation. It does not measure itself.
This battery is dying/dead. REPLACE.
The problem is that third party batteries always are s**t. If you decide to buy such, you should only buy from a good supplier with a high reputation like OWC. Or a repair shop may have an used original Apple battery.


Generally speaking the Apple Migration Assistant will (optionally) transfer applications as well as documents. How well that works with any individual application will be up to the application vendor. And that info may be on their web site.

So it is theoretically possible to transfer settings, documents and applications from one Mac to another (ethernet, Firewire, Thunderbolt, etc...) though I don't believe you can choose exactly which Apps, Docs, Pics, etc. get transferred. So you may have to transfer everything and then delete the stuff you don't want/need.

Just run the Apple Migration Assistant on the two computers that you have connected together and follow the prompts, it's real easy...


Duti sets associations, see https://github.com/moretension/duti/ or if you use Homebrew simply brew install duti then follow the included instructions.


How did you check which account can decrypt the disk?

I suspect (WAG) what happened is that you set up your new account so that it duplicates the UID of the previous admin account, so it shows up in one place as being authorized, but is not actually authorized. You removed account IS authorized for file vault, even thought eh account no longer exists on the unix-y side of things.

I'd try all this again, making sure to add the new accounts with new UIDs and that you add them to the FileVault list.


How can I make windows the same size on my 17" MacBook Pro & 23" HD Cinema Display?

The MacBook Pro has the same number of pixels as the Cinema Display but a smaller area to show them on. That makes the pixels on the MacBook Pro smaller. Since windows and text are a certain number of pixels in size, screens with smaller pixels will make them appear smaller.

The solution is to choose a lower resolution on the screen with smaller pixels (the MBP in your case). Choosing a lower resolution means that each pixel of data will be drawn across multiple physical pixels, making everything bigger.

I can't tell you exactly what resolution to use on your MBP to get things close to the same size, but it shouldn't be hard to find out with a little testing.

Open System Preferences -> Displays and go to the Display tab of the window on your MBP.
Check the Scaled radio button and pick the second resolution on the list that appears. If that isn't big enough, move on to the next (lower) resolution, etc. Stop when you get to one that makes things similar in size across both displays.

Note that, as a result of this, your MBP's display may not look as nice. Things won't look as crisp and some resolutions will have to stretch things sideways.


Here are the standard steps to set it up:

Make certain that your computer and iPhone, iPad, or iPod touch are connected to the same Wi-Fi signal.
Connect your iPhone, iPad, or iPod touch to a Mac or PC via USB. Launch iTunes if it doesn’t do so automatically.
Highlight your iDevice in the sidebar. (or choose at top right if iTunes11)
Click "Summary" in the menu bar. Scroll down to the "Options" section.
Check the "Sync with this (iOS device) over Wi-Fi" box. Click "Apply."
Detach your iPhone, iPad, or iPod touch.
Initiate an iTunes Wi-Fi Sync by tapping Settings > General > iTunes Wi-Fi Sync > Sync Now on your iPhone, iPad, or iPod touch. Or, plug it into an outlet

Does it fail at a particular point?

source


How do I type the euro value sign € on a Mac?

On an American English keyboard you can type the European Currency symbol (€) with Option + Shift + 2.


Have just faced a similar problem with MacBook Pro (17-inch, Early 2011) and SSD installed into the Optibay. Operating system: macOS 10.12.3 (16D32).

«Disk Utility» got stuck on the «Waiting for partitions to activate» phase of the erasing process.

The solution, which worked for me, was to put the SSD into the main bay and the HDD into the Optibay.


Enabling external booting on a fusion drive Mac

Option 1)
Wait for Internet recovery to finish loading, proceed with normal steps.
P.S. this shouldn't be necessary unless you've enabled the option to disallow booting from external media. If that is the case, see this article for instructions: https://support.apple.com/en-us/HT208198#open
Option 2)
If you're impatient like me, go to System Preferences > Startup Disk.
Click on the drive you wish to boot from, click Restart.


Why does iPhone 4 lose its VPN connection on sleep or screen lock?

I don't know if it will really help you, but the only way I see to walk-around this problem is to set the System Preferences "Auto Lock" to "Never". This will keep you connection alive.

I would do this before every remote work session. Then, reset it to 1 minutes, you're done with it.


How can i adjust volume of my tracks with those in the iCloud?

iTunes will not read the tags that MP3Gain uses to set the volume. iTunes stores Sound Check volume information in the iTunNORM tag.

If all of your music is in MP3 format, you could try qNormal.

However, if you've enabled iTunes Match and have a mix of MP3 and AAC files, you could try the commercial product beaTunes. It has a Windows version.

Both applications claim to calculate the appropriate volume using the open source ReplayGain algorithm that MP3Gain also uses.


Folder name containing ".." on ExFAT: How to rename it? Invisible to ls/mv/Finder but visible to tar/bash

You can rename it by using the inode.
First, get the inode of the file (I have a file named test for this example):
ls -li
8624175 -rw-r--r--   1 allan  staff     0B Jul 15 12:05 test

You will need the very first number in the line - 8624175
Now, using the find command, rename the file to something else:
find . -inum 8624175 -maxdepth 1 -exec {} mv newname.txt \;


Grayed out "Redirect" option in OSX Mail.app

Redirect is disabled for Exchange accounts (last §), presumably because the sender address is enforced by the Exchange server (to prevent spoofing).


retina macbook pro keyboard cleaning solution

I have a rMBP. I use Clorox Disinfecting Wipes on the keys and a Q-tip soaked with 99% isopropyl alcohol to clean in between the keys. I would not use anything less than 91%. Here is a photo of my keyboard:


I didn't find a way to do this from Disk Utility, but you can accomplish it from Terminal using diskutil.

Open Terminal and run diskutil list to show all devices currently connected. One of the entries should look similar to

/dev/disk7 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *1.0 GB     disk7
   1:                  Apple_HFS LOGBOOK                 1.0 GB     disk7s1

with the name of your USB stick instead of LOGBOOK. Take note of the device shown in the first line.

Then run

diskutil eraseDisk JHFS+ NEWNAME GPT /dev/diskWHATEVER-NUMBER-YOURS-IS

to erase all content and create the required partition scheme. Replace NEWNAME with whatever name you want to use (enclose in "" if it contains anything else than letters) and use the device number found above.

Once done you can encrypt in Finder by right-clicking on the stick name in the sidebar.


Macbook Pro w/ retina display connected to Dell U3011 monitor via HDMI - periodic error message about audio

Go to the Utilities folder in the Applications folder and open the Audio MIDI Setup application. Select the HDMI Audio Device connected to the Dell U3011 monitor. Configure the audio format to "44100.0 Hz" and "2ch - 16bit Integer". As far as my minimal testing shows, this should fix the issue.


There are two things you should do:

Enable full Terminal access by opening System Preferences, selecting the Security Tab, selecting the last tab there, selecting Full Disk Access on the left and adding Terminal.app

Run the command as

sudo find / -name "file_name"

Assuming the file you are looking for is within your home folder

find ~ -name "file_name"

should also work (and is significantly faster).


How do I handle HDR photos in Aperture 3?

There are two choices available right now:

Photomatix
Hydra

You should try both and see which matches your “taste” better :)


2015 Macbook Air screen gradually dimming and dying

...suddenly the screen dims to about 50% of normal...
  In the past the problem easily goes away if I close the lid and reopen
  it.

Your back light is failing and it is a known and common problem with the LVDS cable connector known as "flexgate" (micro rant:  I hate that every issue nowadays gets "-gate" added to the end a la Watergate)  This issue also manifests as the display going completely black when opened past a certain point.

Basically, as you open and close the lid, the strain on the cable causes it to wear and ultimately fail.  Unfortunately, you can't just replace the cable.  Since the entire display assembly is sealed, you will need to replace the whole item and it is quite expensive - $650+ USD.

If it's not addressed, the issue will continue to get worse until the display stays black permanently.

I would still take it into Apple and see if they'll help you out, but this is unlikely to be resolved without incurring some expense.


How to disable syncing applications without uninstalling them?

Alternatively you could select sync Apps but choose the applications you want in your iPad and uncheck the Automatically sync new apps. With this you will have only the applications that are selected.


Can I update both of my mac with the single purchase of OSX

Yes. With one purchase you can uptate all your macs that are linked to your iTunes account you own.

How to upgrade to 10.8 on Apple.com.


"not supported on this architecture" error (git)

Intel application on a PowerPC Mac. Or vice versa. See if you can find an "Universal Binary" version of the application, which will run on either platform.

This link has a Universal Binary version: http://frim.frim.nl/GitXStable.app.zip


How do I see full movie titles in iPad Video browser?

Tap and hold, you will get a popover until you let go with the full details.  Same works with music in the ipod app.


Home Server for an iOS developer | Xcode continuous integration

A late-model, mid-range  Mini will be fine. If all you need is a personal webserver and compiler farm it's very good value. Probably not powerful enough for rendering 3D animation unless you're patient.

Your storage concerns are very easily eliminated by plugging in an external drive. Get a small SSD with the Mini, store your stuff on a FW800 or Thunderbolt external. note that if you offload your storage to an external there is no point in getting a fusion drive.

Don't forget backups, but do hook up the backup drive via USB2. Simple hardware throttling keeps the backups running at low priority.

I have a 27 inch iMac running Server, it has no problems whatsoever keeping up with the load. I could not do my job as well with a laptop-size monitor but I don't think I'd notice laptop performance.


iPhone: What is `accountsd` and why is it using 80% CPU?

Accountsd and cloudd manage iCloud. There's an insanely annoying bug which lots of people have where a sign into icloud password prompt comes up every few seconds and you can't sign out of find my phone.


How to find lost ipod touch that's offline. Bluetooth is still on and can connect to my headphones

Unfortunately, you can't turn on WiFi via the Bluetooth connection.  You're headset simply doesn't have the control.  Even if paired to a computer, you can't "remote control it;"  that function simply doesn't exist.

Additionally, even if you were to use Find My to locate it, the resolution would be a few meters (about 30-40 feet).  Unfortunately, it's not "sharp" enough to tell you, "it's 10 feet from you behind the couch).

You're within range, so it's not that far.  Time to start going though the furniture with a fine tooth comb.


Can I find my iPhone if it's lost and turned off?

With the phone off there is no way to locate it from remote. And to be honest, a few days embedded in snow will not only kill the remaining charge in the phone but also the electronics itself (water will slowly get in).


How to change the size of the icons that appear in the Terminal.app

It looks like the arrow is actually text, printed by your shell as part of the prompt. As far as I know, Terminal is restricted to a single text size throughout the window, so you can't really resize the arrow without resizing everything else as well. You could try to comb through the font for a bigger-looking arrow.

As for the spaces, there seems to be an explicit space character after the arrow, and then another before the colour-changing sequences in your prompt. You could always remove those to make things a bit tighter.

You also have a couple of seemingly empty %{...%} constructs in there. That makes me suspect that there are actually some unprintable characters there, probably containing some terminal control codes, possibly to put some text, like a clock, somewhere else in the window. It is possible that those unprintable characters are somehow generating unwanted spaces.

It looks like you might want to read up on how the prompt generation in zsh works. This is documented in the zshmisc man page, which you can reach by running man zshmisc (for the top-level documentation, run man zsh).


Nvidia MCP79 SATA controller caps link speed

Because devices connected are SATAI devices. How can you connect to a device at 3Gbps if it doesn't support it?


How to turn off "Enable WiFi" alert message on iOS?

Yes this works

Settings>Privacy>Location Services>System Services (all the way at the bottom) and toggling wifi networking.


I'm sure this could have a better solution, from someone with a deeper understanding of the OS underpinnings, however...

You don't need to start over to simply change the volume name, you can change it easily enough from the Finder, just click it twice [not double-click] just like you would with a file; or click then Return.

I often have issues if I clone a drive for experimenting with OS upgrades etc.

Everything just behaves better if I name the clone the same as the main drive & remove that original drive.


Just yesterday, Brian X Chen posted a similar problem. The solution he suggested is to uninstall Messages Beta on your Mac.


Hardware Drivers in OS X are typically in the form of Kernel Extensions and the primary location is /System/Library/Extensions/ however they can also be within an Application Bundle. You can use kextunload to unload a Kernel extension.  To see what Kernel extensions are loaded use the kextstat command in a Terminal.

Have a look at the manual page KEXTUNLOAD(8) and also the Unloading a Kernel Extension with kextunload section in How to Load & Unload Kernel Extensions in OS X, excerpt show below.

  Unloading a Kernel Extension with kextunload

  Unloading a kernel extension from OS X is basically the exact same as
  loading a kext, except you’ll use the kextunload utility with sudo as
  follows:

sudo kextunload -b com.apple.driver.ExampleBundle

  Or by pointing directly to the kernel extensions path:

sudo kextunload /System/Library/Extensions/ThirdPartyMystery.kext

  Again, you can confirm the kernel extension has been unloaded by using
  kextstat and grep, where it should return nothing.


Symlink to app causes NSInternalInconsistencyException

This Error indicates that the Application can't find its InterfaceBilder (NIB) File (the GUI Part of the App). Probably caused by the Fact that the App has stored the relative Path to its NIB.

When you use double Click to open or  the whole path to the App as Terminal command it works (correct directory) but not with your symlink (which is stored at another location -> relative path is changed)

There are three Solutions how you can run the App from Terminal without a symlink.

Create an alias in your ~/.profile which points to the App (absolute path).
Use the command open open -a <Application Name>
Create a shell script named like the App which launches the App with the open Command (like 1.) or the absolute path (like 2.)

hope this helps


Why is the System Preferences Dock icon showing a Badge?

I clicked the iCloud pane, and found it was suggesting I improve my security posture.  When I did something about that, the badge went away.

I did that only after I'd tried logging out and logging in again.  I guessed restarting the computer wouldn't change anything, so I didn't try it.


The secure way is to set up Firmware password.

That will block any attempts from booting from outside, but it will require you to enter the password when booting up.

Here is a sample what it does:

How to do it:
OS X Lion and Mountain Lion come with OS X Recovery > http://support.apple.com/kb/HT4718

This allows you to reinstall OS X, browse the web, repair drives and set up a firmware password, too.

First of all, hold Command and R keys while your computer is starting to start in OS X Recovery.

Then, go to Utilities menu (on the menu bar) and open the Firmware Password Utility, which will allow you to set up the firmware password.

Don't lose it because it's not possible to reset it without knowing this firmware password


What is “Protocol Capability Request” and how to resolve?

Unless you have done something to the phone to prevent it from sending the MEID, there is nothing else to do. The device is apparently simply not capable of doing what the carrier requires for activation.


Is it normal Mountain Lion behaviour to save changes in Preview without asking?

Yeah, Preview has supported auto-save since 10.7.

The general preference pane has an option to ask to keep changes when closing documents. It can also be applied to individual applications:

defaults write com.apple.Preview NSCloseAlwaysConfirmsChanges -bool true

You can also disable auto-save and Versions completely:

defaults write com.apple.Preview ApplePersistence -bool false


I updated my iPod 5 gen to iOS 9 and now it has a 6 digit passcode

Try a factory reset.  Probably has been hacked and someone else has control of the passcode.


How can I stop/start all Mac OS X Server services at once?

You could do it from the command line and/or write a script with the relevant services:

sudo launchctl list

And for ssh (remote login) for example

sudo launchctl stop com.openssh.sshd

Bringing them back up then with start (instead of stop)


Yes - you could embed the notes in a database and trigger display from the encoding on the tag.
If you’re writing specific content into an NFC and asking how the OS handles arbitrary items, we might need a substantial edit to the question and possibly move it to a different site, but many apps do this.
Apple has code ready to run, frameworks, WWDC videos and more on how the capabilities and hardware and software work together.

https://developer.apple.com/wwdc20/10140


How can I open a single app by an unidentified developer without allowing all

You can ignore the gatekeeper restrictions on a per-app basis by right/control-clicking and selecting "Open". And because the check is done only on the first open, you can run it normally afterwards.

More details in:

John Siracusa's review of Mountain Lion
Apple article HT5290, Mountain Lion: About Gatekeeper.


What are some cheaper alternatives to Airport Express that allow music streaming?

Unfortunately, there aren't any products other than the Airport Express that are compatible with iTunes music streaming (unless something new has come out recently). However, it's usually very easy to find a used model online for much less; I was able to pick up two of them on Craigslist for about $30 apiece. They may not be the latest model, but if all you're interested in is streaming music, then any model will work just fine.


Safari Extensions keep on getting deleted

Most likely: Another case of self-corrupting but never correcting caches.

Close Safari.
Remove ~/Library/Caches/com.apple.Safari (the entire folder  and its contents, where mismatching copies of the extension pile up with a pattern of name-1.safariextension, name-2.safariextension .)
Restart Safari.
Download the extensions you need once more.
Extensions should stay put again.


You should visit My Apple ID, login on Manage my Apple ID and modify your email settings there.


Correct way to provision multiple laptops?

The Apple suggested solution is to use volume purchase and let your users manage their AppleID and you manage the licenses.

https://www.apple.com/business/vpp/

There is a program for business and another for education. Past that, you might use MDM like jamf now to push those codes to the Macs and manage them remotely for security, password compliance and data protection.


Associate "chrome-extension://" to Chrome browser?

It's not possible, as the problem is not within Terminal, but rather in Chrome.app's URL scheme. Chrome does not outwardly expose the chrome:// and chrome-extension:// URL schemes, handling them internally (when you access chrome://history, chrome://settings, etc.).

For example, open chrome:// does not work in Terminal:

  The file /Users/user/chrome: does not exist.

Yet, typing open twitter:// in Terminal causes the Mac Twitter app to open on my machine.

However, you can use a bash alias to achieve a similar effect, with an even easier shortcut:

alias chrome_ssh="chrome-extension://pnhechapfaindjhompbnflcldabbghjo/html/nassh.html /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"

Add the above to your ~/.bash_profile.


Mac App store apps use a different user ID so I can't install updates

You have to re-buy it with your own account. I don't think there is any way to transfer purchases.


Dependencies for LaunchAgent so it mounts a bundle before other daemons run

Firstly, a rant: Sparse Bundles work in a way to allow the bundle to increase in size to accomidate it's contents, however any files that you modify or delete in the bundle will not decrease the bundle size as you'd expect. For example, if I add two 1GB files to the bundle and then delete one, the bundle will be 2GB in size. If I then add another 1GB file, then the bundle will increase to 3GB in size. Long story short, don't run applications in bundles.

As for the LaunchAgent for Steam, it's probably just a background server connection. I would disable it within the Steam preferences if you can, and/or try to remove it from the start-up list.

There is no built in delay for startup apps that I'm aware of.
I use Keyboard Maestro for this. My workflow is for Keyboard Maestro to launch at login, then to wait for a certain period of time (delay) after login and then launch an app (eg Dropbox).


Set file created/modified timestamp to the earlier of the 2 for a ton of files?

The example shell script code, show below, uses GetFileInfo and SetFile from Command Line Tools for Xcode, which the latter is needed to change the creation date, as touch can only change the access and modification times.
If you do not have Xcode installed, then just install the Command Line Tools for Xcode...
In Terminal: xcode-select --install
After installing Command Line Tools for Xcode, then in Automator you can create a workflow or Service/Quick Action with the appropriate actions to pass the target files to a Run Shell Script action with settings Shell: [/bin/bash] and Pass input: [as arguments] using the following example shell script code:
for f in "$@"; do

    [ -f "$f" ] || continue

    c="$(GetFileInfo -d "$f")"
    m="$(GetFileInfo -m "$f")"

    ec="$(date -j -f "%m/%d/%Y %H:%M:%S" "$c" +%s)"
    em="$(date -j -f "%m/%d/%Y %H:%M:%S" "$m" +%s)"

    if [ "$ec" -lt "$em" ]; then
        SetFile -m "$c" "$f"
    fi

    if [ "$em" -lt "$ec" ]; then
        SetFile -d "$m" "$f"
    fi

done

How the shell script works:

for f in "$@"; do -- For each file do something.
[ -f "$f" ] || continue -- If it's not a file, then go to the next item passed.
c="$(GetFileInfo -d "$f")" -- Gets the creation date of the file.
m="$(GetFileInfo -m "$f")" -- Gets the modification date of the file.
ec="$(date -j -f "%m/%d/%Y %H:%M:%S" "$c" +%s)" -- Converts the creation date to the number seconds since Epoch.
em="$(date -j -f "%m/%d/%Y %H:%M:%S" "$m" +%s)" -- Converts the modification date to the number seconds since Epoch.
if [ "$ec" -lt "$em" ]; then -- If the Epoch creation date seconds is less than the Epoch modification date seconds, then:

SetFile -m "$c" "$f" -- Sets the modification date of the file to the creation date of the file.

if [ "$em" -lt "$ec" ]; then -- If the Epoch modification date seconds is less than the Epoch creation date seconds, then:

SetFile -d "$m" "$f" -- Sets the creation date of the file to the modification date of the file.

Notes:
Epoch (00:00:00 UTC, January 1, 1970; see time(3).

Example Automator workflow:
Just add the parent folder containing the .wav files to the Get Specified Finder Items action and the rest of the actions.
Note that this is just an example, the main part is the Run Shell Script action, so however you want to pass the target files to it is your choice.


aptX Bluetooth Headphones (B&O H8) Drop Sound - Yosemite

They are working perfect with OS X Yosemite 10.10.2. After upgrading to  10.10.3 (beta or final) the problem that you described appear. The headphones are working perfect first time after adding to bluetooth list, but is not a solution to delete and add again.
Bang & Olufsen post this to their website:

Can I connect my BeoPlay H8 headphones with my MAC/PC using Bluetooth?
In most cases BeoPlay H8 is able to connect to a PC/MAC with Bluetooth 4.0 and a A2DP Bluetooth profile, provided that the hardware and drivers of the computer are also compatible. However, the computer protocols in the market are inconsistent and we cannot guarantee that BeoPlay H8 is able to connect using Bluetooth to all PC/MACs.


homebrew requires additional installs before you can proceed: either Xcode or Xcode Command Line Tools.

You can download Xcode (2.1 GB) via App Store.app or the Command Line Tools at developer.apple.com. Both require a valid Apple ID.

The latest CLT release is: Command Line Tools (OS X Mountain Lion) for Xcode April 2014 direct link (~115 MB).

In later system versions you can open Terminal.app and enter xcode-select --install or just gcc to install the necessary tools. You will be asked to either Get Xcode or Install. Choosing Install will download and install the command line tools only.


I found a solution. option+command and left-clicking on the application (Chrome in my case) got rid of it for me.


How can I set the user picture from a file in Mavericks?

Open up the Users System preferences.

Select the user and then drag your file onto the current image.


Keyboard shortcut in Word 2011 to send document as email attachment?

You have to type the exact menu item name in the shortcut area, so make sure that you have the ellipsis: "E-mail (as Attachment)…"

You can type an ellipsis character by holding down option and typing ;


hmm... turns out YouTube shows HD options for the video only some time after the video is uploaded. My guess would be that YouTube continues processing the video in the background and exposes the various resolutions only when they are done processing.

So the answer is: just upload your HD videos, it'll retain the resolution after a while


Installed Windows in wrong partition and now shows "no bootable device"

Since Boot Camp sets your Windows partition as the Startup Disk, some keyboard commands on boot become very temperamental or may not work at all.

Try holding ⌥ alt on startup - see if you can select the recovery partition.

If not, you might have to re-install the OS from disc or external drive.


fseventsd is at 100%CPU when time machine on external hard drive is connected

This solution worked for me:

In Terminal, make a directory called ".fseventsd" (mkdir .fseventsd) in the drive mounted by Time Machine, and add a file inside called "no_log" (touch no_log).

It tells fseventsd process not to bother reading the backup drive.

The annoyance ceased immediately. Time Machine backup worked flawlessly.

I found the solution on the MacRumors forums.


Reconnect to network drive on connection to network

I've been having the exact same problem and search for a solution. Eventually I found a few apps in the app store (I never normally look for software there!) that claim to be able to reconnect network drives after sleep:

Drive Mounty - I tried the pro version of this (£2.99) for a few weeks and it seemed to mostly work ok but suddenly started hammering the CPU and failing to mount the drive and also adding random suffixes to the mount point. The free version is restricted to 1 mount point and limited remounts. Was promising at first but sadly became unreliable.

Auto Mounter - Currently trying this (£9.99) with the Pro options pack too (£2.99). Looks good so far and has lots of features and the ability to create rules. Can mount drives in /Volumes using a separate helper utility that overcomes the App Store sandboxing. It's a shame there is no free trial version available.

Drive Mounter - Not tried this because Auto Mounter is holding up well so far. Has a free version too to try.

If you try any of these let me know how they work out.


Which sides of an iPad does Apple Pencil 2 attach to?

Source:

The Pencil can be attached to the right side of the iPad Pro 11' or 12.9 (3rd gen).  Because there's no common left or right side, due to the lack of a Home button, either side will work.

The Pencil will magnetically attach to the center-right side of either long edge.  It will only attach to the iPad so that it lays alongside the iPad directly, not with part of it sticking past the iPad Pro edge (as in the picture, below).

*Update: Updated, based on comments, to indicate that Pencil charging is on the right-side only.


How to recover dashboard stickies on macOS Catalina?

There are currently a couple known methods to recover stickies (or anything else that was on the dashboard).

Stickies from the dashboard have automatically been imported into the Stickies application. Simply open /Applications/Stickies.app and they will appear there.
All widget save data/preferences are still in the original place. This means that as per https://superuser.com/a/608039, the plist for the dashboard stickies are in ~/Library/Preferences/widget-com.apple.widget.stickies.plist.
The most obvious: before updating to Catalina copy over your stickies to different place such as text edit or the stickies app.

Note: In this file they are stored within html tags that are in HTML Entity form. You can use a converter and then strip tags.


Can my external monitor charge 16" MacBook Pro over USB-C while using it?

It depends entirely on the monitor type. Some monitors support power delivery, some do not. You'll obviously want one that does support power delivery.

Next comes the rated power - it differs from monitor to monitor how many watts of power they can delivery over the cable. The size of the battery in the laptop doesn't matter here - the only thing that matters is that the monitor can deliver more watts than the laptop uses on average while connected. If it can deliver more, those watts are used to keep the battery charged. Ofcourse - the larger the difference (up to a point), the faster the charging will happen.

How many watts your laptop is using on average depend on your usage. I.e. if you run it almost idle, only checking mail a few times per day - it won't use much. If you're running complex 3D renders all the time - you'll use a lot.

If your monitor supports power delivery with a wattage around the 96W that the included power brick gives - then you should be OK. Note that the standard currently has a limit of 100W, so you can never go above that. For most people 85W is plenty, and for many less can also be good enough.


First, back up all the data on your Mac with Time Machine, SuperDuper!, etc.

Second, create an installer of macOS Sierra (latest version) with DiskMaker X or other tools.

Third, reinstall macOS Sierra with the installer, but don't erase the hard disk your Mac. All settings and data will still be there as before.

Just to see if the issue occurs again or not. Try to erase your hard disk and reinstall macOS Sierra, if it happens again. Remember to back up all your files before the operation.


How much space does a mac os update occupy after installation?

While installations of macOS do vary in size slightly, the previous operating system files are removed as part of the upgrade. You shouldn't expect a noticeable decrease in space available after upgrading to Big Sur.


My phone number has been “ghosted”. Is there anything I can do about that?

If your carrier won't block these, I suppose you could add your own number to a contact called "Telemarket Spam" and then block that caller.

There are apps that let you make rules like "block all calls from the same 212-335-xxxx" area and then you would need to change your number to be in an area you're OK not ever getting a call from (if you're not already in that situation).

This is kind of like spam email - there's nothing from preventing anyone from sending mail as you - same as no one will police a phone scammer that sets your number as their "caller id". Unless the laws change in your area or your carrier decides to crack down, you have to block these or just not answer calls from anyone not in your address book by turning on "do not disturb".

To summarize, on iOS:

use do not disturb and white list callers you don't mind ringing through
use a third party call screening app to set up rules and maintain a database of scammy numbers. These are all on the App Store and most are paid or they sell your number/call history to more scammers (or possibly both)
use the blocking feature for specific black listed numbers

In your case, blocking your number seems the easiest fix for that specific malfeasance.


iCloud won't let me in using a third party app

Apple send this email to all iCloud users:

  Beginning on 15 June, app-specific passwords will be required to
  access your iCloud data using third-party apps such as Microsoft
  Outlook, Mozilla Thunderbird, or other mail, contacts and calendar
  services not provided by Apple.

  If you are already signed in to a third-party app using your primary
  Apple ID password, you will be signed out automatically when this
  change takes effect. You will need to generate an app-specific
  password and sign in again.

From 2017-06-15 you are required to use app-specific passwords for third party apps.

Generate an app-specific password

Sign in to your Apple ID account page. https://appleid.apple.com
In the Security section, click Generate Password below App-Specific Passwords.
Follow the steps on your screen.

After you generate your app-specific password, enter or paste it into the password field of the app as you would normally.

Manage app-specific passwords

You can have up to 25 active app-specific passwords at any given time. If you need to, you can revoke passwords individually or all at once.

Sign in to your Apple ID account page. https://appleid.apple.com
In the Security section, click Edit.
In the App Specific Passwords section, click View History.
Click   next to a password you want to delete, or Revoke All.

After you revoke a password, the app using that password will be signed out of your account until you generate a new password and sign in again.

Any time you change or reset your primary Apple ID password, all of your app-specific passwords are revoked automatically to protect the security of your account. You'll need to generate new app-specific passwords for any apps that you want to continue using.


Sharing files and documents across computers and devices

Dropbox
When you put your files into your Dropbox folder, they're instantly available on any of your other computers that you've installed Dropbox on (Win, Linux, Mac).
There are also apps for iOS and Android available. The Dropbox app for iOS is able to display pdfs and office documents. You cannot edit them, tough.

You get 2GB for free. 250MB for every friend you invite (8GB limit, though). If you pay, you can get even more space.
Growl integration for sync notification updates.
Web interface.
You can share folders with other people while keeping other folders private.
Create download links to your contents.


How do I get rid of "access privileges" popup message?

Source.

Use Restrictions to disable access to the iTunes Store and it shouldn't ask you  anymore.

  Using Restrictions in iTunes on your Mac or PC, you can turn off
  access to:

  Podcasts
  Internet radio
  iTunes Store and iTunes U
  Apple Music
  Apple Music Connect
  Shared libraries

Open iTunes.
Mac: From the menu bar at the top of your computer screen, choose iTunes > Preferences.
Windows: From the menu bar at the top of the iTunes window, choose Edit > Preferences.
Click the Restrictions tab.
Select the items that you want to disable and restrict. You can also set rating levels for movies, TV shows, and apps using the menus to the right of these items.

If you want to make sure that other people can't make changes to your restrictions, click the lock icon in the lower-left corner of the window and enter the administrator password for your computer. If you later want to make changes to what you disable or restrict, click the lock icon and enter your password when prompted.
Click OK to confirm your choices.


Group chat iMessages now being received through email

Someone's phone decided to switch to SMS or MMS, as evidenced by the @vzwpix.com return address—this is a domain used by providers to gateway SMS/MMS to/from email.

I routinely run into a similar issue when attempting group messaging with people with phones from other manufacturers, but it's also conceivable an iPhone may choose to do this if it cannot access iMessage temporarily, e.g. if there was no data connection available.

To prevent this, it's probably best to use an entirely different chat service rather than try to match up the disparate capabilities of phones.


Update required when turn on Mac (Yosemite)

I do not have the Yosemite, but on Mavericks you can turn off the Auto Updates in System Preferences.

Open App Store in syst pref and disable the automatically check for update.

After restart you can enable it again to see if it is working now as it should.

If not use Disk Utility and repair the disk permissions.


What can be done to troubleshoot OS X Wi-Fi self-assigning ip address of 169.xxxxxxxxx when other clients connect?

Two avenues can solve this problem:

Find and disable whatever firewall is intercepting the DHCP return traffic since your Mac needs to see what IP address the route is assigning it. When it doesn't get a response, eventually the DHCP request times out and your OS self-assignes an IP in 169 land.
Inspect the network traffic or the router logs to see if and why the Mac DHCP broadcast packet is being ignored. The router could be out of IP addresses, not allowing that MAC address or just an odd network condition is preventing the router from seeing the OS X request for a DHCP address.


How can I make the App Store remember my password?

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

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


How can I navigate any directory in Finder?

To access any folder in Finder, press Cmd + Shift + G and enter the directory you want to access.


Automator: Change to selected directory and run shell script

The problem here is you have the input being passed to stdin. I don't know why that's the default, but you should be able to just change the popup menu in the top right to "as arguments." I did that and added cd "$1" to the top of the script and it worked.


Can I safely remove a broken recovery partition?

Answer my own question since it was straightforward.

Did this

$ diskutil eraseVolume HFS+ Blank /dev/disk0s3

Now disk utility says

Partitionstabelle für „ST4000DX001-1CE168 Media“ überprüfen
Voraussetzungen überprüfen
Die Partitionsliste überprüfen
Nach einer EFI-Systempartition suchen
Die Größe der EFI-Systempartition überprüfen
Das Dateisystem der EFI-Systempartition überprüfen
Alle Loader-Speicherplätze von HFS-Datenpartitionen überprüfen
Das Volume „iMac HD“ auf „disk0s2“ hat 0 Byte nachfolgenden Loader-Speicherplatz und benötigt 134217728 Byte.
Bei der Partitionstabelle sind Probleme aufgetreten, die den Startvorgang möglicherweise verhindern.
Fehler: Die Partitionstabelle muss repariert werden, da eine Datenpartition Speicherplatz für den Loader benötigt.

So I repaired the whole disk with disk utility which fixed the missing space for the loader.

I am now going to create a new recovery partition.


You need to use the --args option, e.g.:

open -na 'Google Chrome' --args --new-window 'https://www.etymonline.com/'

From the manual page for the open command:

  --args
  All remaining arguments are passed to the opened application in the argv parameter to main().
           These arguments are not opened or interpreted by the open tool.

For more Google Chrome command line switches that could be added to the --args option of the open command, check out the following URL.

From: List of Chromium Command Line Switches

  There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions.

Another approach would be to use AppleScript from the command line, e.g:

osascript -e 'tell application "Google Chrome" to set URL of active tab of (make new window) to "https://www.etymonline.com/"'

For ease of use, you could wrap this in a function and place it in your ~/.bash_profile or ~/.profile file, e.g:

openurl ()
{
    if [ -n "$1" ]; then
        osascript -e "tell application \"Google Chrome\" to set URL of active tab of (make new window) to  \"$1\""
    else
        printf "\n  Missing URL...\n\n    Syntax: openurl 'URL'\n\n    Example: openurl 'http://www.google.com'\n\n"
    fi
}

Then in Terminal, simply use the following, e.g.:

openurl 'https://www.etymonline.com/'

If you execute openurl without an argument, you get the following output:

$ openurl

  Missing URL...

    Syntax: openurl 'URL'

    Example: openurl 'http://www.google.com'

$

Note: The URL is shown wrapped in single quotes and this to ensure no expansion takes place when the URL is passed to the function if it has any shell special characters in it. The single quotes can be omitted for basic/simple URLs.

This same approach can be applied to the open command as well. That said, the reason I'd choose to wrap the AppleScript in a function is at some point the open command used in this manner with Google Chrome may break. This is because when Google Chrome is already open, it's opening a second instance, which is then passed to the first instance and the second instance terminated. This behavior may become problematic as Goggle Chrome is updated, where the AppleScript in a function will not, as it's only talking to the first instance of Google Chrome.


Why am I receiving messages from a group text as emails?

Two possibilities don’t include operator error.

Your cellular carrier has SMS to email enabled for your service.
The sender of the SMS has SMS to email enabled.

I would start with your carrier. This is easy to happen since AppleID and iMessages can be your email or AppleID or cellular number and the receiving party could have your contact commingled.

https://www.att.com/support/article/wireless/KM1061254/

Once you’re sure it’s not a carrier setting, you have to see the person doing the sending to be sure they don’t send to your email, but since you’re seeing the ATT mms email, I suspect the first two cases.


I would check the serial number (printed on the box or/if it wasn't replaced, behind the SIM tray/by entering DFU mode and checking in System Profiler or using the Identify feature in redsn0w) and, if it is old enough to downgrade its baseband, restore it to the iOS version you'll want to use° and perform the jailbreak+iPad baseband and baseband downgrade procedures.

°depending on available SHSH, of course

Seeing the poor condition of the existing system software you'll likely want to restore it anyway…


If you want to run sudo command with ARD select run command as User and written root.

Edit : It doesn't have to go through the osascript to turn it off. A shutdown -h now with root user is enough

You can also shutdown the station via the Manage menu