"Still waiting for root device" on a macbook pro mid 2009 with osx 10.11.6

If you want to reinstall you can use dmg2iso to convert dmg on Linux - see this Ask Ubuntu question.

Your partition table looks almost OK.  The only thing is that it doesn't have 128MB free space between partitions.  See Booting from GPT by the author of rEFInd.

  The biggest caveat seems to be following Apple's recommendations for partition sizing and placement. The need for 128 MiB of unpartitioned space after each OS X partition is particularly important; without that space, the OS X installer will refuse to install or upgrade on the partition.

It might let you install to your existing partition but if not you can keep your Linux system by manually resizing partition tables using gdisk ensuring you keep the 128MiB unallocated space as described in the gdisk walkthrough.

For example to shrink partition 2 using gdisk (you will likely lose data in partition 2 as partition will be smaller than current filesystem)

delete it (d2)
create a new one stopping 129MiB before your Linux partition  (n)

Command (? for help): n
Partition number (2-128, default 2): 2
First sector (34-490234718, default = 409640) or {+-}size{KMGTP}: 409640
Last sector (409640-410011647, default = 410011647) or {+-}size{KMGTP}: -129M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): AF00
Changed type of partition to 'Apple HFS/HFS+'

Sort partitions (s)
Recreate hybrid member - go to Recovery menu (r) and make hybrid MBR (h)

Recovery/transformation command (? for help): h

WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.

Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 2 3 4
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y

Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): AF
Set the bootable flag? (Y/N): Y

Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default 83): 83
Set the bootable flag? (Y/N): N

Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default AF): AF
Set the bootable flag? (Y/N): N

Write changes and exit w

A similar procedure would be required for recovery partition (or you could just delete it).

Alternatively you can delete all partitions, install macOS then make space for Linux using Disk Utility from within macOS.


iPhone Safari: Clearing the cache does not seem to be enough

Sounds like an iPhone bug/feature where it will cache some images (and not clear them properly).

The fix seems to be to put a random number in a query string after the images on your site.

eg  picture1.png?2011242424

Some web frameworks will do this automatically (eg rails). Otherwise you could do this on just the affected image and see if it fixes it.


How to troubleshoot macbook's failing parts

Try resetting the SMC and resetting the PRAM.

It's also possible that your hard drive is failing in such a way that the computer can't boot. I haven't seen that often but it can happen (if you hear weird clicking sounds on boot, that increases the likelihood of this being the case).

It's pretty easy to take the hard drive out of your computer (all you need is a a phillips-head #00), it may be worth removing the hard drive, then trying to boot to an external disk.

MacBook Pro take-apart guides.


Xcode will not download automatically until you actually press the download button in the App Store.

The only way I can think of minimising the chance of using the WiFi extensively is to disable the installing available updates in the background.

Go to App Store->Preferences->uncheck Download newly available updates in the background

You could uncheck the automatic check for updates all together, but this increases the risk of not getting latest security updates - what is not really recommended.

All these modifications mean that you would need manually download updates.


iPhone was unable to locate for nearly five hours on find My Iphone app on a synced device.

You can't.

The device reports its location to Find My iPhone when requested, not constantly.
The device can't send its location if its off.


How to get Torch browser to stop prompting me to update to new version?

