Why am I asked to open YouTube videos in VLC?

This is most probably caused by having played around with "Request Desktop Site" in Safari, whereby I somehow end up getting served a mobile page, but with an unsupported video format (likely VP9).


If you're located outside the US, iTunes Match is unavailable for the time being, due to content licensing deals.

When iTunes Match was first announced I believe Apple stated they would be working on bringing it to more countries, but these negotiations always take some time. Hard to give a definite timeframe unless Apple announces something.


Well my Magic Trackpad 2 arrived and yes, when plugged in with USB, it acts exactly as I expected it to. The Trackpad still supports bluetooth, but when connected with USB, that takes precedence.


OS X: Spontaneous Application Appearance

Silverlight is non-malicious, it'a a Microsoft 'plugin' similar to Flash [at consumer-level]. It will have been offered as the user hit a web page needing it & would require admin acceptance before it would install.

MacKeeper is not so much malicious as insidious. It's is an 'all in one fixit' app with dubious marketing strategy.
It often 'features' on any page vaguely relevant to Mac care & maintenance, with the idea that it is the most obvious button to click, instead of the one you meant to.
In that respect it is a 'PUP' [potentially unwanted program] although no-one appears to have actually credited it with being intentionally malign - opinions on it are loud & varied.

Neither of these could have just sprung into the machine of their own accord, they would need user complicity, even if it was unintentional/misleading.

You'd have to let us know what the arbitrary media player is, to comment further.


If you install Little Snitch you can monitor which application using internet. Every time any application wants to use internet you must accept or deny it, but it doesn't have an ability to measure bandwidth usage of each application.

You can see its demo here.


Best file system for external hard drive, to be used on both Linux and macOS?

Depending on the complexity of the file structure you want to store and other properties you might like - the easiest way to go is to use exFAT.
exFAT is fully, natively supported both read and write on macOS, and has been so since Snow Leopard 10.6.5 (from 2010).
On Linux the native support came with version 5.4 (from 2019). Your specific distribution might not yet be running 5.4 - in that case a FUSE implementation is available instead.
Note that exFAT is not well suited if you want to transfer file structures where you want to retain a lot of file permissions/ACLs, or if you have the need for a journaled file system (a file system that is more resilient to power failures and similar crashes).
In that case you might want to look into using APFS instead. APFS is the native file system used by default on modern macOS versions. It is however not supported directly by Linux.
Instead you can buy third-party support from Paragon Software.


The 'Guest' user does not have a password.

The command you are using: dscacheutil -q user -a name guest always outputs 8 stars (********) no matter what password the user actually has set. As OS X only stores the hashed password, there is no easy way (besides using a password cracker) to recover passwords.

Edit: Hashed, not encrypted.


Where is macOS 10.14 Mojave com.apple.Safari.plist ResponsiveDesignCustomPresetConfigurations?

The file is in /Users/$USER/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist

(replace $USER with your username).

However to edit it you have to disable SIP. Reboot and hold Ctrl+R, open Terminal and type csrutil disable && reboot.

Login and edit the file (either manually or using defaults command).
Reboot again holding Ctrl+R and type to the terminal csrutil enable && reboot to enable SIP.


iMessage workflow for incoming texts from someone?

You could activate the Emergency Bypass on you iPhone.
Unfortunately there is no possibility on the mac yet.
But it would be usable on the iPhone.

Launch Contacts from your Home screen and open the contact you want Emergency Bypass on.
Tap Edit.
Tap Ringtone.
Tap the Emergency Bypass switch. The switch should be green when it's enabled.
Tap
Done.
Tap Done again.


Sounds like you've been barking up the wrong tree for a little while. A screen buffer is a generic programming concept which does not describe the situation in macos well. Hardware overlay will likely only affect what appears on the monitor, not what appears in a screenshot. And Netflix's method is no more interesting that DVD Player's method.

Fortunately, this question has been asked and answered on the sister Stack Overflow site. Basically there is a private API that allows this, but being private you're best to talk directly to Apple about it via a DTS request.


How do I tell Finder to always show my Library folder on Mavericks?

Open your desired user Home folder in Finder (ShiftCommand + H) and select View > Show View Options. There should be a checkbox for toggling the Library folder.


Use Mac OS in virtual machine on Windows?

There are various (hacky) ways to do this

eg http://www.lifehacker.com.au/2010/07/how-to-run-mac-os-x-in-virtualbox-on-windows/

But I would urge you to install VirtualBox in Mac OS X and then install Windows on that.  You can run Windows full screen.  It's going to be very quick and allow you the best of both worlds.

Best of all VirtualBox is free and available here http://www.virtualbox.org/


Show hidden files on Mac OS X Mojave using Terminal

Session

This keystroke toggles between show & hide the hidden files:

 Cmd ⌘   Shift ⇧   .  (that’s a FULL STOP, period character)

Press again to toggle back and forth.

When you reboot your Mac, the hidden files will be hidden. Press the keystroke again to show.

Persistent

In Terminal.app, paste:

defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder

This changes the default setting to show hidden files. And this causes the Finder to restart, so you can see the effect. This new setting persists even after rebooting your Mac.

To revert to hiding again the hidden files, change that true to a false and run again in Terminal.


How to ignore warning for program that connects to VPN

The dialog box tells you how to solve the problem.

  This setting can be changed in the firewall pane of the Security & Privacy Settings

There are excellent guides provided by Apple that can walk you through the process

Change Firewall preferences on Mac
Use a firewall to prevent unwanted connections on Mac

But basically, what you're going to do is add your application, cm_api to your firewall and allow it incoming and outgoing connections.  Remember, you must be an admin to make this change.


Error during WebSocket handshake: Status line contains embedded null (using livereload, node-inspector, and karma)

Lame, looks like it was my accountability software x3watch.


Here's my solution to my question:

First, I found that the contents of the IMAP mailbox I'm interested in are indeed stored on the Mac. Each email is an .emix file, and they are many many layers deep within ~/Library/Mail.
Second, I use ChronoSync to nightly create a bootable backup of the Mac's SSD boot drive. To handle this new email backup job, I created a Synch task in ChronoSync that nightly backs up this group of emails from within ~/Library/Mail to a new folder located on the drive which contains ChronoSync's bootable backup. Because the Mac runs SpamSieve for the IMAP email account, the Mac is always on and available to run this job in the middle of the night.

Of course, I see now that having discovered where the emails were backed up already, I could as easily (save for the annoyance of navigation) find those .emix files on the Time Machine backup, or on ChronoSync's bootable backup. So it was a lot of worry for little or no gain.


"Other storage" taking up most of hard drive

Other storage could refer to anything that OS X doesn't recognize as one of the storage categories (music, videos...) In order to find the source of the files, I would recommend checking the size of folders to determine where large files are. In order to see the size of a folder, right click it and click "get info". You should be able to use this to locate the source of the problem.


Why do I get a "This photo is not editable" message in iOS 8?

If you mistakenly try to edit a photo in your Photo Stream album, you will get this message.  Edit the same photo in your Camera Roll album and it should be editable with no problems,


Can I configure an SSD and HDD to be one logic volume in Lion?

You certainly can make two or more physical drives into one volume that the OS sees. It's referred to as a concatenated disk set - and Disk Utility will erase both drives in preparation for a RAID - you can choose an actual RAID stripe or simple concatenation.

Since Macs won't boot from a RAID volume without some additional hardware or extra software ( to handle the added complexity that RAID entails ), you won't be able to use this for your boot volume.

Even if you could, I wouldn't advise doing this since the OS decides where to store files inside any volume. If your goal is to control what files go to the SSD and which to the HDD - this doesn't get you any closer to that goal.

The good news is there is an excellent "Plan B" for you

The best writing I have seen recently on how to both think about using a SSD with a HDD that also covers how exactly to implement a split was written recently by Matt Legend Gemmell - He really knows his stuff in general and his article titled Using OS X with an SSD plus HDD setup is great reading.

Matt advocates

installing the OS and most user data on the SSD
place user data that won't fit on the SSD instead on the HDD
implementing this by moving entire top level folders from the SSD home folder and placing them on the HDD.
using soft (sym) links to connect the two locations.

I hope that gives you a better solution to what I see as the major thrust to your question. You might also look at using Aliases (OS X Finder's enhanced version of a sym link that points at unique characteristics of the file as well as the path in case either gets moved and the system can figure out (re-link) to the correct/new location of the file.)


How to get Mac OS 10.8 to see Canon MF4370dn Printer drivers

Have you installed the latest Mountain Lion ready drivers for the unit?

When you are adding the printer, what options are you using to choose the drivers?

If you choose "Auto Select" from the "Use" drop down that may be your issue.

If you choose "Select Printer Software" does the Canon software show?


How to create a shortcut on the desktop to a selected folder

Start automator
Make new service
Set it to receive files and folders in finder
add the 'new aliases' command
it's set to desktop by default
save the service as 'send alias to desktop' and voila!

Now you have an extra option under the right click menu, and a service in the finder menu!


A USB3 connected to a USB2 port will work as fast as a normal USB2.
With USB2 you'll get ~40Mo/s, with Thunderbolt you'll top the write speed of your HardDrive. So if you want speed, go Thunderbolt !


I do know this person but did not want to contact. Apple Support could not intervene either as it is prohibited for them to change user's data.
Albeit, I have contacted that person and we have solved that issue.


How to copy SMS messages from a Nokia phone (or Nokia PC Suite backup) to iPhone?

Please check iNoki at: http://www.nokisoft.com/inoki. It's an iPhone app which can extract and import data in .NBU file created by Nokia PC Suite. All phonebook, sms, calendar, photo, audio, videos can be imported.

AppStore link: http://itunes.apple.com/us/app/inoki/id438619967?ls=1&mt=8

SMS is viewable in iNoki instead of native SMS app - for apple has no official API to insert into native SMS db.


How can I stop autocorrect in a granular way?

When you type something several times and ignore the suggestion, iOS assumes you mean to type it that way and adds the word to the Keyboard Dictionary. You can reset the dictionary by going to Settings > General > Reset and tapping "Reset Keyboard Dictionary". You cannot reset the dictionary in a granular way.

A possible workaround, however, if you don't want to reset the whole dictionary, is to add the misspelling as a shortcut and set the replacement phrase as the word spelled correctly. To do this go to Settings > General > Keyboard.


Is it good to keep my MacBook Pro on charge?

These days, keeping your laptop plugged in as much as you like isn't going to make a significant difference to the battery life. The Li-ion batteries in modern MacBooks don't need calibrating, they don't suffer from the "memory" problems that NiCd batteries did, and when they hit full charge, they just allow the battery to drain by a couple of percent before trickle charging back up to 100% again.

Apple's most recent battery health tips can be found here: https://www.apple.com/batteries/maximizing-performance/


Choppy Audio with Plantronics USB headset after software update

This was a problem with MacOS Sierra 10.12.4. It was fixed in the latest update to MacOS Sierra 10.12.5, which was released today (May 15, 2017). Update to the latest release of MacOS!
From the release notes:

This update:

Fixes an issue where audio may stutter when played through USB headphones.

Enhances compatibility of the Mac App Store with future software updates.

Adds support for media-free installation of Windows 10 Creators Update using Boot Camp.

...


Problems with the command delete function in applescript

keystroke "backspace" using command down

[might be delete rather than backspace - auto-deletes are not something I want to be playing with on my first coffee of the day] ;)


