Bootcamp HD monitor overscan problem on MBP

Try adjusting the overscan settings on the TV. There might be a "monitor" or "computer" or "pixel" or some other strangely named setting that (essentially) turns off the TV's built-in overscan allowances.


Can I charge a 2017 MacBook Pro with a third-party USB C power adaptor?

The USB-C plug is not the problem, but the charger is.
It is underrated, so it will never manage to completely charge your battery while the Mac is in use, or supply enough when needed.
With that said, you can use it to charge battery overnight to use it during the day.
To verify it is best to take occasional look at the battery charge condition in "System information" (hold the "option" key and click on the apple symbol on the top left corner on the menu bar).

This indicated value will be negative if charger is not plugged in or not sufficient.

It will be positive if charger is sufficient.

No damage to your Mac will occur in any case.


Safari with OS X 10 6.8 will not open PDF files

Run the installer for Snow Leopard over your current installation.  The issue is in your settings.  The easiest way to make this work is to let the installer reinstall.  Most likely you restored both machines from a time machine backup at some point and the setting was incorrect and never got fixed.  Easy fix though.


Is it possible to move photos on iPhone to external storage?

To get it on to an external drive, your photos need to get to a computer first (because an external drive can not be plugged into an iPhone).

To get the photos to a Mac, you can use a standard iPhone to USB lightning cable to plug your phone into the computer. Your Mac will normally pop up asking to import the photos, accept this. (Windows computers might be capable of this, I am not sure.)

Or you can use iCloud Drive for any computer. On your phone, turn on iCloud Photo Library in settings. When your photos are uploaded to the cloud, go to iCloud.com on your computer. Open the photos web-app, select your desired photos, and at the top, you should see some buttons to import the photos to your computer.

Once the photos are on your laptop, you can move them to your desired external drive.


My search engine is Yahoo, how can I change it to Google?

You set this in Safari* Preferences - you don't need an extension to do this.

In Safari, go to the Search tab in Safari → Preferences (or press ⌘ Command,)

