How do I prevent the permissions denied message from being displayed when I do a find command?

Three ways come to mind:

run the command as administrator: sudo find / -name "whatever" -print
discard all error output: find / -name "whatever" -print 2>/dev/null
filter "Permission denied" messages: find / -name "whatever" -print 2>&1 | fgrep -v "Permission denied"

The key difference between the second and third option is probably that the second discards all error messages while the third will not show any files/folders where the name contains "Permission denied" (which is probably highly unlikely).

In addition it may be also worth noting that you shouldn't use the third option if you plan to further process the output of find via a pipe. The reason here is that standard and error output are sent via two different channels (and only visually combined afterwards by the shell). If you pipe the output into another command only the content of standard output will be inputed into the next command.


Yes - your example of running a supported OS in virtualization would let you use the officially developed and supported Apple client software to tap into the photo stream. Once you have the software running, it should be fairly painless to get the files to disk and then available for viewing on Snow Leopard.

It's technically possible to virtualize Lion as well while running Snow Leopard as the core OS, so you can choose if you want to use it or Windows OS to get your iCloud sync on.


What is com.apple.mail.plist and why was it slowing Mail down?

com.apple.mail.plist is a property list that stores your defaults (preferences) for the Mail application.

Deleting the file meant that Mail.app would on next launch use the factory defaults.

Why your instance of Mail was misbehaving, I can't tell you, but deleting the prefs sometimes helps in these cases.


How can I upload all photos from a burst on the iPhone?

For now, the only way to upload all burst photos to Dropbox natively is to connect your iPhone to a computer with a cable, and let Dropbox Camera Upload sync. There it uploads all the photos, and not just the single image as it does while syncing wirelessly.

I too have struggled with a solution to this problem, and pray that in the future it will be resolved...


How can I change 'history' command output?

In addition to HISTFILESIZE, you also need to set HISTSIZE, which controls the number of commands to keep in memory until they are saved.

Also, the manual page for history is available via man bash.  Scroll down to SHELL BUILTIN COMMANDS, and you'll find it.  The details about HISTSIZE and other variables are further up in the same manual page.


How to fix iPhone; where user is unable to hear from front speaker. New phone with plastic still on

Take the plastic off when you get a new iPhone. That plastic will ruin the phone calling experience


how to prevent ios from updating apps to incompatible versions

Sadly, the developer is the one who will have to fix this, and you cannot do anything without jail breaking it and (if you know code) making changes to the firmware.

However, read the release notes and take care to make sure it works on iOS 4. Usually the developer will put something in it about compatibility.


Why did MacBook Pro Touch ID stop working temporarily?

Must have been a bug. Haven't experienced again.


Files in your cloud count against your storage container and are stored there on the server.

Shared files don’t count against your allocation and are stored in different buckets with different QOS and technical details.

Depending on if you optimize space on your device and have some items represented as thumbnails instead of the full images (or the image was modified on another device), you would have to round trip all 128 photos down to your device and then back up to the new bucket.

I’ve had preparing hang on one item, so I would cancel that and start with a single image, then add in a few and then maybe do the rest once you’re sure it’s not a server side issue.


How do I restore itunes library onto another computer

I'm just echoing the Apple KB article for anyone else who comes across this answer. I have used this process many times when moving or reformatting my computer:

Process for restoring an iTunes library:

Quit iTunes.
Copy your iTunes folder from your external hard drive to whatever location you desire on your internal hard drive.
Open iTunes while holding down the Option key (Mac) or Shift key (Windows).
In the resulting dialog, click the Choose Library button.

Navigate to the new iTunes folder you just copied and locate the iTunes Library.itl file
Click Choose (Mac OS X) or Open (Windows)
iTunes will open and your iTunes Library will be restored.


Can I install Yosemite on a different Mac with another Apple ID

Yosemite should be a free upgrade.

You can also download it for free here.

https://www.macupdate.com/app/mac/48498/os-x-yosemite


Transferring photos from iPhone to windows computer

tems in the Camera Roll or the Saved Photos album of your device can be imported to your computer, just make sure to follow the instructions provided in the "Importing photos to your computer" section of this article:

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


If you are willing to jailbreak your iPhone there is an app on Cydia that will turn your iPhone/iPod/iPad into an AirPlay speaker. It has its issues, but it works fairly well.

If you have want to mess with it there is an article here:

http://www.macstories.net/tutorials/how-to-turn-your-iphone-and-ipad-into-airplay-speakers/


Batch conversion of xlsx to xls via CLI?

I've not tried this with .xls(x) files per say, but I have used LibreOffice to batch convert .doc(x) files to .pdf using the convert-to option.  OpenOffice has the same options, afaik.

Check the help option for your app.  In my case it was:

/Applications/LibreOffice.app/Contents/MacOS/soffice -help

In particular, for my switch to .pdf files, I did something like this:

/Applications/LibreOffice.app/Contents/MacOS/soffice -headless -convert-to pdf:writer_pdf_Export *.doc

The -headless flag just prevents the whole GUI from loading.  There is likely a similar output file extension and filter (the pdf:writer_pdf_Export) for your .xls(x) case.


Concatenating date and cycle count to file on startup

Thanks to @MateusvSzlosek, The following one-liner works:

echo `date`@`system_profiler SPPowerDataType | grep "Cycle Count" | awk '{print $3}'` >> output.txt


How do I change the Firefox 23.0 icon back to the old one?

Download the Firefox 22.0 release binary from one of these locations:

http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/22.0/mac/en-GB/
ftp://ftp.mozilla.org/pub/firefox/releases/22.0/mac/en-GB/

Double-click to mount the Firefox 22.0.dmg file.
Copy the icons using Terminal:

cd /Volumes/Firefox/Firefox.app/Contents/Resources/
cp document.icns firefox.icns /Applications/Firefox.app/Contents/Resources/

Reboot.

Note: If you want to do the copy from Finder, you'll need to right-click on the Firefox.app icon in the mounted dmg file and select "show package contents" then using a separate Finder window do the same thing for /Applications/Firefox.app, then change into Contents/Resources in both windows and copy the files across.


How to run Say "something" in background in AppleScript

Like this

say "some long text here" without waiting until completion


iPhone still has 90% battery but telling me it has degraded and should be serviced

Yes - there are three reasons I’ve seen the service battery be issued:

The voltage will drop too soon even though there is full charge capacity enough to be above 80% “beginning to lose capacity” line.
The Full Charge Capacity isn’t enough to get normal life out of the battery.
Charging anomalies - the battery needs to behave when charging as well as when discharging.

It’s most common to have the first two, but all three can spark a “check engine” light on the battery sensors and Apple’s diagnostic tools will have much more detailed telemetry and analysis once you get that service done. That runs without opening the device so you may or may not need a battery or other parts repaired.

Once you’ve had a scan and gotten a quote, I recommend you delay the replacement as long as you can if it’s safe to charge. Better to get all the life you can out of the existing chemicals and battery if you can still make a convenient appointment later. Be sure to get it serviced before any long trip or if you can’t get the use you require of course, but arbitrarily replacing at 80% would take a couple years off my batteries since the original iPhone. I rarely replace at that point as I generally have good service close at hand.


How can I unlock an iPod touch which has VoiceOver enabled?

The main UX change you need to be aware of with VoiceOver enabled is that a single tap selects an element and a double-tap anywhere on the screen will cause a simulated tap on the element which is currently selected. This means that you need to tap once on what you want to select, then double-tap anywhere.

Select Slide to Unlock, then double-tap. Enter your passcode by tapping to select buttons and double-tapping to confirm. Continue with this through Settings to disable VoiceOver.


How is continuous play with song cues in mixtapes handled in iTunes?

Jason Salaz, lost my cookie :). Yes, cue sheets are mostly (entirely?) format agnostic but their usefulness depends on the player, as it's the component that adds cue information upon playback. In case of iTunes it appears that Apple embeds this information as metadata in a m4a container.

I tried using GarageBand to do this upon your suggestion, and it created an m4a file with embedded cue data. However GarageBand does other unrelated work, like reconverting the audio, normalizing and so on. I found an audio book editor on the Appstore that may do what I want as well, or perhaps a m4a metadata editor will as well if I find one.


Is one of the keys on the right side of the keyboard (like ろ or ￥) maybe backtick?

If not, you can remap some key to backtick with KeyRemap4MacBook. Save a file like this as ~/Library/Application Support/KeyRemap4MacBook/private.xml:

<?xml version="1.0"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__KeyToKey__ KeyCode::JIS_UNDERSCORE, KeyCode::BACKQUOTE</autogen>
    <autogen>__KeyToKey__ KeyCode::JIS_YEN, KeyCode::BACKQUOTE</autogen>
  </item>
</root>

Then open the KeyRemap4MacBook application, press the ReloadXML button, and tick the checkbox for the setting.

The shortcut for moving focus to the next window can also be changed from System Preferences:


I managed to solve the problem by deleting the whole Touch Icons Cache folder.
I then replaced manually the icons.

If I try to use the safari-favicons.sh code the problem shows up again. I guess I'll adapt.


Will a Lion Fortran Binary work on Mountain Lion?

It should run just fine on Mountain Lion, and it should not do any damage to the Mountain Lion machine.

There is only one way to know for sure if it will work - installing it. I didn't want to do this because I am not sure how to test it, but will say that it shouldn't be a terrible mistake to install.

It will either not run (due to various things like Gatekeeper, minor API changes between Lion and Mountain Lion, etc) or not even install. Otherwise, a Mountain Lion specific build either uses new APIs, etc.

Finally, quickly browsing around online it looks like depending on your install there may be an issue error trying to exec 'f951': execvp: No such file or directory". This site offers a fix, which looks like you need to uninstal the current Xcode, remove references to previous compilers like gcc, cpp, gfortran, and then reinstall Xcode, gfortran, and gcc.


iTunes remembers my friend's iPhone from when he plugged it in to recharge

Make sure 'Sync with this device over WIFI' in the summary tab is not selected.


I found out it wasn't ext using the following command...

sudo dd if=/dev/disk2s4 of=../disk1s3.header bs=1024 count=2

This told be it was XFS so I used fuse-xfs and it works as long as I access it with root privileges.


Finder allows rename on Exposing desktop

It's a bug. Basically it's not setting focus onto the desktop, the focus is still on the Folder/File that you're renaming in the Finder window, the only difference is the Window is being 'drawn' off screen. If you do it then press F11 to slide it back in the rename box points will be a perfect fit.

It probably shouldn't allow it, and I've never even seen it before, so kudos for finding a pretty bizarre bug!


