How to make automator app use a specific folder as input

Apple's documentation on files is a bit of a laundry list - but read a little so you can decide if you want to use POSIX names or native names. POSIX uses / and native uses : to denote folder breaks. The following two lines are both the Downloads folder for a user with a short name of me:

"/Users/me/Downloads"
"Macintosh HD:Users:me:Downloads"

Mac Automation - Files and Folders - Apple Developer

On the left sidebar are links to sections dealing with Processing dropped files and folders as well as the concept of watching folders.

I would try my hand at writing a script that uses the built in watch folders triggers so you don't have to deal with passing file names or starting and stopping the script. If that doesn't work, you could always invest in a tool like Hazel that does what you want as well, but it's good to try and learn automation since it's so powerful long term.


Converting iso to img completes without creating the img file

Whenever a command line tool outputs it's Usage help text it means it couldn't parse your parameters. In this case you got the order of the arguments wrong, which can easily be gleaned from the man page (man hdiutil): convert image -format format -o outfile

In your case that'd be:

hdiutil convert ~/path/to/ubuntu.iso -format UDRW -o ~/path/to/target.img


Yes: This is totally possible
and you should not have any problems at all.

You should consider though, that every Mac has a minimum and a maximum OS X Version which is officially supported.


You open up Cydia>Manage and then delete the app. Enjoy!


Now that Apple have stopped selling Click Wheel Games is there a repository for them?

I tried and failed to find a repository a while back, however if you're lucky, there are torrents for the complete archive which crop up sometimes. Obviously the torrents exist in multiple places, but there are rarely any seeders.

Obviously you'd have had to purchase them to be entitled to use them, and if you had purchased them, you wouldn't have been able to download them again as this was all before you were able to re-download purchased apps, so this may be an ideal solution to get things you'd lost and not backed up.


Can't login after migration assistant. No access to other account

I hope you have resolved this by now, but if not, you can first try booting into Recovery Mode (Command-R for local version or Command-Option-R for internet version).

Once you are in, select Utilities > Utilities which will open a very plain window with a command prompt.

Here, type in "resetpassword" and press enter.

You should now be presented with a more Mac-like window to help you set/reset the password for your available accounts.

If this doesn't work, just come back and we'll try other options.


If you can‘t select „None“ you must enter some payment details to re-enable your account. So either get your PayPal account fixed, create a new PayPal account, or get a credit card (or ask Antriebs to help you out with one).

If all these options are unavailable to you right now you can try tinsort it out with Apple Support. Contact details depend by country etc but can be found at the bottom of apple,com.


The Java Control panel in System Preferences refers to the Java Applet Plugin (JRE) that is made available to Safari and other browsers.

If you use the Help>Installed Plugins you should see a version signature if it is enabled The latest JRE reports

application/x-java-applet;jpi-version=1.7.0_13

The java you are looking at with java -version is the one installed with the full JDK. You  need to download the installer for that separately now from Oracle
When installed java -version should report

java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)


Disable badge for specific app with a script

The following example AppleScript code works for me under macOS High Sierra:

Note: Change "Calendar" in set appName to "Calendar" to the appropriate target app.

set appName to "Calendar"

if running of application "System Preferences" then
    quit application "System Preferences"
    delay 1
end if
tell application "System Preferences"
    set the current pane to pane id "com.apple.preference.notifications"
    delay 1
    tell application "System Events"
        tell table 1 of scroll area 1 of window 1 of application process "System Preferences"
            repeat with i from 2 to (count rows)
                if value of static text 1 of group 1 of UI element 1 of row i is appName then
                    select row i
                    exit repeat
                end if
            end repeat
        end tell
        delay 0.2
        click checkbox "Badge app icon" of group 1 of window 1 of application process "System Preferences"
    end tell
    quit
end tell

System Preferences does not need to be visible for this to work and why there is no activate command in the example AppleScript code. Additionally if System Preferences is already open, it is first closed before the rest of the code is processed. This is done for a couple of reasons, the first of which was already stated and secondly seeing the UI Events processed is a visual distraction and can be annoying.

Also note that the value of the delay commands may need to be adjusted for your system, and or additional delay commands may or may not be needed. Adjust values of and or add/remove the delay commands as appropriate.

For a version that acts on multiple applications and or all applications in Notification Center in System Preferences, see my answer to: Remove multiple app badge icons with one script?

Note: The example AppleScript code is just that and does not employ any error handling and is meant only to show one of many ways accomplish a task. The onus is always upon the User to add/use appropriate error handling as needed/wanted.


How do I receive iOS app notifications on my Mac?

A recent app to do what you want is Notifyr This app will supposedly send all Notifications to you Mac.  You need a mac built 2012 or later. This does vary for different computers and the actual years are given in the link.


OS X not bootable after full restore on Macbook 12"

The MacBook 12" uses hardware that hasn't been used in other Macs so far. Therefor the drivers are not yet included in the "latest" OS X which you can get via the App Store on your Macbook Air.

Your options

Format & Reinstall the MacBook, use the migration assistant to "clone" data.
Try reinstalling the MacBook via internet-recovery, this might work with your data still in place, however, some apps might break due to the reinstall.
Wait for a OS X release that includes the drivers, update your old MacBook, then clone again.


You can’t easily get rid of the clock display unless you enable Voiceover in accessibility settings and also turn on Screen Curtain.

If there is anything displayed,  Apple provides no face that hides or eliminates time. If you want to minimize the pixels devoted to the time display - choose Modular faces.

The most pixels you can devote to things other than time is the Infograph face, but it has large analog hands displayed, probably not what you want.

A jailbreak would be needed to make your own face or subtract / color the time to be the same color as the background and basically erase it visually.


How can I swipe with three fingers to go back and forth in my history while browsing?

I looked into it and here is what I found.
In Lion the swipe to navigate is grouped in System Preference > Trackpad > More Gestures under the "Swipe between pages" option.
Under that option, you get
A) Scroll left or right with two fingers
B) Swipe left or right with three fingers
C) Swipe with two or three fingers

Option A is the new navigation method featured in the new Safari during the WWDC keynote.  It is the new feature in Lion.  You SCROLL left to go FORWARD, right to go BACKWARD. You get the cool page flipping effect with this but developers need to update their code to support this feature.

Option B is the original swipe to navigate method used in Snow Leopard after the introduction of the Magic Touch Pad.  You SWIPE left to go BACKWARD, right to go FORWARD.  Many cool apps support this feature only at this stage.

Option C is the best of both world.  Try to use it and play around in the new Safari... it is a bit confusing to navigate with both 2 fingers and 3 fingers swipes in the opposite directions :p


The follow example AppleScript code uses the state of the NTP Daemon to toggle the Date/Time settings between two Date/Time states. By default, ntpd is running and needs to be turned off if a changed Date/Time is to stay and move forwards normally from that point. Otherwise, with ntpd running, the Date/Time will be reset to the correct values rather quickly.

You can save this AppleScript code as an application and when run, does one of two things after entering the proper credentials. It either sets the Date/Time to the values specified, or turns the NTP Daemon back on so the system will update the Date/Time to the correct values.

set ntpdPID to do shell script "pgrep ntpd; exit 0"
if ntpdPID is not "" then
    do shell script "systemsetup -setusingnetworktime Off -setdate '01:24:1984' -settime '03:00:00'" with administrator privileges
else
    do shell script "systemsetup -setusingnetworktime On" with administrator privileges
end if

This is the no fills version and the code can be modified as needed/wanted, however, since those needs/wants have not been defined, this is all I can offer.


Try this:

http://www.macstadium.com/blog/osx-10-9-mavericks-bugs/

Even if supposedly only applies to Maverick, I found a Macbook with Yosemite having the same problems and the fix seemed to work. Worth a try.


How can I verify that an iOS app has or has not been updated?

You can check the version of Messenger installed by going here:

Settings > General > Storage (& iCloud Usage) > Manage Storage > Messenger
Version will be displayed next to app icon.

And you can check the latest version of Messenger in the App Store by going to its page and check the version.

If they are the same, you are good to go. If not, I suggest closing App Store, restarting your iPhone and then checking App Store. It will probably says Update and you can do so.


Emptying trash, with file-in-use: Is there any difference between 'skip' and 'continue'?

I couldn't find any documented proof but still, here is my answer.

When you first hit above shown error, it means you can