Select the Search Tab, and pick your Search engine.  I personally use Bing (by the way, Yahoo uses Bing to power it's search engine since 2009), but you can choose the engine you prefer.

* Safari 11.1.2 was used at the time of submitting this answer


Can Apple Macs bind to two domains in two separate forests?

In OS X Mavericks

The same as binding the Mac to the Active Directory to the Domain for the first time - System Preferences > Users & Groups > Login Options. Unlock the advanced options and click Edit.

Here you can click the plus and add the additional domains' details

Some points to consider:

The Mac will need a computer account in the additional domain
Users who login where a user with the same samAccountName will be prompted for Admin credentials in order to rebuild the Library. This only happens when a matching user has already logged in to the Mac
Users will be prompted for the 'matching' user's password as OS X seems to try and migrate the users 'keychain'
Consideration should be given as to the order with which domains should be checked for authentication requests

I've still yet to dig into policies and configuration across the domains and how they affect the Macs' being in both domains.... though I still haven't learnt how that works so it may be a non issue


El Capitan Mail 9.0 won't accept active accounts

O.K. I have an update. I had checked the "hand-off" to another Mac in the General preferences. I unchecked it and now have two of the accounts added. Then, finally, I unchecked all the Google items in the Internet Accounts pane, turned off any device with Google anything, logged into Google from the Internet Accounts pane and mirabile dictu! gmail is now in place and downloading messages.

So: 1. Handoff is a nice feature, but it sure can mess up Mail.
    2. Gmail is as quirky as many have claimed.

Thanks to bike for his answer.


Suppressing "The default interactive shell is now zsh" message in macOS Catalina

I found the solution on reddit. The solution is also mentioned in the "How to use a different shell without changing the default" section of the Apple support article mentioned in the bash warning: https://support.apple.com/en-us/HT208050/.
Add:
export BASH_SILENCE_DEPRECATION_WARNING=1

to $HOME/.bash_profile, $HOME/.profile or $HOME/.bashrc and restart iTerm. After that, the warning message will be gone.


The sbin directory, which some admin tools like dsniff and aircrack install to, is not on the path by default, and it's not in Homebrew's initial setup instructions, which tell you to get /usr/local/bin on your path. This is because, traditionally, sbin/ is for administrative tools that only root would expect to run.

Tab completion is picking up the files in /usr/local/Cellar/aircrack-ng/1.1/bin because they are symlinked in to /usr/local/bin, which is on your PATH. It does not find the files in /usr/local/Cellar/aircrack-ng/1.1/sbin, because they are symlinked in to /usr/local/sbin, which is not on your PATH. Your current working directory does not matter for tab-completion, because . (the current directory) is not on the PATH.

If you want to see those other programs on your path, where tab-completion can pick them up, add /usr/local/sbin to your PATH in the same place you added /usr/local/bin - probably your ~/.bashrc file.

In general, if you want to use tab-completion on programs in the current directory, you need to call them with a ./ prefix. For example, cd /usr/local/sbin and then type ./air and hit tab, and you'll get some choices.


Itunes Smart Playlist - Sort by Descending Track Number

When creating the smart playlist, can you sort your tracks by 'most recently added'? That way, every time you add a new single, the most recent one will stay on top.


Displaying 'note keys/labels' on Garageband for iOS (specifically iPad)

I'm pretty certain that there is no setting to overlay the note names on each key of the GarageBand-IOS keyboard. It's a reasonable question, and I found it repeated a couple of other times on discussion forums.

I submitted this to Apple as a feature request. I encourage you (and others) to do the same using this link.


Is there any Mac OS X app that I could use to show my Google Calendar on a Desktop?

You could use the combination of GeekTool and iCalBuddy (which you can install using Homebrew).

On my desktop, it currently looks like this:


Insert a column between column A and B (you can hide this column after).
Fill the cells of this column with the following formulae:

YEAR(A2)

The column should be A for all cells, and the row number should be incrementing, such that the cell being referred to is always the one immediately to the left.
In column D, fill the following formulae:

SUMIF(Year,"=2015",Amount)

Replace ‘Year’ with the column heading for the column you created in step 1.
Replace ‘2015’ with the year that you are looking to be summed for that cell.
Hide the column you created in step 1 (right-click on the column and choose Hide Column).


Is it possible to simulate multi-touch mouse down events?

There kind of is. Your question says "simulate mouse-down events", that's what's being covered in my answer. I used an application back in 2010, and I'm pleasantly surprised it's still being updated, and supports Mountain Lion.

It's called Mac Auto Mouse Click, and it's pretty configurable. You can set it to click anywhere on the screen and remember the position, and execute a whole series of commands, including keystrokes. It's also fairly simple to use. Here's a screenshot:

It is however limited in that it can only perform simple mouse-clicks, here's the full list:

  Left Mouse Button Click.
  Right Mouse Button Click.
  Middle Mouse Button Click.
  Shift + Left Mouse Button Click.
  Shift + Right Mouse Button Click.
  Shift + Middle Mouse Button Click.
  Double Left Button Click
  Type Text Automatically, like a Mac Auto Typer.


There is no Credit/Debit Card on the Apple Online Store associated with your Apple ID

I talked to Apple Support on the phone. They directed me to visit the url:

  https://www.apple.com/shop/browse/account/home

Under "Account Settings", click "Shipping and billing".

This brings you to a much older Apple website, still styled with aqua controls!

  https://secure1.store.apple.com/shop/account/setup_default

I was able to add a new credit card on this site.

When I return to the Developer Program site, the red banner has gone away.


The Do not disturb tool of the iPhone may provide what you are asking.

If you turn Do not disturb you'll be able to receive only the call from Favourite list of contacts. The only problem is that this service doesn't work for messages and therefore if you need to receive only message from a particular number, what I'm suggesting doesn't work for you.


Port forwarding on all ports except ssh on macOS Sierra (redsocks)

The ssh line should be above the ‘rdr’ lines, so that the ssh line is matched first.


Over time, Wifi hardware has progressed through several versions. In addition to higher speeds, the newer versions tend to offer better connection quality when there are many wifi signals and other interference in the vicinity. It could be that your computer has older wifi hardware than your phone, and hence is not able to handle the interference as well, producing slower speeds.  Interference is especially likely if you live near many other homes with people using wifi, too.

If you are on a Mac (assuming you are because this is AskDifferent), you can see what Wifi revision your Mac supports by doing the following:
Click the menubar Apple logo in the upper left corner of the screen, then "About this Mac", then "System Report", then "Wi-Fi" mid-way down the list on the left.  About 14 lines down in the right-hand pane, you should see an entry for "Supported PHY Modes:".  Next to this you'll see something like "802.11 a/b/g/n/ac". Those letters indicate the WiFi versions your hardware supports, with "a" being the oldest, and "ac" being the newest. Versions "n" and "ac" in particular added improved support for handling lots of interference from congested airwaves.

[Added based on receiving more model information from OP:]
You have support for wireless version "n" in your laptop, but not version "ac".  There may be a performance difference between these two standards in your situation.  If you can find a machine (computer, cell phone, tablet) with support for "ac", try testing that in your room to see if speeds are better than you are getting on your 2008 Macbook. If so, then this is the issue (and please up vote this answer; thanks!).


Is the memory reported in Activity Monitor accurate?

You are doing the calculations wrong. In the column you see: physical memory, memory used, cached files, and swap used.
Physical memory is total RAM. Memory used is amount of RAM used for running processes. Cached files is the amount of RAM used for storing cache files, and swap used is the amount of disk (HDD/SSD) space that is being used as though it is RAM. So the calculation should be: Physical memory - (memory used + cached files). In your case: 4 GB - (2.91 + 1.07) (give or take).

However, what's really important is memory pressure. The system is good about using the RAM wisely. Your performance shouldn't be impeded as long as the memory pressure stays in the green.


How to change country for iOS news feed?

I do not know if you found your answer regarding your question but you need to change the settings of your iPad
Settings > Language & Region > Region
To chose the region that you need/want to get the news feeds from.

That should do the trick


Where I can buy an original OS X Leopard PPC disc for my iMac G4?

Besides maybe posting to Craigslist for a better deal, 10.5.6 is still available for sale on Amazon.

Please know there was no PPC-specific version of the installer (it works cross-architecture), so if you find one it will work on that Mac (as long as its processor is 867 Mhz or faster w/ 9 GB of free disk space and a DVD drive). It was only Tiger that had separate installers.


FaceTime is a US $1 app on the App Store. You will need to enter an AppleID into the app to send or receive calls, but the software holds your hand through this process, making a new AppleID if needed for you.

Once you have that installed and running, make sure your contact's iPhone is in the address book and dial them up.

You can call out to AppleID that are used on the Mac and iPod/iPad and you call to a "phone number" to iPhones that are in WiFi.

The nice easy support page for FaceTime on the mac is http://www.apple.com/support/mac/facetime/

A short list of hardware requirements is here.


Can I identify all iTunes purchases bought with a particular ID Account?

One way to do this is by opening Terminal (/Applications/Utilities/) and entering the following command:

grep -rl username@example.com ~/Music/iTunes/iTunes\ Music

…where username@example.com is the email of the account you purchased the iTunes content with. This will look for references to that name in all of the downloaded files in your iTunes directory. I don't buy a lot of music through the ITMS but this seems to identify the ones that I purchased through a specific account.

There is also this Track Down Purchases application. I have not tried it, but it looks like it would also do what you want.


TrueCrypt mount fails with cryptic error

Try mounting the volume as “read-only”:

TrueCrypt → Preferences → Mount Options → Mount Volumes as read-only

If that doesn't do the trick then it's possible TrueCrypt could be having some issue with file system implementation mechanism (ext4fuse) not detecting that an ext4 volume is mounted. I've used FUSE for OS X with TrueCrypt and it works without any issues, so giving that a try instead of your current mechanism might help as well.


I have just activated (Nov 20, 2014) an iPhone 4s that had been on the Verizon System.  It had to be unlocked for international use.  It had to be active on the Verizon System to do the unlocking.  The previous owner of the phone kept the sim card so it does NOT have a sim card installed.  It functions 100% as a Tracfone.


You can set the resolution of the external display independent from that of the retina display.

I personally use a Full-HD display with a VGA->Thunderbold adapter at work and at home a Full-HD display with a DVI->Thunderbold adapter.

I prefer the DVI variant, but this is also because of the generally better display at home.


How to login to a network account on a MacBook without network?

According to this answer in the Apple Support Communities, I'm needed to create a mobile account on my server:

In Workgroup Manager, select your username in the list of users.
Click the Preferences button.
Click the Mobility button.
Turn it on using your desired settings.

Thanks to HopelessN00b for pointing me to the right direction.


Forward events / notifications to other phone

I think an App called "pushbullet" can probably do what you want.

Pushbullet by Pushbullet
https://appsto.re/us/02ptW.i

Quick video of setup and demonstration: https://youtu.be/BVpUbJFLRvs


MacOS - can I disable F12, Ctrl-Left Arrow, Ctrl-Right Arrow?

Yes, you can disable those keyboard shortcuts:

Go to the Apple menu
Click System Preferences...
Click Keyboard
Click the Shortcuts tab
Click Mission Control in the left-hand column
Uncheck the keyboard shortcuts for Show Dashboard (F12), Move left a space (ctrl-left arrow) and Move right a space (ctrl-right arrow)


WindowServer high CPU usage, spikes when moving cursor on M1 MacBook Big Sur

Big Sur has many known issues related to UI performance. It’s almost certain that you’re experiencing one of these bugs, and so you’re unlikely to be able to do much about it yourself. We can try to confirm or refute this hypothesis if you’d like.
Does this occur if you’re running in Safe Mode? (Shift during boot) If so, do the following in Safe Mode. Otherwise, do it when the problem occurs.

Run the following command to enable kernel symbolication: sudo nvram boot-args="keepsyms=1" (this may require you to disable SIP first).
Reboot your machine and don’t open any apps except for Terminal.
Do the minimum required in order to reproduce the problem.
In Terminal, run the following, making sure you’re only running it during the window of time that you experience the system slowdown. (In particular, do NOT have Activity Monitor running when you do this.): sudo spindump -reveal -noProcessingWhileSampling
After waiting for 10 seconds to collect a sample and another minute or two to symbolicate and format, you’ll get a file in /tmp/spindump.txt that contains a stackshot of every process.
Upload the file to PasteBin or some equivalent place and we can take a look to see what’s causing the CPU usage spikes.


There are several way to achieve this. Macintosh models can be identified by several means:

The “human-readable” detailed name Apple uses: e.g., MacBook Pro (15-inch, Mid 2009)
Model Identifiers: e.g., MacBookPro5,3
Model number: e.g., A1286
Serial number
…

While two Macs with the same model identifier or model number may not be exactly the same (e.g., a MacBookPro5,3 may have a 2.66GHz, 2.8GHz or 3.06GHz Core 2 Duo processor, and the GPU may differ as well on those models), they pinpoints models with a precision sufficient for most uses.

If your Mac is running properly on OS X, you can get the Model Identifier by doing the following:

Go to the Applications > Utilities folder.
Run System Profiler. (System Information in Mavericks)
On the left panel of the window that opens, select Hardware (the default selection)
The Model Identifier appears with other info about the Mac in the right panel, including the serial number.

For other ways to get to the serial number of your Mac you can:

Select About this Mac in the Apple menu on the top left of your screen. In the small window that appears, click the system version (e.g., Version 10.9.2) twice. Your Mac serial number is displayed instead.
Or, more simply and especially useful if your Mac is not booting, read it on the Mac itself, as the serial number is printed on it somewhere, in very tiny letters. Older Mac laptops with removable batteries have the serial number inside the case with the battery removed. You can find out precisely where the serial number on your Mac lives at this Apple KB link.

Once you have the serial number, you can get the precise model name by going to this page on the Apple website and typing your entire serial number in the adequate field.

If you need info on materials that your Mac support, or if you need to find the model number of your Mac when you have its identifier or serial number, you can use various databases that exists here and there. I usually go to this very useful page from everymac.com, as it list quite a big deal of technical info on each model. You can type model identifiers, model number or the few last symbols of a serial number to find its related info.


Gluing the cover of an Apple wireless keyboard

It's not going to work, unfortunately.

I've attempted a very similar repair which only ended in failure (and despair).  The problem is the plastic and why the tabs broke in the first place - they've become brittle with age.

So with some patience you can get the tabs back on, but they will break off again, unfortunately.


How can I automatically download trailers in iTunes?

Unfortunately, Apple is not using itunes-aware tags in its RSS feed for the latest movie trailers.

        <content:encoded><![CDATA[

         &nbsp;
        Red State - Trailer 2

        The 10th film from writer/director Kevin Smith ("Clerks", "Chasing Amy", "Dogma", "Clerks 2", "Zack & Miri Make a Porno"), RED STATE unfolds in a small town dominated by a fundamentalist preacher, Abin Cooper. It tells the story of three high school boys who, on their way to an internet arranged meeting with a woman, end up crossing paths with Cooper. The encounter sets into motion a series of events that causes all hell to break loose. A horror thriller that could only come from the imagination of Smith, RED STATE stars Tarantino and Rodriguez favorite Michael Parks ("From Dusk Till Dawn", "Kill Bill Vols. 1 & 2"), Oscar Nominee for Best Actress Melissa Leo ("The Fighter," "Frozen River") and John Goodman, Michael Angarano, Kyle Gallner and Nicholas Braun.
Directed by: Kevin Smith
Starring: Michael Angarano, Kerry Bish&#x00E9;, Nicholas Braun, Kyle Gallner, John Goodman, Melissa Leo, Michael Parks, Kevin Pollak, Stephen Root

        ]]></content:encoded>

instead of something like

<item>
  <title>Car Talk #1110: Another Dodge Dart!</title>
  <description><![CDATA[What's the best spare part to bring along on an extended road trip in your '64 Dodge Dart? Aside from our Show Title, we mean. Also, a case study in you should drive now, jelly later; a noxious Saab prompts a game of "Who farted" between mother and son; and is it worth it to each a teenager how to drive a stick shift?]]></description>
  <pubDate>Sat, 05 Mar 2011 15:21:06 -0500</pubDate>
  <link>http://www.cartalk.com</link>
  <guid>http://podcastdownload.npr.org/anon.npr-podcasts/podcast/510208/134294214/npr_134294214.mp3</guid>
  <itunes:summary><![CDATA[What's the best spare part to bring along on an extended road trip in your '64 Dodge Dart? Aside from our Show Title, we mean. Also, a case study in you should drive now, jelly later; a noxious Saab prompts a game of "Who farted" between mother and son; and is it worth it to each a teenager how to drive a stick shift?]]></itunes:summary>
  <itunes:keywords>car,talk,car talk,click,clack,tom,ray,magliozzi,npr,public radio,advice,repair,fresh air,wait wait,puzzler,NPR,National Public Radio,Car Talk,Washington,District of Columbia,Morning Edition,All Things Considered,Fresh Air</itunes:keywords>

  <itunes:duration>53:45</itunes:duration>
  <itunes:explicit>no</itunes:explicit>
  <enclosure url="http://podcastdownload.npr.org/anon.npr-podcasts/podcast/510208/134294214/npr_134294214.mp3" length="25861894" type="audio/mpeg"/>
</item>

So, when you try to subscribe to feed://trailers.apple.com/trailers/home/rss/newtrailers.rss, iTunes claims the content is text-only or missing.

However, if you are using Apple Mail, you can add this feed to Apple Mail and it handles it quite nicely. It doesn't download the movies automatically but at least you see when there are new ones.


Can I restrict the times during which iTunes downloads podcast content?

What you need to do is refresh the podcasts at a time during the download period and then set the update podcast to "Daily"
Find the settings button :-

And select Daily..

This is because the Daily refresh will reset itself to download every 24 hours after that time..
As seen here I refreshed this morning and the next update will be 24 hours after that.

The caveat, of course, is that iTunes must be running at the time you want it to refresh


Get Info of a hidden file (to change its default app)

You can use the following shell function. This uses open information window which is much better than GUI scripting or keyboard shortcut scripting which relies on the file shown in Finder.

si() {
    osascript - "$@" <<-END > /dev/null 2>&1
    on run args
    tell app "Finder"
    activate
    repeat with f in args
    open information window of (posix file (contents of f) as alias)
    end
    end
    end
    END
}

Source: https://superuser.com/a/509080/

Run with

si /path/to/file


How do I bind a key in OSX to open a new window of an application?

There's no single way to open a new window with AppleScript, but make new window or make new document works in many applications.

tell application "Google Chrome"
    make new window
    activate
end tell
tell application "Finder"
    make new Finder window
    activate
end tell
tell application "Terminal"
    do script ""
    activate
end tell
tell application "TextEdit"
    make new document
    activate
end tell

You can assign shortcuts to scripts with applications like FastScripts or Alfred.

You can also open new windows from the Dock:


Thanks to budakpisang for this:
In Terminal, run
networksetup -listnetworkserviceorder | sed -n '/Wi-Fi/s|.*Device: \(.*\)).*|\1|p'

to get your WiFi network device (usually it's en0 or en1, depending on the Mac model you have). Substitute it for en1 in the following steps
You can turn wifi off and on with these commands
networksetup -setairportpower en1 off
networksetup -setairportpower en1 on

Here's a one-liner to toggle between on and off
networksetup -getairportpower en1 | grep "On" && networksetup -setairportpower en1 off || networksetup -setairportpower en1 on

Create a keyboard shortcut that runs a shell command

Start Automator, and create a new Service.

Set "Service receives selected: to "no input" in "any application".

Add an action named "Run Shell Script". It's in the Utilities section of the Actions Library.

Insert the bash command you want into the text box and test run it using the Run button (top right). It should do whatever the script does (off, on or toggle), and there should be green ticks below the Action.

Save it, giving it a service name you can remember.

Go to System Preferences -> Keyboard, and go to the Shortcuts tab

Go to the Services section, and scroll down to General - you should find your service there. If you select the line, you can click "add shortcut" and give it a keyboard shortcut.


Can I remotely control an iPhone from a Windows laptop?

Yes, that is correct. The current version of TeamViewer for iOS only supports sharing the screen, not remote control.

Other solutions makes remote control possible, but they require the individual app you want to control to support that remote control solution.


Setting up my AirPort Express with no ethernet cable

Check what wireless networks are available. It is possible your Airport Express is broadcasting a secondary wifi network. If so, try connecting to that network and searching for base stations again.

As a last resort, you can perform a reset. Try a configuration reset first (hold the reset button down with the tip of a pencil for a few seconds, until the led flashes rapidly). If that doesn't work, try a factory reset, by unplugging and replugging it, holding down the reset button.


Can homebrew and macports work together to let Firefox-X11 be installed?

No - as removing macports will remove the software it installs. Macports )and Fink) are designed so that they use directories that only they update and control so that they have full control of what happens).