'07 MacBook Pro -- OS X will not accept disk 2 during a fresh reinstallation

Try the following:

Mac OS X 10.4: Repeatedly asked to insert Install DVD Disc 2 during installation

But why start on such an early OS?


Do "Click to Tweet" and "Click to Post" still exist?

You have to add the widget. Open Notification Center, choose Edit, then drag the Social widget.

(The Twitter widget in the screenshot is from the Twitter app and shows tweets. That's not what you want. You don't need Twitter installed for this — Social is a system widget.)

If Twitter/Facebook doesn't show in the Social widget, make sure the Share Menu option is enabled for the account in System Preferences → Internet Accounts.


You need to go into Google Chrome Settings, under People to remove the accounts.

Select Manage other People

Select the person you want to Delete by hovering over the upper right corner of the avatar to show the three vertical dots.

Select Remove this person


Go to System Preferences > Security & Privacy and disable the "Require password x seconds after sleep..." by unticking the checkbox:


How to hide favourites bar in mac os using bash script?

You need to add a -v2 for Yosemite.  See below:

defaults write com.apple.Safari ShowFavoritesBar-v2 -bool false

Restart Safari.


Time Capsule first backup is slow (like a week to complete)

After about six hours of waiting for Godot, I tried this experiment: put the Mac to sleep (power not connected) and see if (still sloooow) backup proceeds while sleeping. It did not. (I let it sleep for a half hour, so the presence or absence of progress would be more apparent.) But... on re-awakening, the backup was more than 10x faster.

Also, I found that when power is connected, backup does continue while sleeping. (PowerNap feature, checkbox in System Preferences > Energy Saver panel.) So while both laptop and I were asleep, 90% of the backup completed.

Solution? I don't know how general it is, and this is post-hoc reasoning, but my suggestion is: try putting your Mac to sleep for a while, with power disconnected. On awakening, it might just be 10x faster.


How can I restore the legacy metadata editor in iTunes 12?

Press and hold the  ⌥  (option) key while clicking on Get Info for a given item.


Edit: I just noticed you want Time Machine to back things in Chrome up like Bookmarks and what not still. I've modified the answer so the exclusion path is more specific than what I use. Honestly though: just sync your Chrome settings to your Google Account and then you don't need Time Machine to do this for you and you can just blanket exclude everything under ~/Library/Application Support/Google/Chrome.

Just exclude the offending directories under ~/Library/Application Support/Google/Chrome from the Time Machine backups.

In more recent versions of Chrome/OS X, some of these folders may be located in:

/Users/$USER/Library/Caches/Google/

To do this...

Click on the Time Machine icon in your task bar and select Open Time Machine Preferences... or go to System Preferences -> Time Machine.

In the preferences pane click the Options... button.

Click the + button to the bottom right of the Exclude these items from backups: list.

In the Finder window that pops up navigate to ~/Library/Application Support/Google/Chrome/Default and then select the following for exclusion:

Application Cache
Archived History
Archived History-journal
databases
Extensions
History (wish there was a way to put a wildcard on this)
Local Storage
Sync Data

You might have repeat the exclude step for each of those. I'm not sure you can select multiple files for exclusion in the Finder window that pops up. Once you've selected something click the Exclude button. That path to the directory or file will now show up in the exclusions list and won't be included in Time Machine backups.

I have mine set up as follows:

If you have more that one user account on your system I suspect you'll have to repeat these steps for each user. I believe Time Machine exclusions are stored on a per-user basis. If there's a way to force Time Machine settings on to all users on a machine, I don't know it.

Edit: here is what Chrome will sync automatically for you if you enable it. Wrench Icon -> Preferences... -> Personal Stuff -> Customize


The iPad seems to limit its history to a week, which is presumably an acknowledgement of the limited RAM and storage in comparison to a traditional computer.

Adding bookmarks for desired/frequent sites is the only way to make sure they come up easily.  There is no practical limit to the number of bookmarks, and you could easily shove all of those bookmarks in a folder you never visit directly.


Does this Mini DisplayPort to HDMI connector output audio?

The Original Apple-Adapter supports Audio for MacBook Pro and iMac Mid2010

From the Apple-Website:

  Note: *Audio support is only available for MacBook Pro 13/15/17-in.
  mid-2010 release; iMac 21.5/27-in. early-2010 release

Apple-Store Link

I've bought a cheap one from Belkin for my MacBook Air - but there is no Audio-Output!


It's a feature of iOS 10. You'll have to delete the emoji keyboard to get rid of that, by going to Settings > General > Keyboards.

Since iOS 10 introduced the predictive text feature, you can type in English and have words corrected in other languages, provided that the keyboard is enabled.


Will bootable usb created by bootcamp on mac work with PC?

After reading through several stackexchange answers, I found steps that worked on this site.

He walks you through how to format the USB stick so that Windows will recognize it, and how to use Unetbootin to copy the ISO image.

I'll reproduce the steps here for convenience:

Format the disk in Disk Utility, with the correct MBR

Open Disk Utilty
Select the USB device
Click Partition
Select 1 partition in the partition layout
Select “Master Boot Record” in the options
Select MS-DOS (FAT) in the format type.
Click Apply, then Partition
Close Disk Utility

This will wipe the USB disk and set it up with the correct boot record

Install the MBR binary from the SysLinux project

Use the command line diskutil to find the device name for your USB drive.

diskutil list

Unmount the USB drive with the command line. NB: Be sure to swap the device reference (in my case it is /dev/SOMEdisk2) with the correct one for your usb key that you identified in the previous step – this will change for each machine.

diskutil unmountDisk /dev/SOMEdisk2

Mark the partition active, then unmount it again

sudo fdisk -e /dev/SOMEdisk2
print
f 1
write
print
exit
diskutil unmountDisk /dev/SOMEdisk2

Download Syslinux and extract the mbr.bin file
Install the MBR

sudo dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/SOMEdisk2

NB: see my full instructions if you need further help with steps 4 & 5.

Use UnetBootin to install your OS install files

Download and install UnetBootin if you haven’t already
Load the application, choose your preferred distribution, and then click OK
When it’s finished, eject the USB key and use it


How to change the default application for WEBLOC files?

I have found a solution:

Make sure that the Finder is set to show all filename extensions (Finder Preferences → Advanced).
Edit the file name by deleting the “.webloc” filename extension.
Show Info: Lo and behold – the application drop down list is no longer greyed out.

Select the browser of your choice and press the Change All… button.
The default application for opening any WEBLOC file has been changed, whether or not it has the explicit “.webloc” filename extension.


Xcode keyboard shortcut for scrolling down both cursor and line

Xcode

Assign some key combinations to the Scroll Line Up and Scroll Line Down actions:

Then install KeyRemap4MacBook and save a file like this as ~/Library/Application Support/KeyRemap4MacBook/private.xml:

<?xml version="1.0"?>
<root>
  <appdef>
    <appname>XCODE</appname>
    <equal>com.apple.dt.Xcode</equal>
  </appdef>
  <item>
    <name>xcodearrows</name>
    <identifier>xcodearrows</identifier>
    <only>XCODE</only>
    <autogen>__KeyToKey__ KeyCode::CURSOR_UP, VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_UP, KeyCode::PAGEUP, ModifierFlag::CONTROL_L | ModifierFlag::OPTION_L</autogen>
    <autogen>__KeyToKey__ KeyCode::CURSOR_DOWN, VK_OPTION | ModifierFlag::NONE, KeyCode::CURSOR_DOWN, KeyCode::PAGEDOWN, ModifierFlag::CONTROL_L | ModifierFlag::OPTION_L</autogen>
  </item>
</root>

Then open the KeyRemap4MacBook application, press the ReloadXML button, and enable the setting.

Other applications

Create ~/Library/KeyBindings/ and save a property list like this like this as ~/Library/KeyBindings/DefaultKeyBinding.dict:

{
  "~\UF700" = (moveUp:, scrollLineUp:); // option-up
  "~\UF701" = (moveDown:, scrollLineDown:); // option-down
}

Then quit and reopen applications to apply the changes.

DefaultKeyBinding.dict stopped working in Xcode 4. See https://stackoverflow.com/questions/5626788/custom-key-bindings-xcode-4.

This would make option-up and option-down scroll eight lines and center the view around the caret:

{
  "~\UF700" = (moveUp:, moveUp:, moveUp:, moveUp:, moveUp:, moveUp:, moveUp, moveUp, centerSelectionInVisibleArea:);
  "~\UF701" = (moveDown:, moveDown:, moveDown:, moveDown:, moveDown:, moveDown:, moveDown, moveDown, centerSelectionInVisibleArea:);
  "~$\UF700" = (moveUpAndModifySelection:, moveUpAndModifySelection:, moveUpAndModifySelection:, moveUpAndModifySelection:, moveUpAndModifySelection:, moveUpAndModifySelection:, moveUpAndModifySelection, moveUpAndModifySelection);
  "~$\UF701" = (moveDownAndModifySelection:, moveDownAndModifySelection:, moveDownAndModifySelection:, moveDownAndModifySelection:, moveDownAndModifySelection:, moveDownAndModifySelection:, moveDownAndModifySelection, moveDownAndModifySelection);
}


Is it possible to make a hotkey for switching audio output?

Since you only have the two output devices, the following code will toggle between the two.

tell application "System Preferences" to ¬
    reveal anchor "output" of pane id "com.apple.preference.sound"

tell application "System Events"
    tell application process "System Preferences"
        repeat until exists tab group 1 of window "Sound"
            delay 0.1
        end repeat
        tell tab group 1 of window "Sound"
            if (selected of row 2 of table 1 of scroll area 1) then
                set selected of row 1 of table 1 of scroll area 1 to true
            else
                set selected of row 2 of table 1 of scroll area 1 to true
            end if
        end tell
    end tell