Skip i.e. don't try to trash mentioned file and continue trashing the rest
Stop i.e. stop trashing for now
Continue i.e. you have closed mentioned file (it's not in use anymore) and OSX can continue trashing it

If you just click continue or fail to close the open file, OSX skips them and hence the confusion.

Most of the in-use files I have seen are plists which needs to be unloaded before deleting

Extra info after some experiment:

Above said is mostly true in situations when trash contains plists or in general you trashed some app

For example:

If you create a text file → Open it → Trash it while the file is still open → Try empty Trash → No problem i.e. Trash empty without any error and file still open

But If  you start some app (like MAMP in my experiment) → Launch it & start services → Trash the app → Try empty trash → You will get the above said error → Open activity monitor → Kill all related services & hit continue → Trash empty


How to move only purchased music from iPhone

Maybe you can try this :

The first time iTunes ask to transfer
purchases, say No
In the App Tab of your iPhone in iTunes, uncheck the top box : "Sync Apps"
On the bottom of Application Tab, you'll find another box you can try to disable : "Automatically sync new apps"
Try a new sync


How do I find out my iMac display panel's manufacturer?

It's an LG LM270WQ1 (SD)(F1).

One thread is here: https://discussions.apple.com/thread/5591164?tstart=0
And you can find replacement here: http://www.amazon.com/Apple-A1419-Screen-LM270WQ1-661-7169/dp/B00LEXN39W


Using 2 displays with full screen applications

No fun, but the answer is no. Best you can do is choose which screen your app goes full screen on, which is a minor improvement on previously. It's tricky to accomplish due to the new screens workflow, an extended desktop onto a 2nd monitor is still just one 'screen', and you want it to display 2 different screens simultaeniously - a not unreasonable request, but one which is sadly unsupported at present.


Should I replace my Macbook battery, charger, or both after 5+ years of use?

If so, what should I replace in order to increase my MacBook Pro’s battery life?

Emphasis mine
The battery.  Period.
I would replace the battery only if having 2-3 hours of usable charge is no longer convenient.  The question you have to ask yourself is whether or not the battery, in it's current state is still usable to you.  If it's not, change it.  If it is, try to get every charge cycle you can out of it (I'm a big proponent prolonging the life of products to minimize e-waste.)
You might find this post quite relevant:  Quality factors relevant for getting a replacement battery (MacBook Pro (13-inch, Mid 2012))

Battery Life

My battery over the years has underwent 2000+ cycles, and can only last at most 2-3 hrs from 100% to 0% currently

You are definitely several standard deviations from the norm on the right side bell curve that represents charge cycles and battery life.  Batteries generally have a useful life of 3 to 5 years. The "1000 cycles" is just a marketing estimate of how many types you can charge cycle the battery so you can estimate (budget) for battery replacement.  It's not a hard and fast rule (unfortunately, too many people believe it is).
MagSafe Adapter

My 60W MagSafe 1 charger (L-shape) has had some parts of the outer cable torn (half of it covered in electrical tape). The cable has become more and more yellow, and the plugs are slightly bent out of shape, although it still works.

If your charger still works and is safe you have no reason to change it.  Yellowing of the plastic has nothing to do with performance - it has to do with UV exposure to the plastic.  If you're still making the connection with the adapter, there's no reason to change.

NOTE: If it's brown, that means it's overheating and burning the plastic - destroy that charger immediately and get a new one.

I emphasize safe because the ground wire in the MagSafe cables is also EM shielding.  If this wire is broken you should replace the adapter.   Here you have a couple of options.

If replacing the adapter, I would get the 87W adapter.  It will give you more options if you choose to add another vintage Mac to your stable.  You can always use a "larger" charger than what your device is rated for; not smaller.  And with the MagSafe 2 Converter, you can use that MagSafe 1 with newer devices!  See Apple's Support Document Find the Right Power Adapter for Your Mac for full details.

If you have the technical skills, you can "break" open the MagSafe adapter and simply solder on a new cable.  Yes, you have to break it open because it's glued together (stupid design), but once open, you can solder on a new cable and (what I did) duct tape the adapter back together. I have one still working to this day.  iFixit.com has excellent guides on how to do this.


What differences are there between using the Server.app Time Machine server and simply sharing the attached backup HDD?

The  Time Machine functionality that OS X Server provides is to allow an remote OS X machine to use the server as a Time Machine backup disk. The server will create a sparsebundle for each remote machine it is backing up.

OS X Server includes a way of controlling and administrating services that can be implemented on normal OS X. In this case you can create a sparse bundle and share it in plain OSX (or as is done in many Network Attached Servers in Linux/BSD)

For your case as you are not using the server as a remote TM backup then OS X Server does not provide much here. With normal OSX you can share the external disk via AFP, samba but these are better not to expose across the internet for security reasons or better use ssh to remotely access the Mac.


Can I get HDR on the 4th gen iPod Touch by upgrading to iOS 4.1?

HDR photo is only available on iPhone 4 with iOS 4.1. Also, the rear camera is less then 1MP where iPhone 3 is 5MP.

iPod Touch's Software Update page does not list HDR photo.


Change the default text editor in Terminal

Simply set the EDITOR variable to vim in your bash startup file.

EDITOR=vim

From the bash manual

   edit-and-execute-command (C-xC-e)
      Invoke an editor on the current command line, and execute the result as shell commands.  Bash
      attempts to invoke $FCEDIT, $EDITOR, and emacs as the editor, in that order.


How can I eliminate this repeated Java Runtime Environment (JRE) pop-up window?

I installed the Java Developer Kit and that fixed the problem. I'm not sure why that was needed.


Can I turn off the alternate keyboards in Messages

Assuming you're talking about the Handwriting Input panel in iOS 10:

Rotate the phone to show the input area, then tap the keyboard icon, showing the keyboard, and it will keep the setting.

Image / info via: https://www.gottabemobile.com/how-to-turn-off-the-5-most-annoying-ios-10-features/


Bind Ctrl+C to Copy function for eclipse on mac os x doesn't work

Yes, there are better approaches.  Open:

System Preferences->Keyboard->Shortcuts

Highlight the App Shortcuts on left pane.  You will see a list of apps on the right.  Click the Plus sign and then select Eclipse for the app, type the menu item, type your new keyboard shortcut and you are done:


You may need to visit a data recovery center and have them inspect the hard drive and see if they can find and copy any data from the Linux partition if it hasn't been formatted.


In case you have previously synced your iPhone to iTunes, it should automatically sync your device (with 'Sync' button). If you did that on the different computer, try connecting to it. After sync, restore the device from the previous backup in the recovery mode.

See also the following steps depends on your circumstances:

How to unlock your iPhone passcode if you have previously synced your iPhone to iTunes
How to unlock your iPhone passcode if you have never synced your iPhone to iTunes
How to unlock your iPhone passcode if you don’t have access to a computer


I restored my iPhone but it always says Activation Error, what should I do?

Activation through iTunes or Over the Air (OTA) is when the device checks to determine if it is factory or carrier unlocked or if it needs a SIM to be activated.

It's almost certain that your failure to activate is due to not having a SIM card from the proper carrier. You do not need to have an active contract or phone number associated with the SIM (I have a 3GS which has an old SIM without a plan), it just has to be for the correct carrier.


iTunes says I have 8k photos but I only have 6k on my iPhone?

Photos you sync from iTunes don't go into your Camera Roll — they go into separate albums. Look further down the albums list to find synced photos.


Can't access USB hard drive plugged in to Time Capsule

I see the same symptoms on my setup-- Used to use the usb hdd all the time on my old Windows setup, am able to see it on my macbook just fine. We are probably working in NTFS which, however, is clearly not allowed:

  Note: ExFAT and NTFS formats aren't supported.

Per http://support.apple.com/kb/HT2426


How to hide the reply section of conversation in mail.app?

I'm going to offer a suggestion and a possible workaround (or two)...

First, if I understand your concern properly, what is likely happening is that one of the people involved with the thread has a mail client that isn't properly quoting the content and so the mail app (like gmail before it and numerous other desktop mail clients) doesn't know what is part of the current email reply and what belongs in the past as part of the previous thread of replies. If this is the case, I'm afraid that there's nothing to be done with this current thread to fix it. Perhaps scroll back through the thread and seek the first time this occurred to determine who the offender was (whether they were aware they caused it matters not). Really, all this will do is let you know from whom to expect this in the future. It won't really fix the problem as I believe there isn't a solid solution apart from editing the email on your own prior to your next reply, which I would not recommend because if it happened once it's likely to happen again.

Possible Workaround 1: Send a reply to the thread stating that it's the "Archival Log" and include everything prior to it. Next, Send another reply where you include perhaps only the last 3-5+ replies, whatever holds up the thread to scrutiny re: current discussion. At the bottom of that email, place a text string suggesting to all involved that anything previous can be found in the archival reply making note of the date/time of the archival reply so they can easily search their inbox or saved folders for that thread for reference.

Possible Workaround 2: This might ruffle some feathers, but simply follow the second half of the previous suggestion noting that it's been truncated for simplicity.

Possible Future Workaround 3: This option is only available to those who have autonomy over their systems or when everyone involved has accommodating IT folks and a team willing to move away from email as the primary means of comm for whatever is being discussed...
Consider moving these types of conversations into a messaging app such as Slack. I started using slack for work about 5 years ago and have since created environments for my family. The reason I prefer it to email is that the whole "reply thread" isn't a thing anymore. Comments flow as they're made. No chance for replies to get crossed "in the mail" when multiple people are drafting their replies at the same time. Slack does have a "threads" feature which does work well for quick branches from the original discussion, but more than a year after it was released, it's still cumbersome to use. If you have multiple tasks or responsibilities being discussed, also consider a free project management task manager such as Asana. The beauty of asana is the ability to maintain threads specific to tasks much better than a plain messaging app. I'm not a fan of their mobile app, so I only use asana within their desktop browser web app. In a pinch, I'll look at the mobile app when away from my desk to see if I need to hurry back to the comment or if it can wait.


Desktop notifications for phone calls on iOS 7

Without a jailbreak what you ask is definitely not possible right now.

With a jailbreak there seems to be some apps that can send notifications like GrowlNotifier.


Find has not randomly stopped working, but is functioning as it should. The problem is that you're running a command that you do not fully understand. It sounds likely that you do not at all want to have find looking through your /dev directory.

The reason you get different results with find and ls is that the /dev/fd directory does not represent a physical directory on disk. Instead it is a virtual file system that contains the file descriptors that the process looking at /dev/fd have obtained.

This means that ls sees one /dev/fd while find sees another (and similar for all other running processes).

In essence you want to take a look at your find command and make sure it is constructed correctly for the task you want to perform. If you want to ask about that on SO, please remember to include the full command you're trying to run as well as what you're expecting that command to do for you.


How do OS X terminal sessions persist through reboots?

The code to restore Terminal (actually bash sessions) is part of /etc/bashrc_Apple_Terminal which gets sourced through /etc/profile and /etc/bashrc for each bash session running in Terminal.

# Resume Support: Save/Restore Shell State
#
# Terminal assigns each terminal session a unique identifier and
# communicates it via the TERM_SESSION_ID environment variable so that
# programs running in a terminal can save/restore application-specific
# state when quitting and restarting Terminal with Resume enabled.
#
# The following code defines a shell save/restore mechanism. Users can
# add custom state by defining a shell_session_save_user_state function
# that writes restoration commands to the session file at exit. e.g.,
# to save a variable:
#
#   shell_session_save_user_state() { echo MY_VAR="'$MY_VAR'" >> "$SHELL_SESSION_FILE"; }
#
# During shell startup the session file is executed. Old files are
# periodically deleted.
#
# The default behavior arranges to save and restore the bash command
# history independently for each restored terminal session. It also
# merges commands into the global history for new sessions. Because
# of this it is recommended that you set HISTSIZE and HISTFILESIZE to
# larger values.
#
# You may disable this behavior and share a single history by setting
# SHELL_SESSION_HISTORY to 0. There are some common user customizations
# that arrange to share new commands among running shells by
# manipulating the history at each prompt, and they typically include
# 'shopt -s histappend'; therefore, if the histappend shell option is
# enabled, per-session history is disabled by default. You may
# explicitly enable it by setting SHELL_SESSION_HISTORY to 1.
#
# The implementation of per-session command histories in combination
# with a shared global command history is incompatible with the
# HISTTIMEFORMAT variable--the timestamps are applied inconsistently
# to different parts of the history; therefore, if HISTTIMEFORMAT is
# defined, per-session history is disabled by default.
#
# Note that this uses PROMPT_COMMAND to enable per-session history
# the first time for each new session. If you customize PROMPT_COMMAND
# be sure to include the previous value. e.g.,
#
#   PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND; }your_code_here"
#
# Otherwise, the per-session history won't take effect until the first
# restore.
#
# The save/restore mechanism is disabled if the following file exists:
#
#   ~/.bash_sessions_disable


man ln clearly says:

ln [-Ffhinsv] source_file [target_file]

So yeah, your command seems reasonable.

The script, however, is odd. makeLinks is never invoked and the prompt asking for confirmation would just cause recursion. You probably meant to place it outside the function definition.


In Numbers, is there a way to get the row instead of the value when using a MAX or MIN Function?

Using INDEX(MATCH) this can be easily accomplished.
Formulas
This formula returns the food label:
=INDEX(Foods, MATCH(MIN(Cost),Cost))

The INDEX function returns the value in the cell located at the intersection of the specified row and column within a collection of cells or from an array returned by an array function.
The MATCH function returns the position of a value within a collection.

This formula returns the Row number:
=ROW(INDEX(Foods,MATCH(MIN(Cost),Cost)))

The ROW function returns the row number of the row containing a specified cell.

Replacing MIN with MAX returns the row with the Max result.

Further information on these functions can be found in the Functions reference.

ROW
The ROW function returns the row number of the row containing a
specified cell.
ROW(cell)
• cell: An optional cell reference to a single table cell. The
referenced cell that can contain any value, or be empty. If cell is
omitted, as in =ROW(), the function returns the row number of the cell
that contains the formula.
Examples
=ROW(B7) returns 7, the number of row 7.
=ROW() returns the absolute row number of the cell containing the function


Speed of old Filevault vs. new Lion full disk encryption

AnandTech — Back to the Mac: OS X 10.7 Lion review: FileVault performance compares (a) performance with and without FileVault 2 — both excluding FileVault 1.

It may help to find a comparison of (b) Lion with and without FileVault 1 — both excluding FileVault 2. However: in the excitement around version 2, it may be difficult to find someone benchmarking/testing version 1 on Lion.

If both (a) and (b) can be found: read the two alongside each other.

My hunch is that answers will vary, depending on what the user has in the home directory.

In my case, after abandoning FileVault 1 in favour of FileVault 2 for a 318 GB startup volume in a MacBookPro5,2, the sum of the sizes of the attributes and catalog B-trees is around 4.9 GB — for a computer limited to 8 GB memory, a considerable sum:

[macbookpro08-centrim:~] gjp22% date
Sat 30 Jul 2011 19:14:26 BST
[macbookpro08-centrim:~] gjp22% uname -a
Darwin macbookpro08-centrim.home 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
[macbookpro08-centrim:~] gjp22% sudo fileXray --volume_header /
# HFS+ Volume
  Volume size          = 318 GB (296 GiB)

# Volume Header
  signature            = 0x482b (H+)
  version              = 0x4
  lastMountedVersion   = 0x4846534a (HFSJ)
  attributes           = 10000000000000000010000000000000
                       . kHFSVolumeJournaled (volume has a journal)
  journalInfoBlock     = 0x948
  createDate           = Sun Apr 17 00:33:38 2011
  modifyDate           = Sat Jul 30 19:14:22 2011
  backupDate           = 0
  checkedDate          = Sun Apr 17 08:33:38 2011
  fileCount            = 6478678
  folderCount          = 436279 /* not including the root folder */
  blockSize            = 4096
  totalBlocks          = 77592939
  freeBlocks           = 10772212
  nextAllocation       = 52271602
  rsrcClumpSize        = 65536
  dataClumpSize        = 65536
  nextCatalogID        = 79803393
  writeCount           = 349797840
  encodingsBitmap      = 00000000000000000000000000000000
                         00000010000000000000000011011111
                           . MacRoman
                           . MacJapanese
                           . MacChineseTrad
                           . MacKorean
                           . MacArabic
                           . MacGreek
                           . MacCyrillic
                           . MacChineseSimp

  # Finder Info
       # Bootable system blessed folder ID
         finderInfo[0] = 0x3e4357c (speedy:/System/Library/CoreServices)
       # Parent folder ID of the startup application
         finderInfo[1] = 0x3e87cda (speedy:/System/Library/CoreServices/boot.efi)
       # Open folder ID
         finderInfo[2] = 0
       # Mac OS 9 blessed folder ID
         finderInfo[3] = 0
       # Reserved
         finderInfo[4] = 0
       # Mac OS X blessed folder ID
         finderInfo[5] = 0x3e4357c (speedy:/System/Library/CoreServices)
       # VSDB volume identifier (64-bit)
         finderInfo[6] = 0xbbc2127
         finderInfo[7] = 0xac90a940
       # File System Boot UUID
                  UUID = 031C0245-ADB2-3BDA-96D0-3C2616ACC11F

  # Allocation Bitmap File (CNID 6)
  logicalSize          = 9728000 bytes (9.7 MB)
  totalBlocks          = 2375
  clumpSize            = 0 bytes
  extents              =   startBlock   blockCount      % of file

                                  0x1        0x947       100.00 %

                         2375 allocation blocks in 1 extents total.
                         2375.00 allocation blocks per extent on an average.

  # Extents Overflow File (CNID 3)
  logicalSize          = 9437184 bytes (9.4 MB)
  totalBlocks          = 2304
  clumpSize            = 9437184 bytes
  extents              =   startBlock   blockCount      % of file

                               0x2149        0x900       100.00 %

                         2304 allocation blocks in 1 extents total.
                         2304.00 allocation blocks per extent on an average.

  # Catalog File (CNID 4)
  logicalSize          = 3544186880 bytes (3.5 GB)
  totalBlocks          = 865280
  clumpSize            = 177209344 bytes
  extents              =   startBlock   blockCount      % of file

                              0x4b679      0x3c9d0        28.69 %
                              0xfc349       0x287a         1.20 %
                             0x122346      0x1bbda        13.13 %
                             0x142047      0x12a52         8.83 %
                             0x121a0f        0x91a         0.27 %
                             0x120d38        0x310         0.09 %
                             0x10c8ad      0x10760         7.79 %
                               0x2a89      0x3f600        30.00 %

                              0xdce49      0x15200        10.00 %

                         865280 allocation blocks in 9 extents total.
                         96142.22 allocation blocks per extent on an average.

  # Startup File (CNID 7)
  logicalSize          = 0 bytes

  # Attributes File (CNID 8)
  logicalSize          = 1423966208 bytes (1.4 GB)
  totalBlocks          = 347648
  clumpSize            = 203423744 bytes
  extents              =   startBlock   blockCount      % of file

                              0x88049      0x54e00       100.00 %

                         347648 allocation blocks in 1 extents total.
                         347648.00 allocation blocks per extent on an average.

# Volume Header SHA-1
  ef3c7622787bfbd73b65a73a82261aee9197dbe5

# Auxiliary System CNIDs
  HFS+ Private Metadata Folder   = 18
  HFS+ Directory Metadata Folder = 19

Presented by Disk Utility 12 (346) for my startup volume:

         Capacity : 317.82 GB (317,820,678,144 Bytes)
       Free Space : 43.88 GB (43,882,483,712 Bytes)
             Used : 273.94 GB (273,938,194,432 Bytes)
  Number of Files : 6,476,859
Number of Folders : 436,264

Presented by Finder 10.7 for my home directory:

152,306,364,403 bytes (155.61 GB on disk) for 308,668 items

Presented by du for my home directory:

Sat 30 Jul 2011 18:23:14 BST
[macbookpro08-centrim:~] gjp22% uname -a
Darwin macbookpro08-centrim.home 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
[macbookpro08-centrim:~] gjp22% sudo du -sh ~
Password:
145G    /Users/gjp22

If the default 8 MB size of bands in a .sparsebundle is as optimal for Mac OS X 10.7 (Build 11A511) as it was  for previous releases of the system — and if (as I suspect) a significant proportion of oft-used files in my home directory are much smaller — I might find that abandoning FileVault 2 in favour of FileVault 1 feels better. That feeling might be difficult to quantify, but I do plan to take the FileVault 1 approach, hopefully before the end of September 2011.

http://identi.ca/conversation/77065575#notice-79879336 links to an overview (work in progress) that will include performances of the two versions of FileVault alongside other considerations. Most of that work is now transferred to Ask Different as answers under the following question:

Apart from being able to encypt an entire volume, what are the other differences of FileVault 2 over FileVault?

In Super User:

FileVault performance Snow Leopard

If I find anything more of relevance to the opening question, I'll post again here.


charging my Macbook Pro (85w) with my Macbook Air (45w) charger

It will be fine. The MacBook Pro will charge with the Air's charger well; it will just be slower than if it was on its original charger. One can even charge a MacBook Air with the charger for the MacBook Pro, if one wanted to.

I have attempted this myself and have had no problems.


How to secure my Mac again after years of downloading pirated software?

A recommended course of action would be to backup your user data (data files that you have created, not the apps and their settings) onto a different (external) drive, wipe your Mac clean and start over. This could be the most sure-shot way to ensure that your computer is free of any/all malicious apps/permissions/plug-ins.
When backing up the data, make sure you backup all the crucial files as well as app and system configurations (such as browser bookmarks, info about any installed plugins, contacts etc.)  and don't miss anything. Files can be copied onto a different external volume, browser bookmarks and any similar data from apps exported (for later import), user data such as Notes, Contacts, Reminders synced via iCloud etc. However, do not backup any apps/plug-ins etc.
Another important tip is to not use any data backup service such as Apple's Time Machine or something similar from a 3rd party that backs up and restore the entire system. Doing this wouldn't serve the purpose you are looking for. It's crucial to handpick and selectively backup only the user data files. Any apps that you are using, and wish to use should be re-installed after the fresh install of macOS, from the Mac App Store or from the vendor's original distribution source.
Once all the backup is done, and you are sure you have everything that you'd be needing, you should go ahead and create a bootable macOS installer. A working Mac is required to create a bootable macOS installer. So we'd be doing this before wiping the disk clean. This would ensure that we have a bootable installer handy if needed after we have wiped the disk clean and have lost access to an installed copy of macOS.
The step by step instructions to create a bootable macOS can be found here:

How to create a bootable installer for macOS

You should also sign out of iCloud (after making sure any data that backs up to iCloud is successfully synced) and turn-off Find My Mac. Doing so would disassociate your Mac from your Apple ID. For a comprehensive list of actions to take, you can refer to the following Apple Support document:

What to do before you sell, give away, or trade in your Mac

Now the data backup is taken care of, we are ready to wipe the disk clean. Be doubly sure about backing up any necessary data as wiping the disk clean would make you lose access to the entire installation and any data on your MacBook's disk.
Proceed ahead to erase your Mac's disk to wipe it clean. You can find the step by step instructions here:

How to erase a disk for Mac

Alternatively, you can also boot your Mac using the bootable USB installer that we created earlier, access the Disk Utility and wipe the internal drive.
Once you are done erasing the disk, proceed ahead to reinstall macOS afresh. You can use the bootable installer that we created earlier on.
Alternatively, if you have a decent Internet connection, and if your Mac supports it, an Internet Recovery can be attempted too. (I would personally recommend going with the bootable USB installer.) To learn more about Internet Recovery, refer to the Apple Support document:

About macOS Recovery.

Once you are done installing macOS, signing-in with your Apple ID and setting up your Mac, you can start by installing the required apps. Two reliable sources to obtain Apps are:

Mac App Store (built into macOS).

Homebrew and Homebrew Cask (A community developed package manager for macOS, which lets you easily install and manage UNIX command-line tools, and popular 3rd-party GUI apps respectively).

You can now start restoring your data:

Once iCloud is enabled, any data that syncs to iCloud would get restored onto the system. Go to System Preferences app → Apple ID → iCloud (On macOS Catalina) or System Preferences app → iCloud (On earlier releases of macOS) and check what apps you wish to sync with iCloud. The checked apps would sync their data to the system.

Restore by importing, any app data that you previously backed up by exporting (such as browser bookmarks).

Any app and their plugins that can be obtained from the developer's website/source of distribution should be installed from the original source.

If an app that you use doesn't have a free alternative available, prefer purchasing from the vendor and installing a non-pirated version to ensure that your computer doesn't get compromised and you have a complete peace of mind.
P.S.: If you are concerned about rouge apps getting unintended access to your personal data and wish to guard your self against it, consider installing macOS Catalina, the current latest release of macOS. macOS Catalina has improved security and a permission-based system for apps to access user data and files (kinda similar to iOS).
One major downside of using macOS Catalina could be that it has completely dropped support for 32-bit apps. While a majority of supported apps are 64-bit now, you may still wish to consult with app vendors to see if they offer a 64-bit version of their app that you wish to use, and there's no alternative available for the same. If such becomes the case, you may consider sticking with the last stable release of the previous version of macOS, i.e. macOS Mojave 10.14.6 which is well supported too.
But since you are concerned about the safety of your data and rogue apps, you should give serious thought to go with macOS Catalina. This article on WIRED sheds some light:

The MacOS Catalina Privacy and Security Features You Should Know


Deleted over 4TB on Promise VTrak, still shows as full

This was a production server so I couldn't be too forceful.

Inevitably, after hours, a reboot resolved the issue. Not my favorite solution by any means.


It can work using Google Chrome and Microsoft Internet Explorer :

With Chrome: do a right click on the menu option 'export vcard'

With I.E.: do a SHIFT-Click on the menu option 'export vcard'


With the image inserted in Notes, choose the disclosure arrow from the top-right of the image (shown on hover) and select Markup.

From here you have access to the standard markup tools including shapes and text.


How do I disable retina mode/HiDPI on macOS Mojave on the built-in display of a MacBook Pro (15-inch, 2017)?


VMWare Fusion: Could not open /dev/vmmon error

After having this issue with macOS High Sierra and VMWare Fusion 8.5.8, I was able to resolve it by allowing the system extension as described in http://planetvm.net/blog/?p=3240

In short; open System Preferences, click Security & Privacy, and from the General tab you should see a message stating System software from developer "VMware, Inc." was blocked from loading. Clicking the Allow button resolved the issue for me.


Apple Watch auto workout detection fails to detect local walks

As you have already linked, you can only enable and disable the option. All the magic of the detection is behind closed doors.
In my experience, especially for walks, it detects them best when your pulse raises.
My watch has a high detection rate for walks going uphill - simply because my pulse increases significantly.
Otherwise we could make guesses which kind of detection mechanism are run in the background. Maybe, as you stated, it is less likely to detect a workout when you're near your home. You could try deleting your home in Significant Locations - see here.


In iTerm, how can I change alt+delete to ignore slashes?

In order to get this to work, in iTerm preferences I had to set the key alt+backspace (or w/e you have it as) to map to these hex codes:

0x1B 0x08


You need an alias. Typing alias sage='open /PATH/TO/Sage.app' will create an alias which will do exactly what you want, run the program just by typing sage. The problem is that this will only last until you close that terminal window (bash). So, you need to create that alias each time you run a new bash. To do so, just:

Create or modify a text file called .bash_profile in your home directory.
Add alias sage='open /PATH/TO/Sage.app' on it
Save the file
Load the file once by typing . ~/.bash_profile

Remember that it will be case sensitive, so if you type Sage (instead of sage) it won't work.


How should I prep a laptop for a return?

If you're pressed for time, and since you mentioned the Macbook Air was new and purchased last week, it probably was installed with OS X Lion which has full-disk encryption. If this assumption is true, then

Back up your data. I'd recommend using Time Machine (so you don't
have to re-setup your user id, install apps, etc).
create another "throwaway" admin id, and log in to your "throwaway"
admin id
and delete yourself from the Mac using System Preferences -> Users & Groups preference pane.


iPad stuck on Guided Access with broken home button

After a quick google search, I found this video that may help you, depending on what version of iOS you have. There are many other tutorials on youtube that you should check out as well.

Good Luck!


Can I safely uninstall iTunes from my Mac?

In order to uninstall iTunes, you need to delete (drag to the Trash) a lot of items:

The application's icon.
/Home/Library/Preferences/com.apple.iTunes....plist (a lot of files) and drag them to the Trash.
Look in /Library/ folder for an iTunes folder and if you find one drag it to the Trash.
Look in /Home/Library/ folder for an iTunes folder and drag it to the Trash.
Last, in /Home/Library/Preferences/ByHost/ folder look for two files with names com.apple.nnnnnnn.plist and drag them to the Trash.

Open Activity Monitor (Utilities folder) and in the process list look for iTunesHelper. Select it, then click on Quit Process icon. Quit or Force Quit the process. Now open the Accounts preference pane, click on Login Items tab, look for the iTunesHelper entry and select it, then click the "-" button and remove it from the list.

Empty the Trash. This should fully remove iTunes and its associated files/folders.

You can find all the information on this page.

But, there is no harm in deleting iTunes, except other iLife apps (iMovie, iPhoto,...) won't be able to get music out of the iTunes library for compiling their things (movies, slideshows,...)

So I'm seriously wondering why you want to delete iTunes at all. My advice is to leave it as it is and just ignore it.
You won't do any harm by it if you just leave iTunes there.


How to open an encrypted dmg file in Windows?

According to the website HFSExplorer can open and read encrypted dmg images.

  HFSExplorer is an application that can read Mac-formatted hard disks and disk images.
  It can read the file systems HFS (Mac OS Standard), HFS+ (Mac OS Extended) and HFSX (Mac OS Extended with case sensitive file names).

  HFSExplorer allows you to browse your Mac volumes with a graphical file system browser, extract files (copy to hard disk), view detailed information about the volume and create disk images from the volume.
  HFSExplorer can also read most .dmg / .sparsebundle disk images created on a Mac, including zlib / bzip2 compressed images and AES-128 / AES-256 encrypted images. It supports the partition schemes Master Boot Record, GUID Partition Table and Apple Partition Map natively.

Download link.


How do I sync my iCal with an Android smart phone from T-Mobile?

iCal speaks CalDAV and Exchange active sync - so you have many choices to sync your phone to any server that makes sense to you.

Google calendars work well for a free solution, but it is only one of many services that you could use.


Automator sequential file rename with variable padding

This is not possible with Automator. You can only specify the number of digits manually.


Ways to share folders from Mac host to Mojave guest on VirtualBox (using NFS Manager or other options)?

AFAIR the guest additions's sharing feature doesn't work for the macOS varieties. On the other hand none of the mentioned options is necessary to get file sharing running.
The only thing needed is a proper network connection.
The most simple configuration: using the physical NIC of the host as bridged device in the guest. If the physical NIC is already connected to the internet, you don't even have to set up a NAT-network to get internet in the guest.

Shut down the guest
Open the config window of the guest in VirtualBox
Chose network > adaptor 1
Choose Bridge and the appropriate physical NIC of the host (usually en0 or en1) and hit the OK button

Now start the guest machine.

Open System Preferences > Network > bridged NIC on the host and make a note of the network settings (e.g. IP: 192.168.0.2/Mask: 255.255.255.0/Gateway: 192.168.0.1 DNS:192.168.0.1).

Open in the guest: System Preferences > Network > only NIC available which usually has a similar name as the physical NIC of the host (e.g. Ethernet - the interface name (en0, en1, etc.) may differ though).
Enter a different IP in the same network (e.g. IP 192.168.0.12). The rest stays the same (255.255.255.0/192.168.0.1 DNS:192.168.0.1)

Create a folder to share on the hosting Mac.

On the host switch to System Preferences > Sharing, enable file sharing, hit the +-sign and choose the folder created in the previous step.

In the guest open in the Finder > Go > "Connect to Server..." and connect to the hosting Mac with the proper IP (e.g. smb://192.168.0.2) and credentials.

This common approach didn't work out for the OP for unknown reasons. So things were reversed and a folder in the guest was shared. On the hosting Mac open in the Finder > Go > "Connect to Server..." and choose the IP of the guest (e.g. smb://192.168.0.12) and log-in with the proper credentials.
This worked after adjusting the time of the hosting Mac (it was off for ~8 minutes and Kerberos doesn't like this - server and client time should be in sync; AFAIR 5 minutes difference is acceptable).


Can I update an existing Apple ID with a newly created MobileMe email address?

As I have attempted to do this myself, Im pretty sure you cant combine the two. You can try contacting Apple Support but they will probably tell you the same thing.

Apple doesn't allow you merge AppleIDs or in other words use a mobileme AppleID for an iTunes account AppleID ( AppleIDs are just the username/email address I think). This sounds reasonable though because mobileme is a  yearly paid service and in the instance you canceled the mobileme account, it might lead to account problems (ie if you needed to reset your password for your iTunes account but it still had the mobileme email address as the AppleID/email)

You should still be able to make iTunes purchases, app purchases, etc with the original iTunes account you had set up.


Is it possible to keep Mac App Store apps in the user application directory?

I do not know if there is such a possibility to have this as a default behavior but you could simply move the application to your user application directory or anywhere else.

Finder by default creates an alias when you drag an application out of the /Applications folder. However, if you hold down the "Command" key while dragging your applications, they will move to wherever you drag them.

If you want to go a geekier route, you can also use Terminal and execute this command:

sudo mv /Applications/your-application.app ~/Applications/

After promting for your login password everything is fine. Be sure to be administrator of your system.

This certainly works for me. I can use the application as usual and it receives all updates via the Mac App Store.


How to slow down iPad keyboard response, to get fingers off the keys before the letters repeat?

Which version of iOS are you using? My brother has an iPad 1 running iOS 5, and keys don't repeat at all. Instead, if you hold them down long enough, you get the option to chose special characters, but if you don't choose any special characters you still get the letter you pressed. iOS updates are free, so if I were you I would update to iOS 5, which should fix your problem. (You can do this by plugging your iPad into a computer, opening iTunes, clicking on the iPad in the sidebar, and clicking the 'update' button.)


Dropbox Install in Data Partition between OS X and Windows 7 Boot Camp

There is nothing that you do about this other than try to hide them.   It occurs because one file system doesn't support extended attributes.

There have been quite a few posts on the dropbox forum and I suggest you file a bug report with dropbox.  They'll claim it is normal behavior but they still need to find a fix.


Will I have to create separate Apple IDs for two iOS devices to message each other?

You don't have to create separate Apple ID's for the iPhone because iMessage also works by using the phone number.

However if you have two wi-fi only iPad's or iPod touch's then you will just have to use separate e-mail address.


Is there any way to remotly access ios device from another ios device?

No, this is not possible due to restrictions in place on iOS (namely sandboxing and multitasking).


I have exactly the same issue on my rMBP, but only with my home router. Every other router works fine, so I've put it down to the router being strange (it's a proprietary ISP router) as opposed to the Mac.


Is there any way to use iBooks author like pages/numbers/keynote on icloud?

No. This is not yet possible.

Use dropbox or something similar instead.

You can ask for new features via:

http://www.apple.com/feedback


(Assuming you have the latest iTunes version)

If you don't already have the desired episode in your computer's iTunes library, download it from the iTunes store.
Connect the iPhone (either via WiFi or USB cable) and go to the podcast in the iTunes library. Drag the episode toward the right side of the screen. A sidebar should pop up and your iPhone should be listed under Devices. Drop the episode onto your iPhone.
It'll begin syncing and the episode will be copied over.

Once you finish listening to it, it will be deleted from the iPhone the next time you sync because of your "10 most recent unplayed" settings. Depending on iTunes settings, it may or may not also be deleted from your computer's iTunes library.


Changing the name attached to my MacBook Pro

You need to change your personal contact card in Address Book, soon to be Contacts in Mountain Lion.

In order to do this, launch Address Book and create a card with your information in it.

Then, while your card is selected, go to the Card menu and select "Make This My Card".

Note:  I'm not sure if Xcode has a stores this info elsewhere or not, but anything new that you install will definitely get this updated info.


How can I save opened application settings in Mac OS X?

You are looking at two different things.

1) Shutdown and boot - get your same apps as per Linux option - see @Am1rr3zA

2) Hibernate - OSX does this already. Just choose sleep from the apple menu
For more details see Macworld explanation and Apple docs


