Trying to run apache server on Mavericks

Check /var/log/apache2/error_log or /var/log/system.log. You can also try to flush the DNS cache by running sudo killall -HUP mDNSResponder. See http://support.apple.com/kb/ht5343.

Just running sudo apachectl start makes http://localhost show the "It works!" page for me in a 10.9 VM.

Saving

<Directory "/Users/username/Sites/">
  Options Indexes Multiviews
  AllowOverride AuthConfig Limit
  Order allow,deny
  Allow from all
</Directory>

as /etc/apache2/users/username.conf and running sudo apachectl restart makes http://localhost/~username/ point to ~/Sites/.

Uncommenting Include /private/etc/apache2/extra/httpd-vhosts.conf in /etc/apache2/httpd.conf, adding 127.0.0.1 test.dev to /etc/hosts, adding

<VirtualHost *:80>
  DocumentRoot "/Users/username/Sites/test"
  ServerName test.dev
</VirtualHost>

to /etc/apache2/extra/httpd-vhosts.conf, and running sudo apachectl restart makes http://test.dev point to ~/Sites/test/.


How can I rotate my signature in Preview?

I've been having the same problem, but I solved it by opening the pdf file in Preview, hitting File > Duplicate, then adding the signature in the newly created file. This corrects the orientation of the file so that Preview can identify lines and you can just click on them with the signature tool (from the Annotate/Edit toolbar) and add your signature.


How to create smart mailbox to show redirected mail?

Unfortunately the Smart Mailbox criteria doesn't include a way to search all email headers, because only a portion of them is actually indexed in the Spotlight database. However, you can make a workaround by combining mail rules and existing smart mailbox criteria. The goal is to use one of the indexed criteria such as a flag colour you don't use anywhere else and have mail rule evaluation set that flag on messages that are resent.

Create a new email rule in Mail/Preferences/Rules/Add Rule. Open the conditions popup and you will see many more compared to Smart Mailbox. However, Resent-From is not there, but we can fix that by choosing Edit header list..., adding a Resent-From and selecting it.

Type your email address as I assume you are interested in email messages that you redirected, right? As the action taken simply flag your message what a colour you selected.

The final step is creating a smart mailbox using the flag as the search criteria.

The end effect is that whenever you redirect an email message, the flag gets applied automatically and it shows up in the smart mailbox.


Why isn't xargs running one command per line for this use case?

I solved this myself with:

netstat -W | grep ec2 | cut -d " " -f 18 | sort -u | cut -d "." -f 1,2,3,4 | xargs -p -L 1 ping -c 10

It provides the expected eight calls to ping, one for each host found.

I think this solution works because the -L flag limits it to one line per command.


Disable a user's ability to unlock a FileVault 2 volume at startup/login time

Use fdesetup:

sudo fdesetup remove -user username

See: http://derflounder.wordpress.com/2012/07/25/using-fdesetup-with-mountain-lions-filevault-2/


How do I combine two or more images to get a single pdf file?

Here are the steps to save multiple images in Preview into a single multi-page PDF.

Select all of the images you want in your PDF, right-click and choose open with Preview
In Preview's Sidebar drag the images into the order you want them to appear in your PDF
Select/highlight all the images to be included in the PDF document; otherwise only a single image may end up the PDF document
Then from the "File" menu choose "Print Selected Images" (or "Print..." in recent OS X versions) and then "PDF > Save as PDF"


I managed to fix my issue regarding the Lock Screen.

I have OpenSC and mPollux Digisign clients installed on my MacBook Pro.

OpenSC was installed for logging into macOS with Smart Card and mPollux was installed for ID authentication.

I uninstalled both of them. Now when I lock the screen, I have the normal Lock Screen back, and can use Touch ID to unlock it. But I don't know which application affected it.


Setting older Wacom table preferences using MacOS 10.14 or later

I suggest investigating the fixed drivers available from https://github.com/thenickdude/wacom-driver-fix — I have an Intuos 3 working well with macOS 11 (Intel CPU) here using the driver from that source. Be sure to follow the instructions carefully to get things working.
Pity I can't add this answer to the question at Is it possible to use old Wacom tablet on 10.11? where it might be useful too, the wonders of StackExchange reputation methodology ……


There are at least two ways for this

rm $(mdfind "MacLaunchpad")
mdfind "MacLaunchpad" | xargs rm

If you expect the resulting file/path names to contain spaces and other surprises use

mdfind -0 "MacLaunchpad" | xargs -0 rm --


Rebuild partition table on external HDD - not writable

OS X uses three different types of valid partition tables. Only one of those is written to a particular disk:

GUID partition table
Apple Partition Table
MBR

The default partition table on OS X is the GUID partition table.

Depending on the previously used partition table on your disk you have to use different tools to create/change/write it:

gpt for GUID partition table
pdisk for Apple Partition Table
fdisk for MBR

After additional informations given by the OP (testdisk results) and checking it in a virtual machine it's highly probable that the disk was formatted with an Apple Partition Map. Consequently use pdisk to rebuild the partition map.

pdisk:

A typical disk formatted with an Apple Partition Table looks like this:

Driver Descriptor Map: Block 0              Size:      1 Block
Apple Partition Table: Block 1 - 63         Size:     63 Blocks
Apple_Free:            Block 64 - 262207    Size: 262144 Blocks
1st partition:         Block 262208 -
Apple_Free:                                 Size: 262144 Blocks
...
Apple_Free:                                 Size: 262144 Blocks
last partition
Apple_Free:                                 Size:     16 Blocks

To recreate the partition map do the following:

