How can I use iMac internet in my iPod touch?

Yes !

You can share you internet connection via Wi-Fi in the "Sharing" preference pane of System preferences. Once activated, your iPod touch will detect a Wi-Fi network that you can join to share the internet connection of your iMac.

(if you're on Lion, replace "Airport" by "Wi-Fi")

Open System preferences
Click on "Sharing"
Click on "Internet sharing" (but don't check the checkbox yet)
Select "Ethernet" in the dropdown menu "Share your connection from"
Check "Airport" in the list "via"
Click "Airport options" to configure wireless network security
Check the checkbox in front of "Internet sharing" in the list on the left to activate it.
If Airport is turned off, it'll ask you if it can turn it on, say yes.
Connect to the created network with you iPod touch as you would do for any wireless network.


How to mount ext4 partition on OS X 10.8.2?

Instead of installing ext4fuse yourself, try using homebrew to install it. (This is the method recommended by the developer.)
Read the developer's install page here.

Incidentally, if you're from Linux you're probably used to using apt-get to install things. Homebrew describes itself as "The missing package manager for OS X", and makes it a lot easier to install a lot of linux ports. (For example, brew install ext4fuse will install ext4fuse. The advantage of homebrew is that it will automatically download and install dependencies for you.


Per the fixit-store: There is only one LCD glass panel for each model in a similar era (providing the "screen size" spec matches).

So, yes, as long as they are of a similar year!


How can I have Safari on OS X remember to permanently trust a website with my current location?

But what if there's a site that I trust in perpetuity?

If you want to trust a site in perpetuity check "Prompt for each website one time only" in Settings>Privacy, visit the site, in the sheet that appears check the option "Remember my decision and don't ask me again" and click the Allow button:

If you get prompted to allow Safari to use your location, press the OK button:

Note that the Cookies and Website Data>Details section in Safari:

doesn't mention whether a specific site can access your location information:

so you might lose track of which sites you allowed.

For more information visit this article: http://support.apple.com/en-us/HT5403


iMac making strange electrical clicking noises

There are only a few components in an iMac that can make clicking noises.
It's highly unlikely that it's your logic board or a component of your logic board, but the possibilities are:

Power Supply
Hard Drive
Speakers
CPU Fan

I've included a sample picture and the location of the components in the picture below

Power Supply
There are a number of components on the power supply that could be at fault here from capacitors, transformers, relays, etc.  I have provided the posterior view (what you are seeing in the top picture is the anterior) of the power supply

Hard Drive
You said you only have a 256GB SSD, so, it's unlikely that you have a traditional spinning hard drive, but, to make sure, issue the command diskutil list in Terminal and post the output
Speakers
It's not out of the realm of possibility that you have a malfunctioning speaker(s).  Try turning off the sound or better yet, plug in a headphone so it forces output to that device.  if the sound goes away, it will be something associated with your speakers
CPU fan
You said that the sound was more "clicking" than a whir or a hum.  However, it is still possible that some debris is interfering with the operation of the fan or it may be a defect in the motor.

How to fix
Based on your comments, I tend to agree that the power supply is the culprit given that it persists when the display is off or even while sleeping.
The good news here is that these components are relatively inexpensive. A quick search on Amazon  yields the power supply for about $120.  I have bought from this vendor for my own iMac and had good results (I am not affiliated with them).
The best option, if you don't have the tech skills to open this up is to have a pro take a look at it.  Be sure to include the video you linked in your comments.


What is "Safari services" listed in iOS cellular data usage?

According to Apple, Safari Services is a framework that application developers can utilize to integrate Safari behaviors and features into their applications. For example, when you open a link in Discord (a messaging app), it opens in a mini version of Safari, from which you can quickly return to your chat, or open the link in the 'full version' of Safari.

You might be seeing excessive data usage if you frequently open data-heavy websites like YouTube through other apps like Twitter, for example. I should note, however, that I tested this on my phone, running iOS 14.5 (18E5199a) and could not find the mentioned "Safari Services" category; instead, I see the relevant data usage attributed to Safari itself. It's possible that there has been a recent change regarding this behavior.


How to get data from a MacBook Pro hard drive on a Windows computer?

There are a number of variables we need to answer before we can answer the question around what kind of drive it is, and what format the drive was in.

If you can provide some more information I can tailor the answer to you a bit more:

What model of MacBook Pro is it (which year and specification)
What version operating system was the Mac running?
What actually happened to the Mac to stop it working?

In the mean time this will give you some idea of what to do:

Drive type

The type of drive your MacBook Pro will dictate how you connect the old MacBook Pro drive to your PC.

Soldered SSD

First consideration is that more modern MacBook Pros' drives are soldered onto the logic board of the computer and cannot be easily removed, only Apple or an Apple Authorised Service Provider can retrieve this data.

This applies to MacBook Pro 2017 and 2018.

PCI Express SSD

This type of SSD is a removable stick, this can be removed easily using a take apart guide from iFixIt.com but would require a computer that supports this kind of SSD or a suitable adapter to read the data.

This applies to MacBook Pro models from 2013 to 2016.

SATA / IDE SSD or spinning drives

These are by far the easiest type of drive to remove and recover data from as they can be easily removed by following a take apart guide from iFixIt.com for your model, and the drive can then be connected to an appropriate USB to SATA or IDE adapter available readily on eBay or Amazon.

This applies to all models of MacBook Pro prior to 2013.

Drive format

After you've got the drive out the next question is whether it was running APFS or HFS+ file systems. if the drive is not a SSD i.e. it is a spinning disk it is most likely running HFS+.

HFS+

There are a number of applications available for Windows that can read HFS+ formatted drives, although I have no personal experience with using any of these this article suggests 4 options: https://www.makeuseof.com/tag/4-ways-read-mac-formatted-drive-windows/

APFS

If the computer is running APFS the options are more limited, there is some new software from Paragon which also now supports APFS apparently.

Alternatives

If you don't fancy using any Windows software to do this, or don't want to pay you could look at borrowing a friends Mac which would natively be able to read both HFS+ and APFS drives if it is running macOS High Sierra.

This would allow you to copy the files onto another hard drive running ExFAT or FAT32 file systems which work on both macOS and Windows.


Is there a way to share the internet connection from mac to a iphone surpassing 802.1x protection without using vpn from the internet?

Share your internet connection via WiFi

This worked for me in a similar situation. Shamelessly copied from apple support site, link below.

You can share your Internet connection with other users on your local network.

Open Sharing preferences if it isn’t already open (choose Apple menu > System Preferences, then click Sharing).
Select the Internet Sharing checkbox.
Click the “Share your connection from” pop-up menu, then choose the Internet connection you want to share. For example, if you’re connected to the Internet over Ethernet, choose Ethernet.
Select how you want to share your Internet connection in the “To computers using” list. For example, if you want to share your Internet connection over Wi-Fi, select Wi-Fi.
If you share your Internet connection using Wi-Fi, deselect the Internet Sharing checkbox, click Wi-Fi Options, give your network a name and password, then select the Internet Sharing checkbox again.

If your Internet connection and your local network use the same port (Ethernet, for example), investigate possible side effects before you turn on Internet sharing. In some cases, sharing your Internet connection disrupts the network. If you use a cable modem, for example, you might unintentionally affect the network settings of other ISP customers, and your ISP might terminate your service.

[https://support.apple.com/kb/PH18704?locale=en_US](support.apple.com share internet connection)


Does Apple have an email address, or must one call or mail them?

Although it's not listed anywhere on the site, support@apple.com is a valid email address - but it simply sends an automatic email back, and the address is not monitored.

You're better off with the many support options listed on their support site: http://www.apple.com/support/contact/


For comparisons, see: http://common-lisp.net/~dlw/LispSurvey.html

Agreed with the others: yes, use SBCL or CCL.

CCL makes it easier to invoke ObjC libraries, such as for writing native Mac Apps.  That becomes the tie-breaker for some.  (Personally, I've enjoyed using both but tend to stay current on SBCL as my main compiler for server software.)

For completeness:

CCL is Clozure CL (not to be confused with one spelled using "j" in middle, which is another dialect than Common Lisp).  SBCL compiles to faster code, and CCL has shorter compile times.  Both are solid compilers.

For targeting iOS/iPhone/iPad, there's been some success with ECL.  See: http://funcall.posterous.com/tag/iphone  But I wouldn't consider this a front-runner and haven't actually used it myself yet beyond samples posted on that blog.

Although MacOSX thread support is considered experimental with SBCL and self tests will fail if you compile from sources (which is required to enable threads), threads work well enough for most cases.  I've deployed heavily threaded production code by developing on MacOSX then releasing to servers running FreeBSD (which also has similar issues with threads) and Debian/Ubuntu Linux (very stable).  This has served me well for the past 5-6 years, including at a few start-ups.

QuickLisp (for obtaining libraries) is very stable on SBCL/MacOSX.  Haven't tried it on CCL but should be rock solid there too!


How do I make iTunes capable of deleting from my iPad?

This is a tricky thing to troubleshoot since once the iTunes tracking database or the iOS tracking database gets corrupt - what should sync and work starts to fail.

In the interest of putting out a concrete set of steps, here is how I fix things like this:

Make a quick judgment - should I just restore the iOS device and start fresh or are there things on the device I need to back up and save?
If I need to back things up, now I'm worried my backups might be corrupt too, so run one backup to iCloud and one to iTunes to be paranoid and safe.
Then I spend 5 minutes deleting things I don't need on the phone (calendars, Mail, contacts that exist in the cloud), game apps that I don't care about losing progress or can re-dowload or sync via iCloud.
Test the sync again.
Continue spending 5 minutes paring non-essentials and testing until I'm left with just the really important things on the phone. I then export them or back them up and then erase the iOS device.

Again, it's painful to erase things and start over, but my experience is that this problem is almost always on the iOS device and can be cured by an erase and setting up sync again from scratch.

You could try the opposite tack / work from iTunes and stop syncing things one by one until you find the item or class that is causing issues. I've seen that work too, but it seems to fail to cure the underlying problem and I'll be back in iTunes micromanaging the sync settings in a week or a month so I now go for the erase / reinstall option.

The benefit of an erase install is that you test your backup and you have the chance to examine the things you care about / ditch the cruft that is on your phone. Rather than being forced to learn if your backup works when you lose a device or break it - you will learn now if restoring works and have chosen the time to test your restore.

Good Luck - hopefully you don't need to go all the way to erasing and setting up a new phone, but if you do and it fails, you can look squarely at your iTunes to blame for the issue.


Database program with CSV import and ad-hoc SQL queries?

Filemaker Pro will be your best bet overall. It is easier to use than Access, and will give you what you want and more. It's going to be a learning curve with anything if you're used to Access, so just jump in to one of them.

Filemaker Pro -

http://www.filemaker.com/products/filemaker-pro/

If you're wanting to do something SQL related though, then I'd check out the following: Sequelpro; Querious; Navicat; or MySQL Workbench.

Sequelpro is best out of all of these though, in my opinion, and it's completely free. Bam!

http://www.sequelpro.com/


Can I charge a DC 5V - 2.15 A power bank with an Apple Macbook charger?

Yes, that is entirely possible. The power bank accepts standard USB power, and the MacBook charger with USB-C will be just that when you add the USB-C to micro-USB cable.

Note ofcourse that it won't charge faster than the standard charger. Even though the MacBook charger is a 29W charger, it won't charge your power bank at the full rate (instead it will charge at somewhere between 2.6W and 7.8W - most probably at 4.68W).


How can I add a Shortcut to my Apple Watch Home screen?

Unfortunately, this is not currently possible.  Shortcut icons on the iOS home screen are not technically "Apps" and the Apple Watch home screen only shows apps which you choose to show from the "Available Apps" section in the iOS Watch app.

For now, you'll have to continue using Siri.


Computer name keeps changing OSX 10.10 (14A389)

Go to Macintosh HD > Library > Preferences > SystemConfiguration
and delete the following files:

com.apple.airport.preferences.plist
NetworkInterfaces.plist
preferences.plist

Then reboot the Mac.

The host names should be recreated correctly.

(According to http://forums.imore.com/os-x-yosemite-10-10/304804-my-computer-name-changing-10-10-a.html these are instructions provided by an Apple tech.)


Why iPad Music app says "No Content" and I cannot download music to it

The iTunes Store is separate from the App Store - it should have its own icon

this is from an iPhone but they should look similar…

As you discovered, iTunesU is for education - see https://www.apple.com/education/ipad/itunes-u/


Windows 10 minimum hard disk space required is 32GB.  You need to start there, add up whatever your games/apps are going to require and allocate that much to the Bootcamp partition.
You get this information by looking up the minimum system requirements for each thing you want to install and adding them up. As a suggestion, most will give two values - the minimum and the recommended.  Always go with the recommended amount.
The key is to research!  I wrote this as more of a “tutorial” of sorts to show future readers how to obtain this info because the next release of Windows, macOS and whatever additional software  will change the specifics. Here’s some links to get you started:

Bootcamp System Requirements
Windows 10 System requirements

Once I have everything accounted for based on the suggested values, I usually add 10% (like a contractor) as cushion. It better to “have and not need than need and not have.”


Missing CoreAudio process in Activity Monitor

The process coreaudiod runs under the system user _coreaudiod, not your own user. Activity Monitor in your screenshots has been filtered by processes running under your user, denoted by the ‘My Processes’ title. Choose View → All Processes to remove this filter, then your search for the process will return it.


You're not iterating through an array. $profilesToRemove is not an array, it's just some lines of text.
${(f)profilesToRemove} is very strange. Perhaps you meant $profilesToRemove?
for needs to begin on a new line (or ; separated from the previous statement).


How to sort by priority in iOS Reminders app?

As of today, the feature is not available.

You might want to try requesting it through Apple’s feedback site. For more details on how see "How should I submit bug reports and feature requests?" And make sure to read Unsolicited Idea Submission Policy prior to sharing any information.


It looks like you're attempting to execute the .jrnl_config file. You don't want to execute it, you want to edit it. i.e. nano ~/.jrnl_config or open ~/.jrnl_config.

In the error message, Bash is telling you that you don't have permission to execute the file. This is because execute permission isn't given to your user (or any user, most likely) for that file. This makes sense because the file isn't meant to be executed--it's a configuration file.


Why does 'uname -m' says 'i386' even if I'm on Macbook Pro on Intel Core 2 Duo?

It's because, by default, Mac OS X boots in 32-bit, excepts some recent models.

Quoted from Apple KB Mac OS X v10.6: Macs that use the 64-bit kernel :

This Mac uses the 64-bit kernel by default in Mac OS X v10.6 :

 - Mac Pro (Mid 2010)

These Macs use the 64-bit kernel by default in Mac OS X Server 10.6 :

 - Xserve (Early 2008) and later
 - Mac Pro (Early 2008) and later
 - Mac mini (Mid 2010)

These Macs support the 64-bit kernel, but do not use it by default :

 - iMac (Early 2008) and later
 - MacBook Pro (Early 2008) and later

Here is a little software that can help you to boot in 64-bit if your hardware supports it.


Is it possible to share an Ethernet connection to a secure wireless network in OS X on a MacBook Pro?

Go to the Search bar
System Preferences -> Sharing ->  Internet Sharing - Share your connection from ethernet -> to computers using Wifi -> Wifi Options -> Security WEP 128 Bit

This thread is the same as
How to share internet with WPA/WPA2 security?


How can I stop my iPad from asking me about logging in to iCloud?

Have you turned off all iCloud features?  To do that on your iOS device’s Home screen, go to Settings > iCloud, then tap to turn on or off iCloud features.

More information here: http://support.apple.com/kb/PH2613


Eventually, I'm answering my own question, because I finally found a way and I want to leave the complete solution here, in case someone struggles with a similar problem in the future.

The solution involves an amazing program called Poppler available through Homebrew, by brew install poppler. Poppler comes with a variety of pdf management tools, like pdfseparate and pdfunite featured in the script.

Without further ado, here's the script that I wrote:

#!/bin/bash

mkdir ~/Desktop/merging

# number of pdf files containing pages nr 1/2/3/...
n=6

for i in $(seq 1 $n); do
    # ${i}.pdf being a file containing pages nr i
    pdfseparate ~/Desktop/${i}.pdf ~/Desktop/merging/${i}_%d.pdf
done

number_of_pages=$(cd ~/Desktop/merging/; ls | wc -l)
number_of_pages_each=$((number_of_pages/n))

command="pdfunite"

for i in $(seq 1 ${number_of_pages_each}); do
    for j in $(seq 1 $n); do
        command="$command ~/Desktop/merging/${j}_${i}.pdf"
    done
done

command="$command ~/Desktop/output.pdf"

eval $command

# cleanup
rm -rf ~/Desktop/merging


Go to Settings > Trackpad > Point & Click and than enable "Tap to Click" and disable "Silent Clicking".


Can I get an older version of iTunes to get the App Store back?

Yes, Apple has released iTunes 12.6.3 which can be installed alongside the latest version of iTunes.

Apple released this version specially for Volume Purchase Programs users who may need to use iTunes to install apps. However, regular users can get this version too, if you want to get the App Store back.

  If you've already installed a newer version of iTunes, you can download this version of iTunes on your Mac, PC 32-bit or PC 64-bit* and run the installer. After installation is complete, you can continue to deploy apps with iTunes.

Also, this "special" version of iTunes includes compatibility with iOS 11, iPhone 8, iPhone 8 Plus, and iPhone X and supports both Windows and Mac.


In general, what you are suggesting is a Bad Idea™.

iOS devices such as iPad and iPhone do not have user accounts as you would have on a computer, where each user's data is stored separately and switching between accounts shows your data/apps/photos/etc. versus his. Simply signing in and out of an Apple ID on a device is not only time-consuming (to cover everything, there are at least 4-5 places I can think of off the top of my head where you'd have to log him out and you in, or vice-versa) but it's will wreak havoc with lots of things.

If you use iCloud calendars, they will either be deleted from the device each time you sign out, or if they are left, will be merged with the calendars of the next person who signs in. Notes stored in iCloud would be the same way. Calendars and notes don't necessarily take a huge amount of data, so maybe deleting them each time isn't that big a deal. What does take a lot of data is photos. If you use iCloud Photo Library, signing out will either delete all photos on the device (and therefore have to be re-downloaded each time you sign in), or if left, will be merged with the iCloud Photo Library of the next person to sign in (and eventually you'll end up with identical photo libraries).

If you use other systems for Calendars, Notes, and Email, such as Gmail, your stuff won't be accessible by just signing in and out of an Apple ID - you'd have to remove his account(s) and add yours, or vice-versa. That will cause all such data on the device to be deleted and have to be re-downloaded every time.

Apps do not get deleted by signing in and out, but by the same token, apps don't get downloaded just because you sign in. You can have apps purchased with different Apple IDs on the same device, but to update them, you have to be signed in with the ID that purchased them, which can create a headache. Also, app data, such as your progress in a game, does not go anywhere just by signing in and out. For games which don't have multiple save files (i.e. the majority of them), only one of you can save your progress. For other apps which contains data specific to one of you, the same idea applies.

The specific setting I mentioned in my comments requires signing in and out of iCloud, which I didn't think about when I mentioned it before. As mentioned above about calendars, notes, email, photos, etc. it would actually cause a lot of problems.

In short, no, it's not possible.


If the SSD is undamaged, yes. You could still open the Macbook Air, get the SSD and place it, either in other MacBook Air or those Enclosure things.

iFixit has a step-by-step guide for replacing the SSD.


How to convert a file with extended attributes to AppleDouble format?

I haven’t found a utility that’s specifically intended to convert to AppleDouble format, but I realized ditto and unzip can be (ab)used to do this: ditto will convert to AppleDouble format when adding a file to a zip archive. Extracting the archive using ditto converts it back, but this is not the case when using the regular unzip command which retains the two files in AppleDouble format. Thus, one can do:

$ ditto -c -k file.txt archive.zip; unzip -o archive.zip
Archive:  archive.zip
  inflating: file.txt
  inflating: ._file.txt

There must be a better way to do this, but I haven’t come across it yet.


Mavericks QuickTime player not recording computer audio

I was able to do this by going to Utilities>Audio Midi Setup

Click the + sign to add a new device, choose Create Aggregate Device and click both the Built-In Microphone and Built-In Output checkboxes. Then right click the Aggregate device you just created and choose. Use this for Sound Input. Now this device will appear as in input choice in QuickTime Player X.

Now open QuickTime Player X, choose New Screen Recording and click the drop down arrow. You will now see Aggregate Device as a Mic choice.


How to get Apple certificate to sign files?

Since your question involves support with a 3rd party product, it should typically be taken up with the concerned company. The information should ideally be available in their support document or you should be able to get the desired information via a customer support representative.

The following post on JAMF website should answer your concern:

Creating a Signing Certificate using Jamf Pro's Built-in Certificate Authority


After upgrading to High Sierra, I also noticed that there is some lag in Terminal.app after pressing Enter. I was able to fix it by doing this:

Go to Preferences > Profiles > Shell
In the "Run Command" box, write login -f <username> (replace <username> with your username)
Uncheck "Run inside shell"

I suspect that Terminal.app tries to integrate with the shell somehow and running bash indirectly fixes that.


How to enable the windows/linux-like "click to open/reduce windows" on the dock

Sounds like you just need to check "Minimize windows into application icon" in System Preferences → Dock.

The application will then get minimized into its own Dock icon and clicking it will restore it, exactly as you suggest (although the restore behaviour should also happen even if the icon is minimized into the right hand side of the Dock).


How to install framework (from pkg file) in a non-standard location?

You can safely install Python under /Library/Frameworks and not worry about it interfering with the "system" Python, although with a few symlinks and/or $PATH changes you can make it the default if you want.

As an alternative, you can install MacPorts and set its install root to whatever you want (the default is /opt/local, I believe, although this is configurable during setup), although the Python framework will still be installed under a Library/Frameworks subdirectory. I prefer the MacPorts distribution over the python.org one because there are many additional modules you can install which are pre-configured to build correctly, which isn't always the case when you use pip or easy_install, depending on what you're trying to build. MacPorts also has a pretty decent versioning system, allowing multiple versions to coexist side-by-side, with simple tools to switch between them. As an added bonus, the MacPorts Tcl is not "broken," so everything should work out of the box. YMMV :)


Wireless keyboard for mac keeps losing connection

Connect a wired USB keyboard / Mouse to the Mac (most any USB keyboard will do).  While holding Option + Shift click on the Bluetooth menu bar icon.  Go to Debug.  There is an an option to reset the Bluetooth module as well as factory resetting Apple Bluetooth devices.

Make sure your Mac is up-to-date with macOS and all updates
Charge the Apple Bluetooth devices fully
Perform the SMC Reset first
Reset the Bluetooth Module under the Bluetooth Debug menu (holding Option + Shift while clicking Bluetooth menu bar item)
Factory Reset the Apple Bluetooth Devices (Keyboard, etc.)
Re-pair the Apple Bluetooth devices from scratch

Check for any nearby devices that might be putting out a radio signal or EMF (Electro-Magnetic Field) Such as motorized fan, space heater, an old monitor, a radio transmitter, etc. Move them away from the Mac and your bluetooth devices. Don't plug them into the same power strip, etc. Check for other devices plugged into the Mac such as 3rd party docking stations, especially ones not actually certified by Apple (HP, etc.) try disconnecting them for awhile see if the problem goes away.
The Mac Mini M1 was plagued by bluetooth issues on Big Sur prior to 11.3.x. Latest release fixed all the bluetooth issues. Recommend using a tool such as SilentKnight to verify your firmware is up-to-date. There have been issues with Mac's updating macOS but failing to update the firmware. SilentKnight will let you know if you are missing the appropriate firmware update among other security updates.  You can find the free SilentKnight on the Eclectic Light Company website. https://eclecticlight.co make sure you search the site for "bluetooth" there are several blogs talking about disconnect issues and tooling to help trouble-shooting. Some USB3 devices have been known to disrupt Bluetooth. When connecting USB 3 devices to a USB-C port, Apple recommends using the front port on the left-hand side, or any USB-C port on the right side of the Mac. Use a longer USB-C cable and move the USB3 device further away from the antenna's for Wi-Fi / Bluetooth. Apple has a Wi-Fi and Bluetooth support page https://support.apple.com/en-gb/HT201542


show long filenames immediately in Mountain Lion when hovering mouse and key press

The tooltips are still shown in column view and icon view if you hover an item for about two seconds (no need to hold option). I don't know about list view though.

You can also select an item and press return to enter renaming mode.


AppStore won't install OS X 10.10.5 update

I updated from 10.10.4 and had the very same problem. Even after rebooting this loop did not end. I solved it by installing the update from the command line with this command:

softwareupdate -i -a

In order to issue this command, open the Terminal application and enter the command. The tool downloaded the software update package and installed it. At the end the tool notifies you to restart your system. After the restart 10.10.5 was installed and everything was fine.

For details about this tool see https://support.apple.com/en-us/HT200113


When I close my MacBook - my Ultrafine 4K display stays on (I want everything to sleep)

This is normal closed clamshell mode for the MacBook so you would need to script a sleep event or to sleep your display:

Control–Shift–Power button or
Control–Shift–Media Eject - https://support.apple.com/en-us/HT201236

You can make use of normal lock timeouts for screen sleeping, power savings and locking.

If you had no keyboard or input devices connected, it should sleep automatically once the system detects you can’t type or mouse with the lid shut.


How to use OS X's terminal to ping an IP using the latency as a stopping condition for a loop?

I guess there might be easier way, but it works for me:

#!/bin/bash

TRESHOLD=10

while $(true); do

    time=$(ping -c 1 google.com | grep time | cut -d ' ' -f 7 | cut -d '=' -f 2 | cut -d '.' -f 1)

    if [ $time -lt $TRESHOLD ]; then
        echo "Less than $TRESHOLD ($time), continue"
        sleep 1
    else
        echo "More than $TRESHOLD ($time), stop"
        exit
    fi

done

Outputs:

~ $ ./1.sh
Less than 10 (8), continue
Less than 10 (9), continue
Less than 10 (9), continue
Less than 10 (9), continue
Less than 10 (9), continue
More than 10 (11), stop
~ $


This, and other similar problems are commonly fixed with these 2 methods:

Method 1

Go to single-user mode CMD+S on boot). Type the following:

/sbin/fsck -fy

Hit enter, and then type

reboot

and then press enter. Now try making your partition again.

Method 2

If Method 1 did not work, you can boot into Recovery mode (CMD+R on boot), selecting disk utility, then HD and repairing disk and disk permissions. This time make your partition in Recovery rather than in normal boot


Use iOS shortcut to schedule an email to myself

I found I was able to do this, using the following steps.

Create a new calendar in Google Calendar (TempCal) that is set to email reminder notifications.
Link Google Account to iOS, to allow iOS Calendar app can access and edit TempCal.
Create a new shortcut, with these steps:
Adjust date - Add [time] to current event.
Add Calendar Event - Add [event name] from Adjusted Date to Adjusted Date to TempCal

When the event occurs, Google Calender emails me.
I made another shortcut to clear TempCal’s events. I set an automation to run this shortcut every evening.

Find all Calendar events when start date is in last 48 hours and Calendar is TempCal
Choose from Calendar events (select all initially and select multiple options checked)
Remove Calendar events - chosen events.


USB to serial Adapter not working after upgrade to El Capitan

Prolific has a new driver out that works with El Cap: http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=229&pcid=41


How to pin a window on top of other windows in OS X?

Try using Helium.  It uses a 'customizable translucency' to keep a window on top of other windows.  Plus, it won't intercept mouse clicks on top of it unless you want it to.

As of now, it only supports a browser window but the question doesn't indicate if that's a requirement of the OP or not.


Disk has multiple partitions but Disk Utility can only mount first one

macOS can't (actually won't - it could), it used to be possible with simple add-ons, but SIP has made most of these unusable.

There are paid options, but not sure if these are still usable with recent macOS.

You can read ext4 with a Linux Os, either a virtual machine, or boot from a live CD or image.


JavaScript run by AppleScript to click button and fill text in Safari

So unlike Chrome where you can just adding few line with different JS code,
in safari you have to added for each code do JavaScript and mention the document / tab

e.g :

tell application "Safari"
    delay 0.1
    do JavaScript "document.getElementById('accountEnabledSelection').value=1" in current tab of window 1
    do JavaScript "document.getElementsByName('demo')[0].click();" in current tab of window 1

end tell


How to execute Terminal command using selected text?

You can achieve this by making an automator workflow and saving it as a service.

Open Automator.app, choose to make a Service.

In the top menu set "Service receives selected" to "text" in "any application".

From the Actions, Library menu search for "Get Value of Variable" and drag to the right in the workflow area.  Again in the Actions, Library search for "Run AppleScript" and drag to the workflow area.

In the "Run AppleScript" action enter the flowing code:

on run {input, parameters}

    set terminalCommand to item 1 of input

    tell application "Terminal"
        activate
        do script terminalCommand
    end tell

    return input
end run

Add a variable by clicking on the little double bar icon at the bottom of the window and then right-clicking in the variables frame to create a new variable.  Name your variable anything you like.  When your done your workflow should look like below.  Save it and name it something like "Run in Terminal".  Now when your in a web browser you can right click and navigate to Services and you will see your "Run in Terminal" command, which will open up terminal and run the highlighted text.


Copy file from Terminal and paste in Mail

The following script works but it needs to open (and close) a Finder window.

Save this to maccopy:

#!/usr/bin/osascript
on run args
  set theFile to (POSIX file (first item of args)) as alias
  tell application "Finder"
      reopen
      activate
      set selection to {}
      reveal theFile
  end tell
  delay 1
  tell app "System Events"
      keystroke "c" using command down
  end tell
  tell application "Finder"
      close window 1
  end tell
  tell application "iTerm2"
      activate
  end tell
end

and chmod +x maccopy.

Use with maccopy PATH-TO-FILE.


To delete one or more iMessages from a conversation, tap & hold one message until the Copy | More float appears, then tap More.
You can than add or remove checkmarks from individual messages in that conversation & delete using the trash can, bottom left.

To delete an entire thread, from the overview drag the thread name to the left - a delete button will appear on the right.


Depending on the version of iTunes you have you may be able to do this. You need the last one that has App Management built in. This one to be specific.

As long as the needed app is listed in iTunes and you can find the .ipa file on your hard drive, it should be safe to delete the app from your phone and then sync with iTunes to put it back.

It has been a long time since I tried this, you might want to wait till someone else who has done this more recently can verify this just to be safe


How do I reclaim 36 GB of missing space on my iPhone?

You said you don't want to wipe the phone and reset it, but what about restoring it from a backup? During an iCloud restore, iOS re-downloads most of what it needs from Apple’s servers, so the process might reclaim your lost space, since iOS wouldn’t assign it to anything that isn't actually using it. After the restore, your phone would be returned to the same state you left it in.


Mapping port 80 to 8080 but maintain explicit 8080 access

Before answering your question, let me provide some background information for those unfamiliar with port forwarding on macOS: port forwarding involves replacing destination addresses and ports of incoming packets to redirect connections to different hosts and/or ports. macOS achieves port forwarding by applying rdr (redirection) rules to the packet filter device /dev/pf. For example, this rule:

rdr pass inet proto tcp from any to 213.32.64.5 port 80 -> 10.4.1.2 port 8080

forwards incoming IPv4 packets sent to 213.32.64.5:80 to 10.4.1.2:8080 (the pass keyword prevents redirected packets from being blocked by filter rules, see here for more information). To apply the rule, you can either use pfctl or modify /etc/pf.conf, as explained here. For more information on rdr rules, see man pf.conf.

Now to your question:

  How do I configure port forwarding in such a way that both
  localhost:8080 and localhost will send requests to my local server?

To be able to access both the original and the redirected port reliably, you must exclude the destination address and port (127.0.0.1:8080) from being redirected:

echo 'no rdr inet proto tcp from 127.0.0.1 port 8080
rdr inet proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8080
' | sudo pfctl -ef -

(Tested on a clean install of macOS High Sierra 10.13.6.)

The command above will overwrite all existing rules, so I'd recommend it only for testing. You can then reload your Mac's default packet filter rules with sudo pfctl -F all -ef /etc/pf.conf and add the rules:

no rdr inet proto tcp from 127.0.0.1 port 8080
rdr inet proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8080

to pf.conf as explained here.

  I followed the instructions in this answer to map port 8080 to 80 on
  my mac. This works a treat, except for the fact that I can no longer
  access http://localhost:8080 explicitly through Chrome (it never
  responds).

This comment on Sal Ferrarello's blog describes a similar behavior. I was able to reproduce it, but in my tests the connection to port 8080 worked intermittently, or more precisely: I could load  http://127.0.0.1:8080, but after that first connection, clicking any link on the website timed out. Some time later, though, I was able to connect once again, just to experience in any subsequent connections the same time-outs as before.

I had to do quite a bit of packet sniffing, I'd like to share the commands I used to log packets that match the rdr rule (that's what the log parameter below is for) using the "pflog0" pseudo-device (see man pflog and man pf.conf for details):

echo 'no rdr log inet proto tcp from 127.0.0.1 port 8080
rdr inet log proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8080
' | sudo pfctl -ef -
sudo ifconfig pflog0 create
sudo tcpdump -X -n -e -i pflog0


How can I add a voiceover to my Keynote presentation?

Go to Play → Record Slideshow and click the Record button at the bottom to begin.


New MacBook Pro slow performance, battery not working

The problems were resolved by Apple servicing the hardware.


Gray screen immediately upon boot. Cannot enter into safe mode, and cannot show boot loader with the Alt key.

You could also try holding command-R to start up in recovery mode, option-command-R to start up in Internet recovery mode, or command-S to start up in Internet recovery mode. Or try using Recovery Disk Assistant to create a recovery partition on an external disk.

If you can somehow start up from the recovery system, one thing you can try is to choose the Reinstall OS X option. It downloads and installs a new copy of OS X over your existing installation and keeps user files and settings in place. It fixed a problem I had where my Mac got stuck during the startup process. (I don't remember what part it was though, and I was able to start up in single user mode and from the recovery partition.)

If nothing else works, you could try replacing the hard drive with an empty drive. Since your Mac has firmware support for Internet recovery mode, it would normally start downloading a disk image for the recovery system from Apple's servers, and then allow you to install a new copy of OS X on the empty drive.


What does serverperfmode=1 actually do on macOS?

Turning on Server Performance Mode essentially increases some kernel/net parameters related to the max number of possible/allowed processes and connections and modifies some memory/timer settings:

...
kern.maxvnodes: 66560 > 300000
kern.maxproc: 1064 > 5000
...
kern.maxfilesperproc: 10240 > 150000
kern.maxprocperuid: 709 > 3750
kern.ipc.maxsockbuf: 4194304 > 8388608
...
kern.ipc.somaxconn: 128 > 1024
...
kern.ipc.nmbclusters: 32768 > 65536
...
kern.ipc.sbmb_cnt_peak: 1120 > 1170
...
kern.ipc.njcl: 10920 > 21840
...
kern.timer.longterm.qlen: 100 > 0
kern.timer.longterm.threshold: 1000 > 0
...
net.inet.ip.maxfragpackets: 1024 > 2048
...
net.inet.tcp.tcbhashsize: 4096 > 8192
...
net.inet.tcp.fastopen_backlog: 10 > 200
...
net.inet6.ip6.maxfragpackets: 1024 > 2048
...
net.inet6.ip6.maxfrags: 2048 > 4096
#and some very special vm page-outs/compressor and and memory/cache settings

The goal is to allow more open files (especially needed for web servers) and connections to serve more clients at the same time and discarding single server threads faster from memory/virtual memory (if I interpret certain modifications correctly).

In the past, Apple released a different OS and now that server loads on top of the consumer OS some basic tuning can help the operating system run processes for 25 users that connect to a server instead of being tuned for one person using the OS. These tunings are just a starting point - anyone that wants their server to perform under high load needs to customize and monitor things at a far more detailed level than having performance mode on or off.

Also, these limits are mostly for preventing bad software from bringing down a server by exhausting limited resources like inter process communications signaling channels (ipc). On a system where one user is running, you want to halt a runaway process sooner than if there are dozens of processes running for dozens of users. The "performance" can be seen as raising some hard limits as opposed to "serve one file or one web page faster".


Time Machine: disk was not ejected properly

This happens because of a USB Sleep issue with some external usb devices. This happens when the USB disk is put on sleep.

Some people claim that this problem is solved by disabling Put the hard disk(s) to sleep when possible in the Energy Saver preferences pane.


I downloaded malware called extended icons from skype - removal?

Dang. Sorry to hear about the hassle.

You may get some mileage out of ClamXav from the malware/antivirus side:

http://www.clamxav.com/

Additionally, you may want to run AdwareMedic to search out and remove any adware that may additionally have been deposited:

http://www.adwaremedic.com/index.php


What can cause the volume keys to not work but show the prohibitory sign instead of changing volume?

I have experienced this issue starting with my new install of Lion. I haven't been able to find the cause of the issue but I do have a quick way to reset the audio system and get back volume control.

Open Activity Monitor (Its in Applications/Utilities)

Make sure it is set to All Processes, look for coreaudiod, click "Quit Process" then "Quit". Wait a few seconds and you should have volume control back.

If your a terminal buff a quick sudo killall coreaudiod should whip it into shape.


i ran also in the exact same issue. Apple Forums did not really lead to a solution.

Rebooting on the other hand solved the issue completely.


How to install OS X Mavericks if disk only has Windows on it?

You can use Internet Recovery if the normal Recovery HD won't boot.

Boot whilst holding ⌘⌥R until you get the spinning globe.


Sharing users between Mountain Lion and Snow Leopard -- will this break user preferences?

I strongly suspect that sharing a single home directory across different OS Xs will cause you problems. For example, after upgrading from Lion to Mountain Lion both Calendar.app and Mail.app had to upgrade my local data (i.e. calendars and mail boxes respectively). My hunch would be that the upgraded data would no longer be accessible from the older OSs.


MacOS native HID driver does not support touch screens.  Some touch devices switch to single touch 'mouse' emulation when plugged into a non Windows system, many don't and stay in Windows HID multi-touch mode not supported by MacOS.  We supply a MacOS multi-touch driver that mimics a Apple track pad and much more.  Further details are available at www.touch-base.com
You might also check a product USB Overdrive, they don’t explicitly mention touch screens, but they have long provided quality software for Mac and input devices and are fully ready for Catalina. Further detauils on that are at https://www.usboverdrive.com/


Custom ukelele layout - cmd-w and similar shortcuts not working

So the problem is solved by going to Modifiers tab and adding one for CMD down key, then selecting to switch to QWERTY layout when CMD is pressed. Same can be repeated for CMD+SHIFT down.


Has anyone ever tried to use an iPhone as web server?

Yes, this has been done. Here is some articles about one of the ways it has been done:

The iPhone Becomes a Web Server
iPhone ‘Personal Data Center’ Debuts in US

And this is the product:

http://serversman.com/index_en.jsp


My clock is slow over long period of time - Macbook Pro 2011 13"

The clock time is keep by a battery or capacitor on some models. It is a small battery on the motherboard and used when the computer is off.

When the computer is on and online it will automatically update the clock time.

Normally that battery last 3-5 years.

Try setting the time manually, by getting the actual update for apple time server.

  sudo ntpdate -u time.apple.com

then you will see something like

  8 Jun 14:30:11 ntpdate[28267]: adjust time server 17.151.16.14 offset
  0.000336 sec

You generally don’t need to do this if you use the “Set date and time automatically” feature within the Date & Time settings.

If that did not work, reset your SMC and PRAM (System management Controller)

I can not believe it is your battery but everything is possible :(. Assuming you do not have 2 left hands, you could do that your self.


Macworld has a chart with a lot of that info here http://www.macworld.com/article/158361/2011/03/compare_ipad_data_plans.html

They also note (for your pre/post paid question):

  That means that you can sign up for a month, cancel the plan afterwards, and then sign up for a separate month at some point in the future. However, while AT&T now offers both prepaid and postpaid options for data plans, Verizon only allows you to pay for data upfront.

As far as termination fee, neither are charging activation it looks like either (in the US). So you don't have to terminate it like a normal phone/data plan, you just pay for it the months you use it.


No watch face is allowed to update often when dimmed to save battery.
You can make the watch face stay on for longer before dimming when turned on by tapping. Go to Watch settings on Apple Watch or the Watch app on iOS, choose General → Wake Screen and set On Tap: Wake for 70 Seconds.


Another thing to try is to use Screen Sharing directly. This means:

Turn on Screen Sharing from the Sharing preferences
If the computers aren't on the same network, set up port forwarding for port 5900
Open Screen Sharing from /System/Library/CoreServices/, type in the IP address of the other machine and connect.


How can I configure OS X Mavericks to use a UK PC keyboard layout?

If the British PC layout from apple is not right, some alternatives can be found at

http://liyang.hu/osx-british.xhtml


You can set up an @icloud.com address by following these instructions.

Keep in mind that you can't change an iCloud address once set up.


Windows Key when running Win 8.1 in Boot Camp on a Mac

Is this just a problem with Windows 8? With Windows 7 running in Boot Camp, the ⌘ Cmd by itself acts as the ⊞ Win. If I tap just the ⌘ Cmd, the Start Menu pops up. If I type ⌘ Cmd-L, my screen will lock.

Within Windows, you may want to check "Apple Software Update" to see if any new drivers are available. Also check the Keyboard tab in the Boot Camp control panel. In the Boot Camp control panel there is also a Help button, and one of the topics mentions that you can use the "Add or Remove Programs" control panel to remove the Boot Camp drivers if you want to reinstall to ensure a fresh installation.


Is there no way to display an o with a macron (ō) in the Gill Sans supplied with OSX / iOS?

I just checked the font, and it's correct, that character is not there in Gill Sans, Gill Sans Bold, Gill Sans Italic, or Gill Sans Light Italic.  In fact, I've been checking out Monotype who made the font files, and they don't have that character in most of their versions of the typeface either.  Monotype does offer a Gill Sans Cyrillic Volume which you could license, if Gill Sans and the o with a macron are both essential to your app.

From Monotype's site, here's a sample of Gill Sans Cyrillic Regular:


Try using the key code command:

osascript -e 'tell app "System Events" to key code 87'

See Events.h for the key codes. Here are the key codes for all numpad keys:

65 KeypadDecimal
67 KeypadMultiply
69 KeypadPlus
71 KeypadClear
75 KeypadDivide
76 KeypadEnter
78 KeypadMinus
81 KeypadEquals
82 Keypad0
83 Keypad1
84 Keypad2
85 Keypad3
86 Keypad4
87 Keypad5
88 Keypad6
89 Keypad7
91 Keypad8
92 Keypad9


I found out that this would work:
pip3 install --global-option=build_ext  --global-option="-I`xcrun --show-sdk-path`/usr/include/libxml2" ovirt-engine-sdk-python

This specifically adds the path to libxml2 to the include path. How to solve this in a more general way I do not know however.


How do I copy a Google search URL in iOS Safari?

Tap the sharing sheet at the bottom (the icon in the middle)
Select "Copy"


Why does my 3TB Seagate HD keep formatting as a Logical Volume Group

I also have this issue... MacPro, 3TB drive (Seagate). I have to use the terminal:

diskutil list
diskutil unmount /dev/disk22
diskutil eraseDisk HFS+ "Macintosh HD" /dev/disk22

etc etc to utilize this drive correctly. (Sorry for all the commands. Posting them just in case it helps someone. Though anyone using those commands better know what they do first!)


Turned out my MacBook suddenly developed a problem with temperature. I added something to the bottom of it so it has more air to breath and since then it was stable.


How can I convert this Bash prompt to zsh?

As others have already mentioned, there are built-in sequences for setting colours, like %F{red}. If you want to include more exotic terminal control codes, you can do it like this:
PS1=$'%{\e[1m%}%m%{\e[0m%}'

(This should make the prompt display your hostname in boldface, on most typical terminals.) There are two things to notice here

Using the $'... ' quoting mechanism to include control characters in the string. This is described under QUOTING in the zshmisc(1) man page. (In other words, this is what makes \e work).

Using %{...%} to indicate that the enclosed sequence does not cause the cursor to move.

(%m expands to the host name. This is described under PROMPT SEQUENCES in zshmisc(1), but you probably knew this already.)

(Alright then, three things. Monty Python fans will know what reference I would put here, others won't care. :-) )


My iPhone 4S power button is no longer functioning properly

The first thing to do is to request service from Apple or an Apple Authorized service provider. They will diagnose exactly what's wrong, whether they can cover it and what the cost would be for an "Apple" repair, which for a home button means the device is swapped with a new/refurbished unit.
If they deny warranty service, you can clarify if it's due to time or some other reason. At that point, if it's purely a time issue - you might be able to request a consumer law exception here:

http://www.apple.com/legal/warranty/statutoryrights.html

Just because Apple's warranty is one year, you are also covered any statutory time periods which in Europe is generally 2 years. It's important to present the device for service (online or in person) as soon as you can. Here are some pertinent footnotes from the page above:

In most EU member states, consumers may only claim for defects that were present on delivery.
The burden to prove that the defect (including latent defects) existed on delivery generally shifts to the consumer after the expiry of a period of 6 months from date of delivery.
In most EU member states, consumers may only claim consumer law rights against the seller from whom they purchased the product.

So if you didn't buy it from Apple, your consumer law claim would need to go to your vendor and not the manufacturer (since in that case they wouldn't be the same). Also, it's not an open-shut case since there could have been a latent defect present at manufacture, but it could also be a case where a physical switch failed due to normal use. I would presume Apple would take care of you if it were clear to them that there were a defect at assembly, but I don't know how they would procedurally come to that conclusion. I don't suppose each genius bar would open and look for a defect under the home button or if they would have a policy or if each case is handled as they arrive.
It's pretty easy to read up on this, but I would be interested in hearing how this actually went from someone in the UK to give you concrete advice.


How strong is mac login password protection?

Your Mac password is well protected by macOS in every way. If you are so worried that someone might be able to crack your password, simply enable FileVault Encryption and a Firmware Password. This will prevent others from using Recovery Mode attacks which is the only way possible to extract the password hash and crack your Mac password. Even if your Mac login password's hash is extracted, it is very difficult to crack and may even take days for dedicated applications to crack. Your password would be just as secure whether it was your regular Mac password or a 1Password generated password as long as you have FileVault and a Firmware Password turned on. Even without both, your password is very secure but it is recommended to have both of those enabled.


Carbon Copy Cloner and FileVault Volumes

I replied earlier with an answer without noticing you had tagged it as Lion related; take a look at this document, it should answer most of your questions.

From the Developer of CCC:

↘ link

  Is there any possibility to have the backup on my other second drive be encrypted?

  Yes, you can enable encryption on your backup volume, or reformat it
  as encrypted using Disk Utility:

  Full Disk Encryption (Lion only)

  CCC fully supports Lion's Full Disk Encryption.


Convert whole library to new .HEIC format

At present, September 2017, no. You will begin to take new photos in HEIC format once all of your iCloud synced devices in iOS and macOS have a version of the os and Photos app to support the new compression formats.

Then, images will begin to collect in the new format. Presumably over time, it might get added either a until it’s to process or just a feature to go back and evaluate / reprocess the images if the potential savings are substantial.

My hunch is that this would first be used with people using iCloud photo libraries and enabling the reduce file space option on some devices that then actually need space. The system will then be looking to offload / resample images anyhow and signal the willingness to have a transformation made to save space. Let’s see what heppens as this format rolls out this fall.


What makes Thunderbolt 2 adapter more expensive than TB 3 or USB-C?

Thunderbolt is expensive because of two reasons:

Licensing fees required by Intel (initially co-developed with Apple but Intel gained all rights in 2012)
Technical requirement of having a Thunderbolt controller module on both the host and peripheral device

Because of the licensing requirements that Intel had, any peripheral product had to pay a royalty to Intel.  So, it was expensive to PC and motherboard manufactures because they had to pay both a license fee and incurred development costs to integrate it into their products.

In comparison to USB, the licensing fees are nominal, making it very cost effective to utilize USB in their products.

However, with the introduction of Thunderbolt 3, Intel removed the licensing fee and they started integrating the technology directly into their processors meaning that it’s now much easier and far cheaper to integrate Thunderbolt into new computers.

As far as compatibility, Thunderbolt 3 is backward compatible with both 1 and 2.  However, it will require an adapter because unlike Thunderbolt 3, Thunderbolt 1 & 2 require an active (powered) cable; the protocol is still the same.

  you can buy an identical hub for the thunderbolt 3(USB-c) connector with price under 15 bucks.

This is a common misconception.  Thunderbolt 3 only uses the USB-C connector, but they are not the same. Thunderbolt 3 is several technologies in one as opposed to just USB:

PCIe
DisplayPort
USB 3.2 (soon to be USB 4)
Power Delivery

It’s the PCIe bus that is key here.  It allows for greater flexibility in terms of peripheral interconnect.  For example, you can hang a PCIe expansion chassis of your laptop and add external GPUs for gaming or data/number crunching applications.

From a personal standpoint, I have used both USB and Thunderbolt Ethernet adapters and found that the Thunderbolt adapters utilized less CPU, especially during heavy load, than their USB counterparts.


Retrieve hard drive information from dead Macbook Pro

Depending on how/why yours is broken - If you know someone with another Mac with Thunderbolt you can connect the two together and use your hard-drive to boot his laptop. Apple's instructions are here: https://support.apple.com/kb/ph10725?locale=en_US It's the same procedure across all recent OS versions.

Otherwise, you need something like this to pull our the M2 SSD, and turn it into a standard desktop external drive: https://www.amazon.com/ZTC-Enclosure-Adapter-SuperSpeed-ZTC-EN004-BK/dp/B00KQ4LNJC or https://www.amazon.com/StarTech-com-M-2-SATA-External-Enclosure/dp/B00T8F298Y

Goes without saying though, if the drive is broken, doesn't what you or how you plug it in - it's broken.

Further reading: http://www.everymac.com/systems/apple/macbook_pro/macbook-pro-retina-display-faq/macbook-pro-retina-display-how-to-upgrade-ssd-storage.html


How to exercise a new hard drive by erasing multiple times with Disk Utility app?

The secure erase feature indeed seems to be gone (or it's a bug).

Open Terminal and enter diskutil list to see a list of your attached drives. In the following example, notice a pair of drives are identified: /dev/disk0 (internal) and /dev/disk2 (external) - disk1 is related with the Apple CoreStorage partition disk0s2.

your_prompt_here% diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Mars                    999.7 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Mars                   +999.3 GB   disk1
                                 Logical Volume on disk0s2
                                 E98790BC-D2CA-4FA8-AE28-9DB646C790E0
                                 Unencrypted
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:                  Apple_HFS parallels_bu            999.9 GB   disk2s2

Unmount the disk you want to erase with (below I assume the disk idenitifer is disk2:

diskutil umountDisk /dev/disk2

Then erase the disk with:

diskutil secureErase level /dev/disk2

…where you replace that word level with one of the following:

0 - Single-pass zeros.
1 - Single-pass random numbers.
2 - US DoD 7-pass secure erase.
3 - Gutmann algorithm 35-pass secure erase.
4 - US DoE 3-pass secure erase.

Level 0 should be sufficient to rewrite bogus data or map out bad blocks.

If you want to erase the free space on a volume use:

diskutil secureErase freespace level /dev/diskXsY

Ceterum autem censeo Disk Utility 15 esse delendam.


Move 'Pictures', 'Documents', 'Movies' etc folders

Art,

Do you have this working successfully?

Have you tried hiding the folders using something like:

chflags hidden ~/Documents

Then creating a link to it such as (in Terminal):

cd ~
mkdir stuff
cd stuff
ln -s ~/Documents

I believe that this will hide the ~/Documents folder from the Finder but it will still be there so anything writing to it will work OK.  In addition you will see the link in ~/stuff...


Yes, you can activate or deactivate FileVault later in the settings. Of course there will be a performance drop when running FileVault, but only so little, that you would have a very hard time measuring the slow down let alone having it affect your system in any meaningful way.

The system might take 10 seconds longer to boot at most and have a pause where you have to enter your password before the rest of the normal start up happens.


What is the app used to make this kind of videos? (examples inside the post)

They don't use any one app. I'm guessing they first change the desktop background to green and capture the screen with some screen capturing app, like Quicktime X for example.

They record and then they edit the video in either After Effects or Apple Motion, where they can key off all the green and make it a "3d layer". They take a screenshot of their windowless desktop and throw it behind the recorded window, maybe add some soft lights to create a dim shadow and after that its all a mater of playing with the camera.

In After Effects or Apple Motion you can also make the effect of "switching between monitors", like on the kickoff video. You simply put it all inside another composition, that atop the picture of a Macbook air, and then move it all together. You can think of Apple Motion and After Effects as the "Photoshop" of videos: you can make pretty cool stuff with them. I use After Effects ;)


Problem "do shell script" on curl – Works in Terminal, but not via "do shell script"

I've found the solution. The problem is, that homebrew installed an optional newer version of curl, but the command do shell script does use the old version.

After a hint from a friend I used which curl in terminal and apple script editor and get different results:

Terminal says: /opt/local/bin/curl
Apple Script do shell script says: /usr/bin/curl

So the solution for my problem is to force do shell sript to use the newer version via:

do shell script "/opt/local/bin/curl \"https://v.gd/create.php?format=simple&url=http://www.test.de\""


Audio book just becomes silent on iPhone after a few hours, no issue with desktop player

It may have been an issue with that iOS version, or the conversion program itself.

Ultimately, however, now that iOS 14 will be released this year, this question is largely unnecessary in 2020 and beyond.


Has anyone else seen "iPhone needs to cool down before you can use it"?

From the User's Guide:

  If the interior temperature of iPhone exceeds normal operating temperatures, you may experience the following as it attempts to regulate its temperature:

  iPhone stops charging
  display dims
  weak cellular signal
  temperature warning screen appears

  Important: You cannot use iPhone while the temperature warning screen is displayed except to make an emergency call. If none of the above measures succeeds in lowering the internal temperature, iPhone automatically goes into a deep sleep mode until it cools. You cannot make an emergency call when iPhone is in this mode. Move iPhone to a cooler location and wait a few minutes before trying to use iPhone again.

There have been numerous cases of all sorts of consumer electronics melting/exploding, and these have often been settled with lawsuits. It is appropriate that the iPhone take preemptive measures to avoid such accidents.


Creating a new file from a rectangular region of a PDF file

You can select the region of interest and hit copy. Then go to the file menu and select 'New from Clipboard'. A new PDF file is displayed with only your selection.

Quick workflow example...


How to avoid iOS devices being first selection when launching iPhoto

Iphoto>Preferences>General>Connecting A Camera>Opens No Application.

or

you can do it through the Image Capture application. There is a pane in the lower left where you can change the preferences when the iPhone is connected.

So
1. connect the phone
2. open Image Capture
3. change the settings for the iPhone which is treated as a camera.


localhost HTTP Audio Webstreaming Software for Mac?

VideoLAN can be used for streaming and it supports HTTP. Here is the list of supported streaming features. You may follow some guide.


Try GeekTool. Might be interesting to you.


Oxygen25 MIDI keyboard won't work with Pro Tools 9

You should contact the technical support people at both Avid/M-Audio and at Avid/Pro Tools (and unfortunately, in my experience, even though both companies are now owned by Avid, those divisions don't talk to each other much).

This is not the sort of problem that you can easily troubleshoot in a discussion forum like this one.

One thing that the tech support people at Avid will ask you: Did this combination of hardware and software ever work correctly, and now it is not working? Or have you never been able to use these together successfully?


MacBook Pro won't boot from USB installer or go into recovery. Tried everything

I would add this as a comment, but I don’t have enough reputation...

Did you use cmd+R for internet recovery?

The reason I ask is that I’m currently going through a similar problem with my 2011 MacBook Pro. My bootable USB installer failed when attempting a clean install. I tried internet recovery using cmd+R, but that failed too.

By using the advice in this post by boris42 to use cmd+opt+R, I was able to enter internet recovery mode and I am currently installing Lion (the only option available), and will upgrade further from there.


Why can’t I use a Live Photo as a wallpaper

iPhone 6 does not support live wallpapers. You need to use a jailbreak tweak like LiveWallEnabler to enable live wallpapers using long press on a device without 3D Touch hardware.


The volume primary SSD could not be repaired

Boot to Recovery HD, open in the menubar Utilities > Terminal. Enter df to get the name of your main volume (e.g. "Macintosh HD").

Enter diskutil verifyVolume /Volumes/Vol_name (e.g. diskutil verifyVolume "/Volumes/Macintosh HD").

Then repair the volume with diskutil repairVolume /Volumes/Vol_name.

If no main volume is mounted try diskutil list, determine the disk identifier of the main volume (e.g. disk0s2) and first enter diskutil verifyDisk /dev/disk0 and repair it if necessary with diskutil repairDisk /dev/disk0, then diskutil verifyVolume /dev/disk0s2 and repair it with diskutil repairVolume /dev/disk0s2.

If your SSD has a CoreStorage Logical Volume Group  diskutil repairDisk /dev/disk0 should already repair everything.

If this fails you usually have to use some third-party software like DiskWarrior to repair the volume or restore a (Time Machine-)backup.


MacBook Pro took a small tumble has minor scuffs on the right side

Nothing you can do without replacing the entire aluminum case, which probably isn't worth the trouble.

Since it's cosmetic damage, Apple's warranty won't cover it.
Maybe if you found a really skilled machinist, they could make it look better. But it would probably mess up the labels on the ports, so not worth it.


Distinctive slowdown across browsers on 10.9.1

As a additional debug method I would try to create a new system user and see if the problem persists.

In the past I have similar problems after installing VPN software. Even using the uninstaller the system was sluggish.

The truth is, us power users, usually abuse the OS installing thinking tools, browser extensions, preferences panes, command line tools... Some are beta or even alpha.

If this is your case installing a fresh system on a empty drive is probably the best solution.


Installing Packages through Recovery Mode

I haven't tried installing a package from Recovery, so this might not be the entire solution, but I've spotted something for you to try differently:

When you're in recovery, / is the root of the Recovery volume, not your own Mac's volumes. Recovery volumes are read only and you can't install things to that, not that I think you're wanting to anyway.

In recovery, your normal volumes are mounted to folders within /Volumes/. List that folder (ls /Volumes) to see the names of the volumes that are mounted, and choose the correct volume for -target.


Clearing NVRAM on Yosemite shows password entry

You can also from the terminal in Yosemite run:

sudo nvram -c

and then restart the computer.


Enhanced Dictation only works in English

Well, I have updated to El Capitan and the error is gone. It looks like a localization file was corrupt.

So, it seems that the solution is "Reinstall or upgrade your OS"


Login screen displays in the wrong place?

Rebooting to upgrade to 10.10.1 seems to have fixed the problem for now.


Locked iPod Touch, any options besides total system wipe

The easiest way to retrieve pictures from a disabled iPod/iPhone is as follows:

Create a new folder on your PC/Laptop called "Retrieved Pictures".
Connect your iPod/iPhone to your PC/Laptop via USB.
Open "My Computer".
Under "Devices" locate your iPod/iPhone.
Open the iPod/iPhone folder and locate a sub-folder called "DCIM".
In the "DCIM" folder you will find all of your pictures.
Cut all of the pictures out of the "DCIM" folder and paste them in to the "Retrieved Pictures" folder you created earlier.
Having retrieved all of your pictures, you can now restore your iPod/iPhone back to factory settings using iTunes.


Does Screen Time log apps running with no windows open or while in screensaver mode?

I have noticed that the Catalina version of the app simply displays how long apps are open, rather than how long they’re being used.

So if I keep Safari open on my Mac all the time, it reports that duration – even if Safari is in the background while I’m doing other things.

If I put my Mac to sleep with Safari frontmost, when I wake it up, it will be counted as a pickup. On iOS, this makes sense because when you wake up your iOS device, you are on the home screen, so you have to actively choose which app you are going to use. Also, it doesn’t seem to be reliably updated on the Mac; right now, I’ve put my Mac to sleep a couple of times yet when I awaken it, it doesn’t add to the number of pickups. And it’s not counting the System Preferences app, which I’ve used several times after waking up my Mac to view Screen Time.

So, in my opinion, the Screen Time report doesn't make proper sense in macOS.


Can I use an old TV as a monitor for Mac Mini?

The Mac Mini sends out digital video through HDMI or the Thunderbolt port. Your old TV has Composite ports, which take analogue signals.

You could theoretically use something like this: ViewHD Universal HDMI to Composite / S-Video Converter, but I havent tested it myself. The picture quality would probably be really bad.


Keyboard shortcuts for resizing windows on mac

There is possibility to move window left or to right but I am not aware of quadrant.
If one hovers over resize button (green circle in upper left corner of window) there are different possibilities displayed depending on position and size of window. By default there should be keyboard shortcuts assigned at least to two of them:

Tile Window to Left of Screen ⌃⌘←
Tile Window to Right of Screen ⌃⌘→

These are for split view. However, there are other options, among them are:

Move Window to Left Side of Screen
Move Window to Right Side of Screen

For those one needs to assign keyboard shortcuts. System Preferences > Keyboard > Shortcuts > App Shortucts, click on +, keep 'All applications', enter exact text as above into 'Menu Title' and assign shortcut in 'Keyboard Shortcut'. I personally have followed the path of built-in which start with ⌃⌘. For left it's ⌃⌘L and for right it's ⌃⌘R.
There is also built-in keyboard shortcut to toggle full screen: ⌃⌘F. Combined with moving window to left and right side it's covers basic needs.
There are also options Zoom and Revert to which one can assign keyboard shortcuts in similar fashion.
After assigning shortcuts and while hovering over resize button my machine displays following (interesting to note that full screen toggle shortcut is not displayed)

For more elaborate window arrangements I use paid app Magnet.


What is the last macbook or macbook pro model that had a replaceable battery and hdd?

As far as I am aware you can replace the battery and HDD/SSD on most MacBook Pro models. Have a look at the manuals on iFixit.

MacBook Pro 13" Retina Display Mid 2014:

You can replace the battery like this
And the SSD like this.

MacBook Pro 13" Unibody Mid 2012:

I think the last HDD MacBook Pro. No retina display, but you can replace the optical drive and use a 2nd HDD/SSD instead.


Need app to read Eudora mail (that mailbox file format)

Please download Eudora Mailbox Cleaner, and install it. The app may export mailboxes from Eudora to Thunderbird or Apple Mail with less restrictions or drawbacks than directly importing them in Thunderbird. Additionally you may export them from Thunderbird to Apple Mail.

System requirement: Mac OS X 10.2 - Mac OS X 10.6.8 (with Rosetta installed)

Please check the limitation mentioned on the page thoroughly (especially the 2 GB mailbox limit - and how to circumvent it).


Can't open mov files in QuickTime, but can do it in VLC

Here's what Google says:

  According to the info in Apple official site, QuickTime does support MOV files. However, MOV is a multimedia container file that contains one or more tracks, each of which stores a particular type of data: audio, video, effects, or text (e.g. for subtitles).

So it could be possible that a part of the .mov file may not be supported by the QuickTime player. In this case, I would suggest you to convert the file to a .mp4 or a QuickTime compatible .mov format using a third party application.


crontab Operation not permitted - cron has full disk access

Posting here a partial answer to the question, from the comment section (courtesy to nohillside and scottmeup).
Seems the problem is related to the Extended Attribute com.apple.macl that was automatically assigned to the bash file on creation (discovered by running ls -la FILE_NAME, and the xattr itself from xattr FILE_NAME). This xattr was in fact attached to any file I created on the Desktop, Not sure why; I didn't manage to easily remove it by using xattr -d.
When I created the file in e.g. $HOME, it didn't have this xattr, and did run in the cron without any additional action. After moving the file from $HOME to Desktop, the cron worked as well.


How to double "iPhone is Disabled" timer?

There are no secret passcode combinations to do that with original firmware from Apple. You can only find a way to tweak it after jailbreak your iPhone.


What's the best way to import DVD into iMovie 11?

Not really, you've utilised the quickest, easiest and cheapest route available with doing it with Handbrake. Don't bother trying to find another piece of software that will do the job better, Handbrake is really the best when it comes to ripping and encoding Apple friendly formats. Thanks, hope this helps.


The supported Apple way of using split-screen for El Capitan onwards is documented at https://support.apple.com/en-gb/HT204948 in the section titled 'Use two apps in Split View'. It works nicely for apps that support it. The most up-to-date docs for Mojave are at https://support.apple.com/en-gb/guide/mac-help/use-apps-in-split-view-mchl4fbe2921/mac

You can hold and drag the green maximise button of a window to one side of the screen to 'lock' it in position, then select another window to fill the other side. The same functionality is also available in Mission Control (ctrl-up arrow).

I'm not aware of a command that will do what you require, but it's possible using the GUI gestures.


Thunderbird not accepting Apple RSS feeds

Try using http://images.apple.com/main/rss/hotnews/hotnews.rss instead of feed://images.apple.com/main/rss/hotnews/hotnews.rss.


Recommendation for genealogy software for OS X?

I haven’t found one that interfaces with the website you mentioned, but here’s a good overview of genealogy software for OS X: http://www.macgenealogy.org/mac-genealogy-software/

MacFamilyTree 6 is actively developed (it was just updated a few days ago), is fully GEDCOM-compatible, and it has an iOS version too!

It doesn’t export to ancestry.com but it can interface with a custom-built website called MacFamilyTree.com.


I think you have a problem with opening http://localhost ?

If I'm right you should check your httpd.conf:

Look for: Listen 80 <- This line should not be commented and make sure 80 is written ( when you write localhost into your browser, the browser checks the 80 port on default.
)

If it's 80 then check your if your server root folder is OK:

Must be where the --prefix folder is : normally under /usr/local/apache2.x.x

Then you should check that the DocumentRoot points to the right folder (where your index.html is located if no index.html is present)


I think this is a common bug.
You should consider contacting Apple Support or taking it to an Apple store.


rEFInd can enable/disable SIP. For your purposes, I would install rEFInd to boot from a flash drive. You might have to edit the refind.conf file to turn on the SIP feature.


iMac Scrambled Graphics Issues - Hardware or Software?

Judging from the pictures you post, it's likely hardware. If you can swap out the RAM - that might be a nice place to start, but consider taking it in / calling Apple for service. Getting hardware assistance is FREE for the asking. Spend your time backing up your data before you dive in or get service.

Describe the pink tones, the scrambling of parts / horizontal / vertical lines - as well as the icons getting scrubbed.

It's certainly possible to be software - especially since you have three issues:

the pixelation of icon regions on the desktop (VRAM / compositing issues)
pink colors (indicating GPU VRAM / CLUT / shader issues)
vertical and horizontal areas of distortion (LVDS cable / LCD panel / GPU issues)

You'll need to go through an isolation procedure to be sure in your case. As long as it reappears regularly or you can discover what pushes things over the edge, you may have a hard time isolating things so getting professional help is often a good move to save you the time (assuming you actually want to resolve this rather than just learn what's happening)


Cleaning the outside of an iMac with an electrostatic cloth

Personally I would never use anything that can build up an electrostatic discharge around computers.

While the power supply may be 240~120V AC nonetheless the internal component are running a 12V DC or less and at the point an electrostatic discharge occurs that causes a spark and you feel the discharge it's at ~1000V DC and more then enough to permanently damage the electronic components of a computer if discharged through. This is why we that work in the industry use electrostatic mats and wrist straps when working on computers.

Through my career I've witnessed many times a component getting zapped because proper electrostatic discharge precautions were not taken by some colleagues and many users. I too have zapped a thumb drive via electrostatic discharge accidentally touching the USB connector having just walked down a carpeted hallway in the winter time while in northern climates because I forgot to ground myself first before plugging in the drive. I felt and saw the discharge as I plugged in the drive. It was working two minutes earlier in the computer I properly removed it from.

So, even just wiping the outside can have potential if it can discharge while brushing over any of the ports.

I recommend using microfiber cloths that have been dampened and wrung near dry so as not to have enough moisture to damage the computer too. I've been using microfiber cloths for more years then I can remember and have never damaged anything I've used them on.

Additionally, especially if in climates conducive to electrostatic discharge, take proper precautions and at a minimum, wear an electrostatic discharge strap making sure you've grounded out any built up charge before touching the computer and maintain that ground while touching the computer.

BTW Sorry about the original answer, it was meant for a different question. :)


Modifying your original attempt:

set myList to {"30.00", "30.00"}
set myFinalTotal to 0

repeat with x in myList
    set myFinalTotal to myFinalTotal + x
end repeat

myFinalTotal

And for the joy of learning:

Recursive:

to sumItems from L as list
    if L = {} then return 0
    (L's first item) + (sumItems from the rest of L)
end sumItems

Iterative:

to sumItems from L as list
    tell (a reference to last item of {0})
        repeat while L ≠ {}
            set the contents to it + (L's first item)
            set L to the rest of L
        end repeat

        return the contents
    end tell
 end sumItems


Since Xcode is working without a problem, it is probably installed correctly. You can unhide the application the same way you unhide the ~/Library folder on Lion and later. Open the terminal and enter the following command:

chflags nohidden /Applications/Xcode.app

Xcode should be visible in the Finder.

If you have any problems with Xcode not building or running properly I would recommend deleting Xcode and reinstalling from the App store.


How can I send email through a Terminal window?

You did not specify which inbox you checked, but if you use mail <your mac userid>, you can then read that mail by running the mail command without any arguments.  I am not sure how useful this might be, but it does work.

man mail from a shell prompt will give you more background info into the mail command.

If you are looking to send email to an external (SMTP) mail server from a shell prompt (like the one in the Terminal window), you will need to use a message transfer agent or MTA.  This is something far more useful, although it requires much more setup overhead.

Alternatively, you might be able to use Applescript and/or Automator to automate sending messages through Mail.app through a previously configured email account.


Can I scan an ad hoc network to find all the connected devices and their IP addresses?

Normally devices should auto-assign themselves an address in the 169.254/16 subnet (i.e. 169.254.x.y) when connecting to an adhoc-network that doesn't offer a DHCP server.

You can use a tool like nmap from nmap.org to scan the subnet to find your camera.


Use old iMac G5 as external Mavericks-style display


You can disable the notifications using Notification Center. Please note that they will be disabled whether the app is opened or closed.

Open System Preferences, then select Notifications (upper right corner). You will then see a list of Apps which use Notification Center. Find Messages in this list. Set the "Messages alert style" to None.


How do I silence Siri on my HomePod mini?

Try these:
In the Home app on your iOS or iPadOS device, touch and hold a HomePod.
Scroll down, tap the Settings button, then do any of the following:

Deny access to Personal Requests: Tap Personal Requests, then turn off each HomePod you don't want to use Personal Requests on.
Disable “Hey Siri” requests: Turn off Listen for “Hey Siri.”
Disable summoning Siri using HomePod touch controls: Turn off Touch
and Hold for Siri.
Disable indicator light when Siri is listening: Turn off Light When
Using Siri.
Hear a chime when Siri is listening: Turn on Sound When Using Siri.
Turn off VoiceOver: Tap Accessibility to access settings for
VoiceOver and for Touch Accommodations. See Use HomePod touch
controls.

Source: https://support.apple.com/guide/homepod/change-settings-apde6dc8093d/homepod


Are you using Time Machine? If yes, open Finder, go to ~/Library/Containers/com.apple.Notes/Data/Library/Notes/ and open Time Machine eg. from the icon in the top right. This should show you past versions of the files there. Close the notes app completely and try restoring files.


How can I change the default programs that open Outlook email attachments?

I found the answer when reading this post.

Choosing Always Open With in the Open With -> Other... for one file applies this default application ONLY to this file and it is not a system wide setting. To update the system default application for all files with a certain extension do:

open the Finder context menu item Get Info
in the Open with section you must select the application to open this file with
to apply this setting for all other files with the same extension, there is the Change All... button below the application dropdown.

The confusion might be made because in Windows in place of the Always Open With MacOS option, you have the Always use this app to open .ext files (where ext is the extension of the file).


Where is "Contact" information stored within iOS4

I can't address the data corruption issue, but I can tell you where your PIM data is stored.

SSH into your phone and go to /private/var/mobile/Library/. There, you will find and AddressBook subfolder, along with SMS, Calendar, Notes, etc. The contents of these directories are the data that you need for each respective service.


Are iPhone sim cards locked specifically to the iPhone hardware?

No SIM card is locked to any phone. The SIM card will work in any unlocked device supporting the frequencies used by the carrier that issued the SIM card.


Yes, Burn is free and open source software, but it is a bit buggy. LiquidCD is freeware, but I didn't encounter any issues while using it.


Permission Problems for copied files from NAS

Sounds like a permission problem. I had a similar issue. Files created by one user in two groups (administrator & user) on NAS were not being able to read by users only in the user group. I tried reseting ownership/permissions using File Station from DiskStation and did nothing. I figured something was wrong with root folder permissions on shared folder - and yes, they were owned by root and 777 chmod.

I've managed to fix this by:

On the Synology - control panel - win/mac/nfs - goto Mac File Serivce (AFP) and turn off Apply default UNIX permissions (Mac file services enabled) - root of your problem
log on to NAS via ssh, go to most root shared folder and do

chown -R nobody:users shared_folder/
chmod -R 755 shared_folder/

used info from here, here and here.


brew: create install script for all installed packages/casks

As basically explained in Apple Silicon: port all Homebrew packages under /usr/local/opt/ to /opt/homebrew (and in https://docs.brew.sh/Manpage#bundle-subcommand):

Create a Brewfile with brew bundle dump
Store the file somewhere safe (flash drive for instance)
Once the computer is set up again, install Homebrew, copy the Brewfile back and run brew bundle install --file /path/to/Brewfile


how can /etc/ppp/ip-up tell which VPN service is used in OS X

Taking a page from this answer: https://superuser.com/a/206826/48893 you can write an ip-up script that tests $1 and selectively execute commands for a given vpn interface.


Mac Pro 5,1 PCI GPU power 6/8 pin confusion

The 2 pins more in the in the 8 pin plug are 1x ground and Sense1. Sense1 is only to inform the card whether a 6 or 8 pin plug is plugged in.
I think the big difference in your usage is that 8-pin plugs are able to pull 150 W, where 6-pin plugs only provide 75 W at max.
As far as I see the Sapphire HD 7950 needs 80 W at idle.
So I see 3 Possibilities:

Buy a 6 to 8 Pin Cable and risk your power supply (amazon link) (worst idea)
Use the card with only 150 W max (75W from PCI Power Supply + 75 W directly of the mainboard)
Get another Power Supply


Can I synchronize my iPad calendar with a similar online calendar?

You have to tell Google Calendar which calenders to sync by using Google Sync. It's a bit convoluted, but once it's set up you shouldn't have to do it again. I've done it and use Google Calendar and my iPad exactly as you describe.

Google have the instructions here:

Using Google Sync with iOS Calendar


How to find specific IP address within LAN?

So the router is the only DHCP server, right? It is the only device giving out IP addresses, and the switches (including the time-capsule) just redirect the traffic (i.e. bridge mode), right?

If I am not mistaking, the client list in your router should provide you with the list of all connected devices with mac-addresses and ip-addresses (and sometimes device names). Try and see if the mac address of your device is in there.


How to get colors from 'ls' command on macOS

You'll want to open the Preferences window in Terminal.app. Turn to the Profiles tab, and then the Advanced tab. You'll see that it says "Declare terminal as", which you would have set to vt100. Change this to xterm-256color.
Now you can run ls -G to see a coloured ls output.


How can I edit the /etc/ssh/ssh_config file?

I find the answer, with this line in Terminal :

sudo nano -w /etc/ssh/ssh_config


Stop Safari developer program membership

You can simply let the Safari membership term run out, as it doesn't look like Apple has given people an easy way to do this. Your best bet at cancelling it immediately though is to call Apple directly at 1-800-633-2152 and ask for them to cancel it.


How can I insert symbols on iPad or iPhone?

For many symbols or characters with diacritics (e.g. accents) you can press and hold a related key to insert variations.

º - For the degree symbol, press and hold the 0 button (on the mac you can press Option+0[zero, not letter o])
© - For the copyright symbol, on the mac the shortcut is Option+g. Unfortunately pressing and holding g on the iPhone/iPad doesn't provide an option for the copyright symbol.

As an alternative, you can use glyphboard, or copy and paste the symbols from a note, email that you create on your computer.


Is the Shown location of your phone on find my friends accurate if the the phone is offline

If she didn't have Find Friends turned on (it is on by default so she would've had to turn it off) then what you're seeing is the last location the iPhone reported whenever it reported it's location last.

If she's looking at it thru iCloud, perhaps she does have the Find My iPhone installed.  This is where a user can locate their own device.  The device needs to be on and online to report its location.  If she see's her iPhone and it has a green dot, that means it's currently online.  If it's a gray dot, the iPhone is offline.  If it last reported its location within 24 hours, you'll see the date/time.  If it's longer than 24 hours, you'll just see 'offline'.


Mavericks unusable (beach ball) when CoreStorage fails

This is a complicated setup which makes troubleshooting a little difficult, so you are going to have to test multiple things and simplify.  Also, it sounds like you made your own fusion drive instead of buying an officially supported configuration so it could be that OS X just doesn't support doing this with your drives.

Check the state of Core Storage to see if things look correct on the logical disk level.  In Terminal, type: diskutil cs list
Assuming everything is Online and good, you should scan the logical volume for errors.  In Disk Utility, select your logical volume and "Verify Disk" followed by "Verify Disk Permissions".  You might have a few disk permission errors which probably aren't your issue but you should watch out for disk errors thrown by Verify Disk.
[Read completely before typing any commands. I am not liable for your data loss]  Assuming everything checks out, then there is probably a hardware issue with one of the individual disks in the pair.  Open Terminal and type diskutil list to list out the individual drives in your machine.  You need to identify the actual hardware drives and not the logical drives that are created as part of Fusion or any encryption in use.  It should be something like /dev/disk0 and /dev/disk1.  Once you have identified your actual physical drives, you can try forcing a read of every sector on each drive to cause bad sectors to be remapped if one of your drives is failing.  In Terminal type sudo dd if=/dev/rdisk0 of=/dev/null bs=64k.  This will ask you for your password.  Note the 'r' in front of rdisk0.  Also, replace the number after rdisk with the numbers you determined earlier for your physical disks.  This will take a long time.  It will read every single part of your hard drive and send the data that it reads to nowhere since we don't care about interpreting what is being read and just want it to be accessed.  If sectors on the drive are bad, then they will balk when they are read and the drive should internally remap the bad locations to a reserved set of new ones.  Once you have done this for both drives, the drives should stop having read/write errors assuming there was a small section that was bad on one of the drives which was able to be remapped.  WARNING.  Typing the previous sudo command incorrectly could erase your computer.  Also, if one of your hard drives is failing and about to die, then forcing a complete read of the hard drive could cause too many bad sectors to be remapped and cause your drive to fail.  Ideally you backup all data before doing this.  Also, even better would be to read the SMART tables off of each drive and look at the reallocated sector count.  The number should be 0.  Unfortunately, I don't know if an OS X utility will let you do this while your drives are combined using Fusion.  You might have to pull them out and test on a different machine.  A non-zero reallocated sector count means the drive is already failing and forcing a full read may kill the drive or may revive it if the damage is minor.  Ideally you would perform a full wipe of the drive instead of doing a read since this is much better at flushing out bad sectors but that would also erase all of the data on your drive.
If the previous suggestion didn't work or is too scary, then don't use Fusion in an unsupported configuration.


2008 MacBook Air Can't Boot OS X Snow Leopard USB Install Drive

It can't find the kernel files.  When you turn on your Mac make sure you  pressing and holding the the "Option" key then selecting the USB flash?

If you are still having difficulty, then the creation of the USB flash disk didn't go so well.  I am assuming that you have a good DMG image of the Snow Leopard DVD.

You can't just "copy" or restore the image to the USB flash, you have to format and partition it first.  See How to Create a Bootable USB Drive With OS X Snow Leopard for a good tutorial on how to do just that.

Once you are done, you should be able to boot from the USB flash and install OS X.


Can you save a work session and reopen it later?

For what you are asking, using the sleep image might be the best way.

Creating a little script one could do that with Sleep Image.

First you would imitate the sleep that would create a image of your current state.

pmset sleepnow

or

osascript -e 'tell application "System Events" to sleep'

Next you would copy/rename the sleep image file so you can use it later.

They are located in the /private/var/vm/sleepimage

Be aware the sleep image files can be large in Gigabyte size, so make sure you have enough disk space.


This is not a feature Pages '09 or Pages '13 provides (unlike Microsoft Word with the Wordart).

As XAleXOwnZX suggested you definitely should look at softwares that are made for what you want like InkScape or Illustrator.


Gmail shortcut for open spelling corrections hides window - any way to fix?

As Chrome has an actual Minimise key command, you can change it to be something different

Before

System Prefs > Keyboard > Shortcuts > App Shortcuts
Hit + then set the app to Google Chrome, menu item to Minimise & the key to something you don't use anywhere else

That should free up  Cmd ⌘   M  just for Chrome, yet it will still function correctly elsewhere.

After

Note it adds an  Opt ⌥  version for Minimise All, which tends to be a common side effect of doing this type of replacement.


What's wrong with the Weather widget on OS X 10.10 Yosemite?


MacBook Pro won't recognise Sandisk 64GB Mini SD card

The HERO3+ camera uses the exFAT file system format and it should be readable on your Mac if it uses Mac OS X from Snow Leopard on up. The link above notes that if you are having difficulty using a 64GB card, that you can use a 32GB or smaller card and format it with the old FAT32 standard.