You need to replace the DriveName part with the name of your external drive. One way to find the name is to run

ls -l /Volumes

in Terminal.


Since this is not standard macOS functionality, neither default nor optional, this is either functionality added by you (or someone acting as administrator) or a third-party app.

You can check what third-party apps have system-wide access to window manipulation in System Preferences → Security & Privacy → Privacy → Accessibility. One by one, try disabling suspect apps and attempting the shortcut again.

When you've narrowed down the specific app, you can either disable the app or research the possibility of changing/disabling the offending shortcut.


Where are the dictionaries of Mac OS X's built in password assistant?

I've only used OSX in it's English settings. OSX has an inbuilt dictionary for system-wide spellcheck, definitions etc. I imagine it uses this for memorable passwords, with the Size slider determining the limit on the size of the words that are plucked from said dictionary.


Why can Perspective Warp cause my Mac to run out of application memory?

You don’t actually specify what model of Mac you have, nor what you mean by within a session.

However, the perspective warp function is a rather CPU and GPU intensive task. How long it takes will depend on a number of factors, such as the complexity and size of the files you’re working with, the amount of VRAM your GPU has access to, and so on.

Also, if you’re trying to use the perspective warp function repeatedly during relatively short periods of time, you may find that your system starts heating up beyond acceptable limits and the CPU and/or GPU become throttled in order to protect them from damage.