In this case however you can get to this stage.

Remove Homwbrew or at least remove or rename /usr/local
Install macports and check that the /opt/local/bin is at the end of
your path
Install firefox-xll
Reinstall Homebrew or restore /usr/local

As /usr/local/bin is before /opt/local/bin in your path then you will get the Homebrew program before the macports one.


Selecting files with one extensions that have the same name as files with a different extension

Open terminal and use cd to make the directory of *.nef files your current directory. Let's assume you have this structure:

mydir/jpegdir
mydir/nefdir

So cd into mydir/nefdir

Then:

mkdir newdir
for file in *.nef; do
    root=${$file%.nef};
    jpeg=${root}.jpg;
    mv ../jpegdir/${jpeg} ./newdir/
done

example below. Note here that I put "echo" in front of the mv command. You want to omit that, but I often use it when I'm checking that a script is doing what I expect before executing it. You also don't say what you want to do with the files, but moving them to a new folder allows you to select them, and you can always move them all back. I also shortened my tmp variable names.

$ ls -R
total 0
drwxrwxr-x  4 tim  staff  136 Jun 13 08:02 .
drwx------  9 tim  staff  306 Jun 13 08:02 ..
drwxrwxr-x  8 tim  staff  272 Jun 13 08:03 jpegdir
drwxrwxr-x  5 tim  staff  170 Jun 13 08:03 nefdir

./jpegdir:
total 0
drwxrwxr-x  8 tim  staff  272 Jun 13 08:03 .
drwxrwxr-x  4 tim  staff  136 Jun 13 08:02 ..
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo1.jpeg
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo2.jpeg
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo3.jpeg
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo4.jpeg
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo5.jpeg
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo6.jpeg

./nefdir:
total 0
drwxrwxr-x  5 tim  staff  170 Jun 13 08:03 .
drwxrwxr-x  4 tim  staff  136 Jun 13 08:02 ..
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo2.nef
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo3.nef
-rw-rw-r--  1 tim  staff    0 Jun 13 08:03 foo5.nef

$ cd nefdir/
$ mkdir newdir/

$ for f in *.nef; do g=${f%.nef}; h=$g.jpeg; echo mv ../jpegdir/$h ./newdir; done
mv ../jpegdir/foo2.jpeg ./newdir
mv ../jpegdir/foo3.jpeg ./newdir
mv ../jpegdir/foo5.jpeg ./newdir


Python / matplotlib graphics & OS X 10.9: mission control?

I have the same problem using Anaconda Python. The problem seems to be related to the fact that Anaconda is not a "framework" installation. For more information, see:

https://stackoverflow.com/questions/4130355/python-matplotlib-framework-under-macosx

and

https://github.com/matplotlib/matplotlib/issues/665#issuecomment-11327805

With Anaconda installed, my default python executable is Anaconda's:

$ which python
/Users/dgolden/anaconda/bin/python

A solution that works for me is to explicitly call the system python installation, which is installed in /usr/bin/python for me, e.g.,

/usr/bin/python /path/to/my/script.py

You can save yourself some typing by creating a symlink with a unique name that won't be shadowed by anaconda (the fw suffix that I use suggests "framework"):

sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /usr/bin/pythonfw

Then you can run your script with:

pythonfw /path/to/my/script.py


Is a "2 GHz Intel Core Duo" really the same as a "2 GHz Intel Core ***2*** Duo"

Yes, the Core 2 Duo and Core Duo are different and the Core 2 Duo came later so your iMac should support any software that requires at least a Core Duo.

You can tell because the Early 2006 MacBook Pro used the Core Duo while every MacBook Pro after that until 2010 used a Core 2 Duo. This isn't definitive in proving that the Core 2 came after the Core, but Apple's not going to continually downgrade the processor in its top-of-the-line laptop year after year, plus the "2" usually denotes a successor anyway.


prevent Mail from checking for mail if VPN is down

Have your employer block access to the IMAP server from non VPN connections. That way Mail can check all it likes but it won't get anywhere. As long as Mail is using a secure connection for the IMAP server it will reject most any nefarious attempt to hijack the attempted connection.


No, you can't download OS X installer from Internet, it is available only via Mac App Store.

If your want to build a PC able to run Mac OS X, this project is called OSx86 or also known as Hackintosh.

There are a lot of guides and hardware compatibility lists on tonymacx86 website.
For example, if you want to install Mac OS X Yosemite on an Intel based PC you can follow this instructions. As you can see, you have to previously download the Mac OS X image from the App Store to build a bootable USB drive.


Activity Monitor missing process arguments

To answer my own question: it is not possible to make Activity Monitor show the arguments, however using htop from the "htop" package does exactly what I want:

$ brew search htop
    htop ✔     htop-osx

$ htop


Setting up an "Old" MacBook in an "Old" way

The steps are fairly straight forward.

Boot from the Snow Leopard DVD. If you have a soft copy of Snow Leopard, then burn this to a DVD.
Use the Disk Utility to erase the entire internal drive.
Install Snow Leopard
In necessary, install the OS X 10.6.8 combo update. You may find this difficult to download using Snow Leopard. If you currently have High Sierra, you may want to download this update to a flash drive before erasing the internal drive.
Use the Boot Camp Assistant application to install XP. If you have a soft copy of XP then burn this to a DVD. I assume XP is 32 bit and contains Service Pack 2 (SP2). Some users have posted that XP did not have to have SP2, but the Apple documentation says it does. If SP2 is required and your XP does not have this, then it is possible to add SP2 by slipstreaming, but this is probably more work than you want to tackle. The Boot Camp Assistant will probably require only Snow Leopard be installed before allowing Windows to be installed.
After installing XP, insert the Snow Leopard DVD to install the Window Support Software. You may be able to substitute the software from the Install Windows 7 on your Mac using Boot Camp website.
Install SP3 for XP. Apparently, SP3 is the first link on this page.

If any of these steps are not possible. Post a reason and maybe I will have an alternative.


Re-connect iTunes library from different drive

The easiest is to start with a fresh and empty folder in the new ~/Music directory.

Fire up iTunes and tell it to use the media folder on the the external drive and quit iTunes after making whatever settings you want about copying files / organization. I would recommend leaving both selected.

Then move just the artwork folder and the itdb / xml files into place and replace the "empty" files that got created on the local ~/Music/iTunes folder. (basically use Finder to move everything back except the folder containing the media.)

When you start iTunes it should run a quick check to make sure all the files are working and you can proceed with your app management / music enjoyment.


Mail for mac does not find e-mails of the last month

If you don’t get expected results when you search for email messages in the Mail app  on your Mac, try these suggestions.

If a specific mailbox is selected in the Favorites bar, Mail searches only that mailbox. To search all mailboxes instead, click All.
Mail may not be looking in the Trash or Junk mailboxes or searching encrypted messages. To include them when searching all mailboxes, choose Mail > Preferences, click General, then select the options.
You may need to sync the mailboxes on your Mac with those on the mail server. Choose Mailbox > Synchronize > [account].
The Mail folder (located in your home Library folder) may be excluded from Spotlight searching. To check, choose Apple menu  > System Preferences, click Spotlight, then click Privacy.
This solution can take quite some time because all messages will be deleted from your Mac. Therefore, it’s wise to try the other methods first if your mailbox is particularly large. To rebuild a mailbox, proceed as follows:

In Mail, select the desired Mailbox from the left-hand panel.
From the Mailbox menu, choose Rebuild.


Can I force Mac OS to cache my most frequently used applications?

It's an oversimplification, but this is essentially what Unix does with its memory in the first place.  If you don't shut down your computer and don't close your apps, your most frequently used apps will always be in memory ready for you to use.  Apps you don't use will get swapped to disk (assuming you ever run out of RAM  :-)

In Lion especially, you can almost forget about quitting apps by hand.


How to select a tab in iTerm2 via AppleScript

Yep, I could find online a way to do it. Perhaps there is a better solution, but this works perfectly for me.

tell current window
        set foundProfile to false
       repeat with aTab in tabs
            set profName to profile name of current session of aTab
            if profName is "XXXXX" then
                select aTab
                set foundProfile to true
                exit repeat
            end if
        end repeat
        if not foundProfile then
            create tab with profile "XXXXX"
        end if


How can I stop the App Store asking for a password in OSX?

As of macOS Big Sur 11.1, there's a setting in "System Preferences" » "Apple ID" » "Media & Purchases". Change "Free Downloads" from "Require Password" to "Never Require".


