Using hosts file on Mac OS X Snow Leopard

A friend of mine provided the answer via email....

Almost.

The purpose of the hosts file is to serve as a local supplement to a dns lookup (on linux, you can actually specify whether it asks DNS or the file first).  As such, it is only used to return IP addresses.  You need to use this in combination with Apache VirtualHosts to make apache respond to a host using a specific directory.

So... you hosts file should look like

127.0.0.1 local.wys
127.0.0.1 local.les

Find your apache configuration directory.  Under XAMPP this is c:\xampp\apache\conf (yours might be ‘conf.d’)
In conf you’ll have a folder called ‘extra’ and it that a file called ‘http-vhosts.conf’.  Open that file.

Make sure that the following line is uncommented

NameVirtualHost *:80

You’ll need a default entry, and then any specific ones for each hostname you want to use.

The default one...

<VirtualHost *:80>
    ServerAdmin technical@satellite
    DocumentRoot "c:/webroot"
    ErrorLog "logs/localhost-error.log"
    CustomLog "logs/localhost-access.log" combined
</VirtualHost>

The custom ones should look like this, replace ‘airbase.local’ with ‘local.wys’ and the value of document root to where you want it to start serving files from.

<VirtualHost *:80>
    ServerName airbase.local
    ServerAdmin technical@satellite
    DocumentRoot "D:/webroot/airbase/magento"
    ErrorLog "logs/airbase-error.log"
    CustomLog "logs/airbase-access.log" combined
</VirtualHost>

Restart apache and it should all be working nicely!


So I took the first ATV back to the Apple Store, and had a repair by replacement. It still had problems, so I started digging deeper.

Through some more specific testing, I narrowed down that it was only happening with movies that had Dolby Digital. In the settings, I had forced the Dolby on in the settings. Turning that off fixed it. It is still stable with Send data to Apple turned on, and switched back over to Google DNS.


Of course, to actually do much in ad-hoc mode you even have to setup static IP addresses.

Just start the ad-hoc network, then in System Preferences -> Network "Click the lock to make changes" and then click "Advanced". And there you have it.


There is no way to ensure that you will get a specific cable design (for lack of a better word) when ordering an Apple cable. I'd suggest finding a third-party cable you like and sticking with it. I personally use the Amazon Basics cables (Lightning to USB-A, not USB-C, though) and have had no issues with them. I have found them to be much more rigid and thick than the Apple cables and therefore they last a lot longer.


Is a bootable USB drive with Yosemite OK for different macs?

The Yosemite Installer package contains all the divers for all supported models.

You are good to go for multiple uses on multiple systems.


Mid 2009 MacBook Pro HDD/SSD upgrade suggestion?

I upgraded this model to a 480gb SSD but I had to do two things. First, I replaced the disk drive cable with a new cable for 2010 MBP 15" from iFixit. Second, per OWC, I used an SATA2 rather than an SATA3 drive.

Testing showed the cable replacement was absolutely required. I didn't have an SATA3 drive to test against so I'm taking that one on faith.

Assuming your replacement drive is an SATA2 drive, you just need to replace the cable.  It's not hard but e careful with the screws that attach the cable to the body. I stripped one and it was a PITA.

It's a whole new machine with an SSD. Very fast for everything except CPU-intensive stuff like encoding video.


Mountain Lion OSX Server One IP Virtual Sites www resolving to wrong Site

here is what I did that messed things up.

I set domain1 as the hostname, when I should have been using an alias like server.domain1.com. Also, i had the static ip selected in both domains. So, I changed the hostname to server.domain1 and then changed both domains to listen on any port.


External Storage solutions for 2017 MacBook Pro Easy to Use on Public Transport

I would recommend buying a Samsung T5 SSD. They're available in 1 and 2 TB capacities, and they offer fast storage that you can use for video editing and/or virtual machines.

The product itself does not offer a clip-on feature - but I don't think such a product exists on the market.

However the product is in itself very light (51 gram) and small (7.4 x 1.05 x 5.73 cm). I would suggest buying a simple adhesive velcro tape and apply that to the T5 drive and your MacBook Pro. This would allow you to clip-on the storage when needed.


Same here (iPhone 4S, iOS 6.0.1), dates are missing:

although other podcasts are shown with release date:

On the other hand, and quite surprinsingly, the podcast is shown correctly in iTunes:

According to https://discussions.apple.com/thread/3120228 the missing release date could be caused by an incorrect pubDate element.

However, Reasonable Doubts' RSS feed correctly formats the pubDate element as described in the RSS specification and RFC 822. But what about the rest of the XML file? A syntax error could prevent an RSS reader from successfully parsing the RSS feed and extracting the date information.

Luckily, the W3C provides at http://validator.w3.org/appc/ a feed validation service, which checks compliance with the RSS specification. And W3C is clear, Reasonable Doubts doesn't validate:

Apparently iOS 5 and iTunes are more tolerant than iOS 6 with some "broken" RSS feeds like the Reasonable Doubts podcast.

(As a side note: I found a podcast which looked perfectly right in iOS 6 although not having the day of the week in pubDate, so that wasn't the culprit, as I first (wrongly) suspected. I also found other podcasts with a missing release date (like here and here). The reason for it in these cases is indeed a non compliant pubDate element.)


Apple has fixed this issue with the release of macOS High Sierra 10.13.2.


Can I remotely force a locked Mac to sleep or shutdown?

In order for a user on a remote computer to shut down another computer whether it's a Mac or a PC, they have to have access to it first.
Whether you are using screen sharing or doing this via terminal, regardless of the computer's state (locked or unlocked), if the user has access and the requisite privilege , they can log in and initiate a shutdown.
It's very important to recognize that to shutdown a Mac, you don't need another Mac.  You can do it from Windows, FreeBSD, or Linux.

In terminal
Using an SSH client (Terminal on a OS X) you would log into the remote machine with username/password and machine IP/DNS Name
ssh username@foo.bar
Password:

If you have the appropriate credentials, you would issue the command
sudo shutdown -h now

You could issue these commands regardless if the system was locked or not, even if someone was logged in and working at the time.
Screen Sharing
By using another Mac and it's screen sharing capability or via VNC, you could easily connect to the remote screen, and shutdown the machine even from the lock screen (notice the bottom icons):


Retrieve the Apple ID used to download a given app (in iphone)

On your phone you can use the Setting app to set the default ID for App Store under "iTunes and App Store"

Set ID1.

Open App Store -> Updates. At the top you can click Purchased to see all apps purchased with that account.

Then, go back to settings, sign in to ID2, and go back to the App Store and check to see ID2s list.


Why is my 2016 iMac "Beach Balling" a lot after upgrading hardware?

It sounds like you have a dying hard drive, not a memory problem  - not that more memory is a bad thing!  I did some research and according to EveryMac.com your iMac has both an SSD and a regular HDD.  One or both could be dying.  Most of my drives lasted around 5 years and that one is 5 years old now.
I found this post:  https://apple.stackexchange.com/a/239723/377857 on how to fix it, but it seems like you have to remove the glass.  I did a little more research (I want to do this to my iMac) and it seems like you have to cut the glue holding the screen.  That scares me.
Since it is so difficult to do, I would probably use a program like Disk Warrior or Disk Drill (see them recommended by people all over this site) to test out the drive first.  If it's not failing, why go through the trouble of opening it up?
If you do have to change it, it might be a good idea to get a pro to do this job.  Maybe if I get more experience, I will try it myself, but not yet.
PS - In my experience, I've found that using matching RAM modules is the way to go.


Bluetooth connectivity issues with IOS 8 and Yosemite

When you say "connect" what exactly are you trying to achieve?

Airdrop? Mobile Internet Hotspot? Airdrop?

Which Mac, iMac, MBP, MBPA do you have?

To cut a few things short, and to save you time. The only connection you'll ever establish between your iDevice and you Mac is purely for internet purposes. ie.. if you're out of reach from wi-fi connection, you can use your iPhone as an internet connection (provided that you have data bundled in with your mobile contract).

The new features, which are dubbed "Bluetooth 4.0 LE" (low energy), don't stay connected. They merely make connection as and when needed (hence why they're dubbed low energy).

If this doesn't help, give us a shout, let us know what you've got (as I asked before) and we'll try help :)


Lion always explicitly moves files to and from external drives

To copy files instead of move them, you can use menu items in the Edit menu, or their associated keyboard shortcuts. I am running Lion, and I have an external usb drive. If I select a file on this external drive and open the Finder's "Edit" menu, there's a "Copy" menu item with the shortcut Cmd-C.

Choosing that menu item, then selecting a folder on my internal hard drive, gives a menu item of "Paste" (again in the "Edit" menu) with the shortcut Cmd-V.

Also, dragging and dropping with the option key held down will copy a file rather than move it.


I would submit that this is probably not something you will be able to fix yourself. It seems to me that your headphone jack is broken. Try blowing really hard into the jack in hopes you might dislodge some dirt or sand, but it most likely just faulty.


Import the photos to a folder on your Mac. Then you can use smart folders and spotlight and fast file operations to delete / move / Pre-process the files.

Photos is absolutely not a folder oriented Storage system. Check out Photo Mechanic by camera bits for a folder oriented workflow.

We use that and high speed SD card readers and can ingest about 100,000 images from 18 cards in a couple hours with 2018 or newer MacBook Pro. Look for USB-C SD card readers.

Lexar Pro thunderbolt is about $100 each - LRWCR2TBNA
Lexar Pro USB is around $40 each - LRWCR1TBNA

You can even get stacks if you know you’ll have this workflow, but we just use gaffers tape to hold things secure on heavy ingest days around major sporting events.


how install postgres 9.6 and a corresponding PostGIS

Postgres.app

The easiest way to use Postgres with PostGIS on a Mac is Postgres.app. This is a special build of Postgres wrapped to act like a normal Mac app, including launch with a double-click. The latest versions come with PostGIS built in.

Installer by EnterpriseDB.com

If you want to a run a Postgres installation on your Mac in a manner similar to that on other Unix-like platforms (BSD, Linux, etc.), I suggest downloading a graphical installer app provided by the EnterpriseDB.com company as a courtesy to the community. Follow the macOS links from the Postgres site to the EDB site’s download page. Note that EnterpriseDB makes their own editions of Postgres with added value, in addition to providing the "plain" Postgres.

Source code

The hard-core developer or DBA will download the Postgres source code and compile it herself.

