Driver issue with the USB-C Digital AV Multiport Adapter

For those searching I am having this issue with a new 2016 MacBook Pro running sierra v10.12.1.  Multiple Install->Reboot cycles with everything still plugged in but the Multiport Update is not being installed.

[RESOLVED]

UPDATE:
Your USB-C Power Cord must be plugged directly into your multiport adapter (which is plugged into your laptop) when doing the reboot.  Having the adapter plugged into one port, while the power cord is plugged into another of your laptop's ports will not work.

NOTE 1: Working Layout

Wall power outlet => USB-C Power Adapter => USB-C Power Cord => Multiport Adapter => Laptop

   (You don't need the external display plugged in.)

NOTE 2: When I first plugged my power cord into the multiport adapter, it displayed some weird behavior where the Driver Install prompt went away and the "charging" icon would show briefly, then disappear.  I restarted my laptop with everything still plugged in and then the Driver Install prompt stayed visible.

You could probably also click the "Install" button before pluggin in the power cord and once the wizard is open, plug in the power cord.  I'd guess the power cord is only required to be plugged into the multiport adapter to give the adapter power during the reboot.

NOTE 3: The time that the install/reboot actually worked, the reboot took a significantly longer time than usual.  Probably about 3 mins.  So if you also experience that then its a good sign.


Why is it not possible to install Windows 7 on any Mac models released since 2015?

Question: Could somebody confirm why this is the case - what was removed as part of these Macs that Windows 7 previously relied upon for a successful installation?

Answer: On Macs where Apple officially supported Windows 7, the Boot Camp Assistant would set up Windows 7 to BIOS boot. Starting with the 2015 model Macs, Apple starting eliminating the BIOS from the firmware. So, there may still be a 2015 or newer Mac with a BIOS out there somewhere, but officially BIOS booting ended starting in 2015. Apple starting using the EFI standard to boot macOS before there was a UEFI standard. Apple never completely implemented the EFI standard. Evidently, some part of the standard that Windows 7 needed did not exist in firmware on Mac computers. AFAIK, Mac computers could only BIOS boot Windows 7.


Why won't my macbook show the dashboard or fullscreen windows?

I think you have too many junk files
here is what to do:
1.Delete Files you no longer need.
2.Empty Trash. Having too much junk slows down your laptop
3.Install A program that cleans your laptop

Or maybe there is a virus installed in your computer
here is what you have to do:
1.Move the file you think may be causing the bug.
2.Install MacKeeper
3.Run MacKeeper and scan your pc for viruses
4.If the app found a virus delete it

so thats it thanks!


What's the right ownership for /usr/local for current macOS and Homebrew versions?

The correct ownership is root:wheel with permissions of 755.


Can you play h.264 saved in Dropbox on iOS?

Yes, it should work. According to this article, it works on the iPhone 4. I don't see a reason why it shouldn't work on iOS. Although, if it does not work, you can use this iOS app that converts formats of files you transfer from PC to iOS.


How do I drill in to calendar information from the notifications screen on iOS7?

There’s no way to view tomorrow’s events from the Today view. If you’d like to be able to do that, you should file an enhancement request.


Use a bluetooth headset JUST as a microphone?

You may be able to configure a bluetooth headset only as a microphone, but Rosetta Stone would refuse to recognize that microphone. a USB or an analog microphone is a must. It will NOT accept a bluetooth microphone but will accept the speaker part of the bluetooth headset. I tried to get the microphone to work with Rosetta Stone but no go. Here's the link as proof:
http://support.rosettastone.com/articles/en_US/Text/Will-my-headset-work-with-Rosetta-Stone/?q=Text&l=en_US


Is there a way to search my Samsung SCH-R500 phone through a Terminal window?

There's probably not much you can do. I had an old Sony Ericsson phone which I could connect to with Bluetooth File Exchange; it allowed me to copy ringtone files back and forth but that's about it.

Older, "non-smart" phones aren't full computers in the same way that iPhone or Android phones are. When you use Bluetooth File Exchange the device is providing limited access to some data that it decides to export; you aren't interacting with the files directly. So even if you could access it via the Terminal, you wouldn't see a file system with files you could copy to your Mac.

If you're trying to recover specific data from your phone, like ringtones or address book info, you're better off asking a question about that ("How do I copy ringtones from my Samsung XYZ phone?"), and giving as much info about your phone (model number, version numbers on any info screens) as possible.


They're not quite a 100% fit, but if you'd like to monitor file access for an application I find a combination of opensnoop and fs_usage works well. Only opensnoop uses DTrace though.


It seems that it's port 80 and port 443.  See this article on blocking of Skype 3G traffic

www.bluecoat.com/doc/486


Macbook Pro 13 Retina battery drain using Chrome browser

Chrome does not consume more energy than the other browsers in this test.

I just ran a comparison.

The set up was to have same amount of demand.

Three tabs were open, one tab streaming online video in both, Chrome and Firefox (I do not use Safari).

In Energy consumption profile below, Chrome was equal to Firefox.

Of course the Energy consumption is very much dependent on the particular web site.


change screen resolution with AppleScript

We have created a python script, called Display Manager that allows you programmatically set resolution, bit depth, underscan, mirroring, etc.

Give it a try and let us know if you want additional functionality

https://github.com/univ-of-utah-marriott-library-apple/display_manager


How do I establish a secondary axis in Numbers on an iPad Pro?

I did figure this out, sort of.  In some configuration, after you make the chart, there is an opportunity to select chart type and see a list.  You can select a two axis chart. Then you have to find your way to the menu that lets you edit the series and edit them one by one to have the axis you want.

I find this all very non-intuitive. After solving these problems I can’t remember what the sequence was.  The sequence of actions that seems natural tends to go nowhere.  Would love to move to using Numbers primarily but the entire option selection system needs to be reworked, at least on the iPad.


Multiple Apple devices under one Apple ID - iMessage issues

iMessage isn't designed to work with just one Apple ID. Instead of having all the iPhones and iPad on one Apple ID, it will be necessary to set up additional Apple IDs for the different users.

When you setup an iOS device and put in your Apple ID, it provisions ALL such services to that Apple ID. Go into Settings on each device (under Messages and FaceTime) and remove the Apple ID. Replace the Apple ID with a new Apple ID unique to each user. Here is a guide on creating new iCloud accounts for this purpose.

Better yet, provision each account completely with its own Apple ID. If a person wants to download an already-purchased app or song from a different account, you can temporarily change accounts in iTunes or App Store.


Importing text into PowerPoint drops all text into a single field instead of multiple slides

Apparently PowerPoint requires DOS formatted lines crlf even on Mac (how lame ..) So preprocessing via unix2dos <myOutline.txt> did the trick.


How to view all login history in MacOS High Sierra

In Terminal, use the last command.

Also, read the manual page for last, in Terminal: man last


How to fix Thunderbolt to Gigabit Ethernet slower than Wi-Fi Macbook Pro?

I think there is something going on with El Capitan and a most recent update...   My ethernet speeds (same network as an old Mac Mini) are 50x more (very seriously) than my iMac 5k.  I get about 70Mb/s on the old Mac Mini and only about 1.5-2Mb/s on the iMac.  I checked the network traffic, I checked the processing in the background ...  nothing.  That's changed recently (with nothing else changing) and I think it was due to an update.  Frustrating though.


Why won't my AppleScript run as a Service?

This is weird, but I have seen at least three people on Apple Support Communities who had this problem when a of process "x" and a tell application "System Events" to are on the same line.

Try this.

on run {input, parameters}
  tell application "System Events"
      tell process "TextWrangler" to set visible to not visible
  end tell
end run


Bluetooth audio is choppy / stuttering on Macbook Pro (Mojave) but not iPhone

Looking at support documents at Jabra, the earbuds aren't designed for use with a computer:

No, we do not recommend you pair your Jabra Bluetooth device directly with a computer. Jabra Bluetooth headsets are optimized to be used with other Bluetooth devices, such as, smartphones or tablets. They are not optimized to be used directly with a computer. We cannot guarantee device performance or provide support for performance problems that may result from this.
If you choose to pair your Jabra Bluetooth device with a computer, it could work for audio streaming, but not for call control, which is not supported by many computers. Also, audio quality could vary depending on the model of the computer.


The trick appears to be:

Disconnect the power cord
Wait for 10 seconds until the front lights go out.
Insert the power cord.
Wait five seconds and then press the off button.  It must be between 5-7 seconds that you must press the off button.

Resetting SMC on Mac/Xserve


If you can still boot into the Recovery or Internet Recovery please open the Terminal app from the Utilities folder and copy the result of

  du -f

and

  diskutil apfs list

It is likely there was an issue with the install/migration and depending of free space you might have to erase and reinstall the OS (for that please follow the Apple guide at https://support.apple.com/guide/mac-help/reinstall-macos-mchlp1599/mac)

Editing the name of the drives so they are unique will help you know which is which.


How to drag and drop between guests in VMware Fusion

No you cannot as of, and up to VMWare 4 drag and drop files between VMware guests directly. VMware's tools are only noted to support drag and drop between the guest and the Host Operating system (a.k.a. the Mac in this Case), there is no mention of guest to guest support for drag and drop as noted in the VMware fusion documentation.

Moving and Copying Files and Text Between Virtual Machines and Your Mac
You can drag files and folders to move and copy them between your virtual machines and your Mac.
You can move text by copying and pasting or cutting and pasting.
You can also drag images between Windows applications and Mac applications.
You can drag Outlook attachments from a Windows virtual machine to your Mac.
You can drag files in a virtual machine directly onto Mac applications.
You can copy and paste images and formatted text between a Windows or Linux virtual machine and your Mac.
These features require VMware Tools.

That quoted above is likely why drag and drop is not working between your Windows 7 and Windows XP guest virtual machines and that is because it is simply not supported.
A quick fix is to drag the files to the Mac host first, then drag to the other VM. Otherwise setting up File Sharing between the VMs may be the best way to transfer files directly between VMs without having to go though the host first.


Blank/Black Screen on AppleTV when mirrored from iMac

I had a similar issue while using an Apple TV to connect a TV to my MacBook Pro (via LAN) and playing around with the different display modes as it suddenly stopped working.

Unfortunately, I don't remember any details any more but (after several failed attempts) I solved it by explicitly selecting Off in System Preferences/Display/Monitor/Dropdown Box Airport-Monitor (maybe detaching and reattaching the ethernet cable and/or turning off/on Apple TV were also involved) and reselecting Apple TV again.

This might be important, as deliberately selecting might have reset and/or stored parameters, which may explain why some people experience negative results.

Sorry, if this was too less of information.


How to get the smaller tabs back in Safari 6?

The glims tool - available from http://www.machangout.com - should do the trick to re-slice the tab width to something fixed if you prefer the old look.


how to install ubuntu and triple boot with high sierra and legacy booting win10 with dual disk drive?

Note: This installation procedure was tested by using VirtualBox. Both High Sierra (macOS 10.13.6) and 64 bit Windows 10 (1909) installers were used to create the partitions. Nether macOS or Windows were installed prior to installing Ubuntu Server.

Create a Linux Partition

The output from the macOS command diskutil list disk1 is shown below.

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         127.8 GB   disk1s2

To create the Linux partition, first you need to calculate the new size for the APFS container partition. Since you want 40 GB for linux, the new size would be as follows.

127.8 GB - 40 GB = 87.8 GB

The macOS command to create the unformatted linux partition is given below.

diskutil apfs resizeContainer disk1s2 87.8G %linux% none 0

The result is shown below.

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2          87.8 GB   disk1s2
   3:           Linux Filesystem                          40.0 GB   disk1s3

Install Ubuntu Server

  Note: I assume you following Ubuntu's instructions for creating the bootable Ubuntu Server USB flash drive or burned a DVD.

When the image below appears, highlight Update to the new installer. Next, press return.

  Note: To get a better view of an image, click on the image or open the linked image in a new window.

When the image below appears, select Custom storage layout, then highlight Done, as shown below. Next, press return.

Highlight partition 3  existing, unused, as shown below. Next, press return.

Highlight Edit, as shown below. Next, press return.

Select ext4 as the format.

  Note: Mount should appear as /.

Highlight Save, as shown below. Next, press return.

Highlight Done, as shown below. Next, press return.

Highlight Continue, as shown below. Next, press return.

Proceed with the installation.

Notes

I encountered synchronization issues when booting to the operation system. Often the prompts for input occur before all the messages have been output.

References

Complete recipe for installing single-boot Linux
Dual-Booting OS X or macOS with Linux without rEFInd
What is the difference between grubx64 and shimx64?


This item will be deleted immediately. You can’t undo this action

I used Onyx to secure delete the trash and it went back to normal.


Using formulas in conditional formatting in Apple Numbers

After research and trial & error sessions, I understood that using formulation in conditional formatting rules is impossible in Numbers. One can only use simple comparisons for formatting. Preparation of values for comparison is needed to be done on the table.


Ignoring the "You must change your password within 60 minutes" pop-up

I've ignored it many times and true to its word, it modally forces you to change the password.  You can lock/sleep the device, but if you want to do anything useful, you have to change the password first.


Does Apple have administrative control over Developer program enrollment?

Yes - Apple has very good administrative control and you deal with the sales organization (online web store) when you are purchasing any developer account. They aren’t going to know the in-and-out of why you were rejected a bunch of times but they are showing you clearly the way forward.

Pay the $99
Get your account going now
Upload your first two or three apps to TestFlight and get your testing going with hundreds of internal beta testers.

Then engage the developer support team for free once they can see the sort of work you’re doing and when you have a specific need the basic account can’t meet. Now you’re a known partner they can work with - now you’re the guy keeping on banging on the sales door that was closed again and again. True enterprises are easy to verify and when Apple isn’t sure you are an enterprise, their job is to say no and reject the application so don’t get mad at the process or the people - just level up your goals and build your app now and work with developer support down the road - once they see your need, they will be your advocate so sales arrange an upgrade and/or pro-rated refund if you really need to get to enterprise features before the first year expires.

https://developer.apple.com/programs/enterprise/enroll/

Since the test flight restrictions are so lenient now, you won’t need enterprise to distribute apps to hundreds of employees with the $99 program.

The enterprise account is really for people that start with a normal developer account and need added functionality. If you haven’t had one to two years of experience in the developer paid programs and are not actually an enterprise - I would strongly discourage you from going for the enterprise program out of the gate. You simply don’t need it to get going in my experience.

How to appeal rejection by Apple for Developer Enterprise Account?
I tried to enroll my company to Apple Enterprise program, but get message "Cannot enroll in Apple Developer program"


enable program for all users (root included) installed via Terminal from source (tarball)

$ more /etc/paths
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
$

$ more /etc/manpaths
/usr/share/man
/usr/local/share/man
$

Try with this like Root:

# echo '/usr/local/SomeProgram/bin' >> /etc/paths
# echo '/usr/local/SomeProgram/man' >> /etc/manpaths


How do I get the actual ip address of a printer in OSX Yosemite

Use http://localhost:631/printers/ to see the list of printers available. The page shows both printer model and its IP/name under the Printers tab.
To enable the cups page, run cupsctl WebInterface=yes in terminal.

If it does not directly show an IP address, click on the printer, where usually there is a connection entry like in this example:

Afterwards run cupsctl WebInterface=no in the terminal.

If the above still does not resolve to an IP-address, then try dns-sd as explained in How can I list the IP addresses of all the AirPrint printers on a network?; search for "_ipp._tcp" in that post.

For that to work you MUST be on the same network as the printer: it does not work if you are on a different network (for instance when on the road and the discovered printer is at home).

Example of a printer not showing the IP address:


How to remove duplicate devices in "text message forwarding" on my iMesssage setting (iPhone)

If you reset your iCloud password, the old services will be removed from: Settings > Messages > Text Forwarding


I think I messed up the Fusion Drive on my 2TB iMac

Preparation:

Detach any external drive (especially your external Time Machine backup drive)
Restart to Internet Recovery Mode by pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot into a recovery netboot image which usually is loaded from an apple/akamai server.

I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.

Alternatively you may start from a bootable installer thumb drive (preferably Yosemite or El Capitan) or a thumb drive containing a full system (preferably Yosemite or El Capitan).

Rebuild Fusion Drive

All data on the disks will be deleted.

Booted to Internet Recovery Mode open Utilities → Terminal in the menubar and enter:
diskutil cs list to get a CoreStorage listing.
Copy the Logical Volume UUIDs one by one, if any are listed.
Now delete all Logical Volumes with diskutil cs deleteVolume LVUUID.
Copy the Logical Volume Group UUID, if any is listed. It's the first listed in the listing of diskutil cs list.
Then delete the Logical Volume Group with diskutil cs delete LVGUUID.
Enter exit and quit Terminal
Open Disk Utility. Enter 'Ignore' if you are asked to fix the drives.
Choose your SSD and erase it: 1 Partition Mac OS X Extended (Journaled), GUID Partiton table and hit Erase.
Please check that the size is ~121 GB

Example:

Choose your HDD and erase it: 1 Partition Mac OS X Extended (Journaled), GUID Partiton table and hit Erase.
Please check that the size is ~2 TB

Example:

Quit Disk Utility and open Terminal
Enter diskutil list

Example (your disk identifiers and sizes are different of course: Your volume SSD probably has the Identifier disk0s2 and the size 121 GB and your volume HDD probably has the Identifier disk1s2 and the size 2.0 TB):

Enter diskutil cs create "Name" IdentifierSSD IdentifierHDD
In your case probably diskutil cs create "Macintosh HD" disk0s2 disk1s2.

Copy the resulting LVGUUID

Example:

Enter diskutil cs CreateVolume LVGUUID jhfs+ "Macintosh HD" 100%.

Example:

Enter diskutil cs list
Check the size of your Logical Volume. It should have the size ~1.121 TB
Quit Terminal
Open Disk Utility and check your newly created volume for errors
Quit Disk Utility
Open Restore OS X. Install and configure OS X. The original OS X your Mac came with will be installed.
After configuring OS X, download the newest available system installer with App Store and upgrade your system.


I can't delete a calendar event I did not create

My first thought would be to disconnect the calendar (I'm assuming this is a shared calendar of some kind) on all your devices, and then reconnect the calendar to see if the reoccurring deleted event still happens.

If the event is still getting downloaded to your device and spamming you constantly, you may need to contact the creator of the event to remove it from the calendar or otherwise change some settings.

(Is the calendar causing you problems using Exchange, iCloud CalDAV or Gmail CalDAV? I tend to find Gmail CalDav really finicky with iOS devices especially.)


Creating a Windows partition on an external drive

This is based on my own experience of installing Windows 10 on an external drive:

Step 1: Download VMWare Fusion and use the 30-day trial. You do not need to do this if you already have a computer with Windows 10

Step 2: Search "windows 10 iso image" and click the first link from Microsoft. Download it.

Step 3: Open the VMWare application and upload the Windows 10 iso image onto it, and run Windows. You do not need to do this if you already have a computer with Windows 10

Step 4: Go on your virtual Windows and download WinToUSB from this: https://www.easyuefi.com/wintousb/.

Step 5: Open the WinToUSB tool and upload the same Windows 10 .iso image onto it, and choose which version to install. Connect your external drive to your Mac, make sure it connects to VMWare, and select it once it shows up on WinToUSB.

Step 6: Wait until the tool installs Windows 10 onto the external drive. While this is running, go to the Bootcamp app and ONLY download the Windows Support Software.

Step 7: Once the WinToUSB tool finishes installing, you can close out of VMWare by shutting down from the virtual Windows. The connected external drive should show up on your mac again, and drag the Windows Support Software folder into the drive.

You should now have an external drive with Windows 10 on it, and the Windows Support Software on it as well. You can boot from it by restarting and holding option and choosing the external drive. Use the Windows Support Software to install the correct Apple Drivers in the external drive when inside the Windows 10 boot.

This was the method that worked for me on an Early 2014 MacBook Air on High Sierra and should work on yours. Comment if you have any problems.


How can I share a large, 60 GB file with iCloud Drive?

In general, iCloud is not a person-to-person sharing platform. It is mostly restricted to sharing with your devices, so there is almost no capability to share with others. It does have the ability to share Photos and videos in a limited fashion, called 'Family Sharing".

In El Capitan, Apple introduced a feature called Mail Drop. This feature duplicates what many have done using services such as Dropbox: it automatically uploads a large file to iCloud, and embeds a link to that file in the email message.

If your recipient uses Apple Mail in Yosemite or El Capitan, Apple Mail automatically downloads the file from iCloud, so it looks like the attachment was sent via mail, when really only the link was sent via mail.

For more on how this works, here is the latest Apple support info.

This sounds perfect for your needs. However, Mail Drop has a limit to the file size of 5GB. It claims not to work on file sizes over 5GB (no direct personal experience). Therefore, it likely won't support your use case of 60GB.

Dropbox and Box.com do work in this manner and allow you to create both public and private links to whatever files you wish. Both offer free tiers, however, the free accounts are limited to 5GB, so your 60GB file will required a pay account.

Honestly, given the size of your file, it might be simpler, and far cheaper to put your file on a 64GB USB stick and use snail mail.


How Do I Type with IPA (International Phonetic Alphabet)?

You should normally not have a problem making the IPA keyboard work. It uses "dead keys" to create the IPA characters. A “dead key” is a key that does not generate a character, but rather changes the character generated by a following keystroke. For example, in the IPA keyboard, to get the “ə”,you would type the dead key “=” followed by the “e” (=e).  Charts showing the how all the IPA characters are made this way can be found in this PDF.


The second partition of your internal disk got the wrong partition type, your data probably won't be lost.

A bootable OS X partition (except the Recovery HD) either has the GUID 48465300-0000-11AA-AA11-00306543ECAC for a standard OS X partition or the GUID 53746F72-6167-11AA-AA11-00306543ECAC for a CoreStorage partition. The 55465300-0000-11AA-AA11-00306543ECAC designates an Apple UFS partition.

It's unclear what happened to the Recovery HD partition.

The first block of a standard OS X partition doesn't contain non-zeros, the first block of a CoreStorage partition contains some non-zeros. To get the first 3 blocks of a partition enter sudo dd if=/dev/diskXsY count=3 | hexdump.

The GUID can be modified with gpt. Modifying the GUID partition table with gpt requires to unmount the whole disk which can't be done if you boot to its Recovery HD or another boot volume on the same disk.

Boot to an independent OS X/macOS system providing hexdump. You may have to install a full bootable OS X to a thumb drive (>16 GB) - an OS X installer thumb drive isn't sufficient!
Open Terminal in the menubar Go To > Utilities > Terminal
Get an overview with diskutil list
Get an overview of your internal disk with the disk identifier found in the previous command. Below I assume the disk identifier of your internal disk is disk0 (replace it with the one you have found in your environment)

sudo gpt -r show disk0

Unmount disk0 with diskutil umountDisk disk0 if booted to an external disk/thumb drive with a full OS X/macOS
Quick check if the 1269536 blocks following disk0s2 are a Recovery HD:

sudo gpt add -i 3 -b 353515960 -s 1269536 -t 426F6F74-0000-11AA-AA11-00306543ECAC disk0
diskutil verifyVolume disk0s3

If the volume verification doesn't reveal an error you probably recovered a deleted Recovery HD. If you get an error just remove the third partition again:

diskutil umountDisk disk0
sudo gpt remove -i 3 disk0
diskutil umountDisk disk0

hexdump the first 3 blocks of the Apple UFS partition:

sudo dd if=/dev/disk0s2 count=3 | hexdump

The following result identifies it as a normal OS X partition:

0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000400 48 2b 00 04 80 00 21 00 48 46 53 4a 00 00 01 ff
0000410 d3 8c 77 d3 d4 33 3c b0 00 00 00 00 d3 8c 5b b3
0000420 00 00 02 a8 00 00 00 25 00 00 10 00 00 fe b7 f6
0000430 00 fe 1e fa 00 ed 80 00 00 01 00 00 00 01 00 00
0000440 00 00 10 f2 00 00 5a 9d 00 00 00 00 00 00 00 01
0000450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000460 00 00 00 00 00 00 00 00 7d 9d b0 3a 02 31 62 f0
0000470 00 00 00 00 00 1f e0 00 00 1f e0 00 00 00 01 fe
0000480 00 00 00 01 00 00 01 fe 00 00 00 00 00 00 00 00
0000490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00004c0 00 00 00 00 00 60 00 00 00 60 00 00 00 00 06 00
00004d0 00 00 0a 00 00 00 06 00 00 00 00 00 00 00 00 00
00004e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000510 00 00 00 00 03 10 00 00 03 10 00 00 00 00 31 00
0000520 00 03 ac 00 00 00 31 00 00 00 00 00 00 00 00 00
0000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000560 00 00 00 00 05 40 00 00 05 40 00 00 00 00 54 00
0000570 00 00 10 00 00 00 54 00 00 00 00 00 00 00 00 00
0000580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000600

The first number is the byte count in hex: 0000000: 0; 0000600: 1536. The * denotes identical lines. This means: the first two blocks (0x000-0x3ff) are all zeros.

A CoreStorage partition shows some non-zeros in the first block (0x000-0x1ff):

0000000 0c 73 a1 a9 ff ff ff ff 01 00 10 00 07 14 d7 01
0000010 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000030 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000040 00 20 c1 cc 0f 00 00 00 00 00 00 00 00 00 00 00
0000050 00 00 00 00 00 00 00 00 43 53 01 00 00 00 04 00
0000060 00 10 00 00 00 00 40 00 11 bc fc 00 00 00 00 00
0000070 11 c0 fc 00 00 00 00 00 11 c4 fc 00 00 00 00 00
0000080 11 c8 fc 00 00 00 00 00 00 00 00 00 00 00 00 00
0000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000a0 00 00 00 00 00 00 00 00 10 00 00 00 02 00 00 00
00000b0 62 02 98 59 ee a9 ab 51 9b 49 23 90 2e f8 8b 43
00000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000130 e4 6e f8 f2 63 99 45 c1 b2 13 86 28 a5 18 46 6d
0000140 c4 51 c0 f6 32 f9 43 ab 8e 59 42 d2 1a ef f6 50
0000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000400 48 2b 00 04 80 00 21 00 48 46 53 4a 00 00 01 ff
0000410 d1 98 a4 93 d4 33 8b d5 00 00 00 00 d1 98 88 73
0000420 00 06 07 53 00 01 82 39 00 00 10 00 00 fb 6a 00
0000430 00 c5 1c 55 00 25 73 c7 00 01 00 00 00 01 00 00
0000440 00 0d e2 65 00 3e a2 fb 00 00 00 00 02 20 00 fb
0000450 00 00 00 31 00 06 b9 ef 00 00 00 00 00 00 00 00
0000460 00 00 00 00 00 00 00 31 fb 48 1e a0 6c 47 a2 9f
0000470 00 00 00 00 00 1f e0 00 00 1f e0 00 00 00 01 fe
0000480 00 00 00 01 00 00 01 fe 00 00 00 00 00 00 00 00
0000490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00004c0 00 00 00 00 00 60 00 00 00 60 00 00 00 00 06 00
00004d0 00 00 0a 00 00 00 06 00 00 00 00 00 00 00 00 00
00004e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000510 00 00 00 00 0e 40 00 00 01 30 00 00 00 00 e4 00
0000520 00 00 10 00 00 00 e4 00 00 00 00 00 00 00 00 00
0000530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000560 00 00 00 00 11 d0 00 00 01 30 00 00 00 01 1d 00
0000570 00 02 80 00 00 00 72 00 00 13 30 97 00 00 13 00
0000580 00 15 c5 aa 00 00 13 00 00 18 2d 23 00 00 13 00
0000590 00 19 d8 fb 00 00 13 00 00 1b 76 cb 00 00 13 00
00005a0 00 1c 34 70 00 00 13 00 00 1d 0e 4d 00 00 13 00
00005b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000600

The line starting with byte 0x130 shows the UUID of the Physical Volume, the line starting with byte 0x140 shows the UUID of the Logical Volume Group.

The string 48 46 53 4a (= "HFSJ") in the first 16 bytes of the third blocks identifies a Journaled HFS+ volume.
Remove the second partition:

diskutil umountDisk disk0
sudo gpt remove -i 2 disk0
diskutil umountDisk disk0

re-add the partition with the proper type
either a normal OS X partition

sudo gpt add -i 2 -b 409640 -s 353106320 -t 48465300-0000-11AA-AA11-00306543ECAC disk0

or (if you have found a CoreStorage partition)

sudo gpt add -i 2 -b 409640 -s 353106320 -t 53746F72-6167-11AA-AA11-00306543ECAC disk0

Finally verify the disk with diskutil verifyDisk disk0 and/or diskutil verifyVolume disk0s2. If a partition/file system error is reported, add a comment here, but don't actually repair, initialize or copy anything.


Reset screen saver settings on timer or on load

If you want to change screen saver with applescript:

tell application "System Events" to set current screen saver to screen saver "Flurry"

Replace "Flurry" with the screen saver you prefer. You then need to use the many available ways to execute the code when necessary.


How to force macbook reconnect to best wifi after sleep?

Go into System Preferences-> Network. Select Wi-Fi and click "Advanced" change the order of preferred networks so that your home network is listed before your Android hotspot's.


Cannot pair Playstation 3 controller to iMac

Are you're suggesting that you bought the controller used? If that is the case, are you sure that the battery isn't shot? Try leaving the USB cable plugged in and let the controller charge for a while. From my experience, if the battery is charged then pressing the PS button should at least blink something.

I have owned a PS3 only for the last year and rarely use it, but I have noticed that it only seems to charge when plugged into a PS3 as it doesn't seem to do much when plugged into an outlet that has USB charging ports on it (never tried an independent USB charging adapter).

If your battery is toast, I think you can find replacements on Amazon for several dollars. Documentation on the internet seems to indicate that replacing the PS3 controller battery is trivial for someone with basic electronics repair skills.


EDIT: Although I am not certain of why cron fails to work for this specific use-case, this answer is superceeded by the (currently more correct) answer using launchd.

Use crontab -e in the terminal application to add /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend to the Crontab at the appropriate time, like so (for 5:30 PM):

30 17 * * * /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend


How to get back Exchange history in my iPhone XS

With Microsoft Exchange server all information is stored on the server itself, the only thing that is stored on your iOS device are the message headers and a few of the most recent messages that you have recently read.

Once you delete an email account (of any kind) from the iPhone the message headers and messages stored there are deleted. I suppose that if you have a backup of your device from before that time on your Mac you could use one of the many iOS backup extraction apps might be able to get some of that info off of the backup, assuming it is not encrypted.

And like IconDaemon pointed out you have no legal right to the messages without the permission of your former employer. The best way to get needed info out of emails is to contact them and request the specific messages you need.


Set network proxy by group on Open Directory

Yes.

You will have to use Profile Manager and manage the settings on the Mac. Set up a default profile with the default proxy settings for the managed Mac.

You can then set the profile for any of the groups you create in Open Directory to override those settings.

A Profile Manager tutorial is a little beyond an answer here but check out:

http://www.apple.com/au/support/lionserver/profilemanager/

and

http://krypted.com/mac-security/configuring-using-profile-manager-2-in-os-x-mountain-lion-server/

For the Ethernet proxy settings you will have to use a Custom Settings payload. The Ethernet proxy settings are in /Library/Preferences/SystemConfiguration/preferences.plist so you will have to import them once with no proxies set then set the proxies and import them into the second profile.

You will find Custom Settings at the bottom of the settings list on the left of the Profile Manager screen.


Problems connecting to HTTPS websites on unsecured WiFi

The certificate is not trusted because the issuer certificate is unknown.

Given the google host, it is not very likely that the host itself is the cause of the error.

It sounds like there may be a SSL proxy, or some other form of deep packet inspection on the network.

This may be a rogue agent, or a legitimate part of the corporate network.

The idea is simple enough, each client has a root certificate installed for which the private key is known by the router or proxy. The proxy then acts as a "man in the middle" and decrypts and re-encrypts data on the secured connections. This allows the proxy to do a deep inspection of then content to and from external sources, such as https sites.

Some may argue this is a bad thing, since the proxy (and possibly whoever has access to the proxy) can now see all the data that is thought by the user to be secured end to end. Some may argue it is a good thing since the corporate can inspect and verify, and protect itself against, data leaving and coming into the network before it reaches the end point.

The other users may not be experiencing the same symptoms as you if they already have the proxy certificate source installed as a trusted CA, but the deep packet inspection is still being done.

There are many resources in the internet covering this issue, here are some of the first hits covering this;

http://cookbook.fortinet.com/why-you-should-use-ssl-inspection/

And

https://en.wikipedia.org/wiki/Man-in-the-middle_attack

  "The page you reached is blocked for browsing!"

Given the above possibilities, I would suspect a firewall (or the proxy) is blocking you as well.


Yes. This is very easily done. All you need to use is iPhoto. Plug the device in, and (if it hasn't already,) open iPhoto. Click your device in the left-hand side menu, and click "Import Photos" on the prompt. The photos & videos will now be imported.

At the end of this, there will be another prompt. Click "Delete Photos" and the photos & videos will be removed from your device.


What features of Mavericks are beneficial to you?

The overhaul of the virtual memory system makes it clear that memory pressure is the primary factor to track and not how many free pages, inactive pages or overall virtual memory is allocated.

The bottom panel is invaluable for diagnosing a slow machine and knowing whether to rule out memory contention as a cause of the slowness. After running your Mac for a week, you should reach a nice steady state like shown above and can know if adding more RAM or adjusting the programs you run will affect performance.


Changing Terminal colors when ssh-ing into remote machine and back

I'm using the following.

Have a shell command, called myssh, with content:

PROFILE="$1";shift;
DEF="Basic" #the default profile name
echo "tell app \"Terminal\" to set current settings of first window to settings set \"${PROFILE}\""|osascript
ssh $@
echo "tell app \"Terminal\" to set current settings of first window to settings set \"${DEF}\""|osascript

and use bash aliases for the connect, like:

alias ssweb='myssh Homebrew user@web.example.com'
alias ssmail='myssh Ocean me@mail.example.com'

When I want to ssh into the web server, I simply write ssweb in the Terminal and I got the "Homebrew" profile. When the ssh session ends, the AppleScript sets back to the "Basic".

The aliases should go into your $HOME/.profile or similar bash-startup file.

The "Homebrew", "Ocean" etc. are the setting profiles from the Terminal.app preferences. You can also set up different fonts, encodings, etc.

Of course, you can use it directly (without aliases) like:

myssh Pro user@another.machine.example.com
       ^        ^
       |        ssh command arguments
       terminal profile name


You are overthinking this as there is nothing special about the lithium battery that requires special storage considerations.  Just store it like you normally would; I put mine on a bookshelf to hide it from the inevitable human curiosity of the dog walker/plant waterer when I go on extended trips.

Your lithium ion battery is going to lose capacity whether you use it or not because the biggest factor in the longevity of a battery is age not how much it's charged.  Now, the amount that it loses over the month is going to be negligible; you won't even notice.

I posted an answer that is relevant to this question:  MATH FINDS TOP CULPRIT AS LITHIUM-ION BATTERIES AGE

Just leave it plugged in over the month and you will be fine.


Transferring Messages from old Mac to new Mac

I was able to retrieve my ~/Library/Messages folder from a backup and copy it to a new Parallels macOS VM under the my Home folder on that VM. When I logged into the VM, I saw all my old messages.


Cannot ping IPv4 address, but IPv6 ping works

I had a similar issue and got a positive response when using IPv6 (ping6) but not IPv4 (ping). I also had the symptoms described in the question Why will my Mac only load Google and Facebook?.
This problem started to appear after disconnecting from the VPN. So, after terminating the VPN service, networking began to work fine again.
sudo killall -9 vpnagentd ciscod


How do I stop Facebook iPhone app from notifications every time a friend does something?

Found it-- turns out there's a whole DIFFERENT set of notification prefs in the Settings app. (What a crappy app!) So I can turn them off there...


Keep color but not font or font size when copying into TextEdit

If you pop open your Web Inspector (or the equivalent in your browser) there will be a Javascript console. You can run your own code and apply your own styles to the page.

You could set all the text to be the same style, and leave the color alone:

var myStyle= document.createElement('style')
myStyle.textContent= "* { font:normal 16px/1.4 sans-serif !important; }"
document.head.appendChild(myStyle)

Then copy the text. Good enough? :)

You can make a bookmarklet, so that you can do that in one click on any page.

Magic

Make a text file with that content, name it magic.html, open it and drag the link to your Bookmarks bar.


How to install iPhone apps through OTA without iTunes interaction?

The Simulator does not use a bundled .ipa file; it uses the constituent application.  Furthermore, the Simulator runs an x86 version of the application with tweaked x86 versions of the iOS frameworks.  In other words, there is no good way to get an .ipa package to run in the Simulator.  The original developer could build for simulator then provide you with the relevant contents of ~/Library/Application\ Support/iPhone\ Simulator/User/Applications/ but that's really your only hope as far as I know.


How can I get my headset to work with my MacBook Air? (13-inch, Mid 2013)

You can use the earphone portion of the headset by plugging the appropriate cable into the audio output jack on the Air. The Air does not support plug-in microphones as it only has 1 analog output jack. The boom and Startech splitter will not be of use in this configuration.

My recommendation would be to purchase a Mac-compatible stereo headphone + mic to USB adapter. That would enable you to enjoy both quality audio and benefit from the close-field mic boom on the headset. Alternatively, you can just use the headphone part for listening and the built-in mics for speaking.


Get out of booting into Ubuntu on multi-OS Mac

If you properly install Ubuntu 18 Desktop, then you should be able to hold down the option at startup until the Startup Manager appears. You then can select the icon representing macOS which should boot macOS. If you hold down the control while selecting the icon, then macOS will become the new default operating system to boot.

The Startup Manager should also show another icon which represents Ubuntu. Since the Startup Manager can be used to boot either macOS or Ubuntu, the use of rEFInd is optional.

  If macOS does not appear in the Startup Manager, then you probably erased macOS when you installed Ubuntu.

If you choose to install rEFInd, then you should install rEFInd to separate EFI, FAT, or JHFS+ formatted partition. If you do this properly, then you can select rEFInd from the Startup Manager. In other words, the Startup Manager can be use to enable/disable rEFInd.

  Note: You should not need to use the bless command or disable System Integrity Protect (SIP) to install Ubuntu or rEFInd.


How to keep mac, iphone, icloud and gmail contacts in sync?

Mail
use the Gmail template on iOS to have the best Gmail experience on iPhone, use Sparrow to have the best experience on Mac. It will use your Gmail contacts and the one you have on Address Book.
Contacts
Use iCloud for contact syncing on the Mac and the iPhone. You won't have the contacts on the Gmail webapp, but you can still find them on icloud.com.


How can I resize OS X 10.7 Lion display screen resolution during install?

Ran into the same issue.  Followed YouTube video of installation in order to figure out the following:

Once the disc is booted, select Reinstall OS X.  You will then reach the screen where you cannot see the Continue button.  Using your keyboard, press TAB followed by SPACE.  You should then reach the User Agreement screen.  Press TAB, TAB, TAB and SPACE.  Click the Agree button which should be visible.  Click the installation drive and press TAB, TAB and SPACE.

This should get you to the point where Lion is installing.


How do Apple's USB Power Adapters allow for more power output than is possible in the USB 2.0 specification?

In the official website, it say "USB Power Adapter" without specifying which version of the USB port, why do you think it's 2.0 version ?

Also, the power allowance from USB 2.0 specification is for powering connected devices (mice, keyboards...). For charging, there is Battery Charging Specification

You can read more in here:
https://www.maximintegrated.com/en/design/technical-documents/tutorials/4/4803.html


Open terminal and run below commands

cd /Applications
xattr -d com.apple.quarantine Xcode.app

This will bypass Gatekeeper in OS X and launch Xcode quickly.


I fixed this for my smart mailboxes (Mail.app v7.0 1822) by following these steps:

Open a terminal
Re-index Spotlight

sudo mdutil -E /

I suspect this is related to Mavericks improvements in Spotlight, as it now indexes Mail.app messages much better than in previous releases.


How to resize the main volume to its original or full size?

You are not required to use core storage unless you have a Fusion drive or need encryption. In your case, the drive does not have any core storage partitions. Your question does not contain enough information to determine what hidden partitions may exist on your drive. To determine this you would need to edit your question and add the output from the following commands.

diskutil list
sudo gpt -r show /dev/disk0
sudo fdisk /dev/disk0

You should enter these commands while booted normally to OS X. Some commands may ask for your login password. This is normal.

Assuming you just have a EFI partition closely preceding and a Recovery HD partition closely succeeding the Mackintosh HD partition, you can add the blank space to this partition by following these steps.

Boot normally to OS X.
Setup the Disk Utility application just as shown in your image.
Enter a new size of 1000 GB, then press the return key.
The size should change to the maximum value.
Click the Apply button. Note: This can take a while if there is a
hidden Recovery HD partition.


Best practice for installing applications for multiple users?

Best practice - use one admin account that is used to install applications. Start application with the admin account after download.

Avoids file permission problems when updating applications.
As long as the admin account has OK:ed the "downloaded from internet" popup, the other users do not have to.
If the other users are not administrators, they will have less automatic update notifications (at least System Update will not run).
Avoids the need for cryptic terminal commands after every installation.


Why is Java SE 6 Legacy required to open Intellij?

Edit /Applications/<Product>.app/Contents/Info.plist file, change JVMVersion from 1.6* to 1.8*

<key>JVMVersion</key>
<string>1.8*</string>


How do I install Windows 7 on a MacBook Pro running OS X Sierra?

Update to macOS 10.12.2 or above in order to become nostalgic again.

  Adds support for new installations of Windows 8 and Windows 7 using Boot Camp on supported Macs.

About the macOS Sierra 10.12.2 Update


If you want to do this without using external application there is a good answer here

https://apple.stackexchange.com/a/130099/46541

DefaultKeyBinding.dict

Create ~/Library/KeyBindings/DefaultKeyBinding.dict and enter

{ "~l" = (insertText:, "@"); }

This rebinds ⌥L to insert @

~ = ⌥

Quit and reopen applications for the change to take effect

Some examples of external sources

https://apple.stackexchange.com/a/112381/46541


Is it possible to specify a different root device to a MacOS kernel?

If your USB drive is partitioned with Apple Partition Map and the volume with Mac OS X is HFS+ formatted it will probably boot iBook G4 by simply holding Alt/Optn at startup and choosing said disk.

This may not work on occasion of USB chipset in external box is not compatible.

It will probably not work if you just copied content of your hard drive and not restored it through Disk Utility (or cloned by other means).

If you cloned it properly and it still not booting try this Open Firmware trick.

P.S. Here is a link on how to change HDD if you will decide to go that route. I've done it few times. I've been putting this drive inside. But now I would definitely buy IDE 2.5 32GB SSD from ebay for the same money but better speed. Still I'm not sure if it worth it if you have one of the slowest of iBook G4 models.


Ipod touch 5 stuck on voice over when restarted


How to complete remove all links to default PHP version?

Try this:

sudo mv /usr/bin/php /usr/bin/php5
sudo ln -s `which php` /usr/bin/php

The first command backs up the old PHP binary. It can still be used by invoking php5 in a command line. The second command symlinks the new PHP 7 binary to the location of the old PHP binary. Therefore, scripts that use the old location will start using the new PHP version.


Finder closes after emptying trash or ejecting a disk

You could probably write a script with grep and diskutility that opens finder whenever the count of disks changes?


Where did these creepy google/gmail icons come from?

After slightly more digging, I see that Chrome now (it's a new behaviour, likely 2-3 months old) bundles them with new installs, since I use the chrome command separately to create new instances, it added those icons just now, for that instance specifically, so when I click them, they just open the main Chrome and not the webpages

Still pretty creepy tho, they seem to be only removable from ~/Applications - and a restart is probably needed for a refresh

Edit: After a while the icons disappear after removing the files


In general you can just drag the icon from the Textmate window title to get hold of the file. If you drag it into a Terminal window, the path will be inserted automatically.


How does Apple achieve such an ultra fast boot up?

There are many factors that go into booting speed (age of computer, processor, hard drive type and speed). The biggest factor is that Apple has a closed environment and it's OS knows what to expect in terms of hardware and is optimized for that hardware. With Linux and Windows, there are many factors that the OS has to take into account driver-wise in order to optimize itself.


Identify correct guid for diskutil command

Answer:  Yes, disk space was in fact missing.  "Get Info" on Macintosh HD came up 30gb short.
Solution:  I backed up the whole disk to Time Machine, wiped it, and restored.  Needed some follow-up fixes to things like Google Drive, but all-in-all, it went well.
-Rolf


To discontinue line in many lines in Xcode

Choose a file.
View -> Utilities -> Show File inspector then deselect Wrap lines in "Text Settings".


It's MacRoman being read as if it were iso-8859-1 or similar.  This chart shows the codes  http://www.alanwood.net/demos/macroman.html


Which internal Blu-ray drives are compatible with a unibody Macbook Pro?

The following YouTube video by breakbeet808 confirms that

... It is now possible with the Panasonic/Matshita UJ167 9.5mm slot-loading BD-ROM drive, and/or the UJ-267 BD-Recorder drive, and some extra software: Mac Blu Ray Player from MacGo.

However, these blu-ray drives are not a "100% direct swap out replacement":

There is a slight difference with some mounting points on the top side
of the drive. The problem is solved by swapping the drives' upper
casing out. (see "How to upgrade to the Panasonic/Matshita UJ167 drive")

Once you finish the upgrade, OS X will "recognize blu-ray discs and it will be available to the file system like any other optical disc".

How to upgrade to the Panasonic/Matshita UJ167 drive
This may void your warranty. Try this at your own risk.

Remove the original superdrive. (You can follow instructions by ifixit, for example.)
Remove the top metal shell of the drive itself, by removing its four screws. You'll also have to peel off a strip of silver tape that connects the top shell to the bottom shell. This will expose the internal guts of the superdrive. It's this top metal shell that we need to keep, it has the mounting holes in the right spots, so be very careful not to damage it. Do not touch any components inside of the drive. You may want to look up how to do this, it's a little tricky to free it up successfully.
Now remove the top metal shell of the new blu-ray drive in the same fashion.
Swap out those top metal shells, and screw the drives back together. The top metal shell from the original superdrive should now
be on the new blu-ray drive.
Now also swap out the small Y shaped mounting bracket from the plug-side of the superdrive and screw it to the new blu-ray drive - those two screw holes do match up exactly already.
Carefully unplug the flexible data connection cable from the old superdrive and plug it onto the new blu-ray drive.
Reinstall blu-ray drive.


Full Screen Mail.app with other windows in other Desktops - Lion

When I need to open a message in other desktop I quit full screen mode, open the message(s) and then fullscreen again: just the main Mail window goes to fullscreen, leaving the messages windows open in the desktop where they were open.


How did you delete Photos.app. It's an required macOS app. It's like if you try to delete System Preferences.

Maybe you didn't see the app. Try to search it with Spotlight.


Deleting files requires password and doesn't increase free space

google a program called Grand Perspective and run that and you can see where the files are sitting as it scans your hard drive.


"git commit -a" causes "subl -w: subl: command not found"

The issue is that git commit is trying to use an editor to allow you to create a commit message. The editor for git is possibly overridden in is set in your ~/.gitconfig file. There will be a [core] section which sets the editor

e.g. for Sublime Text

[core]
  ...
  editor = subl -w
  ...

remove the editor line to make the default editor go back to the shell's default editor


Operation not permitted "sudo ditto -v to folder /usr/bin"

The folder /usr/bin/ is (like other system folders in El Capitan) protected by SIP (System Integrity Protection).

You may either boot to Recovery Mode, disable System Integrity Protection with csrutil disable entered in Terminal.app and after rebooting copy the executable or use the folder /usr/local/bin instead. You may have to adjust your path in the latter case.


Very strange partition table: Missing a sector between Main and Recovery partition

Rebooting the system reorganized the list on my mac


Lost all my contacts on iMac when I upgraded software

It sounds like your iCloud is not configured on your Mac. Go into system prefs and make sure you are signed in to your iCloud account, and make sure it's the same iCloud account that your phone is signed in to.


This is a little dated, and it might not be exactly what you wanted, but it still should work.  There's no simple way of doing this.  You'll need to get an app named Reflector and Google Hangouts, Skype, or iMessages to share your screen.  Here's the link to the site I found this but I'll also list out the steps in case the link goes down: http://mgalligan.com/post/29978268510/screen-share-iphone-live-on-internet

Download Reflector (this awesome app allows your computer to become an AirPlay compatible display)
Activate Reflector - It’s simple. Just open your newly downloaded Reflector app, double-tap your iPhone’s home button, swipe left twice to show off the volume control and a small button to the right to share the screen. You should see “iPhone” or “iPad” depending on your device, and then the name of your computer below that. After tapping on the name of your computer, make sure “Mirroring” is ON. Note: You should now see your iPhone’s screen on your computer screen. Go ahead, test it out.
Start a Google Hangout, Messages.app or Skype screen share. Note: if you’re using Google Hangouts and use multiple screens, make sure that your browser window with the chat in it is on the same screen as the Reflector app. Simply choose the Reflector app as your intended screen share and voila!


What are the variables needed to access focus properties in split screen view?

I've been searching for this answer for years, and I've become very good at tracking down hidden functionality... To no avail unfortunately. Apple has no mechanism for doing anything with spaces programmatically. The only facility I found is by running the defaults command and (under one of the defaults whose name I can't recall at the moment) there is an area that'll give you cryptic window numbers and the spaces they belong to. The issue is that list isn't updated live, so it isn't really that useful. I'm still searching, but I'm fairly certain there is no Apple-approved way to interact with spaces, or split screen, or any of its other manifestations.

EDIT: Oh yes, it's "com.apple.spaces". Run the command defaults read com.apple.spaces in the terminal to get to what I was talking about.

EDIT2: Also, there's a way to activate spaces with a little bit of C code:

CoreDockSendNotification(CFSTR("com.apple.expose.awake"));
CoreDockSendNotification(CFSTR("com.apple.expose.front.awake"));
CoreDockSendNotification(CFSTR("com.apple.showdesktop.awake"));

Each of these lines will make mission control do stuff, not that it's all that useful. There are other ways to do this...


Can I make tmux scroll from my trackpad?

The mode is referred to as "copy mode" and as long as you're running tmux 1.5 or higher you can add:

setw -g mode-mouse on

to your ~/.tmux.conf file and tmux will automatically enter and exit copy mode when you use the scroll wheel on your mouse.

As a bonus, this option allows you to select the tmux pane with your mouse:

set -g mouse-select-pane on


Two thunderbolt ports on my mid-2015 MacBook Pro how do I configure one monitor to be in mirroring mode and the other in extended desktop mode?

It is not possible to configure such a setup with the standard macOS GUI.

However, I think you might have understood something, and you do not really need such as setup.

If you want to be able to have 2 separate, external, 4k@60Hz displays that you can use for working with various windows - while the laptop lid is closed - then you do not need such a setup. You'll just need to make sure that "Mirror Displays" is not checked in the Display settings in System Preferences.

If you want to be able to have 3 seperate displays, where one is the internal laptop display and then 2 external, 4k@60 Hz displays that you can use for working with various windows - then you do not need such a setup. You'll just need to make sure that "Mirror Displays" is not checked in the Display settings in System Preferences.

If what you really want is to have the laptops display and a secondary, separate workspace that is mirrored between the two external displays - that's not achievable with the standard macOS GUI. However, that would also be a quite uncommon setup.


The iPad 1 should be good to go for a valid version of 5.1.1

http://www.icj.me/ios/all#iPad11

I'd say the easiest thing to do would be to take the iPad to a copy of iTunes that has a good internet connection or download a reputable copy (for whatever reputable means to you) of 5.1.1 IPSW and use your iTunes to wipe and restore the iPad.

Jailbreaking might be an option, but I'd go with easy.


Possible to selectively choose folders to sync at set-up time of OneDrive for macOS?

I have run into and struggled with the exact same issue with setting up OneDrive app for macOS. Here's what I have observed setting it up on multiple personal Macs.

Soon after logging into the app, it appears to start syncing all the files and folders, and trying to access the app preferences result in a spinning beachball. While it appears that the app is trying to download all the data from your OneDrive cloud storage, in reality that's not the case.

What's happening is that the app is fetching the metadata for all the files on your cloud storage without actually downloading the files themselves. I have experienced this process to take unusually long time, thereby giving an impression that it's trying to download all the files.

Also, the app by defaults comes configured with a setting called Files On-Demand enabled. Here's how it looks like in the app preferences window:

What this does it gives you an impression that all the files and folders are available in Finder. However, when you try to access any by trying to copy or open, the app actually starts downloading the file. The Finder simply shows the file icon normally and even trying to perform a Quick Look triggers a download.

In my experience, the app is programmed such that the app preferences are not accessible until this initial fetching of metadata is complete. But as soon as this initial fetching of metadata is complete, the app preferences become accessible, and then you can choose the folders to sync selectively. If you get an error when trying to select some folders and save, try relaunching the app.

Once you have selected the desired folders, you may also want to turn off Files On-Demand. Doing so would actually download the files for the selected folders and would even let you work with them in offline mode.

I find this feature of the app very annoying. Also, I feel that the overall UX of the app is very confusing and frustrating. You can consider sharing feedback on this with Microsoft here: OneDrive on Mac - Feature Suggestions for Microsoft OneDrive.

Now to address your specific queries:

  Is it possible to configure through the Terminal or otherwise which folders to selectively sync in the OneDrive app for macOS?

I can't conclusively answer this in no, but there aren't any publicly known command-line that can do this.

  Or, to select the folders to sync during the setup procedure of the app?

I have not found this feature present in the current version of the app.


Flagged emails keep returning and won't synchronize between Apple Mail and Gmail

Simply delete the e-mail entirely, then move it from the trash back to a folder (or the inbox). There should be no more flag.


A panic report isn't the right tool to investigate malware.

Many crashes are coming from commercial and not evil conceived pieces of software. Some of them are coming from MacOS X directly.
Crash doesn't mean malware.
Most of the time you can't reproduce these crashes at will.
To hide their tracks, most crapware will change their name as soon as activated.
If the crapware wasn't active at the time of crash, their won't be any usefull information in a crash report.

The right tools to investigate for malware are :

Tools to detect any system abnormal activity:

Activity Monitor

top

netstat

Little Snitch

This command will show any program which might attempt to penetrate your firewall:

tail -f /var/log/appfirewall.log

...
Tools to detect abnormal components of the system:

kextstat

this command searches for all recent setuid bit files:

find / -mtime -7 -perm +04000 -ls

tripwire

clamav, ClamXav

chkrootkit

...

If finally you think something is suspicious within a panic report,
try to investigate it with the above methods on the system alive.
To check which modules should be there use kextstat. Save a copy of its output, check another day, check when you install a software asking you for your admin password, check when you notice an abnormal slow down.


Vector dot product and scalar multiplication in Grapher.app

If you want to multiply two column vectors don't you have to transpose one of them? I got the transpose operator by typing ^T. (That's caret + T, not Ctrl+T)

I was able to multiply a vector by a scalar.

In your screenshot, the subscripts aren't consistent. Maybe it's part of your problem or maybe it's just some math I don't understand. This is all on the edge of my math knowledge.

Epilogue

For those who are interested, here is bjz's screenshot of his working version:


CalDigit TS3+ dock station causes Kernel Panic (macOS 10.15.6)

This may not be applicable however the bundled support and drivers for the TS3+ available at https://downloads.caldigit.com/ contain a kext called CalDigitThunderboltStationChargingSupport.kext found under /Library/Extensions/
This seemed to be the root cause of all my issues once this was removed I was able to restart & shutdown without issue for the past 4 weeks without issue.
the documented removal process can be found at https://archive.caldigit.com/KB/index.asp?KBID=142&viewlocale=1
If you have installed this it may be the cause of your issues.
I have held off responding until I had a significant amount of time without the issue re-occouring before commenting.


How can I set Mail.app *back* to the mailto: protocol handler?

In the General pane of Mail settings, there should be an option for setting the default mail client.


Some application screens won't redraw in MBP

Fixed it!

I installed the pending update for Safari, which I thought was quite irrelevant, and that has sorted it out. Initially I thought that this did some system 'tidying up', which kicked a graphics module back into shape. But a colleague points out that Mail may well use WebKit's rendering engine, and it is possible that all of the IRC clients I tried also do.

The problem is still most strange, as the update for Safari has been pending for a great deal longer than the problem, which must have cropped up around ten days ago or less. So it was working without that update, and furthermore I've not idea what I did to trigger the fault.

Still, sorted now. Hopefully this post will be useful for anyone who encounters a similar problem.

Lightbulb moment: I seem to remember that I used the Software Update feature to download but not install the Safari update (5.1.2) between Mail working and breaking. Since the update required a restart to install, I left it and forgot about it. My guess is that, although it appeared to just download the Safari update, in fact it modified (and broke) the current configuration. If I can find a way to feedback to Bad Apple (tm), then I'll do so. Feedback done!


How do I change the time format used by ls command line on osx?

If you install gnu coreutils then gnu ls is available, which will do as required. If you use brew as a package manager, it's as simple as:

brew install coreutils
gls -l --time-style=full-iso


Change the icon of an applescript-called notification

As of the Apple Documentation display notification does not have a parameter to change te icon.

Display notification will use the icon of your script. One of your option is to change the icon of your bundle (cf screen).


Where do I find the logs for OS X authentication attempts?

It's found in the secure.log (the path is /var/log/secure.log) and the entries would look something like this:

authorizationhost[5917]: Failed to authenticate user <cksum> (error: 9).

It does not log password attempts (the password they tried to use), just the actual unsuccessful (or successful) login attempt.

Additionally, to focus your search exclusively for failed login attemps, open Terminal.app (found in Utilities folder) and run the following command:

sudo grep 'Failed to authenticate' /var/log/secure.log


TextEdit has no direct image editing options.

You can, though, once you've added an image into the document, double click it to open it with Preview.

Through Preview you'll be able to perform some basic image editing such as size adjustment (Tools / Adjust Size) or adding figures or text (View / Show Edit Toolbar).


I can't remove items from the sidebar in Finder

On Lion, items that cannot be removed from the sidebar are usually listed under "Devices" or "Shared" (there are Snow Leopard counterparts to these as well). If you'd rather not see these items in the sidebar, you can remove them by following these steps.

With Finder focused, visit Finder->Preferences or ⌘, and select the Sidebar tab.
Uncheck items that you don't want shown in the sidebar


Weird OS X Terminal Bug: Cursor won't go back to end of line after backtracking

I know this is an old question, but I've been beating my head over this for a few days now and I've finally got it. It turns out the solution is simple: update bash to 4.3. The default bash on Macs (even Yosemite) is 3.2.

Install Homebrew with

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

then do

brew install bash

then change your default shell path (in Terminal Preferences) to

/usr/local/bin/bash

and that's it. Check your bash version with

bash --version

and as an added bonus, you can get mode indicators!

bind 'set show-mode-in-prompt on'

and it will show a + for Insert mode and : for Command mode.


I had a similar experience.

iMovie came with my MacBook Pro when I bought it in 2011, but I could not update it in 2014.

I contacted Apple Support, who checked the MacBook ID and restored the purchase.


Why can't my jailbroken iPhone connect to a wifi network?

It may still be a hardware issue -- I had a similar problem last year. But since you say that your phone sometimes does see a wifi network, there's hope that the hardware is okay.

First, follow the comments posted here to make sure you're running a completely normal OS without any hacks or modifications.

Then, here's Apple's description of how to reset the network settings.

Lastly, if it still won't work, check my link above.


Safari: using dtrace to investigate iCloud Tab Sync

The file that contains the iCloud tabs is:

~/Library/SyncedPreferences/com.apple.Safari.plist

It's a binary file, so you can use plutil to convert a copy to JSON/XML for processing. I expected the syncing to be via bird but some light spelunking with brctl log -w and other light snooping don't reflect changes I make to the tab database. There are quite a few nice projects on github that parse this file in python, JS as well as a nice menu bar app:

https://github.com/josh-/CloudyTabs

Knowing where the data persists on disk shows that syncdefaultsd is the owning process:

sudo fsusage -w | grep com.apple.Safari

Sadly, that private framework and daemon are basically undocumented by Apple save for what you can glean from the launchd plist for the service.


How to fix a distorted "File and Folder" view after upgrading to Mountain Lion and deletng Houdini?

The files are not "distorted"; they just are not arranged in rows. When you have the files in icon view, you can arrange them however you like.

If you want to have a particular window arranged by name, you can press ⌘J to bring up the inspector pane, then select the criteria you want to "sort by"


Macbook Pro Retina 15'' - High CPU temperature

Lets me try to help you to understand what is going on here:

Any third party software uses the already available information from your Mac as designed by Apple that uses thermal diodes attached to different points in the system. Apple has done a lots of work to correctly manage the thermal load already.

The coding and the mathematics to covert the given information correctly in to the Temperature readings outputs by third party software could be tricky, so use it with grain of slat, since it varies a lot from Hardware (diode) + EFI + CPU types from system to system. In English, the third party software's are not always calibrated for your specific system.

Note from Intel:

  Intel® Processors have built-in thermal protection. If the processor
  gets too hot, the built-in protection shuts down the computer. If your
  computer is not over-clocked and is running under the design
  specifications, the built-protection can help prevent damage to your
  system.

High Temperature readings:

If you use a third party software to measure the temperature or the Extensible Firmware Interface (EFI) readings, contact the software vendor to ensure the software is validated to work with your processor.

If you still want to know more or you see weird Temperature reading, please go to Intel web site and look for your specific CPU specifications. It can not be hotter outside then inside since the CPU is the source of heat, otherwise your computer will just shut down initiated by Intel's CPU internal protection.

However, if that happens (the shutdown by the CPU), then you need to repair your cooling system (fans + heatsinks ect.)

So I just looked up at Intel for my Intel Core i5 (1.8 Ghz)
and it shows Maximum temp to be 105 Degree Celsius and it has the build in thermal protection.


Can I use my Apple ID to download apps I've purchased onto a friend's iOS device?

If you choose to do so, your friend will not be able to update apps without knowing your password. If you give your friend your password, they will then be able to shop for apps using your account.  The other problem is that your friend may not be able to sync with his/her computer without erasing the apps.

The last problem is Apple restricts each Apple ID to a fixed number of devices in a rolling window. At the moment, I believe you generally get frozen after 10 devices in a short time. I was setting up a deployment of 100 iPads using iCloud backups, and we hit a 90 day freeze for that account after 10 devices hit the App Store. We didn't care about updating apps - the end users were to delete these free apps once training was completed and part of the training was for them to make their own accounts and re-download the things we "staged" for initial training.


How to turn off Mountain Lion's screensaver's password requirement?

Under System Preferences -> Security & Privacy there is an option to not require password to wake computer from sleep or screen saver.


How can I change the position of alerts pop up?

Unfortunately, there is no built-in way to change the position of the popups still. Problem is well known (for instance, see here: Change location of notification center alerts).
The only way you can customize the position of notifications is to use commercial app - Growl (http://growl.info) for those apps that support it or turn all or some notifications off via System Preferences -> Notifications.


Trick Mac into thinking it has an external display

There’s no good way to set this in software, but you can get dummy display plugs for a fraction of the cost and space of an actual display.
They connect to a display output & fool the computer into thinking it's really a display. They're usually used for headless servers, but there's no reason I can think of you couldn't use one for your "second monitor" situation.
They come is various forms, HDMI, DVI, DP, VGA etc. Google/eBay/Amazon etc can find lots of them. Search for Ghost display or headless display. Quality on these can vary widely so consider buying some spares if you are not buying from a vendor with a return policy that you like.
Random pic of many types, anonymised


I do not have an answer of why this situation occurred.  However,  the problem was corrected by restarting networking:

 $sudo ifconfig en0 down
 $sudo ifconfig en0 up


Time machine full restore only shows "complete backups"

It appears that you disabled backing up system files by dragging /System directory to ignore list. "Full backup" means that OS X files are also backed up. It seems that in your case they are not, so you cannot restore the system from this backup.

Your way to go now is:

Backup the last time if you still can
Boot to Internet recovery if your Mac has it (if not, update EFI to get Internet recovery) or from disks that came with your Mac (if you have them)
Reformat the disk, keep "Macintosh HD" name
Install a fresh copy of OS using Internet recovery or disks
Internet Recovery will give you the same version of OS X as your Mac originally had. If it is not Mavericks, get Mavericks from the AppStore, make a bootable drive (google for it, it is easy), boot the drive, reformat the disk again and install fresh Mavericks.
On the last step of the installation you will be asked to migrate your files. Do that.

This way you will get a fresh copy of the system with all your files from the last backup.


How to become Apple iOS certified technician? is ACMT enough?

You need both certificates so you can fix iPhones as well. Also if your company is registered as Apple Authorized Service Provider Program you can. If you need help with the certificates one very good app. is IT Technicians Professionals on Apple Store, you have all questions up to date.


What actions are performed by Install OS X Mountain Lion.app that are not performed by InstallESD.dmg without the app?

My working theory is that there are no meaningful differences in actions performed under the app as opposed to the DMG.

One could argue at a low level that the difference is that invoking the Install OS X Mountain Lion.app bundle loads app and UI frameworks that simply mounting a DMG does not, but that's not exactly the intent of your question I'm sure.

Any meaningful installer-level actions should be identical in either medium, since the majority of the resources are in the DMG, and the DMG is in the app. The app must mount the disk image in order to get at the necessary assets.


How do I get AppleScript to open another script file

You're close.

Get the path to your file by making a one-line script:

set the_file to choose file

Copy the result of that. Then, in the script that will open the "Fallen_Order_Intro" script, tell the Finder to do the opening for you, pasting in your second script's path, obtained using the "choose file" script. Here's how it would look if your "Fallen_Order_Intro" script is on your desktop (and if your user name is sdavis).

tell application "Finder"
    open alias "Macintosh HD:Users:sdavis:Desktop:Fallen_Order_Intro.scpt"
end tell

That's all there is to it. The file will open in Script Editor because the Finder knows it's a Script Editor document.


Can I automate location changing so I don't have to drive the choice manually?

AirPort Location** takes snapshots of the system settings you select and re-applies them the next time you use your machine at that location.

** Update Oct 2016: Airport location appears to be no longer maintained, but still available at [MacUpdate.com][2]. It may be limited to older versions of OS-X. The same site suggests [ControlPlane][3] provides similar functionality; I have not used it.


How do I re enable a permanently disabled Notification Center in Mavericks?

If you ran sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool False, it actually disables Notification Center because it changes the permissions of the plist from 644 to 600. If you change KeepAlive to false some other way that doesn't change the permissions of the plist, the NotificationCenter process is still started at login but it is not relaunched if it terminates for some reason. To undo the changes, run f=/System/Library/LaunchAgents/com.apple.notificationcenterui.plist;sudo defaults write $f KeepAlive -bool true;sudo chmod 644 $f;launchctl load $f.

If you ran launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist, run launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist. launchctl unload -w modifies /var/db/launchd.db/com.apple.launchd.peruser.$UID/overrides.plist and sudo launchctl load -w modifies /var/db/launchd.db/overrides.plist, so you could also edit those files directly.


Can the current (08/2011) 27" iMac support two extra screens without additional hardware?

Yes, it can. Here is an example of a 27" iMac with two 30" Dell displays.
http://www.engadget.com/2011/05/03/apple-imac-hands-on-with-dual-30-inch-displays-video/


Try restarting the iPhone, worked for me, maybe some temporary files get deleted on reboot.


To add an item to your Login Items:

Open up the Accounts Preference Pane in System Preferences
Click on your Account and the click on the Login Items tab on the right hand side of the window.
Click the '+' button to navigate to the application or document you wish to open up on login.
If you wish you can check off the "Hide" checkbox to hide the application by default after it launches during login.


Win10 - Windows could not update the computer's boot configuration. Installation cannot proceed

To completely remove any previous installations of Windows, you would have to remove the EFI/Boot and EFI/Windows folders from the EFI volume. The EFI\Windows\Boot folder contains the Boot Configuration Data (BCD) file. You can mount this volume by using the command given below.

sudo diskutil mount disk0s1

You can use the Finder application to move the folders to the trash. Afterwards, empty the trash. You can unmount the EFI volume by using the command given below.

diskutil unmount disk0s1


for about $20 USD you can buy Mac OS X 10.6 Server from Apple.  I did so just the other day ordering by phone.

This version of OS X IS allowed to be run as a Virtual Machine as long as the host is Apple hardware.

So this will allow you, for example, to run 10.6 in a virtual machine on a modern iMac running Mac OSX 10.11.


Samba Share is mounted and shows indexing enabled, but why doesn't work?

Since nobody answers this question, I posted what I found so far.

(1) Spotlight and command line tools tag, mdfind won't work on samba network drive.

(2) To search filename and tag, Finder app works. Finder --> open the samba network drive folder --> In search bar, type filename or tag:tagname, it works very well.


Where are cellular data preferences stored in iOS?

The directory you're looking for happens to be /var/wireless/Library/Preferences. This is where the Settings > Cellular settings are stored. The per-application settings are stored in the database /var/wireless/Library/Databases/CellularUsage.db. If you want to add a setting manually, you'll need to add an entry for the application in two tables. The first is bundle_uuid, and you'll need to set the bundle_id field to the friendly bundle name (such as com.developersbliss.Helicopter), and then the macho_uuid field to its UUID (such as DD314675-0AA8-8A84-DB2BB966BAD8) (Repeat this step for each UUID that the application has. In my particular example, there are two UUIDs. Just add another entry to the table for each UUID, but with the bundle_id set the same as before, and with the macho_uuid set to the next UUID the application has.). Then you'll need to make an entry in the bundle_info table with the bundle_id field set to the friendly bundle name used in the bundle_uuid table, and then the flags field set to 0. This will make that particular application be restricted from using cellular data. To enable the application to use cellular data again, just set its flags field in the bundle_info table to 1. Any application not found in this database is assumed to be allowed to use cellular data.


Going back to Mac OS X after installing Ubuntu

The original Apple "OS X Lion USB Thumb Drive" is a full upgrade, so you don't need your old DVD installer disks.

Depending on your Mac and your update history you may even start to Internet recovery mode (hold altcmdR while booting until you see a spinning globe in the center of the screen) and install Lion then. You had to install a special Firmware update before installing Ubuntu to do that though.


Password protect folder without disk images?

The only way I can think of to do this would be to create a new user with the password you want to use for the folder, then use chmod to set rights on the folder to 700, then you'll use that new user's username and password to access the file.


How does Maps on Mac OS determine the computer's location

Apple is using Core Location code that's mostly common to iOS and OS X and the primary signal your Mac has to determine location is detected wireless hotspot serial numbers (SSID and MAC address if available).

Also, by tracing the IP address for Macs with active connections to the internet, often that will at least get you in the proper time zone and occasionally in the proper zip code (or postal code for people outside the US).


How do I circumvent the versioning system to run an outdated MacOSX application?

If the actual executable indeed runs without problems
then it looks like it is just an enforced blacklisting for whatever reason.

In the .app-bundle there is a file

/Applications/iMovie.app/Contents/Info.plist

In there you find the variable (below corresponds to v10.1.6 of iMovie):

<key>LSMinimumSystemVersion</key>
<string>10.11.2</string>

Edit this to your liking.

For the other way around, this is reported to be working:

Look in the same file for
    CFBundleVersion

<key>CFBundleVersion</key>
<string>6.0.4</string>

Change 6.0.3 or 6.0.4 to any other (higher) number.

Changing it to 6.0.5 seems to work fine.
You might change it to something higher than that in case Apple decides to disallow other 6.x.x numbers in the future. 10 (the current iMovie major version number, no .x.x needed) also worked just fine.


I had a similar issue with high cpu usage in WindowServer which I managed to get back to something more normal by removing any items in my menu bar that were making high frequency drawing updates.

In my case it was the Network Monitor from Little Snitch that seemed to be the biggest culprit.


You are correct about the first two settings. Enterprise App is a way of developing and installing in-house apps onto iOS devices using an MDM server instead of through the Apple App store model.

Read between the lines and see: https://docs.jamf.com/10.8.0/jamf-pro/administrator-guide/In-House_Apps.html


Depending on your Model:

You could do it your self to save some.

If you ONLY replace the LCD part and not the whole display the costs are in the range of $100 to $200 depending on which LCD type you choose.

There are some very good instructions how to at ifixit web site.


Is there a system freeze problem in Snow Leopard when there's no free memory?

The answer is simple: Safari just needs (or wastes) a lot of memory! If you only have 2GB RAM, use Googles Chrome Browser or Firefox.

2GB of RAM is just not enough for todays Computer. Be sure to only open one app at the time, and close it when you are finish.

  An Operating System handles the RAM by itself. When it's out of RAM,
  it stores the user-cache-data on the Hard Drive, so the Computer gets
  very slow.

And for browsing: Websites with lots of flash content needs more memory, than simple text sites. I've had a MacBook Air with only 2GB of RAM, and it was just impossible to work with!


iOS - Getting iPhone 6s plus storage full alert message

I'm also having the same issue like you are. I was using the Public Beta version 4 of iOS 9.3 and that suddenly happened, it threw 710MB of free space on my phone into an unknown black-hole. I forced installed the iOS 9.2.1 (13D20 version) onto my iPhone 6 last night, freeing 16 GB from the phone. However I've lost them all again today with only 2.2 GB of free space left. The documents and data cannot be seen in the storage settings on my iPhone 6 at all. You're not alone on this one.


I was attempting to work out a bug with iTunes.  iTunes was refusing to put my contacts on my new iPod.  And no groups were showing in iTunes.

One thing led to another, and I found myself looking at a blank address book.  You can imagine my consternation when my iPhone contacts got smoked before I could shut down a sync.

I could import from my backups, but, like the original poster, the contacts would appear for about a second before disappearing again.

Shutting down the contacts iCloud sync and then logging out of iCloud worked.  I was then able to import either one of my two backups without issue.


Movies and Podcasts are not set as watched on the second generation Apple TV

This is a known issue.

You can try holding down the Play/Pause button and then selecting "Mark as watched". The Apple TV sometimes crashing when you select "Mark as watched" is also a known issue.

Apple TV owners are awaiting a fix.


command line error "no volume specified"

The bless command has be deprecated. Basically, the command is not compatible with APFS. Other replacements are:

The systemsetup command. Use options -setstartupdisk, -getstartupdisk and liststartupdisks.
The Mac Startup Manager. Basically hold down the option key at startup. To make an OS the default, hold down the control key before selecting.
The Startup Disk pane in the System Preferences application.
The third party rEFInd Boot Manager. This can be installed without disabling SIP.

However, I you still want to use the bless command, then syntax is shown below.

sudo bless --device /dev/disk0sX --setBoot

Where positive integer X can be found by entering the command given below.

mount | grep "/Volumes/ML2 "

I tested this command by boot to Yosemite on a 2007 iMac. I used the bless command to select El Capitan as the default operating system to boot.

  Note: Yosemite does not use System Integrity Protection (SIP)

If selecting a BIOS booting Windows (or other) operating system, be sure to include the following option.

--legacy

Below is the result when trying to use the bless command from High Sierra with SIP enabled. The machine is a 2011 iMac.

Marlin:~ davidanderson$ sudo bless --device /dev/disk0s6 --setboot
Could not set boot device property: 0xe00002bc

Below is the result when trying to use the bless command from El Capitan with SIP enabled. The machine is a 2007 iMac.

Steelhead:~ davidanderson$ sudo bless --device /dev/disk0s5 --setboot
Could not set boot device property: 0xe00002bc


On Mac OSX Yosemite why does my computer download 500MB every day whether I am using it or not?

nsurlsessiond deals with iCloud & also Spotlight.

for Spotlight - Prefs > Spotlight > Search Results & switch off Spotlight Suggestions & Bing Web Searches.
iCloud, some suggestions…

Disable iCloud Photo Library, Photo Stream & iCloud Photo Sharing from
System prefs > iCloud - Photos [or equivalent, I can't remember the precise layout before Photos app]
If you have an iPhone, the same settings are in Settings > iCloud > Photos


You can try this way:

App Store>Updates>Purchased

View the apps you deleted
Find the app which about the same size with NULL app or version that match to the "Null" version
Download the app again
Remove it again and delete the cache

Hope it works for you.


Screensaver settings spontaneously revert

(Answering my own question)

This problem never went away for me, but I do have a workaround. I found the preferences that kept changing were in com.apple.ScreenSaverPhotoChooser. I set everything the way I wanted it in System Preferences, then read all the values from that preference file with

defaults -currentHost read com.apple.ScreenSaverPhotoChooser

I then copied all those values into a script that would write them back to the same preference file whenever it spontaneously changed its values.

#!/bin/bash
defaults -currentHost write com.apple.ScreenSaverPhotoChooser CustomFolderDict -dict identifier \"/Users/me/Pictures/MyFolder\" name MyFolder
defaults -currentHost write com.apple.ScreenSaverPhotoChooser SelectedFolderPath \"/Users/me/Pictures/MyFolder\"
defaults -currentHost write com.apple.ScreenSaverPhotoChooser SelectedSource -int 4
defaults -currentHost write com.apple.ScreenSaverPhotoChooser ShufflesPhotos -bool true

(I may be able to combine all those lines into one line; I am not sure about that and haven't tried it.)

I saved the script as ~/bin/screen-saver-prefs and made it executable. Whenever I happen to notice that my screen saver is not doing what I want, I just open up a terminal and run screen-saver-prefs at the prompt. ~/bin is on my PATH, so I don't need to reference the directory. If you don't want to do that, just use the full path to the script to run it.

It's not the most elegant or efficient solution, but it works.


Why doesn't Lion recognize my drive as a supported permanent storage volume?

I ended up wiping the drive and just installing Lion from scratch. That seems to have fixed the issue.


Don't even start this without a solid backup.

Right click the NTFS partition & select Move/Resize Partition.
Drag the Free Space After slider all the way to the left.
This will move the NTFS partition to the end of the disk & the free space into the area outlined below, between the APFS container & NTFS partition. This should then consolidate your free space.

Volumes on APFS containers will not show as filling all the available space, due to their 'live expandability' feature, even though the container itself does. I don't have an example with APFS & NTFS to show, but this is my 1TB SSD which shows as having 456GB 'free' at the end whereas the container itself & in the Finder the Volume is actually [almost] the entire 1TB.

So, to complete your changes, you need to select the APFS Container [not the Volume on it] & again using Move/Resize Partition, change the New Size until it fills your moved Free Space.

Remember to Apply Operations afterwards.

Note: This is likely to be a very long, slow operation; whilst potentially a lot faster on SSD [on which I have never actually tried to do a data move of this size] on HD I'd expect to come back to it in the morning, so make sure you have plenty of time & keep the Mac on mains power.


This Mail button is used to have your Apple mailbox (@icloud.com/@me.com/@mac.com) on your device. If you turn it on your Apple mailbox will just show up in the Mail app.

Note that this option does not synchronize the other mailbox you might have, so in your case it will not be useful. You can find more informations about it here.


No entry for system.log in /etc/newsyslog.conf

An answer was posted in this ServerFault question.

Configuration of system.log moved in 10.9 to /etc/asl.conf. It should have a section like:

# Rules for /var/log/system.log
> system.log mode=0640 format=bsd rotate=seq compress file_max=5M all_max=50M
? [= Sender kernel] file system.log
? [<= Level notice] file system.log
? [= Facility auth] [<= Level info] file system.log
? [= Facility authpriv] [<= Level info] file system.log

The line beginning with > system.log is analogous to the old newsyslog.conf line.

After editing the file, do:

sudo killall -HUP syslogd

to make it reload the configuration file.


OS X 10.6: Applications crash when sounds play

Can you open the Console application (in the /Applications/Utilities/ folder) and see if anything is reported up to and during the application hangs?

Are you actually getting a crash or just a hang? (A crash will display an "unexpectedly quit" dialog on its own (creating a .crash file) , whereas a hang will require you to explicitly force the application that's not responding to quit, which will then generate a .hang (" stopped working because of a problem).

If you are actually getting a crash, please post the crash log (as much as you can) or otherwise provide access to it (as they can be somewhat long). If it's a hang, perhaps any output to Console might be more informative than the .hang report.

You mention iTunes does not start at all: do you mean it immediately starts to hang when you try to launch it, or does it crash with an unexpectedly quit dialog?

Also, try launching Activity Monitor (also in /Applications/Utilities/) and be sure to set the "Show" popup menu to All Processes. Check once at launch or on a fresh startup to see if there are any processes highlighted in red. Then when you begin having the problems, check again in Activity Monitor to see if there are any processes shown as not responding; if so, please post the name of them along with any info that's reported to Console.

My rough guess of what's happening is that either coreaudiod itself, or another sound/multi-media-related framework or launch-on-demand agent or service that these apps need is not responding, which in turn causes any applications that rely on it to hang as well.


How do I disable the Google Translation bar when using iPhone?

Using IOS, open google homepage. Tap on 3 buttons tab in upper right. Tap Settings, then tap Content Settings. Slide bar left to turn off function.


Macbook Pro screen keeps randomly going black after login, weird issues

I got into the Apple store today to see if someone could take a look at the problem. I waited about an hour and a half and during that time I was able to use my Macbook just fine. I found that if I left the mouse idle for more than about 10 seconds that the display would shut off. However, while playing a graphics intensive game like League of Legends, it was just fine, so that's what I did for an hour and a half.

When I brought it in I was able to reproduce the problem immediately by just leaving it idle for a few seconds. They ran their diagnostic test and found that something failed with the display's backlight sensor I guess. They sent it in and it was covered under warranty.

So looks like back to my slow 4gb RAM Acer laptop for 3-5 days while they fix it! I've only had it for around 90 days so I'm not sure if it's just a defect or something I did. I haven't dropped it or spilled anything on it. Who knows.