localhost doesn't find all files in Sites-Folder

Ok, i don't know why but i changed the Document-Root-Folder in the XAMPP-Config-File to match /username/Sites.

Now the other folders work, too.

I don't understand why one folder works with the old configuration, and newer ones don't.

To all with the same problem:

  The XAMP-Config-File must be the same document-root as the /etc/apache2 - config file on the mac

Strange thing, on my other Mac the Document-Paths are different but work.


Yosemite Mail.app is playing sounds for non-inbox mail

My workaround…

Switch off the new message sound in Prefs > General
To the end of every rule, or at least the end of all possible paths, add a new Action -  'Stop Evaluating Rules'.
Add one more Rule at the end, like this…

Anything that gets that far through the Rule list will play the sound, anything diverted on the way will not…
...or you can selectively add that or any chosen sound at the bottom of earlier Rules, for instance if you wanted to differentiate or highlight any particular incoming path.


These temperatures are completely normal.


I have never had only problems with iBooks. But when downloading 'Get Sample' of your book "designing bsd root kits" the same error occurred!

It is likely that this book is corrupted in the Store. Give Apple a call and see what they can do. This might not be your fault at all.


Error while installing Homebrew on Mac OS X (10.10.3): Unable to change file mode on /usr/local/

From your ls output:

drwxr-xr-x     5 root  wheel  uchg   170 Aug 20  2015 local

That uchg flag means the file or directory cannot be changed. You can remove it with this command: sudo chflags -R nouchg /usr/local

For more information about file flags, see the man page for chflags: http://ss64.com/osx/chflags.html


Will Apple include Mac mini 2014 late in his next OS upgrade after Catalina?

If I take the reference of the following screenshot for all old models of Apple, your macMini should last for a couple of years more. After 8 years also, late 2012 still supports Catalina.

In nutshell, if there are no any major hardware changes in upcoming macOS, I guess your 2014 will definitely support the next version of macOS.


How can I get Siri to set my Nanoleaf light back to adaptive lighting?

Siri doesn't know how to do this (as of iOS 14.4, because the site you linked to is for iOS).  You need to first create a Scene that sets the light to adaptive lighting.  Then you can tell Siri to execute that Scene.
These directions work on any device that has the Home app.

From the Home app, tap the + icon (top right) and select Add Scene.
Select Custom.
Name the scene to use the phrase you want to use to turn on adaptive lighting.  I used "Turn on adaptive lighting".
Tap Add Accessories.
Select the light(s) to control (in your case, it will be your Nanoleaf bulb).  Tap Done when finished.
Under Accessories you'll see the Nanoleaf bulb.  Long-press the device to show the color configuration screen.  Tap the adaptive lighting icon which is the first icon on the top row, left.  Set the brightness as desired.
Tap the X to close the screen.

Now, you just have to give Siri the name of the scene and it will work.


How Do You Label The 3D Axis in Grapher?

Another helpful method that I've found was to save a standard 3-d template with colored unit vectors for the positive xyz-axis. I made the positive x-axis red, the positive y-axis blue, and the positive z-axis green.


Getting .profile to execute after .bash_login

Delete ~/.bash_login
Move [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function into the bottom of your ~/.profile.
Success!


How do I get rid of this power assertion from a dead process?

I had the same issue: a PreventUserIdleDisplaySleep assertion set by a process that was no longer active. Killing the powerd process (to be restarted by launchd) cleared the assertion without logging out or rebooting.

$ ps -e | grep powerd
63 ??         0:00.05 /System/Library/CoreServices/powerd.bundle/powerd
$ sudo kill 63

I'm not sure about any undesirable side effects might occur when killing powerd, however.


I have now realized that what I was seeing was the typical halo effect of high sharpenss. The image examples in this article illustrates the effect perfectly.

Decreasing the sharpness from 10 (max, the default) to 1 (lowest) improved the fonts immensely. Even 5 is pretty good, but as far as I understand it sounds from forums like the lowest setting is most faithful to what the OS wants to display.


Macbook - put my application in space without full screen mode

Instead of directly dragging an application and creating a new space, if I click on the plus icon on the right side, and then move the application to it or directly drag the application to that + icon, the app is not entering into full screen mode. This fixes the issue.


Siri Voice Feedback Not Functioning on iPhone 6 (iOS 9)

Voice feedback can be enabled/disabled in Settings -> General -> Siri.


Any solution to bootcamp windows 8.1 with macbook pro 15" 2010?

Apple iMac and MacBook Pro models did not have UEFI firmware and the ability to boot Windows installers from USB flash drives until at least the 2012 model year.
Your firmware does not have the ability to boot from a USB flash drive Windows installer. You should install Windows using your DVD drive. If you no longer have a DVD drive, you may still be able to install using the Windows 8 iso file. This have been done successfully using Windows 7 on a 2010 15" macbook pro (MBP6,1). If you wish, I could update the procedure for Windows 8. (Or are you installing 8.1?). Anyway, go here for more information.
To install directly using the GPT partitioning table is only recommended if your computer has a UEFI. Your model does not. Most people who succeeded usually have a problems with one or more drives not working properly. There is no advantage in trying. Installing using the MBR partitioning table will work without any problems.
You don't have to use BootCamp. Most who don,'t, want something different than the default; such as an extra NTFS or ExFat partition. The procedure depends on what you have in mind.
Updated Procedure for Installing Windows 8.1 Using VirtualBox
The original steps are posted here.
Steps 1-14. No change
Steps 15-17. Substitute Windows 8.1 for Windows 7.
Step 18. No change
Step 19. Images slightly different, but not worth updating.
Step 20. The rest the virtual machine installation will be repeated again after booting Windows on the physical machine. For most questions, you can use the default answers. Use the provided answers below when the following windows first appear. When asked a second time, you can provide your own answers.
(Hint: For a better view, click on the image or open in a new window.)
When the following window appears, enter a name for the computer. You will enter this same name later. I used the name Shark. Choose any name you like.

When the window below appears, choose Customize.

VirtualBox creates a virtual Public network for your virtual machine. Therefore I would click on "No" in the window shown below.

To be safe, I would not let any updates download or install until after the Boot Camp Support Software (the drivers) is installed. Therefore, when the window below appears, I would choose "Don't set up Windows Update (not recommended)".

When the window below appears, choose "Create a new account".

Select "Sign in without a Microsoft account", when the window below appears.

Enter a temporary user name, password and password hint, in the window shown below. You can delete or disable this account later.

Step 21. Replace

From the Start Menu, select "Computer" to open a window containing the hard disk drives and devices with removable storage.

with

Right click on the Start Menu and select "File Explorer" to open a window containing the devices and drives.

The first image will be slightly different. Replace

Select "Start Menu→All Programs→Accessories", then right click on "Command Prompt" and select "Run as administrator", as shown in the image below.

with

Right click on the Start Menu and select "Command Prompt (Admin)".

Disregard the second image. The Desktop shown in the third image will be different.
Step 22. Replace Windows Explorer with File Explorer.
Step 23. Same instructions. Replace image with the following. This step takes a long time to complete.

Step 24-26. No changes.


Where are Logic instruments located in High Sierra?

/Library/Application Support/Logic/

How to find your root Library folder:

Open your startup disk in Finder, either by clicking the name of your startup disk (e.g. Macintosh HD) in the sidebar, or by pressing ⇧⌘G and entering /.

You should have these 4 folders. Open Library.


Is it possible to install a new HP Envy-4520 printer on a computer running Snow Leopard

According to Apple's archived support article for supported printers, the ‘HP ENVY 4500 e-All-in-One’ is supported by Mac OS X 10.6.8. I recommend downloading and installing the most recent HP Printer Drivers (v2.16.1) for Mac OS X v10.6 Snow Leopard and see if the printer drivers for the HP ENVY 4500 e-All-in-One will work with the model you have.


I guess you're chances are very small getting the monitor's Ethernet port working on OS X.
Probably you would need a modified kext - best place to ask would be the hackintosh sites - but you would have to be cautious with every OS X update as that could change the kext and leave you without working ethernet port...

You could however use one of the USB ports on the monitor to connect the Apple USB Ethernet Adapter for ~30$ and you're save.

You'd lose one USB port and 30 bucks, but I'd say it's better than the hacked solution over long time and you have an Ethernet adapter you can take with you, rather than carrying the monitor around ;)


Unchecking 'part of a compilation' for multiple items in iTunes?

Yes.  Select all of the items and press cmd + I.  iTunes will ask you if you want to edit info for multiple items.  Select yes, then select the options tab.  There should be a dropdown menu on the right if the words "Part of a Conpilation."  Select yes, and then click apply, and you should be all set!


Can my Macbook Pro run Starcraft Legacy of the Void?

Yes. Purchase it here. Google is your friend, 2pionfour.

Disclosure: no financial stake in Blizzard Entertainment.


Can I recover a deleted video from the iPhone 4S camera roll?

If it is jailbroken and you have OpenSSH installed, you might be able to pipe a whole disk image to your computer, on which you will be able to try standard HFS+ file recovery software.

If you don't meet the above requirements, keep in mind all disk activity - especially that involved in the jailbreaking process, but even that which could have happened in the meantime by normal use, has the very potential of contributing to the overwriting of the affected files.


Apple has changed quite a lot in their new OSX version. And as you see on the DictUnifier-website, the tool only was updated to support Lion in the newest version.

  Support Mac OS X 10.7 "Lion"

So Mavericks isn't supported at all, which I think is the root of the problem.


MacOS Sierra sleep mode after a couple of minutes

You should go to your terminal, type man caffeinate and read it. You'll have the answer you need. If not, please follow up with a specific question.


Copy file to protected directory using AppleScript

Got it...
tell application "Finder"
    set posixSource to (POSIX file "/Users/darwin/Desktop/test.txt" as alias)
    set posixDest to (POSIX file "/Applications/My Special App.app/Contents/" as alias)
    duplicate file posixSource to folder posixDest with replacing
end tell

... and the one-liner:
tell application "Finder" to duplicate file (POSIX file "/Users/darwin/Desktop/test.txt" as alias) to folder (POSIX file "/Applications/My Special App.app/Contents/" as alias) with replacing

Some important distinctions from failed attempts:

You can't alias a file which doesn't yet exist.  For destination, use the destination's parent folder instead.
You can't copy into the root of an Application bundle (e.g. My Special App.app).  You must copy into the My Special App.app/Contents instead.
Pay special attention to the keywords file and folder as they're provided to the duplicate command.
When a problem occurs, it can deadlock Script Editor.  Wrap your duplicate call in ignoring application responses [...] end ignoring to speed up testing which results in timeouts.
When converting to a one-liner you'll need to use the keyword to after the application name.


Can a deteriorating battery cause screen flickering? [Early 2015 macbook pro retina]

You have two distinct problems:

Battery Issue.

You've already diagnosed it - 950 cycles and the service battery indicator pretty much says it all.  From 2013 on, you'll have to replace the top case because Apple glues them in, but the battery can be replaced quite inexpensively.
Display Issue.

The flickering can be caused by a number of things like a logic board issue, a faulty connector, a bad LCD, etc.  I would try running Apple Diagnostics by holding D  while booting from a powered off state to see if you can get a diagnostic code however, chances are you're going to have to take/send it in for service.

A battery, generally, will not cause issues like this because it doesn't dump "raw" power directly from the battery to the logic board.  It actually goes through some circuitry to "level" everything off and split it out into the correct voltages the system needs (12V, 5V, 3V, etc).  If the battery was causing the problem, you'd see it everywhere on your Mac, not in just one place.

That said, to diagnose properly, you would disconnect the battery completely from the logic board and see if the problem exists on power only.  If it shows up, you've got your answer.


Force Spotlight to index specific Library folders

Spotlight is already indexing those files and folders. You can check for the file names.

The actual problem is that the importer is ignoring the "code" portion of the files so the strings you want to find are not matching.

mdfind -name fmwebd_home.html

If you copy a html file to your desktop, you can play with editing them to include strings inside the body of the html - and see if spotlight can find things. Junk names like ZZtestZZ are easy to make up that don't return other spotlight matches.

mdfind  -interpret ZZtestZZ

Also, if you search in Spotlight graphically, you might want to save smart folders/searches that include the system files since they are normally suppressed from default searches.


Safari Bookmark That Includes Scroll Position

Without an anchor in the page, as far as I know a normal bookmark can't do that, but a bookmarklet – i.e. a chunk of JavaScript code – probably can. Whether it's possible depends a bit on what you mean by “a specific position”.

If all you want to do is scroll, say, 2000 pixels down the page each time, it would possible to write a bookmarklet using JavaScript's scrollTo function that does that - but bear in mind that the layout (and hence length) of the page may change depending on the size of your browser window, so this may not be too reliable.

If it's a particular block of content within the page you want to scroll to, it might be a bit trickier. Provided there's a unique bit of HTML near that point in the page, a bookmarklet could dynamically insert an anchor there once the page is loaded, and then navigate to it.

This is probably not the place for detailed advice on writing bookmarklets, however - that's what Stack Overflow is for.


How Do I Disable the Webcam on an External Thunderbolt Display

Apple don't provide any way to control camera devices centrally, it is left up the program in use to provide the ability to choose.

Generally, well written programs give you a choice, and poorly written (and, generally, poorly supported) programs don't. (Photobooth, I'm looking at you.)