I cannot describe how terribly annoying this was for me post Yosemite install as well. Your beloved mac would freeze as hundreds (thousands?) of log lines detailing gesture bookends would demand intense resources. Anyhow, here is the secret sauce.

Note that multi-monitor preferences are going to be lost (screen arrangement, preferred display, etc)

Step 1: move/backup your plist files

sudo mv /Library/Preferences/com.apple.windowserver.plist ~/Desktop/
sudo mv ~/Library/Preferences/ByHost/com.apple.windowserver* ~/Desktop/

Step 2: Shutdown your mac

Step 3: Reset pram

press/hold Command+Option+P+R and press power button once
wait for two tones
let go of the keys and allow your mac to boot normally

I hope it does the trick for you.


Launch a sh program at startup attached to a terminal window

Your use case is simple enough to just save your script to a file named with the .command file extension so that Terminal.app is chosen to open it. It needs to be user executable as well. Simply add that file to the user's Login Items in System Preferences.

The script is invoked with  an ; exit tacked on to the end so you can see and copy the results before dismissing that window each time you login.


How to copy MP3 files from my PC to my iphone?

In iTunes under the File menu choose Add to Library... and select the songs you want to add to iTunes. When iTunes is done adding the files, sync your iPhone with iTunes on your PC.

That's all there is to it.


Mojave - disabling trackpad from terminal

there is not have Accessability menu in System properties.

Look closer. Accessibility should be at the end of the fourth row of icons in System Preferences. If you don't have any third-party preference panes installed, this will be the bottom row.

The icon looks like this:


Will there be a USB-C to thunderbolt 2 adaptor? I only need data transfer to be higher then USB 3.0

In specific. Thunderbolt can carry USB but USB cannot carry thunderbolt.

In general, as long as your Mac has any Thunderbolt connector, it is highly likely you will be advantaged to connect over thunderbolt instead of using USB. For my money even Thunderbolt 1 is superior in many ways to the best USB 3 chipsets we have today. Now - the above statement is going to be obsolete soon since the newest Thunderbolt 3 chipsets and USB Alternate Mode Functionality mean that USB can be other protocols and TB3 looks to be an awesome step forward for simplifying the need for adapters that you would need on Thunderbolt 2 to get USB 3.0 connectivity today.

What Thunderbolt to USB 3.0 cables/adapters exist for OS X and Mac hardware?


Finder "copy as pathname" adding smb:// on Mojave


Is it dangerous to interrupt the post-OS X update optimizing?

No, it is not dangerous. Pretty much every single task is queued and persisted if needed. Unless you have a foreground task that has a nice "x" button to stop it, you can reboot, shut down, sleep etc. with no trouble at all. System tasks in OS X are designed to be fully automatic, autonomous and out of the way for the user.

When it is complete you might get another message from the notification center, but it will probably just silently be done and your system will 'feel' much faster.

Most of the post-install optimisations are things like Spotlight indexing and LSServices doing it's thing.

If you want to see if your system is doing something in the background, you can open up activity monitor and leave it idle for a bit so OS X detects that you aren't doing anything and then takes a little bite more CPU power and memory to do system tasks until you come in and start doing things again. You will probably see processes like "mds" using a significant portion of your CPU time. It is part of spotlight and collects information on where everything is so you can use the search function to find your stuff.


ControlPlane would be a good option for you. It has the ability to define contexts based on specific criteria (if plugged in to power or not), and perform many different actions based on those criteria (including switching your default browser).

Here's a screenshot of ControlPlane's Evidence Sources window and DefaulBrowser Action settings:

I use ControlPlane for a lot of things, like switching my Network Location based on the wifi network I'm connected to, and switching my default browser based on my Network Location. It's a really powerful little utility.


Why iCloud for Windows 10 is not working?

For the benefit of all, I would like to answer the question. Yesterday I uninstalled the icloud for windows 10 and then reinstalled it from Microsoft store. To my surprise it started working after 10-12 hours as I clicked on Download Photos , it asked me which photos to download.


Delete an old icloud account with defunct email and forgotten password

Contact Apple Support. Usually when you create an Apple ID, you supply a credit card #, an address, phone number, etc, all of which can be used to verify your identity. Worth a shot.


Is there any way to not boot Finder at startup?

I don't know if this still works; but in 10.6 you could define a different application to run in place of Finder.  I did this for a iChat stand-alone "kiosk" once.

For example:

defaults write com.apple.loginwindow Finder /Applications/iChat.app

When you logout and login, the application you designated (in my case, iChat) will start.  I suppose you could set this to XQuartz; but, again, I haven't tried it myself.

To back out the changes:

defaults delete com.apple.loginwindow Finder


Disable cellphone network but keep wifi?

You can enable "Airplane Mode" and then turn on Wi-Fi.
For phones that use a GSM sim card (even if they are on CDMA networks), if you remove the SIM card, you disable the cellular radio. Calls and cellular data stop flowing in this case.
This will not disable phone calls, only internet:
Settings > General > Cellular > Cellular Data -> OFF


Restoring iPhone as a new iPhone but backing up contacts

Yes, as long as your contacts are synced with iCloud, you can reset your phone without losing them. If you can see them on iCloud.com, they are synced.

First make sure you have a current iCloud backup of your phone before resetting. You can backup manually by going to "Settings > iCloud > Storage & Backup > Back up Now".

Second, make sure your contacts are being synced "Settings > iCloud > Contacts" button turned ON (green showing).

Now, after you reset your phone (Settings > General > Reset > Erase All Content and Settings), you can set-up the phone as a "new phone" (i.e. not from your iCloud backup). Add your iCloud account and turn on Contacts syncing (switch button to green). Your contacts will then be downloaded from iCloud onto your fresh iPhone installation.


There's probably a few things you could try (e.g. making sure the trackpad has a decent charge, resetting the NVRAM and/or SMC etc).

However, the first thing I'd try is to reset both the macOS Bluetooth Device List and Bluetooth Controller.

IMPORTANT: This will reset all connected Bluetooth devices, including any bluetooth keyboard or mouse, so all Bluetooth devices will need to be reconnected.

Before commencing, you will need to have the Bluetooth icon showing in the menu bar. If it is not there, open System Preferences > Bluetooth and enable the option Show Bluetooth in Menu Bar.

Resetting the macOS Bluetooth Device List and Bluetooth Controller

Follow these steps:

Hold down both the Shift and Option keys and at the same time click on the Bluetooth icon in the menu bar. Once the menu is showing, release the keys.
From the Bluetooth menu, choose Debug > Remove All Devices
Hold down both the Shift and Option keys again and at the same time click on the Bluetooth icon in the menu bar.
From the Bluetooth menu,  choose Debug > Reset the Bluetooth Module
Restart your Mac
Setup your Magic Trackpad 2 again
Setup any other bluetooth devices

Let us know whether this helps.

As for how long it will last, the Magic TrackPad 2 was only launched in October 2015, so it's too early to say. However, if the original Magic Trackpad is anything to go by, you should get years of service from it.


You can use builtin Preview.app for adding arrows, shapes, text, magnifying glass etc. It's not as lightweight as Skitch mentioned by @jherran, but does the job You need.


It appears that if you have Messages in iCloud enabled on the iPhone, and you're also signed in to Messages on a Mac with the same Apple ID, and the Mac is logged in and awake, then the iPhone doesn't make an alert sound for new messages. Presumably the idea is that you're at the Mac and will see the message alert there.

I don't know of a way to configure this other than switching off Messages in iCloud on the phone.


Use USB Iphone tethering for Macbook and use AirPort for Printer

You need to set the service order for the wifi to be below the USB tether. Apple provides instructions here:

https://support.apple.com/kb/PH18458?locale=en_US

Simply drag the Wifi entry down below the USB or the USB up above the wifi.


I haven't tried these but Jucy and EiskaltDC++ are two DirectConnect clients that work on mac.  However, neither appears to use a mac interface.

source: http://alternativeto.net/desktop/shakespeer/?sort=likes&platform=mac


Is it possible to sync my iTunes Up Next list with my iPhone?

No, the Up Next list is something that is not portable in any way; it can't even be accessed by AppleScript, so you can't make a playlist even by using a script.


Tips for using spotlight with webpages served via https

I can't help you with the main thrust of how to index ssl content, but will take an attempt at the learning mdfind commands.

The man page for mdfind is thin, but shows you that you can search on anything that is classified. In your case, try a mdfind command to get some web history results - for me, this command shows several files Safari has squirreled away for spotlight to index.

mdfind stackexchange | grep Safari | grep History | head

From there, you can use mdls to pick apart what terms you might want to feed back into mdfind:

mac:Users mike$ mdls /Users/mike/Library/Caches/Metadata/Safari/History/http:%2F%2Fapple.stackexchange.com%2Fquestions%2F25487%2Flock-screen-with-launchbar.webhistory | tail
kMDItemFSName                  = "http:%2F%2Fapple.stackexchange.com%2Fquestions%2F25487%2Flock-screen-with-launchbar.webhistory
kMDItemFSNodeCount             = 14147
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 14147
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Safari history item"
kMDItemLogicalSize             = 14147
kMDItemPhysicalSize            = 16384
kMDItemURL                     = "http://apple.stackexchange.com/questions/25487/lock-screen-with-launchbar"

A few tags that might be of immediate use to you are kMDItemContentType, kMDItemFSName, and kMDItemURL

You can see my mac has processed several hundred items with a URL that begins with https:

mac:Users mike$ mdfind "kMDItemURL == 'https:*'" | wc -l
    353


How to disallow iPhone from joining specific WiFi network without turning off keychain sync and thus still allow to join it on Mac?

If you have admin control of the wifi network (or can contact who does), you could have your iPhone's MAC address blocked from the network with MAC Address filtering...

However this may (or may not, totally theoretical) impact your iPhone's battery life if the phone starts repeatedly trying to join the network when in range. Like I said, it might not, I'm not sure what it's behaviour would be if the network told it to sod off when joining :)

Depending on the network setup, when you tap the little (i) next to the network name, you can  turn off a option called "Auto-Join". So the keychain retains the network details, but does not join the network unless you tap on it. I think this is a setting enabled by RADIUS enabled networks or networks added to the device by a Profile though, I've never figured out why some networks show it and some do not.


FAT16 disk refuses to mount in Mountain Lion