Scroll down on this site (http://www.shouldiremoveit.com/Torch-5557-program.aspx) and you'll see something that's known to come with Torch called torchhelper.dll.

I dug into Activity Monitor to gather data about Chrome (I really don't want to download Torch) and found all this when expanding the Chrome app section (while using Chrome to bring it up to the top):

So try this and tell me what happens: open up Activity Monitor on your Mac, go to the Memory tab, then search (top-right) for Torch. Take a screenshot of what comes up! Try killing the processes (tap on whatever helpers come up and press the X in the top left) and see what happens).


NFS Mount failed and now it says `Device not configured`

Restart NFS without Rebooting

Issue the following command in Terminal:

sudo nfsd restart

This has the effect of stopping the NFS daemon, starting it back up, rereading your config and processing what's in your /etc/exports

OS X Disconnecting from NFS

Try this:

find . -name ._* | xargs rm on the R-Pi  in the directory that gets mounted.  That will remove any of the hidden "_filename" files that OS X creates when going through a directory

Based on this Apple Support Forum with similar symptoms:  https://discussions.apple.com/thread/2733032?start=0&tstart=0


Share link for a photo from icloud or photos app

You can create a public album and share the link to it to anyone, but not to a single image. One solution could be to create a album for each image.

iCloud: Create a shared album

You can also place the image file in iCloud drive, view the file in a browser and copy the link to it.


As an alternative, one way to accomplish this is to use the Shortcuts app by Apple, available on the App Store for iOS devices.

Here is the App Store Preview link for Shortcuts.

After installing the Shortcuts app, do the following:

Open: Shortcuts
Tap: Create Shortcut
Scroll down to Photos & Videos and tap: Get Latest Screenshots
Scroll back down to Photos & Videos and tap: Save to Photo Album
On the Save to Photo Album shortcut, tap Camera Roll and on the Album sheet select e.g.: iPad Pro
At the top of the Untitled Shortcut screen tap the Settings icon (the double switch).

From here, you can give it a name and set the various controls, tapping Done when finished.

The following is an image of the sample shortcut I created which, as initially set up, saves the latest screenshot to the e.g. iPad Pro album.

The following image shows the result of running the shortcut pictured in the image above, and as you can see the last screenshot was of the shortcut I created.

Obviously the screenshots were taken on my iPhone and are for demonstration purposes only, you'd install the Snapshots app on your iPad and use it there. You can also install and use it on your iPhone but its independent of your iPad install and not directly linked.


Cannot finish first backup with Time Machine

Anecdotally, after having seen similar several times, two things to try; one free, the other paid.

First clear down any stray local backups, from Terminal.

tmutil listlocalsnapshots / will list them.
tmutil thinlocalsnapshots / 1000000000000 1 will pretty aggressively cull them.

List again afterwards & make sure only one or two remain, & that none of them are tagged dataless.

Try running Time Machine again.

If still no joy, then the only way I've ever found to fix this is to run DiskWarrior on the Time Machine drive. Apple's Disk Utility never seems to work.
Fortunately, TM drives must be HFS+, as Disk Warrior cannot yet handle APFS.


It could be the recent iMessage bug. Here is the fix Apple has provided on its website. Hope it helps.

support.apple.com/HT204897


Using iMac 21.5 mid 2010 as an external monitor of Macbook Pro Retina late 2013 15"?

I've tried this and yes it does/can work, depending on your setup. So far I've managed to hook a 2012 MBP 13" to a 2012 21" iMac via Thunderbolt, and the cmd + F2 function works once logged in.

However, I've not managed to connect to a 2011 iMac (non-Thunderbolt model) using the same MacBook and Thunderbolt cable - I don't have a DisplayPort cable to hand to see if that works or not so right now I can't verify if yours will work or not.


Warning: xf : INO_EXT_TYPE_DSTREAM when running First Aid of Disk Utility

Same here. Macbook Pro Retina, 2015, on Catalina 10.15. Mac locks up randomly about once a day, and I can't do anything except reboot via power button.

Ran First Aid from Recovery Mode on "Macintosh HD - Data" and got this same sequence along with "Too many warnings of this type generated; suppressing subsequent ones."

I tried Apple Support Communities and didn't find anything exactly the same. Most were Mojave-related but it sounds like a clean reinstall might be required.


How do I enable logging for ssh log in attempts?

Login attempts are logged in /var/log/system.log

You'll be able to browse and filter for them through the Console.


One solution should fix both issues. You can work around the -1 and -2 issue by unmounting the volumes before disconnecting from the network (sleeping the Mac) or cleaning up in /Volumes before reconnecting.

The automatic mount is solved by a tool like:

Apple Enterprise Connect
NoMAD open source
JAMF Connect - a commercially supported version of NoMAD

https://nomad.menu is free to use and your company can pay for support if desired. Apple Enterprise Connect is a paid product and Apple engineers come to your business to set it up and provide enterprise support for the tool. You buy it from your Apple sales contact and they can invite your team to a web presentation to see how it works if you wish before buying the tool and services.


LSOpenURLsWithRole() failed with error -10810 Can't open 'Install OS X Yosemite.app'

That would seem to imply the executable within the package isn't actually executable.

Where did you get it from?
If not Apple, I'd leave it well alone. If it was from Apple, try this in Terminal

chmod +x /Applications/Install\ OS\ X\ Yosemite.app/Contents/MacOS/InstallAssistant


Can I upgrade my 121 GB Flash Storage SSD?

In the past, Apple doesn't upgrade any storage as a rule. This is HDD/SSD across the board. The only exceptions I've known are:

If you have several internal bays and you buy the part (Think Mac Pro with 4 SATA bays or Xserve / Xserve RAID)
You are paying for a service repair and they upgrade you for free to a larger drive. You don't ask for it, but Apple asks if you're OK with a better drive and no one refuses that offer.

You should ask them since it's free to ask and they might say yes one day.

That being said, there are many third party options to upgrade storage - but you need to hire someone else or DIY on that repair.

Everymac has a nice overview of the options and challenges as does OWC.


Problems with resetting and old MBP "An error occurred during installation..."

I solved it by creating a bootable USB from another Mac with Sierra on it. The MBP works like a charm now!


It doesn't appear the Pages can export to XML (here's the exported formats: http://support.apple.com/kb/HT4641). I did come across a website (http://www.office-converter.com/Convert-to-XML) that converts .doc files to .xml files. I tested it against a .doc file I exported to .xml from Word and the documents look the same.


It is recommended to upgrade your iPhone 8 to iOS 12. iOS 12 is a free, major software update available for all eligible iOS devices. A major iOS software update named with an incremented version number is released by Apple every year. iOS 12 was released this year on 17 September 2018.

An iOS update helps you get more out of your device that you already own via free software update. iOS 12 is also touted by Apple to be a evolutionary update with a focus on performance. Thus, it is recommended to upgrade your iPhone 8 to iOS 12.

It is obvious to be concerned about safety of your data. To ensure that you don't lose access to your data, it is recommended to have a full backup of your device. If you use a Mac or a Windows computer, you can use iTunes to perform a full backup of your iPhone. In case you don't have a computer, you can also choose to backup your iPhone to iCloud over-the-air. Do note that the basic (free) tier of iCloud provides 5 GB of storage space.

To enable iCloud Backup, on your iPhone go to Settings app → Your name on top →  iCloud → iCloud Backup and turn it on.

Messages exchanges via Messages app are backed up to iCloud as well. WhatsApp has an in-app mechanism to take chat backup which you can use. (Behind the scenes, WhatsApp also uses iCloud storage for backup).

Last, to ensure safety of your photos, you can enable iCloud Photos in Settings app → Your name on top →  iCloud → Photos and turn on iCloud Photos.

Don't forget to make sure you have enough iCloud storage to enable all the aforementioned data backup. You can buy additional storage by choosing the desired monthly plan.

Note that apart from an yearly major update, a bunch of minor updates are also released by Apple frequently. iOS 12 has introduced the ability to turn on automatic updates which you can use. To turn on automatic updates, after installing iOS 12, go to Settings app → General → Software Update and turn on Automatic Updates.

It is a safe practise to have all the data backed up before upgrading iOS. The way the process is designed, OS upgrade doesn't affect user data or any installed apps on your iPhone and is generally safe to do so. Only recommendation is to keep the device battery charged/plugged in to a power source to ensure that the device doesn't run out of battery while update is in progress.


Can you add more than one iMovie Theater account to an Apple TV?

As of June 2019, iMovie Theater is no longer supported and people are being moved to using iCloud Photos instead.

That being said, it appears that there is no way to add an additional account to the 3rd generation Apple TV, only the one iCloud account is allowed and thus only one iMovie Theater account can be used at a time. If you want to switch, you need to log out/in with the other account.


Macbook Pro (late 2008) freezes randomly, have to reinstall Mavericks to "fix" it

Personally, I'd assume you're looking at the machine either having bad RAM, causing the OS to corrupt and thus forcing the reinstall, or the machine having a bad hard drive, or at least one that's starting to fail.

For testing, I'd download a copy of Memtest86 (the free version) at http://www.memtest86.com/ , follow the directions to install it to a USB drive, and let it run through a few loops to check that the memory is okay.

If that comes back clean, the next culprit would be hard drive.  I'd suggest downloading the free trial version of Drive Genius from http://www.prosofteng.com/downloads/ and running your drive through its tests.  If it is a bad hard drive, replacement is easy enough, there are multiple guides on youtube as well as at iFixit that detail how to take your machine apart and replace the hard drive.  Good luck!


How can I use iPhoto in lieu of Photos in macOS Sierra?

I don't think the update will work. I've seen an update for iPhoto in the App store before and it usually gives you an error message that the item is no longer available (tho it has been a long time since I last saw that update). If you ever delete iPhoto, the update will disappear from the App Store.

I didn't think there was a way to continue to use iPhoto, but there appears to be a work around I found in Apple's Discussions forum. The basic idea is to delete then replace the iPhoto app by using the purchased list in the App Store. Theoretically, that version will be an updated version that will work. If it doesn't, work: No harm cuz it hasn't worked anyway. Check if your purchased list includes iPhoto and which version it downloads before attempting to remove the iPhoto app. Once iPhoto is the Trash, don't empty the Trash. You can put iPhoto back if this plan doesn't work and maybe someone will come up with a different plan later. And don't worry about losing the old library. Deleting the older version of iPhoto, or just moving it to Trash, will not remove the iPhoto library which usually resides in the Pictures folder of the home folder.

If that plan does work, the question then becomes how do you get pics from the Photos app to iPhoto that you added since you switched to Photos? Drag and drop will likely work even if you have to drag to desktop then drag to iPhoto. Try dragging pics directly from Photos to iPhoto first.


Why does pressing the left command key sometimes trigger a window from Virtualbox

It's because your mouse and keyboard is captured by the VM instance.

When you mouse is captured in the VM window, pressing the Left ⌘ Cmd will bring up the window you described.  When it's not captured, it won't.

If you want to avoid this problem, instal the Guest Additions.


Permission errors, safari passwords disappear, dock resets and iCloud problems

This may mean that your data may have a bug in it. I would recommend try using a new user (admin) and then see if you are able to sign in there. Make sure you are not signed into iCloud on the main account. If everything works fine on that user then you may need to move your files over to the new account since the other account isnt producing the right results.


Free .CSV text file editor for Mac OS X?

Table Tool

Free and Open Source (MIT License).

Table Tool opens CSV files. It auto-detects character encoding and record separator (comma/semicolon/tab), and supports basic editing operations (like add row, delete row, add column delete column etc).

Table Tool can convert files to a different format.

Table Tool is also available on the Mac App Store.


Jupyter Notebook launches the start page with MacVim instead of Safari

I had the same issue. Here is how I fixed:
It seems that using the OpenWith option only works once. To change the default application permanently I did the following:
Select an HTML file and right-click on it. Then you select Get Info and in the Open with section, select a browser as the default application and click on the Change All... button.
I hope it helps


Copying (Drag & Drop) mutliple emails of Mail.app to Finder/Path Finder

I know your emails from the default Apple Mail application in the following location: Macintosh HD/Users/(Your User Name)/Library/Mail/ - there will be some files in there, choose the folder that has the account with the emails you want. Then, click on the folder inside of the account's folder that contains your email's folder (inbox, sent, trash, etc.). Then, select the messages you want by using Shift-Click and drag them to the Finder. Hope this helps!


mac asking password after cd in terminal

You can run set -x to make zsh print a trace of every command it executes. When a command is executed by a function, the function name is printed. Run set +x to stop printing traces.

If something is happening when you use the cd command, it can be because this is an alias or function. Check with type cd.

Zsh has a built-in feature to hook onto the cd command, so wrappers around the built-in command are rarely used. If the function chpwd exists, zsh runs it immediately after changing the directory. Check what the chpwd function does with which chpwd.

There are also hooks that run before and after every command: the preexec and precmd functions. Furthermore, all these hooks have an array version, which is an array of function names. Check these arrays with echo $chpwd_functions, and if there is a function, look at its code.


What other materials, apart from flesh, can you use to interact with an iPhone Touchscreen?

I have several pens with a "rubber" type end that work the screens fine.

Must be a material that is treated...


How to restore an account from a lost mac from time machine?

Use Migration Assistant! Should work just fine from a TM backup.


macOS does not come with an FTP command line tool. You can connect read-only (just for downloading things) to FTP servers using Finder. Open Finder and choose Go → Connect to Server (⌘K or ) and enter ftp://ftp.gnu.org/.

When prompted for a username and password, choose Guest if the server does not require authentication, which is the case with ftp.gnu.org.

If you do need ftp on the command line, you can install ftp using Homebrew:

brew install inetutils


How to know if “About This Mac” got modded and/or reset it

Each Mac's serial number should be printed on the outside of the casing.

Locate the serial number. Apple provide instructions on how to locate the serial numbers on their devices here.
And then enter the serial number on Apple's Service and Support Coverage to find out the real model and age of the device.


Why aren't mp3 files I deleted by accident showing up in the Trash?

Yes I do, is there a command to move them to another folder? In the short term I don't mind where they are, as long as they're not sitting in the trash waiting to get deleted!

Answering down here to have enough room.

Create a new folder to move all these files from the Trash into. It can be anything, for this example I'll create a folder called "undeleted" on the Desktop.
Open up a Terminal window, and navigate to the Trash: cd ~/.Trash.
Confirm that the stuff you want is there: ls -a.
Move the mp3s: mv *.mp3 ~/Desktop/undeleted. If you create a different folder somewhere else, the easiest way to get its path is to drag it into the Terminal window. Type in mv *.mp3  including the trailing space, then drag the folder you want the files to go into into the window - it'll automatically fill in the correct path. The * wildcard will match any .mp3 it finds.
If you have any AAC encoded songs, repeat the above, but change the extension to .m4a: mv *.m4a ~/Desktop/undeleted


How can I set and use a PATH component with blanks in bash?

Stop using backslashes in your variables, and start quoting them.

foo="/path/that/has some spaces"
PATH="$foo":"$PATH"


How to fix MacBook, not reconnecting to wireless network on wakeup?

Every time MacBook Air (2010) waked-up from sleep it would ask to choose network to re-connect and then took about 20 sec to actually connect. same if I turn wifi off and then on again.

solution that worked for me was: system preferences -> network -> SET SERVICE ORDER.." (in sub-menu next to "+"/"-" (create/remove service) at the bottom of  services list on the left).

DRAG WIFI TO THE TOP in Service order list -> "OK" -> "APPLY"

After that I am back to no "choose network to connect" pup-up's and wifi connects in 3 seconds. Hope that helps.


It says I've got about 3 GB and it won't let me download something for 2.2 GB. Why is it saying this and how do I successfully download it?

The default configuration would download to the same APFS container that macOS is install to. It would not be wise to fill the container to a point where there would so little free space.
You can change the Safari preferences to ask where to download. You will need to select a location that has enough free space. Or, create more free space for the volume where Safari is currently downloading.
See the Apple website How to free up storage space on your Mac.


How to set up multiple PATHs in the user bash_profile in OSX 10.8?

Yes, it is perfectly possible to have both statements coexist happily in .bash_profile. This file is evaluated sequentially from top to bottom, and the same environment variable ($PATH in this case) can be modified multiple times. If you wish, you can edit both into a single command:

export PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools"

to do both modifications at the same time, but this is no different from your current setup. Happy Pythoning!


Fluctuating low/normal headphone volume on iMac

I have this problem. The solution that woks for me is to open Audio MIDI Setup and mute-unmute channels in Output.


Turn off encryption on filevault2 second HDD

What methods have you used when trying to disabling the encryption on your encrypted non-boot drive? Here's some ways I know about:

Using Disk Utility

Boot your Mac and hold down ⌘-R (Command –R) to boot from the Mac’s Recovery HD partition.
Open Disk Utility.
Select your locked hard drive.
Under the File menu, select Turn Off Encryption…
When prompted for a password, you can enter your password for the drive. Once provided, decryption of the encrypted volume should begin.

The drive should begin decrypting.

From the command line

Boot your Mac and hold down ⌘-R (Command –R) to boot from the Mac’s Recovery HD partition.
Open Terminal.
Run the following command to get the UUID of the encrypted drive: diskutil corestorage list
Once you have the UUID, you can unlock the drive using the following command: diskutil corestorage revert UUID -stdinpassphrase
You’ll be prompted for the password/passphrase of an account that’s authorized to unlock the encryption. Once provided, decryption of the encrypted volume should begin.

The drive should begin decrypting.

For more information, see here:

Unlock or decrypt your FileVault 2-encrypted boot drive from the command line

Using Disk Utility to unlock or decrypt your FileVault 2-encrypted boot drive


Your script works fine in most apps. Can easily test it in TextEdit to see that. When I said add in dialog boxes to text the flow, mostly what you need to test is that the "if newClipboard is equal to ".png" is getting triggered (not if the text is getting selected.
I would guess that your problem is that in a web form box (which I think you were describing), javascript is slowing down the text response including the copying to clipboard. It is a VERY common problem when scripting copying to clipboard that you need to add a delay after copying in order for the process to complete before the script proceeds. Try this, which simply adds the delay:

tell application "Safari" to activate
delay 1
tell application "System Events"
    set oldClipboard to the clipboard
    repeat 4 times
        key code 123 using {shift down} # Left Arrow key. Selects last 4 chars
    end repeat
    delay .5
    keystroke "c" using {command down}
    delay 2
    set newClipboard to the clipboard as text
    -- display dialog newClipboard
    if newClipboard is equal to ".png" then
        #keystroke # WORKS!!!!!!!!
        key code 51
        delay 0.1
    end if

    key code 124 # Right Arrow key, works
    set the clipboard to oldClipboard
end tell


How can I get rid of a "MacShiny" icon from my menu bar?

Down load app cleaner free and use it to get rid of this app. If you have already deleted Macshiny you will have to download it again and then use app clean


unwanted notification from email address

Have a look at How to Block an Email Address on iPhone as the information might be helpful.


Will App Preview video for iPad be shown for iPhone users?

No, the iPad 'App Preview' video will only be visible for users who are viewing your app page from an iPad.

For iPhone users you would ideally upload three video at the following resolutions: 640 x 1136 (iPhone 5), 750 x 1334 (iPhone 6) or 1080 x 1920 (iPhone 6 plus). If however you decide to only upload one video (say 750 x 1334) larger iPhones will fallback to smaller videos if the larger preview video is not present.

N.B. These resolutions are for portrait mode.


I don’t have experience with Apple Keyboard problems specifically, but this seems like a problem which Apple would fix by simply replacing your keyboard. Assuming that the spacer broke during normal usage, and that you are still within the original warranty period for the hardware, it’s far easier for Apple to replace the keyboard than to attempt to repair it.


Disk Utility of 10.6.2 install disk does not recognise SDD; Disk Utility of El Capitan does

I solved the issue by installing El Capitan on the USB (via another Mac) and booting from there (a full install, not just a boot disk). The El Capitan booted from the USB did see the SSD, so I could install El Capitan from the USB onto the SSD.

The core issue was that Apple seems to have added third party SSD support after 10.6, so installing 10.6 was never possible.


Internet Sharing not working with my BeagleBone Black

I'm on Debian Wheezy too and this worked for me:

Install Mac drivers from http://beagleboard.org/Getting%20Started
Connect BBB to Mac through USB
On the Mac, go to System Preferences > Sharing > Internet Sharing > Beaglebone Black
In System Preferences > Network, make sure BBB is in the left hand side and shows “Connected”
After SSH’ing into the BBB, run “dhclient” (or "dhclient usb0” if that doesn’t work) and then try “ping google.com”.


Why does iTunes not recognise a plugged in iPhone on Windows 8.1?

This technique just worked for me on 11.1.3.8 (it broke on the Windows 8 to 8.1 upgrade):

Control Panel, uninstall "iTunes" and "Apple Mobile Device Support"
Plug out your iDevice(s)
Reboot (might be unnecessary, but Windows 2.0 trained me to do this all the time after driver changes)
Run the iTunes installer (you might already have downloaded it)
Plug in your iDevice(s)

At this point, my iPod and iPad were recognized and synced.  My library appears to be intact as well.

I subsequently rebooted and these devices are still found.


How to restart the wifi part alone instead of restarting the whole system?

From the Wi-Fi icon the second option is Turn Wi-fi Off. Select this, wait a few seconds, then open the Wi-Fi icon again and Turn Wi-Fi On. This is how you would restart your Wi-Fi on macOS without restarting your whole computer.

Also to elaborate on your other question(s) - there are a multitude of networking policies and configurations that could be complicating this connection. The hardware itself could be out of date or possibly just full on users and you're connecting when someone drops off - there could be network policies in place that take extra time to validate your machine. The list is quite endless. If you are eventually able to connect it's likely that you'll need to work with your IT folks to figure out the specific issues - or just deal with this buggy connection - but you shouldn't need to reboot your entire machine to make this connection work. There's really not much difference in doing that vs. turning the Wi-Fi off and on again from the menu.

Good luck!


MacBook Air wifi NIC: supported channels

The manuals for all Air are stored online at http://support.apple.com/manuals/#macbookair and it looks like the latest Air is certified under the EU and Russia - but I don't see a good way to know precisely which channels are supported from a pre-sales or reference.

You can however, open your System Information utility and select Wi-Fi. It should show you the current Locale, Country Code and supported channels for your network adapter.


I smell an impending death of a hard drive. For that case, I suggest an upgrade to an SSD will do. Not only you have a newer storage device but also you have a faster computer altogether.

On a side note, if an SSD isn't your fancy, you can always purchase a new HDD, but go for the better models since it will benefit you more in the long run.


How do I increase the ulimit -n on 10.10.3

Now it's easier with OSX 10.11.4
sysctl.conf does now exist, or can be created if it doesn't.
First line above

echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf

Second line above.Setting environment variables.
Can be set up ... Use this link. A short but useful how-to.

Third line above:
/etc/profile exists.

echo 'ulimit -n 4096' | sudo tee -a /etc/profile


Is there such a thing as an indie dev being blacklisted as a developer from the App Store

First of I would say that it looks like a really nice app that you have produced!

To answer your question: No, I don't think developers are "blacklisted" into having their apps rejected with bogus reasons in order to "bog down" the developer and eventually having them give up on gettings their apps released.

Also, I don't think that you're assigned a specific reviewer that is on a witch hunt for solo developers or anything like that.

However, I do think the realities are that app reviews are done in a very short time frame, and some times the reviewers do not really spend the time necessary to fully understand what a app does - and instead they reject it to be "on the safe side". Also I think the realities are that it is not necessarily the same person reviewing the app each time, so they might not know the history you have.

In order to do something practical and sensible about this, I don't think you'll get anywhere by complaining to Apple that you're being targetted. Instead try making smaller changes to the app and/or description to acknowledge that you're listening to what they are saying (even if you do not agree), and see if that can lead to the app being approved.

For example remove the reference to Google Poly from your app description, and instead change it something neutral like "use it with the most popular 3D modelling API available" or something like that. Then inside your app, you can describe that it is Google Poly.

Similarly try adding an initial intro screen to your app that in simple terms describes how your app works. Make sure NOT to mention QR codes. For example do not say "This app does not require QR-codes". The reviewer might quickly glance at the text and only see "QR-codes" and then reject the app because they haven't gotten a QR-code to test with.


How to install Homebrew without Command Line Tools if already have Xcode

Apple's website for downloading developer tools says that "If you use Xcode, these tools are already embedded in the IDE."
So you shouldn't need to install them again.
But, as mentioned in the commments: it's a 460 Mb download. If you don't have space for that, you're not going to have space for HomeBrew, or any of the things it installs.


How to capture a high quality screeshot in 1920 x 1080?

The reason you're having problems is that you are currently using "Retina-mode". This means that the systems outputs a high resolution to the display, but makes it "look like" a lower resolution - which is what is stated on your screenshot. I.e. the display might "look like" 1280x800, but the actual resolution is 2560x1600.

The idea is that the system render text at a much higher resolution, but changes the font size to match, so that the output text is at the same physical size as if you had the low resolution, but it is displayed at the higher resolution meaning that it will be sharper, crisper and easier to read.

In order to change the real resolution to 1920x1080, you'll need to use SwitchResX and change the resolution to 1920x1080. However, take care that you choose the option that doesn't say "HiDPI" to the right. This is the name SwitchResX uses for Retina Mode. If you choose 1920x1080 at the bottom of the list where it is stated without HiDPI, you'll get that real solution - and screenshots are then taken with that resolution.

Doing it this way introduces no artificial blurring, stretching or anything of the sort. Text and everything will be rendedered in 1920x1080 without modification. However, the text will not be as "clear" as when you're using Retina-mode - but you cannot expect more with a 1920x1080 resolution.


How do I deal with an automatic reboot following a cydia app install

Well, good news for you. As from a few weeks ago, you are able to jailbreak your iOS 5.1 untethered, which eliminates the fact you've to "just-boot" the iPhone very time.

In order to do so, Jailbreak nation has published a very detailed and good tutorial on how to jailbreak your iPhone. I suggest you preform a untetheredjailbreak and try again. If things are still not working, please give some feedback with your errors so we can help you further.
Good luck!


"__git_ps1: command not found" from running "/usr/bin/env bash"

The developer probably wants your output of env to suss out why your variables are not as expected. Running env with arguments tries to locate it in the path explicitly and without arguments dumps all the variables.


Yosemite has caused many apps to prompt "allow incoming internet connections" - every launch

Sadly, adding the permission to the Firewall preference pane doesn't work.  It may work for one launch, but the problem returns when you quit and launch it again.  OS X doesn't like unsigned apps and will ignore your preferences for your own protection.  I had the same problem with Kodi and the only way around it was to sign the application yourself using the shell command prompt.

sudo codesign --force --sign - /Applications/Steam.app/

You will then have to OK it once to allow a connection, but it will then stop nagging you finally.


First, is this being opened by the system launchd (process ID 1, running as root), or a user launchd (running as a user)? If it's the system launchd, you're looking for a LaunchDaemon; if it's a user launchd, you're looking for a LaunchAgent.

Assuming it's the system launchd, you can look for the relevant LaunchDaemon like this:

grep 5901 {,/System}/Library/LaunchDaemons/*

(note: if port 5901 were listed in /etc/services, you'd also have to look for it by name as well as number. But it isn't, so you don't have to worry about that.)

It's also possible that it's a LaunchDaemon that was loaded from some other place; tracking that down would be messy, so start with the easy check first.


how can I change the default name of safari “print to pdf” documents?

I guess you could automate the job using an Automator script.
Automator is nbuilt right into Mac OSX, so you don't have to install anything.

Here is a tutorial on how to automate some tasks:
https://www.raywenderlich.com/58986/automator-for-mac-tutorial-and-examples


Update from iOS 6 to 7, but not to iOS 8?

As I had mentioned in my comment, Apple is no longer signing iOS 7 which means you can either update to iOS 8 or stay on iOS 6. Usually after an iOS update release, the previous iOS version is supported for a little while and then the signing stops. Right now, Apple signs iOS 8.1.

If you want to know what firmwares are being signed by Apple, there is a neat little website which is updated with the information - http://api.ineal.me/tss/status


Why do chrome pages appear without styling?

My unproven theory is that some of the resources involved in the content have timed out while trying to load.

I just loaded www.reddit.com in Safari and viewed the source, and I see that the style sheet is indeed a separate file: http://www.redditstatic.com/reddit.sgQ89UZYDrA.css. So the browser first has to load the main URL (index.html or perhaps a program that generates the content), then the browser locates the stylesheet attribute, and tries to fetch the URL so the style can be applied.


Can I drag a window into a new tab of another window

There is a shortcut you can use.  In Finder you can select menu item Window / Merge All Windows


how to contact lost phone5 if in low battery

Sorry, if it is not powered (to low battery), the find my phone wont work.


How to trigger "Get Info" for file using command line?

I don't think you can do this with a shell command, but you can use a shell script to run AppleScript, which can do it. See here:
https://stackoverflow.com/questions/24421803/open-info-window-in-finder-by-applescript
https://stackoverflow.com/questions/37231942/open-get-information-window-in-finder-by-applescript-again
For example:
osascript -e "set aFile to (POSIX file \"/Applications/Firefox.app\") as text" \
          -e "tell application \"Finder\" to open information window of file aFile"

If you want to add in your bash or zsh profile:
getfileinfo() {
  local FILE="$1"

  if [[ -r "${FILE}" ]]; then
    osascript <<EOF
set aFile to (POSIX file "$FILE") as alias
tell application "Finder" to open information window of aFile
EOF
  fi
}


Font Book: Smart Collections: User fonts only

When I open Font Book, there is a sideboard on the left side of the window. It is shown below.

You can see on the left that User is highlighted. Selecting User will display only the User installed fonts.


1920x1080 resolution not in the options after connecting external monitor on 2015 Macbook air running El Captain

You need HDMI connection, VGA is analog, it doesn't allow higher resolutions.


The Original Poster explained that the answer was as follows:

I killed Sequel Pro that was using 2GB of RAM, and then ran:

$ sudo periodic daily weekly monthly

This had the effect (correct if wrong) of running some tasks which cleaned up the swap files. I now have between 30GB and 50GB space remaining (it's fluctuating..)


Mix mic audio and system audio and simultaneously record using Audacity

I'd approach the problem from the opposite end...

Get the YouTube audio track into Audacity first.

You can use iTunes to extract audio from video

In prefs > General, click Import Settings... & change 'Import Using' to WAV [remember to set it back to your preferred audio format afterwards]
Drag your video into iTunes, then go to the Movies tab
Select the movie, then File menu > Create New version. Hold the  Alt ⌥  key & the 3rd option will ungrey, allowing you to save the audio separately.
Import this to Audacity.

Then you have all day to record your vocal track separately; add reverb etc & export the finished mix from Audacity.

This approach not only gives you the  time to go back & edit mistakes etc in the vocal track, it also avoids the essential difficulty of trying to live-record 2 audio streams to separate tracks without professional audio equipment.


Files on a Computer seem to have decreases in quality

No, this would not occur automatically. You would have to manually compress the photos to achieve this.


Why are almost-blank ._ files being created by macOS and applications?

In my experience, these days it's pretty rare for there's files to contain anything of much importance, though it is possible a piece of software might choose to do so.

Historically it wasn't too uncommon for a file to have both a data and a resource fork, application binaries especially did this. I can't think of any modern software that uses a resource fork anymore though, so it's unlikely this is why you are seeing these files. Most of the API's are long deprecated, and Apple doesn't recommend using it to store arbitrary data.

You can check for such content on a file using cat filename/..namedfork/rsrc | xxd (on the main file, not the ._ file), though it might be necessary to move it to an HFS or APFS file system first, not sure. The xattr CLI tool should show it too.

The main thing these files are used for currently is storing extended attributes (which have some size limitations). Things like Gatekeeper quarantine info, last line and column edited in a text editor, or resume time in a video player.

You can inspect this information using the xattr CLI tool, though it might be necessary to move it to an HFS or APFS file system first, not sure.


How to remove the use of master boot record from an external hard drive?

Here are the steps I took (note: my drive was blank so I don’t the impact on any data)

Get drive name:

Run Disk Utility
Click External Drive
Click Info icon
Scroll to bottom and find the Parent disks name ex. disk3

Replace Windows MBP with GPT:

Open Terminal
Replace the “disk3” in the command below with #4 above:

diskutil partitionDisk /dev/disk3 1 GPT HFS+ newdisk R

copy-n-paste the above text to the command line and run
returned to Disk Utility and was able to partition away


How could updating to the latest OS have caused this to have happened
  or could it just be a coincidence?

It's entirely a coincidence.  Many times, people incorrectly correlate an activity they are doing at the time with failure of an unrelated component.  You could have been doing a Time Machine backup, just the same, it it would have failed.

  I haven't tried reformatting it yet but could it help?

You don't need to.  You can boot into Internet Recovery which is the same as booting into a "fresh" install of macOS.  You can also install macOS onto a flash disk and boot from there to test.  There's no need to reinstall over your existing data to see if you can fix your display.

  The guys at the genius bar informed me that there is an issue with the
  display and they will need to replace the whole top of the Mac

Yes, you definitely have an issue with your display.  However, I'm not convinced that it's your screen as it could be your GPU, backlight or the LVDS connector/cable.  I would take it in to a different, reputable shop for a second opinion.  See this video for additional information.


git not works after update to El Capitan

One solution might be install git again.

But to ensure it works like before you may install Xcode by running

xcode-select --install


Is integrated VRAM included under `kernel_task` RAM in Activity Monitor?

What version of Mac OS X are you running?
The kernel_task in Mac OS X 10.9 Mavericks takes 1.07 GB of RAM on my 2012 MacBook Pro (non-Retina) with Intel HD4000 integrated graphics and 16GB of system RAM. Yes, this is completely necessary. If you have more physical RAM, then Mac OS X will use a lot for kernel_task in order to make the system run optimally.
With each new version of Mac OS X over the years, the kernel_task has taken more and more memory to run Mac OS X.
In my experience, if you are running Mac OS X 10.8 Mountain Lion, your Mac needs to have more than 4GB of system RAM to run optimally (without the OS needing to use the swapfile on the hard disk constantly, which degrades performance speed). It now appears that your Mac needs more than 6GB RAM to run Mac OS X 10.9 Mavericks effectively.
The amount of RAM needed for Microsoft Windows 8.0 and 8.1 are comparable. This is simply what is required for the newest personal computer operating systems in 2013.
Please note that many system functions run under kernel_task, and the list of what is running on your Mac changes based on what you are using your Mac for.
I found a good explanation for you, in "Kernel_task taking up RAM in OS X" from CNet in 2011. A quote:

...you will see another process called "kernel_task" that also will
regularly use a few hundred megabytes of real RAM and seem to increase
its RAM footprint with system usage.
The kernel in OS X is the
software architecture that is responsible for handling resources that
processes and programs need. These include the management of
multitasking scheduling, virtual memory, system input and output, and
various communication routines between processes. In addition, the
kernel can be modified and given enhanced functionality by loading
kernel extensions (kexts) to supply system-level management of
features like Bluetooth and Wi-Fi, graphics processors, third-party
hardware, access to peripheral devices, and special filesystem
support. In essence, the kernel is responsible for running your
hardware and making the hardware resources available to applications
and system services.
...the process "kernel_task" may take up a large amount of
system memory. When the system starts up, even
though you may have kernel extensions loaded, not all of the services
are active. The system may be ready to use them, but will not load
them fully until needed. Therefore, if you initially start up your
system and check Activity Monitor, you may see the kernel_task process
taking up a relatively small amount of RAM. When you then start using
your system and activating features like your iSight camera, Wi-Fi
services, switching GPUs, and using external devices, then the
kernel_task will make use of the resources for these devices and will
grow in size.


A posting on the Apple Support Communities suggests:

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

  "You must contact your cellular service provider. This is not an Apple issue, that causes this. The reason, that the phone just started doing this: when you power cycle your phone, it clears the system cache files. Your network has text alerts, from your basic Voicemail, where someone used a service, called "Cut-Through Paging". CTP allows a person to leave a text message, with their callback number, instead of a voicemail. Visual Voicemail smartphones can not utilize the feature. Your provider may have to delete your old voicemail box, and then re-add a new basic Voicemail feature, to correct the problem. You will have to pwr cycle the phone, after the chane and setup a new VM box. CTP was designed to be used, with basic and messaging phones, that do not utilize Visual Voicemail."

But please note, this is from 2014.

Two questions to ask yourself would be:

Does this happen when you restart the phone?

Does this happen when using or accessing voicemail?

Assemble as many details as you can about the event, including what may have triggered it. The same link above also has a comment indicating this happens on Windows Phones, too. It may be a carrier issue. I would recommend recontacting your carrier and ask them if the above scenario is plausible.


In the iOS 5 Music App, some songs have a circle with small square beside them

i just had the same problem. what i did was i downloaded other songs of the same artist and i deleted the whole music section of the artist. (i hope that makes sense) i have an ipad and it happened to some of my taylor swift songs so i redownloaded all my other taylor swift songs and i went to the artist section in the music library on my ipad and i deleted taylor swift and the songs with the grey circle disappeared. i hope this helped!


Are there any way to hide the dock icon but keep the menubar icon?

You have to edit the Plist file for the app. Plist files use a key/value format, declaring the type of the key. The correct code is:

<key>LSUIElement</key>
<string>true</string>

Stick these in before the </dict> </plist> lines, and voilà. This works as late as High Sierra, and on the apps I have done this for it does eliminate the dock icon but not the menu bar one.


How to prevent octave from spawning in a new Terminal window?

The actual script that executes when the new Terminal window is opened can be found at /usr/local/octave/3.8.0/bin/octave-3.8.0.  This path will be different for different versions of Octave.  To have this script run when you run the octave command, create a symbolic link to something like /usr/local/bin/octave (assuming /usr/local/bin is on your path).

The command to run this would be something along the lines of:

sudo ln -sf /usr/local/octave/3.8.0/bin/octave-3.8.0 /usr/local/bin/octave


You might be better off just installing the standalone Developer Command Line Tools (which includes gcc and other standard developer toolchain items). You can get it from Apple's Developer Downloads (which requires a free developer account). Unfortunately there's no direct link, but just search for command line tools and you'll find it (note that there are different downloads for Lion and Mountain Lion).

The download is a DMG. Mount that, and you'll find a .mpkg file, which you can install via the command line: sudo installer -pkg "Command Line Tools.mpkg" -target /.


After Catalina upgrade “Desktop” can’t be opened because the original item can’t be found

I had the same problem. I fixed it by removing Documents and Desktop from the Finder sidebar and then adding them back.

Here's how to do it

Open Finder.
On the Finder sidebar, right-click (or Ctrl-click) on Documents and choose Remove from Sidebar. Do the same thing for Desktop.
On the menu bar at the top, click Finder and choose Preferences.
Click the Sidebar tab at the top.
Check the box for Documents and Desktop.
Close the Finder Preferences window.

NOTE: I've read that some users have a similar problem that might be related to iCloud and having the Documents and Desktop folders synced there. I don't use iCloud for these things, so I can't say if the problem is also caused by that.


Why is a number of notifications showing up on one of my calendars?

I discovered the cause once I arrived at work: the notifications, which came from an airline, were sitting on my desktop computer, waiting to be approved. For some reason, they didn't pop up on my laptop while I was at home. (possibly different OS version: 10.11.6 vs. 10.10.5)

It still isn't disappearing from my laptop, but hopefully if I wait it out a while Apple's Calendar will get around to noticing.


I doubt it's the gun that's the issue, but without getting actual hands-on, it's impossible to tell for sure.

It could be something as simple as color being out of sync and a simple degauss should correct.  Pass a magnet across the front of the screen; that should clear things up.  You don't need anything powerful.  I've used re-purposed speaker magnets back in the day.  I have also seen people use tool magnetizers with the added benefit that if it doesn't work, you still have a functional tool for future magnetizing needs (from $2 to $10 USD).

If the degauss fails, it may be a component or a faulty solder joint that controls the color hue/saturation.  At this point, it would be best to take it to a pro who specializes in this type of diagnostic/repair.    It's not a difficult repair and shouldn't be costly at all.  It's just that you will be working with extremely high voltages and can be quite dangerous for the novice.


You can install OpenSSH in Cydia and use a SSH client (say, Panic's Prompt - look for it in the App Store), that makes a pretty nice terminal emulator for iOS.

As to running programs from the command line, sure, no problem, but none of them are designed to work in CLI. They don't retrieve/parse arguments, don't output...etc
If you can get some out of Cydia or compile them yourself, it'll work, but I don't think you'll be able to command Apple's own apps that way.


Charge iOS device through mains whilst using data cable with laptop

Rather than having to deal with a homebrew solution, why not just purchase an externally powered USB hub? For example, the D-Link DUB-H7 USB hub is able to provide 1.2 Amps through 2 of its 7 total ports (labeled as 'fast charging' ports). There may also be other hubs out there that will offer the maximum 2 Amps per port.


Get nic name and interface via command line?

This isn't a pretty way to do it, but it does get you the info you desire:

system_profiler | grep "Interfaces" -A15

The command is slow, mostly because of how much data system_profiler spews out.  But as a summary:

system_profiler lists loads of info about the system
| is a "pipe" and puts the output of 1 to another command (3)
grep searches for patterns/words, in our case "Interfaces"
The switch -A15 prints out the 15 lines following the match.

Example output:

  Interfaces:
    en0:
      Card Type: AirPort Extreme  (0x14E4, 0xEF)
      Firmware Version: Broadcom BCM43xx 1.0 (5.106.98.100.17)
      MAC Address: xx:xx:xx:xx:xx:xx
      Locale: FCC
      Country Code: US
      Supported PHY Modes: 802.11 a/b/g/n
      Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165
      Wake On Wireless: Supported
      AirDrop: Supported
      Status: Connected
      Current Network Information:
        mynetwork:
          PHY Mode: 802.11n
          BSSID: xx:xx:xx:xx:xx:xx

You can limit -A15 to a lower number (say 3) to just get the card id and the Firmware version (i.e. That'll be the chipset).  If that is too much info, you can always get some info on your interfaces with ifconfig or network setup -listallhardwareports, but neither includes info about the chipset/manu unless you want to parse it out of the MAC address (first 6 chars, I think).

Otherwise, you could look into installing lspci, but that is probably in the scope of another question.


Your issue could be one of two things: the battery or an issue with your OS.

You said you have already had your battery tested, but battery apps aren't very accurate and different tests at the Apple store will show different results.

Start by calling (or chatting with) Apple support. Do this on a different device. Ask if they can remotely run a Mobile Resource Inspector test. This will test many different components in your phone and is how they diagnosed my battery issue.

If they determine it is not a battery issue, do a FULL restore. You'll need a computer with iTunes for this.

  As always, make sure all of your data is saved. You will not restore from a backup, so save it another way.

Start by putting your phone in recovery mode.

Shut down your iPhone.
Press and hold both the Home and Top buttons until the connect to iTunes screen appears.
Connect to iTunes.

iTunes will show a popup asking if you'd like to restore or update. You'd like to Restore.

Your computer will download a completely new copy of iOS 11 - that's what makes this different than doing this on an iPhone.

If your computer takes longer than 15 minutes to download the update, you'll need to put your phone in recovery mode again. Press and hold the Home and Top buttons at the same time to do this.

  Warning: Restoring your phone this way will require your Apple ID password unless you didn't have Find My iPhone enabled. If you do not remember your Apple ID password, you should reset it at iforgot.apple.com

If none of this fixed your phone, I'd recommend talking to Apple Support about your issue over the phone. (Over-the-phone support is generally faster than live chat)


The original iPad (iPad 1) can support iOS 3.2 up to iOS 5.1.1 - source here: the iOS Support Matrix.

According to the link you provided for the app, the app you want to install requires iOS 8 or above.

This means that you can not install the app on your iPad, since it requires iOS 8, but your iPad can only run up to iOS 5.1.1.


How can iPhone be used when wearing gloves?

I like these lambswool gloves by Dots. I imagine they use some sort of conductive thread woven in the fabric, and they're quite affordable at $15.50 to $20.


For complete belt & braces, you really need a minimum of 3 distinct locations for any data you consider 'permanent'.

Your computer.
a local backup
an off-site backup.

There can be some element of redundancy in this.

You can backup your iPhone to your computer, via iTunes.

Your computer then ought to be backed up to either another computer in the same building, or to a hard drive, connected especially for that purpose. For Mac, Time Machine is the perfect solution. For Windows, something like Acronis.
This ought to be good enough right up to the point the house burns down ;)

To be secure even in that remote eventuality, your computer, already containing your safety backup of your iCloud/iPhone data, can then separately be backed up to another online service such as Backblaze. Acronis also have a cloud solution - I've not tried this myself, but it may be worth investigating.


What causes my iTunes password to expire?

I've had this problem several times and was stumped and annoyed that I had to keep changing my password and fixing it in all the places I'm logged in with my Apple ID.

I have the answer! I called Apple tech support and they know why this is happening!!!

At some point in the past, when you went to appleid.apple.com and logged in, under the "Password and Security" option, there was a setting that allowed you to manage how often your password would expire, ie. every 1, 3, 6, 12 months... you get the idea. Well, in the recent past Apple made some changes and security enhancements to better protect peoples' private information, and guess what? They have since removed this option. One of the Senior Technical Advisors who knew exactly what I was talking about (and had intentionally turned this setting on for themselves) went into their own account, but alas, it the option was not there.

Solution?
Unfortunately, at this time, however often your password was set to keep expiring, it will continue to do so.

A possible solution in the future?
Call AppleCare 1-800-275-2273 and ask them (try to speak to a Senior Advisor) to put in a formal request to the "powers that be" to either permanently stop all accounts from having their passwords expire, or make a request that Apple return the user's option to change their password expiration setting. Or both. The more people need something to change, the more likely Apple will be able to make it a priority.


Does Apple support DDC/CI for  3rd party displays via Apple's Thunderbolt to DVI adapter

I wish it were possible too, but the short answer is no, you can't use System Preferences to control the brightness of an external display via DDC/CI.

It might be feasible to write a program that can adjust the brightness of your external display, but it's by no means a sure thing. Read on if you want the gory details…

After doing a fair bit of research, I'm pretty sure that Apple doesn't use DDC/CI to control the brightness of displays, either internal or external.

The brightness of Apple Cinema Displays can only be adjusted when the USB interface is plugged in. With DDC/CI this would not be necessary.
Apple provides (though apparently does not document) an interface to display brightness through their IOKit library, specifically in ioGraphicsLib:

http://mattdanger.net/2008/12/adjust-mac-os-x-display-brightness-from-the-terminal/

…but this interface does not seem to work reliably for external displays:

http://njr.sabi.net/2006/06/20/setting-display-brightness-updated-tool/

( I read up on this a few years ago and while I can't now find a supporting link, I seem to recall that display brightness (at least for internal displays) may be delegated to Apple's System Management Controller (SMC), which has responsibility for all power-related functions: fan speed, monitoring battery level, etc. I wouldn't be surprised if Apple had implemented their own I²C control interface between the SMC and the internal display - but this is pure speculation on my part. )
It is possible to communicate with/control external displays using DDC/CI and custom software, but support for this has been broken more than once in the OS X era. DDC/CI support is also dependent on the graphics chipset and drivers used.

From http://update.necdisplay.com/spectraview/readmemac_v1_1_12_1.html:

  As of Mac OS 10.8.0, support for monitor connunications[sic] via
  DDC/CI is not functioning on some Macs, including systems with DVI
  video outputs, and when using a miniDisplayPort to DVI cable or
  adapter. NEC is working with Apple to fix this issue in a future Mac
  OS update.

DDC/CI works over I²C. Apple's IOKit library includes an I²C interface which should make it possible to write a display control program, but there are a few reports that this does not work reliably (specifically, values can be written to the monitor but not read, so you can't tell what the current brightness is):

http://lists.apple.com/archives/colorsync-users/2011/Feb/msg00026.html
http://lists.apple.com/archives/darwin-dev/2012/Jul/msg00019.html
https://stackoverflow.com/questions/11561623/i2c-communication-in-iokit-on-mac-os-x

So that's about the size of it, as far as I can tell.

If you are (or you know) an Objective-C developer, I did find a project on GitHub that you could have a look at tinkering with – however as mentioned above, even assuming the code is OK, it might not work for your combination of monitor, Mac and display drivers.


Restrict super user write access to some files

SelfControl
SelfControl is an open source project aimed at restricting distractions:

SelfControl is a free and open-source application for macOS that lets you block your own access to distracting websites, your mail servers, or anything else on the Internet. Just set a period of time to block for, add sites to your blacklist, and click "Start." Until that timer expires, you will be unable to access those sites—even if you restart your computer or delete the application.

Pi-Hole
To block distracting websites and services on all your devices, consider blocking them on your network using Pi-Hole.
With this approach you avoid needing to modify your macOS configuration.


Can airpod with wrong spelling on the case be original?

Of course these are fake. Or perhaps, more accurate, counterfeit. I think it’s safe to say, a genuine Apple product will not have a spelling typo.


OS X Empty Trash is deleting all files on computer

So what is SOUNDS like is there is some serious directory corruption going on with your system.

FIRST make a backup. use disk utility to clone the drive to an image on an external drive, or Carbon Copy Cloner or some such.

Boot your system from the Snow Leopard Install disk and once you select the language to use go to the menu at the top of the screen (Tools?) and select Disk Utility.

Once that is up click on your hard drive and repair it. Then do it again. It could take a while. It is also possible that it won't be able to fix it, but at least you know.

If it won't fix it, my go to Disk repair utility is DiskWarrior. you can buy it online and create a bootable repair disk (note that booting from the DW CD is very slow. 10+ minutes to boot) and let DW do it's thing. And if DW cant repair it you may have to repartition/reformat.

Again, I cant stress enough the importance of backing up everything that you can, even if you have to just drag the files you need from your internal HD to an external one.

Failing all of that, verify your backup is working and then boot from the installer again and delete the old partition, create a new one and format it. Install the O/S from scratch, apply updates and then restore your files.

Not much fun but if you can get your needful files off the computer quite fixable.

Oh just thought of one more thing...

If you go the reformat route and it won't partition or reformat then the drive is probably dying, time to replace it.


Erase MacBook hard drive without the use of the mouse

You can use a Keyboard combination to erase your Macbook with VoiceOver's accessibility feature.

First, reboot your computer and be in Recovery mode with the combination of ⌘+R.
At the recovery welcome screen, press ⌘+F5 keys (or ⌘+fn+F5, if you're on an Apple laptop) to enable VoiceOver's accessibility features.
On the macOS Utilities selection screen, use the arrow keys to highlight Disk Utility, press the Tab button to highlight the Continue button and press ⌃+⌥+Space as instructed by the voice-over display screen.
Use ⇥ (tab) if needed to be on your Macintosh HD-Data. Once you follow the voice control option, you can be on Erase option, and press ⌃+⌥+Space
Voila !! it is done without any mouse too.


I do not send my photos to iCloud, i only keep them on my phone.

All you need to do is toggle of the switch that tells your phone to send your photos to iCloud or not.

When you are in the iCloud settings page you can choose what things you want to have iCloud save, such as calendar, notes etc by just toggling a switch/button next to each function.

Go to Settings and click on your name at the top of the page, it will  be at the top of the page and have your name in large text ( or whatever your apple id is set to ) and in small text just below it will be "Apple ID,iCloud, iTunes & APP Store with a  >  to the right.

Touch the > scroll down and touch iCloud, now just toggle off the slider button next to Photos. ( it will be green and to the right if it is set to on and if you touch it it will move the the left and no longer be green. )

I also do not use iCloud drive, i keep it toggled off. ( not sure if having it on would have an effect on the photos setting.


Why can't I paste into the password dialog when mounting an encrypted disk image?

No, you aren't doing anything wrong. Apple doesn't allow you to paste into certain secure dialog boxes. It's a feature, not a bug. (It makes a brute force hack of the dialog box more difficult.)

You can paste the password into the command line if you mount the secure image using hdiutil.

Open Terminal and type:

 hdiutil attach /path/to/imagefile -stdinpass

When prompted for the password, copy it from a text file or (preferably) a password vault and paste it into terminal.

If the path/to/imagefile is complex, you can type the command, a space, then drag the imagefile icon from the finder into the terminal window to automatically enter the path/filname.


How to map a MacBook keyboard to write different characters?

if you go to
system preference>keyboarder>input source

then click on >> option key (alt)
you are going to see all even in Japanese


Set up iMessage on iPod touch without erasing all data

Go to Settings → Messages and log in with your Apple ID. This does not erase any data.


How do I enable apps created in Fluid to access location data for my computer?

This is not an answer to your question per se, but I stopped using Fluid and moved on to Chrome SSBs, both for the ability to add Chrome plugins (a must for me) and the better experience (IMHO) of Chrome as my browser. I've thus far created SSBs for Google Play Music, Gmail, Google Calendar, and MightyText. All work beautifully.
The script I'm using is as follows:
#!/bin/bash

# White Space Trimming: http://codesnippets.joyent.com/posts/show/1816
trim() {
  local var=$1
  var="${var#"${var%%[![:space:]]*}"}"   # remove leading whitespace characters
  var="${var%"${var##*[![:space:]]}"}"   # remove trailing whitespace characters
  /bin/echo -n "$var"
}

### Get Input
/bin/echo "What should the Application be called?"
read inputline
name=`trim "$inputline"`

/bin/echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url=`trim "$inputline"`

/bin/echo "What is the full path to the icon (e.g. /Users/username/Desktop/icon.png)?"
read inputline
icon=`trim "$inputline"`

#### Find Chrome. If its not in the standard spot, try using spotlight.
chromePath="/Applications/Google Chrome.app"
if [ ! -d "$chromePath" ] ; then
    chromePath=`mdfind "kMDItemCFBundleIdentifier == 'com.google.Chrome'" | head -n 1`
    if [ -z "$chromePath" ] ; then
    /bin/echo "ERROR. Where is chrome installed?!?!"
    exit 1
    fi
fi
chromeExecPath="$chromePath/Contents/MacOS/Google Chrome"

# Let's make the app whereever we call the script from...
appRoot=`/bin/pwd`

# various paths used when creating the app
resourcePath="$appRoot/$name.app/Contents/Resources"
execPath="$appRoot/$name.app/Contents/MacOS"
profilePath="$appRoot/$name.app/Contents/Profile"
plistPath="$appRoot/$name.app/Contents/Info.plist"
versionsPath="$appRoot/$name.app/Contents/Versions"

# make the directories
/bin/mkdir -p  "$resourcePath" "$execPath" "$profilePath"

# convert the icon and copy into Resources
if [ -f "$icon" ] ; then
    if [ ${icon: -5} == ".icns" ] ; then
        /bin/cp "$icon" "$resourcePath/icon.icns"
    else
        sips -s format tiff "$icon" --out "$resourcePath/icon.tiff" --resampleWidth 128 >& /dev/null
        tiff2icns -noLarge "$resourcePath/icon.tiff" >& /dev/null
    fi
fi

# Save a symlink to the location of the Chrome executable to be copied when the SSB is started.
/bin/ln -s "$chromeExecPath" "$execPath/Chrome"

### Create the wrapper executable
/bin/cat >"$execPath/$name" <<EOF
#!/bin/sh
ABSPATH=\$(cd "\$(dirname "\$0")"; pwd)
/bin/cp "\$ABSPATH/Chrome" "\$ABSPATH/$name Chrome"
exec "\$ABSPATH/$name Chrome" --app="$url" --user-data-dir="\$ABSPATH/../Profile" "\$@"
EOF
/bin/chmod +x "$execPath/$name"

### create the Info.plist
/bin/cat > "$plistPath" <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>CFBundleExecutable</key>
<string>$name</string>
<key>CFBundleName</key>
<string>$name</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
</dict>
</plist>
EOF

### link the Versions directory
/bin/ln -s "$chromePath/Contents/Versions" "$versionsPath"

### create a default (en) localization to name the app
/bin/mkdir -p "$resourcePath/en.lproj"
/bin/cat > "$resourcePath/en.lproj/InfoPlist.strings" <<EOF
CFBundleDisplayName = "$name";
CFBundleName = "$name";
EOF

### tell the user where the app is located so that they can move it to
### /Applications if they wish
/bin/cat <<EOF
Finished! The app has been installed in
$appRoot/$name.app
EOF

I am pasting it here because I cannot recall where I found it, but it's one of the only "Chrome-to-SSB" scripts that creates a unique set of preferences for the app it creates.
NOTE: You still need to customize the Preferences environment so that you do not run afoul of Mac Keychain issues with multiple browsers identifying themselves to the system as "Google Chrome" and the Keychain Access app going into an infinite loop requesting authentication rights. Trust me on this, and read the warning at the bottom.
So:

Download the script file
Stash it somewhere safe. I recommend loose in your Home folder, since this is where the Terminal will start up to.
Name it anything you wish (chromeSSB.sh is memorable) or create an alias to it in your .bashrc or .bash_profile.
Invoke the script by typing its name in the terminal, so, using the example name above:

and hit 'Enter'. The script will then walk you through the creation of your SSB, asking, in order…

What should the Application be called?
What is the url (e.g. https://www.google.com/calendar/render)?
What is the full path to the icon (e.g. /Users/username/Desktop/icon.png)?

And that's it! Make sure to download and point to a beautiful hi-res png of your desired app icon, if that matters to you.
Now, the warning mentioned above.
Because you're creating a separate instance of Chrome, and because Chrome wants to help you out in every way possible by syncing your life among every Chrome browser you use, you will want to take a couple of steps when you first launch your new Chrome-based SSB. On launching you will be greeted with:

1.
You're going to want to un-check that box, so that your "normal" copy of Chrome is your "default" copy.
Then you will see:

2.
Enter your Google Account info and "Sign In."
You should see the following screen, asking you what you would like to sync between your browsers (if you do not see this screen immediately, see below). Choose "Choose What To Sync" from the popup menu…

Then DESELECT EVERY CHECKBOX…

…so that you are syncing nothing between browsers. This gives you access to your Google account info (if you need it) but otherwise leaves the browser as a completely self-standing app, which is exactly what you want. If you leave any of these 'sync' checkboxes checked, you do so at your own peril, because crossing the streams is bad. Consider that an important safety tip. ;-)
This seems overly-complicated, but just read it through once and you'll be fine.

Create the app.
Make sure that the new app (browser) doesn't sync with other Chrome instances.
Enjoy.

If you did not see the "Choose What To Sync" preferences screen as soon as you logged into Chrome, no worries. I've seen that happen a few times. Proceed from here:
So, you are signed in to the browser session but NOT signed into Chrome (or something like that). What does this mean? You bookmarks, preferences, plugins, etc., are not automatically synced for you right now, so there's one final step to log in. Choose "Preferences" from your App's main menu (whatever you named it)…

and "Sign in to Chrome"…

Enter your login again, and then proceed to step 2, above.


How does my iPhone (iOS 9) know that I'm about to drive home?

Does it recognize that it has connected to my car's phone system via bluetooth?

This. Precisely this.

It also works if you connect the device to your car system over USB (not just charging, but actually connected to receive phone calls), or start CarPlay if supported by your car.


Sync books from iBooks on Mac with iBooks on iPhone

In short, the iBooks application and its behavior were kind of a big surprise to everybody. Before I opened it, Mavericks seemed great.

The iBooks application seems positioned to deal only with purchased (DRM) books. This includes your ePubs and PDFs. It wasn't announced, but it seems to be the case. Also the iBooks application on the desktop isn't intended to be the means to sync to your iDevices. When you sync your device, the iTunes "Books" selections will come from the new iBooks application.

All of your not-purchaed ePubs and PDFs that you used to store and sync in iTunes, well now you have to use something else, like Calibre. Whether or not this continues to be the case is unknown. It's possible that the new iBooks app is an attempt to distance Apple from non purchased books.

I spent a day putting all my non-purchased books into Calibre and it works fine. It's not seamless with the syncing, especially if you used to do it over WiFi. For the moment that capability is not available. Calibre has multiple methods for copying to devices, and you will definitely need to do a little digging in the documentation.

So for the moment, you have two separate methods of syncing books: iBooks and iTunes for purchased, and Calibre (or whatever) for non-purchased.

When you start iBooks for the first time, your iTunes books will be transferred to a folder buried out-of-sight. Most of the ePub metadata will be in the ePub file, but not so for PDFs. If you were lucky you copied your stuff out of iTunes before using iBooks. I wasn't so lucky.

BTW, any PDFs that are music booklets (or in my case, sheet music) can stay with the album in iTunes. However they are media type "Music".


How do I remove the WD Quick view icon in menu bar?

For this particular app, WD provide an uninstaller. It should be in your Applications folder (look for "WD Quick View Uninstaller.app").

You will need to reboot before it is fully removed but it is disabled as soon as you run the installer (I was monitoring its network activity before and after).

It appears to be totally fine to remove it since it only provides information to the user rather than affecting any actual functionality of the drive. If your model of WD drive comes with a management console then all the information is apparently in there (this would be accessed via a browser. For a My Book Live it would be http://mybooklive.local/UI/ ).


I solved it! My mistake was trying to install another, newer version of rEFInd at first without completely removing my previous rEFInd folder. I then deleted my newly downloaded rEFInd folder then simply installed my old rEFInd version again.


How can I download the source code for iOS?

iOS is a derivative of Darwin OS which is an open source OS released by Apple. You can browse Apple's open source archives and download the Darwin code from their Open Source Development site. That link contains the major release archives for all the Darwin-based operating systems Apple has produced to date.

What you don't get with those archives is the proprietary layers that Apple places on top of Darwin to build the shipped iOS and OS X operating systems you interact with. These include things like the GUI framework and some hardware drivers and what not. In a nutshell: you don't get the polish that makes it an Apple OS. But you do get the engine.

You can also gain access to the developer APIs made available by Apple by joining their iOS Developer Program. If you'd like to access the developer APIs and documentations you can enroll in the Apple Developer Program and you'll immediately be given access to beta builds of iOS as well as all the developer API docs.

I do not believe the JailBreakMe developer (at the time of writing he has accepted an intern position at Apple) had any special level of access to the proprietary and company-secret components that make up the iOS operating system. Just the Darwin source for the releases and the developer APIs.


Finder directory containing latest iCloud Photos

You can access Photos directly in the standard macOS file selector

If you don't see the sidebar you can enable it with the dropdown behind the icon on top left


Is there a way to open files from Transmit in Sublime Text 2 as new tab, not new window?

You have to add the following line to your Preferences → User Settings:

"open_files_in_new_window": false


While it's not entirely the same thing, you could use one of the WebKit Linux ports to run "mostly Safari" on Linux. However, if you're intent on running macOS on non-Apple hardware, there are ways. However, note that these methods may violate Apple's macOS SLA.

According to Apple's macOS 10.12 SLA, you may use your limited, non- transferable, non-exclusive license:

  to install, use and run up to two (2) additional copies or instances
  of the Apple Software within virtual operating system environments on
  each Mac Computer you own or control that is already running the Apple
  Software, for purposes of: (a) software development; (b) testing
  during software development; (c) using macOS Server; or (d) personal,
  non-commercial use.

From a technical perspective, there's nothing that would prevent you from running a VM on non-Apple hardware, though you would clearly be in violation of the SLA, and as such, I can't recommend you do this. However, if you decide to run a VM on Apple hardware, it's possible to create a compatible ISO. In any case, you'd need access to a macOS equipped machine.

Again, while clearly in violate of the SLA, there are methods to put macOS on non-Apple hardware, generally known as Hackintoshing. Again, I cannot condone this, but it is technically possible.

The easiest and most legally clear method is still to run Safari on Apple hardware, and that's what I'd recommend.


You could check out CloudApp. It started out on desktop but there are a couple good mobile clients as well, namely Stratus and Cloud2go.

These apps don't do any sort of editing. But CloudApp's backend automatically scales images when viewing on a screen that's too small to display them at their native size. Additionally, they provide a 'direct link' option for embedding images directly.


TextEdit saves the state of that switch in each document, apparently; so to get round that you need something along the lines of this - Applescript Won't Invoke Shortcut Command - to test for it each time [The link contains a lot of 'live' research & guesswork, but the last answer at https://apple.stackexchange.com/a/209219/85275 is the one that finally nailed it]

Using that as a base, try this…

tell application "System Events" to tell process "TextEdit"
    set v to (value of attribute "AXMenuItemMarkChar" of menu item "Smart Quotes" of menu 1 of menu item "Substitutions" of menu 1 of menu bar item "Edit" of menu bar 1)

    if v = "✓" then
        click menu item "Smart Quotes" of menu 1 of menu item "Substitutions" of menu 1 of menu bar item "Edit" of menu bar 1
    end if
end tell

You could save it as a Service & invoke with a key command.

Late thought:
Make sure you are working on an rtf document, not plain text, as you have the pref set to only be 'smart' in rtf.


Safari AppleScript - Can't Filter Tabs of Inactive Windows

This is how AppleScript refers to items from lists. You're not doing anything wrong.

When you say ‘first item’ of a list, you get ‘item 1 of {some list}’, that is literally equivalent to the first item in the list as you'd expect it in other languages.

All 3 of these are equivalent and refer to exactly the same thing, even though they show differently.

tab 1 of window id 1

item 1 of {tab 1 of window id 1}

item 1 of {tab 1 of window id 1, tab 2 of …, …}

You can get properties from this item as if it had never been in a list.

set targetName to name of targetTab -- gets the name of the tab

It may be confusing coming from other languages to see the entire list shown when you just want a single item, but it's likely for performance, since it doesn't attempt to extract anything from the list or even show a different representation of the item just because you don't want to see the rest of the list in some sort of output.


Cannot copy a large file; space available

FAT32 has a maximum size for any individual file: 4 GB.

You can split the file into <4 GB segments, copy to the FAT32 disk, then recombine them once you've copied them off the FAT32 disk to somewhere else.

# make 4 GB file segments
truncate -s 7.8G /path/to/file
split --bytes=3.9GB --numeric-suffixes /path/to/file /path/to/file.part
# copy to disk
cp /path/to/file.part* /Volumes/yourFATdisk/

# copy from disk
cp /Volumes/yourFATdisk/file.part* /path/to/
# combine segments
cat /path/to/file.part* > /path/to/file

Adapted from https://superuser.com/questions/440509/getting-around-the-fat32-4gb-file-size-limit


How long can an Apple Watch stay without an iPhone?

There's no artificial limit imposed on how long the Apple Watch can remain away. When the Apple Watch reconnects to the iPhone, it will sync any data which is not on the iPhone as usual.

The Apple Watch has 8 GB of internal storage — whilst that won't all be available for Health data, Health only uses a very small amount of storage (~6 months for me has used 3.6 MB) so this isn't something to worry about.


Is there a way to tell how long your Mac was turned on on a distinctive day?

I have uploaded a bash script as a Gist to my Github account at print_osx_uptimes.sh which may help answer your question, even if not exactly what was asked (which was more complicated).

The script will query the Apple System Log (ASL) facility for 'shutdown' messages. The 'Message' field’s values contain the system uptime as of the shutdown event, which I figured is probably reasonably close to the original poster’s question.

It then converts the uptime seconds to a more readable format showing days, hours, minutes and seconds.

Tested on OS X 10.10.5, but see no reason it should not work on anything from 10.7 onward (likely 10.6 as well).

Edited code to also check for (duh) 'reboot' messages, and updates the output to show what the event type (ie. Sender name) was for each.

Sample output:

$ ./print_osx_uptimes.sh
Shutdown on date/time:         Event                     Reported uptime of:
=============================  =========  ===================================
Mon Jul  6 2015 10:32:21 EDT   shutdown       1 days  11 hrs  30 min  15 secs
Thu Jul 16 2015 20:47:24 EDT   reboot         1 days  22 hrs  15 min  46 secs
Thu Jul 16 2015 22:01:50 EDT   shutdown       0 days  21 hrs   4 min  28 secs
Sun Jul 19 2015 02:10:34 EDT   shutdown       2 days  16 hrs  35 min  35 secs
Tue Jul 21 2015 19:32:35 EDT   shutdown       9 days  17 hrs  41 min  46 secs
Fri Jul 24 2015 20:35:05 EDT   shutdown       9 days   7 hrs  55 min  38 secs
Sat Jul 25 2015 00:03:13 EDT   shutdown       8 days  10 hrs  45 min   8 secs
Tue Jul 28 2015 09:16:47 EDT   shutdown       5 days  21 hrs  20 min  57 secs
Thu Jul 30 2015 22:32:36 EDT   shutdown      10 days   0 hrs   3 min  59 secs
Tue Aug  4 2015 01:37:32 EDT   shutdown       7 days   4 hrs  24 min  35 secs
Fri Aug 14 2015 19:15:04 EDT   reboot         5 days  22 hrs  42 min   1 secs

The meat of the script on Github Gist is:

#!/bin/bash

# https://gist.github.com/jps3/afc1e374b632e1ed1ebc

# function displaytime() is a modified form of that from:
# http://unix.stackexchange.com/a/27014
function displaytime {
  local T=$1
  local D=$((T/60/60/24))
  local H=$((T/60/60%24))
  local M=$((T/60%60))
  local S=$((T%60))
  printf '%5s days  %2s hrs  %2s min  %2s secs' $D $H $M $S
}

function get_syslog_entries () {
  syslog -d store \
    -F '$(Sender) $(Message)' \
    -k Sender Req '^(shutdown|reboot)$' \
    -k Message Req "SHUTDOWN_TIME"
}

while read -a line; do
  sender="${line[0]}"
  log_entry_timestamp="$(date -j -f %s "${line[2]}" +"%a %b %e %Y %T %Z")"
  uptime_timestamp="$(displaytime "${line[3]}")"
  printf "%s   %-8s   %s\n" "${log_entry_timestamp}" "${sender}" "${uptime_timestamp}"
done < <(get_syslog_entries)

Hope this helps. I tried to clean up the script and make the parts and comments useful.


Update: macOS Catalina has resolved the issue for me.

The only workaround as of now is to use Safari Technology Preview. If you delete all Safari folders from your home directory, you can stay logged in to the first few websites you visit. After this initial period, it starts deleting cookies for all future websites.


How to choke network preformance on OS X

Although you can use command-line tools to do this, Apple has a developer tool that allows you to do what you are talking about from a control panel. There are presets available, or you can set your own performance limits. The tool is called "Network Link Conditioner" and is available on Apple's developer download site with a package called "Hardware IO Tools for Xcode".

Here is a blog post discussing the tool (with screen shots):
http://mattgemmell.com/2011/07/25/network-link-conditioner-in-lion/


How can I browse the hard disk attached to my Airport Extreme from my iPhone?

Try FileExplorer Free from the AppStore.  I got my iPhone to see the files on a HD attached to my Airport Extreme Router.

The HD has to be formatted as HFS+ (Mac OS Extended Journaled)


Purchasing hundreds of consumer App Store apps for employees

I suppose I should begin with the caveats that

I do not live in Europe so I do not know how things might work there.
I do not own or manage a business. So also clueless there.
I have not personally ever bought anything other than free apps from the Apple App Store.

So, what I am saying is that I can not answer your question. But I also suffer from Y-chromosome induced Male Answer Syndrome, so I'll try to answer anyway.

Let's start with the assumption that Apple wants to sell you these apps. You just have to track down someone to help you either at Apple or at the company which sells this Afaria app you mentioned.

You do not mention which country in Europe you are in. But I assume there is an Apple web site either for that country or for your native language. I suggest you go to that web site and search there for information on a volume licensing program.

For example, I tried looking at http://www.apple.com/uk/ and searched for volume license.

That search turned up this link: http://www.apple.com/uk/mac/volume-licensing/

Now the page that link took me too appears to apply to volume licensing only for the OS X Lion operating system. Still, the people involved would at least know something about Apple's Volume License process. So, if you were in the UK I would suggest you contact them and start a conversation.

Even if they can't help you they could still probably point you towards other Apple people who might be able to help you.

I suggest you try something like that with the Apple web site which targets your region in Europe.

I realize this would be a tedious and frustrating process. And I hope someone else provides a better answer to your question here. But unless they do, I think your best chance of solving your problem is to start working you way through people at Apple who would want to sell you something help you.


Is it safe to super glue a broken fan connector back to the logic board?

Epoxy and\or super glue may be very effective at gluing the connector to the PCB, but there’s no way to ensure you get a proper connection with the pads on the PCB.  It will be a one shot deal - if you don’t get it right the first time, you’ll be out of luck on subsequent tries.

I need to be clear here...  I understand that you need this laptop now so time is critical.   This avenue of repair is highly likely to fail (though you could get lucky) and will end up costing you much, much more down time than if you took the time to get the right tool for the job.

How might it fail?  You could mis-align the connectors or you could get glue/epoxy between the connector and pad insulating it.  You’ll cause more damage trying to remove the connector to retry the repair

You might want to look up TV repair shops in your area as this repair would be something they could do as it’s a very simple job.


Computer should be restarted to connect internet (Mountain Lion on VMware 8)

Mac OS X is only supported as guest OS when the host OS is OS X - and then it only OS X Server that VMware allow the install of.

Therefore I think you are missing some necessary driveres.


Can't download High Sierra from the Mac App Store

You can't  update because your system is running with a higher beta Version of OS X.
Leave Apple beta Program with the devices and wait for a greater update than the system have at the moment.

If you need help leaving the beta Program check this:
https://beta.apple.com/sp/betaprogram/unenroll


Apple alias in Mail and iCloud revealing my identity

I am unable to replicate this behaviour – when I click "Reply" in the native OS X Mail app, having All Inboxes selected, the address and correct alias name pops up. (If I only have the iCloud-inbox selected, it automatically replies from the main iCloud address..)

One thing you should do is double check the alias' settings on iCloud.com – specifically the alias name. If it's filled correctly, try to remove the iCloud (mail)account from your mac and relink it. If that doesn't fix it, go all the way and remove the actual alias from iCloud and make a new one, and try again. If even that doesn't fix it, throw your mac on the ground and walk away angrily. (No, don't actually try that, it won't work)

If nothing works, and you are unable to replicate this behaviour on a different computer, delete all settings and completely reset the Mail app.


Delete items on the contextual menu (right click)

It is possible to remove some items from The Finder's context menu in the Keyboard preference pane, it is not however possible to remove the specific ones you have asked about, at least as far as I can tell.  If you would like to try and remove some of the other items, go to System Preferences --> Keyboard and select the keyboard shortcuts tab.  Select "Services" from the list on the left hand side and then scroll down to the "Files & Folders" heading on the left hand side.  From here you can select which items to keep and which to remove.  As  I said, there is no option to remove "Burn" or "Labels" but at this point I don't think that is possible.  I'll certainly keep searching for you though.


Need clarification on macOS proxy configuration settings

if you a .pac file. u can use it with the following syntax https://ip_addr:port/proxy.pac [or could] in Firfox. The section just below the manual proxy settings.
hope helps


MRT Process using large unbounded amount of memory

Three systems that work together to protect your Mac from malware are:

gatekeeper
XProtect
MRT (probably stands for malware removal tool)

So, these are Apple processes and if they are busy, the likely cause is you are infected or compromised. It could be a false positive, but you might consider enabling gatekeeper and sip if you disabled them and see if you can clean your system. If not, you might need a clean install that’s patched and then carefully get data back but not any programs or malware.

As a developer, I would use the gear icon in the window you show and while MRT is selected, run System Diagnostics... and file a bug report / radar / escalate a support case to Apple Engineering so they can investigate if MRT has a memory leak - that's also very likely scenario if you are sure you're not needing malware removal every moment your Mac is running.

Assuming you just want to see if you need cleaning (or for others that aren't developers and have similar issues), continue below

A great place to start if you don’t typically remove malware is MBAM - https://www.malwarebytes.com/mac/

As always, be a little skeptical / aware of free tools since scam / snake oil software “protection or cleanup” tools are in fact compromising and malicious and untruthful about what they do. If you download something from free aggregators, you could even be tricked by something that isn’t the name it says on the file or description.

I would not disable MRT if you have it running hot unless you’re sure you’re not compromised.


Is there a way to control the position of the wallpaper on an iPad running iOS9?

No; iOS does not provide any options or control for wallpaper positioning - you set the file and it does what it does.


Connecting Thunderbolt 2 device to 2010 Mac Pro

You can connect the Promise Pegasus R4/R6 RAID directly to any 2013 Mac Pro.

You will need, however, a Thunderbolt 2 cable. These cables need to be bought separately and cost about about $35.

I have a Pegasus R4 RAID myself and can connect it to other Macs using the Thunderbolt cable without any issues. Keep in mind that you cannot connect two Macs simultaneously to the same Pegasus RAID.


Mac App Store - how to check which account was used to buy app

All app downloaded from Mac AppStore(MAS) contain a receipt inside their app bundle (example: appname.app/Contents/_MASReceipt/receipt). MAS will scan this file to check whether the new version is available.

You can use this application (Find Any File) to search any receipt on your drive: http://apps.tempel.org/FindAnyFile/

Launch 'Find Any File' and search for: _MASReceipt
Go through each result that you think could be the culprit, copy the receipt to your
desktop as a backup, and after that delete the receipt inside _MASReceipt folder.
Open MAS and let it scan for software update. If it's still showing the wrong ID, it means that you've deleted the
wrong receipt. Restore the receipt backup from your desktop to
it's previous location.
Repeat the process until you've found the problem receipt.


Can I run 2 16 Gig ram in my MacBook Pro (Retina, 15-inch, Mid 2015)

Everymac says no.
The RAM is soldered to the motherboard & cannot be changed.

16 GB of RAM is onboard and cannot be upgraded to a higher capacity at the initial time of system purchase or later.


Where can I get the Form to renew iOS Developer Program

This issue is specific to your credit card details and Apple Developer Program Membership, and as such, may require an Apple Representative to investigate on your behalf.

The "purchase form" may be attached to a notification email that you have been sent from Developer Relations as a PDF, which can be printed off and faxed accordingly.

If you are unsure of where this form is, or have any other queries about your renewal, I would suggest that you visit the Contact section of the Apple Developer website and click on the Apple Developer Program Support link underneath the Enrollment and Account heading to get in touch with a Representative.


Import text from webpage directly into Numbers cells

After @nohillside's reply, apparently there is the built-in CURRENCY function in Numbers that can do exactly what I was describing in my question.