The only way I know to force a program to not use a camera is a hack that's been around a while and that is to use something like iChat to make the other iSight busy so it's not picked up by any other program.

Another, older, hack is to remove the kexts that support the devices, however, that would stop all the iSights from working, so, in this case, not a good idea.

So, in the end, there's no answer, but I'm sure there's an app that people would pay for in there somewhere.


Error -36 while copying .pkg from ftp server

You may want to try a dedicated FTP application, they tend to do a better job (in my experience) than using Finder for FTP copy. Also if you are comfortable in the command line you can do FTP there as well.


How to find wifi passwords in Yosemite or iOS8

Keychain Access still stores the passwords:

Go to Applications > Utilities and open the Keychain Access app. On the left side field, click "System," and in the left field "Category" click "Passwords". From here, you can double-click on each network in the "Name" column, and click the "Show password" box to show the network password. You may have to enter your Mac's Username/Password to view each Network Password.

I'm not aware of any way to do this direct from iOS 8, but your iOS passwords will be stored here as well. If you don't see them, on your iOS device, go to Settings > iCloud > Keychain, and turn on "iCloud Keychain" if it isn't already. Apple may text you a security code to verify this: Enter the code on your iOS device. Your saved Wi-Fi passwords should show up shortly, but you may have to close and re-open Keychain Access.


How to create bootable ISO from segmented Windows 7 image on El Capitan

Windows 7 (any version) fits on one disk of any optical media, not sure what is going on with what you have or exactly what it is, that said...

You can't boot from an ISO, you need to burn it to CD/DVD or install it to an external drive of some sort in a way that makes it bootable.

Depending on what is going on here you may be able to use Disk Utility.app to create either optical media or a USB drive that is bootable.

Open Disk Utility and select "Scan image for restore" and select the ISO. Attach your USB drive and restore the ISO to that USB drive, which should (I believe, it's been a while since I tried this...) give you a bootable Windows install disk.

Also depending on which Mac you have and the OS version BootCamp assistant may be able to create a bootable Windows 7 installer.


Apple Developer Enterprise Program - Change Account Holder

You'll need to gain access to the email account used for logging in as Account Holder.

Most likely, the email address domain used as Apple ID to login must be registered/created by your organization. You'll need to follow the proper chain of command internally and gain access to the email account via IT.

Once you have the access, either continue using it or assign the Account Holder role to your Apple ID.

You can refer to the Developer Program roles here:

Apple Developer Program Roles


Is it normal to have a hidden ".pdf" file in my "Downloads" folder?

Yes, the downloads folder comes default with a PDF explaining what that folder is there for. But there should be no "invisible" file.

If you'd like to investigate the matter more, fire up Terminal (Applications/Utilities) and type the following commands (or copy paste them). If you are new to the commandline, it is one per line and hit ENTER after each:

cd ~/Downloads
ls -la

The first will navigate to your Downloads folder. The second will list all the files in it, hidden or not.

The following is a print-out of my Downloads folder:

drwx------+  9 cksum  staff     306  6 Sep 08:16 .
drwxr-xr-x+ 25 cksum  staff     850  6 Sep 09:11 ..
-rw-r--r--@  1 cksum  staff   21508  6 Sep 08:16 .DS_Store
-rw-r--r--   1 cksum  staff       0  3 Aug 13:25 .localized
-rw-r--r--@  1 cksum  staff  130035  3 Sep 19:37 1297608696_001.jpg
-rw-r--r--@  1 cksum  staff  157957  3 Sep 21:55 Radioactive_Man_Number_One_v_1024.jpg
-rw-r--r--@  1 cksum  staff   87189  5 Sep 19:51 Screen Shot 2011-09-05 at 7.51.40 PM.png

The "d" in front of all those other letters (rw-r--r, etc.) denotes a directory (or a folder). If there is none, that means it's a file (or a document of some kind). You can see the size of the file/folder in the column after "staff" (this is the group you belong too). And lastly, the date the file was created and the file name.

There are no relevant or important system files that are placed in Downloads. This is simply files the user downloads. I can't speak why it's there, but I can assure you that deleting it will not cause any harm to your system.


Get output of a command on an ssh session using AppleScript

Adding, e.g.,:
delay 1
set foo to contents

After:
write text "ls" -- I need to get the output of command

In the code of the OP, e.g.,:
tell application "iTerm"
    tell current window
        create tab with default profile
    end tell

    tell first session of current tab of current window
        split horizontally with default profile
        split vertically with default profile
        -- write text "ssh username@server"
        write text "ls" -- I need to get the output of command
        delay 1
        set foo to contents
    end tell
end tell

Gets the contents of the target in which one could then parse foo to get the information sought.

Note that while -- write text "ssh username@server" is commented out, nonetheless, I did test it with a valid ssh login and it did return the expected results in the contents.
Also a delay was absolutely necessary and the value of the delay may need to be adjusted as the condition warrants.


How to compare the performance difference between the 13" and the 15" MBP for graphics & dev work?

You have most of what you need to optimize for listed in the second paragraph:

Adobe CC - lags with larger documents
Adobe CC and Visual Studio - together with iOS/Android simulators

For these items, you'll want to fire up Activity Monitor and or the terminal to figure out what is the bottleneck. Is it RAM / virtual memory swapping to storage or is it purely CPU and thread execution waiting or is the GPU incapable of helping with some of the workload.

Two terminal windows with iostat running - one over a 60 second cycle and the other over a 1 second measurement window will let you know how bursty your IO is and whether you need IOPS or need bandwidth out of your storage. (My guess is you need iops - unless you are streaming / editing 4k video). Also, a third window with top -u -s 60 can correlate the load averages you see on iostat 60 with the CPU usage and what apps are really hitting the CPU.

Next, figure out how much RAM you really need - when you have all the apps open and the simulators - is your memory pressure in yellow or still in green. For most people in your case - money spent on more than 8 GB of RAM is usually better spent elsewhere on a faster CPU or more storage or new app upgrades or AppleCare. Even our Mac Pro / iMac 27 inch developers that run development and heavy Adobe apps are finding it hard to justify more than 16 GB of RAM when we measure actual workloads on machines that run 8 hours a shift - three shifts a day.

Once you know where your current workflow is hanging up, you can make a better judgement if you will be delighted with NVMe+PCI storage over the old and slower SATA/AHCI storage. My workload is similar to you and I have a 6 core MacPro (current model) with tons of RAM, a maxed out RAM/CPU 15 inch MacBook Pro with GPU and thunderbolt 2 ports (the last rev before the TB3 models) and a 2015 MacBook (NVMe storage and i3 / 1.1 GHz CPU and one USB C port) and I choose to do the vast majority of my work on the MacBook.

for example, compiling mongodb from source (repeat time brew reinstall mongodb --build-from-source two or three times) my MacPro gets the job done in 9m26s using 12 threads, the MacBook Pro takes 11m7s using 8 threads, the MacBook takes 41m25s to compile. The MacBook will run into thermal stress and slow down, but it's rare I have such a large full compile to run and incremental builds are the normal for me.

Yes the others can compile large software faster in benchmarks and Adobe runs a little faster on the large files, but I'm almost never waiting for the machines and I need to take my work with me and the hassle of lugging the 15 inch due to it's physical size and added weight (power brick, adapters, and the CPU/Display) are far more a downside than the few times I can do something a little faster. I'm totally going to upgrade to the 13 inch TouchBar model when the 2017 capital budget hits and decide if I even need to keep the MacBook.

I wouldn't look at any benchmark and instead just measure your actual workload and optimize for that. The truth is - any new MacBook with a touch bar is going to be better for you than anything Apple Sells unless you want to get a 27 inch iMac for max CPU/RAM. In practice, the NVMe storage makes your real life performance great and covers up for any measurable benchmark differences. I'm also not a fan of GPU in the MacBook line - the software glitches you suffer occasionally and the extra drain on the battery never seem to make me happy as a trade off for some limited faster filters in Photoshop or a 3D render that takes 5 minutes instead of 7 to 10.


First of all, delete the duplicate rouser line from snmpd.conf, leaving just the "rouser rouser priv" line.

Second, note that you created your user with AES:

sudo net-snmp-config --create-snmpv3-user -ro -a 12345678 -x 12345678 -X AES -A SHA rouser

But are trying to walk using DES:

snmpwalk -v 3 -u rouser -l authPriv -a MD5 -A 12345678 -x DES -X 12345678 localhost .1

That's just not going to work. Swtich to -x AES in the snmpwalk, and there's a much better chance it will work. ;-)