I've not had the nerve to try that. You may be motivated to do so either for fun or because you want to tweak some of the internal Postgres settings that are modifiable only during compilation and not at runtime.

FYI: The core team creating Postgres provides only source code. Any app or installer you may obtain is the product of additional persons’ work.


How to bring up the iTunes podcast video window?

After an hour or so of fiddling and I realize that the TED podcast has the word "with video" attached to it and so I tried searching the store for the video version and boom! There it is, the version of the same podcast I've been listening to but with video. Playing episode in that podcast pops open the video window just fine.

So in case anyone else stumbling onto this:
Make sure you are subscribing to the version of the podcast with video.

You can tell quickly by looking for the little monitor icon next to the episode title:

Sorry for the trouble guys.


Is there a way that I can set the iOS music app to save my progress during playback?

If you set the media type to audiobook or podcast it will give you the option to remember playback position, but it will be moved to the iBooks or Podcast app instead of being able to be played in Music.


Does my Time Machine backup disc need to be dedicated?

If you want an encrypted backup, Time Machine will erase the contents on the drive as part of the encryption process. (It is a full disk encryption.) In that case, yes, you'll need a dedicated blank drive.


Where can I purchase a mini-vga to HDMI adapter for older macbook pro?

You can't.

VGA is an analog transmission standard, HDMI is a digital transmission standard. It's not just a matter of changing the connector, the signals they carry are fundamentally different.

You could look in to a USB 2.0 -> HDMI adaptor. Something like the ones on this page. Though how well those work depend largely on the graphics card in your Mac. The older Macs may not have enough horsepower in their graphics chipsets to drive a second display over USB at anything close to a decent resolution to use on a high definition television.


Disable Bluetooth "roaming" on Macbook Pro

Actually, your MBP do not disconnect bluetooth when closing the lid. So if you turn on devices known (like your headphones) they will connect together. I also found this annoying when I wanted to connect my headphones to my phone but they always connected to my MBP...

You could install blueutil and SleepWatcher via homebrew and set a .sleep code to do "/usr/local/bin/blueutil -p 0" when going to sleep mode.

To use SleepWatcher, make a shell script in your home directory named .sleep and give it permission with the chmod command.

You also can do a .wake code to turn bluetooth back on with blueutil -p 1

You can find out how to use sleepwatcher here


Check this question on SuperUser: https://superuser.com/questions/403493/kinesis-advantage-os-x-media-keys

Have you noticed sluggishness/hanging using the Advantage in Lion?  I've had issues with the shift key sticking (not physically, but it's like CAPS LOCK is on until I hit shift again), and delete key taking multiple presses to work, and other weirdness.


iPhone 3GS activation error on iOS 5 upgrade - "No SIM card in phone"

here is the thing most of the answers work for those who have shsh blobs saved before but the thing is what if one has accidentally upgraded his/her iphone to the newer version and unable to activate it.
in my country it doesn't work but he easiest way to activate your phone even without sim card is to call an emergency number like 911 or 112 and before you hear any voice press the power button and then on the notification bar area click again on the phone icon and hangup and you will see your home screen and well the rest is the rest.for video help search something like " Activating iphone with out sim card" on youtube.
hope i contribue something and sadly i couldn't get mine to work.


Aha. Looks like Homebrew wants to run meld via it's own Python, rather than the system one. Terminal sets this up correctly, but obviously Automator doesn't.

Solution: use Run Shell Script in Automator with:

/usr/local/bin/python /usr/local/bin/meld


Unresponsive iMessages and FaceTime on Mojave

Have you tried deleting files in the ~/Library/ folder? ('~/' means your user folder)
search facetime there, try deleting what you find.
It might sign you out, at the same time it might solve your problem.
You can search 'Messages' there as well.

I don't guarantee it won't do any harm. Yet it's what I usually do when I run into problems. It's sort of DIY mentality.

If you don't see the Library folder, it's because it's hidden by default.
You can change that in "Show View Options" menu in "View" option of Finder. Or by pressing command and j at the same time. (You should be at ~/ for this option to be shown).


How can I get more information about Servers under Recent Items?

There are a few resources (1, 2, 3) that describe how to get more information on Recent Servers (and other Recent Items). I'll summarize them here:

You can locate the RecentServers.plist or RecentServers.sfl in ~/Library/Application Support/com.apple.sharedfilelist/

To convert the plist file into a more human-readable format, use plutil:

plutil –p <plist_file> > <output_file_here>

I used json as the file extension, which you can open up in a text editor.

The information this file gives you is limited. There are no dates associated with the data. What I found useful was the URL for Key 16.

I believe this only works to macOS 10.13 and below. It seems that in 10.14 that the Recent Items files are now sfl2 files.


How can I test a display resolution that's not listed?

To see all graphics supported modes use the alt key before clicking on Scaled in display preferences.

To see it in 19:9 use a Thunderbolt cable to a TV. (assuming you have those)

If you have a Mac like I do (MBA 2012) then using the Thunderbolt you can get up to 2560 by 1600 pixels on your HDTV.

Intel HD Graphics 4000
Dual display and video mirroring:
Simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on an external display, both at millions of colors


The first things I would do are resetting your NVRAM followed by resetting your SMC. If resetting these doesn't resolve it, run Apple Diagnostics.

Before doing any of the following, ensure your MBP isn't connected to any external devices (e.g. display, external hard drive, etc).

Resetting the NVRAM on Late-2016 MacBook Pro models

To reset the NVRAM on all Late-2016 MacBook Pro models (with and without Touch Bar) follow these steps:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then immediately press the commandoptionpr keys.
Keep these keys pressed down for at least 20 seconds!
Let go of the keys and let your Mac reboot normally.

Note 1: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Reset the SMC

Your MacBook Pro has a system management controller that can easily be reset. To do this on your particular model, follow these steps:

Shut down your computer
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the built-in keyboard) and the power button
Let go
Turn your computer back on with the power button.

If this doesn't resolve the issue, use Apple Diagnostics to test your hardware.

Run Apple Diagnostics

Follow the steps below to run Apple Diagnostics:

Fully shut down your Mac
Restart your Mac
Immediately press the D key and keep it down until you see the Diagnostics screen appear
Wait for Diagnostics to finish (this typically only takes a few minutes)
Once complete, one of two things will appear on the screen:

a No issues found message
a brief description of any errors found plus further instructions

If the diagnostics test does find errors, take a note of what they are

Note: If pressing and holding the D key at Step 3 doesn't work, start again at Step 1 and, at Step 3 press and hold both the OptionD keys instead. This will try and run diagnostics from the internet instead, so you will need to allow more time for it to complete.


"Volume contains an OS X installation which may be damaged"

In the mean time, I proceeded with a work-around: install Snow Leopard (10.6) on the disk, using a DVD and external DVD drive. From there on, I'll upgrade to 10.11. Keeps me busy, and it seems to work (so far). However, I consider this a work-around, not the solution to this question.


Is it possible to install iMovie 9 on El Capitan?

Yes. iMovie.app copied from older computer to newer computer with El Capitan works.

(Apple store employee said it would not. Confirmed that it is wrong)


Can I use HP:s HTML config on macOs Sierra somehow?

I just solved this by replacing localhost:5050 with 0.0.0.0:5050 in the domain name, ie  http://0.0.0.0:5050/SSI/index.htm

Not sure why it worked but it did :P


How to avoid apps being re-arranged when synching with iTunes?

You could disable App syncing completely on the apps tab. Then iTunes will not sync the apps anymore and so it won't re-arrange them.
The drawback is that new apps won't be downloaded to your Mac/PC anymore. So in case you have to restore your iPhone using iTunes you will have to re-download all the apps. But as your purchases are connected to your Apple ID you will not loose the apps. They're just not stored on your Mac/PC.


Is there a way to transfer an iPad 2 to a different user without losing the game scores?

The saved games are usually stored locally on the device, even if they are synchronised by iCloud. If you sign out of your iTunes account and sign in with his new one, there shouldn't be any loss of save game data at all.

If, however, you want to wipe the iPad and set it up anew for him, you'll need to backup the save information and restore it to the iPad after the clean install. To do this, I would recommend iMazing (formerly Disk Aid). It's a great app, available for both OS X and Windows, that lets you drill down into your apps to retrieve data.

I would recommend doing a full backup in iTunes first, then use iMazing and save the "Documents" and "Library" folders from each app with a save game, so you have two backups just in case anything goes wrong. Then, once you've restored the iPad to factory settings and reinstalled the games, just use iMazing again to copy the folders back in to their respective apps.


How can I highlight text on a screenshot using Markup in macOS?

You can open the image with Preview and build your own sticky. Under the Tools menu go to Annotate and select a rectangle. Adjust size of rectangle and then set fill color to yellow and the line color to none. This results in a yellow rectangle. Now under Annotate select text. This puts a small text box on your image. Move this to inside yellow box and type in your own text. Now save the file as a  jpeg or whatever you like and your image will have a yellow sticky on it.  This maybe be to long a process for you but it works. See image below for an example.


Is there an application for boosting the bass levels of all system audio?

BOOM!

It's a very simple app, costs just $9 on the Mac App Store as of this writing.

We covered this app on the Ask Different Podcast, episode 15. Nathan needed an app to apply a satisfactory EQ output to all system audio, as he's begun to use Spotify more often than iTunes, and Spotify does not have an EQ function built in.

Thus, we have BOOM! A variety of uses (gain/leveling, EQing, etc.), with a simple interface, and a low cost.


Remove requirement of App Store password

I'm not too sure as to what caused the problem but all you need to do is go to:

Settings>General>Reset>Reset All Settings

This will result in losing all the wifi passwords you connected to but you can just retype them. Then just update or download something (that's free of course like an already purchased app or an update), type in the password, cancel (unless you actually want to download it) and now you don't need your password anymore.


Download a file from a FTP server to a specific location?

Use curl instead of open :-)

curl 'ftp://user:pass@my_ftp_server/my_file' > '/tmp/fileDownloadedFromFtp'
curl -o '/tmp/fileDownloadedFromFtp' 'ftp://user:pass@my_ftp_server/my_file'
(cd /tmp && curl -O 'ftp://user:pass@my_ftp_server/my_file')

curl by default dumps the received data on standard output, so the first option just uses output redirection to store it. The second option explicitely sets the target directory/name, the third changes to the target directory first and then has curl store the data into a file named the same way as on the source side.

If you want to avoid that username/password are visible to other users by running ps (or by looking into your shell history)