end tell

quit application "System Preferences"

I test this as an Automator Service using a Run AppleScript action and then assigned it a hot-key combo and it works on my system having only two sound outputs.  The tricky part is going to be finding a hot-key combo that isn't assigned to any or all apps already.

As an example commandshifts is Save As... in Safari, but if the Desktop has focus when pressed it works to trigger the Service.

Open Automator.
File > New > Service, with setting as shown in the image.
Add a Run AppleScript action an replace the default code with the code Above.
Save the Service as, e.g.: Toggle Sound Device
Assign it a keyboard shortcut in: System Preferences > Keyboard >  Shortcuts > Services


I tested both options on my own: on Mojave installing on a new disk with  APFS (Encrypted) results in a fully working system with FileVault already enabled.


Does Sparrow for iOS seamlessly integrate with Gmail's Send As feature?

Yes. Sparrow allows you to add "aliases" to each account so you can, from one account, send mail as a different user that's been registered as a send-as user in your Gmail account.

You click on the Preferences icon in the account view screen. Then click on the specific account. And then click on the 'Aliases' menu option to add new alises.

From one of my accounts I send mail as either me or my business account (which happens to be set at my business ISP to forward in to my Gmail account):

From the new mail composition window you click on the top bar to change who you're sending the email as and then you pick the account from the list Sparrow shows you:

It works the same way in Sparrow on OS X for what it's worth:


AppleScript Error using Adobe Photoshop CC to batch convert CMYK profiles

The problem appears to be the tiff options.

It's missing in the front of the object class:TIFF save options,

That line as a whole (as it should be):

save current document in file newFilePath as TIFF with options {class:TIFF save options, embed color profile:true, save layers:true, save spot colors:true} appending lowercase extension

How I figured it out:

Step 1:

First thing I did was open a new file in the Script editor and ran:

tell application "Adobe Photoshop CC 2017"

    return current document

end tell

Sure enough returns a document name as long as a document is open in PS. So no surprises there.

Step 2.

Took your script and stripped away all but the essentials and replaced input and output with static values. Well technically the input was just an open document...

set fileName to "Filename.tif"
set newFilePath to "/Users/joonaspaakko/Desktop/test/output/" & fileName
tell application "Adobe Photoshop CC 2017"

    convert to profile "High Quality Print" intent absolute colorimetric with dithering

    save current document in file newFilePath as TIFF with options {embed color profile:true, save layers:true, save spot colors:true} appending lowercase extension

    close current document saving no

end tell

Still complains about the document, but I know that is not the issue based on my first test.

Step 3.

So I took a look at the reference document for applescript and in there I looked at the tif save example. Can be found if you search for: save current document in file myFile as TIFF in the pdf.

I'm not too experienced with Applescript in general let alone scripting Photoshop with it... So I don't know if there are better ways to debug the code, but Script Editor was complaining about that save line and highlighting it, so I figured that is where the error must be... or around that area.

Just manually looked for differences and possible syntax errors, and I found out it was missing the class:TIFF save options, in the beginning of the tif options object and adding that in fixed the error.


Reconnecting iPad after iTunes have forgotten it without wiping contents

It seems I assumed wrong. Thanks to kenansulayman's answer, I dared to continue after the "Set Up Your iPad" screen. When I did, iTunes did not wipe the iPad, it left the old configuration unaltered and started syncing normally.

Also, "moving" the iPhone was fairly straightforward. I just unchecked the "Sync with this iPhone over Wi-Fi" on the old computer, synced it with the new and checked "Sync with this iPhone over Wi-Fi" there.


How do I create an installer for a macOS app?

For a simple package where you just want to pack up one folder (or three) of files, you can use a quick and easy tool and often make good packages.

For something more on the complicated side, you may need a book or couple of tutorials as well as the ability to have a virtual OS so you can test your package on a clean macOS or test Mac.

The best book I know on how to package is this one by Armin Briegel

https://itunes.apple.com/us/book/packaging-for-apple-administrators/id1173928620?mt=11

Packages on macOS can contain pre-install scripts, several layers of files and post-install scripts and the second chapter of the book goes over all of those in detail.

In your case, I would try to leverage a community packaging resource like AutoPKG recipe for every dependency you can find and hopefully mesos itself:

http://autopkg.github.io/autopkg

Here is a very nice list of starte recipes you can examine and inspect to learn how to layer in many files or take apart a simple package vs a complex one:

https://github.com/autopkg/recipes

If all this git and scripting and tools is too much learning (for ever or just for now), you could also do far worse than get a great tool to help you just build the package manually using an app to guide you in the process:

http://s.sudre.free.fr/Software/Packages/about.html


Why Will 2012 Mac Pro will work with 2 graphics cards, but not one?

It appears the problem was that FileVault was turned on. Even without Mojave, some graphics cards without special firmware (although approved by Apple), are unable to render when in FileVault. This is why Apple says to turn it off before moving to Mojave, but they do not mention that it will not work with their new graphics card recommendation. Therefore the order is very important

Turn off FileVault
Install new card
Update to Mojave


Google has shared knowledge how to disable it correctly. You don't need to remove or mangle any files you have on your system.

You should set check interval to zero like this:

defaults write com.google.Keystone.Agent checkInterval 0

After you done you can update google products from command line or Finder by running CheckForUpdatesNow.command command which can be found in one of following locations:

/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/
~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/


Ah found the solution. Currently the best option, by FAR is:
Karabiner-Elements
Hope somebody else finds this useful as well.


iOS app to transfer images, photos to another phone via Bluetooth

The iPhone 4 does not support the Bluetooth OPP profiles which you need for standard device to device transfers. All you have available are

HFP (handsfree)
PBAP (Phonebook access)
A2DP (advanced audio distribution)
AVRCP (av remote)
PAN (Personal Area Network)
HID (Human Interface)

Peer to peer comms are possible over BT but the app has to implement the protocol stack itself


Is it possible to remobe _afpovertcp._tcp.local from ser name?

Did you try adding the server name and IP to your host files in Mac? I would recommend having a static IP on your NAS for this.

Launch Terminal, type sudo nano /private/etc/hosts and press Return.
You’ll need to also enter your admin password to execute it, as with all sudo commands.
You will now have the hosts file open in the Nano editor. Use the arrow keys on your keyboard, to navigate and edit the file.
In your case it can be:

192.168.0.20         Server(type any name that you prefer)

Like with the Windows method above you should just add the desired IP followed by the hostname (or domain name) at the bottom after ::1 localhost.
Press Control-O to save the file.
Flush the cache from the terminal with dscacheutil -flushcache
Test with the name that you have put.


Test a USB-drive/SSD for bad sectors/blocks?

Open the Terminal.app in Applications/Utilities.

Cut and paste this inside to install Brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install e2fsprogs with brew:
brew install e2fsprogs

Type diskutil list to find your device (/dev/diskX)

Run badblocks on your device: (replace the X with your device number)

/usr/local/Cellar/e2fsprogs/1.44.3/sbin/badblocks -v /dev/diskX


Why can’t I share my Internet connection with another Mac?

You could try disabling your Wi-Fi, changing the sharing settings so that the security is off (just for testing purposes of course) then enabling your Wi-Fi and try again.


How to restore System Preferences.app without reinstalling?

Reinstalling the latest combo updater for Sierra is probably the first thing I'd try. Won't overwrite anything it doesn't need to, but should put back anything that's missing.

https://support.apple.com/kb/DL1918?locale=en_IE


Mountain Lion Time Machine can't reliably connect to LaCie 2big NAS

I have a LaCie drive running my Time Machine disk as well (Firewire connection). when I upgraded to Mountain Lion, I had similar issues as you are explaining.

Go to System Preferences, and click on Energy Saver (lightbulb icon under "Hardware"). On all Macs running Mountain Lion, especially the one connected to the LaCie NAS drive, make sure to uncheck "Put hard disks to sleep when possible".

This should fix your issue.


Does erasing the HD and then restoring from time machine backup remove applications?

This is an answer to the question as asked, but I suspect further investigation will be necessary.
Reinstalling the OS without removing existing detritus will quite likely return you to the exact same state.
Reinstall from Recovery without erase will clean up the OS itself without affecting any other data/apps. If the OS itself was at issue, then it will fix the OS. It will not fix anything user-installed that is slowing the OS down.
Erasing then installing from scratch then migrating in from Time Machine will return you to the Mac as you last had it. No change, except the OS cleanup from the previous step.


Can't uninstall app installed using diawi

Try to delete it with iTunes on your computer or if you have an old backup, where the app wasn't on your phone, try to overwrite the actual phone version with the old backup. Another possibility would be to save all your important data and reset your phone and then import all the data back on the phone.


Prevent app from auto-launching upon system startup

Many apps have a checkbox or a pulldown menu in the preferences panes where you can instruct it to launch on login.  Start your app and under the first menu item select preferences (NOT system preferences under the Apple menu item). Look thru all the preferences panels and one should have a designator switch to launch at login.


How to install Boot Camp from content of previously created flash storage?

Boot Camp Assistant is already in Applications > Utilities. It doesn't need to be downloaded.

If the card was good enough to install Windows from last time, it ought to be good enough to do it again.


if application "Safari" visible is false then (AppleScript)

Try this,,,

tell application "System Events"
    if visible of process "Safari" is false then
        tell application "Safari" to activate
    end if
end tell

That will only work if it's running, but hidden, btw. If you simply want the script to 'fetch' Safari, just activate it without any check


How does Mountain Lion authenticate with Twitter w/o using OAuth?

Twitter removed basic auth, yes, but it didn't remove Username/Password auth.

See their documentation on xAuth.

In a nutshell, you collect the user's username and password, and on successful verification, store the OAuth token and discard the username and password.

xAuth is explicitly allowed for certain applications, approved only from Twitter. It's not a stretch to say that Twitter would have approved Apple's request to use this in a heartbeat. The lack of ability to access Direct Messages via xAuth is limiting, but ultimately not relevant given the level of Apple's integration.


Is there a way to have an interactive / editable desktop background (E.g.: A spreadsheet) on a Macbook?

Check out desktopr and add a link to a Google sheet.

The service allows you to set any website as your wallpaper. Heard about it on Product Hunt.


Are phone numbers best saved with country calling code (and/or plus) or not?