Finally, while you do seem to have a good amount of RAM (32GB is nothing to be sneezed at), the perspective warp feature is actually more demanding of the GPU and the amount of VRAM it has access to. So you may find that’s the cause of your memory issues, especially if you’re using perspective warp repeatedly within short periods.


You need to go into regedit and change the registry hardware config / boot driver flag to a 14 hex value before you clone the drive to the external usb drive.  Watch this video it will show you how to do it live https://www.youtube.com/watch?v=9RHjVAQHb3E


Set Gmail as default mail handler for Mail PDF print option for Snow Leopard

The only way that I know how to accomplish this is to use Mailplane which is a commercial Mac app for using Gmail's web interface.

It has its own "Mail PDF with Mailplane" service which comes as part of the app:

There's no way that I know of to automate the process of attaching a PDF (or any other file) to Gmail through a web browser. You're going to need a Mac app for that. That either means setting up an email client such as Mail.app (which means duplicating contacts, etc) or Mailplane (which will let you use your existing contacts).


How do I put all of the music in my iTunes library (12.2) onto my iPhone 6?

I am assuming that you have your 'entire Music Library' downloaded on your Mac. This seems like a simple case.

Plug your iPhone into your Mac.
Open iTunes
Tap the iPhone icon
Under the "Settings" section header, click "Music"
Click the checkboxes "Sync Music" and "Sync Entire music library"