create a text file .netrc in your home directory with the following content (replace my_ftp_server, user, pass with the real values)

machine my_ftp_server login user password pass

run chmod 600 ~/.netrc
Use curl -n ...


You could change permissions for Safari.

Open the information window on Safari (from the Finder window, with the Safari application selected, push command+I or right-click), add the desired user, and set permissions to no access.


How can I copy many large hi-res photos directly from iPad to cloud storage via WiFi and then manage them?

Isn't that exactly what the Photo Stream Feature is good for? It snycs all images directly into the iCloud. Yes it would also sync them to all devices, but I guess that's optional.


I have over 50,000 emails. How can I make the Mail app go faster?

I would start by deleting the account and then recreating it.  However, before you do, make sure you set the "Download Attachments" option in the Account Settings

You have three options:

All - automatically downloads all attachments
Recent - mail from the past 15 months.
None - you have to manually download attachments.

So, as you're recreating your GMail account, select "Recent" or "None."  Then, as it synchronizes with your email account, it will only download the attachments that fit those rules.


El Capitan Contacts.app most of contacts are duplicates, but not all

Contact debugging involves the following steps.

Identify source of data. This could be via iTunes sync from a device, a provider like Google, Exchange/Outlook, Yahoo or iCloud or directly in the Contacts app.

Isolate sources causing issues (disable all or one by one if possible).

Identify duplicates and merge. Understand the difference between "link" and "merge" as "link" will not remove duplicates.

If all else fails, use the export option in Contacts to export all contact cards and then re-import the ones of interest. Then you should have a clean setup.


Must I reformat my hard drive to reclaim space from unused 2nd partition?

You won't need that, you can delete your Ubuntu partition and expand the current OSX one.

Using Disk Utility :

Choose your hard drive
Under the Partition tab
Delete your ubuntu partition and expand the OS partition.


Why won't my MacBook work with my Raspberry Pi WiFi?

It looks like something was horked up with my routing table. Flushing my routes with

$ sudo route -n flush

at the terminal several times, clearing my custom DNS entries, and turning my wifi off and then on again allows me to connect properly.


If you look "closer" at the fonts/names in the dropdown list you'll find they are being handled by server:
"patorjk.com/software/taag/#p=display&f=Rectangles&t=Hello\ world!"

The option group's name (html) is "optgroup label="Featured FIGlet Fonts", one font e.g.:
<option value="Rectangles.flf">Rectangles</option>

Therefore I assume they are sent by/to script
<script type="text/javascript" src="./js/figlet.js"></script>

It is certainly possible to delve deep into JavaScript and trace whatever commands it takes to solve this.
Actually I "studied" this page, tried AppleScript with/and Karabiner, but the list's behaviour is so "nervous** " that in the end I settled for a pure Automator/AppleScript solution:

tell application "System Events" to tell process "Safari"
    if name of front window of application "Safari" is "Text to ASCII Art Generator (TAAG)" then
        key code 125 --down…
        delay 0.1
        key code 125
        key code 36
    end if
end tell

Actually this "just-so-working" code presumes you have selected the list, then press the shortcut shortly, let go, press shortly, let go, ...
(** AS/Karabiner, via osascript, worked nicely & quickly – but only circled through fonts with same 1st letters … very irritating, possibly due to some settings in the js-script.)

Now if this particular page is really important to you, try this: open Automator, goto

File>New>Service / left window: Execute AppleScript / top lists L/R: No input / Safari (any browser).
Paste above code into window. Safe as "Fonts-down" (for "going up" replace "125" with "126").

Final step: open Sys-Press Keyboard Shortcuts Services (left) scroll-down to "Fonts-down", check and input your chosen shortcut (e.g.: Opt-D). It should now appear as (menu) Safari>Services>Fonts-down.
(Depending on your general settings you may have to ONCE "allow" this script in Sys-Prefs.)

Okay.
– This script will only work in the specified window (important)
– If you press too long (try it) fonts may be skipped
– Sadly you'll have to choose a multi-key combo in Sys-Prefs keyboard, like Opt-D (Opt-U for "up"?)
   (If you use Karabiner you may define a 1-key shortcut to call "Opt-D".)
– This page is difficult to handle as its displayed content is created server-side.


What are the differences between SDRAM and SO-DIMM RAM, and which should I use for my iMac?

You're getting your terminologies mixed up.

SDRAM (Synchronous Dynamic Random Access Memory) is just the type of RAM on a DIMM. In your case as you've stated it's DDR3 (3rd generation of Double Data Rate)

A DIMM is a standard format Dual In-line Memory Module. These have different pins for the different types of memory specification, so a DDR3 module will have a different edge connector to a DDR2 module and so on.
A SO-DIMM is a Small Outline version of a DIMM, hence the "SO". These were designed for laptops where full size DIMMs wouldn't fit.

Apple use SO-DIMMs in their iMacs now, so DDR3 PC3-10600 (10600 is the peak transfer rate, so going lower than this will be a bad thing for performance) SO-DIMMs are what you want to get.


Here's the relevant passage from the 2012 Prius C's user manual:

Before using the Bluetooth® audio/phone, it is necessary to register a Bluetooth® device in the system. Follow the procedure below to reg-
ister (pair) a device:
Press the tune knob and select “Bluetooth” using the tune knob.
Press the tune knob and select “Pairing” using the tune knob.
A passkey will be displayed.
Input the passkey into the device.
Select “Yes” to register the device. Depending on the type of device, it may register automatically.
If a Bluetooth® device has both music player and cellular phone func-
tions, both functions will be registered at the same time. When delet-
ing the device, both functions will be deleted at the same time.
If the off-hook switch is pressed and the “PHONE” mode is entered
when no phones have been registered, the registration screen will be
automatically displayed.

Basically, the music should just work. Try re-setting it up again and report back by commenting under this answer.


Is the only way to update password stored in Keychain, to delete the old/existing stored password & re-add its new "update"?

I can’t test as I’m on my phone & don’t think I’ve ever tried on a network password, but for a web password you can simply open the item, reveal the existing pass, type a new one & save.


Open a Finder window at the folder in which you wish to search.  Press ⌘F to open a Spotlight search window, which will target that folder.  There is a drop-down list that will have "Kind" selected:

You will want to change this to "Raw Query", which, if it isn't available in the drop-down list, you can add by selecting "Other..." at the bottom of the list, then selecting it in the panel of search attributes that is presented:

As your raw query, enter the following noting the triple equality:

kMDItemUserTags==='fruits'

Then click "Save" to create your Smart Folder.

Here's a demonstration using the coloured tags in Finder on the contents of the following folder:

This finds files tagged only Green (triple equality):

This finds files tagged Green ± other tags (double equality):


In your iPhone: Settings > Messages > Text Message Forwarding: you should see your Mac. Just uncheck it.

In your Mac: Messages > Preferences > Accounts: Just uncheck "Enable this account" or just "Sign out".

Be careful that you can attach iPhone and Mac also with an Apple ID different from the iCloud one, so you have to figure out what is the shared account and sign out from it.


"Last backup could not be completed" when "Last backup: Never"

From the date of your post, you were using iOS 9 at the time. I experienced this issue myself with backups in iOS 9. Forcing another iCloud backup would eventually allow it to complete, but over time I had to deal with runaway backup sizes (growing up to upwards of 5 GiBs after a few days).

As far as I can tell, this appears to be resolved at last in iOS 10. I would recommend performing a backup in iTunes, then upgrading before trying another iCloud backup.


Play folder or file in iTunes without adding it into library

http://www.macworld.com/article/1049828/listenonly.html
may be out of date of course ... this link takes you to an article that seemingly explains how to do what the OP requires ...

  Make sure you can see the iTunes window, specifically the Source
  column, along with the song you wish to listen to. Hold down the
  Option key and drag the song file into an empty spot in the Source
  column. iTunes will create a new playlist containing the dragged song,
  but it will not add it to the library. When you’re done listening,
  just delete the playlist. The original file will be untouched, and
  once the playlist entry is gone, iTunes will no longer be aware of the
  song, either.


Why would files show zero size in Terminal by multiple KB in Finder?

My guess would be that the content of those files are hidden away in the resource fork, and that ls only shows the size of what’s visible to standard Unix API:s.

If this is the case, you should be able to see the “hidden” bytes by doing

ls -l *filename*/..namedfork/rsrc


How to bring a dead MacBook Pro back to life

First, tether this MacBook Pro to a working Mac with a Firewire port. Attempt starting the MacBook Pro to Target Disk Mode. While the working Mac is on, and the MacBook Pro is off–but connected to power–and both computers are connected to each other via a Firewire cable: press the power button on the MacBook Pro and immediately press and hold the T key on its keyboard. Normally, you will begin to see a Target Disk Mode screensaver on the target Mac and its hard disk drive will mount to the filesystem of the working Mac. If neither the screensaver appears or the drive is mounted, check the System Information app on the working Mac and select Firewire from the list. Verify if there are any signs that the Firewire port is connected to a computer.

If that fails, it highly likely that the power connector and/or logic board are broken.


Why do calendar notifications bring macOS Calendar application to the foreground?

So as it happens, I had recently turned on a feature in macOS Mail (mail.app) called "Add invitations to Calendar automatically". Disabling this feature immediately fixed this issue and does not prevent Calendar from receiving/notifying/displaying calendar invites. In honesty, aside from removing this really annoying side-effect it doesn't seem to have any downsides for my usage of Mail/Calendar.

Fix: Mail > Preferences > General > Disable "Add invitations to Calendar automatically"


Go to System Preferences / Keyboard and there is a tab near the top that says 'shortcuts', click on that. Now you see all the keyboard shortcuts. Find one for Expose and change it.


Cannot remove iOS simulator receipt files from Trash

You need to disable System Integrity Protection (SIP).

Reboot the Mac in Recovery mode : Hold down Command + R after you hear the startup chime
Launch the terminal (Utilities > Terminal)
csrutil disable
Reboot
Empty your trash
Reboot again in Recovery mode
Launch the terminal
csrutil enable
Reboot


USB adapter stops working after deleting NetworkInterfaces.plist

System Preferences > Network

If you can see your USB adapter in the list unplug it, Delete the entry using the "-" button bottom left of list of devices.

Then plug it back in, if it fails to auto detect then press the "+" button and add your USB adapter.

If it doesn't show your adapter in the list:
then press the "+" button and add your USB adapter.

