Try using the Terminal!

Type:

sips -r 5 --padColor FFFFFF test.pdf

Where 5 is the degrees, FFFFFF is for white (the background) and test.pdf is your pdf. To more easily use this, try only typing sips -r 5 --padColor FFFFFF and then drag a file on the terminal.

Edit: as user3439894 correctly points out this only works for single page pdf's and overwrites the original. You can append --out newname.pdf to the orginal command to create a new file instead. With a multipage document you could also export single pages, run the command on individual pages and then combine them again, though that will take some effort.


when you share a library with another computer, you are not sharing prefenences, just the files.

So when you check/uncheck files you are doing this for teh duration itunes is sharing, as soon as iTunes stops sharing the library, the computer will "forget it" and its settings.

When it is shared again it will see a new fresh library.


How to setup DMZ with Airport behind a router (double NAT issue)?

Out of the box, the Airport (and Apple's Time Capsule) insist that there not be two NAT/DHCP devices chained in a row. You're trying to do this, one being your broadband router, and the other your Airport. In this situation, the Airport will insist on being in bridging mode and letting the broadband router be the DHCP server.

The Airport detects this situation by looking at the IP address it gets. If it is one in a number of known ranges like 192.168.x.x, 172.x.x.x, or 10.x.x.x, it will balk.

So the way you get around this is by having your broadband router give out addresses in a range that's safe but not knows as a "private" address range. I found an article [1] recommending a block of addresses designated for "testing" purposes in the Amateur Packet Radio network (AMPRNet). The range is 44.128.x.x.  I set up my broadband router to use that range, and my TimeCapsule is happy to provide NAT as well. Problem solved.

[1] http://www.wa4dsy.com/robot/ooma-airport-hack


Play/Pause option for iTunes instead of global media for TouchBar

I am 5 reputation short of being able to make this a comment, but I think it's enough of a solution that I can post it as an answer.

I do not have better touch tool or a menu bar (I do have keyboard maestro and I know you could probably do it using that).

However, what you can do is either script the menu item or send a keystroke to iTunes using applescript. You can then run it out of automator (and assign it a keyboard shortcut) or BTT or somehow just activate it using your touch bar.

According to this reddit post (https://www.reddit.com/r/apple/comments/8okzvg/macos_mojava_supports_automator_workflows_on_the/) mojava will add automators to the touch bar.

Either way, here's a script:

tell application "System Events"
    tell application "iTunes" to activate
    key code 49
    set visible of process "iTunes" to false
end tell

It's not perfect, but it gets the job done.


Differentiating and comparing between MacBook Pro models across different generations

Here are the primary features/differentiating factors in MacBook Pro across various generations:

First generation: Metallic Polycarbonate body
Second generation: Unibody enclosure
Third generation: Retina display
Fourth generation: Touch Bar and Thunderbolt 3

Source: MacBook Pro - Wikipedia

A MacBook Pro model (or any Mac, generally speaking) is commonly recognized with an identifier of the form Early/Mid/Late Year based on the time of the year it was introduced. For e.g. Late 2013.

You can use Mactracker, which is an excellent reference app, available for free  both iOS and macOS. It lists details for all the MacBook Pro models (along with all other Apple products) ever released. It lists their features, hardware specifications, current production status and supported macOS software versions. Mactracker is available for download via the respective app stores:

macOS: Mactracker
iOS: Mactracker

2nd generation MacBook Pro models are much more ancient, with the last one released in 2012. Most of them no longer have the ability to run the latest macOS software.

3rd generation MacBook Pro, which were released between 2012 and 2015 feature external design similar to the 2nd generation along with similar design for the keyboard. Prominent feature of this generation include presence of retina display, thinner and lighter form factor, removal of LAN port and Super Drive etc.

4th generation featured major external design overhaul, along with a new keyboard design dubbed the butterfly keyboard. This generation has also seen removal of USB-A ports, card reader and Thunderbolt 2 ports which are all replaced by USB-C ports.

The specifications and features for all the various models of MacBook Pro released are listed thoroughly in the linked Wikipedia article. In conjugation with the Mactracker app, it is the recommended go to place to compare between various generations and models of MacBook Pro.

Note: No afiliation whatsoever to Mactracker, I find the app to be super helpful and use it often.


Enable the display of harddrives in the finder sidebar from terminal

Here's my solution based on the link shared by @sansSpoon:

You can use this python lib: FinderSidebarEditor

Simply put it in your python path then in python, you can edit your Finder Sidebar easily:

#!/usr/bin/python

from FinderSidebarEditor import FinderSidebar                  # Import the module

sidebar = FinderSidebar()                                      # Create a Finder sidebar instance to act on.

sidebar.remove("All My Files")                                 # Remove 'All My Files' favorite from sidebar
sidebar.remove("iCloud")                                       # Remove 'iCloud' favorite from sidebar
sidebar.add("/Library")                                        # Add '/Library' favorite to sidebar
sidebar.add("/SomeShare", uri="smb://shares")                  # Mount 'smb://shares/SomeShare' to '/Volumes/SomeShare' and add as favorite to sidebar
sidebar.add("/SomeOtherShare", uri="afp://username:pw@server") # Mount pw protected 'afp://server/SomeOtherShare' to '/Volumes/SomeOtherShare' and add as favorite to sidebar
sidebar.move("Library", "Applications")                        # Move 'Library' favorite to slot just below 'Applications'


How to auto fit columns in Finder when in Columns view?

You can do this by double-clicking on the border between columns. Note that doing this auto fits the column to the left.

In older versions of macOS (and/or if you have enabled always show scroll bars in System Preferences > General), you can do it by double-clicking the block below the scroll bar arrows.


No Sound from Mac Mini after OS X Server Reinstall

Go to ~/Library/Preferences and trash your com.apple.systemsound.plist file. Drag it right into the trash. Empty trash and restart your Mac.

A new plist file will generate automatically, look for the speaker/sound icon in your Finder menu. If that doesn't resolve the issue, try Command ⌘-Option ⌥-P-R again during reboot and make sure you hear the Apple chime at least two times for a full recycle.


What's the latest version of Boot Camp Assistant that can be installed on Snow Leopard?

Apple Insider says 3.3 update if for people using Boot Camp 3.1, maybe that's why.

Did you try downloading it directly from Apple's website ?


App Store won't install apps I'm trying to re-download, I see the iCloud icon instead of INSTALL icon

Strictly speaking, the cloud/arrow button is the install button. You are missing buttons to acquire the app and add it to your account (either GET or PURCHASE).

Try signing out of your iTunes Store account, restarting your phone (power off and on), and sign back into your iTunes Store account. That cloud button should still appear and allow you to add the app to your phone (it should turn into a loading spinner, and then an OPEN button).


Did Apple get rid of autosave and versions in Mavericks?

Versions is not in Finder's context menu in Mavericks and later. Apple recommends the use of the File menu to access versions of files.

  Browse, restore, duplicate, and delete versions

  Open the document, then choose File > Revert To > Browse All Versions.
  Click tick marks along the timeline to browse versions.
  Display the version you want, then do one of the following:

  To restore your document to this version, click Restore.
  To duplicate this version in a new document, press the Option key and click “Restore a Copy.”
  To leave your document as is, without changes, click Done.

Source: OS X Mavericks: View and restore past versions of documents

Documents can be reverted again using the File menu.

  Revert a document to the last opened version

  Choose File > Revert To, then choose Last Opened, Last Saved, or Previous Save.

Source: OS X Mavericks: View and restore past versions of documents

Access to versions through the disclosure triangle icon next to the name of the document in the title bar is also gone—again, the File menu is preferred.


Disable mounting Internal Macintosh HD at boot

This is quite old, but still works perfectly under Lion, I'm using it for several partitions: http://hints.macworld.com/article.php?story=20060930150059172

Fast path:

find the Macintosh HD volume UUID: while your Macintosh HD partition is mounted, open Terminal.app and type diskutil info /Volumes/Macintosh\ HD, then read the line beginning with Volume UUID
edit /etc/fstab as root (I personally use vi but any editor will do, the article even mentions pico! If you have TextWrangler installed - you should - with the command line helpers, sudo edit /etc/fstab will work too)
add a line like this one: UUID=F0E430C1-5558-3BB3-9FA9-6904B663FEEA  none  hfs  rw,no auto of course replacing the uuid with yours.


Background colors in Chrome and Atom are no longer uniform

Try disabling hardware acceleration on Chrome settings. Turn off filevault, check for icc color profiles. In utilities > ColorSync and verify to see errors. It's the GPU i guess, Chrome will active the discrete GPU. Atom is a Chrome App (not shure?). Hope it helps. Looking for a better solution too.


How can I change Fn keys usage based on application?

Fluor is a relative newcomer to this space that does exactly what you want:

  Fluor is a tool that allows you to automatically change the behaviour of the keyboard's fn keys depending on the active application.

It is open source, works on macOs Sierra and is actively developed (as of March 2017).


Bootcamp: Black screen shows after windows 10 installation

For anyone else coming here, try this simple solution first.

Disconnect the power (MagSafe plug). If the display comes on, it means your power profile is set to turn brightness down when the AC is plugged in.

Solution: While power is unplugged, login and verify that the brightness controls work. Then plug power in and turn the brightness up. For some drivers, those brightness control don't work, and I've seen drivers that install with brightness set to zero by default.


Siri: "I can't update reminders. Sorry about that." Why?

Apple's new Siri has a huge flaw that will effect many users like myself which is speed of internet.

Siri still runs over the internet to translate what you say into a usable set of actions. Therefore if your internet is not fast enough/gets interrupted from your ISP, Siri will respond with errors.


Mac OS X firewall rules to block UDP connection to an external server

MacOS has a firewall ported from OpenBSD — Pf. Although it's not kept up to date it still can be used for such a simple task you have.

Typically Pf isn't enabled by default, but ruleset crafted by Apple is loaded from /etc/pf.conf. It's not anything complex but rather a frame to be used later by some components of the OS.

For quick tinkering though you can simply load your own ruleset and enable Pf at the same time: sudo pfctl -ef …filename…

If you're looking for persistent solution instead, check out tutorials widely available on that subject all over the Internet.

Manuals are shipped with MacOS: man pfctl, man pf.conf


List of Unicode version support by macOS version

I don't know of any list of the type you mention, but at least some MacOS  apps will display anything in Unicode for which a font is installed regardless of whether Character Viewer is up to date or not.  My High Sierra TextEdit and Safari can display Mayan Numerals once the Babelstone font for them is installed.


Closing Macbook lid changes external screen to primary

Again, another stab at the dark here:
Either:
(Easy route) remove the monitor's cable from the computer/ or manually put it to sleep OR
open up your terminal and write the command
'pmset -g'
it will display your current power management settings.
from then on you could try disabling lidwake, acwake or messing around with the gpu switch option(though, honestly i think its only related to either enforcing dedicated or external/separate internal gpu settings ).
Also, try disabling the darkwake option.(which is not listed within pmset's man pages but you can google your way thru understanding it)
pmset -c darkwake 0

Note: all pmset values require sudo access


How do I import photos in OS X without using Photos.app?

You can use Image Capture in the /Applications folder. This allows you to select a normal folder and import photos to that location, which can be accessed in Finder or Photoshop as usual.

In addition, this application allows you to setup the preferred application to open when connecting your camera (or smartphone, ...). There you can select Image Capture itself as the default application.


iPhone 11 - Leave lock screen after FaceId

This answer will be bit short because there's not much needed to provide an answer.

No.  It's designed to use Face ID to unlock the device only.

You still need to swipe up to open the device and get to the Home screen.


need to script connection to telnet and send commands to remote device with no user input

Expect

Mac OS X includes the command line tool expect:

  expect - programmed dialogue with interactive programs

expect is ideal for scripted interactions with other tools, like telnet.

The following questions discuss how to use expect and telnet together:

How to automate telnet session using Expect?
expect script to automate telnet login
Shell script successful telnet login, how to issue commands after that?

Connect and Send

The following shell script may be enough for your two commands:

#!/usr/bin/expect -f
spawn telnet 192.168.2.230 9993
send "remote: enable: true\n"
send "record: true\n"

There are a number of ways to use the above script. One is to save the script as a text file called myscript.command; opening the file will then launch Terminal.app and run the script.

Alternatively, the script could be wrapped in an Automator action or AppleScript.


Missing "Use as Defaults" box in "Show View Options"

All My Files isn't a folder, it's a special view in Finder. Navigate to a real folder such as your Documents folder and the View Options window will show a Use as Defaults button then.


What is happening is that that files are being unzipped to the Downloads folder, BUT the date that is being used is the date that the file was created on whichever system it was created on.

Unfortunately that date is not usually helpful to you.

If you use Lion you can sort a folder by "Date Added" by pressing control + command + 4 (or View » Arrange By » Date Added).

If you are not on Lion (or even if you are), then I highly recommend The Unarchiver which works on 10.4+. It can:
* extract zips to a specific directory (I use ~/Unzips)
* always unzip to a new folder (which makes them easier to find, some files unzip to a different name, which is probably part of the confusion you are facing)
* and it can set the modification date to the current date/time, which will help the sorting problem:
* it can automatically open folder it creates (so you don't have to go hunting for it)
* it can either keep the the original .zip or move it to the trash.

Even on Lion, I use it as my default ever since I found it, because of all the additional features that it offers.

And it's free (donations accepted).


I found the solution for this in some apple related blog.

In the top left corner of Preview click on View and select "Table of Contents".
That will produce the results of the search.


Photos on Mac not syncing with iCloud – ThermalPolicy: Must not proceed

The short answer is you want your Mac to get out of CPU use so that iCloud photos will resume. Thermally cooling the case and/or quitting all other processes that use CPU would be warranted.

Since you're technical minded - you can dump the thermal stats to see if you feel you have a hardware issue or can shape the workload to relieve a proper thermal pressure warning:

 pmset -g thermlog

The long answer is there are many throttles and other things that could go wrong with iCloud upload. Look at this reverse engineering of things in the plain files portion of iCloud file upload - let alone the more detailed Photos use that does face, moment, web app and more features in play like daily upload caps, uploads to shared storage being different than your iCloud storage and optimizing the versions when you run low on storage space.

Diagram from the amazing article by Howard Oakley - https://eclecticlight.co/2018/03/30/inside-icloud-drive-uploading-a-file/


Where is the New Oxford American Dictionary stored?

The dictionaries are stored in...

/Library/Dictionaries
~/Library/Dictionaries


Why do some applications in System Preferences say "To use the “xxx” preferences pane, System Preferences must quit and reopen."

Some preference panes are 32-bit binaries and some are 64-bits. When System Preferences is in 64-bit mode, to launch a 32-bit preference pane, the app needs to re-launch.

More information is available from Apple or from MacWorld.


How can I block specific telephone numbers on my iPhone 4?

There are applications that do this if you have jailbroken your iPhone.  Without jailbreaking however there isn't a way to block a single or specific incoming number.  I've known people that have requested their provider to block a certain number and without a very good (usually legal) reason, they won't do it.

The best thing you can do is record 30 seconds of silence in garage band and then use that as a ringtone for that specific number.  Then at least the phone won't alert you.


Moving tabs on chrome jumps to the primary display

I figured it out. You have to right click on Chrome in the dock -> click options -> None.


Wireless

802.11ac Wi-Fi wireless networking

Mac Pro (Late 2013) - Technical Specifications - Apple Support

802.11ac uses the 5GHz band

802.11ac vs 802.11n WiFi: What's The Difference? - Forbes


On Apple Support Communities I got a helpful answer I will copy here for others. I don't exactly understand what it does exactly.

  Log in as Guest.

  This procedure will delete certain temporary and
  cache files. The files are automatically generated and don't contain
  any of your data. Occasionally they can become corrupt and cause
  problems such as yours.

  Please back up all data.

  Triple-click anywhere in the line below on this page to select it:

  /var/folders

  Right-click or control-click the highlighted line and select Services ▹ Open from the contextual menu.*

  A folder with the odd name "folders" should open. Inside "folders" are several subfolders, each with a two-character name. Drag all the subfolders
  except the one named "zz" to the Trash. Don't delete the subfolder
  named "zz". You'll be prompted for your administrator login
  credentials. Restart the computer and empty the Trash.

  * If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination Cmd-C. In the
  Finder, select
            Go ▹ Go to Folder... from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted
  because a line break is included. Press return.

I have to mention that for now, it solved my primary issue. However, I'm experiencing some extraordinary slow speed on every app up to now. I guess that this might be caused by the missing temporary files that the system is rebuilding.

Hope this helps somebody!


Macbook Pro is unresponsive for about a minute when waking up. Is this normal?

Actually it may be coming out of hibernation.

Do you ever get a milky white screen with a progress bar? That then goes away and you can see the screen but not operate anything?

It may be coming out of hibernation.


can’t link C++ code to .dylib in Xcode 12.2 (release build only)

I did not intend to do a question-and-answer format. But after posting my question above, I tried searching harder in the main stackoverflow. I found a question by Oscar with an answer to my question by Yi Hu. To restate Yi Hu’s answer:

go to Project Settings
select the executable (“texsyn” in my case)
select Build Settings tab
search for Architectures
change Build Active Architecture Only to be Yes for BOTH Debug and Release

This totally solved my problem. Now builds without error and runs about twice as fast.
Before:

After:


How Do I Show External Disks on Second Display's Desktop?

The external display is not set as a mirror of the main display but rather as an extension of it.  So you can drag the external drive icon (or any file/folder/window) from one display onto the other.

However, this will not 'stick' as when you disconnect the drive and reconnect it, the system will mount the drive icon back onto the primary display (the one with the Dock).

Also, when you disconnect the external display, the system will move any files/folders/icons that were showing on the external display onto the main display.


Mail.app keeps changing my SMTP settings?

You could check if macos is trying to manage your connection settings automatically. That is controlled from inside the preferences for the Mail.app, under Accounts, and under Server Connections, at the bottom of the page. If the checkbox "Automatically manage connection settings" is checked, then macos will try to manage these settings for you. There's more information about what it does and how to disable it here: https://support.apple.com/en-us/HT204208

If that does not help, you could also remove that account completely. However this is a more drastic operation. In System Preferences (not in the Mail.app), there is a preference pane for Internet Accounts. Try removing your email account and then readding it. There's a tutorial here that explains how: http://osxdaily.com/2016/04/04/delete-email-account-from-mac/


Can't achieve a higher than 1920x1080 on AOC U3477Pqu, powered by late 2011 Macbook pro...?

Your Mac has DisplayPort 1.1, which does not have enough bandwidth for 3440x1440@60Hz (DisplayPort 1.2 on newer Macs can do 3840x2160@60Hz), and a passive DisplayPort to DVI adapter can only do single link DVI, which is not enough for the advertised external resolution of 2560x1600. Apple sells a Mini DisplayPort to Dual-Link DVI Adapter for $99 (it costs more than a passive adapter because of the active circuitry required; it uses a USB connection to power that circuitry). If your monitor has single link DVI, even that won't help you, and even if it helps you, you won't get the full resolution from your Mac on that monitor over DVI or DisplayPort without reducing the refresh rate.

It's conceivable that you could get 3440x1440@30Hz over DisplayPort, but your experience thus far with DisplayPort doesn't bode well for that. Some monitors allow you to choose between DisplayPort 1.1 and DisplayPort 1.2 in the configuration menu (I needed to change that on my first UHD display), but even if your monitor allows that, it's not clear that it would help; aside from the bandwidth issue, there's also the unusual aspect ratio.

I have not found specifications for your monitor which distinguish DisplayPort 1.1 versus 1.2, or single link versus dual link DVI, but the specified maximum resolution and refresh rate strongly suggest DisplayPort 1.2. I have a 3840x2160 display with a dual link DVI input which cannot do its native resolution over DVI; I believe that tops out at 2560x1440 (though I suppose it's possible a different dual link DVI output could improve that).

I recommend DisplayPort 1.2 for your PC's video output, when you build it.


How can I create a user account without password?

Write the password clearly within the password hint field. You might have to surround it with some extra non-password text.
For example, the hint —

  Forgot your 9-character password? It's not qwerty1234 of course

would be crackable (probably first time) by any kid who thinks about it for five seconds. Mac OS will allow multiple attempts.


How to reset a Seagate FreeAgent Go Mac External Hard drive to use with a new Mac?

Boot into the Recovery HD by holding ⌘R on boot and use Disk Utility on there. This way you can guarantee the disk is not being accessed and can be unmounted successfully.


iTunes doesn't recognize iPhone's remote app

To answer your question. I have the same configuration as you.

OS: Mavericks
iOS: 7.1.1.
Hardware: iPhone 5s and MBP Late 2013
They are both in same wifi network.

This is what I did:

I selected "Create Network" from the wireless icon in the menu bar. I did not specify a password. I was able to use the iPhone Remote app without failure. Since then, I've reconfigured it with a password and it also works without error.


If you have setup VMware Fusion to run your Windows in Bootcamp, then you just have to do one of two options.

Right click on the VM to run when Fusion starts, and then select Open When VMware Fusion Starts.

or just select the star next to the VM in question.

Then the next you have to do is to add VMware Fusion to your Login Items - System Preferences->Accounts->[THE LOGIN USER]->Login Items


OS X Mail - How can I setup multiple e-mail addresses under the same mail account?

To add another email address to an account you add it to the email field.

Each address is separated by a comma.  ","

But note just because you can add it does not mean you email provider will accept an address from a different provider/domain.

Edit: As of macOS Sierra, the procedure is slightly different. The "Email Address" field is now a dropdown, and you add additional addresses by selecting "Edit Email Addresses..." from this dropdown.


Is it possible to change the company behind a developer account?

There shouldn't be anything to worry about.

  What will happen if I tell Apple that the company behind my app-account is no longer active? Will they shut down the account and all my apps?

Not exactly. Best recourse in this scenario is to get in touch with the Apple developer support and discuss your case. Apple Developer support can be reached over Phone or email. The concerned personnel will be able to study your scenario and offer you applicable advise. They can direct you with moving over your apps to a different company.

Get started by visiting Apple Developer Support website, login with your registered Apple ID, and select the applicable case.

  Can I change the company behind the developer account if I start a new company?

Yes. iTunes Connect does allow transferring apps to another developer account. Relevant documentation can be found here. You should be also be able to discuss this query with you developer support representative.


Corrupt .photoslibrary file in Photos app. Any way to get photos back?

In Finder, right-click the Photos Library.photoslibrary file and click Show Package Contents. Inside you will find a folder named Masters. It contains all your originals, organized by date. If you’ve made no edits to your photos, then that’s all you need.

If copying Masters fails, you can try copying individual subfolders until you’ve isolated the corrupted folders/photos. This will at least allow you to salvage the vast majority of your photos, instead of losing the entire library.

The -36 error in Finder is often caused by corrupt . files (typically .DS_Store). Thankfully there is a handy command-line utility named dot_clean that will attempt to fix this issue for you. It’s a good idea to have a backup of your photos before using any repair tool, so do this after you’ve copied your Masters folder somewhere safe.

Open a Terminal session and type the following:
dot_clean ~/Pictures/Photos\ Library.photoslibrary/
This is assuming your Photos Library is in the default location. Since you’re using an external drive, replace ~/Pictures with the correct path (prefixing spaces with \).

Now try copying your Photos Library.photoslibrary file once again. If this still fails, try repairing your external drive using Disk Utility and running First Aid on it.

And as a last resort, you can try repairing your Photos Library. Quit out of Photos completely by pressing ⌘ cmd q. Then relaunch the app by holding ⌘ cmd ⌥ opt while clicking the icon in your dock. Finally choose Repair.

Leave the app alone while it does its thing and don't interact with it in any way.


Mac Calendar add shared calendar for email account with 2 letter email address

Sometimes using wild (global) characters in a search field to fill in the space helps.

Try using

?tv

or space tv

or !tv

or >tv

try any of those :)


It is possible to do this with Services and Automator.

Open Automator and choose to create a Service.

Now add the action "Download URLs" which downloads a URL in Safari. You can now specify the folder  the file will be saved.

Set the service to receive URLs in any application and save it. It will look like this :-

Now when you select a URL in your browser you can right click to get the context menu and under "Services" you will see your new Automator service.

You can even set a keyboard shortcut for it in the Keyboard System Preferences. Once you do that just select the URL and kit the keyboard shortcut.


iOS backups are tied to the version of iOS on your device. You can't restore a backup on a device running and older version of iOS than was used to make the backup.

I had the same problem last week with my new iPad. It shipped with some version of iOS 9. Here's what I did to fix it:

Don't worry about setting it up as a new iPhone. You will be able to restore from your backup later.
Set it up as a new iPhone. You will probably have to put your iTunes account information.
If it asks you about making backups, skip that part.
Once you are through to the home screen, run the Settings app and update to the latest version of iOS.
Once the latest version of iOS is installed reset all settings on your phone. When the phone reboots you should be back at the setup screens.
Now you should be able to restore from either iCloud or iTunes backups.

You can also use iTunes on your Mac to download and install the iOS update.


How does one update a Jailbroken 4S on 6.1 to 6.1.1 and preserve their jailbreak?

You need to restore the device to install a clean version of iOS and then re-jailbreak (OTA updates simply do not work and using the update feature in iTunes can leave behind data that will eat away at your disk space).

It is actually good form to set the device in DFU mode (rather than just hitting restore in iTunes) and then let iTunes take it from there. Once the device is upgraded to 6.1.1 and jailbroken, you can then safely restore from your backup.

Your question (and many additional topics related to jailbreaking) is actually covered on jailbreakqa.com, the official information and help site for jailbreaking.

You cannot "preserve" a jailbreak.


Adjust path for iTunes / Music files after files move

The last time I moved my music library, I did the following:
Before starting iTunes, hold down "alt" (or "option") and then run iTunes.
This brings up a dialogue where you can tell iTunes where the library now is.


How to disable voice dictation on an iPhone 4S running iOS 5.1 or later?

There are four things that you can try:

Disable Siri

You can disable Dictation by disabling Siri. Navigate to Settings > General > Siri and turn Siri "Off".

Update PList File

However, understandably, you may want to use Siri, and since you have a jailbroken phone, this appears possible by editing a .plist.

As per this MacRumors post, edit the file /User/Library/Preferences/com.apple.keyboard.plist. Edit it to add the following lines inside of the <dict> block:

<key>DictationOnSpaceKey</key>
<false/>

Update a different file

Using iFile, edit the file /Users/Library/ConfigurationProfiles/UserSettings.plist

Set restrictedBool > allowDictation > value to Off or false. It should look like this:

<key>allowDictation</key>
<dict>
  <key>value</key>
  <false/>
</dict>

Install "NoDictation"

NoDictation is a free jailbreak tweak available from the BigBoss repos (available by default on most iOS jailbreaks). If neither of the previous options work, it may.


Verify that entries in iTunes are actually on disk

Choose Edit > Select all.
Now choose File > New playlist from selection. Call the playlist "Exist". Only the listings that exist on disk will be added to this playlist.
Now create a smart playlist called "Do Not Exist" with the conditions: Playlist is not "Exist", and Media Kind is Music.

The smart playlist called "Do Not Exist" now contains all the audio listings that do not exist on disk. To remove these listings, select all of them and hold down Shift as you press Delete.


Catalina - USB Serial Cables seem to be broken

Just FYI, I have the same problem. Using Fusion it will work on e.g. a virtual Windows Machine.

Another user has also posted this, but no replies on that thread. It appears to be a more general problem.

Update: I've been working on this for some days, but it might be working now. I am not quite sure what did the trick, however.

I've installed/reinstalled the VCP driver found here. That didn't help.

Then I also installed the D2xxHelper, which also didn't help. Actually it made it worse since this actually removed the device completely from /dev/cu.usbserialxxx.

I then rebooted the Mac and the device was back and now actually working as it should. If it was necessary to install both or only one of the two and reboot, I do not know. Hope this helps you too.


20 Watt charger harmful for the battery of a device?

I'm considering to buy a 20 watt charger for my iOS-devices. Obviously it charges a device two to three times faster then the 5 watt chargers, which I currently use.

I'm not sure about that, the BMS on the iOS device should alter its power draw to match what it's programmed to accept, given the current state of the battery.
If 5 W is the most it can charge at, then plugging it into a 20 W charger isn't going to force more than 5 W in.
If your device is capable of drawing more than your current charger provides then you'll see some improvements in charge time with a higher capacity charger but not necessarily by the ratio of how many watts the new charger provides vs the old one, ie. 20/5 = 4x faster. The BMS has to accept 20 W and even then things are a bit more nuanced as 20 W would be the maximum, not continual power draw.

Might it reduce the life-time of the battery? Or is it even dangerous (strong heating up, explosions)?

It really shouldn't, unless there's an existing flaw in the battery or charger.

Should I definitely get an original Apple charger? Or are others vendors safe too?

I think that's going to be tough to get a definite answer for unless you have a teardown on the specific device, from someone qualified to comment on its quality. I've seen some teardowns of USB chargers with terrible isolation and there have been cases of people being shocked while using their phone as it's charging.
I'd put money on there being plenty of properly made, safe chargers out there. The question I ask myself is: do I feel safe plugging a $1,000+ phone into this to save a few dollars, or is my peace of mind worth the ~$30 for an OEM part that I've seen a teardown confirm that at least the design is sound?


Purchased tv shows on my iphone, how do i take them off?

Open iTunes. When your device is plugged in, click on it in iTunes. Then, click the TV shows tab at the top. It will say "Automatically include all episodes of all shows". Click where it says "all shows" and change it to "selected shows," then deselect the shows that you don't want.


How do I vary the repeat an alert in say 2 hours then 30 min. then 5 min.?

You should be able to click and hold the snooze button for a drop down list of available snooze times.


Shortcut to toggle KeyboardViewer with AppleScript on Big Sur

This works for me on macOS Big Sur.
if application "System Preferences" is running then do shell script "killall 'System Preferences'"
repeat until application "System Preferences" is not running
    delay 0.1
end repeat

tell application "System Preferences"
    reveal anchor "Virtual_Keyboard" of pane "com.apple.preference.universalaccess"
end tell

tell application "System Events" to tell application process "System Preferences"
    repeat until checkbox "Enable Accessibility Keyboard" of tab group 1 ¬
        of group 1 of window "Accessibility" exists
        delay 0.1
    end repeat
    set theValue to value of checkbox "Enable Accessibility Keyboard" of tab group ¬
        1 of group 1 of window "Accessibility"
    delay 0.1
    if theValue = 1 then
        set frontmost to true
        repeat until frontmost
            delay 0.1
        end repeat
        click checkbox "Enable Accessibility Keyboard" of tab group 1 of ¬
            group 1 of window "Accessibility"
        delay 0.1
        if UI element "OK" of sheet 1 of window "Accessibility" exists then
            click UI element "OK" of sheet 1 of window "Accessibility"
        end if
    else
        click checkbox "Enable Accessibility Keyboard" of tab group 1 of ¬
            group 1 of window "Accessibility"
    end if
end tell

do shell script "killall 'System Preferences'"

SIDENOTE: My reason for using the the do shell script "killall 'System Preferences'" command rather than tell application "System Preferences" to quit is... Let's say, for what ever reason, System Preferences.app is already activated (with, for example, window Sharing/ Remote Management/ Computer Settings open) but not visible or not front most or whatever. In Script Editor, you try to run tell application "System Preferences" to reveal anchor "SpeakableItems" of pane id "com.apple.preference.universalaccess" That command completes with no obvious errors but when you switch over to System Preferences, your "revealed anchor" is not revealed. Ok, no big deal, easy fix. I'll just insert a tell application "System Preferences" to quit command prior to the reveal anchorcommand. Running the updated code this time, you get a (userCanceledErr:-128) error. All of this hassle is because that secondary drop down window in System Preferences is open. In my opinion, the do shell script "killall 'System Preferences'" command seems to be the best solution.

Here is another option if you have the “Show Accessibility status in menu bar” checked in System Preferences/Accessibility. It's short, it's sweet, but it does use UI scripting.
tell application "System Events"
    click menu bar item "Accessibility Shortcuts" of menu bar 1 ¬
        of application process "ControlCenter"
    repeat until checkbox "Accessibility Keyboard" of group 1 of ¬
        window "Control Center" of application process "ControlCenter" exists
        delay 0.1
    end repeat
    click checkbox "Accessibility Keyboard" of group 1 of ¬
        window "Control Center" of application process "ControlCenter"
    delay 0.1
    key code 53 -- escape key
end tell


iOS 10.3.1 - Apple iPhone - Photos app shows 295 images; none found on device internal storage

I have no explanation for how the photos came to be read-only on the device, and hidden from the internal file system, but the solution to make a backup was:

On the device, navigate to the album.

Select All images, then choose 'Duplicate to Edit' which places copies into Camera Roll.

Once the duplicates are created, any of the usual methods for backup worked.

In my case, I could plug in with USB cord to my Windows PC, and transfer using Windows Explorer by navigating to iPhone\Internal Storage\DCIM\XXXX.


Swap is growing fast, I think I know which app is causing it, how can I check?

You don't need any special tools like xcode or a debugger to pick apart the virtual memory system in terms of allocation and summary statistics.

I would start with sysdiagnose from the command line and perhaps pass in the PID or process name you care about. It samples that app, but you also have the PID and information on that suspect program with all the diagnostic information. Passing in the process ID will run vmmap, heap and (perhaps) other good diagnostics or added details on the program in question.

You'll want to focus on the zprint.txt and allmemory.txt first. The sysctl.txt has some vm information as well and fs_usage.txt shows file access, but generally not swapping.

There are unix manual pages for most of these tools as well as the sysdiagnose script is readable so you can see what it does or change it to collect. You might want to enable thorough mode on the script in case that added information on the PID helps you isolate the cause.

Happy hunting...


Installing gcc47 as default using Homebrew

If you want to do something a little easier to revert later, you can always make an alias in your bashrc file.

alias gcc gcc-4.7

This will automatically convert everything for you from the command line. The downside is that it only works when your bashrc is used and only for your user (which could also be a positive).


How to execute app DVD through Terminal of recovery flash drive?

OS X installers downloaded from the MacAppStore before February 14, 2016 are no longer functional due to Apple's Worldwide Developer Certificate expiration.

during installation you have to set your system's clock prior to that date, with the date command, for example:

date 1111111115

and then install normally your OS X lion version on a freshly erased HD

-

to get a functional lion usb installer, just restore (with Disk Utility) InstallESD.dmg on a usb stick or burn it on a dvd

the file is inside the app bundle "Install Mac OS X Lion.app" -> Content -> SharedSupport


How to decrease size of macbook pro (early 2011) boot partition?

I think it's impossible (pre-APFS) to delete the first partition. You can expand a partition 'upwards' into free space, but you can't move down a later partition.

If you think that stuff on the boot volume could be deleted until there's sufficient free space, then that might be enough to get you up and running for the time being.
Easiest would be to boot from an external drive and then explore the internal volume from there. (Or using Target Mode from another Mac.) Alternatively, you could mount the boot volume in Recovery's Terminal and delete files from there, if you're comfortable with that.

But most solutions will require you to copy everything off, wipe the disk and then put it all back. A utility like Carbon Copy Cloner or SuperDuper! can make disk images easily.

IMPORTANT WARNING

Before attempting any adjustment to the disk partition, you need to make a backup of the boot volume on a separate device, in case it goes wrong and you wipe the disk.

There is absolutely no value in having a backup partition on the same device as the source data. If the SSD fails or you wipe it; if the laptop gets stolen or catches fire: you've got nothing.

Backups need to be on a separate physical device.


OS X Messages.app, cmd+shift+w not working

If you mean delete Conversation.

Select the Conversation and use cmd+ Delete  keys

--update--

Looking at the help>show shortcuts.

It is supposed to.

But I do not see the menu option in mine.


MacBook Pro 2018 & LG UltraFine 5K Display Power Comsumption

For MacBooks (including Pro), if the requested voltage based on current system load is higher than the power available, it will try to make up for the difference by drawing from the battery; if the requested voltage is lower than the available power, it will use the extra power to recharge the battery until it is full.

For using the 85W charger on an 87W MacBook Pro, the difference is so small that it is virtually unnoticeable. In rare cases, your battery might be losing a small amount of power slowly when the machine is under max load. In most case, it will be just fine.

Note: The LG UltraFine 5K is made for MacBook Pro 15" and MacBook Pro 13", and you can see that MacBook Pro 15" has the best feature support. So it is safe to assume that everything, including the power delivery over USB-C, is highly optimised.


Open Terminal
cd Documents (or any other suitable directory)
curl -o feed.xml https://www.zhihu.com/rss
Use the text editor of your choice to open feed.xml


How do I zoom without a trackpad in Xcode Instruments Time Profiler?

If your mouse has a wheel or touch - hold the option key and then use the scroll wheel / scroll gesture or control.

If you don't have that - you'll need to add a mouse with a wheel or add a trackpad to the iMac.


An Apple TV tried to AirDrop me a system diagnosis archive. What happened?

The Apple TV supports creating sysdiagnose bundles and sending them over AirDrop. Apple staff recommend this regularly on the Apple Developer Forums.

  To capture a sysdiagnose, hold down the Play/Pause and - buttons on the Apple TV Remote for six seconds, until you see a dialog confirmation on-screen.  From there, follow the instructions to AirDrop the sysdiagnose off the device.

Beta 7 crashes on HDMI hotplug - Apple Developer Forums

It's possible something's accidentally held down the buttons on the Apple TV remote (since they are next to each other) which has caused this action.

AirDrop must be a fairly new feature for the sysdiagnose functionality since the guide for creating a sysdiagnose from an Apple TV on the Apple Developer site still says a USB-A to USB-C cable and iTunes are required: Apple TV sysdiagnose Logging Instructions (link behind developer login).


Whilst viewing a list of messages (conversation view), tap the blue i in a circle at the top-right of the screen. This is the conversation details view, where one can change conversation settings.


iOS 8.1.1 update on iPhone 4S, calendar not working now

After almost 2 months I figured it out.  I set up the Gmail/Google Calendar/Google Contacts on my iPhone as an Exchange Account many years ago.  Google discontinued this in 2013 for all new users, though it still worked for me (until Nov 17th).  Google now uses CardDAV for Contacts and CaIDAV for Calendar (since 2013).  They recommend using the Gmail app for their mail.  Here is a link on how to set up Gmail/Contacts/Google Calendar: https://support.google.com/mail/answer/3008051?hl=en
I did this yesterday and now everything works.  I was surprised that there weren't more complaints about the issue (I thought there must be hundreds of thousands of people affected) but most people probably have it set up using the newer method, which obviously wasn't affected by iOS 8.1.1


RAM freezes and crashes my iMac after upgrade to iMac late 2015

You could always take out the RAM and see if the problem still occurs. It could just be a coincidence that the problem started after the RAM was installed, in which case you've got another problem!


Permission denied adding SSH key to .ssh/config

The config file in ~/.ssh/ has the wrong owner/permissions. It's owned by root.

Change the owner to gaurav with:

sudo chown gaurav:staff ~/.ssh/config

enter your password and it will work (if you are a sudoer).


How to recover 'Reminders' wiped out by Mountain Lion?

You should be able to find them if you're using Time Machine, but it might take a little digging. I'm not quite brave enough to use Mountain Lion so I can't say with certainty, but I believe the reminders are actually stored as calendar items, so you should be able to find them in the "Calendars" folder in the Library. You might want to use the Finder interface to look through the backups instead of Time Machine. The iCloud calendars should be stored as random number "caldav" folders. You'll have to look inside each folder until you find the reminders you're looking for. You can then drag the files into the Reminders app which will allow you to import into a list. Hope that helps.


Pasting a screenshot into Powerpoint results in truncation: even though in MSWord it is perfect

It seems there were a  toolbar at the bottom of the screen that only shows up after you click once on the (messed up) screenshot and has an impressively unhelpful default value set.  Below I show having finally randomly clicked on the correct icon:

Now why the picture would not be already sized properly .. well we can (un)-thank the PP designers for that.


Recovering OS X partition: wrong boundaries calculated, can't mount disk0s2

The solution here is more or less the same as outlined in the answer to this question. The solution there is a stopgap solution because the asking person neither had a thumb drive nor an external disk or a second Mac. You have to have a system drive with a full OS X to install additional apps like wxHexEditor to inspect the raw data on the drive. So the only practicable way there was an OS X install on the corrupted drive with the risk to overwrite the old "lost" partitions.

If you have a second boot device like an external disk or a thumb drive install a newer full OS X (not just a bootable installer thumb drive!). Additionally install wxHexEditor. Enable the root user, log in as root.

Now open wxHexEditor and determine the boundaries of the "lost" Recovery HD. Overwriting the original GUID partition table and replacing it by an MBR with Windows' Disk Management usually doesn't touch the content of your disk. The old data structures are still on the disk and can be found by searching for special strings and files' content.

The asking person gave the following information: the Windows partition had a size of 100 GB. This facilitates the search because the first ~390 GB (of the 500 GB disk) can be skipped since the Windows partition is created at the end of a disk.

The Recovery HD partition has the following content:

  0-1. block:        0x00s
    2. block:        the string "HFSJ" in the first 16 Bytes
    8. block:        0xFFs (probably an allocation file)
11-13. block:        0xFFs (probably a second allocation file)

If you have found these blocks you can easily determine the start block of the Recovery HD as described in the linked answer. Since all other partitions (EFI and the main OS X volume - assuming that only one main volume exists) are determined by the first block of the Recovery HD the math can be done.

The final solution was:

gpt add -b 409640 -i 2 -s 779781456 -t 53746F72-6167-11AA-AA11-00306543ECAC /dev/disk0
gpt add -b 780191096 -i 3 -s 1269536 -t 426F6F74-0000-11AA-AA11-00306543ECAC /dev/disk0

After verifying the volumes with:

diskutil verifyVolume disk0s2
diskutil verifyVolume disk0s3

and removing temporary partitions the main volume was finally expanded to span the whole disk with:

diskutil cs resizeStack lvUUID 0g


How to delete iCloud account without knowing the password

You need access to an iCloud account to delete it, therefore you will need to regain access. If you have forgotten the password, try iforgot.apple.com


Connecting MacBook Pro Retina late 2013 with Thunderbolt 2 ports to USB-C hub

Don't confuse USB-C the port with USB 3.0 the protocol.  The Apple Thunderbolt 2 to Thunderbolt 3 adapter will connect to USB-C hubs, docks, and devices with a USB-C port and supports the Thunderbolt protocol.  The TB2 to TB3 adapter does not support the USB protocol and does not provide power.
I've seen people report that a TB3 dock will support USB 3.x (USB 3.0, 3.1, and 3.2) devices when the dock is connected by a TB2 adapter and cable.  The dock must have a USB-C port, a female receptacle, and not a USB-C jack, a male connector, for this to work.  USB 3.x docks and hubs often have a captive cable (cannot be removed without breaking something) with a USB-C jack or a micro-USB-B receptacle.  USB 3.x docks and hubs with USB-C ports exist, but are rare in my experience, and will not work with the Apple TB2 to TB3 adapter.
If your MacBook Pro has USB 3.x ports then use them to connect a USB 3.x hub or dock.  If there are no USB 3.x port then you can use a TB2 to USB 3.x adapter to gain those ports, these adapters will have USB-A ports and not USB-C ports.  Adapters to turn USB-A ports to USB-C ports exist but break the USB spec, using them can damage equipment, or simply not work as desired, and so should not be touched.
The Apple TB2 to TB3 adapter does not support DisplyPort so if you intend to plug in a USB-C DP display or adapter then you need the right kind of DP cable or dock.  There are TB3 docks that will support DP displays but not necessarily with the TB2 to TB3 adapter.
There are USB 3.x docks that will support video out with a DisplayLink chip if there is a desire for video out from the dock.  These are separate video chips from the one in the attached computer which comes with it's own pros and cons.
I know that's more than you asked for but I've seen questions like this before and I'm anticipating follow-up questions you are likely to have.


iPhone not turning on, not responding to hard reset, not responding to charger

I would get a quote and send the device in to a microsoldering capable repair shop. These are highly specialized and not the typical, fix broken screen type shops.

They can and will fix liquid damage / no power on situations as well as make the system healthy enough in a lab setting to get you your data back and not spend even more money fixing it to run permanently.

https://www.microsolderingrepairs.com/blog/iphonedatarecovery

No power / data recovery are generally less than $250 for non-liquid damaged phones and maybe double that if there is liquid damage / corrosion to be remediated.

You’ll possibly pay more than going to shops like you visited, but the more capable shops have much more expensive tools and skills and can recover data that’s far too gone for a place that specializes on the easy repairs. These sort of shops are generally less expensive than full blown data recovery shops, but you might get a couple quotes before sending it off - just be sure what diagnostic fee you owe and when you are charged if they do or don’t get your data back.


How to install a previously downloaded IPSW file on iPhone directly without iTunes?

There's two problems here that prevents what you're trying to do:

OTA updates don't work by downloading the IPSW and installing it. They use delta updates, only downloading a 'patch' which is applied on top of the system.

You can download the patch yourself if you really want based on the version of iOS that you're currently on and what version you want to update to, but that's not going to help you, because…
OTA updates don't work on jailbroken devices. You'll end up in a boot loop and have to restore properly. Many jailbreak tools disable OTA updates for this very reason.

If your Internet connection fails whilst iTunes is downloading an IPSW, it will continue from where it left off when the connection is restored.


Enabled FileVault with disabled SSV possible with Big Sur?

According to user experiences - this is not possible.
Disabling SSV will leave the system stripped out of  both SIP and File Vault.
https://eclecticlight.co/2020/06/25/big-surs-signed-system-volume-added-security-protection/#comments


Turn on Bluetooth on an iMac without a keyboard or mouse?

You can use the Magic Keyboard/Trackpad as wired devices by using a Lightning-to-USB cable (like the one from your iPhone).


How to save a bookmarklet link when using safari?

With only iPad and safari: open the link provided. Now, click on one bookmarklet suitable for you, and open it.

On the new window, in the upper part, there is one square with an up arrow, click on that and from the popup menu opened, choose "Add bookmark" and save it to your choice (a good one is Favorites page).

When need to translate a page, click first on the big " + ", choose the "Google Translate" icon and open it. Then copy/paste the address from your page to Google translate page.

Keep in mind that on Google Translate page, you can choose another "From" or "To" page, by clicking on the respective buttons.


Where is the TV out option on iPhones using iOS 5?

The cable has a faulty connection and takes effort to connect to the iPhone. The TV Out option wasn't appearing because the cable wasn't connecting to the iPhone unless I pushed it in, held it, and then gently left it alone. When that happens, the TV Out option appears.


Plex Media Server for Mac with a Pansonic Viera TC-P50S30

First, make sure you have the firewall turned off on the Mac.

Can your TV pick up anything else on the net?

Next, make sure that your router is broadcasting UDP packets. Some routers do not, they swallow UDP.

Now check that Plex Media Server is running right and listening for connections. At the command line:

sudo netstat | grep 'Plex'

That should give you a list of ports that it is using. They will include:

TCP 32400     (for access to the Plex Media Server)
UDP 1900      (for access to the Plex DLNA Server)
TCP/UDP 32469 (for access to the Plex DLNA Server)
UDP 5353      (for Bonjour)

So then you know that it is up and running.

Make sure both your TV and Mac are thinking they are on the same subnet and that the netmask is correct on both.


Set availabily of application in App Store using an API

Unfortunately no, Apple does not offer an API similar to the Google Play EMM API.

However, you might be able to use web-scraping to obtain a similar effect, if you really need this functionality. It's not going to be as neat as the Google API, as you would probably need to change your scraping program whenever Apple changes their layouts and functionality.


Switch Between Apps With Alt-Tab / Command-Tab on iPad or iPhone using Bluetooth Keyboard

No, there isn't a way to do this. As an alternative, I would suggest enabling multitasking gestures (Settings > General > Multitasking Gestures). With them on, you can switch to the next/previous app with a four-finger swipe, instead of bringing up the multitasking bar. You can actually swipe through all of the apps in the multitasking bar, in the same order (order of last use). Note that getting to an app through this gesture does not change their order, so if you swipe left to get to an app, you will swipe right to go back.


Unified Buddy List in iChat - how to handle same person on different networks

In more than one case now, it looks like multiple copies of the name will show up. You have to either check the buddy picture or other features (for example, video chat doesn't show up for Facebook) to determine which network you are contacting them on.


Change the Screen Saver "Start After" options in Mountain Lion

If you're using Open Directory and OS X Server, you can push manifests to the client machines using Workgroup Manager (MCX). This, of course, depends on what version of OS X Server you are using. My familiarity is with Lion Server, but documentation exists for MCX and Directory Services in other OS X Server versions.

While I am not sure you can eliminate the options for screensaver timing, you can force the client machine into a specific value using the plist and MCX.

Helpful Links:

How to Manage Settings Using the Preference Editor
This link is for Leopard, but it is relevant to how OS X Server and MCX handle screensaver settings.


It's not possible for an application to control an iPhone in this way without jailbreaking due to iOS restrictions.

If the device is jailbroken, you may be able to install a VNC server on the iOS device like Veency and use Screen Sharing on the Mac such that you can click on the Mac and the click will emulate a tap on the iOS device.


Activate passcode lock after 30 mins of inactivity?

There is a jailbreak tweak called PassTime which lets you set custom time option for activating passcode lock.

PassTime is available for $0.99 under the BigBoss repo on Cydia.


Is it possible to create a text list of all my apps on the (Mac) App Store?

In systems up to 10.11.6 you can save the "Purchased" page as html file to disk:

Quit App Store.app
Open Terminal.app in /Applications/Utilities
Enter defaults write com.apple.appstore ShowDebugMenu -bool true and hit the Return/⏎ key to show the debug menu in App Store.app.
Open App Store.app (check that the "Debug" menu is available!)

If you have some hidden purchases and want them to be listed also, unhide them in your account.
Open the "Purchased" page - log in with your Apple ID if required.
Hit cmdU
Quit App Store.app
Bring Terminal.app to the front and enter:

cp ~/Library/Containers/com.apple.appstore/Data/Library/Documentation/pageSource.html ~/Desktop/pageSource.html

and hit the Return/⏎ key. The pageSource.html file is now on your desktop and can be opened with a browser
(Enter defaults write com.apple.appstore ShowDebugMenu -bool false and hit the Return/⏎ key to remove the debug menu in App Store.app again.)
Enter exit and hit the Return/⏎ key.
Quit Terminal.app


Let iTunes do that for you, check how to do it here in the apple documentation

Here's what the overall steps are as described in the link in case it dies:

Make sure that you have the latest version of iTunes.
Open iTunes on your computer.
Use the included USB cable to connect your iPhone, iPad, or iPod touch to your computer.
Click on the device icon in iTunes.
Click Photos in the sidebar.
Click the box next to "Sync Photos." If instead you see "iCloud Photos is On," all your photos and videos are already on all of your devices that use iCloud Photo Library. You don't need to sync them through iTunes.
In the drop-down menu, choose the app or folder that you want to sync from.
Choose to sync all photos or selected albums.
Select "Include videos" to sync the videos from your app or folder too.
Click Apply.

There are also 3rd party apps like RollIt that does that job too without iTunes, however it's paid


Why is my MacBook falling asleep with "Clamshell Sleep" but lid is not closed

I don't know if this might be pertinent to your situation, but I once had a very similar problem with a 2009 MBP. The weird thing was when I picked it up and moved it, it would wake up. This went on for weeks until I finally figured it out; it would sometimes fall asleep when I put it on top of a (closed) white MacBook. It turns out both the MB and MBP sense the lid is closed via a magnet in the lid and a magnetic sensor near the front of the machine. When I laid it on top of the MB the MB's magnet triggered the sensor in the MBP making it think the lid was closed. So, it might be worth noticing if you've got any strongish magnets in the area around the front of the machine when it spontaneously takes a nap.


problems with computer itself due to improper disconnection of disk?

If you were transferring content to your computer from the disk, the write could be left incomplete. The main purpose of ejecting is to make sure everything actually transferred properly, but if nothing is transferring, issues are unlikely on the computer and the disk. Although improper ejection can damage the disk, it does not damage the computer.


MacBook Pro 13" 2019 won't display @ 75hz with 3800 x 1600 resolution (Acer XR382CQK)

I've seen this issue come up all over the internet so I decided to do a QA with a solution I stumbled upon by chance

Disabling USB 3.0 allows me to use the monitor at 75hz.

This only affects peripherals plugged into the monitor dock.

On the XR382CQK the option is under Menu > System > USB 3.0

I haven't had a chance to explore why this is (my theory is something with bandwidth limits) but turning USB 3.0 off allows up to the full 75hz refresh rate to be used, meanwhile turning it on instantly downgrades the refresh rate to 30hz again.


Is there any way to get rid of the sound made when a screenshot is created?

After launching Grab, open preferences (in the menus, click Grab => Preferences) and uncheck "Enable Sound".

A screenshot of the preferences here:


How to boot into internet recovery mode with rEFInd installed?

I managed to start the internet recovery mode with rEFInd installed by holding right CMD + alt + R just after pressing power button and before rEFInd starts.


What is the difference between iPad and iPhone charger?

They both output a similar voltage level ~5V. However this is going to change once you start drawing current from the charger. The output will decrease if you start pulling more current.

iPad charger provides 2.1 A at 5.2 V means you can pull 2.1 A and the output will stay at 5.2V. Output voltage might go down if you draw more current (say by attaching 2 ohm resistor across the leads and trying to draw 2.6 A) and thereby also reduce the expected output current.

Similarly, iPhone charger will be able to provide rated voltage (5V) only up to 1A of current draw. After that, you might see a voltage drop.

In terms of hardware, iPad charger will have a higher power circuit - most likely a bigger flyback transformer, mosfets with higher current capacity and bigger filter capacitors.

You can benefit from ipad charger while charging an iphone if your iphone is able to draw current higher than 1A. If this is not the case, then there is no point. However you will notice longer charge times when you charge your ipad using iphone charger.

Also, it's false assumption that load remains the same. Here is a sample charging current and voltage curve for a li-po battery which I picked from a google image search:

As you can see, initially the battery voltage is lower since it has discharged. Once it starts charging, the voltage increases and the charging current decreases.


Does iTunes in the Cloud apply to Movie Rentals?

iTunes movie rentals originally purchased on a computer can be moved between devices as many times as you like during the rental period but can only "exist" on one device at a time. To move it between devices, use iTunes with the device you want to put it on. See this Apple support article. Steps are:

Connect the device and select it in iTunes.
Click the Movies button.
Select the movie, and then click Move.
After all movies have been moved, click Apply in the lower-right corner of iTunes.

To answer your direct question: no, rentals do not currently exist in the cloud.


In Safari, can a set of bookmarks in a folder be opened programmatically (e.g. using AppleScript)?

If you are just wanting to script the clicking go the Open in New Tabs menu item of the target folder under Bookmarks, then the following example AppleScript code will do that:

set bookmarksFolder to "Saved Tabs"

tell application "Safari" to activate

delay 1

tell application "System Events" to ¬
    click menu item "Open in New Tabs" of ¬
        menu 1 of ¬
        menu item bookmarksFolder of ¬
        menu 1 of ¬
        menu bar item "Bookmarks" of ¬
        menu bar 1 of ¬
        application process "Safari"

Just change "Saved Tabs" in the first line of code to the actual name of the target folder on the Bookmarks menu.

Here is something a bit more robust…

I have different sets of URLs that I group into different windows by themselves, and have made an AppleScript application from the code. You can use the example AppleScript code below to do the same:

set myURLs to {¬
    "https://somedomain.com", ¬
    "https://somedomain.com", ¬
    "https://somedomain.com", ¬
    "https://somedomain.com", ¬
    "https://somedomain.com", ¬
    "https://somedomain.com", ¬
    "https://somedomain.com", ¬
    "https://somedomain.com"}

tell application "Safari"
    make new document with properties {URL:first item of myURLs}
    activate
    tell window 1
        set bounds to {0, 22, 1136, 844}
        delay 1
        repeat with i from 2 to count myURLs
            set current tab to (make new tab with properties {URL:item i of myURLs})
            delay 2
        end repeat
        set current tab to fourth tab
    end tell
end tell

Obviously "https://somedomain.com" is just a place holder for the real URL. The set bounds … and set current tab … commands can be adjusted to your liking or omitted.

I called the AppleScript application My Regular Sites, gave it a nice icon through the Get Info window method, and put it in the Dock.

This make it real easy to open Safari with a window containing my regular sites.

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


How to change y axis numbers in Numbers for mac to show as custom letters or words?

This admittedly is a bit of a hack but I can't find another solution that works in Numbers.

One way to make letters appear over the numeric values is to position textboxes with the letters over the values to block out the numbers below them. Just click the Text button in the toolbar, drag the textbox to the correct position, size it appropriately and set it to have a white fill colour and no border.


How can I access emails in Apple Mail programmatically?

One can do this.  The following shows what I've found...

Individual Apple Mail emails reside in a directory, typically something like the following:

/Users/UserName/Library/Mail/POP-myEmail@isp.com@pop.secureserver.net/INBOX.mbox/Messages

as ".emix" files readable by any text editor.

".emix" files have a sequential numbering by mails received by one's Apple Mail itself rather than the particular mailbox, something like:

18373.emix
18376.emix
18378.emix

The ".emix" files have clearly marked identifiers of their content.  An abridged ".emix" file follows::

Received: (somemailprovider ...); 16 Jul 2012 00:04:00 -0000
Received: from unknown ...; 16 Jul 2012 00:04:00 -0000
X-IronPort-Anti-Spam-Result: AuEPABVXA1DR...
Received: from ....isp.com ...; 15 Jul 2012 17:03:59 -0700
Received: by qcsg1 ...; Sun, 15 Jul 2012 17:03:59 -0700 (PDT)

DKIM-Signature: ...
Received: ...; Sun, 15 Jul 2012 17:03:59 -0700 (PDT)

Return-Path: <myEmail@isp.com>
Received: from iMac-6.local ....

Date: Sun, 15 Jul 2012 20:03:54 -0400 (EDT)
From: myFromEmail@isp.com
To: myToEmail@isp.com
Message-ID: <50035a6e.02d0e00a.1fef.....com>
Subject: TEST
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="----=_Part_0_1792110529.1342397034510"
X-Nonspam: None

------=_Part_0_...
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

------=_Part_0_...
Content-Type: image/gif; name=0001.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=0001.gif

So, given all of this one needs to:

Identify which email one wants to read (I can use date and a specific email directory) ;
Import the text of the email into Mathematica;
Parse the required information using the appropriate identifiers in the ".emix" file.

A little cumbersome, but workable.


Seems something has corrupted on the iOS and that is why it cannot boot properly.

I recently had an individual I know face the same issue with an iPhone 7. They were able to take the phone to an Apple store and was able to fix the issue without wiping the phone, saving all data on it. Apple then performed a diagnostic to ensure the hardware was working correctly because it was still under warranty.

If you cannot go to an Apple store, an iTunes recovery with your computer is necessary. Good thing you said you can put it in recovery mode because that's what you'll need to do, then use a computer to recover it.

This is the only option you have without going to apple support. If Apple cannot manage to fix the issue with the method they used for the individual I know, they will end up doing a wipe and reinstall first to ensure this isn't hardware at fault, then proceed with a hardware diagnostic to confirm that.

Keeping a devices memory so full that it cannot update is risky. Try not to do that if you can. Use iCloud storage or other services such as Dropbox, Google Drive, One drive, or MEGA to hold/backup your files.

I highly also recommend always keeping your phone/computer updated at all costs. Security issues are happening all the time now.


Keynote: trying to add hyperlink, but no field to add the URL

After adding the hyperlink to the picture, if the dialog does not pop up, you can select it using the link icon (circle with arrow) that appears along with the picture.

Note: Be sure the picture is selected when adding the link.  ⌘+K

If this normal behavior is not happening for you, a restart of your Mac may correct it.

Illustration of how to bring up the dialog after setting the link:


Automatically tagging files that were last opened more than x days ago

When a file is tagged in Finder it has an extended attribute set on it:

      com.apple.metadata:_kMDItemUserTags

General Information

The easiest way I've found to apply a custom tag to a file programmatically is to use xattr to get the value of a custom tag, not one of the default tags, and apply it to the target file(s) via a shell script. For example, I created a new custom tag named Review, giving it the color yellow. Its hex representation is:

62706C6973743030A101585265766965770A35080A0000000000000101000000000000000200000000000000000000000000000013

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

To get the value of the custom tag's com.apple.metadata:_kMDItemUserTags extended attribute, after having set it normally in Finder, the following example compound command was use in Terminal, e.g.:

xattr -px com.apple.metadata:_kMDItemUserTags "/path/to/file" | tr -d '\n' | tr -d ' '

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

Note: When using the above example compound command the prompt is not returned as normal and is directly after the hex string instead of being on the next line, so when copying the hex string make sure not to copy any of the prompt!

The output of the xattr command to see standard output would be, e.g.:

$ xattr -l "/path/to/file"
com.apple.metadata:_kMDItemUserTags:
00000000  62 70 6C 69 73 74 30 30 A1 01 58 52 65 76 69 65  |bplist00..XRevie|
00000010  77 0A 35 08 0A 00 00 00 00 00 00 01 01 00 00 00  |w.5.............|
00000020  00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 13                                   |.....|
00000035
$

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

However, for this purpose just the hex string is wanted, hence the use of the -px option previously, and why piping the output to the tr command to delete newlines, \n, and spaces is necessary.

Applying Custom Tag

To apply this custom tag in Terminal to a file for testing, use e.g.:

xattr -wx  com.apple.metadata:_kMDItemUserTags '62706C6973743030A101585265766965770A35080A0000000000000101000000000000000200000000000000000000000000000013' "/path/to/file"

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

Note: The xattr man page does show an example of copying the extended attribute from one directory to another, which can be applied to files too, however for a programmatic solution I prefer this method. See man xargs in Terminal for additional information.

Programmatic Usage

This could be used in a bash script or in Automator using a Run Shell Script action, however the Find Finder Items action and Filter Finder Items action in Automator has a bug with the Date last opened setting.

This leaves using the find command or the mdfind command, the latter being better at finding files for the Date Last Opened as shown in Finder in List view or the Get Info sheet for a given file, which is the kMDItemLastUsedDate attribute used with the mdfind command using a properly formed query. Note that mdfind does require Spotlight Indexing of the target directory, and is turned on by default.

In Terminal, this compound command example uses mdfind to locate files matching the query and its result it passed to xargs to run xattr on the files to apply the custom tag:

mdfind -0 -onlyin "$HOME/Documents" 'kMDItemLastUsedDate > $time.today(-7) && kMDItemLastUsedDate < $time.today(-6)' | xargs -0 -I % xattr -wx com.apple.metadata:_kMDItemUserTags '62706C6973743030A101585265766965770A35080A0000000000000101000000000000000200000000000000000000000000000013' %

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

How this gets wrapped in a shell script or in Automator using a Run Shell Script action and scheduled to run at a regular interval really depends on how one intends to schedule it and other criteria surrounding how one intends to take into account its usage and other controls so as not to just run wild, if you will.

I would probably choose to use launchd to schedule this as a bash script and stay away from Automator, that is depending on what else one is wanting to be a part of the overall process.

For testing purposes, under macOS High Sierra, this is what I did:

1. Create a bash script with the example mdfind compound command from above.

In Terminal:

mkdir ~/bin
cd ~/bin
touch crtag
open -e crtag

The last command above should, by default, open crtag, for [C]ustom[R]eview[Tag], in TextEdit, in which the following lines were added:

#!/bin/bash

mdfind -0 -onlyin "$HOME/Documents" 'kMDItemLastUsedDate > $time.today(-7) && kMDItemLastUsedDate < $time.today(-6)' | xargs -0 -I % xattr -wx com.apple.metadata:_kMDItemUserTags '62706C6973743030A101585265766965770A35080A0000000000000101000000000000000200000000000000000000000000000013' %

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

Saved the e.g. crtag document and closed it.

Back in Terminal, made crtag executable, e.g.:

chmod 0755 crtag

      Note: 0755 translates to: -rwxr-xr-x

2. Create a PLIST file for launchd to run the e.g. crtag shell script daily at the desired time.

In Terminal:

cd ~/Library/LaunchAgents
touch com.my.DateLastOpenedCustomReviewTag.plist
open -e com.my.DateLastOpenedCustomReviewTag.plist

The last command above should, by default, open com.my.DateLastOpenedCustomReviewTag.plist in TextEdit, in which the following lines were added:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:</string>
    </dict>
    <key>Label</key>
    <string>com.my.DateLastOpenedCustomReviewTag</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/bash</string>
        <string>/path/to/script</string>
    </array>
    <key>RunAtLoad</key>
    <false/>
    <key>StartCalendarInterval</key>
    <array>
        <dict>
            <key>Hour</key>
            <integer>9</integer>
            <key>Minute</key>
            <integer>00</integer>
        </dict>
    </array>
</dict>
</plist>

While setting /path/to/script to the actual fully qualified pathname, e.g. /Users/me/bin/crtag, and the time as shown in the <key>Hour</key>, <integer>9</integer> and <key>Minute</key>, <integer>00</integer> keys, which uses 24 Hour time.

Saved the e.g. com.my.DateLastOpenedCustomReviewTag.plist document and closed it.

Back in Terminal, loaded the e.g. com.my.DateLastOpenedCustomReviewTag.plist file for launchd to run the shell script, per its settings:

launchctl load com.my.DateLastOpenedCustomReviewTag.plist

Now every day at e.g. 9:00 AM, the files meeting the mdfind query will have the custom tag applied to them, which can be viewed in Finder from the Tags section on the Sidebar, or other Finder methods involving Tags.

Note: See the manual pages in Terminal  for mdfind, launchd, launchctl, tr, xargs and xattr, e.g. man mdfind. Also have a look at: File Metadata Query Expression Syntax


My iPhone 7 allows only one device to be connected to its hotspot at a time

I use hotspot quite a bit and can report that this isn’t how the system is designed. I have many devices connect to one hotspot and am pretty certain I tested that back when I had your iPhone 7 hardware in the US so it should be easy to confirm it’s capable of multiple connections.
What was true in the past was carriers (for example Verizon and AT&T capped connections at 5) can establish these limits for most of their data plans.

How can carrier limit hot spot connections

Since your cellular carrier specifies whether you can use the hotspot or not, have you reached out to them to determine if they have enabled any restrictions or profiles relating to hotspot usage? In the US, all of the carriers I have seen don’t cause this to happen, so I’d hate to tell you to update / wipe your device and test with all content and settings erased if this is something the carrier controls.


Night Shift & Flux not working on MacBook Air 6,2 (early 2014) since macOS 10.13.2

Go to the 'Display' tab and check the 'Scaled' option instead of 'Default for display' (or vice-versa). Then, simply select whichever text option fits you better.

Once you select one, the display will reset automatically and you'll be having the correct display profile along with Night Shift working again.

Added the solution to Apple forums as well.


My Macbook Pro's headphone jack is buzzing/humming

Ok, I have fixed this problem by reinstalling the OS.


Cannot copy and paste files over SMB but works on AFP

This has been resolved by upgrading the server to El Capitan. Copy and paste files on the sharepoint works now when accessing from MacBooks and iMacs running El Capitan.

Upgrade note, I find the order of steps for the upgrade important. The following are what I find the shortest and easiest steps when done in that order:

Backup. (I used Time Machine, but use whatever works for you.)
Run Install El Capitan.app, I had it saved to the local disk, otherwise run it from the Mac App Store.
Log back in after the upgrade has rebooted the server.
Run all El Capitan updates via App Store.
Update Server.app. (Via App Store.)
Open Server.app and ensure that file service is turned on. It was turned off in my case so I just turned it back on after double checked the file and sharepoints and their permissions.
Test with client computer with smb://myserveraddress in Finder.app via "Connect to Server" menu, this is so that you know it is working with SMB.

Out of the above, step 4 and 5 are the most important. In my case the latest version of Server.app was not compatible with older version of El Capitan (I didn't have the latest version of El Capitan as I didn't upgrade it from Yosemite through the App Store). So after upgrading to El Capitan, always install all updates available for El Capitan before proceeding to anything else.


Have a look at these two links:

https://stackoverflow.com/questions/1469994/using-make-on-osx (Installing Xcode will also install make)
http://osxdaily.com/2010/08/22/install-watch-command-on-os-x/


Authenticating to Server Services "requires storing your password in a less secure form"

OS X stores your passworded in a "salted hash" one-way encrypted format (See this question which "scrambles" your password (combined with a "salt") in such a way that it can't be decrypted, but produces the same value every time.

Depending on how Apache is configured, it uses different (normally salted) algorithms, including MD5, SHA1 and crypt: see the documentation

These are easier to crack than SHA-512, but also fairly secure (they do use a salt, and are one-way hashes. An attacker would need to get the htpasswd file to crack your password)

The same is true of the VPN server: I'm not sure what hashing algorithm it uses, but it's one with less entropy than the internal user database, which is what the warning means.

It's necessary because each piece of software is written by different maintainers (the web server by Apache, for example) and not by Apple, and because they store your password rather than authenticating you against the OS X user database.

It pertains to whatever users are allowed to authenticate to those services (the VPN and Web services) and not the user account that the Server app is running as.


Remove autocomplete to base URL - want full path!

Perhaps showing full website address can solve your issue:

Safari->Preferences->Advanced->Smart Search Field: Show full website address [check]


To isolate a DNS issue, you might try using google DNS by setting your Mac to use 8.8.8.8 instead of the DNS server it assigned or received from your router.

From there you can use nslookup and ping to test network connectivity and DNS resolution.


Is there any way to get a generic (country-unrelated) iTunes link?

You can remove the country code from the URL, so it reads http://itunes.apple.com/artist/nash-the-slash/id160526527. That gives you a valid iTunes URL, that if opened in a browser (that doesn't auto-open iTunes), appears to be the same as if the link were a US link.
However when any iTunes link is opened in iTunes itself, it will attempt to redirect to the version in the user's local store. I.e. when I click on the link you posted, I get sent to the same item in the Canadian store.
If the item isn't available in the Canadian store, I get a message like this:

So, you should be safe using country-specific store links, and iTunes will handle the redirection as appropriate.


Should I buy DDR3 or DDR3L RAM for late 2012 MacBook pro 13 inch?

Apple has a RAM upgrade guide located here. For your computer(MBP 13" mid-2012),  it provides this information:


El Capitan bootable installer on Mac Mini - "A required download is missing"

You probably used an old macOS installer app to create your USB bootable disk.

A lot of macOS installer apps downloaded before Oct 2019/Nov 2019 contain an outdated certification chain and thus are invalid.

Simply download a new OS X El Capitan install.dmg (with a valid cert chain this time), open the dmg and open the InstallOS.pkg. The installer package installs the "Install OS X El Capitan.app" in the Applications folder.

The app's ressources can be used to create a new installer thumb drive with the well known command:

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app

Other installers with valid cert chains:

Sierra: How to upgrade to macOS Sierra – Download macOS Sierra (direct d/l).
High Sierra: How to upgrade to macOS High Sierra – Get macOS High Sierra (App Store link)
Mojave: How to upgrade to macOS Mojave – Get macOS Mojave (App Store link)

As of recently (October 2019) users have reported a certificate issue that may require the system datetime to be backdated via terminal in the installer.


Where does Apple announce upcoming press events?

Information about an invitation-only press event isn't posted to the Apple website in advance  Those who are invited to the press event receive email invitations; those who aren't invited just report that there is a press event because they've seen the reports elsewhere.  The announcements that are made at the invitation-only press event will be posted in a press release after the event.

Apple rarely announces hardware or software outside of invitation-only press events.  One exception is their annual Worldwide Developer Conference, which starts off with a keynote address that is attended both by the developers who paid for the conference, as well as invited members of the press.  This keynote address includes announcements of new hardware, software, and operating systems.  It is the only part of WWDC which is publicly available and not covered by a non-disclosure agreement.

Apple will occasionally simply update a product with no event at all, such as the recent iPad update.  In this case, they simply drop a press release and let it make its way out into the world.


Automatically backup JailBreak iPhone DCIM photo directory

According to Wikipedia's article on cp:

  To copy a directory to a directory (-r or -R must be used)

So try adding <string>-r</string> to the list of arguments. Reboot your device and after 5 minutes (300 seconds) check if it worked.

Ad@m


How do I make a contact in Google Contacts show up on my phone?

I've needed to goto my Google Contacts and add the person to the built-in "My Contacts" group. I haven't found the "My Contacts" option in the preview of Google's updated (for 2015) Contacts preview.

Google Support: Sync contacts with your phone


right click creates new finder window at click location

If you are looking to open a new Finder window with its position being the current position of your mouse location… this will accomplish that for you.

This code requires the third-party utility, Cliclick.

  “Cliclick” is short for “Command-Line Interface Click”. It is a a tiny shell/Terminal application that will emulate mouse clicks or series of mouse clicks (including doubleclicks and control-clicks) at arbitrary screen coordinates. Moreover, it lets you move the mouse, get the current mouse coordinates, press modifier keys etc.

It's free to download but it's donationware, and is easy to install.

On my system I have. cliclick in the following directory: /usr/local/bin/. Because of this location, in my AppleScript code and in Terminal app, I need to use the full path to cliclick to call the command. For example: do shell script "/usr/local/bin/cliclick rc:." In AppleScript is telling cliclick to right-click.

This works for me using the latest version of macOS Mojave.

Create a new Automator Quick Action document and add a “Run AppleScript” command to your workflow.  Then overwrite the pre-existing text in the AppleScript command with this following code. Then save your file.  I saved mine with the name “New Finder Window At Mouse Location.workflow”

set mousePosition to do shell script "/usr/local/bin/cliclick p:."

set mouseCoordinates to makeCoordinatesRecord(mousePosition)

tell application "Finder" to set position of (make new Finder window) to mouseCoordinates

on makeCoordinatesRecord(mousePosition)
    set a to offset of "," in mousePosition
    set x1 to text 1 thru (a - 1) of mousePosition as number
    set y1 to text (a + 1) thru -1 of mousePosition as number
    set mouseLocation to {x1, y1}
end makeCoordinatesRecord

You won't be able to access this command through “Right Click” menu but you can create a keyboard shortcut to run your new Quick Action which will open a new Finder window at your current mouse location.


Can I upgrade my MacBook mid 2010 to 16GB of RAM? (2x8G)

(Note: The original post said "No", which was right at the time it was written, but as of February 15th, 2014, the OWC page says that you can install up to 16GB of RAM on mid 2010 MacBooks (2.4GHz).)
It Depends.
OWC continously tests the max RAM which apple computers support - which is usually more than Apple officially states.
The mid-2010 MBP is size dependent. The 13" will support 16GB. The 15" and the 17" will not.
The following table shows that the max RAM supported by your Macbook Pro based off size (mid 2010) is 16GB (officially 8GB).


Not by using dmesg which is a very simple command. But you can use

sudo fgrep "kernel[0]" /var/log/system.log

instead to get the same messages from the system log file, including a time stamp.


Mac is flashing screen when pressing keys

I think there's an option in System Preferences.
Go toSystem Preferences > Accessibility > Audio and uncheck the box that says Flash the screen when an alert occurs.

Hope this helped!


How do I set up an IRC server on OS X for my local network?

Since you have Homebrew installed, ngircd is very simple to install and configure.

Install ngIRCd

$ brew install ngircd

Add /usr/local/sbin to your PATH

$ vi ~/.bash_profile

edit the config file (very easy to follow, even for a beginner, as the defaults are just fine for everything.) Note the path may be different for you to homebrew / ngircd version folders.

$ cd /usr/local/mxcl-homebrew-697d2ae/Cellar/ngircd/17.1/etc/
$ vi ngircd.conf

Here's a sample config file, should you need it.

Verify your config, if you like:

$ ngircd --configtest

Then simply start the server:

$ ngircd


How to ask for a mail folder in applescript?

While I don't know if AppleScript can do what you want, there is an Apple Mail plug-in called Mail Hub that will do what you want as well as add additional functionality. I'm a satisfied customer.


Where should I put my custom applications?

It depends on what applications you want to keep to yourself and which ones you want to make accessible to all users:

Applications stored in /Applications are installed for all users.
The ~ stands for your home folder.
Applications stored in ~username/Applications are only for access by the user username.


This was apparently some known issue because when I took the computer to be fixed, they simply replaced the motherboard for free.


After migrating to iCloud Photo Library can the iLifeAssetManagement folder be deleted?

The answer appears to be "Yes, it can". After a month of the folder not being touched I finally deleted it and it hasn't caused any issue whatsoever. However, if any device using your iCloud account is still using Photo Stream (for whatever reason), you may still need the folder.


Apple Watch is not updating to WatchOS 2 beta with public profile

There is no public beta for WatchOS 2.0. Developers can get WatchOS 2.0 by downloading an additional provisioning profile for the watch.


Are there any deep details on the specifics of what the “Low Power Mode” in iOS 9 actually affects?

Apple hasn't really discussed specifically what Low Power Mode actually does. Its main underdocumented feature is that it underclocks the processor, reducing performance to increase battery life, but there's a few other tweaks it makes to the system as noted underneath the switch.

As shown in these screenshots, Low Power Mode reduces the performance by ~30%.

Source: http://www.macrumors.com/2015/06/25/ios-9-low-power-mode-benchmarks/

Apple lists the following as features modified by Low Power Mode:

  Email fetch
  Hey Siri
  Background app refresh
  Automatic downloads
  Wi-Fi associations
  Some visual effects

Source: https://support.apple.com/kb/HT205234

More details are provided in the developer documentation (Energy Efficiency Guide for iOS Apps):

  Reduce CPU and GPU performance
  Pause discretionary and background activities, including networking
  Reduce screen brightness
  Reduce the timeout for auto-locking the device
  Disable Mail fetch
  Disable motion effects
  Disable animated wallpapers

Source: https://developer.apple.com/library/prerelease/ios/documentation/Performance/Conceptual/EnergyGuide-iOS/LowPowerMode.html

Apple encourages developers to take advantage of this feature by implementing a lower power state in their apps. This means that this feature may increase battery life through support in third-party apps.

  Your app should take additional steps to help the system save energy when Low Power Mode is active. For example, your app could reduce the use of animations, lower frame rates, stop location updates, disable syncs and backups, and so on.


macOS High Sierra on the App Store: the Learn More button doesn't work

I had the same issue and I thought I had enough space but I didn't. You need at least 14.3GB I believe. It downloaded for me afterwards


How can I add a path to the PATH environment variable?

OSX reads the following files in order when a terminal opens :

/etc/profile
~/.bash_profile
~/.bash_login
~/.profile

So place your path addition into one of these.  I normally put additions into ~/.bash_profile


How to install an homebrew package behind a proxy?

To run Homebrew or Curl behind a proxy :

export ALL_PROXY=$http_proxy:port

or

export ALL_PROXY=proxyIP:port

After this is done, installation worked smoothly.