I eventually got the disk to mount whilst retaining compatibility with my bootloader. For anyone wondering, the compatibility conflict was in the FAT BPB (BIOS parameter block). Basically, the BPB has a field for specifying how many sectors compose a FAT cluster, where I manually supplied a value of 1. However, changing this to 4 fixed the issue. For more information on the BPB, you can see this reference page (you want to look at byte 13).

For anyone stumbling upon this answer randomly, this basically means that some older disks (such as floppy disks copied by dd) may not be able to be mounted by OS X Mountain Lion any longer. This is just a hypothesis based on observations of my own project, but hopefully this helps someone else running into this far-fetched issue.


Installing Mavericks instead of Yosemite

There is no one universal installation DVD for OS X. Each DVD has files specific to that Mac model. For example, you cannot use DVD from "early 2011" Mac for "late 2011" Mac. That OS X is called "Maverics" but each Mavericks build can start only Macs that were made before that build was released.

I found this accidentally while trying to restore my wife's Macbook with my own DVD (miner is older) and could not. On the other hand, her newer DVD worked with my Mac. So I made a research and found that not all OS X DVDs are equal.

Search for another DVD.


Why doesn't ⌥ (option)+click bring up the context menu?

The option key has been in use on Macintosh computers long before there was a control key, since the option key was always used for alternative input of characters with diacritics, like "å".

Apple always tried to force developers into not hiding away functionality into contextual menus and thus did not include more than one mouse button for quite a long time. I think it was once applications gained complexity and needed to offer contextual menus for better usability, that Apple decided to include a control key for the first time.

In short: The naming of the control and  option keys are meant quite literal: one gives you access to optional input and one gives you access to controlling the interface.