Printopia (AirPrint): turn it on/off via command line?

There's no real reason that I can think of not to leave it on all of the time, but you can easily turn it on and off by loading or unloading the launchd plist:

This will turn it on:

launchctl load ~/Library/LaunchAgents/com.ecamm.printopia.plist

This will turn it off:

launchctl unload ~/Library/LaunchAgents/com.ecamm.printopia.plist

Or you could just run the server directly:

/Library/PreferencePanes/Printopia.prefPane/Contents/MacOS/Printopia Server.app/Contents/MacOS/Printopia Server

(that's all one line)


iMac - can't eject CD, metal part blocking CD slot, how to fix this?

It looks like the optical drive is dying.

iFixit has instructions to change it.


ifconfig showing ipv6 address while networksetup doesn't

Your system does have an IPv6 address though it's not really usable for networking beyond the local subnet. fe80::1c00:23f2:b82e:fc8c is a fe80::/10 link-local unicast address

  Link-Local addresses are designed to be used for addressing on a
  single link for purposes such as automatic address configuration,
  neighbor discovery, or when no routers are present.

  Routers must not forward any packets with Link-Local source or
  destination addresses to other links.

so what you have is a sort of a bootstrap IP address, not something that can communicate with other systems on the Internet. If IPv6 was working, typically SLAAC or DHCPv6 would give additional IP addresses (and routes would be setup) for your system to use. These would not be fe80::/10 addresses.

On a SLAAC subnet, IPv6 configuration might look something like

$ ifconfig en0 | grep inet6
    inet6 fe80::4a69:97ff:fe77:a706%en0 prefixlen 64 scopeid 0x4
    inet6 2607:...:4a69:97ff:fe77:a706 prefixlen 64 autoconf
    inet6 2607:...:6061:4f35:9b95:c7d4 prefixlen 64 autoconf temporary
$ ipconfig getv6packet en0
$

getv6packet shows nothing as SLAAC is being used, and there is no DHCPv6 packet associated with that protocol. networksetup does not appear to print anything useful when SLAAC is in use (this is on a Mac OS X 10.11 system).

$ networksetup -getinfo Ethernet | grep IPv6
IPv6: Automatic
IPv6 IP address: none
IPv6 Router: none
$


Poor sluggish performance after upgrading to Yosemite

Beginning with Mavericks, Apple began using a different way of utilizing RAM called memory compression. That is why the used is so high.

Wikipedia Virtual Memory Compression

Two things you can do are to remove the contents of the saved application state folder in your user library and remove the swap files in the /var/vm/ folder at the root of your drive. Once these have been removed, restart your computer. Let me know what you got going on after that!


How to sync iCloud contacts with Google?

I found it quick and easy to go to Settings -> Mail, Contacts, & Calendars -> Add Account -> Other -> Add CardDAV Account (under Contacts). Type google.com as Server, then type your Google email as username, password and click Done.

I had to use the application specific-password because I have a 2-step verification security setting with google but apart from that it was the easiest and quickest way I have seen yet.


Leave Apple Developer organisation and buy personal membership

It wasn’t as easy when you asked, but now it’s quite easy to add a new AppleID and then switch roles. Even if the company does not want to do any of the work, you can set up a new AppleID and promote that to the owner and then eject your desired account.

https://developer.apple.com/support/roles/

When that is done, you can reapply. I would open a support case with developer support before you start to be sure they can help and you are cleared. They have been exceptionally helpful to us in getting past employees that quit and move the company accounts around as needed. Just give them time to check on things - the more a rush you are in, the more they wonder you’re trying to pull a fast one.


"IOSurface seed changed" warnings in console

From the Apple Developer Reference, IOSurface is an API being called that allow applications to move complex image decompression and draw logic into a separate process to enhance security.

Apps that share media utilize this API, such as Messages or QuickTime.

I've read that this issue can arise when using a VPN, but I can't seem to corroborate that at the moment.


Transform ordering of photos in iPhoto to files

Easy.

Select all photos in your manually sorted album (e.g. using cmdA)
Choose File–Export... from the menu (or hit ⇧cmdE)
Select "Sequential" for File name, and enter a base name (which will be followed by numbers)
In the next dialog, choose the target folder (e.g. directly on your USB drive). Your photos will be exported there, and sorting them by file name will result in your beloved custom sort order from iPhoto!

In step 3, you might also want to select other options such as picture size and file format – this comes in handy if you don't need the full-resolution versions to be exported.


In what cases iOS stops screen recording on its own?

As far as I know, locking the phone (pressing the power button once shortly) will also stop recording.

Just like anything else, it requires enough free space on your iPhone to save the file. However, that doesn’t sound like the problem in your case.

There might be a chance that your iPhone 5S might not fast enough or have enough memory to record as long as your iPhone X.


pkg installer installs to inconsistent locations

Installer -target doesn't take an absolute path as an argument it takes a volume.

The installation path is determined when you build the package. Not via the -target flag


How do I share NTFS folder from OSX Lion to Window 7

This is the reason why you can't share your NTFS drive from OSX to Windows: In OSX Lion Apple replaced the open source samba with apples own version which unfortunately ignores anything that isn't hpfs. So it hasn't anything to do with your drivers or such.

This topic was discussed at length at MacRumors. The proposed solution is to install XCode and MacPorts followed by

sudo port install samba3
Navigate to /opt/local/etc/samba3 and modify smb.conf to your needs
Disable File Sharing in System Preferences
Launch smbd & nmbd daemons: sudo /opt/local/sbin/smbd -D && /opt/local/sbin/nmbd -D
To have smbd/nmbd launch automatically during boot you may also need to add an appropriate launchd file.


There are plenty of time tracking apps out there. Take a look at Time Clock for location-based work hours tracking: https://play.google.com/store/apps/details?id=co.timesquared.timetracker

You can also install Hours Tracker if you want an automatic clock in and clock out using preset GeoFences: https://play.google.com/store/apps/details?id=com.cribasoft.HoursTrackerFree.Android&hl=en_US


How can I delete Siri App Suggestions in iOS 10.1?

Disable Siri app suggestions in iOS 10

  You can disable Siri App suggestions by pulling the notification
  center down (where the Siri App suggestions is located) go all the way
  down and there you find a round button with edit on it. A screen will
  appear where you will have full control over what you want in your
  notification center.


Open Xcode -> Window -> Devices and Simulators. Next, on your Apple TV, go to the Settings app, then Remote App and Devices. Your Apple TV should then automatically appear as an option in Xcode.


Since you uploaded the video using iPhoto they are in the iPhoto library on your Mac.

To show you where, select the video in iPhoto, now click on the File in menu bar and select show in Finder.

That will show you where the Video is on your disk.

Go to it and right click selecting share by email BUT:

The file is 177 MB (to large to send by email), so you need to upload it to the web (like your Google drive..ect..) a place where you family can access to down load.


OS volume shows as type 'FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFF' after attempting to delete some Linux partitions—cannot log in

To correct the GUID error in your GPT, you need to start up from OS X Recovery over the Internet or from a USB drive with the macOS Installer flashed on it. To boot into recovery mode press and hold the command(⌘)optionR keys immediately after you turn on your Mac and hear the startup sound. To boot into a USB key, hold option immidiatly after you turn on your Mac. You will be prompted to select a drive, one of which will be titled something similar ot "macOS Installer" which you will need to select. For more information see the site: OS X: About OS X Recovery. Once started to OS X Recovery or the Installer, select the Terminal application from the menu bar. Enter the following commands to repair your GPT.

diskutil  unmountdisk  /dev/disk0
gpt  remove  -i  2  /dev/disk0
diskutil  unmountdisk  /dev/disk0
gpt  add  -i  2  -b  409640  -s  194016208  -t  hfs  /dev/disk0

  Note: I do not know if this will fix your log in problems.


AppleScript Quicktime Player to play audio file generates error

A pure guess would be that you are passing it a text/string reference rather than a file ref.

try set audioFile to POSIX file "/Path/to/the/audio.mp3"


Sharing between different iTunes accounts

One Computer must activated for a specific iTunes Account. Once the Mac/iPad/iPhone/AppleTV is activated, you have to wait 90 days to switch the account.

For example: If your Dad has activated iTunes Match, he has to wait 90 days till your wife can activate iTunes Match on the same device with her account.

The solution would be to carry around your iPad and stream it from there.

  There is no sharing between iTunes Accounts. So currently you have no
  chance to transfer all music from one account to another.


What's the terminal equivalent of Windows' netsh wlan add filter?

If it's running High Sierra you can turn off auto-join in the system preferences > network > airport panel.

EDIT: question was unclear.  Here's another answer that might be better for the question-asker.

You can create a 'Profile' to install on the system.

Buy Server.app on the App Store.
Learn about Profiles and how they work.
Create a profile with a restirction that prevents the user from accessing the 'network' control panel.
Make sure the WiFi network(s) it's OK to connect to are already set up - the credentials will be stored in the System keychain, so all users will be able to access them.  If the administrator has connected to networks that other users shouldn't - you'll need to 'forget' those networks or move them from the system keychain to a user one.
Install the profile in the users' account, and make sure to disable the WiFi menu while you're at it, so the only way to change networks - other than the command-line if they figure out how - is through the Network control panel, which is now disabled.


Recommended way to remotely control your Mac Mini from your Macbook Pro at home

Is your Mac Mini Intel-based? If so, then it, along with your MacBook Pro, has gigabit ethernet. My suggestion would be to get some cat 5e or cat 6 cables and a gigabit switch. Still, I personally use Apple's "Screen Sharing" remote desktop client and server built into Mac OS X, and it works fine, and has acceptable performance even over wifi (or remotely through Mobile Me).


Are the internal drives on a MacPro3,1 hot swappable?

In 12 years of owning Mac Pros, I've never tried this.

MacRumors, however, says a resounding "No". Don't do it.

Apparently the protocol supports it but the hardware must too. XServes supported it, Pros don't.

Relevant threads…
Can you Insert Drive While Running Mac Pro ??
How to rescan SATA ports without restarting?

I also found on ArsTechnica - Did I fry my Mac Pro?


Can I configure my apple remote with custom keys/functions?

Great, I've found iRedLite! I can create my own mappings (they are called layers in iRedLite) with this. :)

And here some other great tips... (old post, but a good reference!)


If you have 'Displays have separate Spaces' unchecked, then you cannot do what you are looking for.

The 'Space' will automatically be the same Space on both monitors, you can't have one Space on the left & another on the right. You would need to re-check 'Displays have separate Spaces' in order to do that.
Then you could call up any Space on any monitor.

Because I don't use it that way myself (& refuse to mess up my careful setup yet again to test it ;) you'd have to test whether a given Space on the left has the same window contents as when you call that Space on the right. My guess is that they would have different contents, as it's possible to call the same Space on each, & for that to then be a mirror wouldn't make much sense.

So, I'm pretty certain that by either method, you cannot achieve what you need - which I am assuming is effectively to swap the contents of one screen for the contents of the other.


If I store my iTunes library in iCloud, can I listen without wifi on my iPhone?

You can tell iOS to store a playlist, an album, an artist or a specific title offline. It will then download the tracks directly to your device and allow you listening to them without any internet connection.

This works with Apple Music as well as iTunes Match.


If You have Mavericks installed it's not a problem at all to quickly switch between the primary/secondary screen, because the menubar is present on both screens.

To move the Dock You only need to move your mouse cursor to the bottom of the second screen and then move the mouse down again.

EDIT:
On previous OSs you can also change the primary screen in Preferences -> Displays -> Arrangements and move the Menubar (white stripe) to secondary screen. Here you can also change the position of secondary monitor.


AppleScript – How can I _get_ UI elements' names, attributes, properties, classes programmatically without "guessing" via AccessibilityInspector?

This is a "study" –an attempt– to find pragmatic ways to identify and "use" AS's UI elements:

Code below works in principle but must be adapted to individ. case (e.g.: find second image).
I am not an IT professional so I apologize for a distinct lack of "on error" code – Sorry!
… nor is this meant to be a "Comprehensive Guide" on AppleScript, rather a "Travel Journal".

(BTW: AirBook, i7-3740QM, 8GB. Repeat-loops on "entire contents" may take 70+ sec's.
System: MacOS X High Sierra 10.13.6, Applescript 2.7. Commands may vary with versions.)

I started my search here at Ask Different, my below "results" mostly apply to thread:
How to know the name of UI elements using Accessibility inspector (or any other tool)

  1) How many˜˜ UI elements are there in a "Ask Different" window? …