cmd  shift  3 takes a screenshot of the entire current Desktop (all attached monitors, as separate shots].

cmd  shift  4 takes a screenshot of a dragged selection.

cmd  shift  4 then space (you must press space separately) then click, to take a screenshot of a specific window.
Holding  Opt ⌥   as you click will remove the drop-shadow.

Add control to the shortcuts above to place the screen shot on the clipboard instead of saving it to the desktop.


How can I install iPhone Simulator 4.2 on Xcode 4.2?

Download xcode_3.2.6_and_ios_sdk_4.3.dmg
(note - you need a developer account to access this software. I have instead linked to an open-to-the-public Apple discussion that contains the direct download link
Mount the .dmg file
Inside the disk image there is an invisible "Packages" folder. To open it select "Go to folder..." command from Finder menu bar and digit the path "/Volumes/Xcode and iOS SDK/Packages/"
Now double-click "iPhoneSimulatorSDK4_2.pkg"
Click into the destination disk and a button "Select folder..." will be revealed
Click the above button and select your "Developer" folder
Install the package, and Restart Xcode.

This will install the Simulator 4.2 SDK (both iPad and iPhone) inside the folder  "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/"

Now inside XCode 4.2 you can select this simulator from the menu.

Bye.


Juniper Network Connect hangs at “Establishing Secure Session” after upgrading to OS X El Capitan

As of July, it appears Juniper is still working on this. The conclusion of that thread claims you can get Pulse working again by:

Downloading the Symantic Certificate Authority
Rename Symc_Cross_Root.txt to Symc_Cross_Root.crt
Open Keychain Access, select 'System' in the left pane
Choose File>Import File... And navigate to the file you just renamed
If you see something about a VeriSign class 3 certificate you're doing the right thing. Click the drop down next to 'Trust'
Select 'Always Trust'. If you get a little blue icon next to the cert, you should be good to go.

Please note I've not tried this myself. It's a hack to get around unpatched and misbehaving software. While I generally like Juniper, I don't use their software products and I don't trust their tech team as far as I can throw the SRX550 that once shit out on me during a server move. This advice is coming to you from a stranger on the Internet, your mileage may vary, failure to fully test before upgrading in a production environment may cause herpes, etc. etc.


Sound output device disappeared after upgrade

If you have the speaker icon in your menu bar, hold down option key and click on the speaker to choose your inputs/outputs.

If you don't see the device you are looking for, go to Launchpad -> Other and look for Audio MIDI Setup. In the bottom left corner you will see a + sign, click on this to add new inputs/outputs for it and then configure them.

If you don't see the device you would like to add, I suggest you start troubleshooting. Remove all the cables there is, switch off and wait, switch on and hold down cmd+R+option+P until it restarts again then release. (resetting PRAM)


Why is the home button on iOS devices physical?

While no one can say for sure, unless Jony Ive joins Ask Different, I think there has been enough talked about in keynotes and other various appearances (D8, for example) that it can be reasons.

(The Other) Jason's comment above hits the nail on the head. You feel the dip of the home button, and you know what it is. This also allows you to know which way is up. Because with an iPhone you'll feel a speaker grill, and on an iPod you won't feel anything.
The Power button isn't the only hardware button, because the home button is used for things like putting the device into DFU mode. This is done even after the device leaves the OS, so it has hardware-level functionality too. I'm fairly certain that the home button is a hardware-level button, I'm pretty sure I've turned my phone on via it before. Not to mention using it to reset the device in the few situations where I've locked the device up. The home button is not software level button, the volume buttons and ringer switch are the only ones.
Why would you want the home button on the sides of the device? Or top? That makes it completely impossible to meaningfully put to use, especially as frequently as we do.

Hold your iPhone normally, and then start to look at where your hand lies. My palm covers (the bottom) half of the right side, with my thumb at the top. There is a small gap, which happens to be where the SIM card slot is.

The top of phone: Headphone/headset port, noise-canceling auxiliary microphone, a small gap which would be a pain to push as frequently as we hit the home button, and the sleep button.

On the left of the device, all of my fingers cover most of the available room leading up to the volume buttons and ringer switch. And you also have to be considerate of those who are left-handed.

So what's left? A far corner of the device, or the back. The back would be an incredibly silly location, and having a small button in any corner would be massively inconvenient for someone.

The Home button is in a principle spot. It is dead center, large enough to wildly jab at and hit with very good accuracy, and ever present (well, duh). Good for either handedness, and even when it's docked. A quick push in the middle of the device resets your context, taking you to the home screen to move onto your next task.

There is no place on this phone that could better serve the home button's purpose. Period.


Writing a backtick (`) followed by enter produces another backtick in Sierra

A colleague of mine contacted Slack about this and their response was:

  We are aware of a related bug within Chrome and, as our newest app is closely linked with Chrome, it is unfortunately also affecting us in Slack. In this case, it's not something we can directly fix ourselves, but we've escalated it to the relevant parties.

So I guess this is not really directly linked to Sierra as is. But I'll leave the question here in case someone runs into the same problem.

And if you know a fix or a nice workaround, I'll be happy to hear it.

(So far the best I know of is pressing space after entering the backticks which isn't that bad. It still adds a key press to my usual flow but life just isn't always perfect. :) )


What could trigger low *data* mode on a iPhone besides the manual switch?

In regards to my comment, triggering off low data mode for Wifi.

Wifi Low Data Mode

To turn off WiFi low data mode regarding your Wifi connection, instead of cellular low data mode. This should not interfere when you change your cellular connection to low data mode.

Step 1: Open Settings and go to Wi-Fi.
Step 2: Tap the name of your WiFi network.
Step 3: Enable or Disable Low Data Mode

Suggestions: Update to the latest operating system, as well.

You might also notice that sometimes applications will not be allowed to refresh their data in the background, and FaceTime calls as an example are not the same quality as they normally would be. The same goes for streaming video, as well.

Enable Or Disable Low Data Mode For Celluar

Step 1: Open the Settings app and go to Cellular Data > Cellular Data Options.

Step 2: Enable or Disable Low Data Mode.

Step 3: Might be Celluar Roaming


On dropbox's web site, it says:
All transmission of file data and metadata occurs over an encrypted channel (SSL).

Furthermore, data send over the 3G cellular connection uses a 3G over-the-air encryption protocol (which will likely be unencrypted for forwarding to the internet past the cell tower).


org.postfix.master - Service exited with abnormal code: 1

Thanks to Postfix not working on MacOS Yosemite I managed to find the solution…

I tweaked my hosts file from

fe80::1%lo0    localhost

to

fe80::1%lo0    127.0.0.1

& the 9 second respawn has vanished.


iPhone wipe- "Verification Failed. There was a problem connecting to the server."

Connect the phone to iTunes and set it up. That will remove any need to enter any data on the device or from the device. Once you do that one time, you can then set up the phone as you wish.


iPod Touch 5: Start new messages field doesn't show up

Is iMessage activated on your iPhone?
Is your iPhone and iPod signed in with the same Apple ID and connected to the Internet?
Without activating iMessage on your phone with the same Apple ID you can't use the telephone number on your iPod.

If you can't use the phone number for iMessage on your iPhone, then try with turning iMessage off from the settings and turn it on again a few seconds later. Try doing that on the iPod as well.


How to force xip files to use Archive Utility?

In Finder:

Select the file
Press cmdalt/optI
The file inspector opens. Press the triangle for 'Open with:' and select Archive Utility.
Select 'Always open with' and confirm the dialog box.


Packet filter doesn't log on any file. It does log on a network interface named pflog0 (a special device in Unix-lang), see
man pf.conf

You turn on this interface with:
ifconfig pflog0 create

You suppress it with:
ifconfig pflog0 destroy

You can follow what does packet filter logs on this interface with
tcpdump or wireshark.
Ex. :
tcpdump -i pflog0

If you want to go any further with PF and without writing your own configuration files, I highly recommand to test Murus.


MacBook Pro only Charging when Turned Off

I had the same problem and have tried everything, with no result. Suddenly, I reset the SMC without turning off the MacBook Pro, i.e. with the MBP on and the charger plugged, I hit Shift+Ctrl+Alt+ON for ten seconds (the MBP switches off instantaneously). After restarting, the mac was charging properly.


Do you mean an iPod Touch? IIRC "Enable Disk Use" is only for non-iOS devices. I don't know of a way in which you can manually copy songs from your computer to your iOS using the file system and have them play in the iPod.app on your iPod Touch. I believe Stanza allows you to copy ebooks from your computer to your iOS device but I'm not sure if it uses iTunes for that process.


How do I erase MacOS from HDD but keep personal files (i.e. convert a bootable disc to a storage disc)?

Sure you can.
Once it's no longer actually being used as your boot drive you can treat it just like any other data drive. It will let you delete anything you want - just make sure you keep the good stuff ;)
I doubt you will even get any permissions issues at all, but if you do, you can Get Info on the drive itself & check the box at the bottom to ignore ownership.


Will Thunderbolt Cinema displays work with Mini DisplayPort equipped macs?

Plugs are the same, cables are not. The thunderbolt cables contain chips and firmware.

I haven't used the new Thunderbolt display, however I am aware of the following:

MiniDP Macbook -> MiniDP iMac 27: works fine.
Thunderbolt Macbook -> MiniDP iMac 27: works fine.
MiniDP Macbook -> Thunderbolt iMac 27: does not work
Thunberbolt Macbook -> Thunderbolt iMac 27: works fine.

This is in my experience and confirmed from various Apple KB articles. So I believe it's likely you won't be able to use the Thunderbolt display on a MiniDP machine, as that is certainly the case with the iMac 27" models.


My command line says `complete:13: command not found: compdef `

This is the same issue I got on my mac OS. I am using zsh shell.

Compdef is basically a function used by zsh for load the auto-completions. The completion system needs to be activated. If you’re using something like oh-my-zsh then this is already taken care of, otherwise you’ll need to add the following to your ~/.zshrc

autoload -Uz compinit
compinit

Completion functions can be registered manually by using the compdef function directly like this compdef  . But compinit need to be autoloaded in context before using compdef.


Cannot access CUPS utilities after upgrade to Lion

Enter the following at a Terminal command prompt:

cupsctl WebInterface=Yes

You will be able to access the CUPS web interface thereafter.


/Volumes/EFI - Firmware.scap & MBA41_0077_B12_LOCKED.scap

MBA41_0077_B12_LOCKED.scap is the payload of the EFI 2015-001 Security Update provided by Apple. It's visible in the EFI partition because your Mac can flash scap files (ROM updates) only from an EFI partition (fat32).

Firmware.scap is part of your OS X. The file is needed in the boot process (that is why you can see it in your EFI partition ) and is taken (copied) by OS X, during the boot, from /usr/standalone/i386/

Their presence in the EFI partition is not necessary (as MBA41_0077_B12_LOCKED.scap has already been flashed to the ROM and Firmware.scap if removed would be copied back), they are not malicious files.


FileVault & multiple admin users' privacy

In general, you can't keep any files from an administrative user that knows how to modify file permissions.

FileVault is to keep untrusted users out of the entire disk - so you cannot allow an admin user/password into the hands of someone you don't trust.

You can make individual disk images and encrypt them with passwords that are not shared and that will ensure that other Admin accounts cannot look at the files. They could copy the store somewhere else and try to brute force things, they could install keyboard monitoring software to hope to catch you typing the passphrase, but they can't get into each user's private store without another piece of information.

This was one benefit of the older FileVault implementation where each user had their own store / their own key and the risk of cross contamination of user files was lessened.


If you're comfortable with the command line and just want to get a list of the files inside the zip file, you could also use the zipinfo command:

$ zipinfo Archive.zip
Archive:  Archive.zip
Zip file size: 465 bytes, number of entries: 3
-rw-r--r--  2.1 unx        6 bX defN 18-Jun-19 05:00 baz.txt
-rw-r--r--  2.1 unx        6 bX defN 18-Jun-19 05:00 foo.txt
-rw-r--r--  2.1 unx       23 bX defN 18-Jun-19 05:00 bar.txt
3 files, 35 bytes uncompressed, 41 bytes compressed:  -17.1%

Or, unzip -l:

$ unzip -l Archive.zip
Archive:  Archive.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        6  06-19-2018 05:00   baz.txt
        6  06-19-2018 05:00   foo.txt
       23  06-19-2018 05:00   bar.txt
---------                     -------
       35                     3 files


How to convert Aperture license to app store license?

From an accepted answer by Kyle Cronin from another Ask Different question, with added emphasis:

  From Daring
  Fireball:

    […] for apps that use the  same bundle ID for the both the Mac  App
    Store and non-App Store versions,  the Mac App Store will not install
    updates to already-installed non-App  Store versions, but it will
    recognize  them as being already installed. If  you want to get
    updates via the Mac  App Store, you’ll have to re-buy the  app through
    the App Store.


How do I make iTunes video play slower or faster?

Right click on the file in iTunes and choose "Show in Finder." Then right click the file and open in Quicktime Player. In Quicktime Player you can choose the playback speed by using the A/V Controls (Command + K or Window>A/V Controls). From there, you can select the playback speed:

Alternatively, you could use VLC or another music player.


The Apple Support Page for this error (now a broken link), "iTunes: Error 13019 during sync," gives quite a few solutions. The first one is to make sure you're on the most recent version of iTunes (which you stated that you are). On that page, you'll notice that there are some drop-down arrows that reveal more suggestions. The second one tells you to disable Voice Memo syncing. There are some more helpful procedures there if the voice memos aren't the issue.

  Resolution

  Update to the latest version of iTunes. The latest version of iTunes can be downloaded from this page. If updating to latest version of iTunes does not resolve the issue, continue:

  Error occurs while syncing music

  The error will most commonly occur while syncing music. This issue can be resolved by following these steps:

  Select the device name in iTunes under Devices.
  Click the Music tab and under the Sync music option, choose Selected playlists.
  Deselect the Voice Memos playlist.
  Click Apply and then click Sync.

  If the above steps do not resolve the issue, check the device and the iTunes library for duplicate voice memos. If you find any duplicate voice memos, delete the duplicates and then sync.

  If those steps do not resolve the issue, then follow these steps:

  Select the device name in iTunes under Devices.
  Click the Music tab and deselect the Sync Music option.
  Click Apply and then click Sync.
  After the sync is complete, reselect the Sync Music option.
  Click Apply and then click Sync.

  Test in a new user account

  If the steps above do not resolve the issue, attempt to sync with iTunes while logged in as a new admin user. Follow these steps to create a new administrator user:

  Windows XP, Windows Vista, and Windows 7

  From the Start menu, choose Control Panel.
  Open User Accounts.
  Select Create a new account and follow the instructions to complete the account setup 4. process.
  Once the new account is created, choose Log Off from the Start menu.
  Log in to the newly created user account.

  Mac OS X

  From the Apple menu, choose System Preferences.
  Choose View > Accounts.
  Click the "+" (you may need to authenticate to be able to click this).
  Give the new user account a name and short name and enter a password.
  Select the checkbox for "Allow user to administer this computer". This makes the user an admin user.
  Click Create Account.
  Log out and then log in to the new account.

  If the error does not occur in the new user account, other content is causing the error. Proceed to the next section.

  If the error does occur in the new user account, the issue may be caused by content downloaded or created on the device, such as podcasts and voice memos. Removing content from the device may address the issue.
  Error occurs while syncing other content

  If the error occurs while syncing content other than music (applications, podcasts, and so on), perform the same steps as above, but deselect the content that stops the sync. Deselect one type of content, then attempt to sync. Continue until you sync without error. Deselect Apps last, since restoring your Apps would take longer than restoring other content.

Source: http://support.apple.com/kb/TS2830


The same thing happened to me, but then I ran

brew uninstall gnuplot; brew install gnuplot --with-x11

and installed XQuartz. Now gnuplot supports the x11 terminal:

You can also save the output to a file and use qlmanage -p:

gnuplot -e 'set term png; set output "/tmp/plot.png"; plot sin(x)'; qlmanage -p /tmp/plot.png

qlmanage -p shows a sandboxing error in 10.9 and prints some unnecessary text to STDOUT, so I use a function like ql() { qlmanage -p "$@"&>/dev/null; } in shells.

A third option is to use set term dumb for plain text output.


Look in ~/.profile, ~/.bashrc, ~/.bash_profile, /etc/bashrc for a line of the following form:

export PATH=$PATH:/Users/austinzuffi/Development/Android/adt-bundle-max-x86_64/sdk/tools

Also look to see if any of those files contain a line starting with either source or . (which is short for source). If they do then look in the sourced files too.

A quicker way might be to use grep. Open a terminal and, from your home directory run

grep -r "/Users/austinzuffi/Development/Android/adt-bundle-max-x86_64/sdk/tools" .


macOS keeps asking for disk password: how to allow a user to unlock File Vault encrypted disk?

The most reliable way to solve this would be to decrypt your disk and then encrypt it using the Filevault settings page.


Mail.app button to explicitly move to Junk without built-in filtering

You can do this exactly by "customizing" the action that the "Junk" button performs:

Mail Menu> Preferences> Junk Mail tab>

When Junk Mail Arrives:
select Perform Custom actions (Click Advanced to configure)

Then, click Advanced button in lower center of Pref Pane, next to Reset

This allows you to create a custom Rule, essentialy, just like other Rules, in the "Rules" Preference Pane, but it activates when you click the "Junk" button or when Mail thinks it found something that is Junk (keep reading to limit automatic Junk Mail filtering).

*Notice how the default rule has the condition that "Message is Junk"? Possibly just removing this will avoid Mail from auto-triggering the filter, maybe, however, there is another step we can take (keep reading).
*I would probably delete all the conditions here by default (which are just the same as the default actions)

The rule I would suggest is:

If "any" of the following conditions are met
"account" is "name of your account in question"
Perform the following actions "Move Message" to mailbox "name of the mailbox that you have set-up on your server as 'Junk' or similar" (as oppose to the "Junk" folder built-in to Mail.app)

That's most of it.
Additional tips/possibilities:

You could Reset the filter. However, to really take control, see the numbered list below.
Uncheck Trust junk mail headers in messages (if you want more control over your Junk Mail filter)
I would leave the other options about exemption checked, as they stop the filter from auto-triggering.

To become master of your Junk Mail 'Smart Filter':

QUIT Mail.app
In Finder, hit 'command-shift-g' and paste or type without the single-quotes/apostrophes '~/Library/Mail/'
look for the file "LSMMap2". On my Mountain Lion Install it is located in: ~/Library/Mail/V2/MailData
and does not appear to be hidden
Once located, delete the file.
Create an empty text file (remember not to hide its extension, you do not want any extension, and save it/move it to the same folder LSMMAP2 was in.
Get info on the new *empty* LSMMAP2 file (command-i once you have the file selected in Finder)
Click the "Locked" check box under the "General" disclosure triangle (the are wherein is stated file size, type, dates, location, etc. (Also, double check that there is no '.txt' or '.rtf' file extension under the "Name & Extension area")
You're done, now Mail can't 'learn' about spam anymore since you just 'locked' it's 'notebook'.
You could always click the 'Reset' button if you like, just to make sure there are no temporary/cached files around since Mountain Lion loves to create these (invisibly).
Cleaning out temporary files is a secondary fallback, like running the Unix 'cron' Daily/Monthly/Weekly scripts, etc. There are many programs out there that can do this from the normal interface without command line etc, and there are many more cache files out there too. My favorite is Cocktail.

If you can't find the LSMMAP2 file, just use the Junk Mail button for a little while, then come back and look for it again. Since, if you reset it, it may have been deleted.


Handbrake should be able to handle AVCHD files. It relies on some codec library files from VLC player, so it may help to have that installed as well. Handbrake uses ffmpeg underneath the hood.

Alternatively, AVIdemux may also be useful. It's a bit more of an editor than just an encoder, but if it can read the source files, it should be able to output the desired encoding.

Commercially, SmartConverterPro has worked okay for me.


Any way to extract notes from iPod Touch backup?

Restore your old backup folder from Time Machine somewhere on your hard drive.  Then using iPhone Backup Extractor, extract the notes.   Your iPod isn't used in this process.

http://www.iphonebackupextractor.com/

This is probably the easiest way without resorting to wiping your iPod.


Revoke permission to run third-party kernel extension

According to TN2459

  Approved KEXTs are tracked in a system-wide policy database through the team identifier in the KEXT's code signature and the bundle identifier from the KEXT's Info.plist, so updating a KEXT that has already been approved will not trigger a new approval request.

This database (at least until Mojave) is /var/db/SystemPolicyConfiguration/KextPolicy and you can update it with sqlite3 after disabling SIP.

A1398% csrutil status
System Integrity Protection status: disabled.
A1398% sudo sqlite3 /var/db/SystemPolicyConfiguration/KextPolicy
SQLite version 3.24.0 2018-06-04 14:10:15
Enter ".help" for usage hints.
sqlite> .schema
CREATE TABLE settings ( name TEXT, value TEXT, PRIMARY KEY (name) );
CREATE TABLE kext_load_history_v3 ( path TEXT PRIMARY KEY, team_id TEXT, bundle_id TEXT, boot_uuid TEXT, created_at TEXT, last_seen TEXT, flags INTEGER , cdhash TEXT);
CREATE TABLE kext_policy ( team_id TEXT, bundle_id TEXT, allowed BOOLEAN, developer_name TEXT, flags INTEGER, PRIMARY KEY (team_id, bundle_id) );
CREATE TABLE kext_policy_mdm ( team_id TEXT, bundle_id TEXT, allowed BOOLEAN, payload_uuid TEXT, PRIMARY KEY (team_id, bundle_id) );
sqlite>

It contains 4 tables of which only kext_policy and kext_load_history_v3 are interesting (unless you use mdm presumably).  For example these are my authorised kext:

sqlite> select * from kext_policy;
VBG97UB4TA|com.objective-see.lulu|1|Objective-See, LLC|1
Z3L495V9L4|com.intel.driver.EnergyDriver|1|Intel Corporation Apps|1
|com.rugarciap.DisableTurboBoost|1|Legacy Developer: Rugarciap|1
MLZF7K7B5R|at.obdev.nke.LittleSnitch|1|Objective Development Software GmbH|1
54GTJ2AU36|com.joshuawise.kexts.HoRNDIS|1|Joshua Wise|1
6HB5Y2QTA3|com.hp.kext.io.enabler.compound|1|HP Inc.|0
sqlite>

If you wanted to delete all of them you could use delete from kext_policy; then to be tidy delete from kext_load_history_v3;

Alternatively you can delete a specific one by comparing one of the fields shown by the .schema command.  For example to delete LittleSnitch based on the second field bundle_id;

sqlite> delete from kext_policy where bundle_id = "at.obdev.nke.LittleSnitch";
sqlite> delete from kext_load_history_v3 where bundle_id = "at.obdev.nke.LittleSnitch";
sqlite> select * from kext_policy;
VBG97UB4TA|com.objective-see.lulu|1|Objective-See, LLC|1
Z3L495V9L4|com.intel.driver.EnergyDriver|1|Intel Corporation Apps|1
|com.rugarciap.DisableTurboBoost|1|Legacy Developer: Rugarciap|1
54GTJ2AU36|com.joshuawise.kexts.HoRNDIS|1|Joshua Wise|1
6HB5Y2QTA3|com.hp.kext.io.enabler.compound|1|HP Inc.|0
sqlite> .quit

I notice that this answer on stackoverflow suggests it may be necessary also to reset PRAM.  Resetting PRAM automatically reenables SIP and as it is easier than booting into recovery is worth doing.

It is possible to do this using a GUI if preferred. After disabling SIP:

Download and install DB Browser for SQLite
Launch from terminal with sudo /Applications/DB\ Browser\ for\ SQLite.app/Contents/MacOS/DB\ Browser\ for\ SQLite
Open Database /var/db/SystemPolicyConfiguration/KextPolicy (press ⇧⌘. to show hidden files).
On Browse Data tab in kext_policy table, right click and delete row(s) containing unwanted kexts.  Here I'm deleting kext for LuLu firewall.

Change table to kext_load_history_v3 and delete corresponding rows.

Click on Write Changes
Reboot and reset PRAM (⌘-⌥-P-R) which will reenable SIP automatically with no need to boot back into recovery.

After reboot a System Extension Blocked message is received for the kext whose records were deleted:

Allowing software from the developer in System Preferences updates the KextPolicy database and then further reboots are back to normal.


Swipe between full-screen apps by a non-apple mouse

The first thing to know about this "swipe between full-screen apps" is that in terms of functionality, this is exactly the same as changing a Space (A little more on mission control and spaces here). Fullscreen space is just a type of space that contains just one window/application.
Some mouse software may have a built-in "action" that might be called "Move left a space" or "Move right space", but that is not guaranteed. However, pretty much any mouse software lets you set shortcuts to all or some of the buttons that trigger certain actions. Luckily, in this case, there are native shortcuts in Mac to go change spaces:

You can move left one space with the shortcut Ctrl + Arrow Left.
You can move right one space with the shortcut Ctrl + Arrow Right.

At the bottom of this answer I wrote where these can be changed or enabled if necessary. You can also go directly to a specific space. It's the Switch to Desktop... in the screenshot at the bottom.

How you can trigger these shortcuts (or actions) will depend on the mouse and its software. Many mice, especially gaming mice, have a Mac software even if they are not advertised as Mac mice. So if the mouse software can set shortcuts, then you're all set. There's nothing I can say about how that works exactly without knowing which software your mouse would use, but typically those are fairly simple: Pick a button and remap it to a shortcut that changes the space.

3rd party applications may allow you to change any key, while manufacturer applications may only allow you to customize a few.

If for some weird reason your gaming mouse doesn't come with software capable of adding a shortcut to a key or it's just terrible, there are still many 3rd party applications that can do it.
Here are two 3rd party apps that you could try:

SteerMouse
BetterTouchTool

I'm pretty sure both of these have their own built-in "Move right and left a space" actions you can remap to buttons, but like I said before, It's not necessary because as long as the application can make the button trigger a shortcut you should be all set.

Additionally, there is the "Mission Control" shortcut, which is by default in the F3 key in your keyboard. When you click it, you can pick a specific space from the top of the screen using your mouse. If that works in games, which I think it might, it might be the best way to do it.

You can change the native shortcuts in:

System Preferences

Keyboard

Shortcuts (top)

Mission Control (left panel)

Move left a space / Move Right a space (right panel)


macOS Mojave default login screen cannot be changed

This solution can be found on this page on the link bellow at Apple:

Type Command + Space
Then type /Library/Desktop Pictures/
Press the enter key
Grab any picture you like and add the extension .heic (this will change the file format, that's what you want)
I did not bother with resizing and changing the DPI (maybe it could be a necessary step for you depending on your machine
Navigate to System Preferences > Users & Group
Unlock the pane
Enable or disable the Guest user account (in fact changing any setting in Users & Groups worked for me. This resets something for some reason)

https://discussions.apple.com/thread/8556569

If you wanted to change the lockscreen (which is different the the login screen), you'll see one or more folders inside this directory:

/Library/Caches/Desktop Pictures/

From there you simply need to rename your image to:

lockscreen.png

If there are multiple folders, you'll have to figure out which one your account is using. Ironically, you'll see the lock screen when you logout, but not when you click on Lock Screen.


How can I alter the spotlight category spreadsheets to include ODS

Install "LibreOffice", latest version. It contains the aforementioned mdiimporter plugin. Confirmed just now, to be working. LibreOffice 3.5.6 on OS X 10.7.5


If you try to accessing the files using the regular sharing feature the HTML file will fail to find it's linked CSS, JavaScript, etc files because of the way that Dropbox generates these sharing links.

However you should have a "Public" folder in your Dropbox. If you drop your files in there and select one you should see a "Copy public link..." option above the file list. If you use that, instead of the "Share" button then your HTML file should find it's linked files.


If you want to target only iOS 7, you just need 76 x 76, >120 x 120 and 152 x 152 icon sizes.
  If you want to target also iOS 6, you’ll need 57 x 57, 72 x >72, 76 x 76, 114 x 114, 120 x
  120, 144 x 144 and 152 x 152 icon sizes. Without >counting Spotlight and Settings icon if
  you don’t want the OS to interpolate them!

If you change the resolution of the app icons the problem should be fixed.

Source: http://blog.manbolo.com/2013/08/15/new-metrics-for-ios-7-app-icons


Your machine should not be this slow.  If the below doesn't help, you can take it to an Apple store to run hardware tests.  I've seen instances where faulty sensors, for example, would cause the computer to go into limp mode, and the hard drive was fine.

Have you tried resetting the PRAM?

There are some command line utilities that should be able to pinpoint what's using the disk (if that's the case).  You can try iostat 1 - this will display general disk activity, refreshing every second.

To see more granular info such as the process, use "fs_fsusage": sudo fs_usage -f diskio

I'd first try to narrow down what's eating all the I/O using the above commands.  You can always wipe and reinstall if you want, but if you restore your entire Time Machine backup, you'll be potentially re-introducing the problem.  So I'd say only restore your data/ user account w/o the ~/Library folder if possible.

On the hardware side of things, these devices shipped with at least 7200 RPM drives.  While much better than the slower 5400, modern OSes will still choke with excessive disk activity (spotlight, time machine, various system services).

Replacing the drive with an SSD on your own IS possible but you need tools, and have to be very careful handling the screen.  So if you've never done it before I'd recommend paying someone to do.

EDIT: Also check your system log in Console... look for disk i/o errors


How do I reference a paragraph in Pages 5?

This is currently not possible. You'll have to enter the page number manually. You can use comments to remind yourself where these occur and to update them.

You can provide feedback to Apple here:

http://www.apple.com/feedback/pages.html


Bootcamp Yosemite: How to Install windows 7 with DVD

The answer really depends on the model of your Mac. Generally, if your Mac came with an internal optical drive, you probably should install using the DVD. Also, the Boot Camp Assistant is a good source to answer your question. If the option to create a Windows install USB flash drive is available, then you probably will need to create an iso file from your DVD. Start the Boot Camp Assistant application and continue through the windows until you get the "Select Tasks" window. Your answer will be based on the options that appear.


Connect to a server without opening Finder windows for each mounted volume

I don't know how to test it, but would any of these change the behavior?

defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool false
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool false
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool false
osascript -e 'quit app "Finder"'


Are Apple boot camp drivers excellent on Windows 7?

In my experience, if found that Windows runs great on my MBP 15''.
Drivers installation is very easy using Bootcamp.

Actually, a study has shown that MBP was the best performing laptop for running Windows operating system.

I would recommend to use a mouse on Windows. I am not very comfortable with the touchpad but it's more a personal thing, so you should give it a try and decide for yourself.

If you choose to buy a MBP retina and you connect to Internet using the Ethernet Thunderbolt adapter, be sure to connect it at boot time like described in this other post.


If you are not adverse to reading articles using Safari, many websites can be viewed in Reader Mode.  From here you can adjust the font size along with the actual font and background color too.


Why is the audio volume level at 0 every time I start my Mac?

I found the answer on AskDifferent's sister site Superuser.com:

Snow Leopard resets sound volume whenever I start my computer

  In Macintosh HD / Library / Preferences / Audio there are two audio setting files. Delete them. Set your sound to the desired setting. Restart.

This solved my issue.


Can apps purchased for iPad be downloaded on MacBook

You can download it, for the purposes of backup/syncing etc with iOS devices via iTunes, but it is not an OS X application so it will not run.  Some companies release software for both platforms, often with the same name/version number/price point, but they are separate applications, and when you buy you are purchasing on a platform specific basis, so even if you own iA Writer (or Byword, or any other cross platform app) you only own it on the platform for which it was purchased.


macOS does not browse folder on SMB share (folder displayed as light-blue folder)

For some reason, something was wrong with the file creation date. Which is weird because everything on the Linux side was definitely fine (stat)!
SetFile -d '12/21/2020 01:01:01' Co.....

fixed the issue, as described in Grayed out folder won't open in finder.


How do I use my iCloud email for texting?

You can send and receive iMessages using the Messages app on your Mac. You may be prompted to sign in to iCloud if you haven't signed in using System Preferences. Enter a recipient and message to send a message.

You can't send SMS or MMS (commonly referred to as text messages) — this requires a linked iPhone with a SIM card and these messages are sent using the phone number.


Bundle ID not transferred when transferring an app

Contact Apple Developer

Contact Apple Developer and ask them what to do. They are best able to help you with your account and the transferred application.

When I transferred applications the bundle identifier has remained unchanged.


How do I close cfprefsd so that I can update Flash on mavericks

There are actually two cfprefsd processes running. One is the daemon owned by root and the agent owned by the logged in user.

If you kill both then the agent will respawn, notice the missing daemon and get it respawned.

If you just kill the daemon it takes a while to respawn so you should be able to run the updater.

At the command line :-

ps ax | grep cfprefsd

which will list the two processes with the process ID in the left column -

7308   ??  S      0:00.05 /usr/sbin/cfprefsd agent
7365   ??  Ss     0:00.02 /usr/sbin/cfprefsd daemon

so then

sudo kill -9 7365 and enter your password when prompted.

or whatever the PID is and quickly run the updater.

Why Adobe thinks it needs to have this process out of the way is a question for another day but Adobe updaters are known for their quirks.


2013 Macbook Pro 13" - Running 2 monitors (not thunderbolt)

Yes, what you're suggesting will definitely work and you can use all three displays at once (MacBook display + HDMI display + Thunderbolt/HDMI display). This is the Mini DisplayPort to HDMI adapter that I personally use and recommend.


Trying to install Boot Camp Drivers on MacBook2,1 for Windows XP

The Boot Camp drivers for (really) old iMacs is included on the OS X Snow Leopard installation DVD. This DVD can still be purchased from Apple. Since Snow Leopard was released in 2009, the DVD should contain the XP drives for your 2006 Mac.

Since OS X Leopard was released on DVD in late 2007, the Boot Camp drivers on this DVD should also work with a XP installation on your Mac.

Apple does have a Boot Camp - Windows XP Drivers Update 2.1 website which states the following:

  Note: This download contains complete copies of Boot Camp Windows XP Drivers (version 2.1).  If you have Boot Camp drivers already installed, it will update them.  If you do not have any Boot Camp drivers installed, it will install version 2.1 drivers onto your already installed Windows OS.

Since the Post Date is Apr 24, 2008 and the website mentions OS X Leopard, I would assume the download would contain the drivers for all 2006 Macs that can run Windows XP. The web site has a special note, which is repeated below.

  Important: Installation of Boot Camp 2.1 is required before installing Windows XP Service Pack 3 (SP3)

There is also a Boot Camp Drivers Update 2.2 for Windows. However, this does not appear to contain all the XP drivers. Therefore, this update should be applied after installing Boot Camp 2.1.


I have a new phone number but I'm getting texts from my old number

It might be because your old phone number is still tied to your iMessage. Go to Settings > Messages > Send & Receive and unselect your old phone number.


How to show all dates (jubilees) from contacts on calendar

Nope. You can add custom dates in Contacts

and create repeating events in Calendar,

but there's no automatic linkage between the two. The best you'll get is something like BirthdayScanner which scans all dates in Contacts then allows you to add them to your Calendar, but there's no first-party automagic solution.


Bash not recognizing packages installed using pip-3.6

MacPorts may not have put things where you think, see here. Did the pip-3.6 command work? What do you get when you which pip-3.6?

Have you considered Homebrew over MacPorts? pip3 comes automagically with python3.x with Homebrew. It also has a virtualenv package that is easy enough to uninstall if needed.


Showing previously scanned page when scanning several pages

Use Preview>File>Import from [name of scanner]. You get the exact same scanning window; it's also a Mac OS built-in program; and you can see the thumbnails of the few most recent scans along with the full size of any page you like with the page-up or page-down buttons.


Does iPhone 4 work with Bluetooth Headphones/Headsets that have Back/Next/Answer?

Yes. The iPhone 4 has Bluetooth 2.1 + EDR wireless technology meaning it supports stereo audio and controls. Personally I have these and they have answer/volume +/-/ skip/back/play/pause buttons that all work with iPhone 4.


How to buy multiple Lion licenses from the Mac App Store?

App Store Volume Purchasing for Business


Do games need antialiasing on the Retina MacBook Pro?

Antialiasing could still play a part in making the rendered scenes look their best, but, yes, the retina display probably obviates most of that.

As with AA on a non-retina display, it's a tradeoff between the processing resources used and how much better it looks, and that's something only you can judge for yourself. You may find that some AA looks good, but that more-intensive AA isn't necessary.


Can you install or downgrade to an older point release of macOS?

There is no way to downgrade to or download an older point release of macOS from any official source.


As far as I know, iTunes doesn't support synced lyrics for music (they do for video.) If, however, you do want to import simply the raw lyrics, you could reformat the .lrc as plain lyrical text then add it under the "Lyrics" section of any given song. It might be possible to script it as well.

First, let's understand the .lrc file format. In essence, it's just plaintext with extra tags for information. Since the tags are enclosed with brackets ([]) (with additional timestamping enclosed in angled brackets (<>) for the enhanced format), all you have to do is remove anything that fits these criteria. From there, it's trivial to add lyrics. Simply right click on the song in iTunes, click "Get Info", then "Lyrics", then paste them in.

Alternatively, you could just Google the lyrics.


10.7.5 on a late 2009 MacBook Pro crashes

Try the following two troubleshooting techniques:

download the latest Combo updater for your OS (note this is different than simply going to the Apple menu > Software Update) and reboot

http://support.apple.com/kb/DL1582?viewlocale=en_US&locale=en_US

do a Safe Boot:

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

Then report back.


Problem sharing via email in Photos app on Mac

For me, (with the same problem), the issue was that Apple Mail was not the default mail client (Thunderbird was).

Mail > Preferences > General

Changed "default email reader" to Mail.app and Presto!  email appeared in the share menu.


What might fix an installation of KeePass that won't copy or paste on OS X?

The KeePass documentation in http://keepass.info/help/v2/setup.html#mono, although not specifically mentioning OS X, describes your issue:

  Clipboard:
  On some systems, Mono's clipboard routines don't work
  properly. In this case, install the xsel package. If xsel is
  installed, KeePass ≥ 2.20 uses this utility for clipboard operations.

So xsel should help. (xsel is available from MacPorts (http://www.macports.org/ports.php?by=all&substr=&page=316&pagesize=50). The source is available here: http://www.vergenet.net/~conrad/software/xsel/#download)

EDIT: But it doesn't. I was curious so I compiled xsel on my Mac. It didn't solve the issue with copy/paste (tested with Portable KeePass 2.20.1), as I feared, I must say. Why? Because as stated here http://www.kfish.org/software/xsel/ xsel is a tool that manipulates the clipboard contents of X11 applications. X11 provides the graphical user interface for Linux and UNIX, but OS X uses Quartz instead, and so does Mono, as I realized (see http://www.mono-project.com/WinForms#About_System.Windows.Forms).

There's a workaround for copying username and password to clipboard, as explained in this thread http://sourceforge.net/projects/keepass/forums/forum/329221/topic/5106260:

  Ureka (sic). Your 2.19 is on the path to copy paste working on the MAC via
  Mono! Your button to copy the username, and your button to copy the
  password works now!!!

The poster above refers to these buttons (portable KeePass 2.20.1 shown running on Windows (sorry, no Mac nearby)):

For copying the username:

For copying the password:

EDIT:

I'd like to share how I compiled xsel in case somebody needs it on OS X:

Install X11 from http://support.apple.com/kb/HT5293 (this only applies to OS X 10.8 "Mountain Lion" users).
Symlink header and library files from /opt/X11/include/X11 to /usr/local/include/X11 and from /opt/X11/lib to /usr/local/lib (alternatively you can symlink to /usr/include and /usr/lib):

$ sudo ln -s /opt/X11/include/X11 /usr/local/include/X11
$ for lib in $(ls /opt/X11/lib/lib*); do sudo ln -sf $lib /usr/local/lib; done

Otherwise you will get lots of errors about files not found or missing symbols. I tried passing the non-standard X11 directories as an option to ./configure without success.
Download from http://www.vergenet.net/~conrad/software/xsel/#download and extract, for example, to your Desktop.
You need gcc plus libraries. Install Xcode and then install the command line tools from Xcode>Preferences>Downloads>Components.
Change directory, configure and compile:

$ cd xsel-1.2.0
$ ./configure --prefix /usr/local
$ make
make  all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -MT xsel.o -MD -MP -MF ".deps/xsel.Tpo" -c -o xsel.o xsel.c; \
    then mv -f ".deps/xsel.Tpo" ".deps/xsel.Po"; else rm -f ".deps/xsel.Tpo"; exit 1; fi
gcc  -g -O2 -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused   -o xsel  xsel.o  -lX11
$ make install

You can also install xsel with MacPorts using the command sudo port install xsel. In my setup it also required the symlinks for the X11 libraries and header files and needed much longer to compile.

I'd also like to share some caveats when using KeePass on a Mac:

KeePass 2.18 (from http://keepass2.openix.be) has trouble with case-sensitive HFS+. KeePass.exe is typed Keepass.exe (notice lowercase 'p') in KeePass2.18.app/Contents/MacOS/startkeepass.sh (so that it silently fails). I had to use a USB flash drive formatted with case-insensitive HFS+ and run KeePass from there.
I had a lot of trouble getting KeePass 2.20.1 to work on OS X 10.8 "Mountain Lion". It couldn't get rid of the error message:

System.ArgumentException: Directory does not exists
Parameter name: path
  at System.IO.FileSystemWatcher..ctor (System.String path, System.String filter) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher:.ctor (string,string)
  at KeePass.Util.IpcBroadcast.FswStartServer () [0x00000] in <filename unknown>:0
  at KeePass.Util.IpcBroadcast.StartServer () [0x00000] in <filename unknown>:0
  at KeePass.Forms.MainForm.OnFormLoad (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0

I finally found the culprit: The release notes for version 2.20.1 state (http://keepass.info/news/n121004_2.20.1.html):

  Changes from 2.20 to 2.20.1:
  On Unix-like systems, KeePass now stores most of its temporary files in a private temporary directory (preferably in $XDG_RUNTIME_DIR).

According to http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html:

$XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory MUST be owned by the user ...

XDG_RUNTIME_DIR was not set. I set it to a directory I owned and KeePass worked like a charm:

$ echo $XDG_RUNTIME_DIR
$ mkdir ~/.mono
$ export XDG_RUNTIME_DIR=~/.mono/; mono --desktop /Volumes/USB_Flash_Drive/KeePass-2.20.1/KeePass.exe


2009 MacBook Pro does not respond to the Option/Command keys on boot up

If you have a USB keyboard and have tried each port in a row, then the USB / logic board are the problem.
Even a PC keyboard will work to option boot - so even a PS/2 keyboard will work.

Using CMD on Very Old PC Keyboard During Boot

As above, only a quite rare keyboard won’t work with modifier keys that don’t work on Mac firmware.


Then, it asks to press the key on the left of right shift. When I press 'Z' key three times

Z is on the right of the left Shift key. You sure you pressing the right keys? According to your post you should be pressing the "/" key.


You may use ImageMagick in order to crop from command line. That way you may include the command inside an Applescript, or call the command directly from terminal.
You can install it following these instructions and then you crop all images inside a folder, given:

convert '*.jpg' -crop 120x120+10+5 thumbnail%03d.png

where 120x120 is the resulting size and 10+5 is the offset (10 pixels width and 5 pixels height).


What options exist for ad free web browsing on iOS?

Try the Diigo Webbrowser. It recently added an Ad Blocking feature that's off by default.


Have you tried to Google for the answer to your question? It's pretty straightforward:

http://www.google.com/?q=how+to+bind+Macintosh+to+LDAP


You are getting this error because a newer version is installed on your mac the same thing happened with me but I was able to find a solution

First you would need to download macOS Sierra Installer, now the problem is how to get it right, see if you go to the Purchased tab in the Mac App Store, you can redownload previously purchased macOS versions there (even if they are older than the currently installed one).

Then you would have to make a bootable disk containing the Install macOS Sierra.app

I am providing you a link to a YouTube video which will help you in creating the bootable USB stick link: https://www.youtube.com/watch?v=v4H5hKuI7yg&t=130s

I am also adding the command required to create the bootable disk:

sudo (path to the create install media file under installer.app>Contents>Resources) --volume {path to the USB stick (You are trying to make bootable)} —applicationpath (path to your Install macOS sierra.app)

e.g:

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app

Please make the necessary changes as per your files and volumes

And one more thing if you don't find the installer under purchased tab then you can download it from here : https://itunes.apple.com/cz/app/macos-sierra/id1127487414?mt=12

After you have successfully created the bootable disk you will need to press command+option or only option as soon as you power on your mac the next screen which appears will show you all the drives connected to your mac select the bootable drive and press enter after that you will be taken to a recovery mode where you can successfully format the new APFS formatted drive with the Old Apple Disk Formatting Version in order to install an older version of macOS!


What are the keyboard layouts of a MacBook Pro 15"?

You can find this out yourself.

Open System Preferences-> Language and Text-> Input Sources. Check the boxes for the keyboards you want. Then, check the Show Input menu in menu bar box. Click the new menu bar item, select the keyboard layout you want to see, go back to the menu bar item, and click Show Keyboard Viewer.

This will work from any computer, and you can see any layout.

The first picture was snapped while a full sized keyboard was connected, the second shows the option key held down - and is what you will see if you have a smaller bluetooth or built in keyboard connected.


Copy entire user profile to new device with different username

I have done the same thing a number of time for the same reasons.

In what follows I assume you are running macOS High Sierra or later. If that were not the case, some paths and preference pane options might be different.

What I have found is that using the same Apple ID on both the old and the new machine/install already goes a long way. Just make sure to select Mail, Contacts, Calendars, Reminders, Safari, Notes and especially Keychains in System Preferences/iCloud on both machines. If desired you can enable the other items as well like iCLoud Drive, Photos etc.

This way you will be able to migrate your passwords, Safari bookmarks & history etc. Using the same Apple ID you will be able to re-download all apps you bought from the App Store as well.

If you are using Dropbox or similar, install those as well on the new machine/install. This way any file stored there will be available on the new box as well.

What's still missing is:

Documents (the ones not in iCloud Drive, Dropbox etc.)
Preferences
SSH keys
Any app not bought from the App Store
Any system-wide extension, VPN profile and the like.

To bring those over, what I suggest is the following. Log onto your old machine/install and backup (to an external drive or USB stick):

Your home directory (/Users/"username")
/Library
/Users/Shared (if not empty)

A Time Machine backup would be more complete and definitely preferable.

On the new machine/install, under your new account:

Re-install your old apps (re-download them if necessary).
Copy the directories Application Support, Fonts and Preferences from  "your old home directory"/Library/ to "your new home directory"/Library/
Do the same with any app-specific directory you find there.
Display hidden files in your old home directory using the Finder (Command + Shift + .) and copy .ssh, .local and any app specific files and directories over (e.g. .vim/ and .vimrc).
Copy the content of the old /Users/Shared to the new machine.
Copy any file or directory over from the old /Library folder to the new one. This typically involves looking inside Application Support, Extensions and Fonts in there.

Application-secific configs are typically stored in your home directory, inside Library/Preferences and/or Library/Application Support. To copy those over you have two choices:

Copy the whole Library/Preferences and Library/Application Support directories from your old home to the new account.
Selectively copy the files and directories from those two locations over to the new account.

My preferences is for the latter option as I like to keep things clean.

Some notes and warnings: messing with /Users/Shared and especially /Library/Extensions is not usually necessary. Please do it only if you know what you are doing as you could mess up your new machine.

For the next time, you might want to look into automating the setup of a new macOS machine. There are a number of ways to do that. One I use if having your own dotfiles.

Most of the files you will be copying over using the procedure outlined above are not tied to your username. There are a handful of exceptions however (mostly your shell config and history).

If you are familiar with the Terminal you can use grep to find them (e.g. find $HOME -exec grep $USER {} \; -print on the old machine when logged in as your old account).

Finally, the list above is probably not complete. However you should be able to adapt it to cover your needs.

Good luck!


What does MacOS actually do when open a file?

LaunchServices

macOS includes Launch Services. This code is responsible for launching applications and providing those applications with the details of files to open or print:

  Launch Services is an API that enables a running application to open other applications or their document files or URLs (uniform resource locators) in a way similar to the Finder or the Dock. Using Launch Services, an application can perform such tasks as:

  Open (launch or activate) another application
  Open a document or a URL in another application
  Identify the preferred application for opening a given document or URL
  Register information about the kinds of document files and URLs an application is capable of opening
  Obtain appropriate information for displaying a file or URL on the screen, such as its icon, display name, and kind string
  Maintain and update the contents of the Recent Items menu

AEOpenDocuments

To open files, graphical applications on macOS are sent AppleEvents of type odoc:

  Event that provides an application with a list of documents to open. Sent, for example, when a selects one or more documents for your application in the Finder and double-clicks them.

The launched application's arguments do not include the paths of the files to open.


I remember seeing that from time to time in the past. Just command click, hold, and drag them off.

They have removed that weird feature in Yosemite (and perhaps earlier.)


How to remove a container disk and reclaim space with boot partision?

This is a duplicate question, however I will still post this answer.
The steps are not obvious.

Use the diskutil command to convert the disk1 APFS container to an empty JHFS+ formatted partition.
sudo diskutil apfs deletecontainer disk0s3

Remove the JHFS+ formatted partition disk0s3. The free space will not belong to any partition.
sudo diskutil erasevolume free none disk0s3

Expand the disk2 container to reclaim the just created free space. The value of 0 means to reclaim as much free space as exists directly after the disk0s2 APFS container partition.
sudo diskutil apfs resizecontainer disk0s2 0


Add a html header with font selection (by mean of cp and >>) and then usewkhtmltoimage (https://wkhtmltopdf.org/) to generate images from that. Alternatively, look at the source code and write some 20 lines of Qt code using the same approach.

Proof of concept in PyQt5:

from PyQt5 import QtCore, QtGui, QtWidgets
app = QtWidgets.QApplication([])
w = QtWidgets.QWidget()
w.setWindowTitle('Textbox to image')
font = QtGui.QFont()
font.setFamily("Herculanum")
font.setBold(True)
textbox = QtWidgets.QTextEdit(w)
textbox.setFont(font)
textbox.resize(280, 40)
textbox.setText("Lorem ipsum dolor sit amet, consetetur sadipscing elitr")
textbox.grab().save("image.png")

Result (png):

That, with custom distortion is how I actually created a large ML dataset for OCR from custom fonts.


What is the biggest disk that can be used in place of the optical drive in an early 2011 15 inch MacBook Pro?

I added an SSD to my Macbook back in 2012, and did a write-up about it here: http://blog.omgmog.net/post/upgrading-my-macbook-pro/

Most 2.5" drives should do, the dimensions of these drives is pretty much standardised.

If you're putting a HDD fitted using an adapter in the old optical drive bay, it won't have the shock detection that the lone HDD bay has. Choosing SSD in the optical bay is better from a shock management aspect.


Change installation directory of XQuartz on Mountain Lion

Get the sources and compile it yourself, setting the paths you prefer.