This is not normal. I had a very similar problem with a unibody Aluminium MacBook (they only sold them for a short time in 2008. This is nearly the exact same case as the MBP that you have, except your Pro did actually have minor updates to help alleviate the problems we had in our MacBook.

The problem would only appear after the machine had warmed up for a little bit. The hinge would make a creaking noise when closing, and as it got worse, when opening. It also would stay hinged just slightly open (not waking from sleep) when being carried in a laptop bag.

This was due to an issue in the hinge on the keyboard part. Apple replaced two screens for us. The problem would fix it self for a month or two, but them come back. They finally redid the entire top half of the machine, and it worked great for 9 months.

2 months out of warranty, it happened again. Due to having over 3 repair attempts (there were actually 4), Apple instead offered us a replacement machine. We were told at that time that there were quite a few reports of this problem, and they had been addressed in the latest rev of the MBP. Since the unibody MB was no longer available, they upgraded us to the base 13" MacBook Pro. Im assuming that while it mostly had been fixed through minor updates, there may be one with a similar problem now and then.

The problem is related to the hinge design, and I have only seen it affect 13" models. I would highly recommend taking it to the Apple store and having it replaced. They will not replace the whole top part on the first try, only the display.


can't read SD card on 2016 MacBook running Sierra

First test the thumb drive with another computer. There's a possibility that either the drive or the adapter is broken.

Open System Report and check if anything shows up on the USB bus when you plug them in.

It is also supposed to just show up in Finder when you plugin the drive.


MacBook Pro Touch Bar pops and right speaker gets disabled

I had this issue on a 15" 2017 MacBook Pro, three times over the course of roughly three months.

Apple issued two top case replacements, which includes both speakers–yet each time, a speaker would fail.

Apple finally issued a logic board replacement with a top case replacement. This, so far, has cured the issue.


I need to compress a PDF to 5 mb (at most, but best exactly)

Download those filters:
https://github.com/joshcarr/Apple-Quartz-Filters/archive/master.zip
Copy them in your mac or user Library ( /Library or /Users/YOURUSERNAME/Library) In a Folder named "Filters" (create if doesn't exist).
Open Preview and export as a PDF.
Try some of new filter since when you reach the right weight for your pdf.


What are your tips for finding a replacement battery for mac book pro?

Practically all third party batteries for mac are s**t, go to Apple and buy an apple battery. Expensive but worth the money. I am speaking from a hard way of learning...
LS


To understand working of Cellular iPad+iPhone and number of sim cards required

No. iPads just use SIM for data, not voice.

You would need to keep your SIM in your iPhone and use the forward calls and text feature for iCloud to receive and make calls and messages from the iPad through the iPhone. Also, look into WiFi calling on the iPad by enabling it in the carrier / phone section of your settings app on iPhone.


Cannot boot thumb drive on MBP 2017 to install Linux

up for one answer above, plus make sure that the adapter you're using is the right adapter for running the external hard drive's operating system. I had a 2015 MacBook Pro and I was running kali linux on an external hard drive. I was forced to buy the 2017 version since my dad needed a new computer and he wanted the 2015 MacBook I had. I mindlessly just picked out a USB-C to USB adapter, and that adapter worked for reading and transferring files from different hard drives, but when I try booting the kali linux hard drive, it would ask "which hard drive to boot" after pressing the option key, but it would end up having a black screen when I chose the kali. I almost deleted the kali linux operating system I had, and all the files in it (repeat/repartition drive, etc) but a light bulb came to my head and prompted me to check the box of that stupid adapter I bought...sure enough, it was only a USB-C to Type A USB. This may not be the same case for you, but my problem was solved when I bought a different adapter for the USB-C connection for the 2017 Mac.


What's the difference between "Initialize" and "Erase"?

Looking up the definitions, we find:

  Initialize:  On Apple Macintosh computers, initializing a disk means formatting it.

As erase is more a more generic term; from Merriam-Webster we get:

  Erase:
  to remove (recorded matter) from a magnetic medium; also :  to remove
  recorded matter from erase a videotape; to delete from a computer
  storage device erase a file

When you initialize a device, you make it usable by the operating system.   When you erase a device/file, you remove the contents.  Initializing a device previously used with an incompatible format will inherently, erase the device.

To put it another way, you can erase without initializing, but you cannot initialize without erasing.

diskutil's eraseDisk command requires you to specify the format so in effect you are always initializing the disk.

However, there is also the reformat command that, that allows you to erase an existing volume with same name and type.


How can I printscreen in X11 Environment?

Click to the desktop or any other application, and then press ⌘ + ⇧ + 3.

With this method Wireshark will loose the focus and you can grab the whole screen.


What does a blank window represent in the list of apps displayed by double-clicking "home"?

(Answer added from the comments)

Check the title of the window when you're in multitasking mode.  Some windows are either 'blanked' or 'blackened' in this mode to hide sensitive or proprietary info.

The window will refresh once it receives focus again.


Is there a way to group iCloud calendars so I can turn on/off several at once?

If I understand you correctly, then here is the way to merge multiple Sports Events calendars in to your iCAL (calendar) on your Mac.

First choose which ones (one by one) and use download -Save to your Mac.

Once you have them all downloaded, Open your iCal (Calendar) on your Mac.

Under File choose Import.

Locate the downloaded file and click Import. Repeat for other events calendars.

In my test the result is as follows.


Degeneration of Macbook Pro trackpad performacne / janky cursor movement

It's a long shot, but have your tried to turn off your "accidental trackpad input"?


How can I extract a .bz2 files directly into an external hard drive?

The Unarchiver is a great tool where mac os's own extractor comes in short. You can download the utility via official website.
Once installed just open the app via Spotlight search or something. The preferences windows will open.

Make sure to activate bzip2 file archive type.

When you head to Extraction section of the preferences, you can click the dropdown menu mentioned as "Extract archives to:" and select "Ask for a destination folder".
Then, when you try to extract anything, you can select the destination folder as desired.
I hope this utility solves the issue for you. Feel free to comment if anything goes wrong.
Cheers!
Update: In order to extract to an external drive, you have to create a new folder inside the storage unit for unarchiver getting write permissions to your hard-disk. Minor thing mentioned by question owner in comments down below.


How can I share or send a radio program I've recorded from the Tune in radio app on my iPhone 5s?

Your supposed to be able to share recordings via their app but I think there is bug that prevents that from happening. I have the TuneIn Radio Pro app and recorded a bit of a station. Then I tried to share it by clicking on my recording and then tapping the little share button (the only options it gives are send via email, text message or G+) and it gave me a url like this: recording://1414797133.74747 I was unable to open this link when shared to friends with the app, or even open it myself. This was tested with version 6.5 of their app.


Why do I need to type ./mysql even that I am in the folder?

The ./ is required because "." is not in your PATH. When you enter a command, the shell will search the folders listed in the PATH environment variable for that command, if you haven't given a path with the command.

If you do not list "." (the current folder) in the PATH variable, it is simply not searched.

You add it to the PATH variable as you would any other directory - it is simply a dot.

Wheere it is set depends on which shell you use, and whether you want it set for just you or everyone. You could for example set it in the .bashrc file in your home directory or in /etc/bashrc to change it for everyone on the system.


How to backup and restore MBP hard drive before reinstalling OS X?

Absolutely - this is a good plan in general - having a bootable backup in addition to a Time Machine interval backup.

I like to get a SD card / micro SD card and install an emergency boot OS with just enough tools to fix any situation.

How do I make a bootable USB flash drive a Mac?

I would do that before making any changes. Next, you will want to measure how large your drive is - open Apple Menu - about this Mac and look in storage:

For this Mac, you would need 185 GB of space.

Connect a USB drive and partition it to have one free partition that's at least 5 GB larger than the space needed. (I would go 15GB or more larger if you care about speed or ever booting from that partition)
Erase the partition you will be using and format it as OS X Extended and name it "target" or something unmistakable.
Shut down the Mac and hold R when booting to boot to Recovery HD
Use Disk Utility from Recovery to restore data from Macintosh HD to target
Wait - enjoy some tea or coffee or whatever
When things are done, power off and boot holding option - you should see two boot drives with different icons on the grey screen and can test booting from the clone.


Rescue data from Powerbook G4 with forgotten password

As a first step, I would try ejecting from the Optical drive again. However, this time try this:

Ensure the PowerBook is switched off
Press the mouse button (or trackpad button) down and keep it down
Restart the PowerBook and keep the button down until something ejects or you get the same language prompt again

Assuming this ejects a CD/DVD, then try the Install disk option.

NOTE: If these steps don't work, you may want to try again with a USB mouse if you didn't already (just in case there's an issue with the trackpad).

[EDIT]

If you can't use the Optical drive, then you have two options.

Purchase a FireWire cable (as you've already noted) and use Target Disk Mode
Remove the hard drive altogether and use it in an external case/enclosure

Of course, option 2 will depend on whether the intention was to still use the PowerBook and whether or not you feel comfortable with the hard drive removal.

If you'd like to determine your willingness to do this, here are the instructions for doing so with that PowerBook (based on your description).

One advantage of this approach (besides the fact you can pick up external cases for next to nothing) is that you can potentially still use the hard drive as an external drive once you've recovered the data. You can also then choose to reformat and reinstall the system and replace it back into the PowerBook (if there is still a purpose for it), or place another HD into the PowerBook.


Signed and notarized Go app not launching after Gatekeeper dialog

As explained by James Turner, Gatekeeper adds some weird arguments that cause, in my case, the argument parsing lib to exit with error.

Here is a possible fix for your Go programs:

flag.CommandLine = flag.NewFlagSet(os.Args[0], flag.ContinueOnError)


You can install it using homebrew. Just type the following:

brew install figlet

If you don't have homebrew installed, you can simply do it by typing:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


iMac stuck at white screen - graphics issue?

To determine if it is your hardware or OS X boot from external drive. If it works it is your OS X, if not, it is your hardware.

If it is OS X use Safe mode and:

look for non apple drivers loaded using sudo kexstsat in Terminal (enter password)


Can a photo editing app access my photos while running in the background?

There are some limits to what an app can do in the background, but once you give an app access to your photos, it has that access even while running in the background, and it could upload them to a server.

To kill an app running in the background, just use the normal procedure: double-tap the Home button and swipe the application window up.


Ok, it happened again, but this time I know why. I recently did a clean install of macOS Sierra on my computer. macOS Sierra has a Notification Center and a Stocks widget.  This is linked using iCloud to my iPhone's Stocks widget in its Notification Center.


iOS 11 Safari: How to pass user/password in URL for Basic Authentication?

According to the RFC at https://tools.ietf.org/html/rfc3986#section-3.2.1 this feature is deprecated, so I'm pretty sure it is disabled on purpose.

Chrome also does this: https://bugs.chromium.org/p/chromium/issues/detail?id=504300

Remembering users is what cookies are for, not using them severely limits your options. I guess you could write a login token service that generates URL's like https://yoursite.com/login/236cq827hr6xqoxxrm9q9r which logs in the user immediately. I would make sure it did not work over regular HTTP first, though.


How do I turn off presidential alerts on my iPhone?

“The Communications Act of 1934 established the authority for the President to use certain private sector communications systems for priority communications, such as sending alert and warning messages to the public, during national emergencies,” FEMA wrote. “The Warning, Alert, and Response Network (WARN) Act of 2006 prompted the Federal Communications Commission to adopt regulations enabling the wireless industry to participate in the distribution of public alerts and warnings also. The WARN Act further established that the wireless alerting service should allow wireless subscribers the capability of opting out of receiving WEA alerts, other than an alert issued by the President.”

Therefore, you are not able to opt out of the Presidential Alert.


Texting and phone I am texting is asking for my name

It sounds like you are just trying to send a regular text.

Here's how to do it:
Open the Messages app, (tap "Messages" in the upper left corner if you are in a thread), tap the compose icon, enter the recipients phone number (I've never had it ask for my name), then type your text.

If you are using the Messages app, it should not ask you for your name.


All of my events have disappeared in the new Photos app for OSX Yosemite

The best option for working with events is to use the sidebar (cmd + alt + s or view → Show Sidebar). They will be listed there:

Without using the sidebar they are listed in the Albums section:


The battery life in iOS 6 has been improved over iOS5 - the big thing will be Siri.

Siri listens to your voice and then sends that information to Apple's servers, which sends it back to your phone. All this costs data and the use of the hardware to accomodate that.

So even thought the battery life has been improved, because you use more features that require more intense processing, you will find that your battery may reduce. In my case I find that I do not use bluetooth as much, so I turn it off when I do not use it.

Hope this helps:-)


Apple iPod 16gb; Can this be used without the internet?

Yes.  You can use your iPod/iPad/iPhone without Internet.

As long as whatever you are doing doesn't require an Internet connection, you will be fine.

For instance, if you are listening to music that you sync'd from your computer or downloaded from iTunes, it will work.  You can even play a number of games without an Internet connection.

However, streaming services like Pandora, Spotify, and Netflix will not work.


How can I put the Dashboard icon on my dock in Mountain Lion?

Any app that is currently running can be pinned to the dock by right clicking it, and choosing keep in dock, but occasionally you find a program like Dashboard or Mission Control or Launchpad etc that overlays the dock area when running thus not letting you add it.  The simplest solution is to find the application within your /applications folder, and simply drag it to the dock, where it should add a suitable shortcut that stays put.

However, I would generally advise for these sort of program that remembering the keyboard shortcut or trackpad gesture is often much faster and results in a less cluttered dock.


What video boards can I put in a 2008 Mac Pro to get 4 monitors (DVI)?

What version of OS X? That'll be your limiting factor on GPU support, I think. The 2008 Mac Pro (3,1) had two 16x PCIe slots, so any PCIe video card supported by your version of OS X should work. The official list:

Graphics cards for Mac Pro (Early 2008)

ATI Radeon HD 2600 XT
NVIDIA GeForce 8800 GT (part number 630-9191 or 630-9897)
NVIDIA Quadro FX 5600
ATI Radeon HD 4870, offered as an upgrade kit

Note: The Radeon HD 4870 card requires Mac OS X v10.5.7 or later for use with the Mac Pro (Early 2008).

Graphics cards for Mac Pro (Early 2009)

NVIDIA GeForce GT 120
ATI Radeon HD 4870
ATI Radeon HD 5870, offered as an upgrade kit

Note: The Radeon HD 5870 card requires Mac OS X v10.6.4 or later and it requires the use of both auxiliary power connections.

Newer cards with OS X support may work, but there are caveats with pre-2010 Mac Pros and I doubt they'd be officially supported.


How can I debug a user LaunchAgent that doesn't seem to start or load with launchctl?

I had this too, and I think I have a solution.
I read through the launchctl man pages and saw that load and start are now considered legacy subcommands.

Subcommands from the previous implementation of launchd are generally available, though some may be unimplemented.

I think the old behaviour can be achieved by the following two commands:
# Enable this plist
launchctl enable service-target

# Run this plist now
launchctl kickstart service-target

The service-target that worked for me was in the form gui/$UID/myPlistFilename
The plist filename didn't include the .plist on the end.
So, for the file at ~/Library/LaunchAgents/setUserKeyMapping.plist I ran:
launchctl enable gui/$UID/setUserKeyMapping
launchctl kickstart gui/$UID/setUserKeyMapping

If you pass -kp to the kickstart action, it will kill any running instance
and restart it, then print out the PID of the new instance.
launchctl kickstart -kp gui/$UID/setUserKeyMapping


How do I find Preferences in bittorrent or utorrent on a Mac?

Welcome to the world of the Mac!

Unlike many other operating systems, most Mac OS X apps don't have a menu bar in the app itself but use the system-wide Menu Bar.

When uTorrent app is in focus (click on it once if you're not sure), the Menu Bar will show the menu options for uTorrent.

One of the options will be "Preferences..." as you can see in the screenshot below:


Nevermind, found it myself. I updated to version 3.1.beta.5, and the option was under Preferences - Appearance - Window - Show proxy icon in window title bar.

You have to install the shell integrations, or manually send the required ANSI sequences. The default macOS bashrc only sends the sequences to set the icon when it detects Terminal.app.


Connecting Macbook Air to HPw1907 external screen

Since the the MacBook Air does not have VGA plug I would say

... your Thunderbolt to VGA converter is not the proper one.

That would be also the reason why it does not correctly detect the HP monitor.

Try the Thunderbolt to DVI adapter instead.


Deploy Software On Macs Connected to Active Directory?

Munki is great, I use it as well as Puppet. But for only 50 Macs? I can't see setting up that for a smaller setup unless you are really planning for scale.

Apple Remote Desktop might be a little more adhoc. It's only about $80 on the AppStore. Once your Macs are setup to allow ARD to administrate them, installing software across 50 Macs is as simple as selecting them all, clicking "Install Package", and dragging in a .pkg or .mpkg file.

It also does remote control, send UNIX script, copy files, etc. A useful tool (albeit somewhat buggy at times) for small Mac shops.

If you want a free alternative to JAMF's Composer (which used to be free), you can try Absolute's InstallEase: http://www.absolute.com/products/InstallEase


The link needs an absolute path.

ln -s foo.bar baz

will create an alias in baz pointing to the file foo.bar. But the file baz/foo.bar does not exist, hence the error you received.

You want:

ln -s ~/Desktop/foo.bar baz

which will create an alias in the baz directory pointing to ~/Desktop/foo.bar.


Search directory of .psd files for specific text?

I have no idea if this will work because I don't know how PSD files store text, but try this. Open terminal (applications/utilities), type cd <space> and drag the folder containing PSDs onto the terminal; the folder path will be filled in. Hit enter. You are now "in" that folder in your terminal.
Next, do grep -i "some string here" *.
cd tells the system to change directory. grep is a command line utility that opens a file and searches for a string. -i is a flag that tells grep to ignore case sensitivity. Then you give it the string and * means all files in the current directory.
See if that turns anything up.


iMessage is actually an instant messaging service, like Google Talk or AOL Instant Messenger, except iMessage is made by Apple and is only for Apple products. Only an iPhone with cellular can send SMS messages as well, and can automatically associate phone numbers of registered iMessage users with iMessage accounts, so if you try to use the app to send a text to a phone number registered to an iPhone, it will send an iMessage instead. iPads cannot send SMS messages to non-Apple devices nor an iMessage to a phone number not registered with iMessage from a Wi-Fi-only device.

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


Can't delete Safari history entry on Mac!

After some googling I figured it out:

quit Safari;
open terminal and type:

cd ~/Library/Safari

rm History.db History.db-lock
open Safari again and they're gone.


How can I fix poor Java performance caused by Mojave update 10.14.6?

I found the answer on a different Stack Exchange site:  https://stackoverflow.com/questions/39636792/jvm-takes-a-long-time-to-resolve-ip-address-for-localhost

Run the hostname command to get the computer's hostname.
Add two new entries to the /etc/hosts file, as shown below.  (Replace {hostname} with the output from the hostname command.)

127.0.0.1   {hostname}
::1         {hostname}


I removed the passcode from my iPhone before repair, has my data been compromized?

You should consider all device content compromised and it is too late to be prevented.

By removing the passcode, any new computer the device is connected to can be ‘trusted’ without any further authentication. The device can be backed up to iTunes and all the device content available to browse through or be restored to a new device.

If the backup was created ‘encrypted’ this includes all passwords on the device which may include your Apple ID password.

You should change any passwords which are linked to the device, such as Apple ID and email account passwords.


Applescript: Open current Safari tab in Chrome (Troubleshoot of working script)

Just because Safari and Chrome are running, doesn't mean that they have a window open. You can either test for open windows as Mark points out or simply issue the reopen command which opens a new window if one does not exist.

tell application "Google Chrome"
    if not (exists window 1) then reopen
    -- insert your code
end tell

tell application "Safari"
    if not (exists document 1) then reopen
    -- insert your code
end tell

EDIT

tell application "Safari"
    if not (exists document 1) then return
    set theURL to URL of current tab of window 1
    close current tab of window 1
end tell

tell application "Google Chrome"
    if not (exists window 1) then reopen
    set URL of active tab of window 1 to theURL
end tell


Photoshop CS6 and NetBeans very sluggish and laggy on new rMBP 2014

One trick is to drag their preferences files out onto the desktop and restart the apps - they will build new ones, though you'll have to enter your settings again.

You might check if these are taking App Naps - look in Activity Monitor.


Changing swipe direction on iBooks (MacBook)

You'll need to set scroll direction to Natural under System Preferences app → Trackpad → Scroll & Zoom as shown in the screenshot:


How can I print a booklet from a pdf file?

For a free and universal alternative you can use the pdfbook script, part of the pdfjam collection which is usually included in LaTeX distributions (notably MacTeX). It's simple to use from the command line:

pdfbook mypdf.pdf

If the above doesn't work, then /Library/TeX/texbin isn't in your PATH (or /usr/texbin for older versions of MacTeX). The best course of action is to ensure PATH is correctly set (lots of command line programs will fail if the PATH variable isn't correct and pdfbook is one of them); this isn't trivial under OS X if you want a consistent behavior between applications launched from the dock and applications run from a terminal so you definitely should search a complete solution to this specific problem. As dirty work-around, you can run export PATH="$PATH:/Library/TeX/texbin:/usr/texbin" every time before you use pdfbook (including in the service below).

If you don't want to use the command line, you can create a service easily.

Launch Automator (on Yosemite it's in Applications/Others)
Create a new document and select "Service".
On top of the right frame, for "Service receives selected" choose "PDF files".
Search "Run Shell Script" from the bar on the top of the left frame and double-click it. Select to "Pass input" as "arguments" in the newly created window.
Enter a simple script running pdfbook, for instance pdfbook "$@".
Save it as "Create booklet" (for instance).
In Finder, select a PDF file, then in the menu go to Services/Create booklet.

My complete script also creates a temporary file and opens the resulting PDF:

TMPF=`mktemp -t bookletXXXX`
mv "$TMPF" "$TMPF.pdf"
pdfbook -o "$TMPF.pdf" "$@"
open "$TMPF.pdf"

The most obvious problem is the several GB download and installation of a LaTeX distribution if all you want is the pdfbook script.


If you bought the phone from an official Apple retailer, and it is new and within the warranty period, then there should be no issues with returning the phone for a refund or replacement.

The sales policies of Apple are at http://www.apple.com/legal/ and http://www.apple.com/legal/sales-support/sales-policies/retail.html

What complicates matters in many cases is the carrier. Unless you purchased an unsubsidized phone, you may have the carrier balk at a return and have to wait for them to clear your subsidy.

In the meantime, the issues sounds like the phone connector jack internal to the phone, you could attempt a DIY repair by inserting the headphone connector and giving it a good wiggle and spin about in the socket, this could get it working. If not, then read up on the policies and see if the store is willing to work with you to find a solution.


It sounds like you don't have a backup of your original OS X setup, and since you also likely don't have the Recovery partition, you can reinstall in the following way from scratch (assuming you have a relatively recent machine):

See How to use macOS Recovery for reference - but the relevant steps are below:

macOS / OS X Internet Recovery

Restart your Mac, and hold down Command + R at startup until the Apple logo appears.

After your computer finishes starting up, you should see a desktop with an OS X menu bar and an OS X Utilities window with the options listed above. If you see a login window or your own desktop instead of the Utilities window, it's possible that you didn't press Command-R early enough. Restart your computer and try again.

Choose the option you want to use from the Utilities window or the Utilities menu.

In order to reinstall OS X, you need to be connected to the Internet using Ethernet or Wi-Fi. If you're using a wireless Internet connection, click the Wi-Fi menu in the upper-right corner of the screen to select a nearby Wi-Fi network. Choose your preferred network name and enter a username and password to join the network if needed.


How to Copy a range of data from google sheets using an Applescript

Although possible with JavaScript interaction, AppleScript is not the best tool to use.

I would suggest using the Google Sheets API.  You can easily read data with their API.  Since the API supports Java, PHP, etc. and not AppleScript it is off-topic for this site. I would suggest asking on StackOverflow.


Can’t get "play/pause" of window 1. Access not allowed. - trying to unpause movie through Applescript

I guess the answer to my question is to use the scripting dictionary for QTP instead of the using the UI. The website I got my code from is here and the code I'm using is below:

set movieFile to (path to me) & name of front window of application "QuickTime Player"

tell application "QuickTime Player"
    try
        set isPlaying to get playing of document 1
    on error
        open movieFile
    end try
    if isPlaying is true then
    else
        set the looping of document 1 to true
        play document 1
    end if
end tell


We just has a similar issue last week at our office. Do you need to retrieve any of the data from the drive? If not:

1) Run Internet Recovery so the Macbook is not running off of the active drive (command+r at boot)
2) Open disk utility -> select drive -> partition -> 1 partition scheme, set format as appropriate, etc.
2.5) (if 2 fails) Go to Erase -> Name drive Macintosh HD and format as appropriate
3) Go to First Aid after creating partition and Repair Disk. Verify it comes back with no problems
4) Exit diskutil and run the OS installer. Will restore it back to factory shipped OS.

If you run into an issue using the Internet Recovery system due to a bad partition, use this article to create an external boot drive using IR: https://support.apple.com/en-us/HT202796


External hard drive with iPhoto library doesn't open

It sounds like you made a copy of the library after it was corrupted. Your only option I suppose is to grab the images and start a new library.

Find the original, if possible, right click on it and choose "Show Package Contents".

In there navigate to "Masters". In there, run a search for Kind=Image.

Copy all of the results out of there, to a safe location.
Then do another search for Kind="Movie", and copy those as well.


Can I leave Family sharing on one device while staying on the other?

Family sharing membership is attached with Apple ID not with individual device(s). If you remove an Apple ID from family sharing, it is applicable everywhere that Apple ID is being used.


Does it have to be Automator?

I have an app which will take additional parameters at launch, which I do by saving an Applescript as a self-contained App.

The basic config is

do shell script "\"/Applications/NameOfApp.app/Contents/MacOS/NameOfApp\" -param1 -param2 -param3"
quit

Edit - Ah, reading more carefully, nope, that doesn't hide the icon of my applescript whilst it's running, & it will not quit until the launched app is itself first quit… but it wouldn't be confused for the app itself.
They are parent/child processes so will be displayed individually in the Dock.

You may be able to hide it like this question - Hide a running app from Dock?
…which rather makes this answer a bit pointless ;-)


Best File System for Sharing Between OS X and Windows

If you're working exclusively with Win7 machines (i.e. no Vista or XP), and 10.6.6 or greater on the Mac side, try exFAT. Native read/write support under Win7 and OS X, and none of the file size limits of FAT32. Disk Utility will happily format your drives using it.

As long as you don't need legacy support, it's probably your best option, as it avoids any user-space filesystem drivers, which personally make me a bit uneasy.

Addendum: XP and Vista do support exFAT, Vista as of SP1, and XP with SP2 and the KB955704 update


How similar is Microsoft Excel for Mac to Excel for Windows?

My Excel in the Mac doesn't open some password-protected files of my Windows ExceL: in Windows, the Excel passwords can have an almos limitless number of caracters, but in the Mac the password must be 16 or less.

The only solution I found was to reduce the number of characters in the password of the Windows files.

If you have Office for Mac 2011, there is a 100 percent compatibility ratio, as described on the BrightHub review.

I work with both and personally, I find Excel for Windows much more intuitive and more user friendly, but basically you can do (almost) the same with both versions.

But the most important part is, the two versions are 100% compatible with each other.


How do I compose email first and then add a group to the bcc line?

If I understand your problem well enough, in the Apple Mail program, once you have written your email you can click on View->BCC Address Field and that should open the BCC space to add your group.


Unable to open file in Preview even though I have all permissions

This solution on the dropbox website solved my problem. However, I'm still perplexed! Where was the secret permission that wasn't visible from Get Info, ls, or xattr? Alternate answers with explanation would be welcome.

  Click on the Dropbox icon in your menu bar and then click on the gear in the Notifications panel.
  Select 'Preferences' then click on the 'Account' tab.
  Hold down the 'Option' key, and the "unlink this dropbox" button will change to "Fix Permissions". Click the button while continuing to hold down Option.


Preferred Location for cgi executables in Lion Server

OS X being an unix-based system, you may use the standard unix file structure for that.

Generally speaking, most unix/linux distros use /var/www/ for web server storage, you could imagine something like /var/www/html for pages and media and /var/www/cgi-bin for cgi executables.

There are others locations available (/srv for example), see this list on wikipedia for an explanation on the directory structure (if needed)


Upgrade mac pro 4.1 to 5.1 does not work (it just reboot normally)

First, check the requirements:

64bit EFI needed (MacPro 4,1 has it)
latest firmware Update (You seem to have this)
Do you have enough memory and CPU? (I upgraded my MacPro to 32GB RAM and 2x QuadCore 3.2GHz CPU.)
Metal capable GPU like newer nvidia 960/980/1080 GTX?

I am running Sierra 10.12.6 fine on my MacPro 3,1 with latest 1.5 firmware, but I used the installer coming from http://dosdude1.com/software.html, which creates a bootable USB media to install from. That worked like a charm.

So I suggest you try the software from dosdude1 - there is a perfect instruction page how to build the installer from the original Apple Installer and how to use it. (Never ever forget to apply the patches regarding software update provided by the dosdude1 installer!)

I already tried to upgrade to High Sierra and got the feedback from Collin aka dosdude1 that I would need a metal capable GPU, because I got several weird hang ups with my ATI R9 280X during the installation process. Therefore I need to buy a new Nvidia GPU, preferably a 980GTX.


Poor quality font when connecting MBP 2016 to external 27 inch full HD monitor

The quality of the image is dependent (among other things) on the density of the pixels -- how small they are.
A 27" display of 1920 x 1080 pixels will have a pixel density of around 82 pixels per inch.
To give some perspective, your MacBook Pro's display has a pixel density of 219 pixels per inch. The very first iPhone had a density twice that of your screen.
When buying a monitor, it's not just how big it is, but how many pixels it has. The Apple Thunderbolt Display, for example, is 27" but with 2560 x 1440 pixels, so 109dpi. There are plenty of  27" displays with 3840 x 2160 pixels ("4K"), so c. 164 ppi.
The higher the pixel density, the sharper the image and text. You can't really expect great quality from a 1080p 27" display.
Note that some manufacturers specify 'pixel pitch' rather than PPI. Pitch is the size of one pixel, so 109ppi is 0.233mm pitch; 219ppi is 0.116mm.


Text plus hiding messages on lock screen

Go to settings-> Notifications and select the app. Now there is an option "show alerts in lock screen" that you could turn off. Also you could switch from alerts to "none" if you dont want to have alerts at all


How to make iFile not cache .plist files after updating to iOS 8?

It's not iFile caching the property lists, it's iOS 8 doing this. For improved performance, preference files are not actually read from file often—only when necessary. Furthermore, the cache that iOS maintains can overwrite the stored property list files when necessary, meaning that it can be difficult to change preferences. SyncedPreferences also adds to the complexity, being that iCloud must update the key-value pair asynchronously with the iOS 8 cache. As far as I am aware, there is no way round this other than changing the property list when the app is guaranteed to not be storing its preferences in cache (i.e. just after a reboot).


How can I burn a CD from iTunes and include CD track names and cover art image

You can't.

CD do not contain any image anywhere. What happen when you insert the CD is that iTunes looks at the number of songs, their length, the length of silence between song and derives a number from it. It then asks the iTunes Store to find if a CD with this pattern exists. If it does the iTunes Store returns the cover art and all the metadata about the CD (Artist, album name, song names...).

For CDs you burned yourself you can't provide this information to iTunes just from the CD. Unless you find a label to release your CD to the masses and then Apple will add it to its list.


How to transfer a purchased app from iPhone to iPad?

There are (at least) two ways to accomplish that

via iTunes

sync your iPhone with iTunes. This will copy Talking Ben to iTunes
connect your iPad to the same computer
click on the iPad name in in the sidebar and go to the the Apps section
check the mark in front of Talking Ben
sync the iPad -> Talking Ben gets copied to the iPad

directly on the iPad

open the App Store app
tap on Purchases (or just search for Talking Ben again)
install

The iPad option only works if you are logged into the App Store with the same Apple ID on both devices, the iTunes option also works with different IDs.

As pointed out in the comment certain applications provide a specific iPad version which must be bought separately. You can still install the iPhone version in the iPad as well but will have to accept the usual restrictions concerning screen size unless the app was specifically coded to work both on iPad and iPhone.


iPhone 4 does not wake up from being locked

You could try going by the Apple Store to meet with a Genius (if there is one close enough to you). They have diagnostics they'll run for free to see if something weird is going on with your phone. Make an appointment online.


The machine is laggy and the SMC reset is not working

Have you tried to boot into single-user mode ( boot while holding down the command and the S buttons untill you see a black screen ) and then run " fsck -fy " command?

This will run some diagnostics and make any changes needed. When it is finished it will say  drive appears to be ok OR changes were made.

You then type " reboot " ( without quotation marks ) and it will reboot.

Troubleshoot Your Mac With These Hidden Startup Options

Use safe mode to isolate issues with your Mac


MBP16 charging: After sleep mode no charging (but with charging icon), restart helps

Apple hardware on 10.15.5 doesn’t charge batteries until they fall below a band so that they don’t always use a charge event when you’re mostly full.
This is intentional and documented fairly well.

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

This appears to be entirely correct behavior unless I missed something major in your question. This feature is excellent in my testing and I strongly urge everyone to keep it enabled if they want their batteries to last as long as possible before they get exhausted and must be replaced.


Maybe your host file got mangled. Open a terminal, and read your hosts file:

vim /private/etc/hosts

This should contain a line that maps localhost to 127.0.0.1:

127.0.0.1   localhost

It could be this file does not exist at all, or the line I gave above is not present. To be able to edit it you need to be superuser, i.e.:

sudo vim /private/etc/hosts

or you can use any other editor besides vim.


Cannot Run Sudo After Mac Sierra Upgrade

The problem was fixed by restarting the MacBook Pro.

However, when I first executed the restart, the system hung with a black screen. I then forced the power off (by keeping pressed the power button for several seconds), then turned it on.  Then it worked.


How does Spotify or Deezer download and store music for offline use on iOS?

Afaik in terms of storage, apps only have access to their sandboxed container. Spotify stores offline music in in an encrypted format that isn't usable by other programs.


AppleScript: How to add currently-playing Apple Music song to a playlist?

I've been cracking my head on this one as well and currently, there doesn't seem to be any way to add Apple Music tracks to a playlist. It's kinda unintuitive that there isn't a default way in AM to access all loved songs, but here we are. AM is getting better surely but slowely, so fingers crossed.

What I've done as a workaround in the meantime, is added a functionality that saves the song into a text file that is synced to iCloud. That way I can manually enter the songs whenever I have some time to spare and I can do it both on my iMac and Macbook.

tell application "iTunes"
    set loved of current track to true
    set songname to current track's name
    set songartist to current track's artist
    set textpath to "~/Library/Mobile\\ Documents/com~apple~CloudDocs/AppleMusicToDo.txt"

    do shell script "echo " & quoted form of songartist & " - " & quoted form of songname & " >> " & textpath

end tell


Drawing diagrams in Pages don't stay in place with text

Pages allows for several ways to insert graphics and either float them or anchor with the text.

Dragging in a image or object

Press Command ⌘ as you drag and the blinking cursor will indicate the insertion point

This will keep the picture relative to the text where it was inserted.

Working with the Inspector

The settings for objects are found in the Inspector.

Stay on Page

This will anchor the image or object relative to the page regardless of the text added.

Move with Text

This will allow the image to move with the text as more is added.  Essentially anchoring the image to a place in the text so that when text is added above the insertion point, the image will move down the page along with the text.


How to determine why my Mac temporarily freezes?

If you want a better idea of the problem, you can check the console app installed in every mac by seeing the time the mac freezed and search that error code. You can also check if the problem is systematic by seeing the log files. First launch a window if finder and press cmd + shfit + g then type “/var/logs”


MacBook Air 2013 with circle slash while trying to install Mojave

Updater didn't find a previous OS X install.

  Technical requirements:

  OS X 10.8 or later
  2 GB of memory
  15 GB of available storage to perform upgrade
  Some features require an Apple ID
  Some features require internet access

  Mac Hardware requirements:

  MacBook: Early-2015 or newer
  MacBook Pro: Mid-2012 or newer
  MacBook Air: Mid-2012 or newer
  Mac Mini: Late-2012 or newer
  iMac: Late-2012 or newer
  iMac Pro: Late-2017 or newer
  Mac Pro: Late-2013 or newer, mid-2010 and mid-2012 models with recommended Metal-capable GPU

What caught my attention was the
requirement for OS X 10.8 or later. Which (to me) indicates that a previous Mac OS X version needs to already be installed.
So if I were you, I'd probably get my hands on a copy of Mountain Lion, and install that first. Then attempt to install Mojave from there.

While you indicate yours is 2013, if it does turn out to be matter of your hardware being too old. Do note, that the OS Installer has a white, or blacklist that it consults to determine whether the hardware is an actual candidate for install/upgrade. I used to know where this file (.kext) was
located. But have since forgotten. A search on the internet should quickly reveal the location of the .kext file. Good sources for this information are in Hackintosh venues. :)