"Frame":    tell application "System Events" to tell process "Safari"
                set frontmost to true
                set i to 0
Start:          set listItems to (entire contents of window 1 as list)
Next:           repeat with thisItem in listItems
                    set i to i + 1
                end repeat
            end tell
"Result" in
ScriptEditor:   951                -- display dialog ("UIElems:" & i)
               ¯¯¯¯¯

  How many˜˜ elements are there in which different classes? …

Classes:    if (class of item i of listItems is static text) then
                set classCount to classCount +1
            end if
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Results" in ScriptEditor:
static text (376), group˜˜ (337), UI element (166), button (51),
radio button (12), menu button (6), image (2)
(1 inst. each:) toolbar, scroll area, scroll bar, text area, text field,
tab, checkbox, splitter group, splitter

(˜˜ The "static text" you are just now reading is at the end of this "upper" hierarchy:
Group> WebArea> ScrollArea> Group> Group> TabGroup> SplitterGroup> Window
Several levels contain ≈400 real elements: every paragraph & bullet point is a StaticText !)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈

  2) How to identify e.g. those 2 images within 951 UI elements & what to do:

  (From here on only differing code-parts, e.g. "Next" are posted; _/¯ = line break.)

Next:       set imgNums to {}
            repeat with thisItem in listItems
                set i to i + 1
Then:           if (class of item i of listItems is image) then
                    set imgNums to imgNums & i
            end repeat
            return imgNums    _/¯    end tell
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" in
ScriptEditor:   {111, 255}     (≈ 70 sec.! Searching 951 items is tedious…)
                ¯¯¯¯¯¯¯¯¯¯

  … or just "context" the first …      (≈ 7 sec.!)