With fixed location landlines if we wanted to dial a number in another country, we dial the “exit code” first.  In the United States the Exit Code is 011 and is often referred to as the international dialing prefix.  Dialing 011 told the phone system to expect a country code next.

Dialing patterns and parsing had to updated with mobile phones.  The + symbol became the international prefix that stands for ‘what follows is a complete dialing instruction including country code’ and no further parsing attempts are necessary.

But why not just country code? Why do we need the plus(+)?  If 1 is the United States country code isn’t that enough?  Not really, let’s say I’m visiting in Mexico and have my friend in the US 7 digit number stored as 523-xxxx (which is parsed correctly IF I’m at home in the US AND within my local area code) and I try to call that.  Is the 52 at the start of the number Mexico’s country code 52 or is it something else?  If we take pop culture into account is 867-5309 a 7 digit US number or is it a short code in China (country code 86)?  Dialing from a landline it’s treated as a local number because we didn’t dial the exit code 011 first.

Without a plus the carrier has to further apply parsing rules, how many digits were dialed?  Are there digit combinations that mean something?  If it was 7 digit could this be a local, if it’s 10 digit it might be an area code and phone number in the US, or it might not be.  If its 11 digits starting with 1 it’s probably a US number.  But in some countries local numbers might start with a 1, in fact some counties use 111 as an emergency number.

For most compatibility always add the + prefix.  It doesn’t matter where you are (I.e. which carrier is hosting your connection) it’s understood that what follows the + is a compete dialing instruction including country code, area code (if applicable), and local number.  (1 is the country code for United States)


What a mess Apple software currently is, and I'm using it since Tiger professionally.

The fix was to check this box in Software Update:


“ActivityWatch.app“ wants access to control “System Events.app“ dialogs

Here is what I did that fixed it:

Quit ActivityWatch from the menu bar.
sudo chown -R root:wheel /Applications/ActivityWatch.app
In System Preferences / Security and Privacy / Accessibility, added ActivityWatch to list of applications authorized to control computer.
Restart ActivityWatch.


Can I connect my Mid 2011 Mac to a second monitor?

Your iMac has a Thunderbolt 2 connector which also acts as a Mini DisplayPort.
Since your Monitor supports (15-Pin D-Sub) VGA or DVI-D you either need a Mini-DisplayPort to VGA or to DVI-D cable. I would recommend getting a DVI-D (e.g from Amazon, your local store might have one of the mentioned options as well), since it is the newer and slightly better standard, though VGA is (for old) equipment more common.

In general though, this is old Hardware and HDMI is more or less standard now.


How can I clean my keyboard without turning my Macbook Air on?

You can turn off the Mac using the power button or the Terminal (sudo shutdown -h now).
This prevents the keys from turning on the Mac. The only disadvantage, as soon as you accidentally press the power button, it starts.
Another option is to run third-party software that blocks accidental keystrokes, such as Keyboard Clean Tool.


Why does Apple provide the "Ignore ownership on this volume" setting?

It's for read/write access on shared drives.
For example, if you have a shared USB drive the permissions will most likely not match your particular credentials.  For you to read/write to that drive, Apple gives you this functionality.
Additionally, given that you must be an Admin to enable/disable this, it doesn't exactly "abuse" the UNIX file system ownership principals.


http://www.dropbox.com/iphoneapp

2 Gb free account. No jailbreak needed.
Uploaded files can be private or be made public (accessible via http link).


Why would Mail's message counts not match Gmail's?

Gmail counts all mail of a thread to 1 mail. Your version's Mail app not.


How to turn off a frozen iPhone with a broken lock button?

You can let the battery run down, at which point the phone will power itself down. You can run its battery down slightly faster by waking it up using the home button -- this will activate the display backlight and run the battery down a bit faster.


What are the key-names for the PressAndHold.app keyboard plists?

I have actually the same question, but this may help someone that is trying to figure this out.

I found here, that the name is probably Roman-Accent-2:
https://github.com/skalnik/dotfiles/blob/master/osx/emoji-expansions.plist

as this code is used:

<key>Roman-Accent-1</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>1 1</string>
<key>Strings</key>
<string>1 1</string>
</dict>

Also look up Keyboard-ja.plist, and you see that they use this Roman-Accent-x for almost any character x. But nevertheless, it doesn't work for me if I add it to Keyboard-en.plist. I don't understand why.


Safer than deleting would be to add a # to the beginnng of any line you want disabled and commented out.

If you’re not sure about using the editor, the less you change, the better.

Then exit out of your terminal app and start it again to test.

Safest would be to make a new admin account just in case you need to log in with a working user.


This site indicates that the front facing proximity sensor consists of the laser and filters to attenuate the signal to safe levels once assembled.

  Located in the front of the phone, above the main speaker, the FlightSenseTM proximity sensor uses optical land-grid array (LGA) packaging. The custom Apple device measures 2.80 mm x 2.40 mm, half the size of the rest of STMicroelectronics’s portfolio.

That reinforces the warning about repair and implies potential danger if you operate the components while the iPhone is disassembled.


internet restore without firmware support

There is no way, the firmware required to do that is signed by Apple. There is no custom firmware for OS X devices.


Open system references and go to the accounts or users section.

Add the applications needing to start to each user's startup items. You can start apps (and optionally hide them) and mount shares as well as start automation scripts.


Use cloud storage like Dropbox, iCloud drive, or Google Drive and put your PDF files on it. I personally read and highlight Pdf files on an iPad app called GoodReader. With the app I can sync my highlight between Mac and iPad. The highlight from GoodReader shows on Mac OS X' Preview app without a problem, unlike Adobe Reader on iPad. If you read a lot of PDF then GoodReader is a worthwhile little investment.


How can I delete the historical chain of imessages from someone?

Go to the "Messages" screen where it shows all the contacts you texted and select edit, then delete the entire conversation


For me, none of the solutions were working: sudo unmount, sudo unmountDisk, unmountDisk force, etc., with /dev/disk4, /dev/disk4s1, /dev/disk4s2, and so on. All failed. The last thing I tried - eraseDisk - gave me the same error: Error: -69888: Couldn't unmount disk

Then I decided to see if there were any processes in my way, so I ran sudo lsof|grep disk4 and found a process working on one of my partitions. I killed the process id and suddenly the disk mounted again! Success!


Setting up new iPhone 6 issues and major headaches

iCloud syncing over iPhones of different generations can be tricky. I highly recommend backing up your iPhone 5 directly to your computer (not iCloud) and then syncing that back up file to your new iPhone 6.

Once all the old data is on your iPhone 6 you can then sync it to iCloud through your iPhone 6 (which can be done in the background).

Hope this helps.


Why does finder report my applications are in the trash when I use Open With?

As Lri suggested in a comment, rebuilding my Launch Services seems to have fixed the issue.

To rebuild launch services run the following from a Terminal:

 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

Took just a second and cleaned up the duplicates too.


How to export books from Ibooks when using iCloud Drive

You can always drag-and-drop your .epub and .pdf files from iBooks.app onto your Desktop or any other folder.


Add access to the macbook camera for the terminal application