In case you didn't already know, and are interested. You can easily make a (USB stick) installer in the following fashion:

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

where /Volumes/MyVolume should point to your USB stick (formatted with a GUID Partition Map and Mac OS Extended (Journaled) )

Good luck!


Launch agent invoking python script returns permission error

You have one error and a minor one in your plist and probably one inconsistency in your file system:

Keeping a job alive no matter what and starting the same job every 5 minutes is like being forced to stay in the bathroom and going to the bathroom every five minutes because of ... an ablutomania.

So remove the part:

    <key>KeepAlive</key>
    <true/>

Add the python bin in the program arguments:

replace:

<key>ProgramArguments</key>
<array>
    <string>/Users/open/Library/Containers/.heheOSX/MacOSHighSierra.py</string>
</array>

with:

<key>ProgramArguments</key>
<array>
    <string>/usr/bin/python</string>
    <string>/Users/open/Library/Containers/.heheOSX/MacOSHighSierra.py</string>
</array>

If you prefer another python bin (e.g. some brew/python), use this one instead.

Finally make sure that the logged in user (i.e. the one launching the agent) has at least read access to /Users/open/Library/Containers/.heheOSX/MacOSHighSierra.py!

Regarding the last problem:

I use the following alias in my .bash_profile to get all permissions/ACLs of a path:

alias lspath='(IFS=/; set -f -- $PWD; for arg; do path="${path%/}/$arg"; paths+=("$path"); done; ls -dlaOe@ "${paths[@]}")'

Entering lspath after cd'ing to a folder will reveal all permissions/ACLs:

$ cd /Users/user1/Library/Containers/.heheOSX
$ lspath
drwxr-xr-x  39 root   wheel  - 1394 27 Mär 17:44 /
drwxr-xr-x   7 root   admin  -  238  5 Aug  2014 /Users
drwxr-xr-x+ 60 user1  staff  - 2040 26 Mär 23:58 /Users/user1
 0: group:everyone deny delete
drwx------+ 72 user1  staff  - 2448 16 Mär 00:40 /Users/user1/Library
 0: group:everyone deny delete
drwx------  57 user1  staff  - 1938 27 Mär 20:26 /Users/user1/Library/Containers
drwxr-xr-x   2 user1  staff  -   68 27 Mär 20:26 /Users/user1/Library/Containers/.heheOSX

In this example no other user except user1 (and root) will be able to launch/load a *.py in /Users/user1/Library/Containers/.heheOSX because other users can't traverse neither /Users/user1/Library nor /Users/user1/Library/Containers because of their restrictive drwx------ permissions.