After disabling auto mount, can I show connected but not mounted drives in Finder sidebar?

To answer the question, no Finder does not offer that preference or option, however there is a workaround.

I have a similar situation and I use an AppleScript script saved as an application that mounts the unmounted target volume when I want, without having to go into Disk Utility to do it.

I have this app on the Toolbar in Finder, with the same icon as shown on the drive, so it's easy to just click it. It could be placed on the Dock or Desktop, etc. At times I access it from Spotlight too. Lots of options, even using the code in an Automator Service workflow and assigning it a keyboard shortcut if you want.

set theVolumeName to "TOSHIBA EXT"
try
    do shell script "diskutil mount $(diskutil list | awk '/" & theVolumeName & "/{print $NF}')"
on error eStr number eNum
    if eNum is 1 then
        display dialog "The disk containing the\"" & theVolumeName & "\" volume is not available." buttons {"OK"} ¬
            default button 1 with title "Check Disk Connection & Power Status" with icon 0
    else
        display dialog eStr & " number " & eNum buttons {"OK"} default button 1 with title "Error Status" with icon 0
    end if
end try

Notes:

Change set theVolumeName to "TOSHIBA EXT" so "TOSHIBA EXT" is the name of the target mounted volume.
This script assumes there is and will only be one volume with the target name. If not, then the awk command will need to be modified to accommodate.

Understanding what the do shell script command is doing:

do shell script "diskutil mount $(diskutil list | awk '/" & theVolumeName & "/{print $NF}')"

do shell script - Executes a shell script using the sh shell.
diskutil mount device - Mount a single volume.
$(...) - Command Substitution. - Command substitution allows the output of a command to replace the command name. In this case it will be device in: diskutil mount device
diskutil list - List disks. If no argument is given, then all disks and all of their partitions are listed.
| - Pipe the output of the previous command to the next command.
awk '/" & theVolumeName & "/{print $NF}' - The example will be: awk '/TOSHIBA EXT/{print $NF}'

awk - Pattern-directed scanning and processing language.
/TOSHIBA EXT/ - Search pattern. Outputs the record (line) containing the search pattern.
In this example it matched:
        1:               Windows_NTFS TOSHIBA EXT             2.0 TB     disk1s1
{print $NF} - Prints the last field of the record. Which printed: disk1s1

The following is example output in Terminal:

$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *751.3 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            750.4 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *2.0 TB     disk1
   1:               Windows_NTFS TOSHIBA EXT             2.0 TB     disk1s1
$ diskutil list | awk '/TOSHIBA EXT/{print $NF}'
disk1s1
$ diskutil mount $(diskutil list | awk '/TOSHIBA EXT/{print $NF}')
Volume TOSHIBA EXT on disk1s1 mounted
$

So it finds the device for the diskutil mount device command regardless of how many disks are attached to the system.


How to Test Stability of your USB Connections?

Look in:

Apple Menu > About this Mac

Then click "System Report" button

From USB in the sidebar you can see for each device "current available" and "current required" if you plug in a device and it needs more than 500MA then it need an external power source!

If however you are plugging in two and each one requires more than 500MA they will need an external power source!

If this is not the case and each device is 500Ma or less you have youre proof!

I think static on the case alone should warrant Apple fixing the device.


Why do some characters are not displaying correctly in this website?

You presumably need to download and add a font.  Try Symbola.

If you have an iOS device, I think you should find the same behavior.  Apple's supplied fonts do not cover all of Unicode, which has well over 100,000 characters.

To check whether your MacOS has a font covering a specific character, you can open Character Viewer (Edit > Emoji and Symbols), select Unicode, and find the hex number.


How to remove adware on macOS Sierra 10.12.1?

Backup your data and let Malwarebytes do the job.


Looks like some special characters got inserted at the end (especially the 0x2e part which represents a simple .) and OS X now interpretes this as part of the server name. To fix, just run

sudo echo server time.apple.com > /etc/ntp.conf
sudo chown root:wheel /etc/ntp.conf

from the Terminal.

As to why you have this issue I have no clue.


What is the default META key for Irssi (IRC) on macOS?

According to Irssi documentation, it's Alt, which I believe the author meant ⌥ Option to be on macOS, as this is how ⌥ Option is usually used on macOS compared to Windows.

However, on macOS Mojave, it is actually Esc.


Why is my iOS 6 device missing all iTunes Match playlists?

I also found renaming the missing playlist in OS X caused it to appear back on a device that wasn't showing it.


Need location of image for preference pane "PREF" icon

You lift the the icon of any prefpane by the "get info trick"
http://support.apple.com/kb/ht2493

Also I'm seeing icons in the prefpane bundles in Contents/Resource/xxxx.icns


Will iCloud backups of iOS devices restore the iOS Keychain?

I do not believe the keychain is included under the iCloud umbrella. It covers: apps, mail, contacts, photos, calendar, and reminders. Additionally, application data is backed up for supported apps (currently not many)

My guess is that the password will need to be provided when restoring an iPad iCloud backup.


How can I sync multiple photo and video folders in iTunes?

Wild guess here because I don't sync mine on a windows system. But you can probably use symbolic links to your other folders, within the ones that actually sync.

Here is how to do it:
http://msdn.microsoft.com/en-us/library/aa363878(VS.85).aspx


I'm going to answer the first part of my own question.

After upgrading my iPod Touch to iOS 5, Location Services started working again.  Not only did it start working, it's showing the location as a point in the street in front of the house.

1)  The location I manually submitted to Skyhook in 2009 was in the street farther south, by the mailbox, so the old data point is not being used.  Not suprised since I have no reason to believe that Apple went back to Skyhook.  A visit to Skyhook's website verified that this point has not changed.

2)  The location that Apple started using last year was a point on the main highway 1/2 mile east of here.

So somehow Apple has independently obtained new data about my wifi location.  It's possible that during a recent party, somebody with an iPhone had connected to my Wifi and that data was sent back to Apple.  It's also possible that a Wifi data collection vehicle drove down this road.  It's very rural with only three homes on a one mile stretch, so although possible it's difficult to believe.

It was my previous understanding that Apple started requiring that devices be within range of several Wifi signals to improve Location Services accuracy.  Being in a rural location, it's nearly impossible for my iPod to pick up any Wifi signal other than my own.  With Skyhook, this was never an issue.

However, iOS 5 seems to heavily depend on Location Services so maybe they've changed something critical to how it functions in order to improve accuracy without requiring multiple Wifi signals.

I'm going to accept my own answer.  If anyone has a better answer to my original question, I'll consider accepting that instead.


Where is "Create disk image" function in El Capitan/Sierra?

In Disk Utility, you can use "New Image from Folder" accessible under File > New Image > Image from Folder or by Cmd ⌘Shift ⇧N.

Navigate to Computer or Volumes in the window and select your disk as the folder to create the image from. This should create an image of the disk.


I believe you can do this with accessibility features that are baked into macOS. They're located under System Preferences -> Accessibility. You can change the keyboard shortcuts under System Preferences -> Keyboard.
There are a couple different settings for the zoom type. It sounds like you might want to try fullscreen.


How can I access a remote machine via SSH from behind a proxy?

You may need tunneling technique for accessing an HTTP proxy using SSH tunneling check this link: http://kimmo.suominen.com/docs/proxy-through-ssh/


macOS High Sierra Download Link

That link should permit you to download the full macOS High Sierra installer from the App Store.


You can still do something like sudo mv /Applications/DVD\ Player.app /Applications/Utilities/.

I ran into several issues after moving applications on 10.6. For example Console crashed on launch, even though that stopped happening on 10.7. And OS upgrades will add duplicate applications at the original locations as in your case.


How can I force MacPorts to upgrade all upgradeable ports that it can?

This is what I use... it might not be pretty but it works:
sudo bash -c 'for port in `port outdated  2>/dev/null |  tail -n +2 | awk '\''{print $1}'\''` ; do echo -n "$port:" ;  port -N upgrade $port 2>> /tmp/upgrade-ports.err >> /tmp/upgrade-ports.out && echo "✓" || echo "✕" ; done'

Let me brake it down for you:

first, you don't want sudo in a loop, otherwise you need to keep putting your password. To avoid sudo I got the whole loop and quoted it (Alt+' in zsh is very helpful to properly escape the existing quotes) and then ran it with sudo bash -c. Alternatively you can put it in a file and run it as a script with sudo script

that leaves us with this loop:

for port in `port outdated  2>/dev/null | tail -n +2 | awk '{print $1}'` ; do echo -n "$port:" ;  port -N upgrade $port 2>> /tmp/upgrade-ports.err >> /tmp/upgrade-ports.out && echo "✓" || echo "✕" ; done```

I build the list of ports with:
port outdated  2>/dev/null | tail -n +2 | awk '{print $1}' (tail removes the line "The following installed ports are outdated:")
for every port I print the port name and a semicolon (without newline )
then I try to upgrade it non interactively, and save the output and errors
if the upgrade was successful I print a "✓" and a newline, otherwise a "✕" and a newline
note that this will not show the dependencies being installed, but you can tail the log to see what is happening*
this is what the output looks like:

adwaita-icon-theme:✓
apr:✕
aquaterm:✓

HTH
*Edited to clarify.
This means that in your example the output would look like this:
A:✕
B:✓
C:✓
D:✓
E:✓
F:✓
G:✓

But B will take a LONG time, and C, D, E and F will be very fast because they have already been upgraded during B.


5c restore fails, at the "Waiting for iPhone" stage of restore. Does not start back up.

According to the Apple site here, error code 2001 is related to USB problems.  Try the following:

Use the USB cable that came with the iPhone or a different USB cable that is from Apple directly (not 3rd-party, even if it is MFI)
Plug the USB cable into a different port on the computer.  Don't use a USB on a keyboard.
Try a different computer.

If all those fail, try the 'Check for hardware issues' on that same Apple site.

.


Macbook battery bar showing as red; battery % jumps around; battery condition normal; out of US charging

I would start by resetting the System Management Controller (SMC) which is responsible for power management and controlling the thermal environment of your Mac. Typically this covers things like interpreting and responding to various sensors, battery charging, sleep/wake/hibernation, the power button and restarts/shutdowns, LED indicators, and so on.

To reset the SMC on your model MBP follow these steps:

Fully shut down your MBP
Press ShiftControlOption on the left side of the built-in keyboard, and press the power button at the same time
Keep holding these down for at least 10 seconds before letting go
Power up the MBP again

Once you've done this keep an eye on your battery status to see if you notice any changes.