You can force your terminal to request access to your Camera.
I used the following commands (these are meant to click a picture from your MacBook's camera):
ffmpeg -f avfoundation -list_devices true -i ""
List the devices attached to your computer. Get the device ID of your camera

ffmpeg -ss 0.5 -f avfoundation -i "0" -t 1 capture.jpg
Capture the photo.

Although this did not click a picture (returned an error), but it did force the terminal to ask permission to access the Camera.
P.S: You need to have the ffmpeg package installed. You can do brew install ffmpeg
I got these commands from this stackoverflow answer
Update by Question Asker  This does work and here is the screenshot


How to change the default command to open shells in the MobileTerminal Cydia package

This is a function of the shell set for the user in /etc/passwd (/etc/master.passwd).  Normally you can change this via the chsh command, but iOS7 doesn't have this command. so you need to edit /etc/passwd and /etc/master.passwd (as root) and change the shell for the user mobile to /bin/bash.

So it should look like:

mobile:*:501:501:Mobile User:/var/mobile:/bin/bash

after changing from:

mobile:*:501:501:Mobile User:/var/mobile:/bin/sh

Note: in the master.passwd file the '*' will be your encrypted password.


Files & folders that start with a period will always be hidden in the Finder, and in Terminal listings (ls command, unless you use the -a flag i.e. "ls -a"), If renaming the folders is acceptable, then just remove the period from the folders you want to show.


Why Is Hands Off Block Local Network Setting Greyed Out?

This option seems to be only for outgoing connections, which is too bad. I would also like to be able to restrict some incoming connections to my LAN.


How to add a drawer of apps on the dock?

While the Dock doesn't have the concept of "folders" for the apps that are pinned to or running in it, as of Mac OS X 10.5 Leopard the Stacks feature can provide something similar.

Dragging the Applications folder from the Finder into the "Stacks section" (right of the white-dashed line) of the Dock will add it as a Stack. You can then click the folder to see something like this:

If you want subsets of your Applications as separate Stacks, you can create folders for each somewhere in your filesystem, and add aliases for the desired applications. (Note that dragging an app from the Applications folder to another folder makes an alias by default. Convenient!)

The results look like this:

All this being said, an alternative if you have OS X 10.7 Lion is to use Launchpad to organize and access your apps, keeping the contents of your Dock as minimal as possible.


How to add multiple songs in Apple music to a playlist?

It does select all songs in an album by pressing CMD. I'm on 10.13.3 High Sierra. Try it again. If it doesn't work send a screenshot or screen record if you can.


No need to suppose, that just happend to me (somewhat).

Preventive measures

As of today, suppose you have an iPhone 4, iPad or new iPod Touch running iOS 4 and you had previously activated the free MobileMe "lost my iphone". Then you're in the best situation of all. Suppose you don't have any of the new iDevices, but still are on iOS 4 and want to activate it for free. There are ways around that, for now, if you can borrow a new iDevice.

All you got to do in that situation is go to the website and get the measures of your choice. It will depend on how you lost the phone. If you know it was stolen, lock it first; don't display any message and track it down. Wiping is always the last resource, unless you're paranoid about leaking data. Be aware you will lose the ability to use everything else - it will reset to factory defaults. If you just forgot it somewhere, send an SMS first - maybe you'll get lucky.

There are also many tools on Cydia store to locate an iPhone - lost or not. I personally use and enjoy Longitude. It's, by far, the cheapest one and does the very basic stuff - send location to Google Latitude within a time interval you set. Enough for me.

But all that will only work for a couple of days at most. After all, iPhone battery doesn't last too long with 3G enabled. And, of course, only if it's turned on.

Taken by surprise methods

You may have not prepared yourself for the worst. Or you may have done it, but found out about your lost iPhone too late and it's now turned off, battery dead or being re-sold in the black market after being wiped already.

There are 2 additional steps to do. Both include reporting it lost or stolen to the carrier. If you just ask for a phone lock, you can save yourself from a big bill made by someone ill intentioned calling to China. That's the SIM lock and it can be undone later at any time.

Now suppose you didn't have a passcode lock on the phone and have no MobileMe. Then all your data is available to the finder / thief of the iPhone. That can concern a lot of people.

There comes the last measure - disable the phone through the IMEI. On most phones you need to have written down the IMEI before it got lost. It may be on the manual, box or some place else. On iPhone, tho, that information is on iTunes and easy to find.

Make a police report on lost / stolen, get the IMEI, call the carrier and the phone should become useless. Supposedly, nobody will ever be able to use it as a phone again - not even you. My carrier promised me the phone doesn't even turn on anymore. While that's probably not true, at least your data will be supposedly wiped. (disclaimer: I'm still trying to verify all those suppositions)

If the thief wipes the phone (by reinstalling the iOS) you won't be able to track it through iCloud / find my phone / or any other tracking app, but the IMEI block is still worth doing. More and more carriers are starting to enforce the IMEI blocks on stolen phones unless the person with the phone goes back and argues to get it lifted. I don't know what would happen then, but I would suppose unless the person had a sales receipt, the carrier wouldn't serve that device after it being reported stolen.


How to completely remove GoToMeeting.app?

It's in your user library. Try this:

rm -fv ~/Library/LaunchAgents/com.citrixonline.GoToMeeting.G2MUpdate.plist

rm -rfv ~/Library/Application\ Support/CitrixOnline/


Can I hide the toolbar in Safari while in Full Screen mode?

In Safari 10.0.1 on macOS Sierra it is quite simple - you have to uncheck View > Always Show Toolbar in Full Screen to hide the toolbar.


Make the front page its own section. From the Document Setup inspector, choose
Section → Create a new section.
With the new section selection, deselect Headers & Footers → Match previous section.

Customise the header on the first page as you desire.


Which iOS devices can *not* update to iOS 4.3?

According to Apple, (scroll to the bottom of the page) only the two most recent generations of each device can upgrade. So both iPads, the iPhone 4 and 3GS and the 3rd & 4th generation iPod touch. One exception: The CDMA (Verizon in the US) iPhone 4 is staying on 4.2.6 for a while. It has some, but not all, features of iOS 4.3.

That leaves the first two generations of iPod touch and the original iPhone and iPhone 3G unable to use it.

The 3G and second-generation iPod touch got stripped-down versions of 4.0-4.2.1. (No multitasking, homescreen wallpapers, or printing.) The other two devices left out (1st-gen iPod touch & iPhone) didn't even get 4.0.


What are the bad points of the iPod Touch?

Look at it this way. If you want to play games and use apps, browse the internet, all that jazz, you want the touch. If you want to carry every song you own and maybe some videos, get an iPod classic. If you are a jogger who only needs a few songs at a time, get a shuffle or nano.

Also, someone said it was slippery. This is correct. Get a case if you have a touch. I dropped my 2nd generation and shattered the screen when it hit at the corner. I have a 4th generation now and got a case for it just in case. The classic isn't as slippery, but it's always nice to have a case for any device you're going to be whipping around with you all the time.


Run Boot Camp Windows10 partition inside VirtualBox

I also followed the guide at http://web.archive.org/web/20181103074214/http://danielphil.github.io/windows/virtualbox/osx/2015/08/25/virtualbox-boot-camp.html

I will add what challenges I had following that guide, but I was able to run my BOOTCAMP partition using VirtualBox, which is free, so I'm happy.

First, you should have installed:

Windows 10 x64 using the OS X Boot Camp assistant
VirtualBox 5.0.26 r108824

I also downloaded:

VBoxGuestAdditions_5.0.26.iso (I don't think this is necessary, but I did it just to be safe)

As far as Disabling SIP or System Integrity Protection on El Capitan (OS X 10.11), I skipped that part. It was not necessary in my case.

As far as setting drive permissions:

I ran diskutil list to get a list of drives on my system, taking note of the drive number of the drive named EFI and the other one named BOOTCAMP, which in my case, the EFI drive was 1 and the BOOTCAMP drive was 4.
I then ran the instructions to unmount my Bootcamp drive and set permissions so that VirtualBox could access the drive. According to danielphil, this needs to be performed each time one reboots.

diskutil unmount /Volumes/BOOTCAMP

sudo chmod 777 /dev/disk0s1 <--- This is the drive no. of the EFI disk

sudo chmod 777 /dev/disk0s4 <--- This is the drive no. of the BOOTCAMP disk

As far as creating the VirtualBox image, the instructions are:

  Run the following commands to create a VirtualBox disk image wrapper for >your HD. Substitute the 1,4 with the numbers of your EFI and BOOTCAMP >partitions as appropriate and put your OS X username in for >your_username_here.
  Make sure you are in the directory where you want to store the VirtualBox image, or you will have to move it later.

sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename win10raw.vmdk -partitions 1,4
sudo chown your_username_here *.vmdk

As far as creating the VM, the guide was not so clear. Before I followed the instructions from the screenshots, I created a new virtual machine in VirtualBox, checking "Do not add a virtual hard disk".

Once created, I selected it and clicked on "Settings". At this point, I followed the screenshots in the guide. The only difference was that:

I did NOT check "Enable EFI (special OS only)"
I did NOT have the option to check "Enable VT-x/AMD-V"
I used the recommended base memory of 2048 MB, as I only have 8GB of memory
In the "Storage" tab under "Storage Tree", I had to:

click the "adds optical drive" icon under Controller:SATA to add the "VBoxGuestAdditions_5.0.26.iso" file I downloaded.
remove the "empty" image under Controller:SATA
Select the "Add IDE Controller" icon at the bottom
click the "adds hard disk" icon under Controller:IDE to add the vmdk file created


Firing up Terminal from an Automator Workflow?

Figured out how to do it myself based upon adapting the following article.

http://hints.macworld.com/article.php?story=20050827164648766

Added a line in to run the python command:

on run {input, parameters}
  tell application "Terminal"
    activate
    if (the (count of the window) = 0) or ¬
     (the busy of window 1  = true) then
      tell application "System Events"
        keystroke "n" using command down
      end tell
    end if
    do script "cd \"" & (POSIX path of ¬
     (input as string)) & "\"" in window 1
    do script "python -m SimpleHTTPServer 8000" in window 1
  end tell
  return input
end run


ExifTool might be able to do it.  You would need to extract them by name (see the MacOS tags page) or you could add the -api 'MDItemTags=1' option, as they are not extracted by default.

A command such as this will extract your tags and create a CSV file for you
exiftool -csv -filename -MDItemWhereFroms -MDItemTitle -MDItemAuthors -MDItemDownloadedDate /path/to/files >Outfile.csv


This could be caused my hardware problem.

Like malfunctioning power Button.

Flaky contact makes it run reset and loop.

Check and replace the hardware.


Use an iPhone 5 Nano-SIM in an iPhone 4?

There are a number of Nano-SIM to Micro-SIM adaptors on the market that will let you drop your iPhone 5's Nano-SIM card in to your iPhone 4. Not only would this bring along any data you had saved on the Nano-SIM, but you'd get your phone number from the iPhone 5 would presumably be assigned to the iPhone 4 assuming all things were equal and the phones were on the same carrier network. Once in your iPhone 4, you could copy the data off the SIM on the phone's internal storage.

I don't want to link to specific purchase sites for these things since that kind of information. But here's a search query that'll turn up many options: https://www.google.com/q=nano+sim+to+micro+sim+adapter


How to show directories before files in Finder?

If you want to view things in a more Microsoft Windows-like fashion, there are several third-party commercial utilities that can provide more options. I do not know which of these will provide the exact layout you want, but you can download trial versions of one or more of the following:

RAGE Macintosh Explorer (This app is free)

Binary Age Total Finder

CocoaTech Path Finder

St. Clair Default Folder X (for Open and Save dialog boxes)


I want Show my own App icon in the lower-left corner of iPhone Lock screen?

You can't control what app appears in the bottom-left corner of the lock screen.  Neither can you add code to your app to make your app appear there whenever you want.  These are called Suggested Apps and it's a feature of iOS.

iOS controls what app appears there based on several factors, including your location, the apps on your device, and your history of where & when you use those apps.  Together, iOS trys to present you with the app you would most-likely use at a given time, location, and history.

If you don't like this feature, it can be turned off in Settings -> General -> Handoff & Suggested Apps.


sshd logging is determined in /etc/asl/com.openssh.sshd.

In short, you need to touch a file and then send syslogd a HUP signal:
touch /var/run/com.openssh.sshd-asl-enabled
kill -HUP $(ps -ef | grep [s]yslogd | awk '{print $2}')

After that, you will find the logs in /var/log/sshd.log


What phonetic language an dictionary is supported by Siri on iOS?


How can I tell if a game will run on my machine?

About the graphics of the MBP
The Macbook Pro 13'' uses integrated Intel HD 3000 graphics. But Intel HD 3000 graphics are used in different processors. The performance varies depending on whether it's a mobile or desktop CPU. You need to read benchmarks with caution:

ULV processors core ix-2xx7 (base freq. 350MHz, turbo 900-1000MHz) (Macbook Air)
LV processors core ix-2xx5 (base freq. 500MHz, turbo 1000MHz)
standard dual and quad-core  ix-2xx0 (base freq. 650MHz, turbo 1100-1200MHz) (Macbook Pros)
desktop K processors (base freq. 850, turbo 1100-1350MHz)

Gaming Performance
On notebookcheck.net I've looked up some statistics. They keep benchmarks on how different games perform. I find these real world tests quite useful.
If you follow the link, you can click on the single fps results to see each system configuration.

Conclusion
You should have a minimum of 24-30 fps to enjoy playing. Considering this, I'll say that playing those games on a MBP 13'' of 2011 will possibly work, but not result in the maximum fun :).


The driverless "Apiotek COMBO EC-0002C" http://eshop.macsales.com/item/Apiotek/EC0002C/ does indeed work great if you still have a Cardbus port. I have not tried with Yosemite.


Terminal command to show FileVault and Firewall settings

You get the FileVault status with:

fdesetup status

You get the Application Firewall status with:

/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate

You get a verbose pf status with:

sudo pfctl -sa

Further readings: man fdesetup|pfctl and /usr/libexec/ApplicationFirewall/socketfilterfw -h.


Files on new computer are locked after using Migration Assistant and Time Machine

Sounds like the permissions are "wrong" or rather the owner is. Click on the folder, press Command+i, in the "Sharing & Permissions:" section (on the bottom) and check if it shows your new user-account on the MBP as owner (first icon) and if the privileges are "Read & Write".
Probably it will show a different user as owner. You could then try to fix the permissions by running Disk Utility, selecting you OS X partition on the left and click "Repair Disk Permissions" - but maybe this won't fix it, then you have to do it using the Terminal.
Maybe someone else can elaborate on that.

Edit 2011-12-18: Ok, I'll try myself:

Something I didn't know yet but found now looking for an easy fix:

From Troubleshooting permissions issues in Mac OS X

Note: In Mac OS X 10.5 and later, while started up ("booted") from the Mac OS X 10.5 installation disc, a user's home directory permissions can be reset using the Reset Password utility.

But in Lion they removed the option form the menu, so if you boot (holding "alt ⌥") into Recovery HD

Wait for “Mac OS X Utilities” menu to appear, indicating that you are booted into recovery mode
Click on the “Utilities” menu and select "Terminal"
Type the following: resetpassword
Confirm the user account and then the password change and reboot Mac OS X 10.7 as usual with your new password

Copied from Reset a Mac OS X 10.7 Lion Password

I didn't try it myself, but hopefully this should reset/repair your home directory permissions.

Maybe even better solution using Finder in normal OS X:

In Finder select the folder
Press Command+i
Expand "Sharing & Permissions" section (Unlock if necessary 1)
If you're not in the list of owners, press [+] 2
In the upcoming list, select your new user
Finally click the gear 3, make your new user the owner, apply to enclosed items

and delete the old user by selecting his name from the list and clicking [-]

Easiest way, if you're not afraid of the terminal:
Assuming your new user is named harmen

sudo chown -R harmen /Users/harmen

This will make you the owner of everything inside /Users/harmen
Read more here

Good luck.


Does Yosemite still allow "per-user" Screen Sharing?

Yes, this feature still exists, and operates in the same way.

As an example, here is a connection from one Yosemite machine to another:


Is there a sexier alternative to the status bar in Safari?

I like the free UltimateStatusBar extension.

Visible only when you're hovering over a link, it shows where things lead, but does other stuff too. Like shortener expansion and favicon previews.

It's got lots of built-in themes you can use to customize the appearance.


Apple Mailbox appearing in trash and in inbox

Are you using an IMAP account? If so, remove the account and add it again so it downloads your mailbox entirely from the server.

Did you find the mailbox tree in your Mail.app trash or in you OS X trash?


What are the criteria for when siri speaks a response on the watch?

On iPhone and Mac, "Will it rain today" prompts, "It doesn't look like it is going to rain today" with the weather chart.

Siri help says, "Should I bring umbrella today?"


Does Apple provide disk space that I can back my hard drive up to?

The Apple Time Capsule is a network router and network storage server with a 2TB or 3TB hard drive.

When you said, "server" do you mean something you can own and run in your home, or something that exists at a remote location, managed by a storage company, that you access over the Internet?

Internet storage is not suitable for backing up your entire Mac, because moving that many files of that size through your Internet connection is far too slow and inefficient.

You need a local physical hard drive in your home or business to regularly back up your entire Mac using Time Machine. You can supplement this with an Internet storage service like Mozy or Carbonite, but that should only be used for a critical subset of your documents and data, because of the time required to back up the data, and the high cost.


Does an iPhone throttle its CPU under heavy load?

Ars Technica has run some extensive tests on iPad Air and iPhone 5s finding that:

  The iPhone 5S throttles sharply after about two minutes, while the iPad Air maintains more consistent CPU performance.

This is likely due to the greater thermal capacity of the iPad Air, given the same CPU.

Similar tests on iPhone 6 and iPhone 6+ demonstrate that the A8 greatly improves on the A7 with respect to maintaining its rated clock speed, while also throttling less aggressively than the A7.

It’s still nothing like the straight line Phil Schiller highlighted during the big reveal, however:

Tests on the iPhone 6s and iPhone 6s+ reveal that the A9 improves even further upon the A8:

Generally, the iPhone+ model throttles later than the standard model due to the larger heat dissipation surface:

Sadly they didn’t run similar tests on the A10 Fusion, but it stands to reason that they would follow the same trend, especially thanks to the small cores allowing the big ones to idle more frequently. This of course would not be reflected in intensive tests, but would have an impact in daily use. Since they get more idling time, the big cores also get more opportunity to cool down, and therefore run at peak performance whenever called upon.

Finally, Ars Technica discovered that Apple’s chips throttle far less aggressively than Qualcomm’s (used in many high-end Android devices):

  The Nexus 4 couldn't even make it through our entire benchmark suite
  (though it's worth noting that later hardware revisions improved this
  somewhat—a Rev 1.1 Nexus 4 purchased in May throttled less and ran
  cooler than our Rev 1.0 Nexus 4 from last November).

Not only that, Qualcomm’s chips have been shown to jump down to the LITTLE cores when throttling, which degrades performance even further:

  When it throttles, it will occasionally switch from the “big” ARM
  Cortex A57 cores to the “little” ARM Cortex A53 cores. Even though the
  little cores could generally run at higher clock speeds than the big
  cores while the test was running, they can process fewer instructions
  per clock, making them slower overall.

  The 810 throttles so quickly that the 805 and even the 801 can beat
  the 810 when performing sustained workloads.


This device can't update to iOS 10.

From Apple Support (see System Requirements at bottom):

System Requirements

iPhone 5 or newer
iPad 4th generation or newer
iPad mini 2 or newer
iPod touch (6th generation)


Apple lossless through iTunes Match to iPhone?

You could use a different media player app that does not use the iPhone music library but uses it's on memory. Then you can upload your lossless music files to that app and play it. Something like AnyPlayer might be suitable.

Or, if you have a dropbox account, you might find songbox helpful.


macos Sierra Fn key acts like a long press with delay

Are you using USB Overdrive?  I went into the USB Overdrive settings, selected "Any keyboard, any application" and deselected the Enabled checkbox, and the problem seems to have disappeared


iOS 7, Facebook Messenger app keeps crashing

An app that consistently crashes on launch is usually due to the device being out of memory (RAM, not system storage). There is a nice list of ways to cure that here.

The next likely cause is bad data triggering a bug. You can often delete the app and redownload it to clear bad data files. Keep in mind if the app downloads data from the internet or has a backup / restore function.

Last resort is contacting the developer for specific recovery or triage steps based on their design of their app. Support links are provided in the App Store if you can’t find one searching the internet.


Time Machine restore newer Mac to older Mac

Yes, depending on the options you select when doing the migration.

In terms of documents and other data this will usually be fine. I'll provide an example below of when documents/data may be a problem.

In terms of software, this will depend on its compatibility with the version of MacOS you're running. For example, if you're running XYZ software that is only compatible with macOS Sierra and then restore that to a Mac running El Capitan, it will be copied across but won't run. Another potential issue is that you may need to re-register some 3rd party software (but if so, this is a minor inconvenience and does not result in any increased expense).

Now for my example of when data may be an issue. Your data will be copied across fine, but if the data is from a newer version of software that has actually changed the format of its data, then accessing that data from an older version of the software may be a problem. In any case, the data will still be there and is backed up.

On a final note, you would normally ensure the other Mac has an OS already installed when you restore your applications, documents etc.


Why do tagged folders do not appear in open/save dialogs?

If you go into finder>preferences>tags you will see that two tags have very similar colours, in my case, "work" and "orange". Try changing the colour of your "Projet" tag and see if they both the files change. If they don't then you might not have tagged your files correctly.

It seems like a silly answer but this has happened to me before that's why I am proposing this.


If this happens in Safari, the tab for a site that is playing audio
will have a small speaker icon on it. See the image below which shows 3 tabs in the top of my Safari window. Clicking on the
speaker icon stops it from playing. See the middle tab in the image.


Upgrade to High Sierra failed and I cannot restore backups from macOS Server

I ended up calling Apple support and they apparently don't know to restore a Time Machine backup from a Time Machine server either. So I took matters into my own hand:

Copied sparesebundle from TM server to USB drive.
Attached USB drive directly to MacBook Air.
Mounted sparsebundle and started Migration Assistant.
Restore the data.

At first I tried to restore without mounting the sparsebundle and wile the computer name from the backup file will show, no backups show. You must mount the sparsebundle.


Total screen freeze in El Capitan, but audio keeps playing

If you still have another device around, you might try to SSH into your machine, as apparently only the GUI process is frozen. You'll be able to safely reboot your Mac using sudo reboot now.
Another hint on this is that the shutdown dialog still shows up if you press the shutdown button for 2-3 seconds.
This might also be a hint to the solution - it should suffice to restart the corresponding process, even though I don't know which one that is. Maybe someone with a little more expertise on the OS might be able to help here.


Stuck after reset all settings + Home button doesn't work

Not sure if this will work.. but you can try to google a program that is made to put iPhone in recovery mode. Then you could restore it with iTunes. There's many programs out there but I'm not sure it would work if iTunes won't even recognize it. Best bet is to get that home button working some how.


If you make and then restore a complete Time Machine backup or use Migration Assistant you should have no problem moving everything to a new machine and having it work as expected. Otherwise I'm afraid you'll have to reinstall all of your tools and libraries.


suggestions on easy way to add location data to jpegs that will be recognized in iPhone

After saving image to Photos, open the photos app and double click on your image. This opens your image in a new window. You get a window like the one shown below.

On the top right of the image is a group of icons. Select the first one.  See below.

When you select the first icon - a circle with the letter i in it you get a new pop up as shown below.

As you can see at the bottom of this pop up is an area to assign a location.  While this may seem tedious, once you go thru it you'll see how simple it is.


How do I get a clean version of a song in iTunes?

You have 2 choices, really.

Look for a clean version on the iTunes Store - one without the red E

Learn to edit your own music using something like Audacity to either duck the volume at the desired point, overdub a 'beep', or chop out that section entirely. There are plenty of tutorials on the Audacity site.


Retina MacBook Pro - External display resolution issues

While this might not provide a direct answer to your question, I would be interested in the EDID (Extended display identification data) of that display.

Run ioreg -l | grep EDID on terminal to get all the EDIDs listed. Your output then includes one line for each display connected, such as "IODisplayEDID"  =<00ffffffffffff000...>. Take the part in between <and >, that is your edid.
Note that the short EDID/the first one is probably the one of your internal display, which has no resolution information on it.

Now you need something to read out the EDID, I used the http://www.edidreader.com website. Unfortunately they require the hex to be split and prefixed with 0x. Ruby to the rescue! ruby -e 'puts "0x" + ARGV[0].scan(/.{2}|.+/).join(" 0x")' 'YOUR EDID HERE'.

The EDID contains multiple blocks of possible resolutions, called timings. They can be found in

Timing Bitmap
Video Data Block
Detailed Timing Descriptor #

Does the display offer proper resolutions? Can you try with a different cable or a different machine?


How much more RAM can I add to my Mid 2007 24" iMac?

According to Low End Mac's specs page You've already got it maxed out.


My iPhone 5 synced contacts from my wife's iPhone 5

If you use the same Apple ID for iCloud on both devices then it will sync data like contacts between the two. I would suggest you sign out of iCloud on your device and create a new Apple ID for yourself.


What is the difference between .command, .tool, and .sh file extensions?

.command - (Terminal shell script) Specifically associates a shell script with Terminal. Sometimes referred to as a "Terminal File."
.tool - (Terminal shell script) Same as the ".command" file extension.
.sh - (Shell Script) A basic shell script that is associated with Xcode 4.1.

Programmatically, I'm sure the difference between the first two (.command vs. .tool) are subtle, while the third is essentially a simple, default shell script. And does in fact associate with Xcode 4.1.


How do I upload a new version of an app after an App Transfer?

I need the bundle identifier to be the same as the previous version of the app. I don't have that same identifier.

The identifier is transferred along with the app, so once the app is transferred you continue to use the old identifier which has been transferred along with it. Therefore you are free to submit updates as if you were submitting updates to the old app.

  Do I need to create a new provisioning profile?

Yes you will. You can do this from the Member Centre or Xcode as you would have done for the app on the old account.


Mac internal/boot HD - "the disk you inserted is not readable by this computer"

I've used Data Rescue before: https://www.prosofteng.com

You'll get a big load of files, without hierarchy or filenames.

Note for the future: you can buy a backup disk for less than most data recovery software costs.


Max memory for that model Mac is 8GB. You should also consider replacing the spinning Hard Disk with a Solid State Drive (SSD). It would be like
getting a brand new Mac.


Screen sharing stopped working after 10.10.2 update

After working with Apple, I have an answer. It looks like the 10.10.2 update changed your firewall settings. Try this:

System Preferences>Security and Privacy>Firewall Options

Scroll down the list till you find "screensharingd". If it's marked as block in coming connections, change it to allow incoming connections.

Be sure to reboot your computer and you should be good to go!


Is the 120 FPS video recording's quality 720P?

According to this lengthy review the recording is at 720p.

The specific recording details are:

H.264 codec
1280 x 720 resolution
Millions of colours
AAC, Mono Audio @ 44.100 kHz
120.15 FPS
29.72 mbits/s

This all matches the recording quality of a 'regular' iPhone video @ 30FPS, apart from the data rate which will vary from recording to recording.

Note that the iPhone can record 30 fps @ 1080p, according to the apple tech specs which means that the higher frame rate is at a lower resolution.


If you look at Apple’s support article about the messages app, nowhere does it mention being able to use third-party messaging services. Whereas in 2014, according to web.archive.org, the article said 3rd party messaging platforms where supported. It appears Apple has removed this feature.


iMac black-screened, wouldn't wake up; here's the error message

An occasional kernel panic is to be expected.  If you begin to see this message more and more often, consider basic troubleshooting as per Apple's instructions:

  To help diagnose recurring kernel panics, record the date and time it occurs, and any information that appears with the kernel panic message.

  Was the computer starting up, shutting down, or performing a particular task when the recurring kernel panic happened?
  Is the kernel panic intermittent, or does it happen every time you do a certain thing?
  Does it occur only when a certain external device is connected, or a device is connected to a certain port?
  Isolate hardware or software as the cause of the kernel panic

  Start the Mac from Recovery or its install media. Note: If a kernel panic still occurs, go to the "Hardware troubleshooting" section of this article.
  Open Disk Utility and use "Repair Disk" on Mac's internal hard drive (named Macintosh HD by default).

  Important: If Disk Utility is unable to repair the internal drive, you should bring the Mac to a Genius at an Apple Store, or an Apple Authorized Service Provider for service and support. Be sure to ask that, if the drive needs reformatting or replacing, they contact you about escalating your case to a special data recovery service. If you plan to visit an Apple Retail store, make a reservation at the Genius Bar using http://www.apple.com/retail/geniusbar/ (available in some countries only).

  Connect an external drive with at least 10 GB of free space. Note: Make sure the external drive does not cause kernel panics and is the only device on its USB, FireWire, or Thunderbolt port. Connecting the external drive and its cables to another Mac can help make sure the drive does not cause kernel panics.
  Install OS X on the external drive.
  Start up from the external drive.
  Install all software updates until Software Update reports your software is up to date.
  Use the Apple applications on the external drive to surf the web, view QuickTime movies, email, print, scan, and/or other activities. Continue using the Mac for the amount of time it would usually take for the kernel panic to occur.
  If a panic occurs, go to the "Hardware troubleshooting" section of this article to further diagnose the issue.
  If a panic does not occur, go to the "Software troubleshooting" section of this article to further diagnose the issue.


Could software cause the iPhone's home button to become unresponsive?

Do you close your open applications often? If you tap twice on your home button so the last used apps bar on the bottom comes up there if you hold any of those icons for about 2 seconds pushed in, where after they will start to jiggle and you'll see an red close icon on the top left of those recently opend apps icons will show. Tap that! and the app will close and make space in memory. If opening up memory by hand doesn't work I'd suggest you check the connection of the button.


If you delete your backup nothing will happen to your current photos or apps. If in the future though you try and restore from your backup your data will be lost.

To free space if you have a compatible computer you can backup to iTunes which won't use any iCloud space and will only use space on the computer.

To backup to iTunes:

Update to the latest version of iTunes.

  Open iTunes and connect your device to your computer.

  If a message asks for your device passcode or to Trust This Computer,
  follow the onscreen steps. If you forgot your passcode, get help.

  Select your iPhone, iPad, or iPod when it appears in iTunes. If your
  device doesn't appear in iTunes, learn what to do.

  If you want to save Health and Activity data from your iOS device or
  Apple Watch, you need to encrypt your backup: Select the box called
  Encrypt [device] backup and create a memorable password. If you don't
  need to save your Health and Activity data, you can make a backup that
  isn't encrypted. Just click Back Up Now.

  When the process ends, you can see if the backup finished successfully
  on the Summary screen in iTunes. Just look under Latest Backup to find
  the date and time.

(Source)


What is the safest way to leave my MacBook on 24/7 with macOS Mojave?

I'd say "Nothing".  Assuming there is an defective battery, you can't 'manage' its safety with any specific behaviour. It could fail and overheat while in use, or while charging.

The odd recall notwithstanding, Apple has worked very hard at making laptops use minimal power when closed, while also allowing some necessary background tasks; and then letting them spring back to life when you open the lid.

Modern SSDs use a fraction of the power of the old mechanical hard drives that needed to be spun down to save energy.

I rarely turn off my 2014 MacBook Pro, and only reboot it when updating the OS or troubleshooting.


Use same slide number on several slides in keynote?

Maybe the answer is to resize the notes display in the Presenter View. If you can get your notes to fit comfortably in Presenter View, then there is little need for duplicating the slides.

Try the following:

In Keynote, select "Play -> Customize Presenter Display". You'll be presented with a flexible layout and and an Inspector
In the inspector, assure that "Notes" is checked.
Try resizing the "Notes" display so that it is large enough to view all (or most) of your notes. (You can have only the notes displayed if you like.)

Everything on the Presenter display is moveable, so try editing all the elements to suit your needs.


OS X 10.9 Screen Sharing: disable file transfer

You can just remove Screen Sharing server's helper tools from here:

/System/Library/CoreServices/RemoteManagement/screensharingd.bundle/Contents/Support/*

Quick check didn't show anything bad for the rest of server functions.

Please note that after an OS X update these helpers might be resurrected.


How to stop auto music playing on Bluetooth connect

I created a song called "AAA Silence" that fixes this problem at least for iPhones (by being 79 minutes of silence that should always be the first song alphabetically on your phone), and I put it on the iTunes Store and on CD Baby. You can just search for "AAA Silence" in the iTunes Store or on CD Baby to get it. Alternately, you can get direct links to buy it and read more about it at http://aaasilence.com/


As Apple has never sold a mouse with a middle button, macOS has never had native support for assigning any custom actions to that input.
However, there are a variety of third-party utilities which will enable this, such as BetterTouchTool or Multitouch.


Prevent Xcode from jumping to debugging after crash

Take a look under Preferences -> Behaviors in Xcode. I haven't actually tested this myself, but going to Running -> Pauses and unchecking to "Show navigator Debug navigator" and/or "Show debugger with Current Views" sounds like it should do what you want.

Alternately, you might want to play around with these settings to find something that suits you.


Problems using FTP, Steam, and other non-browser web services on public password protected wi-fi on MacOS

Together with support, I found the solution. All other protocols worked on LAN but not on wi-fi, and there was just a rudimentary setting which didn't allow the other protocols on wi-fi (unfortunately I don't know the details, as it was the support who solved it, not me).


Is Bluetooth and Wifi MAC address always sequential?

I imagine this is the case: iPhone and iPad are using an integrated chipset (like this: http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM4334) supporting both Wifi and Bluetooth. And as both of them are on the same chip the manufacturer could be just incrementing the MACs.

However the question is why you ask this - if you want to use this information to check if it's the same device: don't, as there is no guarantee that it will always be this way.


Do the following:

Find out what the network interface is for your wifi. Mine is "en1" for this example (I have obfuscated my MAC addresses with "00")

ifconfig
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:00:00:00:00:00
inet6 0000::000:0000:0000:0000%en1 prefixlen 64 scopeid 0x5
inet 10.0.1.16 netmask 0xffffff00 broadcast 10.0.1.255
media: autoselect
status: active

Then, you need to set up the airport util for your wireless card to tell it not to shut off:

cd /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources
sudo ./airport en1 prefs DisconnectOnLogout=NO


Can I upgrade to OSX 10.9 and format my HD along the way?

Yes you can use disk utility to reformat the Macintosh HD partition during the installation of Mavericks, however if you want to create a new partition using disk utility the you will have to create a Mavericks install USB so you can boot from there.

You can't create a Partition when booted from the same drive hence the need to boot from a USB installer.

Creating a USB installer is as follows, Format the USB thumb drive as a Mac OS Extended (Journaled) and name the USB thumb drive Untitled

Download Mavericks from the Mac App Store,

Copy and paste this command into terminal,

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app —nointeraction


Custom notification tones for WhatsApp iphone12

This isn't possible. Under the hood, WhatsApp notification tones are Apple Alert Tones and not ringtones. This is why your list of options is restricted to the small subset that you've mentioned. Sadly, you cannot create custom Alert Tones.


Removing the sleepimage file in /var/vm in macOS permanently

That file can be deleted - no need for -R but be sure to have the full path:

 sudo rm /private/var/vm/sleepimage

One you "delete it", the space will not be freed until the kernel and other processes close the file, so restart your Mac. The image file will be recreated next time you need to sleep - so if you had a HDD with that file contiguously allocated, you will make things worse when it's allocated non-contiguous blocks. SSD won't care either way.

I would focus on cleaning / relocating other files long term than this one.


iOS 7 is not yet publicly released yet. It is only available to developers. Unless you are a developer you can not yet update your device. 6.1.3 is the most current software so there is nothing wrong with your device. For more information regarding iOS 7 please follow this link: http://www.apple.com/ios/ios7/


Ask for another Logic Board diagnosis and/or replacement. There's really only three things that could ever cause failure this integral to the whole system simply halting all activity:

Bad Processor
Bad Memory
Bad Logic Board

No matter what the result is, while you still have coverage after the recent replacement, something obviously is still wrong, and you should absolutely exercise your ability to have this re-diagnosed.


Unable to shrink a partition in osx 10.10

Well, I have another solution; hope it would work fine. Backup Windows data (bootcamp) firstly. Use Bootcamp utility to delete the existing Windows partition. Once you delete it, recreate new Windows partition with Bootcamp a little larger as you desire. Then reinstall Windows.


Determine which device AirPods have connected to using Siri

For iOS devices you can use this shortcut.  I am not able to test it on macos, but it works on my iPad Pro and my iPhone X. When I try it on my Series 3 Apple Watch it just hangs. Just assign it whatever custom text you want Siri to recognize.


Unable to Install Apps Despite Plenty of Free Space

That is odd, to say the least. I am guessing here that somehow storage is fragmented and there is not enough contiguous free space.

I would do a "backup, wipe and restore."

In other words, plug your phone into your computer and back it up locally (set a backup password so the backup retains your saved passwords). Once that is done go into settings > general > reset > erase all content and settings, and wipe the phone. Once that is done restore it from the backup you just created.

I have found that this frees up space on an iPhone, presumably removing temporary files and the like and, I am thinking, that it will solve your not enough space error.


Mount Linux NFS share on Mountain Lion 10.8.5

I have spent quite a bit of time figuring out automounts of NFS shares in OS X...

Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:

/etc/auto_master (see last line):

#
# Automounter master map
#
+auto_master        # Use directory service
/net            -hosts      -nobrowse,hidefromfinder,nosuid
/home           auto_home   -nobrowse,hidefromfinder
/Network/Servers    -fstab
/-          -static
/-          auto_nfs    -nobrowse,nosuid

/etc/auto_nfs (this is all one line):

/Volumes/my_mount    -fstype=nfs,noowners,nolockd,noresvport,hard,bg,intr,rw,tcp,nfc nfs://192.168.1.1:/exports/my_share

This will not work (anymore!) though it "should".

$ sudo automount -cv
...
automount: /Volumes/my_mount: mountpoint unavailable

What's the solution?

It's so easy my jaw dropped when I figured it out.
Basically, we trick OS X into thinking we're mounting * somewhere else. *

When you're talking about paths in just about any environment, the root folder is the highest path you can reach, whether it's C:\ (windows) or / (*nix)

When you're at this path, attempting to reach the parent path, via .. will keep you at the root path.

For example: /../../../../ is still just /

By now, a few of you have already figured it out.

TL;DR / Solution:

Change your /etc/auto_nfs config from (this is all one line):

/Volumes/my_mount    -fstype=nfs,noowners,nolockd,noresvport,hard,bg,intr,rw,tcp,nfc nfs://192.168.1.1:/exports/my_share

To (this is all one line):

/../Volumes/my_mount    -fstype=nfs,noowners,nolockd,noresvport,hard,bg,intr,rw,tcp,nfc nfs://192.168.1.1:/exports/my_share

And re-run the automounter:

$ sudo automount -cv
...
automount: /Volumes/my_mount: mounted

..... there you go! Technically /../Volumes is still /Volumes, but the automounter does not see things that way ;)

This configuration persists the mount across restarts, and creates the mountpoint automatically.

I KNOW, RIGHT?


NAT64 enabled on OSX, iPhone still gets an IPv4 IP Address

Addresses starting with 169.254 are called APIPA or link-local addresses. It's what your interface automatically gets when the DHCP client is enabled but no DHCP server can be found. They are not usable to connect to the internet.

Don't worry, it seems that your test environment is IPv6-only.


You need to pass the arguments to the ssh command you are running, not to some variables:

ip=aa.bb.cc.dd   #replace with your unix server's ip
username=yyyyyyyyyy #your ssh username
password=xxxxxxxxxxxxxxxxx #your ssh password
command="ssh -D 2002"     #what do you want to do with remote server
arguments=-Cq     #arguments for your command
expect -c 'spawn $command $arguments $username@$ip ; expect password ; send "$password\n" ; interact'


make keyboard shortcut screenshot include cursor

One way of accomplishing this is to create an Automator Quick Action  with a Run Shell Script action, using screencapture with the -C option and assign it the ⇧⌘3 keyboard shortcut, after unchecking it for [] Save picture of screen as a file in: System Preferences > Keyboard > Shortcuts > Screen Shots

The image below shows the Automator Quick Action  with a Run Shell Script action, its settings and the screencapture command formatted to produce the macOS default naming as on a US English install with the Region set to United States. This of course can be modified to suit ones own needs/wants.

The following command:

screencapture -C "$HOME/Desktop/$(date "+Screen Shot %Y-%m-%d% at %H.%M.%S %p.png")"

Creates a PNG image on the Desktop, named as in this example:

Screen Shot 2019-06-03 at 3.45.30 PM.png

Before assigning the e.g. Full Screen Shot Including Mouse (Quick Action) the ⇧⌘3 keyboard shortcut, first uncheck it for [] Save picture of screen as a file in: System Preferences > Keyboard > Shortcuts > Screen Shots

Then in System Preferences > Keyboard > Shortcuts > Services, give the e.g., Full Screen Shot Including Mouse the ⇧⌘3 keyboard shortcut.

Note: Sometimes a newly created Automator Quick Action, which has been assigned a keyboard shortcut, doesn't trigger the first time the keyboard shortcut is pressed. If this occurs, usually triggering the Quick Action by the Services menu will enable the keyboard shortcut to work going forward.

If you want a different image format for the saved screen shot, you'll need to use the −t  option. For a JPEG image use, e.g.:

screencapture -C -t jpg "$HOME/Desktop/$(date "+Screen Shot %Y-%m-%d% at %H.%M.%S %p.jpg")"

See the manual page for screencapture for additional information.

The filename uses the date command within command substitution $(...) which allows the output of a command to replace it. See the Command Substitution section in the bash manual page for additional information.

See the manual pages for the date command and strftime Standard C Library for additional information and an understanding of the operand used to format the date and time portion of the filename produced within the command substitution.

Hint: An easy and more user friendly way to show the manual page for any given command is to, in Terminal, type the command and then right-click on it, selecting: Open man Page


Running shell scripts in single-user mode

Yes, files flagged as executable will still be executable under Single User Mode.

opendirectoryd is just for handling logins/authentication and using root doesn't require that, and you don't need to launch it if you just intend to manage files.


How can I automatically centre new windows in Yosemite?

Can it be scripted using AppleScript ?
Any time your open a new App, it could call a script to center the Windows.
I do not know if this is possible with your tool, but it is with this one:
http://www.irradiatedsoftware.com/sizeup/


DIsk Image shows larger size unmounted then when mounted. How to fix

I figured it out!

Open Disk Utility.
In the left-hand panel, select the disk image you would like to resize (the DMG file), then click the Resize Image button in the toolbar, and then enter the new size. Click Log to ensure that it resized successfully.
Click Open to mount the volume. (You may also mount the volume manually by opening the disk image in the Finder.) Select the volume in the left-hand panel. Notice how the volume's Total Capacity is unchanged. This is where you got stuck.
Select the disk image again (not the volume). Now there are new tabs available. Click the tab labeled Partition. This essentially allots different partitions of storage space to the disk image. Select the volume you would like to resize and drag the ... draggy thing? or manually enter in a size. Then click Apply. Check the log to ensure the partition was resized successfully.
Select the volume in the left-hand panel. Check to ensure its Total Capacity is the correct size.

That's it! Now you can add more files to the volume. Remember to eject the volume when done.


You can't associate a bank account with an app.

You could have different bank accounts for every single contract you sign with apple:

iOS Paid Applications
iAd App Network


How does one add a custom iCloud Drive folder to the Finder Favorites sidebar?

A solution is to create a temporary alias of your new folder.

Create a folder in iCloud Drive.
Right-click the folder and select Make Alias.
Drag-and-drop the alias folder (little black arrow on folder symbol) into your sidebar.
You can now delete the alias folder (NOT in the sidebar).

Hope this helps, if not leave a comment.


Well if data on your iCloud account is not important to you, you can just simply create a new account and use it for your phone.

Just make sure you keep that email address this time! :)


Why can't I FaceTime to a Gmail account from my iPhone?

Your daughter needs to make sure her gmail.com address is associated with her iCloud account. From an iPad or iPhone, can you send her an iMessage at that same Gmail account (i.e. does the conversation turn "blue" instead of green)?

Email addresses can be added to FaceTime through iOS Settings or through the preferences in FaceTime.app on a Mac.

People FaceTime me all the time at my Google Apps account, so it's possible.


Is it possible to switch off the trackpad in OS X with a keyboard shortcut

No way right now as far as I'm aware. I'd like to see an option to disable the trackpad while typing, for a user-selected number of ms after a keystroke.  That would solve the most irritating thing about the macbook for me.