Only do this if the option above don't work, it could be the permissions have gone awry  on the directory to NetworkInterfaces.plist , in which case use disk utility to repair permissions on your hard drive, select the Volume such as "Macintosh HD" not the physical drive when you do this.
If you are on El Capitan you will need run from teh Terminal

csrutil status

If System Integrity Protection is enabled (which it should be in most cases), then the command output will indicate so. Being enabled will in turn indicate that permissions have been checked and maintained.


You can go to Apple.com and download any Apple Updates manually:
http://support.apple.com/downloads/

And there's no harm in "reapplying" them. In fact, sometimes it's a good troubleshooting measure.


How to close a window without the application quitting?

Typically, an application will offer a way to both close the UI and quit the application. These are usually standardized to command ⌘+W to close the UI/window and command ⌘+Q to quit the application.

Some applications will still quit entirely when you use command ⌘+W, such as Preview. You can usually rely on this shortcut to close the window without quitting, however.

I should also point out that the red button in the top left does not "quit" the application as you mentioned in the question body. It will close the window (just like command ⌘+W).


Low-res photos when transferred from iPhone

I believe the problem was fixed in either iOS 8.1.2 or possibly 8.1.1.

Running iOS 8.1.2, I have tested the same photos from my Camera Roll that gave me the issues described and they now transfer at the correct resolution.


Is regular charge cycling important to maintain battery health?

FWIW, Apple's own advice no longer says cycling is recommended (but it used to) -- it now just focuses on things like turning off battery hogs like WiFi when not required, and storing the device half-charged if you're not going to be using it for a while.


Installing Xcode 4.1 and Xcode 3.X on Mac OS X Lion

The installer for Xcode 3.x fails when you try to run the installer against Lion.

Xcode 4.0 also does not work under Lion, and purposely refuses to start.

Some Developer applications (like Dashcode) do start but more often than not just crash.

If you really depend on Xcode 3 your best bet is to keep Snow Leopard on a second partition alongside Lion and dual boot when needed. AFAIK you can nonetheless target previous Mac OS X and iOS versions to some extend in Xcode 4.1.

You can try installing it on Snow Leopard and then upgrading to Lion - that's the best chance, but it might be easier to keep an external disk bootable with Snow Leopard and Xcode 3.x just in case you run into any glitches down the road.


How to prevent Command-I/Command-Shift-I from opening Mac Mail when in browser?

You can change the shortcuts from System Preferences:

If you want to disable the shortcuts, edit the NSUserKeyEquivalents dictionaries directly:

defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Email Page Location' '\0'
defaults write com.google.Chrome.canary NSUserKeyEquivalents -dict-add 'Email Page Location' '\0'
defaults write com.apple.Safari NSUserKeyEquivalents -dict-add 'Email Link to This Page' '\0' 'Email This Page' '\0'

Then quit and reopen Chrome and Safari to apply the changes.


I run fsck -fy three or four times, as suggested in the comments, but it didn't reveal any issues and kept telling me  "The volume /dev/rdisk1s1 appears to be OK".

I was lucky to have Windows installed alongside macOS with Bootcamp, so I booted into Windows to see whether the data on the macOS partition were fine. It turned out that one can't just view APFS drives in Windows, so I had to install a trial version of APFS by Paragon, which allows you to mount such drives from Windows.

The partition mounted successfully, and I was able to see all my data, so, apparently, nothing was lost or corrupted. I was even luckier to have a spare hard drive lying around and a device to connect it to a computer through USB, so I did that and copied the vast majority of my files from the (faulty?) macOS partition to this drive.

After the data were safe, I rebooted into Recovery mode, checked the partition from Disk Utility once again, which showed "...appears to be OK" again, and tried to reinstall the OS.

I know the installation process is supposed to be kinda long, but this one was insanely long. Everything seemed to have installed (no errors whatsoever), and it attempted to boot itself. It was doing that and showing me the usual apple logo on the white background and a full progress bar for literally fifteen hours because I was told to "let it work" and that it might repair the drive in the comments, and was hoping not to lose any data. Well, that went nowhere, so finally I just shut the Mac down. (BTW, after booting from Windows again I found out that all the data on the macOS partition were still intact)

I ended up wiping the macOS partition from the Disk Utility in the Recovery mode and installing macOS once again. This worked fine, and I got a fresh macOS Mojave installation, from which I'm writing this (semi-)answer. I can access all the data I copied to the external drive, nothing is corrupted.

TL;DR - did a backup (the partition was not corrupted), nuked the partition from orbit and did a clean installation; still no idea why this happened.


Can user accounts be managed via the command line?

To create an account in the Users folder

dscl / -create /Users/addfromcli

Create and set the shell property to bash.

dscl / -create /Users/addfromcli UserShell /bin/bash

Create and set the user’s full name. (Displayed in some of the panels/login screen)

dscl / -create /Users/addfromcli RealName "Added From Cli"

Create and set the user’s ID. (this is the unique id, you need to find out what id your last user create was and add one)

dscl / -create /Users/addfromcli UniqueID 503

Create and set the user’s group ID property. (This can be your default group)

dscl / -create /Users/addfromcli PrimaryGroupID 1000

Create and set the user home directory.

dscl / -create /Users/addfromcli NFSHomeDirectory /Local/Users/addfromcli

Set the password. (dont use password as a password)

dscl / -passwd /Users/addfromcli PASSWORD

Some more details can be found on OS X Daily


Blocking iOS Wi-Fi automatic update downloads?

Without jailbreaking, or using an MDM (mobile device management) solution, you could just block the Apple site at your router. The site URL is appldnld.apple.com. All of Apple's IPSW files come from that location.


To how many bluetooth receptors can I send sound from my MacBook?

I have used aggregation to play sound via Bluetooth and wired audio at the same time. I originally used soundflower. But you can use apples AudioMIDI app which does the same thing.

Apple have instruction here.

How to combine multiple audio interfaces by creating an aggregate device

Which basically shows you how to create a single output selection that sends the output to more than one device.

I am unable to test this against multiple Bluetooth devices but think if there is any way to do it then this would be it.


How to install Widevine CDM with Chromium on macOS?

I was able to successfully install Widevine by adding the following arguments to my build config:

ffmpeg_branding="Chrome"
proprietary_codecs=true
enable_widevine=true

First and second one makes sure that the codecs are available to play most video. enable_widevine well enables widevine.

Once built, go to chrome://components and scroll to the "Widevine" one. It should list the version as "0.0.0.0" or something like that. Click "Update". This should change the numbers to the most current version and install it. Restart the browser and it should work.


Is there a way to stop the MobileMe synchronization from Terminal?

Try this :

sudo kill -9 /System/Library/PrivateFrameworks/DotMacSyncManager.framework/Versions/A/Resources/mobilemesyncclient

I don't use Mobile Me so cannot test this but this is the location of the Mobile Me sync command.  So killing it should stop the syncing.


Yes, since OS X 10.9 Mavericks there is a function called Target Display Mode or short TDM. In short: this is a manner to use your iMac as screen for another Mac, not for PC's. You can connect your mac by miniDisplayport or Thunderbolt cables.

Unfortunately you need an 27-inch iMac Late 2009 or Mid 2010 to use mini display port, or an iMac-21 inch mid 2011 or iMac 27-inch Mid 2011 to use Thunderbolt.

All the requirements can be found here: http://support.apple.com/kb/HT3924

You surely can use a Dell screen, if you've got a minidisplayport or thunderbolt port, then you can buy a minidisplayport to HDMI/VGA/DVI... Best way is to check out which connections you've got on your iMac and then search for an transformer. (You just can use an minidisplay cable in an thunderbolt port). A workaround could be an USB display adapter, but those don't have the best preformance...

Good luck!


Can I change my MAC address to be the same as my old MacBook so it will stop rejecting my iPod?

Making the name identical will not change acceptance.
You have to deauthorize the ipod from the old MB and then authorize on the new MB  .


Can't print on OS X Lion via shared printer connected to Windows Vista. Fix?

IN my situation the error was caused by a changed password. In the keychain the old password was registered and used during printing.

I solved to problem as follow:

Open the KeyChain Access App (Applications -> Utilities -> Key Chain Access)
Search for your printer name
Open the key chain entry found
Change the password


Gmail App doesn't allow zooming in for Apple devices?

Pinch-to-zoom on an email works in Gmail's latest iOS app (version 4.4) and Apple's native iOS Mail app (tested as far back as iOS 6).

Maybe she does not know how to pinch-to-zoom?


It turns out that, as I suspected, a paranoid security configuration was preventing AFP from working.

In particular, the machine had been "hardened" per Apple's security configuration guide in which chapter 9 describes how to disable AFP by unloading the com.apple.afpfs_afpLoad dæmon (I had thought it was only required to serve files, not also to connect to an AFP server as a client).  Reenabling the dæmon resolved the issue.

I am nevertheless curious what tools are recommended for tracing file sharing problems in the future.


Top of screen application menu bar on every monitor in multiple display

For now, use SecondBar. In Mavericks, this feature will be built into the OS.


iPhone has addresses - will that first sync remove them?

She shouldn't lose any contacts by syncing with itunes. She might easily end up with duplicates, though, if the same address is in both places. As I understand, every item in the address book is equipped with a UUID. When you delete a record on one device, the UUID is put in a list of deleted records, and so the corresponding record is deleted on other devices during a sync. But that is supposed to be the only way records are deleted from syncing.

Disclaimer: The above is what I have inferred from observation. I haven't seen it in any authoritative documentation, so there is a possibility that it is not entirely accurate. Use this advice at your own risk.


Looking for a tool to automatically two-way sync SFTP with local folder

Old question, but here's my answer:

I use a Unix tool called Unison. This is a command-line tool that allows for two way sync.

The good is that it's highly configurable: ignore certain file names, directories, synchronize multiple folders, which side wins in a conflict, many other things.

The bad is that you have to not be scared of the command line and both the server and the client have to have Unison installed; both installations need to be the same version and built with the same version of OCAML.

But I've been using it multiple times an hour every work day for the past year and it's been awesome -- it's really fast, really easy to fire off from the command line.


Disable notification center on lock screen (or prevent it from clearing notifications)

Naturally, I ended up solving this shortly after I posted the question. This article ended up solving it for me.

In summary:

Open Settings
Go to Touch ID & Passcode
(Enter passcode)
Scroll down to "Allow Access When Locked"
Disable both "Today" and "Notifications View"

Now there is no swiping down from the top at all on the lock screen (but still available if unlocked). Thank goodness!