As an aside, I note your battery has a cycle count of 837. To put this into perspective, your MacBook Pro battery has a life expectancy at or around 1000 cycles.  It's not uncommon for batteries to exceed or fall short of this number; it's just an estimation of how long it can last.   You can refer to Determine battery cycle count for Mac notebooks on Apple's website for more info.

As your battery condition is listed as Normal I wouldn't be too concerned about the cycle count yet, but you may need to think about a battery replacement in the not-too-distant future.

You may also like to take a look at How to reset the System Management Controller (SMC) on your Mac. It provides more info on what the SMC does, when you to reset it, etc.


Are there keyboard mappings to make Ubuntu more like MacOS?

Update 02/03/2020

Kinto - Type in Linux like it's a Mac.

Kinto has now been rewritten in C for Ubuntu/Debian systems using x11. It also uses json config files, making it easier to manage and extend to other applications than just terminals. The app no longer maps to Super in the Terminal apps, it will now properly map to Ctrl+Shift to create the exact same feel as having a Cmd key.

Please checkout the latest release.
https://github.com/rbreaves/kinto

The main change to allow for the Super = Ctrl+Shift change is in this symbols file.

default partial xkb_symbols "mac_levelssym" {
    key <LWIN> {
      repeat= no,
      type= "ONE_LEVEL",
      symbols[Group1]= [ Hyper_L ],
      actions[group1]=[ SetMods(modifiers=Shift+Control) ]
    };
    key <RWIN> {
      repeat= no,
      type= "ONE_LEVEL",
      symbols[Group1]= [ Hyper_R ],
      actions[group1]=[ SetMods(modifiers=Shift+Control) ]
    };
};

You may find Kinto to be useful. It's a project I recently created, after a few years of tackling this problem a few different ways and I just now feel like it's solid enough to share.

The Kinto installer simply uses python to do the initial install, after that it's just a systemd service, bash, xprop, setxkbmap and xkbcomp. As far as I am concerned it is the fastest and most native solution to this problem that you are going to find.

https://github.com/rbreaves/kinto

https://medium.com/@benreaves/kinto-a-mac-inspired-keyboard-mapping-for-linux-58f731817c0

Here's a Gist as well, if you just want to see what is at the heart of it all, it will not alternate your keymap when needed though. The Gist also does not include custom xkb keymap files that setup macOS style cursors/word-wise manipulations that use Cmd and the arrow keys.

https://gist.github.com/rbreaves/f4cf8a991eaeea893999964f5e83eebb


I updated from Windows 8.1 to Windows 10 on a MacBook Pro 15 inch Retina 2013.

Best is not to do a clean install but choose to upgrade the existing OS, Windows 7 or Windows 8.1. This will avoid a lot of problems with the authentication key you need for Windows 10 and the necessary drivers.

Windows 10 will use the Bootcamp Windows 8. 1 drivers which are already installed on your PC. They all work ok except for the bluetooth driver.
It is installed but bluetooth doesn't show up. That's the only problem I had with upgrading to Windows 10.