attach the external drive
detach any other external drive
open Terminal and enter diskutil list to get the DiskIdentifier (in the step below I assume your DiskIdentifier is disk1
enter diskutil unmountDisk /dev/disk1
enter sudo pdisk /dev/rdisk1  You will get the following output:

  Edit /dev/rdisk1 -
  Command (? for help):

Now enter c then enter the start block, the size of the first partition and the name. You have to hit the enter key after every input. Repeat this for the next two partitions. At the end it should look like this:

  Command (? for help): c
  First block: 262208
  Length in blocks: 419430400
  Name of partition: part1
  Command (? for help): c
  First block: 419954752
  Length in blocks: 838860800
  Name of partition: part2
  Command (? for help): c
  First block: 1259077696
  Length in blocks: 694447456
  Name of partition: part3
  Command (? for help):

At the last prompt enter w then y to write the changes to disk and finally qto quit pdisk:

  Command (? for help): w
  Writing the map destroys what was there before. Is that okay? [n/y]: y
  The partition table has been altered!

  Command (? for help):

The missing volumes should mount automatically. Otherwise enter diskutil mountDisk /dev/disk1. Enter q at the last prompt to quit pdisk, then quit Terminal, open Disk Utility and check the recovered volumes for errors.

gpt:

In the example below I assume the DiskIdentifier of your external disk is disk1 (check this with diskutil list)

First you have to unmount the external disk:

diskutil umountDisk disk1

Remove the current MBR and create a GPT with gpt:

sudo gpt create -f /dev/disk1

First rebuild the EFI entry with:

sudo gpt add -b 40 -i 1 -s 409600 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk1

The EFI partition is a fixed sized partition near the beginning of every GUID partitioned disk (using OS X partitioning tools)

Then add the JHFS+ partition entries with the TestDisk findings:

sudo gpt add -b StartBlock -i IndexNumber -s SizeOfVolume -t 48465300-0000-11AA-AA11-00306543ECAC disk1

Example for the first OS X partition:

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

After adding a partition with gpt you may have to unmount disk1 with diskutil umountDisk disk1 again if your get a "resource is busy" error adding additional partitions.

Increase the index number by 1 for every new partition.

Listed below are answers to similar questions (partly covering other file systems like ExFAT)

How to fix GUID hard drive corrupted to MBR?
HFS+ invalid number of allocation blocks
Hard drive no longer accessible

If you run into problems, leave a comment to the answer with @klanomath.


Converting filenames with embedded backslashes to directory tree

Python to the rescue!

#!/usr/bin/env python
import sys, os, os.path

def treeify(filenames):
    for fn in filenames:
        parts = fn.split("\\")
        pathparts = parts[:-1]
        basename = parts[-1]
        path = ensurepath(pathparts)
        os.rename(fn, os.path.join(path, basename))

def ensurepath(parts):
    if len(parts) == 0:
        return "."
    path = os.path.join(*parts)
    if not os.path.exists(path):
        os.makedirs(path)
    return path

if __name__ == "__main__":
    treeify(sys.argv[1:])

Invoked like:

$ ~/scripts/tree.py *


How to make older iPhone and iPad with < iOS 8 enter two factor verification code?

This stumped me for several attempts, until I carefully re-read the pop-up window with the verification code (I didn't take a screenshot, I'm going from memory):

enter the verification code after the password INTO THE PASSWORD field (my CAPS)

So, there is no separate box or window for the verification code. You have to type both the password and code into the same box as one long string.

This worked for me in iOS 5.1

Looks like a way to retro-fit 2-factor into iOS5 without having to release an update.


Mini DisplayPort to DVI/VGA Adaptor for projectors

I have the original one and it works just great. From my experience, ~99% of the projectors have a VGA port, some DVI. To be on the safe side, I would rather pick VGA than DVI if I'd had to choose one. I cannot say much about the non-official VGA adaptor, but I am using the original VGA adaptor for years now, and I am completely satisfied. But I also have a non-Apple Displayport to HDMI that is very reliable (Rocketfish).

In theory, DVI should have better quality than VGA if the beamer provides the appropriate output, though, since the former transmits the signal digitally, and VGA is analog. Principally, DVI is HDMI without sound.

I can remember some colleagues complaining that their generic once were sometimes not recognized. But this could also have other reasons and happen with the original one.


Thunderbird not being scaled properly on Retina display when an external display is also connected

OK it seems to have been caused by a plugin called Theme Font & Size Changer. After I removed this plugin, Thunderbird renders properly.


You can use a DisplayLink adapter to connect another monitor via USB; see here for the varieties available.

The Apple Thunderbolt to FireWire adapter only works in that direction; it will not convert FireWire to Thunderbolt.

You cannot modify your mini to have another Thunderbolt port. You can get a Thunderbolt dock that will give you a monitor port and another Thunderbolt port on the dock, which might also work, but is more expensive than DisplayLink (make sure to get a dock that will "daisy-chain".


Can I use AppleScript to paste a web text clip appended with source attribution and a timestamp, while maintaining embedded links?

I'm a bit confused by your script, it seems to copy and paste and delete and save, so if I misunderstood your intended use, I apologize. It seems to me like you want a file saved in that Web Clips folder that just contains what you had selected in Safari with the link, title, and date. I would write this as an HTM file rather than a text file, and here's the code I used with inline comments.

set myFolder to ((path to users folder) as text) & "Web:Documents:Web Text Clips:"
set myFile to myFolder & "Web_Text_Clips.htm"

tell application "Safari"
set theLongDate to current date
set theWindowName to the name of the front window
set selectedText to (do JavaScript "(''+getSelection())" in document 1) --use javascript to get what part of the page is selected
set theURL to the URL of the front document
end tell

set myFolder to POSIX path of (myFolder as alias) --convert to posix path for use in the command line
set myFile to quoted form of (myFolder & myFile) --append the file name to the end of the file path
do shell script "touch " & myFile --create the htm file

--Add content to the HTM document
newHTM(myFile) --Add the HTM doctype and opening tags.
addElement("p", "--------", myFile) --"p" is the htm tag for a paragraph, and we want this to be it's own paragraph.
addElement("p", "From: " & theURL & "", myFile) --a bit more complex, adding a paragraph with a link ( is the link tag)
addElement("p", "Page Title: " & theWindowName, myFile) --Adding a paragraph for the Page Title
addElement("p", "Date: " & theLongDate, myFile) --Adding a paragraph for the Date line.
closeHTM(myFile) --Add the closing HTML tags.

------------HANDLERS------------
on newHTM(filePath)
    do shell script "printf '<!doctype html>\n\n\n\t<title>Web Clips</title>\n\n\n\n\n\t' > " & filePath
end newHTM

on closeHTM(filePath)
    do shell script "printf '\n\t\n' >> " & filePath
end closeHTM

on addElement(elem, htm, filePath)
    set htm to "\t\t<" & elem & ">" & htm & "</" & elem & ">\n"
    do shell script "printf '" & htm & "' >> " & filePath
end addElement

This script preserves the link by using HTML to "embed" the link. It will open in your default browser. It appeared to me, from your script, that this file only contains the latest web clipping, so that's how I wrote it. If, however, you want this file to contain a list of web clippings, the script would need to be edited. Either way, I hope this gives you a good start. For readability, I put the adding of html code in handlers below the body of the code.


Are my permissions for /usr/local/ correct?

I use Homebrew too and can confirm it's totally safe. Quoting the Installation page on the official Homebrew FAQ:

  Do yourself a favour and pick /usr/local

  It’s easier
  /usr/local/bin is already in your PATH.
  It’s easier
  Tons of build scripts break if their dependencies aren’t in either /usr or /usr/local. We fix this for Homebrew formulas (although we don’t always test for it), but you’ll find that many RubyGems and Python setup scripts break which is something outside our control.
  It’s safe
  Apple has conformed to POSIX and left this directory for us. Which means there is no /usr/local directory by default, so there is no need to worry about messing up existing tools.

  If you plan to install gems that depend on brews then save yourself a bunch of hassle and install to /usr/local!

  It is not trivial to tell gem to look in non-standard directories for headers and dylibs. If you choose /usr/local, everything “just works!”

I'll just add that doing things as root is a very bad idea, so chowning /usr/local not only seems reasonable to me (it's not a system dir on OSX), but sane.

Your permissions are not correct (yet). Just run the command you listed and you're gonna be fine.

If you have other problems remember, the brew doctor can help you!


Modify "Move to Trash" shortcut in Apple Numeric keyboard

You can modify the NSUserKeyEquivalents dictionary in ~/Library/Preferences/com.apple.finder.plist:

defaults write com.apple.finder NSUserKeyEquivalents -dict-add 'Move to Trash' '\U007F'
killall Finder

It also makes ⌦ move items to trash in rename mode, and it makes ⌘⌫ do nothing.

Forward delete is \U007F and delete is \b or \U0008, even though in DefaultKeyBinding.dict delete is \U007F and forward delete is \UF728. The shortcut string format is described in the Cocoa Text System article.


I have been facing a strange problem with my MACBOOK Pro SSD

This definitely sounds like a hardware problem.

You'll want to take the MacBook Pro back to the place you bought it, or contact Apple, to arrange for repairs.

Remember to check your original invoice to see if it might still be under warranty.


Why can't I execute mysql without the full path?

The current directory is usually not in the PATH variable (the variable contains all the directories where to look for an executable).

If you type echo $PATH you will see that . is not in the semicolon separated list of directories.


Where do closed notes in OS X Notes app go?

Well, this seem to be down to my unfamiliarity with the Notes app. As in "Mail" there is a browser overview under Window > Notes (Cmd-0) (in my language anyway) and any closed notes can be found there.
Despite a long long use of OS X apps this didn't feel like a natural place to look, but it's logical considering other Apple apps. I think possibly "Note browser" would have said more about the function of this menu option. I must have understood this as a reference to the app itself.


Why my ipad mini 1 (A1455 Late 2012) is slower than my ipad 3(A1416 early 2012)?

iPad 1st Generation has an A5 processor while the iPad 3 has A5X (Much faster). This is very similar to iPad Pro 2017 and the iPad 2018. Even though the 2018 iPad is the latest, it doesn't mean it is faster than previous models. It's a matter of the processor itself. In fact, I have an iPod 5G and it contains the same processor as iPad 1st gen. It is kind of slow.


Install Windows 7 with Bootcamp on OS X Yosemite with USB Key

Found this on an apple forum. It'll allow you to create a bootable USB on older macs through boot camp without an optical disk. I used this method on my late 2011 mbp and I now have windows 8.1 pro running on it perfectly::

Before you do anything, make a backup of Info.plist or the whole Boot Camp Assitant app so that you can go back if necessary. Rename it something like "Info old.plist" or "Original Boot Camp Assistant."

First, edit the plist of Boot Camp Assistant:

Go to Applications/Utilities
Right click Boot Camp Assistant and view package contents
Find Info.plist in the Contents folder and edit it in Text Edit (it will make you duplicate the file first)
You want to edit FOUR things:

Add your model to DARequiredROMVersions
Delete the word "Pre" from UEFIModels and add your model
Delete the word "Pre" from USBBootSupportedModels and add your model
Remove your model from Win7OnlyModels (if its there)

To add your model to these lines, just copy and paste an exsiting row and replace the data between the two  tags with your model code. You can find the right codes to use for the plist by going to Apple Menu > About This Mac > More Info > System Report. Use the "Boot ROM Version" and "Model Identifier" as appropriate in the plist.

Once you make these changes, save the file and replace the old Info.plist with your new one. It will ask you to type your password.

The last step is to do a code sign. Boot Camp Assitant will not run if it's been edited. You need to resign it. Open Terminal (use spotlight to find it) and type this:

sudo codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app

It will probably ask for your password. Then it will say you need to download a developer tool from Apple. Agree to download it. (You don't need to install the whole X-Code, if it asks.) Once its been installed (its automatic), you need to go BACK to Terminal and run that command again. This time it will work.

After you've done that - open your hacked Boot Camp Assitant (it should run now) and have it make the Windows installation drive for you. Have the Windows ISO handy, and plug in a flash drive thats about 4-8 GB or more. The entire flash drive will be erased. This process can take a while. When its done, restart your mac and hold the option key. The USB drive that Boot Camp made for you will be there for you to install windows from. Its a yellow disk icon labeled EFI Boot.


WAN connectivity failure every 5 minutes on Technicolor router

I suggest you to turn off the 2.4 GHz wireless network named TC8717T88 on your router. Then your Automatic location will stop magically switching from one to the other wireless networks, thus having the valid IP for the other network (which doesn't fit the DHCP lease of the actual one).

You will be able to change this from a perfectly connected computer (ideally through Ethernet). Open your web browser, and connect to your TC8717T router with:

http://192.168.0.1

login:          admin
password:       password

goto:

Gateway > Connection > WiFi

click:

EDIT

Configure as disabled the "Private WiFi Network Configuration (2.4 GHz)".
Configure on Manual channel choice the "Private WiFi Network Configuration (5 Ghz)".

I made the hypothesis (which is quite often the case) that your 2.4 GHz
is overloaded and sometimes subject to access failure due to interfering neighbours network. Then by forcing your connexion on 5 GHz and a given channel you will get a stable one, without anymore dynamic IP renewal.


This is not possible without jailbreaking.
If the device is jailbroken, you can use mikoto: iOS System > Lock Screen > Disable Camera.


I was having the exact same problem. I was picking my true nickname (lizzie) and it just kept spinning and spinning and never would save. So, I decided to try a nickname I KNEW no one would have (my name spelled backwards). It saved immediately. Maybe your nickname is too common? Try something truly unique. Hope that works for you.


How do you remove SSL certificate exceptions on OS X?

The exceptions are stored in Keychain Access. The certificate will be copied there, together with the trust settings. Double-click a certificate and you will be able to change it's settings. Note: you can have trust setting on system level and user level! They have separate keychains as listed in the sidebar.


How do I forget or change the username and password for file sharing?

Go to the Finder’s Go menu and choose Utilities
Select Keychain Acces
Select the Login Keychain then select the network password or internet password for the printers and/or shares.
Hold down the “control” key and click the keychain entry. Select Delete.

Now, access your network resource (printer or share) and re-enter your new username and password when prompted.


Disk Utility will not repair permissions

Using answer space for formatting & 'comment size', I'm not sure this is really a full 'fix', but perhaps a pointer in the right direction. It can be updated/amended to get to the correct answer, if needs be.

Note: Permissions on symbolic links have no effect. You need to check the permissions on the target file/directory - though in fact the perms are 'correct' in this case, it's the links themselves that are not as expected.

Permissions differ on "Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/index.html"; should be lrwxr-xr-x ; they are -rwxr-xr-x
means that the Finder thinks that file ought to be a symbolic link, but it isn't - the link has been broken somehow.

On my machine, that link is to /Library/Documentation/Resources/Eagle/index.html

Fix == remake that link
From  OSX Daily:How to Create Symbolic Links at Command Line of Mac OS X

  How to Make a Symbolic Link
  The basic syntax for creating a symbolic link (or soft link) is as follows:

  ln -s /path/to/original/ /path/to/link

  That will point /path/to/link to the original location, in this case
  /path/to/original/

Permissions differ on "Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment"; should be -rwxr-xr-x ; they are lrwxr-xr-x
thinks that one should just be a file... but it's a link.

Mine is a link too, on El Capitan - [which I'm assuming you're not on, as you still have a 'Fix Permissions' option in Disk Utility] - to
/Library/Application Support/Apple/Safari/SafariForWebKitDevelopment

I'm tempted to say in that case, leave it as is.
Checking perms on El Capitan from terminal gives no error on that one.

Edit:
I missed the first one -
Permissions differ on "tmp"; should be drwxrwxrwt ; they are lrwxrwxrwt

Mine is a link too - to /private/tmp so I'd leave that one alone too.


It supports ePub and PDF formats.
To import those formats you will need to add the ebook to iTunes and then either select automatic synchronization or drag them across manually and they will be added to your iBooks on the next sync.
If you have Dropbox for iOS you can also add files directly to iBooks from there.


After trashing com.apple.safari in Mavericks is there something else I can try to reset Safari?

I don't have the reputation to ask a question, but sometimes deleting "everything in Safari" isn't sufficient. Malware of this type installs files in a variety of folders. Examples include the LaunchAgents, LaunchDaemons, PrivilegedHelperTools, and Extensions folder. You need to identify the malware first, and then follow instructions on where to look, and what to delete. Resetting Safari isn't sufficient when files located outside the "scope" of Safari (for lack of a better term) and spawning processes to be used by Safari.


Memory upgrade for imac 27inch mid 2011 2.7GHZ INTEL CORE i5

The memory you are talking about (also called RAM) does not "store". It only "temporary" stores.

It is used for when computer is running to shuffle stuff around getting it from your hard disk (memory) and putting it back to it pending what you are doing. It does not stores anything permanently.

Your files are stored on your hard disk. So go ahead and upgrade the memory.


Recover contacts etc from old iCloud account after iPhone reset

You must try and reset your old iCloud accounts password.
If you have ever synced or made a backup on iTunes on your computer then try to get it back from there.


How to downgrade to OS Mavericks 10.9.5 from a new pre-installed Yosemite 10.10.1 iMac late 2013?

The first pre-installed OS on the iMac14,1/iMac14,2 was Mac OS X 10.8.4. You may install any OS version newer than that one.

If you have any personal data on this Mac, save it to an external drive.

After creating a bootable thumb drive using the Mavericks installer, boot to the thumb drive, erase the main disk and install Mavericks.

Restore your personal data from the external drive. Some of the data (Photos library, probably your Mail data) - if you had any - is not backward compatible with the apps (iPhoto, Mail) used in Mavericks.


How do I set video recording rate to 60 fps or 120 fps and change between the two?

the only option using the iphone's camera is by switching between Slow-Mo and Video modes. You can then speed up a Slow-Mo video to normal speed in the photos app pretty easily. You can't convert normal videos to Slow-Mo.

There are probably a ton of apps that offer a bit more manual configuration than that. But I don't know of them.


I have a MacBook Pro early 2013 so I have to drive my Cintiq Pro 16 at 2k.

I think on 4k, Mac OS knows scales UI bigger, because otherwise it would be too small (imagine those 2k Interface Elements at about half the size).

Its probably an issue with the Wacom Driver, that makes it impossible to scale the Interface at 2k.

Do you have scaling options for the Cintiq on 4k? If you do, its probably a Wacom Driver issue.

I recommend to post a topic on the official Wacom Forum. The Wacom Staff answers really fast.
http://forum.wacom.eu (Wacom Forum Europe)


Make sure automatic login is not blocked from security settings.


Tethering an iPad / iPhone to a Raspberry Pi

It's actual a very simple setup that is needed that doesn't involve "tethering" at all.

Basically what you need to do is to set up the Raspberry Pi for USB "gadget" - meaning that it makes an ethernet device available over USB. For the most easy setup, setup a DHCP server on the Raspberry Pi to automatically give out IPs.

On the iOS device - all you need to do to get it working is to plug it in, and then open a VNC app and enter the IP address and port number of the Raspberry Pi to open the connection.

If you do not install a DHCP server on the Raspberry Pi, but instead follow the instructions you've linked, then you need to set the IP address manually on the iOS device. You do that from Settings => Ethernet, and then set it manually to a not used address within the same subnet. If you follow the linked instructions the RPi will be available at 192.168.42.42, so set the IP address of the iOS device to 192.168.42.43 for example.

The tricky part in the above is not to do with the iOS device itself, but rather the configuration of the Raspberry Pi. There exists several types of USB "gadget" ethernet devices, and various variations of them. iOS does not support all of them (at all) - Android does not either. In addition there seem to be a difference between iOS devices, which I cannot comment on in your general case because you haven't said anything about which device you have. But for example the iPad Pro seems to be more forgiving than an iPhone in this respect.

You can get the exact same setup with having to configure the USB "gadget" interface by using a USB-ethernet dongle with the iOS device. If you plug that in to the iOS device and connect an ethernet cable from that to the ethernet port on the Raspberry Pi - you can achieve the same thing.

Update: I see in your update that you emphasized on the requirement to list experience with "USB-IP". I do have succesful experience with "USB-IP" as you call it (it's not really called that). However be wary that the hard part of the configuration is on the Linux side - not on the iOS side. Also note that even though your linked instructions detail a single method of enabling a usb0 interface - in reality it is quite complicated with two majorly different modes of configuration, and within each mode several different protocols, and for each protocol various setup options.


How to AirPrint to a printer that does not have WiFi?

The retired Apple Airport Express is an AirPrint server and they can be found for around $50 used on eBay. Add the Airport Express to your home network as a wifi extender or second access point and it'll broadcast the printer availability on iOS devices connected to the network.


In the past, I've experienced odd memory consumption issues after upgrading OS X, due to older kernel extensions that were still being loaded.  Some of the extensions were for applications that I was no longer using and had forgotten about.  You might try listing out all the non apple kernel extensions, then try unloading them one by one to see if you experience any improvement in memory consumption.

To list what is loaded, type the following from a terminal shell:

kextstat | grep -v com.apple

So, each of the kernel extensions, will have a corresponding kext file, located in the default /System/Library/Extensions/.

Then, to unload a kernel extension, type the following:

sudo kextunload /System/Library/Extensions/<NAME_OF_KEXT_File.kext>

If you identify any extensions that are wonky, you then have a starting place to see if perhaps there is an updated version of the application that is more Lion friendly.


Is there a similar functionality of "Get Info" (Cmd+I) from the Mac OS X Terminal.app?

mdls lists file metadata. A sample below for a folder

kMDItemContentCreationDate     = 2011-11-20 04:05:42 +0000
kMDItemContentModificationDate = 2014-10-22 01:52:53 +0000
kMDItemContentType             = "public.folder"
kMDItemContentTypeTree         = (
    "public.folder",
    "public.directory",
    "public.item"
)
kMDItemDateAdded               = 2014-10-17 09:19:38 +0000
kMDItemDisplayName             = "temp"
kMDItemFSContentChangeDate     = 2014-10-22 01:52:53 +0000
kMDItemFSCreationDate          = 2011-11-20 04:05:42 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 0
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "temp"
kMDItemFSNodeCount             = 96
kMDItemFSOwnerGroupID          = 80
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = (null)
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Folder"
kMDItemLastUsedDate            = 2014-12-03 03:57:48 +0000
kMDItemUseCount                = 2
kMDItemUsedDates               = (
    "2014-10-25 13:00:00 +0000",
    "2014-12-02 13:00:00 +0000"
)


Maverick's Mail Stops Receiving Messages from Gmail accounts

As of Feb. 3. 2014 from the source.

OS X: New email messages not received until Mail is quit and reopened
Symptoms

For some email providers, new email messages in Mail may only appear to arrive when Mail is first opened. No new email arrives until Mail is quit and reopened.

Resolution

Quitting and reopening Mail forces it to re-establish a connection to the email server. You can use these steps to receive new mail messages without quitting Mail:

Choose Mailbox > Take All Accounts Offline.
Choose Mailbox > Get All New Mail.
As a shortcut, you can also add the Take All Accounts Offline and Get Mail buttons to your Mail toolbar.

Choose View > Customize Toolbar.
Drag the Take All Accounts Offline button to the Toolbar if it is not there already.
Drag the Get Mail button to the Toolbar if it is not there already.
Click Done
To receive new mail messages, click the Take Offline button, then click the Check Mail button.

Last Modified: Feb 3, 2014


As per Tetsujin's comment, it turns out I was missing the -v before the url of the printer.


Unlocking and locking mac screen via ssh

There are many ways to lock and unlock your Mac via SSH. The easiest and probably the fastest way is to use osascript (applescript).

Locking Mac

To do this, log in via ssh and type in

osascript -e 'tell application "Finder" to sleep'

You can switch Finder for System Events, but that means more characters to type.

Unlocking Mac

To wake your Mac is a little harder.

There are two ways to do this.

You can use osascript again.

osascript -e 'tell application "System Events" to key code 123'

This tells it to keystroke the left arrow key which should wake your Mac up from sleep.

You can also use the pmset command.

pmset schedule wake "mm/dd/yyyy 00:00:00"

Use a date and time that has already passed.

Of course you will need to keystroke your password via Applescript, e.g.

osascript -e 'tell application "System Events" keystroke "password"'

An alternative to this could be the Remote Wake Up app for Mac, but I am not sure if you can put a password in.


Lion OS X Installer Does not recognize any HD

Have you configured the disks to use a GUID partition table?

This was not required prior to Lion, but is in order to install Lion.


Is there a way to update parallels without using automatic updates?

If you want to download updated version on one computer and use it on other machines, download and install the latest Parallels Desktop 7 update:

Download the update from http://www.parallels.com/products/desktop/download/dr/
Run the downloaded file and re-install Parallels Desktop. Note: only Parallels Desktop application will be reinstalled, no Virtual Machines will be affected.


In Aperture 3, Why need option 'detect missing faces'? why not recognise them all in the first scan?

The detect missing faces is very useful for when Apple makes changes to the way that faces are detected. Perhaps they changed or tuned it to avoid marking hub caps on sporty cars as faces or added better filters for cats and dogs.

People that imported pictures before these changes may need to ask Aperture to go back and check.

This second part is pure speculation - I have no idea if the import does a full check or if the detect is somehow more careful or applies extra checks.

If some of the checks take longer to process, it might make sense to to a quick check on import. I have never been unhappy with the initial scans - so I can't really say for sure.

It will be hard for you to tell if your library needs rebuilding or if it's just how aperture currently works without testing your images on a different machine with a clean library. If you feel your library isn't working correctly, you could try making a new library to test or rebuilding your library. Do consider making some good backups, because when a library is damaged, rebuilding it can erase bad data and you could lose some pictures. It's designed to not do that, but once things break a repair could cause you to finally see the files that were lost as part of the damage.


El Capitan Safari Can't open localhost but 127.0.0.1 works

After reading this post
https://stackoverflow.com/questions/20345132/127-0-0-1-is-working-but-localhost-not-working

I figured it out that I only need to comment out ::1  localhost
then everything works fine


MacBook Pro 15" 2008 freezes with colorful screen

Those visual artifacts are very typical of a failing GPU. This looks pretty advanced and you can usually confirm by seeing an external display fail as well.

It could be cabling or the LCD, but that’s far less likely. Super rare would be driver or software issue.

Make sure you have a good backup in case when the GPU fails it takes down the logic board as well. Worst case, removing the drive or booting in target mode is likely to be an easy data transfer if it should stop booting our the display finally fails.


How to determine iOS app usage frequency for iPhone or iPad

I think I may have found an astoundingly low-tech solution to this problem, and it was right under my nose.

Ever since iOS became "multi-tasking" capable (I say that tongue-in-cheek, as we all know that most apps that get backgrounded aren't still running, they've just had their state saved until used again), the Task Switcher, accessible via a double-press of the Home Button, shows you a more-or-less "use-ordered" list of your apps.  Unless you deliberately open the Task Switcher and kill the apps, they linger in there... I guess forever, or until you reboot the device.

So, if I clear all those out, and then just go about my business using my device for a while, and occasionally look at what apps are in my first 3 or 4 "pages" in the Task Switcher, that gives me a decent idea of which apps I use the most-- or at least can tell me the ones that I've used "most recently".  Those apps that are on the far right "page" of Task Switcher are the least used (or at least the ones that were used "least recently").

EDIT: As of iOS9, the order of applications displayed in the Task Switcher is reversed.  The most recently foregrounded app is on the far right.

I suppose a person could extend this into a true exercise in statistical geekery by noting the order of the apps on a schedule... say every morning or every evening (or more or less often)... over a period of time; a week, a month, whatever.  Then you could compile that into useful info for yourself.


In Which Cases Is Linux Bootcamp justified?

"Terminal"-apps on macOS (I put that in quotes because technically they haven't got anything to do with Terminal.app, but merely being command line programs) are not in general identical to macOS apps. However most are very similar.

This stems from the fact that macOS can trace many of its standard command line tools to FreeBSD whereas Linux inherits them from GNU. In practical terms, you'll quickly learn the minor differences between the two. It is also possible to install the actual GNU command line tools on macOS using HomeBrew, and then they are identical.

Does this mean that there are no reasons at all for running Linux in BootCamp? - No, not really. There's still advantages to BootCamp when you for example want to run some performance demanding games, when you want to use Linux specific device drivers for built-in hardware, and other things. BootCamp essentially takes over the whole computer - leaving none of macOS running.

However just the fact that you want to run a program that doesn't have a Mac-specific version doesn't mean that you have to run BootCamp - no matter if it is Windows or Linux. In those cases, many use virtualization to keep running the macOS desktop while running some apps in Windows or Linux at the same time in seperate windows. For example you can use VMware Fusion, Parallels Desktop or the free VirtualBox to run Windows/Linux on top of macOS.


You can try deleting Terminal's saved application state. It's in ~/Library/Saved Application State/com.apple.Terminal.savedState. You can also try deleting Terminal's preferences. Those are in ~/Library/Preferences/com.apple.Terminal.plist.

If you don't want to potentially lose the saved state or preferences, you can move them to the desktop before starting Terminal.

In Lion, you can get to ~/Library by holding the Option key while selecting the Go menu in Finder.


How to pull ID3 tags from online database(s) for specific albums?

the beets cli utility can query musicBrainz to get the id3 tags for your library.  Install beets from homebrew and run beets. Give beets a hint as to what you think the album is.

brew install beets
cd ~/elton/GBYBR
beets import Goodbye Yellowbrick

Choose [A]ccept [M]ore or A[B]ort when beets tells you what it's about to tag your files as.

source: https://media.readthedocs.org/pdf/beets/latest/beets.pdf

details: https://beets.readthedocs.io/en/latest/guides/tagger.html

If you would rather write the tags yourself I like

id3tag

link: Is there a good command-line ID3 tool for OS X?


Can't open my mac after installing windows using bootcamp

Boot to recovery mode and then choose the Mac startup disk might be the fastest way to determine if the Mac is still bootable.

Apple documents this and the other ways to switch back and forth at:

https://support.apple.com/en-us/HT204417

If you've meticulously done all the steps, you might ask a second follow on question with more details about what the situation is.


How to calculate RAM disk size on OS X Mojave—500 or 512 byte block size?

This seems simple enough. You asked for 12000000 sectors. The sector size is 512 bytes. So 12000000 * 512 = 6.1 GB which is the size of disk15. If a block size of 500 bytes was substituted for the 512 byte sector size, then the calculation would be 12000000 * 500 = 6.0 GB. This is not what is shown.

The output from diskutil info disk15 | grep -e Size should be as shown below.

   Disk Size:                 6.1 GB (6144000000 Bytes) (exactly 12000000 512-Byte-Units)
   Device Block Size:         512 Bytes


Disk Utility shows partition NOT appearing through diskutil list

You are confusing APFS containers, APFS volumes and partitions.

You have a 500GB drive which has one APFS container containing a number of volumes. Of those volumes Preboot, Recovery and VM are used by the system and hidden in Disk Utility. The volume APPLESSD contains a number of partitions, one of which is of zero size.


Which changes are necessary for XM and XMTrading applications to both be approved and not rejected by Apple Guideline 4.3?

Apple Developer Guideline 4.3 states:

4.3 Spam
Don’t create multiple Bundle IDs of the same app. If your app has different versions for specific locations, sports teams, universities, etc., consider submitting a single app and provide the variations using in-app purchase. Also avoid piling on to a category that is already saturated; the App Store has enough fart, burp, flashlight, fortune telling, dating, and Kama Sutra apps, etc. already. We will reject these apps unless they provide a unique, high-quality experience. Spamming the store may lead to your removal from the Developer Program.

This means you already have more than one app that does the exact same thing except there's slight variances.  This is not a new rule, it's been in place for years.  Apple started really enforcing it about 2 years ago.
Your options are to either talk directly to Apple about what, specifically, caused them to reject the app or you can do what they suggest and put them into a single app.
There's nothing in 4.3 that states what you have to change, that's going to be different for each app.  Apple only states you must "provide a unique, high-quality experience".


I had this problem. I drove 75 miles to nearest Apple store with an assigned appointment time just to have the "tech" flip a setting button from "Show" to "Hide".

In other words if you press "Hide" it hides the calendar, but in pressing "Hide" it changes the button to "Show". So when I was looking at the button which says "show", I assumed it was in show mode. Silly me. You have to press show to make it actually show, but then the button will display as "Hide", as if you're in hide mode, but you're not. It's an action button. Press for Show or Press for Hide. Whatever is displayed, your phone is doing opposite to that.

The button can be found by pressing Calendars to bring up a list of your calendars, then pressing the relevant Show button for the calendar. Alternatively, you can press the Show All Calendars button to unhide all the calendars at once.


Can I know in what Mac macOS was installed for a given storage?

You could take a look at /private/var/log/install.log. If you search for "MAC address" you'll find output from configd detailing the MAC addresses of the network interfaces on the Mac at the time.

Note: If you're doing any serious type of forensics, it is bad practice to boot up from the storage you're examining. Instead take a copy of the disk and examine that from a separate computer (either by mounting it read-only, or by booting up on a duplicate of the copied image).


Can I export my signature from Preview on one Mac and import it on another?

This was covered by Aussie Bloke's blog when Lion arrived. Here are the steps to get both the file where the signature is stored as well as the associated keychain entry to a second Mac.

On the source Mac:

Open the ~/Library/Containers/com.apple.Preview/Data/Library/Preferences folder.

In Finder, click the Go menu and hold option to show the Library folder.
Alternatively, press ⇧⌘G whilst Finder is active and enter the path above to directly navigate.

On OS X Mavericks 10.9 and earlier, copy the com.apple.Preview.signatures.plist file.
On OS X Yosemite 10.10 and later, copy the com.apple.PreviewLegacySignaturesConversion.plist file.
Launch Keychain Access
Ensure the login keychain is selected and choose the Passwords category.
On OS X Mavericks 10.9 and earlier, right-click the Preview Signature Privacy password and select Copy Password to Clipboard.  This is the password used to encrypt the signature images.
On OS X Yosemite 10.10 and later, right-click the Signature Annotation Privacy password and select Copy Password to Clipboard.
Paste it into a text editor and save the file.  You'll need to transfer this to your other computer(s).

On the destination Mac(s):

Launch Preview, open Preferences, and select the Signatures tab to ensure the default configuration files and folders have been created.
Exit Preview.  Ensure that the process is terminated.
Open the ~/Library/Containers/com.apple.Preview/Data/Library/Preferences folder.
On OS X Mavericks 10.9 and earlier, copy the com.apple.Preview.signatures.plist file to the folder, overwriting any existing file.
On OS X Yosemite 10.10 and later, copy the com.apple.PreviewLegacySignaturesConversion.plist file to the folder, overwriting any existing file.
Launch Keychain Access
On OS X Mavericks 10.9 and earlier, locate the Preview Signature Privacy password in the login keychain and double-click to edit.
On OS X Yosemite 10.10 and later, locate the Signature Annotation Privacy password in the login keychain and double-click to edit.
Click the Show password checkbox and paste the password you copied from your original machine.
Click Save Changes and you're done!

In situations where the target machine has no existing Preview Signature Privacy or Signature Annotation Privacy record in Keychain Access, you must create a new record. This is necessary when the target machine (like a Mac Pro with an older or third-party display attached) has no camera which means no Signature file can be created from within Preview. Open Keychain Access as above and do the following:

Click on the + icon to create a new entry
On OS X Mavericks 10.9 and earlier, enter Preview Signature Privacy in the Keychain Item Name field.
On OS X Yosemite 10.10 and later, enter Signature Annotation Privacy in the Keychain Item Name field.
Enter Preview in the Account Name field.
Paste the password copied from your original machine, per above procedure.
Click Add
In the newly created entry, click Access Control
Add Preview to applications allowed access
Click Save Changes and you're done!


Set size of window to exact pixels, and place via x, y coordinates

Yes, this can be done using AppleScript. Read this link to understand the code and then try and implement it yourself for your specific situation.
Here is another link that describes the bounds of a window in detail.
Example:
tell application "Finder" to set the bounds of the front window to {24, 96, 524, 396}

would set the Finder window to be in the top left corner.
Mac App Store- BetterSnapTool:
Note: I would check out BetterSnapTool. It does exactly what you want for $1.99. I use it myself and I find it invaluable, especially at such a low price.


Add Chrome to dock with parameters via Automator with chrome icon

This worked for me: defaults write com.apple.dock persistent-apps -array-add "<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>/Applications/Chess.app/</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>"; killall Dock.

Questions about adding applications with command line arguments to the Dock:

How can I force command-line arguments to a program shortcut in the dock?
How do I pass command line arguments to Dock items?
How to set launch options for programs on OS X


You can reset your Activity Monitor settings by quitting Activity Monitor, and then  deleting the preferences file, and any preferences lock files, and then re-opening the app.
Open Terminal and paste in the following command:
rm ~/Library/Preferences/com.apple.ActivityMonitor.plist*

(Note the * at the end to delete com.apple.ActivityMonitor.plist.lock and com.apple.ActivityMonitor.plist.)
Hit enter, and reopen Activity monitor - the columns should now be present.


Reasons to prefer Little Snitch over the built-in firewall

Little Snitch offers three features that aren't available in MacOS' built-in ipfw firewall. (It does this by loading a custom kernel module.)

Little Snitch allows you to block outgoing connections; the MacOS firewall only blocks incoming connections. Handy if you're running some untrusted program and aren't sure what it's going to do, or if you want to disable a program for updating itself, or if you want to prevent access to a specific resource. Also, I suspect many people use Little Snitch to block pirated software from checking their license.
Little Snitch lets you configure the firewall per application, not just address or port. Ie: you can configure it so one web browser can access a web site but not another.
Little Snitch also monitors network traffic on a per-application basis. It's easy on MacOS to see how much bandwidth you're using but much harder to see which program is using that bandwidth. The Little Snitch shows network usage for each application, albeit in a limited way.

That being said, I don't think Little Snitch is "must have" software; these features are fairly esoteric. There are also several alternatives: TCPBlock and glowworm for the firewall and Rubbernet (now defunct) for the monitoring.

2016 Update: MacOS now has the per-application monitoring built into Activity Monitor.


Is this possible to link the value to a database in Apple's iWork suite?

In any program to find out what fields/data can be inserted at a given point look for the menu item "Insert" if there is one you will see under that menu diffent types of data that can be inserted.  I pages you can "Insert" any of the information from the Addressbook.  In numbers it is much more limited.

AppleScript is most probley to best solution for other data and the apps you ask about.

Better app's for this sort of thing are OpenOffice and MS-Office.


Under Mavericks, if you want to change the password, you need to convert the volume.

Your problem with the passwords is probably that they might stored in your keychain, therefore it won't ask you for it on your computer.

You can remove the stored password in the Keychain Access.app.


Using multiple iMacs (27 inch 2009) as displays

It’s possible to use an iMac as a secondary display of another iMac. You’ll only be able to use one of your ‘other’ iMac’s to do that.

To do so, you need to activate ‘Target Display Mode’ on the iMac you want to use as a display.

Both iMac must be turned on and both must be logged ‘in’.
Connect the ‘Mini DisplayPort’ or ‘Thunderbolt’ cable between the two computers.
Press ‘Command + F2’ on the keyboard of the iMac that you want to use as a
display.

Your target iMac will now display the desktop of the other, connected Mac. To exit TDM, just press Command + F2 again.
It will also exit if you disconnect the cable or shut down/sleep the other Mac.

Remark: this only works on iMacs up to 2014, The 5K Retina and newer ones don’t support this.


How does Apple fix the sleep-wake button issue on the iPhone 5?

I replaced this myself and it's very tedious and time consuming.   There is a ribbon cable in the phone that connects all of the exterior buttons/switches to the motherboard.  Usually the physical button you see from the exterior of the phone is not the problem, it's either the tiny button that button presses (attached to the end of the ribbon cable) or something with the wires themselves within the ribbon cable.

In case you're curious, here are instructions for how to do it yourself and what the inside looks like but I'd advise against doing it yourself unless you have experience with this sort of thing, a lot of time to kill, the phone is already out of warranty, and you could go without use of the device you're repairing.

The $5 cable I bought on Amazon worked for a few months but started to fail itself.  I'd recommend paying to have Apple do it.


How to rename an external hard drive in Mac OS X?

If the file format of the external hard drive is NTFS, then El Capitan will allow you to only read the contents of the drive. To rename the drive, or to modify any contents of the drive, you will have to format the drive with OS X File system.


How do I show the hard drive on the desktop

Go into Finder, then go to the menu bar and click Finder -> Preferences. Select the "General" tab and check "Hard disks" under "Show these items on the desktop":


Comparing MacBook Air sleep resume times

This is not an actual answer to your questions, but more information on the subject:

MacBook Airs go into "deep sleep" (hibernate) when left with the lid closed for a longer while. Basically, the current state of the machine is saved to the hard drive (the SSD in the case of MacBooks) and the machine turns off, thus not consuming any power while in standby. When you open the lid, the machine state is retrieved from the SSD and restored.

So, the wake time is determined by the speed of the SSD inside the MacBook Air.

2010 MacBook Airs have SSD speeds in terms of 100 MBps, while latest MacBook Airs (2012) have SSD speeds in terms of 400-500 MBps, so wake time should be a lot faster with the 2012 models.

Comparing with the iPad is irrelevant, as iPads do not hibernate, as far as I'm aware of.


How to "synchronize now" the ipod touch with google calendar?

It's possible that, for some reason, push can't go through. In those situations, your iPhone will fall back on the fetch schedule. Go to Settings->Mail, Contacts, Calendars->Fetch New Data and make sure that you select the most frequent Fetch, which is 15 minutes. It's certainly a far cry from the instantaneity of push, but you shouldn't have to wait more than 15 minutes for stuff to come through.

Also, you should check under Advanced just in case your schedule for your Google account was changed for some reason - it should be "Push".


Starting in OSX 10.11, you will need to open the Keychain Access app and go to Preferences > Reset My Default Keychain.  "Reset" is a bit of misnomer; actually, it will move your old keychain to a separate database file, and create a new, clean keychain.

Next, if you do File > Add Keychain, you can re-add your old keychain (for example, login_renamed_1) to the viewer.  You can then manually copy over your keys from the old keychain to the new keychain.

You will have to re-enter your root password for each key that you copy, and it will throw errors at you, but in the end they will get copied over.


Want VBA code to make Excel Mac 2011 play sound file based on name in a cell

Found this question when tried to solve the similar problem (creating a vocabulary notebook for learning english words). The easiest solution for me was just to use built-in voice pronunciation in MacOS X:

Sub Pronounce_active_cell()
    MacScript ("say " & """" & ActiveCell.Value & """")
End Sub


Optimal configuration for MacBook with small SSD and big HDD?

I have this kind of setup in my Mac mini, 120 Gb SSD, 320 Gb HDD. Instead of doing mounts or messing with the location of the home folder I decided to just link the "heavy folders" back to their location on the HDD :

$ ls -l
total 1304
drwxr-xr-x  17 tyr   admin     578 Apr 17 01:51 Applications
drwx------+  6 tyr   staff     204 Apr 21 20:20 Desktop
lrwxr-xr-x   1 root  staff      35 Dec 31 08:15 Documents -> /Volumes/MiniHD/Users/tyr/Documents
lrwxr-xr-x   1 root  staff      35 Dec 31 08:19 Downloads -> /Volumes/MiniHD/Users/tyr/Downloads
lrwxr-xr-x   1 root  staff      33 Mar 18 16:11 Dropbox -> /Volumes/MiniHD/Users/tyr/Dropbox
drwx------@ 56 tyr   staff    1904 Apr 18 03:49 Library
lrwxr-xr-x   1 root  staff      32 Dec 31 08:19 Movies -> /Volumes/MiniHD/Users/tyr/Movies
drwx------+  6 tyr   staff     204 Feb 19 04:35 Music
drwx------+ 25 tyr   staff     850 Apr 21 16:24 Pictures
drwxr-xr-x+ 88 tyr   staff    2992 Apr  8 11:17 Public
drwxr-xr-x+  3 tyr   staff     102 Dec 31 08:02 Sites
lrwxr-xr-x   1 root  staff      41 Dec 31 08:30 VirtualMachines -> /Volumes/MiniHD/Users/tyr/VirtualMachines
drwxr-xr-x@  2 tyr   staff      68 Jan 11 19:51 dwhelper
drwxr-xr-x   2 tyr   staff      68 Dec 31 08:54 lf5

I've had this setup for a couple of months now and have not had any problems with it.
2 folders are not linked : "Music" and "Pictures" because I've changed the location of the music and pictures in iTunes and iPhoto respectively. For iTunes this allows me to keep the metadata (the iTunes "db") on the SSD where it is fastest.


Is there a way to insert the current date in Notes?

[Late Post - posting in case it helps anyone else]

On iPhone (iOS 11+), the "Insert Date Keyboard" provides an easy way to insert the current date in Notes or any other app. If you want to include the current Time in Notes as well, the date format (under advanced settings) would be something like: "yyyy/MM/dd hh:mm"

Note: The app costs a dollar

( Disclaimer: I helped work on this )


Running the memz virus on a parallels vm: safe?

If your Parallels virtual machine is using a disk file for the guest operating system, and you haven't mapped your real hard drive into the vm - then no, in theory the Mac will not be screwed up.

The reason I write "in theory" is that there are a few practical concerns. Mainly, if you happen to have your hands on something that is not the original memz virus, but something else, it might do something unexpected. If the virus contains an exploit for Parallels usable from within the guest, it could break the isolation and tamper with your macOS installation. It is not very probably though.


Bootcamp partitioning stuck on 'Status: Idle'

Resizing the container where Catalina is installed can take an extremely long time. In fact, if you issue a diskutil apfs resizeContainer command, you can get a message stating this. Also, the message will state resizing can execute faster if you boot to macOS Recovery. The Boot Camp Assistant must use the same software to resize and make space for Windows, but no warning is issued with respect to time. So, I can see where a user would conclude something is wrong, when in fact it really does take that long to resize.

Restarting the Mac, during resizing of the container where Catalina is install, probably would cause the container to be corrupted. You could try boot to macOS Recovery over the internet and then use the Disk Utility to run Fist Aid on the container.


Setting up gmail in Mavericks - A connection error occurred

Just to compare the settings: (assumes you already Enabled the IMAP in the gmail).

Incoming Mail (IMAP) Server - Requires SSL

imap.gmail.com
Port: 993
Requires SSL:Yes

Outgoing Mail (SMTP) Server - Requires TLS

smtp.gmail.com
Port: 465 or 587
Requires SSL: Yes
Requires authentication: Yes
Use same settings as incoming mail server

Full Name or Display Name: [your name]

Account Name or User Name: your full Gmail address (username@gmail.com).

Google Apps users, please enter username@your_domain.com

Email address: your full Gmail address (username@gmail.com) Google Apps users, please enter username@your_domain.com

Password: your Gmail password


Does a 10W or 12W charger make an iPhone willing to boot up sooner?

Many factors - dead phone/0% battery isn't an entirely fixed point, depending on battery age/health, power requirements, temperature (winter cold...), calibration state etc it can mean anything from a calculated shutdown by the device at a level before excessive wear starts to occur, to the phone just suddenly dying at a point where there's still supposed to be juice left and it's not so much protecting itself, more like a blackout.
During discharge the voltage continuously decreases, which is what the phone keeps tabs on and cuts off at a safe level, but as it loses charge the max amperage/wattage also gives way, leading to further (short) voltage drops when it overextends itself.

As an example, if you're running low on battery and decide to take a bunch of photos before your phone dies, the high power draw will likely mean the phone shuts off a lot sooner than if you kept it in your pocket on standby.
But that means that in the latter scenario... once it's dead, it'll be deader, and it will take longer to bring up to a healthy enough voltage to boot - turning on, mind you, is a lot more power intensive than just staying alive once on. If the phone tries to boot before enough power is available it will black out again.

Input power obviously plays a large role here, just as you say, but it's not so much the phone calculating anything fancy or being tactical. Plug an iPhone with a worn-out battery into a semi-glitchy cable and it will happily bootloop for weeks on end instead of waiting and building up enough charge to actually manage to power on and chill out.

You're on the right track, key thing being that the brick can't power the phone directly, it's feeding the battery which feeds the phone, again a battery at low charge is flaky so even plugged in there needs to be a buffer, and once you get going that where you get the non-linear response. Say the phone needs 2W and it's getting 4W effective from a 5W brick, so 2W left to build charge. Double it to 8W and the surplus triples.


Which URL does Apple request when connecting to a Wi-Fi network to look for redirects?

I found it. Apple uses http://www.apple.com/library/test/success.html

More information can be found at http://blog.erratasec.com/2010/09/apples-secret-wispr-request.html#.VLA9UsabLOY

The advantage of using a no redirect URL is that you can determine which state you are in:

Connected
Connected to Wi-Fi but Internet is inaccessible due to Wi-Fi router requiring user intervention.
Not connected

These are called captive portals, or, as Apple calls them, captive networks:

  Captive networks (often used in hotels, coffee shops, and other public places) may intercept your software’s HTTP requests and provide a login page instead of the expected data.


How to access data from a Mac Contacts backup: a .abbu file

If you have iWorks/Numbers installed, check the tutorial:

How to Convert an Address Book ABBU File to CSV
ABBU is the native file type for the Mac OS X Address Book, which means that you can only open ABBU files using the Mac Address Book application. However, you can use the iWork Numbers application to import the ABBU file, and then export the data file to a Comma Separated Value, or CSV, file format, which is a generic text file format that you can import into any address book or database application, regardless of operating system.

Also you could try the tool:

AB2CSV
Also known as Address Book to CSV Exporter, this Mac OS X utility allows the user to export his own Address Book in a CSV or VCF file.

You did mention "vs just importing them", but if you can use the first method to export them to Numbers, you can then save as .CSV.


Possibilities when not using background app refresh

With background refresh an app more or less lets iOS take care of data refresh. If this is turned off it‘s up to the application on how data gets refreshed (on activation, on user demand etc). There is no general mechanism at work then.


Can't update/ download apps without a card

Debit cards are no longer accepted in the iTunes Store, it seems.

The available payment methods vary by country. You can typically use these methods:

Credit cards
Content codes
Store credit, including iTunes Store Gift Cards, Gift Certificates, and Allowances
ClickandBuy
PayEase
PayPal
UnionPay (requires SMS PIN for setup)

So if you can use PayPal as payment type in the iTunes store. Open a PayPal account, hook up your debit card. And you up and running again.

Source: https://support.apple.com/en-us/HT202631


No calendar subscriptions showing up on iCloud.com

This is likely because iCloud.com only has iCloud calendars. Chances are all the rest of your calendars are not iCloud. Honestly, I wouldn't see it as a bug, but something that they haven't added into the online portal. If you click the Settings icon and select Preferences in iCloud.com/#calendar it will not give you an option to add outside calendars.

They will still show up on your phone because it is tied in with your email. If you go to the email account that you are subscribed with, you should see Calendars set to "On".


Does a ThunderBolt cable increase resolution on a monitor or just frame rate?

A) A cable cannot "increase" the resolution of one source to a destination. However, if the cable provided more bandwidth than your previous cable, the system would seem to upgrade the speed because of the extra bandwidth available.

Think of it in terms of a highway with cars. If your old cable is only a two-lane highway, you can only put a certain amount of cars on it. Now if your new cable is an 8-lane expressway, then you can put so many more cars on it and even though the speed of the cars does not necessarily increase, there are more cars and more bandwidth and less traffic.

B) As for the LG Electronics 34UM88-P, it supports thunderbolt 2.0 as well as DisplayPort - both of these are supported on the Mac Mini.

Source: https://www.lg.com/us/monitors/lg-34UM88-P-ultrawide-monitor


Why I cannot play M4A audio on iTunes, but I can play it on QuickTime?

Changing the extension to .mp4 from .m4a worked for me but as a solution sucks since I now have to change it for each file individually. With a large music collection failing the same way this solution with take significant time to implement.


Presence of a Linux partition causes FileVault2 setup to fail

I believe I found the issue: Apple expects 128 MiB of free space between every partition. Disk Utility hides this free space, similar to how it hides the ESP. If this padding isn't present, it generates the error I described above.

Easy fix: Tell Gparted to use +128 MiB as the beginning offset for each partition.

Edit: Nevermind, this only solves the "Verify Disk" problem...I still can't enable FileVault. See above for an update.


APFS partition disappeared after creating hybrid MBR

You can simply re-add the partition with gpt "in the empty space". The problem here is: the APFS container partition might have been smaller than the now available free space.

The good news is: the (former) size of the container is stored in the APFS superblock which shouldn't have been modified by creating a hybrid MBR. The superblock is the first block of an APFS container - here probably block 409640 (which is the 409641th block of your SSD) if the default Apple partition scheme was used initially.

boot to a full-fledged system (ideally 10.13 but older systems should also work with the downside that you can't verify the container with fsck_apfs afterwards)
get the partition list with diskutil list. (in the example below I assume the device identifier is disk1)
Unmount the SSD: diskutil umountDisk disk1
hexdump block 409640 of the SSD:

sudo dd if=/dev/disk1 skip=409640 bs=512 count=1 | hexdump

which results in something like this (example only):

1+0 records in
1+0 records out
0000000 4a 2e 4c 58 2c 73 22 1d 01 00 00 00 00 00 00 00
0000010 ac 01 00 00 00 00 00 00 01 00 00 80 00 00 00 00
0000020 4e 58 53 42 00 10 00 00 f6 37 ff 00 00 00 00 00
0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000040 02 00 00 00 00 00 00 00 d1 67 7e 03 33 23 42 a5
0000050 a8 da 96 fc 12 ae de 21 18 04 00 00 00 00 00 00
0000060 ad 01 00 00 00 00 00 00 18 01 00 00 18 6c 00 00
0000070 01 00 00 00 00 00 00 00 19 01 00 00 00 00 00 00
0000080 10 00 00 00 80 07 00 00 0e 00 00 00 02 00 00 00
0000090 7b 07 00 00 05 00 00 00 00 04 00 00 00 00 00 00
00000a0 07 fd 03 00 00 00 00 00 01 04 00 00 00 00 00 00
00000b0 00 00 00 00 64 00 00 00 02 04 00 00 00 00 00 00
00000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000200

The relevant line is 0x020: 4e 58 53 42 00 10 00 00 f6 37 ff 00 00 00 00 00

4e 58 53 42 (NXSB) is the APFS magic block (Offset: 0x20 Type: char[4])
00 10 00 00 is the block size (Offset: 0x24 Type: Uint32). After reverting the byte order and converting it to decimal this is 4096 Byte which is the default size for APFS containers.
f6 37 ff 00 00 00 00 00 is the number of blocks in the container (Offset: 0x28 Type: Uint64)

to convert it to a decimal, revert the byte order f6 37 ff 00 00 00 00 00-> 00 00 00 00 00 ff 37 f6 and enter it in a converter. The number of 4k blocks is here 16,726,006 and the final size 16,726,006 x 4096 Byte = 68,509,720,576 Byte. In 512 Byte blocks that's 133,808,048 blocks.

Check the result for plausibility. In your case the number of 512 Byte blocks should be equal to 732027536 or slightly less.
Now add the partition with gpt:

sudo gpt add -i 5 -b 409640 -s 512b_block_number -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk1

or in your case probably:

sudo gpt add -i 5 -b 409640 -s 732027536 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk1

Verify the disk: sudo fsck_apfs /dev/disk1. If you are urged to boot from the "restored" APFS container to verify it because your system on the other boot drive is macOS 10.12 or less use something like sudo fsck_apfs -nl /dev/disk1s2. If you get a warning like "warning: Overallocation Detected on Main device: (.....+1) bitmap address (.....)" you can probably ignore it as long as the volume /dev/disk1s2 appears to be OK.


HDTV only detected when turned off (connected via DisplayPort to HDMI)

While the TV is on standby, try going into System Preferences > Displays Preferences and set your displays to mirror.


How I do permanently authorize an app on my mac?

No, it's asking for authentication not because the app needs it but because it's altering system files and OS X will always need authentication for this.


Is it possible to launch Finder from the command-line to perform a file select action?

There's some confusion about Finder and what it is/does.  You don't "launch" finder in the conventional sense.  It's always running. It's the graphical interface through which you interact with your Mac system.  You open a file using Finder's file selection tools or view the contents using Preview, etc.
Get to know the Finder on your Mac

The purpose of this would be for the end user to, when running a shell script, be able to select a file using a GUI instead of typing in the path and filename.

Bouncing back and forth between a GUI and a text environment is inefficient.  Why would you begin typing a command in a text environment, then switch to a GUI to get your file, then switch back to text?  Instead, you create the File Selection Dialog Box right there in the text environment.
There's a tool called dialog available on MacPorts and on Homebrew that allows you to create dialog and file selection boxes in your text environment.  Below is an example of the file selection box from the deletefile.sh script (similar to what you described).

For more examples of the different dialog boxes you can create, see:  https://invisible-island.net/dialog/dialog-figures.html


How can I automate GIF to PNG with Preview using AppleScript?

You could also try using ImageMagick:

convert -coalesce animation.gif frame%04d.png

You can install ImageMagick with brew install imagemagick or sudo port install imagemagick.


I'm only aware of proprietary systems like DropBox.

But it seems like this could be done fairly easily, using kqueue to detect file changes, and running rsync a few seconds later.


Terminal prompt does't show on macOS Sierra

After some debugging I found out that the bash-autocompletion package for brew did cause this. It is clear that if you run $(brew --prefix)/etc/bash_completion the command does not terminate

As a wordaround, you can uninstall it with brew uninstall bash-autocompletion. I'd recommend to first update brew by running brew update && brew upgrade though.

Digging deeper it turned out the main problem here was the rust compiler. Running rustc --version pointed me to a segfault. I uninstalled it using /usr/local/lib/rustlib/uninstall.sh, after which the bash autocompletion started to work again. Removing rust as described, and reinstalling it using brew (brew install rust) ensured everything worked again


How to automatically disable trackpad when I am coding with vim in iTerm2?

What you are experiencing is not in anyway unique:  photoshopCAFE YouTube review

There's no way to disable the trackpad unless you hook up an external mouse/trackpad (which may be your solution).


Wireless or bluetooth stero for streaming from imac?

In short, Apple's proprietary version of DLNA, which they call AirPlay, is based on WiFi hardware. Bluetooth speakers, obviously use Bluetooth hardware. WiFi has a far greater bandwidth, so go with that. You shouldn't have any problems.

In theory, Bluetooth could work, but in many implementations bandwidth can be limited, so it's not uncommon for your audio to be decoded from its original format (mp3 aac etc.) by your player (iPod, iPad etc.), then re-encoded to an intermediate format for transfer over BT, and then decoded once again before actual playback.

This extra encoding step obviously degrades the quality. This doesn't happen with AirPlay. Since the bandwidth of WiFi is much larger than any implementation of Bluetooth, even if the audio file is decompressed on the player side, it could be sent to the receiver without any re-compression at all.


How to map CTRL + Left Arrow to Home with Karabiner-Elements

You'd have to manually edit  ~/.config/karabiner/karabiner.json with e.g. BBEdit or TextEdit (better make a backup copy before you start!).

Be aware: your re-mapping would de-activate Apple's Spaces-switching feature!

Anyway, doing so you'd have to go to

"rules": [

and (assuming you mean the right control key) add s.th. like:

"rules": [
    {  "description": "Call it whatever you like…",
       "manipulators": [ {
                "type": "basic",
                "from": {
                    "key_code": "left_arrow",
                    "modifiers": {
                        "mandatory": [
                            "right_control"
                        ]
                    }
              },
              "to": [
                  {
                      "key_code": "home"
                  }
              ]
          },
          {
              "type": "basic",
              "from": {
                  "key_code": "right_arrow",
                  "modifiers": {
                      "mandatory": [
                           "right_control"
                      ]
                  }
              },
              "to": [
                  {
                      "key_code": "end"
                  }
              ]
          }
      ]
  }
]

Be aware that the right order and correct corresponding of open and closed brackets of both types is essential!
(As far as I can see there is no way to debug this behaviour; maybe apart from watching Karabiner-Element's open Window while saving the json-file. Your choice of editor can help though, even BBEdit can identify pairs of brackets …)

If what you did is correct, the new behaviour will work instantaneously once you saved the file!

So, if yours is the only Complex Modification, the closing "comma" must NOT be used here … but if you add yours to all previous ones this "comma" must instead be placed in front of your code (meaning: behind the last rule's finishing bracket.
… a bit tricky, this all.


This will work everywhere that Emoji & Symbols has a menu item...

System Prefs > Keyboard > Shortcuts > App Shortcuts
Click 'All Applications'
(hidden in the picture)
Click +
Type Emoji & Symbols in the first box
Type your replacement trigger in the second
Click Add

 As noted in comments, Cmd/Space is usually used for Spotlight. I chose this almost at random & discarded after the picture was taken.


Time Machine fails to create an incremental backup

EDIT I noticed this seems to happen randomly. Sometimes, Time Machine will start to back up the 400+ GB. At other times, it performs a normal incremental backup. So, I am not sure the procedure listed below really has any effect. I'll leave the description there just in case...

When the external USB HD is connected, I now simply check Time Machine when it starts to backup. If it wants to backup the 400+GB, I simply "Skip" the backup. If not, I let it continue. Not a perfect solution by far, but it works for me.

I booted my Mac in safe mode to see if this would solve the problem. Alas, it did not. Afterwards, whether caused by the safe boot or not, Time Machine didn't "see" the external Data partition anymore, so it would only backup from the internal SSD (and the TM preferences windows no longer listed the WinData partition in the list of excluded items).

At that point I reset Time Machine's configuration, as described in James Pond's Full Reset of Time Machine:

switch off Time Machine in the preferences window
make sure no backup is running
connect external drives included in the backup
take a screenshot of the TM preferences (the exclusion list)
disconnect the backup disk
delete /Library/Preferences/com.apple.TimeMachine.plist
reboot your Mac
connect your backup disk
re-configure Time Machine

select your backup disk
copy the TM preferences from the screenshot

After this process, Time Machine sees my external Data disk again; Data and WinData are automatically included in the excluded items list. After removing Data from the list, Time Machine now properly creates incremental backups of Data again.

There was one small problem however. The new files added to Data recently (right before TM started to make huge backups) were not backed up. To solve this, the following worked:

move these new files to another disk
create a new backup (size near 0)
place the files pack
create a new backup

You can perhaps use tmutil compare to see which files were not backed up.


Reported and…

This has been reported to the developers as ticket 23:

  With the latest release of cDock2 the icons are up too high on the Dock, making contact wit the top edge of the Dock. See image.

Given this is an open source application, consider donating to the cDock maintainer. They will likely respond better if their efforts are rewarded.

…fixed in v0.10.4

The developer has responded to the bug report saying it is now fixed:

  Reverted in 0.10.4


Mac doesn't sleep when lid is closed, but upon opening the lid it falls asleep?

The SMC controls things like sleep, fans, etc.  Reset the SMC by following the instructions here:  http://support.apple.com/kb/HT3964

EDIT: In case that link dies, you restart the MacBook Pro while holding down these keys on the left side of the keyboard: Ctrl + Option + Shift


How can I get quicklook to ignore network volumes?

It is not quicklook that is trying to generate previews on its own, it is Finder that triggers it when you access that (and any other) folder on any mounted drive.

When in the folder, open Finder / View / Show View Options (shortcut Cmd+J), deselect Show Icon Preview and click Use as Defaults. That information is stored in the .DS_Store file in each folder.


mDP?  Usually means hardware issue on the Pro - just replaced a user's 2009 MBP with a late 2011 and her otherwise-fine 27" LCD Display did the same thing.  AppleCare replaced the main logic board and no problem since.


Can I use PayPal for non-US iTunes Store payments?

Payment methods vary greatly among the many iTunes stores around the world and are often fit to the local market. In Germany, for example, it's possible to pay via direct-debit, because this is a very common way to pay there. There are iTunes stores (additionally to the US one) which accept PayPal - UK comes to mind. In your case I would check my iTunes account to see whether it is possible to pay via PayPal.


Is there a way to force iphone 5 to 2.4ghz?

In iOS there is no option to force selecting 2.4Ghz wifi network.

If you have the possibility to change the SSID on the router to set two SSID like :

Wifi_24
Wifi_5

You'll be able to choose which network use and then configure your camera on the 2.4GHz Wifi.


Command-delete shortcut is not working for me

It should work in Finder by default, but did you press the right delete key?

Delete (⌫) is the key that is called backspace on other platforms
Forward delete (⌦) is the key that is called delete on other platforms


I have seen this too. I work around it by always pressing enter a few times before starting any new note. Then I go back to the start. When the formatting gets stuck I can just move down to a blank line and there will be no formatting.


Prevent notifications from other apps when specific app is running

"Do Not Disturb While Driving" mode will be available in iOS 11. So a few more months patience and you have the feature you want.

  “It’s all about keeping your eyes on the road,” Apple Senior Vice
  President of Software Engineering Craig Federighi said when
  introducing the feature at WWDC in June. “When you’re driving, you
  don’t need to respond to these kind of messages. In fact, you don’t
  need to see them"

Your iPhone will detect when it's in a driving car and put your phone on "Do Not Disturb While Driving" mode. You can also manually turn it on/off via Control Centre.


This answer is based on your comment which is repeated below.

  It was running smoothly on UEFI boot, but after a graphic card driver update it doesn't boot anymore.

Another possible solution would be to disable Windows Update from downloading and installing driver updates. This can be done using the Local Group Policy Editor (This requires Widows 10 Pro are better.) or from the control panel.

The Control Panel steps for Windows 10 (version 1803) are given below.

From the Start menu select Window System, then select Control Panel.
Select View by: Small icons.
Select System.
Select Advanced system settings.
Select Hardware tab.
Select Device Installation Settings
Select No
Select Save Changes.

This will require you to reinstall Windows. I suggest not connecting to the internet until you have disabled driver updates and installed the Window Support Software from Apple.

You may also want to try to see if you can get Windows 10 to Safe Boot. Boot from the Windows 10 installation media (DVD or USB flash drive) and at the first menu enter the shift+F10 key combination. Enter the following command in the window.

bcdedit  /set  {default}  safeboot  minimal

Close all windows to restart the Mac. If you can get Windows to boot, then maybe you could rollback the graphic device driver.


How do you get Messages to go online automatically during login?

Two ways to do this.

First, if you have messages set up in notifications, then you'll get your messages even if Messages is closed (and you can send messages from the notifications as well).

Second, if you actually want to launch Messages at login, add Messages to your Login Items list in the User & Groups system preference.


Is there a way to send a growl notification when an application reaches a certain memory threshold?

If you will run any "monitoring" program, will consume memory. My Safari after the restart occupiing 128MB RAM, now when writing this reply has 156MB - so 200MB will gain realy soon. I have usually 600+MB Safari and it is not problem (i have 4GB RAM).

Do you really want restart it after 200MB?

You can for example run the next shell script:

#!/bin/bash
mymax=200000       #in kb
checkinterval=60   #in seconds

while :
do
    ops=($(ps axu | grep Safari | grep -v grep))
    [[ ${ops[5]:-0} > $mymax ]] && growlnotify -a "Safari" -m "memory; ${ops[5]}"
    sleep $checkinterval
done

will every minute check your Safary memory usage. When the resident ram usage (rss) exceeds 200 kb the growl message will appear. For this you must have installed the "growlnotify" shell command from the Growl installation image -> Extras.

You can save the above into "safariwarn.command" and double click on it from the Finder. (will run as Terminal.app)

Or, it is possible run as an application what you can make with the Automator.app.


How can I determine if my MBP running Snow Leopard has been attacked by a virus?

Apple Hardware Test will not test for virus, try some anti-virus scanner from reputational software provider like free anti-virus for mac. But remember all anti-virus can only check for known virus or bug, small or custom virus cannot be detect.
If you have extensive knowledge about computer you can open "terminal" and type "top" to see all the computer process and look for the process that take up all the memories, then exit with "contrl+z"


Two iPhone 4S Configured with same email ID

In your former iPhone:

Tap Settings > iCloud. Scroll down and tap Sign Out. In iOS 7 or earlier, tap Delete Account.
Go to Settings > General > Reset > Erase All Contents and Settings.

  In iOS 7 or later with Find My iPhone turned on, you'll need your
  Apple ID and password.

Additionally,

  if you're using iCloud and Find My iPhone on the device, sign in to
  icloud.com/find, select the device, and click Erase. After the device
  has been erased, click Remove from Account.

Get your former employer to set up the old iPhone with other Apple ID.

Check this article on Apple Support for more information.


Here is a Part solution for setting the focus for ⌘⌥F

Save this Applescript down as a Text file instead of a script.

#!/usr/bin/osascript
tell application "Xcode" to activate
delay 0.5
tell application "System Events"

    tell process "Xcode"

        keystroke "z" using {command down, option down}
        delay 0.3

        keystroke tab
    end tell
end tell

In terminal.app

Make the script file executable by running

chmod  +x /path/to/foo.applescript

In Xcode  go to the Preferences-> Key Bindings Tab.

And change the Find and Replace (menu) 's hotkey to ⌘⌥z

Now still in Preferences go to the Behaviours Tab

Click the '+' button to add a new custom Behaviour.

Name it and give it the hotkey ⌘⌥f

On the right hand pane of the Behaviours Tab scroll down to the bottom

And using the Run  dropdown choose script. Select your Script file.

Now you can use the ⌘⌥F and the find and replace will appear and focus will go to the replace field.

As to replicating the keeping the Replace in view if it is already showing when you hit  ⌘F.  I think that in most cases it is redundant because you will want to still hit ⌘⌥F to get back to the replace field and the Find's text field will still be show with the changes you just made.


Duplicated volume name bug with NTFS-formated drives on Yosemite

Finally I solved it by updating to 3.1.0 (thanx guys) and deleting alias icons. After system reboot my volumes got their original names


My Macbook keeps two versions of iWork after updating

Since the apps have been rewritten, there have been some features missing from the new iWork that was in iWork '09. In addition, documents created with older iWork apps will be permanently updated to the new one, and the new files can remove certain features that existed in the documents created using iWork '09. Due to this, if you need to share files with people who are still on the old iWork that make use of such features, then you would need the old version of iWork to do this. This has brought about the opposite question…

When opening one of my files that I created using the iWork '09 Pages in the new Pages, some things were broken:

iWork '09 can be uninstalled simply by deleting the iWork '09 folder, however for a more complete uninstallation you can use an app such as AppCleaner to remove the preference files and other associated files, however beware that using such an app will probably not be able to tell the difference between the two versions, so any settings that you have set in the new iWork apps will be deleted if you attempt to clean the associated files. If you installed iWork '09 through a retail CD, the app data is not sandboxed, and you can tell whether the data is related to iWork '09 or the new iWork by checking the location of the files - if they are in the sandbox, they are for the new iWork. Unfortunately, this doesn't work if you installed iWork '09 through the Mac App Store. If you don't care for your settings in the new iWork (i.e. you haven't run it yet) then there should be no problems running AppCleaner since there should be no preference files for the new iWork yet.


Macbook Pro 2016 freezing after MacOS High Sierra 10.13.2 update

Try resetting your System Management Controller (SMC).
https://support.apple.com/en-gb/HT201295


Why won't my MacBook Pro connect to Wi-Fi networks that use a sign-in page (captive portal)?

I had this problem connecting to the local public library system network. The problem seems to be a result of my having specified DNS servers ((i.e. OpenDNS, Google, etc.)) in my Network preferences. The solution was to create a network location called "No DNS" which doesn't have any DNS servers defined and use that network location when I need to log into these networks.


Use Caps lock key to click without 3rd-party software

I don't know any way to do it without third party software, but it is possible with KeyRemap4MacBook and PCKeyboardHack.

First use PCKeyboardHack to change caps lock to F19. Then save this file as ~/Library/Application Support/KeyRemap4MacBook/private.xml:

<?xml version="1.0"?>
<root>
  <item>
    <name>f19toclick</name>
    <identifier>f19toclick</identifier>
    <autogen>__KeyToKey__ KeyCode::F19, PointingButton::LEFT</autogen>
  </item>
</root>

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


iOS third-party keyboard with functionality to swipe down on letters to enter numbers/symbols?

FancyKey by Pinssible Labs allows for this, and is the best replacement keyboard for iOS I've used. Setup is simple, and turning on Swype is as easy as switching to the FancyKey Keyboard, tapping the gear icon, and tapping the "Swipe input" switch on. Your keyboard with default to the custom keyboard until you change it by tapping the globe icon.


Macbook crashes at startup after process bar appears

If your hard drive was clicking audibly, I'd say the actual hard drive has failed. Even if it did stop doing it as often, that's basically the Death Rattle as far as hard drives go.
The below is a copy-paste of an answer for how to get a Macbook booting again through a really base-level disk repair, but it doesn't always work. Give it a shot, but I really recommend you call up AppleCare or go to your nearest Apple Store or Apple Authorised Repairer to organise service and have the hard drive and hard drive cable replaced.
I've modified the following a little bit from the source, since it was referring to a few things not relevant here.
Ultimately, I just hope you already have a backup.

Try a filesystem check from Single-User Mode
Start up the Mac while holding option, and then select your Macintosh HD, and before pressing the return key, press and hold the Command key and the S key. while holding them, press return, and once the screen goes black and text appears, let of of the Command and S keys.
When it finishes loading, you'll get a section of text as follows:
Singleuser boot -- fsck not done
Root device is read-only
If you want to make modifications to files:
    /sbin/fsck -fy
    /sbin/mount -uw /
if you wish to boot the system:
    exit
:/ root#

Some other messages may pop up after that, but once you see that on your screen, type that first sbin command:
/sbin/fsck -fy

That'll go though, check your filesystem for errors, and try to repair them, and if it does, then it will recheck, and rerepair if needed, up to three times.
Keep running that till it doesn't bring up "repairing" messages, or you get the EXACT same repairing messages twice in a row.
At that point, type reboot and see if it starts up. This is similar to using Recovery HD's disk utility to repair disk, but definitely has a higher success rate.
If at any point you get a:
Read: I/O error

then it means either the Hard Drive, Hard drive Cable or SATA controller is failing.
If you get up to your user account screen, when you type in your password, hold the shift key and then press the return key, and let go of the shift key when you see your desktop, so that you start up with the minimum startup applications and processes.
If you get it booting, I recommend copying all your files off to another disk, reformatting your Macintosh HD volume and Reinstalling OS X, since the FSCK single user method mostly just gets your drive to a workable state but doesn't usually prevent it from degrading in the future.

Again, if the drive has previously been making clicking sounds, get it serviced, preferably before your Warranty runs out.
If you can get a reservation at a nearby Apple Store, they may be able to get you started up from their network and you might be able to copy files from your computer to an external hard drive, so if you need to be able to do that, take an external hard drive in with you.
If you're going to a Authorised Repairer, but it isn't an Apple Store, they'll probably charge to do they same thing, but still worth it if you don't have a backup.


Support for special Natural Ergonomic Keyboard 4000 hotkeys on OS X 10.11

You can use ControllerMate by Ordered Bytes (costs $25) to regain control over the special keys of the Natural Ergonomic 4000. It should recognise all keys, even the shortcut keys.

Note: To get the "My Favourites" keys working, download the profile at: http://www.orderedbytes.com/controllermate/compatibility/#microsoft/ergonomic_keyboard_4000


Did you try this?

Finder and Dock issues in OSX 10.10.1

I had the same exact problem and it was definitely caused by Pushbullet extension in Chrome. Disabled completely the extension, restarted the system and the dock started working.
Don't know if it was caused specifically by the "Universal copy & paste" option being enabled or the extension as a whole, would have to investigate this further. Hope this helps.


Adding third display to a MacBookPro via Thunderbolt port ?

You can daisy-chain 2 Apple Thunderbolt Displays. If the first is an Apple Thunderbolt Display, you might be able to do MiniDisplay Port to HDMI off that display to a third-party HDMI monitor.


Can you upgrade your iOS device on a computer that it is not synced to?

Yes you can.

It's not a smooth process, since that computer will back up all the data and app packages for all your apps, then restore that backup data but it won't have the apps or music that doesn't get backed up as part of the backup process.

It will work, but you might want to transfer purchases / authorize that computer for a more transparent upgrade process. You can't really know it worked if you don't reload the apps after you restore your "backup".

There's nothing preventing you from doing this and then restoring your backup when your upgraded phone gets back to the computer from the last backup. You have to keep track of things and not do work that will get wiped when you load an older backup, but I've done this many, many times and it works well when you understand a bit how backups work.

iPhone and iPod touch: About backups


How can an AppleScript droplet give me a list of names of Finder items?

One solution I've found is rather more complicated than I thought it would be.

I'll paste it here for anyone interested in doing the same thing, and in the hope that someone has some simpler solution!

on open Dropped_Files
    tell application "Finder"
        set theList to {""}
        repeat with i from 1 to count of Dropped_Files
            set NameOfFile to name of (item i of Dropped_Files)
            set AppleScript's text item delimiters to return
            set NameOfFile2 to (NameOfFile as string) & return
            copy NameOfFile2 to end of theList
        end repeat
        set AppleScript's text item delimiters to ""
        set the clipboard to theList as string
    end tell
    nextStage(theList)
end open

on nextStage(theList)
    set songList to "Macintosh HD:Applications:Automator stuff:01b iTunes Scripts:SongLust.txt"
    tell application "TextWrangler"...

And so on to the bit that pastes it into TextWrangler.


Do you have a Recovery Key issued by Apple? I know that when I was updating my security questions or my AppleID that they issued me a Recovery Key which is used to access your account when you forget your password, security questions, etc. If not, I would most likely go to an Apple Store to see if they can help sort this out. Hope this helps and good luck.