Next:           if (class of item i of listItems is image) then exit repeat
            end repeat
Then:       tell thisItem to perform action "AXShowMenu"    _/¯    end tell

≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈

  3) How to get at AppleScript's "verbal description" of a UI element?

Next:       repeat with thisItem in listItems    _/¯    set i to i + 1
Then:           if (class of item i of listItems is image) then
                    return (item i of listItems as list)
                    exit repeat
                end if    _/¯    end repeat    _/¯    end tell
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" for image 1 in ScriptEditor:
image 1 of group 15 of group 6 of UI element 1 of scroll area 1 ¬
of group 1 of group 1 of tab group 1 of splitter group 1 of window ¬
"applescript - How to know the name of UI elements using Accessibility ¬
inspector (or any other tool) - Ask Different" of application process ¬
"Safari" of application "System Events"
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
[Last three lines may be shortened to "window 1" – it's still in front …]

– which is this image …  … of the above mentioned thread.
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈

  4) Which attributes are possible for an element, which are factual properties?

Then:           if (class of item i of listItems is image) then ¬
                return (name of attributes of thisItem as list)
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" for "attributes" in ScriptEditor:
"AXFocused", "AXAccessKey", "AXTitle", "AXElementBusy", "AXPosition", ¬
"AXLinkedUIElements", "AXSelected", "AXLanguage", "AXStartTextMarker", ¬
"AXEnabled", "AXEditableAncestor", "AXHighestEditableAncestor", ¬
"AXVisited", "AXDOMIdentifier", "AXHelp", "AXURL", "AXChildren", "AXRole", ¬
"AXParent", "AXSelectedTextMarkerRange", "AXTopLevelUIElement", ¬
"AXDOMClassList", "AXSubrole", "AXDescription", "AXFocusableAncestor", ¬
"AXValue", "AXBlockQuoteLevel", "AXRoleDescription", "AXSize", "AXWindow", ¬
"AXEndTextMarker", "AXFrame"

  Which are the factual properties of "image 1"?

Next:           if (class of item i of listItems is image) then ¬
                return (properties of thisItem as list)
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" for "properties" in ScriptEditor:
missing value, m.v, {382, 790}, image, "enter image description here", ¬
"Bild", false, "", {241, 118}, "", {}, true, m.v., "AXImage", "", m.v., ¬
false, m.v., "enter image description here"

  Obviously factual properties are not corresponding directly to attributes (19 to 32).

  But some attributes actually can return values if asked directly:

Then:       end repeat
            return value of attribute "AXFrame" of thisItem  _/¯  end tell
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" for "AXFrame" in ScriptEditor:   {382, 790, 623, 908}

  Which property is assigned to which attribute? (For exact "AX…" name, see appendix!)
  ... easy solution, found on Apple's developer pages:

Next:       if (class of item i of listItems is image) then
                tell item i of listItems to properties
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" for "Bild" in ScriptEditor:
minimum value:missing value, orientation:m. v., position:{382, 790}, ¬
class:image, accessibility description:"enter image description here", ¬
role description:"Bild", focused:false, title:"", size:{241, 118}, ¬
help:"", entire contents:{}, enabled:true, maximum value:m. v., ¬
role:"AXImage", value:"", subrole:m. v., selected:false, name:m. v., ¬
description:"enter image description here"

Well, apparently Apple's own simple command "properties" also returns terms that are actually higher level, like "class:image" and "entire contents:{}".
If you are interested in learning which properties are assigned to which actual attributes try the "appendix solution" (e.g.> "AXFrame:{382, 790, 623, 908}").
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈

  Which "actions" belong to an element (AXPress, AXShowMenu…) ?

  I DuckDuckGo[ogle]'d (DD'went?) and found a list of "AXActionConstants" on Apple's site:

     "AXShowMenu"      "AXPress"      "AXCancel"      "AXConfirm"

     "AXDecrement"      "AXIncrement"      "AXShowAlternateUI"      "AXShowDefaultUI"

     "AXPick"       Choose a UIElement, like menu item

     "AXRaise"    Cause a window to become as frontmost as possible

     "AXZoomWindow"     Zoom a window to "desktop dimensions" but NOT to "fullscreen".

       NEW! … found action "AXZoomWindow" through UIElementInspector°° © Apple Inc. 2010

.

  How are menu items addressed best?

  (I will soon add my view/findings on these remaining issues.)

≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈

  How "different" are classes –and UI elements– in various apps?

"TextEdit" is an example for minimalistic "functions" of an application window. (Be aware that
its tools windows (Fonts etc.) have UI elements of their own, many more than the main app!)
Its top "bar" consists of 3 coloured buttons, an image representing the document, its title as static text and a tiny down-arrow, a menu button.
Apart from these there are (potentially) 2 scroll areas (right &
bottom) with scroll bars, also value indicators (their size), and
last not least its "contents", a text area.

Classes of window 1 of TextEdit / Finder / iTunes:
set classNum to classNum & (class of item i of listItems)
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
"Result" for "TextEdit" (16):
button (7), scroll bar (2), scroll area, text area, value indicator,
menu button, image, static text
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
"Result" for "Finder" window in list view with left area with
"devices" etc. , 11 files (208):
UI element (49), static text (49), image (27), row (26), button (19),
text field (12), group (6), radio button (4), column (4), ...
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
"Result" for "iTunes" (26):
button (12), radio button (3), static text (3), pop up button (2),
radio group (2), slider, value indicator, scroll area, text field

"Finder" in list view shows icons & tools (= images), files have names, date etc. (static text), tools are also buttons, file names are also text fields (rename).
"iTunes" (with no TV items "installed") has got 2 pop up buttons (1: music, movies, TV / 2: next, history, song text) plus several sorts of navigation buttons.
All of these applications, though, also have hundreds of menu items: menus, sub-menus, sub-sub-…menus (TextEdit ≈ 350, Finder ≈ 430).

≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
    A P P E N D I X
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈

  Older code to get at "assignations" – but returns exact name! ... THAT took some testing:*