Those hex codes are just sequences of bytes. For example mapping a key combination to 0x66 0x6f 0x6f would make it insert foo. 0xc3 0xa4 would insert ä if you use UTF-8. 0x1b 0x1b 0x5b 0x43 means escape escape [ C.

Some sequences of bytes like ANSI escape sequences and even single bytes like ASCII control characters have special meanings in terminals.

To make ⌘← and ⌘→ go to the beginning and end of line, you can assign them to 0x01 (^A in caret notation) and 0x05 (^E in caret notation):

⌘←: Send Hex Codes: 0x01
⌘→: Send Hex Codes: 0x05

You can make ⌥⌦ delete a word forward by assigning it to \ed:

⌥⌦: Send ^[ d

Changing ⌥← and ⌥→ to \eb and \ef in iTerm's preferences would also change them in programs that don't support readline or emacs-style keybindings. Another option is to add this to ~/.inputrc:

"\e\e[D": backward-word
"\e\e[C": forward-word

You can run read and press key combinations to see what characters they insert. For example ⌥← inserts ^[^[[D by default, where ^[ is escape in caret notation.

See also http://code.google.com/p/iterm2/wiki/Keybindings.


Macbook pro 13" - 2017 - heating issues when connected to external monitor

With reference to Apple discussion:

The USB-C - HDMI converter I've been using was getting very hot. The heat was also transfering through the USB cable to the MacBook's body.
In addition to above, the Intel GPU is doing more work, so it is obviously getting warmer/hotter (you can see on the screenshot above, it is at 68 C).
In addition to that, the system controlled fan speed is too low (~1700 RPM) to allow for cooling when the skin temperature is rising over 40C.

I noticed that I can tolerate ~40C just fine, but 42C is not good for prolonged (more than 30 min) use. It gets annoying fast over 41C.

I replaced the mentioned USB-C to HDMI converter with a HooToo converter and that one is not getting as warm as the previous one. Also, the USB-C connector has much lower temperature than the previous one (so I guess heat transfer is not that much).

This didn't quite solve the heating issue, though.

I used iStat Menus to change the speed of the fan, so it is cooling more. With the fan speed set at ~5000 RPM, the skin temperature is around 39-40C with light use of computer (MS Word, browser -- 90% idle). I was even able to charge the computer, have it connected to the external display and use it with skin temp under 40C with the fan at its maximum speed.

IMHO, the cooling system of the MacBook Pro is not suited for "Pro" use --
 at least not in a comfortable way. I believe this could easily be adjusted with an OS/firmware upgrade, so that he OS would turn the fan speed up when reaching skin temperature of 40C.

I will also give MacFanControl a try, to see if can automatically adjust the fan speed .


Can I encrypt an external harddisk which is in HFS+?

Whole disks, no, but partitions, yes. While the Disk Utility GUI application cannot, the diskutil command-line utility can do this.

First, come up with a password (such as myVerySecurePassword). I believe this is not tied to your login password, unlike encrypting the boot volume.

Then, find out the identifier for the target volume, e.g. disk1s1:

diskutil list

Then, use diskutil cs convert, like so:

diskutil cs convert disk1s1 -passphrase myVerySecurePassword


Print All Files in Folder and SubFolders

An easy way to get the same result is

find . -type f

which basically is identical to

find . -type f -print0 | xargs -0 -n 1 ls


Change font of Terminal programmatically w/o restarting

Okay, after some fooling around in AppleScript editor (it has this nice thing called dictionary that shows you all available commands for a given App) I settled for this script:

#!/usr/bin/env osascript
on run {name}
  tell application "Terminal"
    set default settings to settings set name
    set current settings of tabs of windows to settings set name
  end tell
end run

Make it executable (chmod u+x change.applescript) and run it, passing in the name of the profile to activate:

./change.applescript creep

This will:

change the default profile, so all new windows will use it
change the profile of all tabs of all windows to the new profile, so open terminals get to use it too!


Is it worth upgrading my MacBook hard drive to an SSD?

Here is a good article about the experience a user had with SSDs: http://www.codinghorror.com/blog/2011/05/the-hot-crazy-solid-state-drive-scale.html

Basically

  SSDs are so scorching hot that I'm willing to put up with their craziness.

but...

  Just make sure you have a good backup plan if you're running on a SSD.


Simulating a touch on a phone screen without a finger?

A standard touch stylus is designed to work just a human finger on a captive screen.  Bonus is that your simulator doesn't start to smell after a couple days.

You have them with hard polymer tip but there's also cheaper ones with a softer, thin layered polymer layer over foam tip.  I don't know where you are from, but in Asian electronic malls they start at about 50 cents a pop.


The OP is talking about an old iPad so mentioning “split screen” will not be available. Something like the mini 2 which is what I have and I have the same issue.

Start Safari as normal so this is the main app.
Start Notes by dragging it from the dock and onto the right of the screen so this becomes the Overlay.
Swipe Notes right and then have a full screen Safari.
Swipe from the right to bring back Notes in overlay

Great but now I want Notes as my full screen app

If I swipe Notes off to the side it just hides it. It does not remove it the Overlay mode so if I now swipe up to get the dock and select Notes it comes out as an Overlay, not as a full screen app.

Various solutions I found are:

As OP said you add a different app as an Overlay. But I do not want another app in Overlay

Or

Go to Home screen so no apps in view and then start Notes and it’s full screen but it secretly knows it is an Overlay so workflow is.

In Notes full screen
Dock to select Safari so get Safari in full screen as any other app would do
Dock to select Mail and glorious full screen Mail appears
Home button so no apps in view
Select Notes from Dock to get Notes in full screen

You have to do this extra step of going to the Home Screen for Notes (the was used in Overlay mode and ios11 is stubbornly not letting go) because if an another app is full screen then Notes will come back as Overlay. For clarity any other apps you could switch to using the Dock would be full screen so yuck for this

Or (homing in)

Annoyingly you have to have started Notes once in full screen mode to use this slight improvement as you bizarrely need that step to get the Overlay app to appear in the multi-tasking view so follow above to get that.

Use can then use the multitask control panel.
Swipe up to middle of screen and switch to Notes using this makes Notes full screen and as long as you switch via this back to Notes it is always full screen.
So any other app you can switch anyway you want but always use the control panel to switch to Notes. Probably the most doable solution until you get an app to replace Notes in Overlay.

But one more I found

Kill Notes and start from Home Screen

swipe up to middle of screen to get the multi-tasking panel.
swipe up on Notes to kill it. As before for Notes to appear you needed to do the start Notes with no other app in view at least once.
Now crucially go to Home Screen so no app on view
Start Notes and it will be full screen
You can now switch as if it was never an Overlay

If you do the above but having killed Notes then go back to an app (Safari) and select Notes from the Dock then not only does it stubbornly start in Overlay mode but it also again does not appear as an app in the multi-tasking view.

I would like a list of apps in Overlay so I can switch between them. A clever version of the list we used to have and then swiping an app out of that list could be used to remove from a Overlay. At the very least it seems a bit of a bug that an Overlay app doesn’t appear in the multi-tasking panel until you started as view screen using hack above.


How to paste images from clipboard in Safari

This is known issue with the current release of Safari.

But pasting images from the clipboard is now working properly in the Safari Technology Preview which means the fix should be coming to the public release version of Safari shortly.

FYI, You can go ahead and use the tech preview version alongside your regular Safari install without disrupting anything.

EDIT: Safari 10.1 was released today and fixes this issue.

EDIT #2: It seems to only work with some source applications but not others. For example, I can select and copy sections of web pages w/images and paste them into Gmail no problem (Safari to Safari). I can also copy text+images from Evernote to Gmail. But... the same doesn't seem to work when TextEdit or Notes is the source.

Relevant bug report


The Activity Monitor provides individual app network usage for the current, but it also provides the Cumulative usage for all app using Network.


Try going to Settings, then Password. Enter your lock screen password. Swipe down there are radio buttons under a heading that reads Allow access when locked. The last one is Reply with message. Try turning that one off.

If problem persists and you want an annoying non(long-term)solution, you can swipe right directly on the lock screen text to get a reply square. Selecting this will allow you to close out of the lock screen text and give you full access to the password entry screen so that you don't have to restart your phone.


How do you capture the screen with accessibility features turned on?

Take the screenshot normally, then open the image in Preview.
Press ⌥⌘C to adjust the colour of the image.
Drag the saturation slider down to the minimum.

Swap the colour positions in the histogram.

  Result:


I was able to erase FileVault encrypted drive

As you discovered, you can indeed erase a FileVault-encrypted disk even without the password.

The "Unlock" option is under the File menu when booted in Recovery. Be sure to select the volume first for the option to become available.

If all else fails I use the following to erase a FileVault disk and start over:

diskutil cs list

Get the UUID of the Logical Volume Group for the next command:

diskutil cs delete <UUID of Logical Volume Group>


How can I display Activity Monitor's "Memory" columns through Terminal?

The terminal command top -stats is what you need to use. Executing man top will give you all the usage info.

Note: The keys used in the -stat option are listed under the -o option.

Here are some sample top -stats commands you can try to see what you can glean from the output with different keys.

top -stats cpu,mem,pid

top -stats cpu,mem,pid -pid 106

top -stats cpu,mem,pid,command

The last command example outputs this:

%CPU                         MEM                            PID                           COMMAND
3.6                          2308K                          2191                          top
0.0                          3156K                          2190                          mdworker
0.0                          3248K                          2187                          mdworker
0.0                          3132K                          2186                          mdworker
0.0                          3280K                          2185                          mdworker
0.0                          3240K                          2184                          mdworker
0.0                          3156K                          2183                          mdworker
0.0                          3196K                          2182                          mdworker
0.0                          3156K                          2181                          mdworker
0.0                          4704K                          2175                          quicklookd
1.7                          17M                            2067                          backupd
0.0                          7652K                          2046                          mdworker
0.0                          17M                            2045                          mdworker
0.0                          19M                            2044                          mdworker


Hard drive on latest macbook pro 17 accessed too often

I have had great luck using the Activity Monitor to find out what's running on my Macs.  It should point you to the app that is accessing the hard drive.  I would start in "My Processes" and look to see which apps are consuming CPUs.  If this view does not help, then try switching to "All processes, Hierarchically" which will include your Apps and core System apps.  The bad guy should be consuming lots of CPUs.

You can also run the Apple hardware test that Apple included on your OS X disks.  This test is explain in Apple Support document HT1509.

Given your past experience with the Apple spinning beach ball, I think there's an app behind this but between Activity Monitor and Hardware test, you'll have a better idea of what's going on.


routined wants to use the "Local Items" keychain alert

Did you change your password recently? Probable solution that worked for me:

Go to the app "Keychain Access".
From the side-bar, go to "login".
Click on "Edit" menu from the menu bar and choose "Change Password for Keychain "Login"..."
Enter the old password of your user account in the Current Password field. This is the password you were using before the password was reset.
Enter the new password of your user account in the New Password field. This is the password you're now using to log in to your Mac. Enter the same password in the Verify field.

Click OK, and exit the Keychain Access program.

In my experience, this would happen if you recently changed your system password. Since your login keychain relies on the password to be able to access the credentials, it keeps popping you the question.

Source: Apple


ld linker is missing when installing gcc using Homebrew on Mac OS

As explained in this Homebrew Github issue:

  GNU binutils's ld does not support Darwin (macOS), and is thus not built [in the Homebrew package]

Use the ld version provided with macOS located at /usr/bin/ld.


Make sure that you have an apple id located in India (address). When you log in to the app store, you probably get a message that the app is going to load another store. When this is done, you're in the appstore for India.


How do I enable the Debug menu in Calendar?

A menu is most desirable, so this is not a proper answer, but here goes …

Without the debug menu

It's possible to do at least some of the things that were possible with the menu.

Top sekret

Some of the things that were in the Top Sekret submenu of the Debug menu in iCal …

Days in week view

5 or 7 days: Use the General pane of Calendar preferences.

14, 21 or 28 days:

defaults write com.apple.iCal "n days of week" 14

defaults write com.apple.iCal "n days of week" 21

defaults write com.apple.iCal "n days of week" 28

The change will be effective when you next switch to week view.

New calendar window

⌘+L is not effective. I'll investigate …


What exactly does this “palm tree” icon under “Recent” in iPhoto (9.6.1) represent? Is there a way to disable it?

After posting the original question—and noticing the same palm tree icon appears at the top of the sidebar list under “Library” under the name “Events”—I experimented and it seems that the the listing under “Recent” represents the last batch of event photos you have viewed. Very odd feature if you ask me.


Open Terminal App Without Opening A Window

It's very strange that you say this, because I only get one window open... It would be interesting to see how the applications are launching the Terminal. IF they launch it by opening Terminal, then opening a new window using Applescript or something, then you would expect to see two new windows, but if they just run a bash script, then it should just open a single window.


How can I remove the Mac recovery partition from an external drive?

Your disk1 and disk3 are the virtual disks created by CoreStorage, that is, the system underlying FileVault 2 (full disk encryption). This is why your data partitions on the "real" disks (disk0 and disk2) have type Apple_CoreStorage.

The recovery partition on your external drive is this one:

   3:                 Apple_Boot Recovery HD             650.0 MB   disk2s3

Deleting it may however not be a good idea. Because CoreStorage drives are encrypted, the bootloader can't read any data from them - the OSX kernel (with the CoreStorage driver) needs to be loaded to ask for the user password, which opens up the main drive containing the rest of the operating system and data. So with CoreStorage enabled, the Recovery HD partition doubles as an unencrypted boot helper.

I don't have much experience with CoreStorage, and you haven't made it completely clear what your backup disk contains. I know that unencrypted Time Machine disks are bootable. I would imagine that encrypted ones are, too, with the caveat of requiring a boot helper, but I don't know for sure. Furthermore, since you only mention "backups", maybe you're using a different backup system which may or may not be bootable.

If your backups are not intended to be bootable, I think you should be able to delete the Recovery HD, although there is a certain risk that CoreStorage relies on it nevertheless. If they are bootable, deleting it outright will make them fail to boot. You could try writing the partition parameters displayed by gpt show disk2, deleting the partition using gpt without overwriting it, rebooting, and checking that it still works, and recreating it with the exact parameters (again using gpt, not diskutil) if you have trouble accessing your backups.

However, boot helpers don't actually need to contain a full recovery system. Prior to OSX Lion, boot helpers (e.g. used for software RAID) were always 128MiB in size, and this is still enough for Lion and Mountain Lion. Still, recreating a deleted boot helper isn't exactly straightforward.

Then there's the question of what you'll do with the extra ~520MB you gained. I don't think you can resize core storage partitions, so all you'll be able to do is create a ~400MB additional partition, which isn't terribly useful.

Overall, I'd say it's not worth the risk/trouble to gain ~500MB.


Is it possibile .zshrc is not available in ~?

There is no .zshrc file unless you create one. You can create one with touch ~/.zshrc and edit it with any plain text editor you like.


If you mean that you want to hide the date-in-the-box icon (circled below)…

…then deselect (uncheck) Show Icon in Preferences:


Why doesn't (can't?) terminal support the x11 protocol?

The simple answer is: Terminal is a terminal emulator -- it's not an X11 server. It exists to provide a text-based communication end point between your Mac and other machines.

Terminal is no more an X11 server than gnome-terminal on Linux is or cmd on Windows is. Which is to say: it isn't an X11 server at all. You need to be running an X11 server on your local machine to be able to have tunneled, graphical, X11 applications draw their UIs on your Mac. This isn't actually different for Mac from something like Linux, it's just that Linux, by default, is always running an X11 server for drawing your desktop so it's handled a little more gracefully than it is on the Mac. You just have to open up your X11 server's permissions and ssh tunneling and X11 forwarding on a Linux desktop seem to work.

The XQuartz server you run on OS X simply gets you the missing X11 server you need on your OS X session to enable drawing the forwarded UI commands on your OS X desktop. This isn't something an Terminal application ever would, or ever should really, implement. It's not part of being a Terminal. It's a wholly separate thing.

I also want to address something you said in your question:

  It would be great to be able to x tunnel over ssh

I'm assuming you mean "it would be great to do X11 forwarding from an ssh session started in Terminal.app to my running XQuartz server". You can do this!

When you use ssh in Terminal.app simply include the -X option to enable X forwarding and your Mac will start XQuartz automatically. No need to use the terminal app in XQuartz, which pretty much sucks.

You can also edit ~/.ssh/config and add:

ForwardX11 yes

to that file to enable X forwarding by default for all ssh sessions. You can even launch X programs on the remote machine in to the background like so:

ssh username@remoteserver -f -X xeyes

That works from Terminal.


Parsing or decoding .pluginPayloadAttachment files?

The pluginPayloadAttachment extension doesn't actually convey the type of the file, unfortunately. Depending on the file, you may be able to glean the type from the byte data it begins with. Some common types you might run into are listed here:

Byte Array
Type

89 50 4E 47 0D 0A 1A 0A
PNG Image

FF D8 FF
JPEG Image

47 49 46 38
GIF Image

49 49 2A 00 or 4D 4D 00 2A
TIFF Image


I was having similar trouble with a Logitech bluetooth keyboard and mouse, when I plugged the transponder dongle into the USB port on the back of my iMac.  Researching the issue, I found several people suggesting to move the USB dongle away from any USB 3.0 ports, and as an EE I figured it also wouldn't hurt to get it closer to the devices it's talking to.  So this is my setup now and I've been a happy camper ever since I bought a USB 2.0 hub, plugged the dongle into that, and moved it near my keyboard and mouse.  (Of course the hub is connected to the iMac in the back -- should be obvious, but just sayin.)


Maximum OS for A1181 is 10.7.5 (Lion)

That is going to be the best option performance wise.


How to hide app store updates in macOS Sierra?

To hide an update:

Open the Mac App Store and click the Updates tab.
Right click on the update(s) that you wish to hide, and click Hide Update.

Example:

To unhide an update:

Open the Mac App Store
Click the Store tab in the menu bar and select Show All Software Updates.

Example:

Why there could have been no option:

  Right-Click "Hide update" worked in Sierra through 10.12.4. Some time in the last couple of updates it stopped being an option. However: Updates you previously "hid" (in an earlier version of Sierra) are still flagged as "hidden" and still stay out of sight, you just cant add any new items to hide.


How do I setup application shortcuts to work without opening the menu manually?

Neat trick, never thought about it!

So I tried this and I could repro your scenario, the signature will not be inserted until the "signature" dropdown is invoked.  I found that this had to be done every time you wanted to invoke the shortcut, which is a clear bummer.

I also found that when composing a message right after Outlook starts,  if you select (from the main menu):

Draft -> Signatures (select nothing just let the menu go once the signature submenu is displayed)

Then the shortcut will work for all the messages you compose thereafter.

Not the best solution, but better than having to click that signature dropdown everytime.


XCode 8.3 - How many times can we deploy to an iOS Device with an expired Developer ID?

Source:

You can deploy to your personal devices as many times as you want; there's no restriction on deploys of this type.

You only have to pay the membership fee if you want to use the more advanced features such as TestFlight and the App Store.

Update:

Here's a list of supported capabilities that require either a free account or paid one.
The provisioning profile is only good for 7 days.  After that you need to generate a new one and deploy it to the device.
Max number of connected devices is limited to 3.


How can I make SwiftKey keyboard show up when replying to messages in lock screen?

If you have Touch ID or Face ID, make sure to unlock your phone with your finger/face before tapping the reply button.

Otherwise the best shortcut there is, is to unlock your phone with your passcode and then drag down notification center from the top of the screen. Then press the reply button from there.


How can I list all the installed printer drivers on Mac OS 10.6?

Since Mac OS 10.2, printing is handled by the CUPS system. While drivers are typically found in /Library/Printers, the folder can contain support files and many other things which are not themselves print drivers, and in the real world there is no canonical location within the folder where the actual driver files are stored.

The only authoritative list of available print drivers on OS X is that returned by lpinfo -m (specifying the host is not necessary for the local machine). CUPS specifies that drivers can consist of an arbitrary number of files, but they must all be declared in a central PPD file. lpinfo -m will parse any valid PPDs found; if it doesn't have a PPD that CUPS can parse, then it isn't a valid print driver. A sample of the output:

MacBook-Pro:~ user$ lpinfo -m
Library/Printers/PPDs/Contents/Resources/CNPZUD450ZU.ppd.gz Canon D400-450
Library/Printers/PPDs/Contents/Resources/CNPZUD490ZU.ppd.gz Canon D460-490
Library/Printers/PPDs/Contents/Resources/CN6300.ppd.gz Canon iPF6300(CUPS)
Library/Printers/PPDs/Contents/Resources/CN6300S.ppd.gz Canon iPF6300S(CUPS)
Library/Printers/PPDs/Contents/Resources/CN6350.ppd.gz Canon iPF6350(CUPS)
Library/Printers/PPDs/Contents/Resources/CN8300.ppd.gz Canon iPF8300(CUPS)
Library/Printers/PPDs/Contents/Resources/CN8300S.ppd.gz Canon iPF8300S(CUPS)
[...]
drv:///sample.drv/okidata9.ppd Oki 9-Pin Series
drv:///sample.drv/okidat24.ppd Oki 24-Pin Series
raw Raw Queue
[...]

Each line specifies the path to that driver's PPD file, followed by the display name of the printer as declared in the PPD. As you can see, some drivers are internal to CUPS and do not even have a PPD file in /Library/Printers, so lpinfo -m is the only way to be certain of everything available to the printing system.

There doesn't seem to be much consistency regarding version numbers; I've seen some vendors include the version in the make-and-model string that's returned by lpinfo -m (Xerox, for example), but it's certainly not universal. However, the PPD file is just plaintext (optionally compressed). If you open the PPD in a text editor you should find a *FileVersion line that lists the driver version.

Deleting a printer using the 'minus' button in System Preferences does not delete/uninstall the driver, it just deletes the queue that has been created for the printer in question. (Technically, when you create a printer queue, a copy of the PPD is created for that printer, which will be deleted when deleting the queue.) The 'Reset printing system...' option will also not remove any drivers; it will only delete all configured print queues and reset some CUPs configuration to defaults.

Deleting a PPD file listed by lpinfo will effectively delete the driver, as it will no longer be loaded by the CUPS system, though as explained above there may be additional support files left behind. There is no standard way to remove these because each driver can include support files in different places, but there is no cause to delete them unless you are intending to reinstall the driver. In that case, the original installer package from the manufacturer should handle re-installation of all relevant files.

I have sometimes seen people manually copying PPD files as a means of installing printers; do not rely on this! Some drivers require only a PPD but others may need support files as well. The only way to be sure all necessary files are installed is to use the original installer package.


Are there any significant differences between two Apple products of the same name but different part numbers (particularly FC371LL/A and MC371LL/A)?

The refurbished one probably has a different part number because it is refurbished now new.

It won't have anything "wrong" with it, but it is refurbished. Check the specs and compare it to the current production model. Typically they will say "late 2010 model" or something of the sort to indicate if this is different (hardware wise) from the current one.


Restore specific Terminal history from .bash_sessions?

After some googling, I found this script on pastebin from an anonymous user. I haven't had a chance to try it myself, but it looks like it has potential with some modifications.

# Separate Command Histories for Restored Terminal Sessions

# Terminal assigns each terminal session a unique identifier and
# communicates it via the TERM_SESSION_ID environment variable so that
# programs running in a terminal can save/restore application-specific
# state when quitting and restarting Terminal with Resume enabled.

# The following script saves and restores the bash command history
# independently for each restored terminal session. It also merges
# commands into the global history for new sessions. Because of this
# it is recommended that you set HISTSIZE and HISTFILESIZE to larger
# values (their default value is 500). Old sessions are periodically
# deleted.

if [ -z "$BASH_SESSION" ] && [ -n "$TERM_SESSION_ID" ]; then

    # Only perform this setup once per shell session (which shouldn't
    # happen unless the user's ~/.bash_profile executes /etc/profile,
    # which is normally redundant).
    BASH_SESSION=1

    # Set up the session directory/file.
    if [ -z "$BASH_SESSION_DIR" ]; then
        BASH_SESSION_DIR="$HOME/.bash_sessions"
        BASH_SESSION_FILE="$BASH_SESSION_DIR/$TERM_SESSION_ID.session"
    elif [ -z "$BASH_SESSION_FILE" ]; then
        BASH_SESSION_FILE="$BASH_SESSION_DIR/$TERM_SESSION_ID.session"
    fi
    mkdir -p "$BASH_SESSION_DIR"

    # Arrange for session-specific shell command history. Users can
    # disable this via the existence of the following file.
    [ -f ~/.bash_session_no_history ] && BASH_SESSION_HISTORY=0 || BASH_SESSION_HISTORY=1
    if [ $BASH_SESSION_HISTORY -eq 1 ]; then
        BASH_SHARED_HISTFILE="$HISTFILE"
        BASH_SESSION_HISTFILE="$BASH_SESSION_DIR/$TERM_SESSION_ID.history"
        BASH_SESSION_HISTFILE_NEW="$BASH_SESSION_DIR/$TERM_SESSION_ID.historynew"
        # If the session history doesn't exist, copy the shared history
        if [ -f "$BASH_SHARED_HISTFILE" ] && [ ! -f "$BASH_SESSION_HISTFILE" ]; then
            cp "$BASH_SHARED_HISTFILE" "$BASH_SESSION_HISTFILE"
        else
            # Ensure the file exists and doesn't get expired.
            touch "$BASH_SESSION_HISTFILE"
        fi
        history -r "$BASH_SESSION_HISTFILE"
        : >| "$BASH_SESSION_HISTFILE_NEW"
        HISTFILE="$BASH_SESSION_HISTFILE_NEW"
    fi

    if [ "$SHLVL" -eq 1 ]; then
        # Restore previous session state.
        if [ -f "$BASH_SESSION_FILE" ]; then
            . "$BASH_SESSION_FILE"
            rm "$BASH_SESSION_FILE"
        fi

        # Save the current state.
        bash_save_session_state() {
            if [ "$SHLVL" -eq 1 ] && [ -n "$BASH_SESSION_FILE" ]; then
                echo -n Saving session...
                echo echo Restored session: $(date) > "$BASH_SESSION_FILE"

                # Users can add custom state by defining the following
                # function. e.g., to save an environment variable:
                #   bash_session_save_state() { echo MY_VAR="'$MY_VAR'" >> "$BASH_SESSION_FILE"; }
                declare -F bash_session_save_state >/dev/null && bash_session_save_state

                # Save new history commands.
                if [ $BASH_SESSION_HISTORY -eq 1 ]; then
                    history -a
                    cat "$BASH_SESSION_HISTFILE_NEW" >> "$BASH_SHARED_HISTFILE"
                    cat "$BASH_SESSION_HISTFILE_NEW" >> "$BASH_SESSION_HISTFILE"
                    # Empty this session's history file to keep track of
                    # which commands have already been copied.
                    : >| "$BASH_SESSION_HISTFILE_NEW"
                    # Read/write the files via the history command so they
                    # are truncated as appropriate.
                    history -r "$BASH_SHARED_HISTFILE"
                    history -w "$BASH_SHARED_HISTFILE"
                    history -r "$BASH_SESSION_HISTFILE"
                    history -w "$BASH_SESSION_HISTFILE"
                fi

                echo completed.
            fi
        }

        # Delete old session files. Do not do this more frequently
        # than once a day.
        BASH_SESSION_TIMESTAMP_FILE="$BASH_SESSION_DIR/_expiration_check_timestamp"
        bash_delete_expired_session_state() {
            if ([ ! -f "$BASH_SESSION_TIMESTAMP_FILE" ] || [ -z $(find "$BASH_SESSION_TIMESTAMP_FILE" -mtime -1d) ]); then
                local bash_session_lock_file="$BASH_SESSION_DIR/_expiration_lockfile"
                if shlock -f "$bash_session_lock_file" -p $$; then
                    echo -n Deleting expired sessions...
                    local delete_count=$(find "$BASH_SESSION_DIR" -type f -mtime +2w -print -delete | wc -l)
                    [ "$delete_count" -gt 0 ] && echo $delete_count completed. || echo none found.
                    touch "$BASH_SESSION_TIMESTAMP_FILE"
                    rm "$bash_session_lock_file"
                fi
            fi
        }

        # Update saved session state when exiting.
        bash_update_session_state() {
            bash_save_session_state && bash_delete_expired_session_state
        }
        trap bash_update_session_state EXIT
    fi
fi


Where is iOS downloaded files in Catalina Mac?

Actually, I find the right answer, all updates are at:

~/Library/iTunes/iPhone\ Software\ Updates

For seeing on Finder enter below command on Terminal:

open ~/Library/iTunes/iPhone\ Software\ Updates


Can't set different Java version in Mojave with jenv

I executed in terminal:

echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(jenv init -)"' >> ~/.bash_profile

And after it could configure jenv as it is described on the manual page. However, it didn't take effect:

sdos-MacBook-Pro:~ nazar$ jenv versions
  system
  1.8
* 1.8.0.192 (set by /Users/nazar/.jenv/version)
  11.0
  11.0.1
  openjdk64-11.0.1
  oracle64-1.8.0.192
sdos-MacBook-Pro:~ nazar$ java -version
openjdk version "11.0.1" 2018-10-16

Only after opening new terminal I could see:

sdos-MacBook-Pro:~ nazar$ java -version
java version "1.8.0_192"
Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)


Remap ESC to Option-ESC in Office (Excel, Word, etc) with karabiner-elements

If I understand your question correctly, you'd like to have ⌥ Option Esc function like that of remapped Safari's Esc key.

In Karabiner Elements, you have to modify the JSON  file and remove the entry making it for Safari only:

You have to remove the following section:

{
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com.apple.Safari"
              ]
            }

Karabiner-Elements has a number of examples that you can base new keys from.  It's also important that your read the manual on how the application functions.


MBP display, keyboard backlight and camera issue

You most likely caused damage to your MacBook Pro's screen, video cable, and or keyboard cable.

I did a bit of research and found a very similar condition to the picture you provided (see below) it’s called “stage lighting effect”.  This was posted on the iFixit forum.  The resolution to this problem was a warranty replacement.   Being that your MacBook Pro is 6 to 7 years old, this will be an out-of-pocket repair.

You may be able to repair it by replacing the backlight led, but at this point, it's purely speculative.  My suggestion is to replace the screen rather than risk further damage by attempting to replace the backlight.


Choosing processor for MacBook PRO Retina

Generally amount of monitors connected does not have that much influence on cpu performance. Also, i7 CPUs shine most where tasks are prepared to use multiple CPUs/cores (code compiling, audio, video, graphics editing, rendering). Thus I don't think you should consider CPU update because of amount of monitors you want to connect.

For normal usage andeven gaming I'd just choose the best i5 you can get and get better SSD or more ram instead.

As for the cables - you will have 2 TB ports and HDMI - if you want to leave one TB free maybe use those? So, if any of the mentionend monitors has Display Port (DP) you would need 1 mini DP/DP and one HDMIcable.

I think you can also get TB hub, that will allow you to use one TB to connect both screens, but I haven't tested it.


Itunes sees, but won't load other user's shared library

The errors you cite doesn't necessarily have anything to do with the problem you're encountering. 10.10 (Yosemite) is nearly five major OS revisions old now... I assume being run because your machines no longer support newer operating systems?

All I can really suggest is that you make sure each of the machines are running 10.10.5 and all supplemental updates, and all have the latest supported version of iTunes installed, 12.8.1.


How can data be restored when I downgrade macOS versions?

Copy all important files to another HD (apps, games, your user's library folder, all your other user folders, etc).

Download Mojave, create a USB, boot, erase and install.

Set up the new computer, then copy stuff over. Some things (like Mail, iCloud, some settings, and iTunes data won't work). If you use steam, it should be pretty easy to copy its folder (within ~/Library/Application Support/Steam to your new user.


It is not currently possible to "Group Canvases" in OmniGraffle Pro 5.

You may email omnigraffle@omnigroup.com and request this as a feature, or visit http://forums.omnigroup.com/forumdisplay.php?f=4 and post this request.


OS X Yosemite - TCP/IP issues when using manual IP

Looks like I am affected by the issue posted here. The proposed solution of adding a new default route works. If anybody else, has a better solution, where I don't have to do that everytime - when I switch between DHCP and Manual - I would love to try it. Thanks

Solution posted there is to add a default route to the router IP

sudo route add default 192.168.x.x


Using AppleScript to change text color in Keynote

In Keynote, if I select some text and run the following example AppleScript code, the color of the text is set to Blueberry:

activate application "Keynote"
tell application "System Events"
    tell application process "Keynote"
        tell window 1
            tell radio group of toolbar 1
                if value of radio button 1 = {{0}} then
                    click radio button 1
                end if
            end tell
            click color well of scroll area 1
            click button 5 of toolbar 1
            click radio button 33 of radio group 1 of splitter group 1
            click button 1
        end tell
    end tell
end tell

If you want to use the pencil color name instead of the radio button number, then change:

click radio button 33 of radio group 1 of splitter group 1

To:

click (every radio button of radio group 1 of splitter group 1 whose description is "Blueberry")

      Hint: Mouse over and horizontal scroll to see full code.

You can then substitute any valid pencil color for a different color then "Blueberry".

Note: The example AppleScript code was tested and worked, as is, on my Mac running macOS High Sierra and Keynote version 8.1 (5683).

Note: The example AppleScript code is just that and does not contain any error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. delay 0.5, with the value of the delay set appropriately.


Using Automator or AppleScript to encrypt/decrypt with OpenSSL

Actually, Automator is not a bad choice for this, as it allows you to combine AppleScript and shell scripting without actually having to mix them (which leads you straight to escaping hell, after a short stay in quoting purgatory) and pass values between them an orderly fashion. Also, besides a droplet application, Automator will allow you to create a Service with excellent integration into Finder:

Create a new Automator workflow.

either select “Application” when prompted what type of workflow to create – that will get you a droplet that processes files and folders you send to it, or
select “Folder action” and set “Accepts selected” to “files and folders” – that will get you an item in the Finder Services and context menu of files an folders (all translations approximate, I’m on a German system).

Add a "Run AppleScript” action and edit its contents as follows:

on run {input, parameters}
    try
        tell application "System Events" to set thePassword to text returned of (display dialog "Please input your password for OpenSSL encryption" default answer "" with hidden answer)
    on error errorMessage number errorNumber
        if errorNumber is -128 then quit me -- user has canceled
        error errorMessage number errorNumber
    end try
    return (thePassword as list) & input
end run

– this will prompt the user for the encryption password and pass it as the first argument to the next action.
Add a “Run Shell Script” action, setting it to get its input through arguments (not stdin, as is default). Make sure the shell is set to /bin/bash. Edit the script contents as follows:

[[ -n $1 ]] && password="$1" && shift || exit 0
for f in "$@"; do
    if [[ ${f##*.} = "encrypted" ]]; then
        fname="${f%.encrypted}"
        openssl enc -d -aes-256-cbc -salt -in "$f" -out "$fname".tar.gz -pass pass:$password || continue
        tar -xPf "$fname".tar.gz && rm "$fname".tar.gz || continue
    else
        fname=$([[ -f $f ]] && printf "${f%.*}" || printf "$f")
        tar -czPf "$fname".tar.gz "$f" || continue
        openssl enc -aes-256-cbc -salt -in "$fname".tar.gz -out "$fname".encrypted  -pass pass:$password && rm -f "$fname".tar.gz || continue
    fi
done

– this will decrypt and untar-gzip .encrypted files, tar-gzip and encrypt all other files and directories with AES 256-CBC encryption and the password given.

Caveat Empteor: error handling is primitive (basically, the for loop skips an iteration when it encounters an error), there is no logging and there is no failsafe against wrong password inputs (you might want to ask twice and compare the results, as the shell utility does). Disasters should not happen, though, as files are only deleted when the previous steps complete successfully.

Finally, you might want to investigate alternatives to prompting for a password – a passphrase file on a USB key, say (use -pass file:/Volumes/volname/passfile instead of -pass pass:$password, skip the Applescript step and remove the first line of the shell script), or storing your password in the OS X keychain and retrieving it programmatically (see this answer of mine on Stack Exchange for ways to do that).


How to disable the scroll position saving in Finder?

I found the answer here. In summary:

Open com.apple.finder.plist in ~/Library/Preferences (Check here if you don't know how to edit this file)
Locate StandardViewSettings > ListViewSetting and set scrollPositionY (or scrollPositionX) set to 0. (Note, there are other setting where the scroll position pops up so it depends a little bit where you experience the problem)
Save that preference
Restart the finder: hold down the option key and do a right-click on the Finder's icon in the dock and choose Relaunch.


Is there a way to change the icon color in the Finder navigation bar?

This MacOSXHints article may help. To summarize

Install SIMBL (version 0.9.9)
Download ColorfulSidebar
Copy ColorfulSidebar.bundle from the Disk Image to /Library/Application Support/SIMBL/Plugins (or ~/Library/Application Support/SIMBL/Plugins
Restart Finder

It also seems that the change may get wiped out after a reboot, there's an example for a LaunchAgent script to prevent this on the MacOSXHints site.


How do you entirely backup Google Chrome?

While I can't speak to the completeness of the Google Chrome account sync, All of the settings for your Google Chrome account are kept in your user profile.
So there are a couple of ways to proceed

Keep a current backup of at least your user profile using the backup utility of your choice.
Time Machine works well for #1 above as it backs up your user profile by default (in addition to everything else.)
You can use the Migration Assistant to migrate your entire user profile (Apps, too) from your old Mac to any new Mac as long as you have a backup or access to the HD or SSD in your old Mac. This includes the still working old Mac attached to the new one with an ethernet cable.

I don't use Chrome much but if I recall correctly there are preferences and folders that contain all of Chrome's configuration files, cache, bookmarks, add-ons and whatnot located in your ~/Library/ folder. That is the Library folder inside your user profile that is usually hidden from view in Finder.


No. This multitouch gesture (as well as a few others) are iPad only. The gestures existed for iPhones and iPods in the iOS 4.3 Beta, but were removed before the public release. iOS 5.0 re-introduced the gestures for iPad.


Yes, according to builtwith it is running rails.


How can I move from iOS 11 Developer to iOS 11 Public

Remove any profiles that are in the settings app (general section)  relating to the developer program.
Enroll the device in the public beta program with a public beta profile.
Wait for the public beta build to be a newer version than your current Dev beta and then update the device.

If the Dev beta is too new or you never get an available update, you might need to erase and restore / recover the device. Since you ask this early in the 10.11 beta cycle updates should be every couple of weeks for a while. This shift isn’t a given and could break in the future even though it worked a few times in the past.


Disable special function keys on Apple Wireless Keyboard when connected to iPad

To the best of my knowledge, there is no way to manage the function keys connected to an iPad. Your better options would be to shut off bluetooth when you stop using your iPad (which is better for battery life too!), or shut off the keyboard itself.


The pmset command is incredibly powerful. Have a read through it’s manual page to get an idea of all the features it has. To achieve what you are looking for, you could use the scheduler built into every Mac by defining the correct date and time you wish your Mac to go to sleep: pmset schedule sleep "09/01/2018 00:00:00".

As far as I know, this does not allow you to set a schedule with a relative time though. A potential workaround for this would be to write a simple two-line script that first lets date figure out what “10 minutes from now” means. The -v +10M switch will let you do that. Again, read the manual page for full details.

I have a script that, every 10 minutes, schedules a ‘power on’ in 2 hours from the current time for the Mac mini I use as a file server. When the power goes down, my UPS runs out and the machine shuts down, it will power itself back on automatically two hours later or whenever the power comes on after that.


It sounds like Camera is disabled in Settings > General > Restrictions. This removes the Camera and FaceTime apps. A similar post on Apple's forums said that the Photo Booth app was removed by this restriction.

This third-party article on an MDM tool says that the restriction removes the Photo Booth app:

  Disable Camera

  The camera will be completely disabled. This also remove the Camera, Photobooth, and Facetime apps on the home screen.

It would make sense that the restriction available in the UI flips the same bit as the MDM restriction.


Display is set to Mobile PC Display on Windows when I run it on  Macbook Pro via boot camp

Your MacBook has a AMD Radeon HD 6490M video card per your properties screen. You'll need to download the driver from AMD's website.

For Windows 7:

64 bit: http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-64.aspx
32 bit: http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-32.aspx

For your display driver you might need to update your Bootcamp drivers which you can get from Apple's Boot Camp Support Drivers.


The fact that your computer shuts down at 50% remaining charge and also that your MagSafe LED remains orange makes me think that either the replacement battery isn't an official Apple part, that it is defective/DOA, or that your logic boards SMC is corrupted and needs to be reset.

If the battery is indeed new and Apple original than proceed with an SMC reset:

http://support.apple.com/kb/ht3964

This will tell the SMC chip to reset all power states and reboot so that it forgets the battery and MagSafe adapter momentarily and then rediscovers them.

Hope that helps


Do two (or more) apps using GPS share the same location data stream?

In iOS, Location Services sits between all the location radios (cellular tower info, nearest wifi, GPS) and the apps, and caches the fused results between getting new information from those radios at a rate determined by the OS for decent battery life versus requested accuracy.  Apps never "control" or talk to the GPS hardware or OS driver directly.  The location information an app gets is time-stamped, so an app can check to see if it's old info or not.


iOS Mail does not sort messages by anything but date.


After cloning my Mac, why are my time machine backups so slow?

I found this answer on Apple's forums (excerpted below) after much searching. After applying the solution below, incremental backups only take a few minutes after the first (very long) backup. Looks like my suspicions were correct about FSEvents not working. I suspect that something about the disk cloning process-- both for me and for the poster excerpted below-- messed up FSEvents logs and a rebuild was needed of those logs.

Sharing the solution here to help others:

  I was having the same problem (hours-long backups of a few MB) after
  using CCC to transfer my files to a brand new SSD. I don't think the
  SSD has any problems, as it is brand new, and the disk verification
  checks out. After hours of searching online, disabling Spotlight, and
  using TimeTracker to see if 100000+ files were actually changed (they
  were not), I found the following seems to work:

  Delete /.fseventsd on your startup drive or move it to another location:

  sudo mv /.fseventsd /.fseventsd.bak

  Reboot
  Start a Time Machine backup

  Afterwards, the first time TM is run, it took much less time to reach
  "Finishing Backup," though it stayed on that step a really long time.
  However, subsequent TM runs are back to normal.

  Source: http://www.ehmac.ca/archive/index.php/t-100787.html

  (Posting here so more people can find the solution; it took me several
  hours to find that one.)


I've used Eudora Mailbox Cleaner to varied success for a few recent-ish switchers, with the added bonus (for me, at least) that it can import messages from Thunderbird. It is, however, a PowerPC app in itself, so you'd need to run it before upgrading to Mac OS X 10.7 Lion.


Why is Wake-On-LAN not working on my MacBook Pro with LogMeIn?

It is not possible for the Macbook to go out of sleep when the lid is closed and no external display and input devices are connected. Your best option therefore is to keep the lid open.


OS X displays weird pattern randomly freezes and shuts off

The problem you are describing is a problem I had a while ago as well. For me the screen would get all messed up and depending on whether I was playing sound at that moment or not I would hear a loud screaming-like sound. Then after a couple of seconds the computer would reboot.

Replacing the ram fixed it for me.


Repeated Automator workflow fails to run in Calendar

Is your calendar in iCloud? I'm struggling to do the same thing. Automator calendar workflows need to be saved 'on my mac' but in my experience they get automatically shoved to iCloud, which does not support App Alerts. Try removing your Calendar iCloud syncing and then create your Automator calendar workflow.


MBP SSD upgrade - which settings to change?

Here you are some major points:

Reinstall your Mountain Lion.
Don’t run benchmarks on your new SSD

  Benchmarks usually write a lot of data to the disk (to test the write
  speed), wearing it out. So it is the best way how you can ruin your
  SSD even before you start using it. Don’t do it.

Enable TRIM

  OS X supports TRIM only for Apple-supplied SSD’s. If you want to have TRIM enabled with 3-rd party SSD drives - download Trim enabler from this site. Very experienced users may want to enable trim manually not using above mentioned enabler, here is the tutorial how it can be done by the hand.

Turn off local Time Machine snapshots [laptops only]

  There is no GUI switch to turn these local backups off, but it can easily be done on the command line. Just start Terminal.app and execute the following command: sudo tmutil disablelocal if you want to back to original settings use sudo tmutil enablelocal command

Turn off hibernation [laptops only]

  OS X saves all the memory to disk when entering sleep mode.The more RAM you have, the more gigabytes it writes to the disk every time you close the lid/put it to sleep. You can disable this feature via sudo pmset -a hibernatemode 0 command

Set noatime flag

  OS X by default records last access time for every file.  Every time you read a file, a write is made on the filesystem to record this action. There is no point in doing it and no side effects if you disable that by mounting the root filesystem with noatime flag set.  You can read more about it here and here:

Move user home directories to HDD [SSD+HDD only]

  This is only useful if you have both SSD as well as HDD in your Mac. You can move all the content of /Users folder to the HDD and create symbolic link from the SSD to it by running this 3 commands:
  sudo ditto /Users /Volumes/your_hdd_name/Users
  sudo mv /Users /Users.bak
  sudo ln -s /Volumes/your_hdd_name/Users /Users

Turn off sudden motion sensor [no HDD only]

  If SSD is the only drive in your Mac, there is no point in using the Sudden Motion Sensor. You can turn it off by  sudo pmset -a sms 0

Turn off hard drive sleep [no HDD only]

  Some websites mention SSD may freeze when the hard drive sleep feature is on, so it is recommended to turn it off. It can be done in the System Preferences->Power settings->Put hard disk to sleep.

The full article about above mentioned tweaks can be found here


Alright, so I found as program called "Witch" which may help you. It's got a free trial on the website, but it does eventually costs $14. Check it out, it's got everything you want it seems.
Website: http://manytricks.com/witch/
App Store: https://itunes.apple.com/nl/app/witch/id412485838?mt=12


If you look at  https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/softwareupdate.8.html you will see that this can be fixed easily from terminal:

 softwareupdate --ignore RAWCameraUpdate6.05

I'm happy to FIX THIS FINALLY!


Was the Haptic engine included as part of the iPhone's Home Button ever made available for use by developers?

Yes, Apple made that API available in iOS 10 (released in 2016). The main source of documentation is contained within the documentation for the UIFeedbackGenerator class:

https://developer.apple.com/documentation/uikit/uifeedbackgenerator

Many apps make use of it. For example the Halide app uses it to tell you, when you have the phone perfectly in "sync" with the grid. The Reddit app does it when you vote on a comment. The NBA 2k14 app uses it to indicate when the ball is touched. And many more apps/games exist that use haptic feedback.


How to disable Boot Camp and prevent any other OS installations?

If you do not want an user installing operating systems, then you would create a standard account for the user. In this case, the Boot Camp Assistant application can not be used to install Windows without first entering an administrator username and password. This is shown below for Big Sur.

The rest of this answer assumes the following. See About Secure Boot for more information.

Firmware password protection is on.
Secure Boot is set to Full Security.
External Boot is set to Disallow booting from external media.

The firmware password is not required in the following cases:

Selecting Restart in macOS… from the menu produced by clicking of the Boot Camp icon  in the notification area on the right side of the Windows taskbar.
Selecting macOS from the Boot Camp Control Panel in Widows.
Selecting your Boot Camp volume in Startup Disk preferences of the macOS System Preferences application. However, this does require the password of an administrator.

The firmware password is required in the following cases:

Before using the Mac Startup Manager to choose the Windows (Boot Camp) volume.

Before using Mac Startup Manager to choose any macOS volume.

In other words, the firmware password is require only if the selection of a operating system is done using the firmware. The Mac Startup Manager is implemented in the firmware.

If one were to set the firmware password, the user would not necessarily be prompted for the password every time when trying to boot into Windows. The password is only asked for, when the Mac Startup Manager is involved.
If someone installed Windows via the Boot Camp Assistant, they would not be asked for the firmware password when trying to boot into Windows for the first time. They would not be asked after the first time either. Windows actually restarts (reboots) several times during installation.


That sounds like your Mac is actually sleeping (suspend-to-ram) and not just turning it's screen off. If the screen was just turned off, simulated mouse/keyboard input from Synergy should wake it back up. If it's sleeping it won't, because your Mac isn't listening for Synergy network traffic when asleep.

You can either adjust the power save settings to only turn the screen off, but not actually go to sleep (but then you're sort of already doing that via Caffeine when you remember to) or wake the Mac via a Wake-on-LAN magic packet that will awaken it even from sleep mode, which can be sent from a command-line utility on the Windows machine.

If that doesn't work to your satisfaction you can also wake the Mac up in scheduled intervals via pmset (see man pmset for more information). For example, to wake up every Monday to Friday at 8:30am:

 pmset repeat wake MTWRF 08:30:00


Firstly, if you don't use spotlight (the search screen when you swipe right from Home) you can turn that off which should increase the performance of the iPhone.
Settings>General>Spotlight Search and then deselect all of the options.

If you still want to downgrade....

The iPhone isn't really designed to downgrade but there are ways to do it.

I had to down grade from the 4.0beta to 3.1.3 and followed this guide on The Unofficial Apple Weblog.


How do I connect my PC to a Thunderbolt Display?

Sorry, but currently it's not possible. Thunderbolt ports on Macs can output a Mini Displayport signal, but the Thunderbolt Display can only receive a Thunderbolt signal, nothing else. It's possible that an adapter to do this could be released in the future, but IMO that's unlikely or if it happens will be quite expensive.


If it is new, then I suggest taking it back to Apple for repair, especially if it still under warranty so that you don't have to spend $140 on what is ultimately a guess.


Will I be able to use cellular data when i'm connected to another device via WiFi Direct?

From experience and I hope design, Wi-Fi is prioritised above cellular when it comes to connection. Only Wi-Fi assist can be used to use cellular despite Wi-Fi. Also, battery discharge rate drops when on Wi-Fi even when cellular is ON, I believe it is not being used. I cannot provide references.

Now since dash cam is using Wi-Fi to stream video, not for internet, apps cannot detect the purpose. They'll treat it as logged-out network, or simply a disconnected from internet network.


AirPlay on Apple TV 2 failing more often than it works

No - that is not at all common.

Something is certainly causing the instability so you might need to isolate the potential causes one at a time.

network issues (the most likely culprit but by far not the only one)
Apple TV needing a restore or perhaps just a reboot.
iOS device needing the same (restore or reboot).

Before restoring your iOS device, you might try the other steps first or also you could take your device to another network / Apple TV such as a retail store to test and make sure that's not the cause.


iOS network connectivity on a local, isolated network with no DNS server

It's not a direct answer, but why not set up dnsmasq somewhere on your 192.168 network and use that hosts ip for the dns server in the ipad config? It should be a viable workaround. If this extra network doesn't have www connectivity, make an entry for apple.com in the /etc/hosts file where dnsmasq runs. This should trick the ipad to thinking it's truly online.


How to send only "work" related requests over vpn for El Capitan (10.11)

You should talk to the VPN administrator.  Typically, the decision about what traffic is routed to your network is made by the VPN server since there are security implications to allowing the device to send only some traffic down the tunnel.  We use Cisco VPN and we do not allow clients to do what you describe because it opens a potential hole in our network security.


Why do we have multiple contacts for the same person on Mountain Lion Messages?

First of all iOS 6 and Mountain Lion have the ability to combine phone number and Apple ID to use iMessage, but it seems like you haven't activated it.

Have it separated comes from older versions and also gives you kind of a fallback mode when there is no internet connection available. If you send an iMessage via Apple ID and your partner "on the other side of the conversation" had no connection, the message would not be send. Using the phone number you still have/had the ability to resend it as SMS.

Now, if you want to combine your Apple ID and your phone number, open the prefs on your iOS device, go to the messages section, choose "send & receive" and check both your Apple ID and the phone number. Also set the application to start all conversations from your phone number.

Now, do the same on your Mac. Open the prefs in iMessage on the Mac, go to accounts, choose your iMessage account and check both, your phone number and your Apple ID. Set the application to start new conversations from the phone number.

Now, your streams should be combined from now on (old conversation will stay separated).

Of course in case of connection problems sending a SMS from the Mac is not possible within iMessages.

To your question why you have different possibilities to send the message: Well, because he/she has different contacting possibilities (and technologies - you can sent SMS to the number instead of an iMessage). But they also have the ability to combine their number and ID what should also give them one single stream.


Does iOS 13.3 have haptic touch app switcher?

Yes. On your iPhone, you can press and hold on the left edge of the display to bring up the iOS multitasking UI/app switcher.


How to reauthorise a Google account in Internet Accounts (after changing Google Account password) on Mac OS 10.11

Have you tried opening System Preferences > Internet Accounts? Opening it will usually ask you to reauthorize when you've changed passwords. If not you can try checking and unchecking Notes.


Is it possible to change the date of a photo in the camera roll?

Yes, you can accomplish this by downloading third-party apps from the App Store.

Pixelgarde

One I've found very popular from my web searches is Pixelgarde. This app not only lets you edit the date and time of when your photo was taken, but also change or delete the location where it was taken in, the person who took it, and much more.

Again, this is the one I've found most popular in my web searches, but please feel free to pick up the one you most prefer!

Hope this helped you out, let me know !


If you open up "Settings" and choose "Mail, Contacts, Calendars" then under "Accounts" you should see "Add Account". Clicking on that allows you to choose to add an Exchange account.


Is there a way to sync an iPhone 3GS with Mac OS X Tiger?

Yes, upgrading the Mac to Leopard will work.

Each new iDevice has certain identifiers (model number, etc.). When Apple releases a new one, the old version of iTunes would need an update to recognize it. (Sometimes this even happens with new device OS/firmware versions.) They bundle these updates with feature and bugfix updates, so you're stuck with a new version.


Strange sound playing at random intervals

While it's not possible to check that directly, here are some workarounds:

There are some apps like SoundBunny or SoundFlower which can provide extra kernel extension for pass-through audio, then they can check which processes are accessing sound device.
If you're using Google Chrome (or similar web-browser), look for speaker icon next to tab or window (e.g. check in Window menu).
Check Notifications in System Preferences, and either set Do Not Disturb or disable Play sound for notifications for the recent or all apps. See this post.
Check for log entries, e.g. by the following command:

log stream --level=debug

Check for any file activity by fs_usage command, e.g.

sudo fs_usage

Using trial and error, pause and resume processes to find out about the process, e.g.

ps d
kill -STOP 1234 5678 # Stop processes via PID(s).
kill -CONT 1234 5678 # Resume selected processes.


What is the loopback interface lo0 on Macs?

Loopback is a virtual interface that is an integral part of all TCP/IP network interfaces on all generally available operating systems. From Wikipedia:

  Any traffic that a computer program sends to a loopback IP address is
  simply and immediately passed back up the network software stack as if
  it had been received from another device.

Since loopback interfaces don't send data anyplace but back from where they came you will not generally find ways to hack a system using loopback. That does not mean it can't or has not been done but it is not something to generally worry about.


This issue seems to have been solved in the latest development build:

http://www.sublimetext.com/dev


App doesn't remember my preferences or information when restored

Even if you're outside the country where the phone carrier is originally provided, you still can provide your number to WhatsApp. After providing your number, you'll receive a text from WhatsApp that contains the activation code. Then, enter the activation code in WhatsApp to re-activate it.


MacBook connects to network over Ethernet but not WiFi

Under System Preferences > Network, choose AirPort, click on Advanced, select the name of your wireless network and click the - button to remove it.  Turn AirPort off, wait a few, turn it back on, and try reconnecting to it.

You might also want to open the Terminal up and run the command:

dscacheutil -flushcache

Failing that, create a brand-new user account on the MacBook, log into that account, and see if it can connect.


What third-party games have been included with Macs at some point?

I believe this list covers all models from 2000–present, and most models from 1995–2000. However, this list is still incomplete. Please contribute if you know of anything wrong or missing!
In cases where software could either be considered a "game" or not (e.g. Kid Pix), I've generally erred on the side of inclusion.
† indicates bundled software that was not preinstalled. ‡ indicates software which I have not yet determined whether was preinstalled or bundled.
Sources indicated by “mA” for madeApple links, ↗ arrows for other links, and “MT” for information available via Mactracker.

Spin Doctor‡, Super Maze Wars‡, Eric's Solitaire Sampler‡ — 1995

PowerBook 190↗
PowerBook 2300↗
PowerBook 5300↗

DOGZ Adoption Kit, Descent†, Thinkin' Things Collection 2†, Club KidSoft†, The Amazing Writing Machine†

Performa 6400/6410/6420↗ ↗

Weekend Warrior†, Thinkin' Things Collection 3†, KidPix Studio†, Descent II†, Where in the USA is Carmen Sandiego?†, VR Soccer 96 3D†, Virtual Pool 3D†, Mechwarrior 2†, The Amazing Writing Machine† — 1997

Power Macintosh 6500 (except Education Edition)↗ ↗

Virtual Pool‡ — 1997

PowerBook 3400↗

Nanosaur — 1999–2001

iBook (1999–2000 models)MT [mA 1 2 3 4]
iBook (Dual USB)MT mA
iMac (5 Flavors)↗
iMac/iMac DV/iMac DV+/iMac DV SE↗
iMac (all 2001 models)↗ ↗ [mA 1 2 3 4]
Power Mac G4 CubeMT mA

Kid Pix Studio Deluxe

iMac/iMac DV/iMac DV SE ↗

Bugdom — 1999–2001

iBook (1999–2000 models)MT [mA 1 2 3 4]
iBook (Dual USB)MT mA
iMac/iMac DV/iMac DV+/iMac DV SE↗
iMac (all 2001 models)↗ ↗ [mA 1 2 3 4]
Power Mac G4 CubeMT mA

Cro-Mag Rally — 2000–Mid 2001

iBook (Dual USB)MT mA
iMac (all 2001 models)↗ ↗ [mA 1 2 3 4]
Power Mac G4 CubeMT mA

Otto Matic — Late 2001–2004

iBook (Late 2001)MT mA
iBook (14.1")MT mA
iBook (all May 2002–2004 models)MT [mA 1 2 3 4 5 6 7 8 9 10 11 12 13]
iMac (all 2002–2004 models)[mA 1 2 3 4 5 6 7 8 9]
eMac (all 2002–2003 models)MT [mA 1 2 3]

Deimos Rising — 2002–2004

iBook (all May 2002–2004 models)MT [mA 1 2 3 4 5 6 7 8 9 10 11 12 13]
iMac (all 2002–2004 models)[mA 1 2 3 4 5 6 7 8 9]
eMac (all 2002–2003 models)MT [mA 1 2 3]
eMac (USB 2.0)MT mA

Tony Hawk's Pro Skater 4 — 2004

eMac (USB 2.0)MT

Nanosaur 2, Marble Blast Gold — 2005

iBook G4 (Mid 2005)MT [mA 1 2]
iMac G5 (iSight)MT [mA 1 2]
eMac (2005)MT*
Mac MiniMT mA
Mac Mini (Late 2005)MT mA

Big Bang Board Games — 2006–2007

iMac (all Sept 2006 models)MT
Mac Mini (Early 2006)MT mA
Mac Mini (Late 2006)MT mA
MacBook (all 2006–Mid 2007 models)MT [mA 1 2 3]

*madeApple disagrees, but I believe it's more likely that Mactracker is correct, given the years involved.
(Formatting note: models were combined if there were at least three computers from the same product line, and which did not differ in their included games. Games were combined if there was no difference in what models came with them.)


Okay, I decided to just take the plunge and took it apart.. After opening the optical drive itself, the DVD seems to have been lodged badly so that's how I got it out.


How do I play FLV and MP4 files on my jailbroken iPhone 4, without converting the files?

VLC (google it) plays just about everything. Unfortunately, due to a strict interpretation of some open source licenses (that is, not Apple's fault), the iOS version was pulled from the App Store.

Fortunately, though, you can still install it by using Cydia. Or at least that's what I've read (I haven't done it myself), see the instructions for details.

Getting the video files onto your phone will be more of a hassle, but I think this might be your best bet. Can't hurt to try.


Can't delete email from Junk/Trash folders

You seems to have an IMAP account, so Mail order server to delete those emails, but something goes wrong and the task is not completed. When Mail sincronizes with server again, those emails will show up again because were never actually deleted from server. You have to review the configurations of this account with your mail provider - probably request for a support. I'm afraid this is the first step. Chances are your configurations changed somehow (even some corrupted file) or the server were updated and your configurations are outdated.


Are OS X and PureDarwin binary-compatible

Yes - as long as you do not rely on a library or other feature that is only available in OS X.

The Pure Darwin project is a continuation of the Open Darwin project which was founded by Apple and a non-profit organization called the Internet Systems Consortium. This effort came to an end on 25 July 2006. Pure Darwin continues where this left off and promises a lot more than just binary compatibility with X11 available in the current developer preview (released in 2009).

The site says they're looking for people to join the project...


Can't find MIT/GNU Scheme in Applications after install

You can confirm where it was installed in /Applications by using Terminal.app:

cd /Applications
ls -lt | grep -i cheme

This should print the name of the directory where it was installed (which should be MIT:GNU Scheme). You can access it from the command-line by adding the following directory to your PATH: /Applications/MIT\:GNU\ Scheme.app/Contents/Resources.


MacOS - turning off the bash session restore

If you want to discard your Terminal state, you have to quit with holding the Alt key. The menu will change from "Quit Terminal" to "Quit and close all windows".

You can also make it effective with the "normal" quit Cmd + Q, this way:

Open your terminal
Delete the content of the saved state folder: rm -rf
~/Library/Saved\ Application\ State/com.apple.Terminal.savedState/*
Lock the folder: chflags uchg ~/Library/Saved\ Application\
State/com.apple.Terminal.savedState/
Now, every time you quit your terminal, it won't be saved


Thankfully, there’s an app to figure out exactly which files are uploading, which are set and which are failing / out of date with iCLoud.

Even better, it’s well described and actively being developed and I believe, free to use.

https://eclecticlightdotcom.files.wordpress.com/2018/06/cirrus11.zip

The general release blog post is:

https://eclecticlight.co/2018/05/19/cirrus-version-1-0-release-the-icloud-tool-is-ready-for-general-use/

Keep in mind that there are throttles to pause uploads after so many GB a day so your initial ingest might take a while if you just dumped a ton of data and are not leaving your Mac on and not sleeping overnight or over a period of several days. I would consider reducing the initial upload to 3 GB or so and let that catch up if you can at this point.


You have to go into the winetricks menu from the dropdown menu on the taskbar, and it should all be there.  If its not there, you should try deleting your copy of wine and reinstalling the latest version.


Brother HL-1440 Disappears From Mavericks

I fixed my printer by installing a new driver after deleting the Old printer in System Preferences.(just hit the "-" button.)
Then Download and install this:

http://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hl1440_all&os=132&dlid=dlf006958_000&flang=4&type3=79

After that, go to System Preferences and add ("+" button) the printer. If it doesn't show up, check that it is plugged in and turned on, switch it off & on or take out the USB cable & put it back. Then it will appear. Remember to set it as the Default printer.


How does keychain restore work in other idevice?

When you restore an iOS backup - all the previous contents are gone so there is no merging of old and new contents. You end up with the current keychain matching the backed up keychain.

The only subtle aspect is that if you do not have a passcode lock on the device, some items stored in the keychain are wiped (either not backed up or not restored - it's not clear when this happens). This ensures that you actually have to re-enter mail passwords and such.

This protects from someone restoring your backup without your knowledge and then being able to read your email. They either need to know your passcode or your password to make use of a restored keychain and app settings on a new device initially after restore.


Documents confirming the legality of the software

The operating system is covered by the Apple End User License Agreement (EULA) and you can find it in PDF form on this page. My suggestion is to print the EULA and then to attach the receipt for the hardware (that the software came with) or the receipt for the software purchase to it. Then you have some documentation.


After doing a quick google search, a user from MacRumors mentioned Hazel, which has this feature, although pricy at $32
TrashTimer is a free alternative app, works straight from the preference pane.
Or, for the DIY-er, this discussion on the Apple Communities forums has two answers, one by twtwtw, and one by Tony T1.

twtwtw's answer uses an Applescript and a launchd plist file to automatically  execute the script at midnight. The files in trash then gets today's date written into the comments section, and if the date matched is older than x days, deleted. TL;DR: File is deleted depending on the date written in the comments section of file.

Tony T1's answer uses only a plist file in the launchd, and it deletes files based on the created date. Tony T1 also adds this:

  Notes:
       -- I use -mindepth 1 -prune, so that if a FOLDER is in the Trash, every file in the folder is deleted (-R), (even is it is less than 7 days old -- good for App bundles).
       -- Some files might not be deleted if srm has an error (for example, write protected files owned by another user)
       -- This only handles the Users Home Trash.  If you have attached drives, adjust accordingly.

Sidenote for a fix for Tony T1's answer

Alternative to Compost – MacRumors forum

Apple Communities discussion


I know that in the Terminal, you can escape the space using the \ character. So, what I would write is: Pharos\ Printer.
That way Terminal knows that a space character is incoming.


How can I locate a stolen MacBook that didn't have Find My Mac turned on?

Without Find My Mac turned on via your iCloud account, you are going to have to rely on the kindness of strangers or local law enforcement to get it back.

Edit:

And my experience with a stolen computer was that even having Find My Mac enabled didn't help me get the computer back. The police would not use the location information to recover the computer. It is mostly for finding a lost computer or deleting your data so the thieves cannot gain access to your data.


Does Find My Friends require that Wi-Fi be on & that the app be running to get notifications?

No it doesn't have to always be open.
No, same as 1.
No, cellular connection works too.
No, cellular connection works too.

Find my Friends would need permission from you to share your location as well as your friend. Once you two are sharing your location with each other, Find My Friends can send notifications that you have requested.


A solution would be using an app like "Open In Terminal" (free/open source).
https://github.com/Ji4n1ng/OpenInTerminal
This app adds a menu to the Finder toolbar which opens the current directory in your default terminal app or your preferred text editor. Most terminal apps and text editors are supported, including iTerm.
There are also a "lite" versions for either opening the directory in the terminal app or in the text editor with a single button.


This feature has been removed in iTunes 12.7 - but Apple have since released 12.6.3 which retains the feature.
You can install iTunes 12.6.3 on top of / over iTunes 12.7 for any OS that support iTunes 12.7 and both are compatible with iOS 11.

Apple KB: Deploy apps in a business environment with iTunes

You need the direct link, it apparently does not appear as an update.
Mac link.
Windows 32 bit link.
Windows 64-bit Link.

If you've already been using 12.7 you may have luck importing your 12.7 lib  to a clean 12.6.3 Library, as outlined on MacRumors, but I had no joy.

I ended up restoring a backup of my Library [just the catalog not all the tunes] from a time before i updated to 12.7.


Is there a way to automatically upload photos from an iPhone to Google Drive

You should use the app Photosync which let you choose where to download your pictures, including Dropbox, Google+/Picasa, Box, 500Px and Google Drive (!) to answer your question.


How can I remove a portion of from the middle of a movie?

You can use Quicktime 10.x to split the movie into multiple clips, and then trim the individual clips. When you're done editing the individual clips and you save/export the movie, you get exactly what you want: one single, continuous movie, sans the parts you trimmed.

Split a movie into clips

In QuickTime Player, drag the playhead (the small diamond) in the timeline to the location where you want to split your movie.

Choose Edit > Split Clip.
Your movie splits into two clips.

To split one of the clips in two, select the clip, drag the playhead (now represented by a red vertical line) to the location where you want to split the clip, and then choose Edit > Split Clip.
Your movie is now split into three clips.

To continue splitting clips, repeat step three.

When you’re done splitting clips, you can rearrange your clips or click Done.

https://support.apple.com/kb/PH5884
I haven't investigated it, but there may be an analogous AppleScript API for working with clips.


The correct command is history -c, as shown in the picture below.


Why won't my iMac boot? (com.apple.displaypolicyd exited with abnormal code: 1)

Let’s start with the basics and permanently enable verbose mode for booting (you can always turn it off later). Boot into Safe Mode (or single-user mode, either should work) and run the following in Terminal:
$ sudo nvram boot-args="-v"

Then reboot. As you are booting, I recommend using your iPhone to take a slow-mo video of the screen so you can capture the boot text. If you can then put together some screencaps of full screens of text and share them here, we can try to see if we can catch a log of the failure sequence.
UPDATE:
From your screenshots I am starting to suspect GPU involvement. Try booting with the following and see if you get different output:
$ sudo nvram boot-args="-v panic_on_display_hang panic_on_gpu_hang"

Also can you boot into safe mode and check /Library/Logs/DiagnosticReports for anything involving displaypolicyd?


Go to System Preferences > Sharing and uncheck the box to the left of "Screen Sharing"


How to reset MacBook Air that is booted but shows no screen?

Apple advises first trying: Hold down the Power button for 10 seconds.

If that doesn't help, do a Power Manager (SMC) reset. No problem.

See this Apple support page for directions for specific Intel machines:
http://support.apple.com/kb/HT3964


How does one change default options in CUPS

Since I essentially wanted to print all pdf's with Scale to fit enabled. This small command worked.

lpoptions -o fit-to-page


Is there a splitter for the Thunderbolt on my MacBook Air?

You're looking for something like a HengeDock: http://hengedocks.com/pages/vertical-macbook-air