"Safari wants to use your confidential information stored in "website" in your keychain"

Open Keychain Access.app in your Utilities folder. Highlight one of
  familiar keychain entries on the right side or type a familiar name in
  the spotlight panel.

  Then double click the entry. When the panel opens, select "Access
  Control".

  In the "Always allow access" panel, click on the +, then navigate to
  Safari in your Applications folder. Save changes.

  Just for good measure, go to the Keychains Menu>Keychain First-Aid and
  select "repair". If any errors appear, rerun until you get a clean
  pass.

  Close Keychain Access and restart Safari.

source:https://discussions.apple.com/thread/2060870?tstart=0


Copying Individual Photos from Messages in 10.12.6

Click Details in the top-right corner of your conversation window (or right-click the conversation from the conversation list and click Details…).

In the media browser (under either Photos or Files), you are able to copy & paste or drag & drop individual items.


mds error "No store registered for scope" for nonexistent volume

I use Alfred, a utility similar to Quicksilver. I had previously configured it to search /Volumes/Storage for apps, but never told it to stop trying to index that volume once I migrated to the new machine.

I removed the /Volumes/Storage entry from Alfred's list of directories to index, and now the console messages have stopped.


My iPad has a popup saying I have a virus

You likely do not have a virus.
It's probably just a popup that gets launched every time you re-open Safari.

Go to:

Settings > Safari > "Clear History and Website Data."

You won't lose any bookmarks, it will just clear your browser history and open tabs.

Let us know if that works for you!


Thunderbolt Daisy Chain to Non-Thunderbolt Monitor w/LG 34UM95 at end of chain

It's doable, one simply must include a TB device between the two monitors.

Computer->TB Monitor->TB Device->Non-TB Monitor

The TB device can be any dock, drive, etc. that has TB-in and TB-out ports (2 x TB ports).