Next:       if (class of item i of listItems is image) then
                repeat with name in (attributes of thisItem as list)
                    try
                        if value of name is "Bild" then exit repeat
                    end try
                end repeat    _/¯    exit repeat    _/¯    end if
            try
                i & k & item k of (name of attributes of thisItem as list)
            end try
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
"Result" for "Bild" in ScriptEditor:    {111, 28, "AXRoleDescription"}
 (Incl.: # of UI element, # of attribute, name of attribute)
¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
 ({382, 790} => AXPosition, {241, 118} => AXSize, "AXImage" => AXRole …)

  The try-block is necessary since some value-less attributes otherwise cause errors.
  This search on sample page took ≈ 9s. (#111) on THIS page ≈ 135s. (#767) !
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈


How do I open an App Store link without starting the App Store app?

Found the solution. You must mark the "Always allow apps.apple.com to open links of this type in the associated app" checkbox and click "Cancel" button. Then it will stop appearing.


Can .plist files be restored to the Preferences directory?

Files in the Preferences directory can be safely deleted.

Apps automatically create these files if they don't exist already and fill them with default values.
This is how apps can be installed simply by dragging the .app into the applications folder.

Next time that file is required, it will be created and populated with default values.

I just tested on my system: I deleted /Library/Preferences/com.apple.windowserver.plist. I logged out and back in, and that didn't restore the file. But, I tried rearranging my monitors in System Preferences-> Displays-> Arrangement, and the file was neatly recreated.

So, short answer: That file will be automatically recreated as soon as it's required. Don't sweat it.
The same applies to just about every, if not every, .plist preferences file.


Hardware virtualization is not supported on MacBookPro 2010

Windows phone 8 requires SLAT to run with the emulator provided by hyper-v, so yes, we with "old" hardware are out. :(


What GPU functions or capabilities are behind AirPlay mirroring?

There's some misinformation going on at the moment on what exactly is needed for Macs to support AirPlay Mirroring. The cultofmac article correctly states direct access to the GPU for H264 encoding but this is supported on Macs older than the one's listed to support AirPlay Mirroring. So this isn't the main requirement.

The really important feature to make AirPlay Mirroring work is Intel's QuickSync baked into Sandy Bridge CPUs. And only the newer devices listed by Apple have that. So the main requirement for AirPlay Mirroring is a specific CPU feature, not GPU.


Why do I get "Warning: You are using macOS 10.9" from Homebrew when I have 10.9.5?

OS X 10.9 (Mavericks) is almost 5 years old, and has been unsupported since September 2016.

You'll likely want to upgrade to macOS Mojave.


No, the iPhone does not self-condition. Apple has a guide for conditioning laptop batteries, yet I can't find a version for iOS devices (still looking).

There is a general tips page on maintaining great battery life, as well as general terms about battery replacement.

Personally: This sounds like a bad battery. It sounds like it just plainly is not holding a charge after a certain discharge point. Remember that iOS multitasking is not true multitasking. Barring streaming audio (actually persistent audio in general), there is (almost) NOTHING that your phone can constantly do for more than 20 minutes at a time.

I've streamed audio for hours (hours being... maybe 5?) during the day at ~40% and it did get under 20% by the time I was done, this was both on an iPad, and roughly equivalent on an iPhone 4. Connected WiFi, 3G (on the iPhone) enabled but not being the active radio in use, of course.


Using MacPorts bash, tab completion no longer lists hidden / dot files

There is an issue filed for this in MacPorts Trac. The real issue is that auto completion does not work for any paths starting with ~ (tilde) — try vim .<tab><tab>.


Two page continuous view in Lion Preview?

This is one of those things that really makes me wonder "If it's not broken why fix it?".

Other than switching to another application that might give you back the lost functionality, I only have one suggestion at the moment. This is how I've been able to use Preview (5.5) and still get two page (side by side) continuous scrolling:

  Open up your pdf, document, etc. in Preview.app
  File > Print or ⌘P
  In the Print Dialog Box click  Preview > Change to Layout [ 2 pages ]
  Lastly, click PDF > Open PDF in Preview.

You should now see your document layout as two pages and you can scroll continuously. I realize it's far from ideal, although it is a way to still use Preview exclusively, yet still have similar functionality as before. I hope they will fix it; I shouldn't have to be thinking of ways like this to use it like it could have been. ;-)


How can I get OSX to appear as a wifi router without sharing internet

What you are trying to do is indeed possible, but it requieres a lot of work to get it working.

I thought about that for a while and it is a great Idea to use a mac as Wifi-Router, especially in Virtual-Test-Environments. But Mac OS X does not work like that.
The reason for that is, that Mac OS X only starts the service, if you really have Internet connection. Why would you share your internet, if there is no internet. Simple as that. Simple as a Mac ;D

But you can work around this by setting up virtual Network Interfaces, that would simulate internet.
There is a nice discussion about Virtual network interfaces on Stack Overflow, meantoning your problem in a comment :

https://stackoverflow.com/questions/87442/virtual-network-interface-in-mac-os-x

(especially the long post by "bmasterswizzle" with the comment : "I've tested it and yes, it does. I was able to share my OpenVPN tun0 device (from my Ethernet connection) over my WiFi using this method. ")

You get this problem often with Virtual Machines, because there OS X also shares ethernet via the NAT-Bridge, but in fact does not need to have Internet Access to make it work.

It is a bit of an efford and I think you could easily go around it, if you have a script that fakes the Internet Traffic on En0 so you can share the En0 to the Wifi-Adapter. But I have no clue how to talk to the en0 interface via command line and faking traffic.

And as long as there is no traffic, your Mac won't share the Connection.


Process "warmd" keep busy mac after upgrading to macOS 10.14.4

Have a read of the following;

Provisioning OSX and disabling unnecessary services

It has instructions on how to disable warmd. I can not confirm they are still relevant at this stage as I myself am installing the latest OSX as we speak. I will provide more details after that install finishes.

TL;DR

Kill warmd: sudo launchctl kill -9 system/com.apple.warmd

Disable warmd: sudo launchctl disable system/com.apple.warmd


Can I manually sync/refresh data from iCloud

I had a similar problem when saving/copying from one device and trying to access those files from a different device wouldn't show up/sync on iCloud when trying to access the file from other devices.
What finally worked for me is, whatever app/program/filemanager I used to save the file to iCloud I had to close the app so the computer doesn't think the file is still open. Since I have been doing that, I have no problem accessing files from my iPad/iMac/PC.


You'll have to upgrade to the release version, not much else you can do about it.


How Do You Change The Default Genre Artwork in iTunes?

Doing it manually:
You can also place your genre image in /Applications/iTunes.app/Contents/Resources (shift+cmd+G and paste this path to open it directly) and add your genre in genres.plist file. Use TextEdit or your favourite Editor of that kind (I use TextWrangler).
Copy and paste an existing list object like this one:

<dict>
    <key>matchString</key><string>blues</string>
    <key>resourceFile</key><string>genre-blues.jpg</string>
</dict>

Then modify it so it contains your new genre and image like this one:

<dict>
    <key>matchString</key><string>Psychedelic Rock</string>
    <key>resourceFile</key><string>genre-psychedelic.jpg</string>
</dict>

It's best if you copy the existing .plist file to your desktop, edit it and then put the new version back into the source folder and type in your password since it won't let you save your file directly into the folder (no rights in that folder for applications, only Finder via admin rights)
I hope this helps. (I know about the detailed version over at O'Reilly, this is basically the same in short)


How do I change the default local hard drive free space when using iCloud on OSX?

It appears at this time, that if the concept of "default free local hard drive space" exists, it is not accessible through any known interface. Not the user interface or terminal.


How to disable major release upgrade in Mojave?

Supplements update are always better to have it and it will come automatically under Software Update if you press Check for update. You can choose whether to install it or not.

However, you will never get Catalina from Software Update if you are running Mojave. Catalina will be available in macOS store later as Apple has done for past OS. Later you download it if you want to install else for the whole year, Apple will never force to update you from running OS to a new OS. It's totally up to you.


Permission needed to change icons of native Apple apps

Turn off your Mac.
Boot it in Recovery Mode by holding down ⌘-R until the Apple logo with a progress bar pops up.
Click "Utilities" in the menu bar, and select Terminal.
Type the command "csrutil status" and press Enter.
If enabled, type "csrutil disable".
Press Enter.
Click the  in the menu bar and select Restart.
Now, the copy and paste method should work.

For more detailed instructions, check out http://hashbangstar.net/blog/changing-icons-in-el-capitan

You can also download a program called Liteicon from
http://www.macupdate.com/app/mac/24764/liteicon

You still have to do steps 1-8 but it makes changing icons super easy! You can also easily change the Finder icon and Trash Can by using the drag and drop method.


Fade to black for eight seconds (iMovie)

In order to increase the duration of the transition, you can use the "Precision Editor". Right-click on the transition, and select "Precision Editor" in the context menu. Done!


Use little green maximize button in conjunction with a monitor

If you go into Mission Control in System Preferences, you'll find a setting called "Displays have separate spaces". If you enable this setting, you'll be able to run apps in full screen mode on one display, without turning the other display black. There are other side effects that you may or may not like, however. For example, each display will get its own menu bar, and you will no longer be able to position windows such that they lie partly on each display.

Alternatively, if you Option-Click the "little green button" rather than just clicking it, it will often (depending on the application) maximise the window on that display without switching it into full screen mode. This will also prevent the other display from going black, and you may or may not find it preferable to the System Preferences method.


Why are my Login Items cleared upon restart?

I can't comprehend the behavior of LoginItems in El Capitan 10.11.3.

But one measure is to delete com.apple.loginitems.plist and then re-populate it from scratch.

Another workaround is to simply lock the file after adding all items which should be started after logging in.


Is there a way to Upgrade terminal sftp client?

Install homebrew a macOS package manager.  https://brew.sh/

HomeBrew is most often mentioned these days. sftp appears to be one of the programs you can download.

other package managers are:
MacPort -- BSD licenses
Fink -- GNU General Public License

I'd figure out what sftp client Ubuntu uses and look around for the macOS version.


At least in the US agreement, Apple only authorizes people to use iTunes content for "personal, noncommercial use." Nothing I find in the agreement licenses the user to share their content with others at the workplace. So yes, there are potential legal issues.


Can I show percentage change instead of price change?

Source:

Launch the Stocks app from your Home screen.
Tap on the values next to each stock. You can switch from percentages to dollar amounts to price difference.

Each tap will allow you to switch what information you see in the main Stocks dashboard. Additional taps will switch between displaying the marketcap, percentage, and price.


MacBook Pro and external monitor compatibility

The Apple 15" MacBook Pro specification about Graphics and Video Support says:

  Dual display and video mirroring: Simultaneously supports full native
  resolution on the built-in display and up to 2560 by 1600 pixels on up
  to two external displays, at millions of colors Thunderbolt digital
  video output

  Native Mini DisplayPort output DVI output using Mini DisplayPort to
  DVI Adapter (sold separately) VGA output using Mini DisplayPort to VGA
  Adapter (sold separately) Dual-link DVI output using Mini DisplayPort
  to Dual-Link DVI Adapter (sold separately)


Can you add 6channel audio files to iTunes? If not, has apple devised a way to down mix them?

I sorted it out!
You can down mix the audio files from 6channel to 2 channel using ffmpeg
(you have to use the terminal, though).
The down mixing process is quick and there are no perceivable distortions in the audio.


You cannot disable Apple Maps. iOS does not provide a method to do this.

The best free MDM tool I know of is Meraki (aside from Profile Manager itself). However, I'm not 100% convinced it will do everything you need. Also Meraki was recently purchased by Cisco and I am a bit concerned about its future. You will also receive sales calls from their staff trying to sell you on additional features.

To accomplish your objectives on the cheap, I recommend looking at AirWatch. We use this in our enterprise to manage several hundred iOS devices and it works quite well. There are other tools that can do this as well. A great full-featured guide to MDM differences is EnterpriseiOS.com.


Seen that you prefer cmd line solution but I would like to suggest you to try Karabiner, I'm using it for ages and it is really powerfull.

Karabiner

  A powerful and stable keyboard customizer for macOS.

https://pqrs.org/osx/karabiner/


Can I own an existing install of Logic Pro X from a used Mac?

The app, Logic Pro X in this case but it could be any Mac App Store app, remains tied to the account that purchased it, regardless of the currently authenticated account in the App Store app. Updating the app would require you to enter the Apple ID that purchased the app, and it is not possible to transfer ownership of an app from one Apple ID to another.

If you wish to keep the app, you can copy it to an external drive. The app is still linked to the old Apple ID, but you can use it either from the external drive or by copying it back after you've done whatever you need to do on the internal disk. You'll still not be able to update the app.


iFixit has a solution to your problem.

  The iPad in my experience is very picky about what cables it will restore with. Error 9 is almost always related to the cable, NOT the dock connector/flex cable. Use the official Apple cable if you still have it, or borrow one from a friend.

tl;dr: It's the cable's fault, plug your iPhone into iTunes and update your software again with a different cable.

This has happened to me before. Trying to update software on an old iPod Touch by connecting it to iTunes with a non-MFi cable, got an error message and a crash. Replacing the cable with a genuine Apple one fixed my issue.

If you're looking for a cheap, MFi-certified cable, try this $6 one from Anker. Or get the official $19 one.


How do I access files that are owned by another user?

Even if you have the same username on a different instance of macOS (it could be the same computer), the OS doesn't see the two as being the same.
What you need to do is take ownership of the files.
Using Finder
You can do this in finder by using "Get Info" when selecting a file or folder.  In the example below, I'm selecting an entire folder to take ownership of.

Press ⌘ CommandI for "Get info"
Unlock the "Sharing and Permissions" pane
Add your name by clicking the plus (+) symbol
Then select  "Make username (Me)" the owner

Apple has an excellent support document detailing these steps.
Using Terminal
It's actually much easier (IMO) to do this via Terminal   Just issue the following command (you'll need to enter your password at the prompt)
$ sudo chown -R <YourUserName> /path/to/file

Where...

-R = recursively; it will take ownership of it and it's sub-folders (if any)
<YourUserName> is your login name.  If you're not sure issue the command whoami at the prompt
/path/to/file is the full path of the file or directory you want to take ownership of


Sounds like you need to do more cleaning.

Do not use metallic objects like needle.

Use toothpick.

Also use a ear-swab (with some alcohol).

Then see if you can get the sprig out in the proper position.

It is probably stuck. That's the piece that holds the plug in place.

You should see it when you look inside with flashlight and magnifier.