The technical details have to do with the way TB carries and decodes display signals.  TB can carry 2 signals.  Essentially, each TB device can only decode 1 x display signal (there's more to it, and technically TB devices could decode 2 signals, it just ain't happenin' right now).  So your initial TB monitor can decode one for viewing on itself and pass the other along...but it isn't decoded.  You need a second TB device to decode that second signal.  If the second device is a TB display, then you're in-like-Flynn.  If not (like in your case), you need another TB device to decode the signal before it hits your non-TB monitor.


Can any one tell about what kind of issue I am seeing in my Macbook pro 10.12.1, i am seeing verticle lines in one part of screen?

It's a hardware fault in the screen. Your MacBook Pro needs its screen replacing.


How to preserve Time Machine backups and start over with a new one?

The simplest way is for you to note the date and time of your last backup in Time Machine on OS X Mountain Lion. You can get back to it at any point in time in the future just by restoring to the backup with that date/time (this will remain on the disk as long as you have adequate space so that Time Machine does not delete these older versions).

You can easily find this date and time by navigating into the "Backups.backupdb" folder on the Time Machine disk and looking at the timestamp for the "Latest" folder (it is actually a link - so you can even open it to see the latest backup folder name with the date and time).

If you do not wish to note down the date and time of your last backup with OS X Mountain Lion, the next simplest way is to change the computer name either on the Mac on OS X Mavericks before you do your first Time Machine backup on it or on the Time Machine backup disk for the older backup.

In either case, this will make Time Machine create a new folder with the new machine name on the disk and it will do a full backup the first time (so you need adequate disk space to hold almost two copies of your Mac). This way, you can restore from the old or new backup in the future (if you rename the computer name on the Time Machine disk, then you would have to revert that to do a full restore of the old system).

To change your computer name, go to System Preferences > Sharing and edit the Computer Name: text.
OR
To rename the computer name on the Time Machine disk instead, use the following command in Terminal.app:

sudo /System/Library/Extensions/TMSafetyNet.kext/Contents/Helpers/bypass mv /Volumes/<TMDiskName>/Backups.backupdb/<ComputerName> /Volumes/<TMDiskName>/Backups.backupdb/<OSXMountainLionBackupComputerName>

Substitute the following in the above command before running it:

<TMDiskName> is the name of the Time Machine volume name
<ComputerName> is the current computer name (which you will continue using for OS X Mavericks)
<OSXMountainLionBackupComputerName> is the name of the snapshot for you to do a full restore from in the future (you would have to rename it back using a similar command as above before the full restore)


How to avoid Mountain Lion to asking for an Java installation?

Check your login items (System Preferences → Users & Groups → Login Items). If it's happening on every login, it's likely you have some process that requires Java in your login items.


Corresponding ipfw rules in MacOS for this Iptables rules

To enable NAT for a host-only network in VMware Fusion do the following:

Enable forwarding by adding a file /etc/sysctl.conf with the content:

net.inet.ip.forwarding=1

and reboot
Connect the Mac to the host-only network and make a note of the network/netmask of the host.only network:

Enter ifconfig to get the vmnet IP of the Mac

...
vmnet3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:50:56:c0:00:03
        inet 192.168.9.1 netmask 0xffffff00 broadcast 192.168.9.255

In the IP setting of the guest VM enter an IP/netmask according to the host-only network settings (with the example above that's in the range 192.168.9.2-254/255.255.255.0), a gateway (the vmnet3 IP of the hosting Mac from step 3 - here: 192.168.9.1) and a DNS server.
Open the pf.conf file with:

sudo nano /etc/pf.conf

and add the lines:

nat on {en0, en1} proto {tcp, udp, icmp} from 192.168.9.0/24 to any -> {en0, en1}
pass from {lo0, 192.168.9.0/24} to any keep state

after the line rdr-anchor "com.apple/*".

Depending on your Mac and your network configuration only one interface is sufficient (either en0 or en1). Also use the proper network/netmask (your vmnet config instead of 192.168.9.0/24)!.

Save the file and exit nano.
Check your pf.conf with:

sudo pfctl -vnf /etc/pf.conf

If no error occurs enable pf with:

sudo pfctl -ef /etc/pf.conf

After a reboot you have to relaunch pf because it's not started automatically while booting. To launch pf while booting check step 4 in this answer: What is the modern way to do port-forwarding on El Capitan? (forward port 80 to 8080)


2013 MacBook Air 13" won't boot - green MagSafe LED

The problem is unrelated to the status of your MagSafe light.  Green means "charged" and amber means "charging."  Seeing a green light on your MagSafe means it's getting the signal that they battery is fully charged; there's no other diagnostic info related to this light.

The problem you are having is that your Mac won't turn on.  This could be due to:

an issue with the power button on the top case assembly - the only way to diagnose this is for the battery to run down completely and then connect to power with auto power on enabled and/or open the case and begin repair level triage / fault isolation / part replacement or repair ( hereafter called open and repair)
an issue with the SMC - the only way to diagnose this is to try one time to reset the SMC - if after one reset, it doesn’t power on, open and repair.
an issue with the logic board - open and repair
an issue with a failed battery dragging the power too low to start - open and repair

If you have some technical skills, you can DIY diagnose the first two by bypassing the button and shorting the power pads on the logic board to simulate a button press or disconnect the battery for 30 seconds to reset the SMC.  This will triage and isolate the failure to the connectors running the keyboard and assure the logic board and storage and OS are all functional.

However, the key to this that points in the direction of a logic board failure is this statement:

  There's no fan noise...

Regardless of any other issues, if the logic board is functioning properly, the fan will spin at 2000 RPM on MacBook Pro and MacBook Air.

If you're not technically inclined, or it's the third option (likely), it's time to take it in for service to someone that has the tools and training to perform the open and repair steps.


Unable to take full screen screenshots "Your screenshot can't be saved"

Does your Mac have a Touch Bar? If so, check the location shown there after you press Cmd + Shift + 4. Is it a valid folder?


Is there a reason why OS X Mavericks Server is running Postgresql?

From the OS X Server Advanced Administration manual, under the section on Postgres backups:

  The Server app on OS X Mavericks supports three separate database clusters:

  Calendar and Contacts
  Profile Manager
  Wiki and Xcode server


It’s a one-time payment, and it’s standard App Store licensing — you can use it on all Macs you own for personal use which also means if you use the same AppleID to download to 15 to 30 Macs, you might get an email from Apple or just be in violation of the Mac App Store terms.

Overall, the server app enables command line and guidance management of many server features already present in MacOS, since it’s Unix, and adds a bunch more custom code and server functionality from the app that packages scripts and binary tools as opposed to a new replacement OS.


How To Remove iMessage Icon On Toolbar (MacBook Pro)

You can do this by opening iMessage or Messages on your MBP. Then going to Messages->Preferences

There is an option in here to remove it from your menu bar

Hope this helps :)


Is it possible to create files directly in Folders?

AFAIK, you can't do it directly through the macOS GUI like in Windows, w/o any customizations.

You can use the Terminal* app (Cmd+Space to open Spotlight, then type terminal), by typing cd, then drag and drop the folder to it to get the whole file path; finally type touch my newfile.docx.

e.g.

cd /path/to/file
touch newfile.docx

many other alternative solutions here

* coming from the Windows world, terminal it's like the cmd.exe (Command Prompt)


Brew doctor complains about 2 unbrewed dylibs (possibly remnants from Samsung Sidesync)

Yes you should remove them. Package managers will complain if there are files installed in the area they manage. So with Homebrew only Homebrew installed files should be in /usr/local

In this case I would guess from the names the first is definitely from Sidesync but the second could also be used by others


Why can't websites access JRE in Yosemite?

As suggested by Moto_Nomad, this appears to have been caused by the Facebook Video Chat plugin requesting Java Runtime Environment. I needed to undertake the following steps to locate and disable this process.

Launch Terminal, and type the command launchctl list | grep facebook

This results in something like the following:

-   1   com.facebook.videochat.<yourname>.updater
-   0   com.apple.facebook.xpc

Where <yourname> is your Facebook id. To delete the process, type the following command:

launchctl remove com.facebook.videochat.<yourname>.updater

Remember to replace <yourname> with the Facebook ID returned in the first step. To check the command has worked, type launchctl list | grep facebook again. This time you should see the following:

-   0   com.apple.facebook.xpc

Having done this myself I can confirm that the dialog shown in the question is no longer appearing.


Multiple kernel panics per day on MacBookPro4,1 2008 mostly in web surf mode

You log shows Google Chrome He as the problem maker.
Reinstalling the OS would not fix that since it is Chrome problem.
As for the problem solving, try following:

Uncheck the 'Enable hardware acceleration' checkbox to disable hardware acceleration for the Flash player in Chrome.

Follow this instructions to Resolve Kernel Panics.

Why did I recommend to test in Safe mode (in the comment above)

Rule out incompatible third-party kernel extensions, Startup Items,
and Login Items.
Start up in Safe Mode and use your Mac normally for a time to see if
the panic recurs. Third-party kernel extensions, Startup Items, and
Login Items are not loaded in Safe Mode. Note that running in Safe
Mode may prevent you from using third-party hardware that depends upon
associated third-party kernel extensions.
If the problem does not recur, then this implies a third-party kernel
extension, Startup Item, or Login Item may be the cause.
You can identify third-party kernel extensions by examining the panic log and then troubleshooting them by process of elimination. You
may also be able to identify the culprit by following steps 5 and 6
below.
To rule out corrupted or incompatible Startup Items or Login Items, follow the procedure specified in our "Troubleshooting Startup
and Login Items" FAQ to ascertain if these are causing kernel panics.


Can I play audio out to both USB and Bluetooth on a MacPro simultaneously?

Concerning the audio devides: try this and if it fails try this.


Moving individual specific applications from Leopard to Mountain Lion

It depends, primarily on the way the application got installed initially

Apps which get installed by drag&drop'ing the .app file into /Applications can just be copied to the new system. You will loose your preferences (unless you copied your ~/Library as well) but the application should work
Apps which need an installer may or may not work depending on whether the installer wrote stuff to other folders besides /Applications. Most installers probably do (there isn't a technical reason to use one otherwise)

And of course you need to keep in mind that PPC applications are no longer supported under  Mountain Lion.


How to get + metacharacter for sed in Terminal?

OS X's implementation of sed uses the "basic" regular expression format by default, which doesn't support +.  From man re_format:

Obsolete (``basic'') regular expressions differ in several respects.  `|'
is an ordinary character and there is no equivalent for its functional-
ity.  `+' and `?' are ordinary characters, and their functionality can be
expressed using bounds (`{1,}' or `{0,1}' respectively).  Also note that
`x+' in modern REs is equivalent to `xx*'.  The delimiters for bounds are
`\{' and `\}', with `{' and `}' by themselves ordinary characters.  The
parentheses for nested subexpressions are `\(' and `\)', with `(' and `)'
by themselves ordinary characters. [...]

So, what can you do?  Well, one possibility is to tell sed to use the modern format with the -E switch.  This may, however, force you to rewrite other parts of your RE to conform (for example, swapping \( ... \) with ( ... )).  Another option is to use one of the suggested alternate forms above.  Here are examples using the various approaches to match "A" followed by one or more "B" or "C", followed by "D":

sed -E 's/A[BC]+D/[match]/'
sed 's/A[BC]\{1,\}D/[match]/'
sed 's/A[BC][BC]*D/[match]/'


To setup input order (taken from here):

Go to System Preferences
Click on Language & Text and select Input Sources Tab
Select language which have multiple input orders like Chinese for example
Whilst highlighted click on Keyboard Shortcuts button to the right
Check "Select the previous input source" and "Select next source in input menu"
Now click on the keyboard shortcut for both the options as mentioned in point 5 and enter your convenient options
you can now use those 2 new setup shortcuts to easily cycle between input sources.


How can I run a set of terminal commands using one click?

Running it in an apple script is not that bad. you just have to run the entire script as root because sudo requires user interaction. if you do an apple script like this one:

do shell script "cd ~/Desktop/PopcornTV && /path/to/npm install && /path/to/node atv.js" with administrator privileges

replace then/path/to/npm and /path/to/node with the output of which npm and which node

it will open up a dialogue and ask you for your password.


Is it possible to roll back to the last saved version of a file in mojave?

Normally in most applications when trying to save a file with same name that already exist, your will be asked to confirm.

Background Save and Auto Save Features in Photoshop CS6

Auto Save, another new feature of Photoshop Cs6,  can help recover your file if your computer crashes before you’ve had a chance to save. To select the time interval for automatically saving your files, select Preferences > File Handling and choose from every  5, 10, 15, 30, or 60 minutes.

Both of these features are on by default. To disable either of these options choose Preferences > File Handling and uncheck Save in Background and/or Automatically Save Recovery Information.

However...if you use the Save command the auto saved version will be replaced/deleted and the process starts over.


Outlook 15.27 Ctrl-A and Ctrl-E shortcuts no longer working

I tested this out and can confirm that this did stop working.  However, there is a quick and easy fix: you can set your keyboard command in Customize Keyboard directly in Word.

Under the Tools Menu in Word, select Customize Keyboard (it's at the very bottom)

Next, in the Categories tab, select "All Commands."  Then in the Commands search for "endofline".  You can then assign Ctrl A

Make sure you are saving to Normal.dot (the default template) and select "OK."  You should have your keyboard shortcut restored.


Where does Lion Server store apps used for iOS deployment?

I believe the files are stored in /Library/Server/ProfileManager/Data/FileStore but are not stored as IPA files.


Does the command `reboot` hurt a Mac computer?

It’s not like pulling the power plug because it sends various signals like SIGTERM which closes services and daemons.  User applications with unsaved data may get lost, but they’re not arbitrarily closed as if the system lost power.

From the man page (man reboot)

  The halt and reboot utilities flush the file system cache to disk, send all running processes a SIGTERM (and subsequently a SIGKILL) and,
       respectively, halt or restart the system.

So, running reboot is perfectly safe to the system.


5GHz WiFI speed much slower than on 2.4GHz on my Macbook air 2017

Found solution. Issue was in the settings of bandwidth, changed from 20Mhz to 80 Mhz.


Phone shows 11 gb is used while only a little over 1 gb is used?

You should go to Settings/General/Iphone Storage. It will give you a listing of items on your phone and their sizes. It takes about 15 minutes to create the table so be patient. You can see at bottom of screen that it is working.


This might not really answer the question, but might provide a solution.

Instead of using dd which seems to behave oddly for you, just use cat or cp. At least on OS X, they work very well on block devices.
So:

sudo dd if=/dev/disk1 bs=1m | gzip -c > disk.image.gz

becomes

sudo cat /dev/disk1 | gzip -c > disk.image.gz

If you want the reverse, just redirect gunzip's output:

cat disk.image.gz | gunzip -c | sudo dd of=/dev/disk1 bs=1m

becomes

gunzip -c disk.image.gz | sudo tee /dev/disk1 > /dev/null

If you just want to copy a block device

sudo dd if=/dev/disk1 of=disk.image bs=1m

becomes

sudo cp /dev/disk1 disk.image

If you just want to copy an image to a block device (e.g. Raspbian to SD card)

sudo dd if=disk.image of=/dev/disk1 bs=1m

becomes

sudo cp disk.image /dev/disk1

This also prevents any hassle with block sizes.


Is it possible to boot into a Windows bootcamp partition in Target Disk Mode?

Let me try to explain what is happening.

The MacBook Pro is put in Target disk mode. At this point, the MacBook Pro is running software (firmware) stored on the logic board. This software is provided by Apple.

The iMac boots. At this point,  the iMac is also running software (firmware) stored on the logic board. This software is also provided by Apple.

The iMac recognizes the MacBook Pro as an external drive and determines the default operating system to boot is on this drive.

The iMac reads the necessary file from the hidden EFI partition on the MacBook Pro. This file is loaded into the memory on the iMac and executed. This file is provided by Microsoft.

The executing program from Microsoft now running on the iMac has no idea what Target disk mode is and no idea how to communicate with the MacBook Pro using the cable connecting the two computers together.

So you may see Windows start to boot but in the end Windows can not read additional files from the MacBook Pro.

There is no solution to this problem, but even if there was, Window still would fail to boot. Windows is licenced on a per computer basis. So at some point later in the boot sequence, Windows would have determined the computer was an iMac instead of the MacBook Pro. Windows would then have produced an error message and halted.


App Store Connect - Can't see my app rejection issues in TestFlight

Okay so this is how I found the resolution centre:

Login to App Store Connect
Select my apps
Select the app with the issue
In the AppStore tab, look on the left under General you will find Version History, click on it.
On the right, you should see the Resolution Centre there as depicted below


How to set a Monospace Font for Dashboard Sticky Notes Widget?

This is possible, because widgets are HTML, CSS, and JavaScript based. Here's how:

First, go to /Library/Widgets and find the Stickies one. Copy it to ~/Library/Widgets and name it myStickies (or something else).
Close the Stickies widget in Dashboard.
Now, go to the myStickies.wdgt version you copied and right-click it. Choose Show Package Contents.
In the new window that appears, right-click on the Stickies.js file and open it with your favorite JavaScript editor (if you don't have one, TextWrangler is great and free).
Now, use the editor to find the line var fontArray = new Array; (should be around line 407). You'll see below that line a bunch of lines similar to each other, saying something like fontArray["font name"] = 1,. You want to copy the last one of those (American Typewriter), and paste it back below itself. Then, change it so it looks like this: fontArray["Courier New"] = 8;
Save and close this file.
Now, open (from the same folder) Stickies.html in an HTML editor (TextWrangler works).
Find the line that says, <select id='font-popup' class='popup' onchange='fontchanged(this);'> (should be about line 40).
Below that, you'll find a bunch of lines similar to each other, each beginning with <option value. Copy the one for Gill Sans, and paste it below itself.
Edit it to say <option value ="Courier New">Courier New</option>.
Save and close this file.
Open Terminal and type killall Dock. This restarts Dashboard.
Now, double click the myStickies widget file you made. It will open in Dashboard. Follow the normal procedure of clicking the i and changing the font. You'll have a Courier option, and it will be that font. Yay!


Adding Tabs to text boxes within a webpage?

Normally option-tab would do that, but it doesn't work in web views. As a workaround, you could create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict.

{
    "~t" = insertTabIgnoringFieldEditor:; /* option-t */
}


iPhone 8 randomly locks the screen while I'm using it

How often does this occur throughout the day or week?

Try to backup your iPhone and then restore it with iTunes. Once you get a chance to setup the iPhone then restore from the backup and then test the phone again. Usually this is a software glitch.

If it occurs afterwards do the restore again and don't restore your backup this time. Use the phone without the backup to test the issue. If its still present then it is a hardware sensor issue.


Mountain Lion drops internet when waking

I called Apple Tech Support yesterday. My connection drops after waking from sleep, and it is a hardwired connection (not wifi). They told me it is a known problem with iMacs, and while it eventually will be fixed in a software update, the only thing to do now is to disable the machine sleep on the energy saver panel, which I did..


Extern drive is owned by everybody? How do I fix this?

Select the disk in the finder and go to File > Get Info. At the bottom of the panel, in Ownership and Permissions, is "ignore ownership on this volume" checked? If so, uncheck it.


Can I use AppleScript to detect if there are any windows on screen?

This is one of those tasks that, on the surface of it, is fairly simple to do, but when you experiment a bit more, turns out can be a little tricky, as not every application or application window reports their properties or attributes completely truthfully all of the time.

This line of AppleScript is the most conventional and commonly-used way to get a list of open windows from applications running on your system:

    tell application "System Events" to ¬
        get every window of every process whose background only is false

This will give you a list of even those windows that are currently minimised and sitting under their dock icon.  You can get a list of only those windows that are not minimised, and thus visible on your screen at that moment:

    tell application "System Events" to ¬
        get every window of (every process whose visible is true)

However, this will occasionally miss detecting some windows of background only applications (some menu bar apps) that don't report as being visible even when their windows are open.  So, to catch those, you can use this:

    tell application "System Events" to get windows of ¬
        (every process whose class of windows contains window) ¬
            whose value of attribute "AXMinimized" is false

This has the nice benefit of returning only non-empty nests of lists in AppleScript, is my favourite method to use as being one that catches background only, "invisible" windows.

To call these commands from bash, you can use this:

    osascript \
        -e 'tell application "System Events"' \
        -e '    get every window of (every process ¬' \
        -e '        whose background only is false  ¬' \
        -e '        and visible is true)' \
        -e 'end tell'

This is the combination of the first two examples I gave, which returns a comma-delimited list of windows denoted by their titles, like this:

,,, window Edit - Ask Different of application process Safari,, \
    window ~ — osascript  /Users/CK — ttys000 — ⌘1 of application process Terminal,, \
    window Untitled 2 of application process Script Editor, \
    window Messages of application process Script Editor, \
    window Library of application process Script Editor

(I've split the output over several lines for readability.)  Note the three leading commas, which, in AppleScript, are where you'd get empty nesting lists featuring as a result of processes that are visible and in the foreground, but simply don't have any open windows, thus return {} in AppleScript, which becomes an empty string "" in stdout.

As you can see, I have this Safari window open; a Terminal window open; and three Script Editor windows open.  However, it missed my Instagram feed window.  Here's the other example run in bash:

    osascript \
        -e 'tell application "System Events" to ¬' \
        -e '    get every window of (every process ¬' \
        -e '        whose class of windows contains window) ¬' \
        -e '    whose value of attribute "AXMinimized" is false'

which returns this for me right now:

    window Edit - Ask Different of application process Safari, \
    window ~ — osascript  /Users/CK — ttys000 — ⌘1 of application process Terminal, \
    window Untitled 2 of application process Script Editor, \
    window Messages of application process Script Editor, window Library of application process Script Editor, \
    window Main Window of application process Flume

(Flume is my Instagram app.)  However, the cost of using this method is a bit more processing time (a couple of seconds).

Finally, if all you require is just the actual number of open windows on your screen to determine whether this is non-zero or whatever, then simply swap get every window... with get the number of (windows...) in whichever method you end up choosing to use.

Note:  Some of these commands may work differently on older systems.  I tested these on Mac OS 10.13 using AppleScript 2.7.  However, very occasionally, System Events can throw an error.  Please run the command again.  This is not a problem with the script, but an issue with System Events and its occasional temperamental behaviour.


Bodega can install, check for updates, and uninstall. It also has ability to search for new applications based on your search terms and/or category. It's pretty good, but it is not all-inclusive.

Macupdate Desktop is shareware that is similar to Bodega, but has no feature to uninstall applications as far as I know.


I don't have that problem at all! Skype video call > Photo Booth > Skype video call works fine!

Remove Skype fully (preferences and AppSupport usw) and then reinstall? Or use an older version.


You may find Menu Meters from Alex Harper @ Raging Menace more to your liking. It is customizable, in that you can decide what to display or not. I use it on all my macs.

In addition to monitoring network throughput, it can also monitor disk, CPU and RAM. It is also freeware. If you use it, donate to the coder!


Problem downloading iPhone/iOS upgrade, iTunes complains: "You do not have enough access privileges for this operation"

I found a fix on the Apple Discussions board:

Go to ~/Library/ (i.e. open your home directory, then select the Library folder)
Get Info (click File -> Get Info or type ⌘I)
If possible, make sure the lock at the bottom right corner of the Get Info window is unlocked
Make sure the Sharing & Permissions: section is visible
Where it says "Username (me)" make sure the privilege is set to Read & Write
In the little tool/wheel pulldown right below, select Apply to enclosed items (say yes, if it asks you if you know it can't be undone)
Try the upgrade again

This worked for me. Hope it helps!


Looking for a way to mimic the battery-saving behavior of closing the lid without actually doing so

You can find these options in System Preferences > Energy Saver.

Drag the "Computer Sleep:" slider to the left.

Note that for newer Apple portables, Yosemite combines the sleep and display sleep option:

http://forums.macrumors.com/threads/2013-mba-no-computer-sleep-setting-wtf-heres-why.1598329/


So, I installed OS X EL Capitan, (10.11) and i started to transfer a 9Gigs app (xCode) to install it, and I had NO freeze, so it is Yosemite, and fixed in OS X El Capitan :)  It was only a quick test but On Yosemite doing this froze the system every minute.
If I get one freeze during the next days I'l Edit this post. If not I resolve it.

Anyway, thank you for your help :)

Okay it wasn't OS X but Hardware, The second SSD was installed in the Optical Super Drive bay, and on Late 2011 Mac Book Pro there is an issue on the controller so I installed OS X on the Hard Drive without using the SSD, NO freeze, so I decided to swap SSD and Hard Drive but I don't have the right Screwdriver


Typing option+s results in surprise emoji () instead of eszett (ß)

I have successfully found out where the replacement was coming from - it turns out there was an entry in ~/Library/KeyBindings/DefaultKeyBinding.dict which mapped option+s to the surprise emoji. I had forgotten putting the entry in there.


Why have I lost the ability to play my cloud music with Apple Music?

OMG I figured out what's happening, and I'm horrified.

If the song in question is available in Apple Music, then that song will be automatically treated AS an Apple Music item and therefore will NOT be able to stream even after being added to the iCloud Music Library, on any device running an OS older than 8.4.

So to be clear... music that I created myself that is 100% original (say something out of Ableton Live, Logic Audio, etc.) will be able to be streamed to my phone running iOS 8.1.2.  BUT (and I just did this myself so I am 100% positive it is correct), say I rip a song myself from a CD (or download the song from any other website, etc.).  If I add that song to my library, it will appear as an MPEG Audio File (or aac or m4a etc.) and be able to be added to the iCloud Music Library, but if that song  is also available in Apple Music, then it will NOT stream to my phone!

Additionally, (and this is the really horrible part)... if I remove the download from iTunes, and download it again from the cloud, it downloads an Apple Music DRM-encoded file instead!

The old MP3 (or whatever) version is still on my hard drive, but the iTunes reference now points to their DRM-encoded Apple Music version, and it will not be playable in anything but iTunes.

I'd like to believe this is a bug, but I have a feeling it's intentional.  iTunes never used to do this, and in my opinion this is pretty nasty... if I hadn't caught what was going on, I could have ended up with a substantial portion of my library all being converted into Apple Music files instead of the MP3s, AACs, etc. that I already have.

UPDATE:  I'm on the phone with Apple now and it's confirmed.  Apple Music without iTunes Match will not allow streaming of any newly-added and matched content, to any iOS device using iOS prior to 8.4.  Also Apple Music will always replace any matched songs (even if you ripped them yourself from a CD) with DRM-encrypted versions, should you ever download them from iTunes Cloud (paying for iTunes Match would prevent this).  So basically it's $25/year to remove DRM for good from non-Apple Music files.

I'm amazed I didn't run into this when I investigated using Apple Music in the first place.  I understood that music I actually download through Apple Music (as an Apple Music AAC file) would be DRM, but to lock down my own CD rips if I ever need to download them again!?!?  Brass balls Apple.  Brass balls.


First the bad news, there is no simple 'un-rm'/un-delete and everything will be as it was before.

Assuming your friend doesn't have a TimeMachine Backup of the Data (hence the implied urgency), there are several steps involved:

Access the device
recover deleted files
rebuild the system

re 1: If you have access to another Mac and you have a thunderbolt cable, you can try to access the drive of the MacMini with "Target Disk Mode" (hold T on Startup, see Apple Support here). You can then try to recover the files (Step 2), f.e. with a GUI based Software (usually commercial) like 'Disk Drill', 'File Salvage' or 'Data Rescue' (of course there are others). Most of the commercial Software have a Demo-Version, so you can try before you buy.

If you don't have access to another Mac or a TB Cable you could try to start the recovery partition with Cmd + R and then run the Terminal, trying to recover files via the Terminal with the methods mentioned on this Post in 'SuperUser',

If your friend is uncomfortable with the Terminal, he/you could try to install OSX on a USB-Stick or an external Harddrive and boot the MacMini from the external Drive (see Apple Support here). You could then try to run the GUI-Software mentioned in Step 1.

Just to be clear - a recovery of Data and the OS 'in Place' (on the same Harddrive/Machine you trashed before) is not advisable, even if it would be possible. You are most likely overwriting the Data you want to recover. Your friend should have another Harddrive ready to copy the recovered Data to. After recovery we get to step 3.

re 3: After recovering the important Data to another Drive you can rebuild the System. Again, start the MacMini in recovery Mode (Cmd + R) an choose Reinstall OS X (see Apple Support here for detailed instructions).


Permissions for new files in shared directory

You can't do this with traditional POSIX-style permissions, but you can with inheritable access control entries.  To allow read+write access for the entire "staff" group to everything in /Users/Shared/reallyshared, you'd use:

sudo chmod -R +a "staff allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit" /Users/Shared/reallyshared

The file_inherit,directory_inherit part means that this access control entry will automatically be added to new files & folders created inside this folder, but it doesn't automatically apply to items already there (that's why I added the -R flag to chmod -- that applies it to everything currently within the folder), and it won't be applied to items created somewhere else and then moved into this folder (I don't know of a way around this, sorry).


My download button has moved too far to the right for me to download podcasts directly to my phone

Super frustrating—same thing happened to me. I found that if I went to read the ratings (an option at the top of the screen) and then back, they had moved back to regular position. See if this works for you.


If I was you I'd visit this web page and properly set up your Mac for access to the new WPA2 Enterprise Wi-Fi network at the University of Alabama, but then that would be cheating.


All data such as logs that would be stored within the user account's logs directory (~/Library/Logs) is deleted when the user logs out. Other than standard file recovery tools to recover the deleted logs, it's not possible to find out what the Guest user did—this is by design as the Guest user should leave no impact on the machine, and also attempts to stay disassociated from interaction from others.


It's irritating, for sure - best workaround I've found is to relaunch the Finder...

Option Right-click the Finder icon in the Dock & you see an extra item at the bottom of the menu - Relaunch


Route with /etc/hosts on computer to computer network

As stated, it's pretty difficult to do this. However, if you're willing to change the goal a little, and use a name ending in ".local" instead of ".com", it's trivial (in fact, it's already being done for you).

Let me start with a little networking theory. I think you're mixing up two different levels: name resolution and routing.

Name resolution is how network names (like "thisismylaptop.com") into numeric IP addresses (like 127.0.0.1 or ::1). To simplify a bit, when you put in a name, your computer looks for it in /etc/hosts, and if it finds it it uses that number; if it doesn't find it, it asks a DNS (Domain Name Service) server to look it up for you.

This is a problem in your scenario, because your computer's /etc/hosts file applies only to that one computer; the other computer has its own /etc/hosts file, and it doesn't have your custom entries in it. You could run a DNS server, but then you'd need to find a way to configure all of the computers to use that DNS service, which is a whole other can of worms.

Routing takes place after name resolution; it's the "ok, I have a numeric address, now where do I actually send the packets (data) to get it there?" phase. And there's another problem here, because 127.0.0.1 always refers to "this computer right here". That is, on your first computer, it sends packets to that first computer. On the second computer, it sends packets to the second computer. If you did manage to get all the computers to resolve "thisismylaptop.com" to 127.0.0.1, every computer would think that it was "thisismylaptop.com". Instead, you need to figure out what the IP address(es) attached to your computer's Wi-Fi interface is/are, and use that.

The good news is that wanting to do things like this is common, and so Apple worked out a solution long ago. Apple calls it Bonjour (the rest of the world calls it zeroconf), and it's been built into Mac OS X since 2002. The main limitation is that it requires names ending in ".local" as a hint to the computers involved that they shouldn't use a regular DNS lookup, but instead use multicast DNS, which basically consists of yelling over the local network: "Hey, is thisismylaptop.local out there? If so, send me your IP address(es), so we can talk."

To use it, go open System Preferences on your Mac, select the Sharing preference pane, and look near the top, just below the computer name. It'll probably say something like "Computers on your local network can access your computer at: nywillbs-MacBook.local". If you don't like that name, click Edit to change it (or change the computer name; by default it's based on that). If your other computer is running macOS, you can just use that name directly. If it's running Windows, install iTunes on it, and that'll install Bonjour as well. (There's supposed to be a way to install just Bonjour without iTunes, but I'm not sure it's up to date.)


Access Application Menu Item with AppleScript

The following example AppleScript code is how you'd click that target menu item:
tell application "System Events" to tell application process "ClashX"
    click menu bar item 1 of menu bar 2
    click menu item "Set as system proxy" of menu 1 of menu bar item 1 of menu bar 2
end tell

That said though, sometimes there can be a delay of several seconds, or more, between the first click and the second click. If you find that to be the case, then try the following example AppleScript code instead:
ignoring application responses
    tell application "System Events"
        click menu bar item 1 of menu bar 2 of application process "ClashX"
    end tell
end ignoring
do shell script "killall 'System Events'"
ignoring application responses
    tell application "System Events"
        click menu item "Set as system proxy" of menu 1 of menu bar item 1 of menu bar 2 of application process "ClashX"
    end tell
end ignoring

However, assigning a global keyboard shortcut for an Automator Service/Quick Action can be difficult at best because finding a keyboard shortcut that will not step on an already assigned keyboard shortcut in every application that you could trigger the Automator Service/Quick Action in will not be easy.
Additionally, every application you do successfully trigger the keyboard shortcut in will have to be added to System Preferences > Security & Privacy > Privacy > Accessibility, and that can be such a pain. Also, you actually may not want a given application to have accessibility privileges for security reasons.
To work around the accessibility privileges issues in a use case such as this I avoid Automator and just use an AppleScript script triggered by a keyboard shortcut using e.g. FastScripts, or a similar type of application. Using FastScripts I find that I typically only have to give it accessibility privileges and not the application that was frontmost when the keyboard shortcut was triggered.
This still leaves the global keyboard shortcut issue though and you may end up having to use four or five keys and the non-modifier key will most likely have to be a symbol.

Note: I am not affiliated with the developer of FastScripts, just a satisfied user of the product.


launchctl list doesn't show StartInterval

StartInterval won't get printed with (sudo) launchctl list [label].

Use sudo launchctl print system/[service-name] instead. It will be printed as run interval.

Depending on the domain/service target use

user/<uid>/[service-name]
login/<asid>/[service-name]
gui/<uid>/[service-name]

instead of system/[service-name]

Examples:

host:~ user$ sudo launchctl print system/com.apple.collabd.expire | grep interval
    run interval = 600 seconds
host:~ user$ launchctl print gui/501/usr.homebrew.mxcl.autoupdate | grep interval
    run interval = 7200 seconds


Can't install new Seagate HD on mac -- greyed partion option under disk utilites

In all likelihood, the drive is formatted as NTFS - Window’s proprietary filesystem - which operates as read only in OS X. In order to partition the drive, or even use it, you need to reformat it first.

Open Disk Utility. Select the hard drive from the sidebar. Click “Erase”
Choose a name for the volume. You must also choose a format and scheme. The default OS X configuration is HFS+ Journaled with a GUID partition map. Unless you require universal compatibility, just go with that format.
Click erase
Now you’ll be able to partition/modify the drive to your liking.


GBoard always starts lagging / crashing after ios update

The assumption you're making is that the problems you're having are related to the upgrade to iOS 13.

Now, while this assumption may be correct, it's also the case that around the same time iOS 13 was released, Google also updated Gboard to v 2.3.0 and, not long after, to 2.3.1. In other words, not only did the version of iOS change, but also the version of Gboard.

As a troubleshooting step it would be good to test the latest version of Gboard on an iPhone that's not running iOS 13. I do appreciate, however, that's not necessarily an option for you.

So, what I'd try is totally removing Gboard from your iPhone and then re-installing it from scratch.

Removing Gboard

Open Settings
Go to General > Keyboard > Keyboards
At top right, tap Edit
In the list tap on Remove next to Gboard

Re-installing Gboard

Download Gboard from the App Store
Configure Gboard as per your preferences (keyboard, full access, etc)

Now test to see if that's helped to alleviate the situation.


Unable to post video preview for iOS app

Video upload is broken in iTunes Connect right now, due to mixed content issues, enforced in Safari 9. Either use Safari 8, or try a different browser and choose to allow mixed content.


How can I install .ipa file to my iPhone simulator?

You can't.

IPAs downloaded from the App Store are built for the ARM processor in actual iOS devices. The iPhone Simulator is not an emulator and can't run ARM code.


The message you're getting confirms that you have SIP disabled as you can see that all the individual items are disabled.

The reason you're getting this sort of confusing message is that you've just re-installed El Capitan. It's the message format that was used in El Capitan 10.11.0 and 10.11.1. Apple changed this with the release of El Capitan 10.11.2 so that the message was clearer.


Make wifi TX rate in menu bar instead of wifi icon

While it won't display the TX rate permanently holding down the option key when you click on the WiFi pizza slice icon will display a great deal of information about your current WiFi connection, including the TX rate, RSSI (Received Signal Strength Indicator) and noise levels.

The RSSI and noise levels are more useful than the TX rate in determining the strength and health of your WiFi connection.


It ended-up being even more simple: Little Snitch somehow blocked all domains within the UK range. I didn't know it could do that! I discovered it by rebooting in safe mode and discovering it did work, then removing anything running on boot.


Can Mavericks Spaces support 3 windows spanned across 2 displays?

Yes.

In Mavericks, each space (or full-screen application) can be assigned to any screen, and the 4-finger-swipe gesture will slide between spaces/apps on that screen only.

You can see this quite clearly if you open up Mission Control with multiple monitors; each monitor's spaces/apps are shown across the top of said monitor.

So, for example, you could put Desktop 1 and Desktop 2 on your left monitor, Desktop 3 on your right monitor. Swiping on your left monitor would change between Desktops 1 & 2, while the right monitor would remain on Desktop 3.


Upgrade from Leopard (10.5.8) to El Capitan (10.11) without passing through Snow Leopard (10.6.8)

My understanding is that if you bring the Mac to an Apple Store they will install it for you.
The S/L requirement is to access the store, not as a way to charge you $20. Stopping at a friends house is no different than going to the store.

Keep in mind, moving beyond Leopard, software compatibility may be an issue. I'd research that before making the jump .


You can only access your messages on an iOS device or on a Mac with the Messages app. You cannot access the messages through iCloud.com on the web.

Mac Basics: Messages helps you chat instantly
http://support.apple.com/en-us/HT202549


What Window Management Options exist for OS X?

Spectacle
Open source, available at GitHub, accepting donations
App Store link (will not be updated past version 0.6.9)

Center = Command+Option+C
Fullscreen = Command+Option+F
Left Half = Command+Option+←
Right Half = Command+Option+→
Top Half = Command+Option+↑
Bottom Half = Command+Option+↓
Upper Left Corner = Command+Control+←
Lower Left Corner = Command+Shift+Control+←
Upper Right Corner = Command+Control+→
Lower Right Corner = Command+Shift+Control+→
Left Display = Command+Option+Control+←
Right Display = Command+Option+Control+→
Top Display = Command+Option+Control+↑
Bottom Display = Command+Option+Control+↓
Undo = Command+Option+Z

Per Spectacle' Github:

Spectacle users have recommended Rectangle as an open source
alternative.

Rectangle is maintained as of 2020.
brew cask install rectangle


Try resetting the Mac App Store.

Enable the debug menu and restart the Mac App Store.

defaults write com.apple.appstore ShowDebugMenu -bool true

Choose the Reset Application option and restart the Mac App Store.