Why aren't nasdaq.com and yahoo.com removed when I clear Safari website data? When I clear website data in Safari (Preferences --> Privacy --> Manage Website Data... --> Remove All), nasdaq.com and yahoo.com remain in the list.  Is this a known issue, and how can I fix it?

Those are likely "perma cookies" which are cookies that use javascript and other methods to make the cookies persistent even when you have explicitly removed all cookies. Which is annoying as hell and a known issue.
I found an Apple discussions post that purports to show you how to delete these.
Which boils down to

So the path is:
~/Library/Safari/Databases/__IndexedDB/

Just delete the folder of the cookie you no longer want


Office 365 keeps prompting for login credentials on Mac OSX? Office 365 keeps prompting for login credentials within Mac OSX? I came across a problem where a client of mine had bought and installed Office Suite 2016 she than upgraded to Office 365 Business Premium.

Here is what solved it for me. (Copied from: https://answers.microsoft.com/en-us/msoffice/forum/msoffice_outlook-mso_mac/authentication-failedcheck-your-account/063826c1-1e4c-40ba-9bfa-54e745925fc1 )

Quit all Office applications (Word, Teams, Outlook, etc)
Go to KeyChain Access.
Search "Exchange" under Login --> All Items and delete everything.
Search "Office" and delete everything.
Search "ADAL" and delete everything.
Launch Outlook.
You will get the activation prompt and then If account is already added you will see the password prompt for app and ADAL again. Please do 2-Factor Authentication if asked to.
If that doesn't work, do steps 2-4 but restart the Mac before launching Outlook.


Is Java 6 on Mavericks safe to use? I have some web applications (java applets) which have trouble running with Java 7 and java 64 bit.

The tech support wants me to install Java 6 and disable Java 7, here are the instructions:

  Please download and install the Java update named "JavaForOSX2013-05.dmg" from Apple for better security. For OS X 10.7 and above: http://support.apple.com/kb/DL1572
  After that, please follow the instructions below to re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality: http://support.apple.com/kb/HT5559

Security-wise, is it safe to setup OS X this way?

Nothing is safe in security terms, all that you can say is that there is a risk and try to quantify it.

For Java there are often exploits for Java applets and at some time Apple found that they and Oracle could not produce a fix quick enough to stop a well known exploit. Apple then put out a change to Safari to block all Java applets if the Java version was below a given version and this version limit is increased regularly.

The latest Apple-provided Java installer as of 17 Oct 2014 is Java for OS X 2014-001. It fixes the vulnerabilities listed here by providing a version of Java version 1.6.0_65.

Also see this answer

There will be vulnerabilities in that but Apple have so far decided none of those known to them are serious enough to block the use of this version or produce a new version.


Is there a shortcut for moving selected message(s) to the Junk folder in macOS Mail? Question in the title is self explanatory.

If you open the menus you can see keyboard shortcuts next to the commands. For this it is:
Shift Command J


Sort by reverse option When I arrange my folders with the Sort by option (I mostly use Date added) it will sort the files by the most recent one being the first and the oldest being the last.

I want to reverse this that the most recent added will be the last going back to the oldest being the first.

I would like to have this in the icon view

Oddly enough macOS Finder does not (seem to) offer a reverse sort in anything but list view.
You can change the sort order in list view by clicking on the column heading and noting the direction the arrow points, either up or down.
But a sort order does not seem to be available in anything but list view.
Perhaps a Finder alternative/replacement (like Path Finder) will have the functionality you are looking for.
Also you can choose the columns if you right-click on a column heading. You can add the Date Added column. As shown below (Catalina 10.15.7)


iPad ringing persists after iPhone accept calls The iPad is configured to ring and is able to accept inbound iPhone calls when both devices are connected to the same wifi network.  Devices are updated to IOS 12.4.1

For some reason, when I pickup the call on the iPhone the iPad will not stop ringing: in fact it plays a ringtone that seems to be an accelerated version of the nominal ringtone.   I am forced to shutdown the iPad to stop the ringing.  The inconvenience is enough to seek a solution.

What can be done to correct the issue?  The iPad should stop ringing when the iPhone answers the call.

First, let's remove the iPad as a device that is allowed to receive calls from your iPhone.

  On your iPhone, go to Settings > Phone > Calls on Other Devices, then
  turn off Allow Calls on Other Devices for that iPad.

  On your iPad, go to Settings > FaceTime, then turn off Calls from iPhone.

Then restart both devices. And then turn on "Allow Calls on Other Devices" for that iPad as well as turning back on Calls from iPhone on the iPad.

Now retry receiving a call and answering it on the iPhone. Make sure both ring, but see if the iPad stops ringing when you pick up the call on the iPhone.

If the issue persists, check the software version for both devices and make sure they are on iOS 12.4.1 as of this post. If so I recommend backing up the iPad before continuing to the next step.

Next let's try Reset All Settings on the iPad (DO NOT ERASE iPad).

Reset All Settings sets to default all of your preferences and settings within the Settings app. This is why I recommend backing up the iPad before doing this.


MacBook has black screen, boots up but just the fan runs Want to know what can be the problem and if it worth repairing.  Just the fan boots up, the screen is black and the keyboard won’t light up.  Apple genius could not troubleshoot.

Credit: Apple

  If your Mac won‘t turn on
  Learn what to do if your Mac won't turn on.

  Rule out display issues

  First, rule out the display as the source of the issue. To be sure you're not having a display issue, press your computer's power button. If your Mac has power but doesn't have any video:
  You may hear a startup chime.
  You may hear fan or drive noise.
  You may see a light from the Sleep LED, if your Mac has one.
  Pressing the Caps Lock key on the keyboard causes it to light.
  If any of these things happen and you have an external display, get help with video issues on external displays connected to your Mac. Otherwise, continue with this article.
  Power issues

  If your Mac won't turn on and you have ruled out display issues, try these steps.
  Verify that you have a good connection from your Mac to the wall outlet by confirming the power cord and adapter are securely connected and plugged in. To check if the wall outlet is working, plug in a lamp or other electrical device.
  If the wall outlet is working and you continue to have no power, try another power cord or adapter, if available. If you're using a Mac notebook, learn about troubleshooting MagSafe adapters, and leave the power adapter connected long enough to provide an adequate charge to the battery.
  Disconnect all accessories that are plugged in to your Mac. This includes things like printers, USB hubs, or mobile devices.
  Hold down the power button for ten seconds. Then press the power button again to see if the Mac turns on.
  Reset the SMC.
  If you recently installed memory or a drive in your Mac, make sure it's compatible and installed correctly. If possible, reinstall the original memory or drive to see if the issue persists.
  MacBook Pro: How to remove or install memory
  MacBook: How to remove or install memory
  Mac Pro: How to remove or install memory
  Mac mini: How to remove or install memory
  iMac: How to remove or install memory
  If your Mac still won't start up after you've tried each of these steps, visit an Apple Store or Apple Authorized Service Provider for further diagnosis. If you plan to visit an Apple Retail Store, make a reservation at the Genius Bar, if available in your country or region. Diagnostic fees may apply for issues not covered under warranty or AppleCare Protection Plan (APP).


How to pause music while playing video in Keynote? I am currently using the newest version of keynote and have run into a major issue. I am playing audio throughout the entire presentation but i would like to add videos into the presentation.

When i export the videos in and play the presentation, the music plays while the video plays as well! Is there a way to pause the music on those specific slides?

If you know how to use Automator:

Automator -> create Service -> add applescript block

tell application "iTunes"
    if player state is playing then
        pause
    else
        play
    end if
end tell

System Preferences -> Keyboard -> Shortcuts -> Services -> check the new workflow and bind it to a keyboard shortcut.


How can I un-erase my iphone from iCloud My iPhone was stolen and I made the mistake of choosing erase my iPhone in iCloud.
Is there any way to un-erase my iPhone from iCloud?

If not, is there any way to track my phone??

This is the link to the find feature in iCloud https://www.icloud.com/#find

Check out this forum https://discussions.apple.com/thread/4370979 (a user declared that it helped).

  Sorry, there is no way for you to reverse the Erase command. AppleCare
  "may" be able to, you can try calling them, but there is nothing you
  can do.


Command + Space no longer catchable I can no longer use Command + Space inside iTerm2.

I have been using iTerm2 for years, and configured it so that the Command keys acts as the Alt key. I recently applied the security patch for macOS Sierra 10.12.6, and while all other key combinations continue to work, Command + Space is no longer transmitted to the terminal application, which is a pain as it is bound to set-mark in my favorite environment, qemacs.

Where can I change this behavior?

The system has defined a shortcut that intercepted this on my mac:

commandspace was bound in System Preferences to Select the previous input source in the Input Sources panel of the Shortcuts tab.

This setting might have been in effect already, but since I have only a single input source (US QWERTY keyboard), it may have been ignored before.

In any case, deselecting the shortcut fixed the problem.  Since it can be a pain to have to go fishing for a binding in all panels, here is an app (recommended by bmike) that shows you the current live shortcuts in any app as it runs.

https://www.cheatsheetapp.com/CheatSheet/


De-Register for Push Notifications I granted permission for a site to send me push notifications on my desktop, and now I would like to revoke that permissions.
While I can change the delivery permissions in Safari to decline push notifications from that site, my understanding is that this simply prevents them from being displayed, but does not disassociate my device from the specific server sending those push notifications.
How can I completely de-register for push notifications from a given website or service, after originally agreeing to receive push notifications?

There is no way to force de registration on server side (as of 2021 at least) but you can disable notifications in the client - which is your Safari settings on your device.

https://support.apple.com/guide/mac-help/receive-pause-or-stop-notifications-mh40609/mac

That tells Apple Push Notification Servers immediately not to pass on any more notifications. The next time whichever service has your device / account hash and sends a notification, Apple will bounce that back to the sender and not bother your client device at all. That completes the de registration since that sender either gets blocked by Apple or processes the halt message properly when it gets a bounce.


Windows 10 Update Anniversary I have installed Windows 10 on my Mac with BootCamp. This week, Anniversary Update has been released. I wanted to install it. I have launch wizard to upgrade Windows.

Windows restarts.

Now, even if I press 'Alt' key, the boot menu does not show. Mac OS X starts, slowly... very slowly... very very slowly... When login screen shows up, I can not use keyboard or trackpad.

To start my computer, I need to plug external keyboard and external mouse... Mac OS X is very slow (when I mouse the mouse, I need to wait few minutes before see the cursor movement)

Mac OS X started and logged in, I can use Mac correctly.

I can access to BOOTCAMP partition in Finder.
In Boot Camp Assistant, I can not see Windows Partition, whereas in Disk Utility, I can...

How can I start again on Windows without having to reinstall everything?

From: Boot Camp: Set the default operating system

  After installing Windows, you can set the default operating system.

  Set the default operating system in OS X

  In OS X, choose Apple menu > System Preferences, then click Startup Disk.
  Select the startup disk with the default operating system you want to use.
  If you want to start up using the default operating system now, click Restart.

  Set the default operating system in Windows

  You can’t change your startup volume to an external FireWire or USB
  drive while you're using Windows.

  In Windows 7, click the Boot Camp icon in the system tray, then choose Boot Camp Control Panel.
  In Windows 8, move the cursor to the upper-right or lower-right corner of the screen, then click Search. Search for “Boot Camp,” click
  Settings, then click Boot Camp.
  If a User Account Control dialog appears, click Yes.
  Select the startup disk with the default operating system you want to use.
  If you want to start up using the default operating system now, click
  Restart. Otherwise, click OK.

  Restart in OS X using the Boot Camp icon in the system tray

  In Windows, click the Boot Camp icon in the system tray, then choose
  Restart in OS X. This also sets the default operating system to OS X.

  If you don’t see the Boot Camp icon in the system tray, click the
  triangle to show hidden icons.


Macbook turns off after booting My Macbook was running fine today, but then powered off while I was away from it. After this, I can't get it to stay on. It turns on and then stays on for 2-3 minutes, before powering down again.

It's a MacBook 13-inch Mid 2010 model, running Mac OS X 10.6 Snow Leopard.

It's managed to reach my desktop before powering off, so doesn't seem to be a problem with booting.

I've tried taking the battery out and running it from the power cable, but this also didn't do anything.

I've also tried starting in single user and safe mode, neither or which helps.

Any ideas??

This sounds like something that happened to my MacBook Pro 15" Early 2011, stayed on white screen for couple minutes then turned off again.
Took it to Apple and they came to the conclusion that my motherboard wasn't working so I had to get it fixed for $500 (£250 ish) and after that ever since works perfectly fine.
The cause of my problem was that it could of been my old charger (was falling apart, and so Apple replaced it for free) could of sent an electric charge that fried my motherboard.

Hope this relates or helps you to fix your issue.


New SSD and how restore backup on it iMac 2009 HDD failed so I installed a new SSD. I have a TM backup on an external drive, but now I can't figure out how to get the system up and running. I tried cmdR to bring up the recovery mode but I get alternating Apple logo and round circle with a diagonal line through it.

Try to connect the TM Backup drive to your mac and hold the alt/opt key when booting. You should be able to see your time machine drive and boot from it. Once booted you can restore the time machine backup to your new SSD.


How to connect to a specific BSSID via Terminal? My internet provider has a service where I share part of my wifi connection with other subscribers and in return I can use their wifi connection when I'm close to a subscribers router. It's very similar to FON.

However, I'm sometimes at a location where there are three subscribers (A,B and C) nearby. All of them have the service enabled.
The service shows up with the same SSID (let's name it ISP-Free), regardless of who the providing subscriber is.
In the above case only one SSID shows up in my airport menu, and then my Mac decides by itself to which router (A,B or C) it connects.

This decision is not always perfect and it often connects to a router that has a weak signal. Using the Wireless Diagnostics tool (option+click on the airport icon) I can find the BSSID of the strongest ISP-Free router, but I can't connect to it.

This answer does not help me as this permanently changes the BSSID to which the SSID ISP-Free will be associated. I don't want that as I connect to the ISP-Free network at other locations as well where the automatic router selection works fine.

This solution is not working for me either as it works based on the SSID, not the BSSID.

So how can I connect to a specific BSSID without a changing the behaviour of the SSID permanently without third-party software?
I assumed Terminal would be the only solution, but maybe there's a hidden Apple tool somewhere.

You can use

airport -A=ssid -BSSID=bssidname -password=password

To find out the BSSID

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -s


WindowServer high CPU usage, spikes when moving cursor on M1 MacBook Big Sur The "WindowServer" process uses excessive CPU time on my 2020 M1 MacBook Pro running Big Sur 11.2.1. At idle it will sit at 15-25% CPU time. When moving the mouse cursor it jumps to 30-50% CPU time. This appears to cause some system slowdown under load and reduce battery life.
There are a few other threads and questions around the internet about high WindowServer CPU use but they're all for older MacOS versions on older Macs. I have tried some of the suggestions such as:

Looking for excessive logging from WindowServer and disabling those logs -- there don't appear to be excessive logs
Turning on reduced transparency mode -- no effect
Disabling apps that draw updates to the menu bar -- no effect
Closing all apps except top in a terminal -- no effect

So this appears to be a different issue perhaps specific to M1 Macs or to Big Sur. What might be causing this and how might it be mitigated?

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.


Recording iPhone screen (iOS 11.4) using QuickTime on macOS 10.13.4 I launch QuickTime, select New Screen Recording, select my iPhone from the practically hidden dropdown list of sources

Nothing shows up (don't remember what it use to do). I click the red button and the window disappears into the menu bar and for a few moments QuickTime is locked up. If it comes back I click stop but there is no screen capture.

How do I get this to work again?

The option you are looking for is New Movie Recording.

To record iPhone screen:

Select New Movie Recording.
Click on the dropdown besides the red circular record button.
Select iPhone under Camera (and Microphone if required).
Hit the record button.
Voila! you are recording your iPhone's screen now!
Once done, hit stop and save the recording at the desired location on your Mac. Note that the recording is saved on disk on Mac and not in the iPhone.


How to tell Mac OS Messages.app to go online from the command line? I observed that quite often some accounts on Messages.app (Mac OS Sierra) may become offline and I want to automate the reconnection when I connect to VPN.

So, the question is: what command line commands should I run in order to start Messages.app and restore connections. Note: Messages.app may already be opened but my account may be offline.

Here is the command for terminal:

osascript -e 'tell application "Messages" to log in'


importing Apple Wiki - error 27 when running wikiadmin command I exported Apple Wiki data on an Apple server running 10.10 using the command 'wikiadmin'. It exported successfully.

I copied the exported data over to a new Apple 10.13 server and am trying to use wikiadmin import to import the data.

I'm getting this error:

    sh-3.2# wikiadmin import -all -path /private/tmp/wikiexport

Converted requested path /private/tmp/wikiexport to absolute path /tmp/wikiexport
        Found Exported.wikis contained in /tmp/wikiexport
        Import path is a recognized Wiki export bundle
        requestedWikiName b25a226e-6c1e-4664-a114-7002b29d3fee is a guid
        Wikis to import: 1
        Importing from /tmp/wikiexport/Exported.wikis/Contents/Resources/b25a226e-6c1e-4664-a114-7002b29d3fee

Error: Caught top-level exception: [PGCQueryError] Error executing query [INSERT INTO file_entity (entity_uid_fk, content_type, data_uid_fk) (SELECT entity_uid_fk, content_type, data_uid_fk FROM file_entity_scratch_20180328T141641)]: ERROR:  insert or update on table "file_entity" violates foreign key constraint "file_entity_data_uid_fk_fkey"
    DETAIL:  Key (data_uid_fk)=(c50dbd5c-e40a-46e9-9d41-3fe158b2f507) is not present in table "filedata_entity".
    , exiting
    Error: Exit with status: 27

I've tried changing the export options as well, using "-format legacy" which I think is the default anyway.

I'm at a loss as to what else I can do.

I tried just manually replacing /Library/Server/Wiki with the same folder from the old server and the new server did show the wiki but I'm afraid that's going to introduce other problems so I'd like to do this correctly.

Apple's solution was to connect the old server via 'target disk mode' to the new server and use Migration Assistant when initially setting up the new server, before creating any accounts, etc, to import all server data over.

Then when opening the latest Server app on the new server it'll successfully import in the wiki.

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


Windows on an iMac: unable to change keyboard layouts I dual boot Windows 7 and MacOS X on my iMac.

Recently I needed to type some text in a non-English keyboard layout in Windows. I installed the second keyboard layout the way I usually do, but when I pressed Alt-Shift to switch, nothing happened. After playing around with the settings a bit more, I was able to switch to the other keyboard layout, but not back to the regular American English layout. No language bar either.

alt+shift does not work, nor does Ctrl+shift, nor does specifying a separate key combination for each layout like Ctrl+0 | Ctrl+1 | Ctrl+shift+0

Interestingly, the Text Services and Input Languages dialog box dies with I select the United States (Apple) layout and click on Properties.

I am running W7 64-bit on an 20" early 2009 iMac. I have the version of the wired, USB Mac keyboard without the keypad and the middle group of keys. Bootcamp is up to date.

Update

I did a bit more troubleshooting and discovered that for some reason, ctfmon.exe, which I believe is the process that handles switching between keyboard layouts and displaying the language bar, isn't running. I also encountered several other posts on the Net with people complaining of similar issues when running Windows under Bootcamp, but unfortunately no solution.

Anyway, trying to run ctfmon.exe manually (from the start menu or Run dialog) or adding it to the Run section in the registry does not fix the isssue because ctfmon.exe simply refuses to run.

I had this problem and fixed it by: Control Panel -> Regional Settings -> Keyboard and Languages (tab) -> Change keyboards (button) -> Selelct the top language added: (English United States) -> then click "Add" -> Navigate between the options to (English United States) -> click on "keyboard" -> now check the option "US"

This solved my problem, I hope it solves yours


How to move files from FileVault to NTFS? I have a 2011 MacBook Air running Lion.

I have setup a small Boot Camp partition for the sole purpose of copying files on to NTFS hard drives. (NTFS is the only file system my media player supports that can handle large files.)

My main partition is encrypted using FileVault - this is not optional as I travel with the MacBook and my email is on there, so it has to be encrypted.

My problem is that when booting into Windows there doesn't seem to be any way to mount the FileVault protected partition!

Am I screwed or missing something obvious?

How would you move files from a FileVault encrypted Mac onto an NTFS storage device?

Have you tried moving them to a FAT32 USB disk, then using Windows to move them to your NTFS drive?

You could also try MacFUSE and NTFS-3G.


Some backup and restore questions? I have connectivity problems and I suspect the latest firmware version 5.1.1 is the source. I think it's impossible to revert back to the previous firmware, but my last backup was from before the update so I have an idea and two questions:

If I restore from the pre-5.1.1 backup will the firmware be also restored, i.e., to pre-5.1.1?
If this is the case, and the problem was indeed caused by 5.1.1, then I would like to stay at that point in the update cycle, at least until 5.1.2 (or whatever). The question is: would I have first been able be able to backup my phone in its current state without affecting the pre-5.1.1 backup, and then (with the above restore done) restore, for instance, the videos and any other things not on iCloud, while leaving the firmware. (In other words, is there any way to cherry-pick parts of backups, as I would be trying to get the firmware from one backup and the content from another?)

EDIT: Should have said, it's an iPhone 4S.

Backups only contain your data, not the firmware. If you restore a device that's been upgraded to a new OS version from an older backup, you keep the new OS version. (This is, in part, because this is how iOS upgrades used to work: backup, wipe-and-install, then restore.)

It's actually pretty difficult (but not entirely impossible) to talk an iOS device into downgrading to an older version of iOS.

To your second question, I'm not certain of the degree to which you can cherry-pick what to restore from a backup. I've never attempted to do so, as I'm usually interested in restoring the entire previous device state. I imagine that it would be straightforward (if time-consuming) to simply restore everything to the device then remove what you don't want.


Force Contacts update in iOS9 Sometimes I update a contact on Mac and I need it immediately on my iPhone. Until iOS 8.x, to force contacts to update, was necessary to go in contacts, go back to groups then scroll tu update...easy!
Now, iOS9, scroll to update in groups disappeared and I can't find an alternative way to force contacts update!

The easiest way I find to do that is to create an imaginary contact then remove it and this way works but it doesn't sound a lot as official!

Has someone has find alternative methods?

In Settings, visit "Mail, Contacts Calendars." Scroll down and select "Fetch New Data." Then, on that screen, temporarily turn on "Push," and then make sure iCloud is also set to push, so that new data is pushed from the server automatically whenever possible. This should push through any new data immediately.

You may then want to switch Push off for data, and choose one of the Fetch settings to save battery.


How do I retain my photo edits when opening the files in other apps? I just got back from our first family road trip vacation. I took about 1000 pictures and edited them each night and as we drove to our next location.
Today, when I tried to open them in other apps, the edits were gone. They still show in the Albums, but when the file is transferred, the original one is sent. All my work was for naught! Unless you know of somehow to have the edits stay? I'm really hoping you know of a fix for the issue. When I tried to look up a fix, I just found sites of others complaining. I'm on the latest iOS (I think is 6.0.3 or something like that). Can you help? :)

Assuming you're using iPhoto for iOS (please clarify):

Applications can only access photos stored in your iOS device's Camera Roll. When you edit a photo in iPhoto (and likely in other, similar applications), the app creates a copy of the photo and stores it within its own storage area, where other apps can't see it. In order to make the edited photos available to other apps, iPhoto lets you export one or more of your Edited photos in a variety of ways: select one or more photos and tap the Share button to see the options, which include sending the photo to your Camera Roll (where other apps can see it) and Open In... which lets you send the photo to a specific app.

I'll admit, this is somewhat inconvenient when you have a large number of photos, as even when selecting multiple, iPhoto limits you to selecting 100 at a time.


'Pure' GNU C++ compilers for Lion I need to compile simple *.cpp files with a GNU compiler of at least version 4.3.1.
As I understand, Apple's Xcode does not install standard GNU compilers but a modified version suited to Apple's needs:

g++ -v

gives me

gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

also referred to as

i686-apple-darwin11-llvm-g++-4.2

What is a simple way to install and safe method to use a newer C++ compiler in Mac OS?

MacPorts has several pre-configured gcc packages (from 4.2 to 4.6). Just install MacPorts and run

sudo port install gcc46


External Monitors Flicker when plugged into my Mac Seeing as I am going to be working from home the next couple of weeks (or possibly longer...) I purchased some USB-C to HDMI cables to plug my work Mac into my desk monitors.

They display correctly, but every so often (maybe every 5 minutes) one of them will turn off for a split second which will make the laptop behave like a monitor is being unplugged and plugged back in. I tried only having one monitor plugged in and the issue still persisted.

When running the Intel Power Gadget I notice a spike in the "PKG" and "Core" power every time one of these monitor incidents occur. I have included an example picture, when they hit 50 the monitor went off and on.

Does anyone have any recommendations of how to stop this? I know the monitors are fine as I have them plugged in my PC without issue.

This is a 2018 Mac, 2.2GHz i7 with Radeon Pro 555X

Running system_profiler SPDisplaysDataType yields

Graphics/Displays:

    Intel UHD Graphics 630:

      Chipset Model: Intel UHD Graphics 630
      Type: GPU
      Bus: Built-In
      VRAM (Dynamic, Max): 1536 MB
      Vendor: Intel
      Device ID: 0x3e9b
      Revision ID: 0x0000
      Automatic Graphics Switching: Supported
      gMux Version: 5.0.0
      Metal: Supported, feature set macOS GPUFamily2 v1

    Radeon Pro 555X:

      Chipset Model: Radeon Pro 555X
      Type: GPU
      Bus: PCIe
      PCIe Lane Width: x8
      VRAM (Total): 4 GB
      Vendor: AMD (0x1002)
      Device ID: 0x67ef
      Revision ID: 0x00e3
      ROM Revision: 113-C980AL-075
      VBIOS Version: 113-C97501P-005
      EFI Driver Version: 01.A1.075
      Automatic Graphics Switching: Supported
      gMux Version: 5.0.0
      Metal: Supported, feature set macOS GPUFamily2 v1
      Displays:
        VG270U:
          Resolution: 2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
          UI Looks like: 2560 x 1440 @ 60 Hz
          Framebuffer Depth: 30-Bit Color (ARGB2101010)
          Display Serial Number: TEHEE004852A
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: No
          Connection Type: DVI or HDMI
          Adapter Firmware Version: 0.00
        VG270U:
          Resolution: 2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
          UI Looks like: 2560 x 1440 @ 60 Hz
          Framebuffer Depth: 30-Bit Color (ARGB2101010)
          Display Serial Number: TEHEE004852A
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: No
          Connection Type: DVI or HDMI
          Adapter Firmware Version: 0.00

  [1]: https://i.stack.imgur.com/0owqT.png

More than likely, you need an active USB-C to HDMI adapter

The 2018 MacBook Pro has four (4) Thunderbolt 3 ports that utilize a USB Type C connector (this is where the confusion comes in).  Since it's Thunderbolt 3, it's actually  several signals in one port:

PCIe
DisplayPort
USB 3.1 Gen 2
Power Delivery

So, when you get one of those "USB-C to HDMI cables" you're actually getting a passive DisplayPort adapter and not an active adapter.  Basically, it comes down to the fact that DisplayPort and HDMI are very different signals - most notably, the clock sync signal isn't present.  So, to get a good reliable signal, you can do the following:

USB-C (DisplayPort) to DisplayPort - This is the best option because there's no conversion
USB-C (DisplayPort) Active HDMI Adapter.  If you must convert the signal, use an active adapter that actually re-creates the HDMI signaling.


Cannot change owner and group of file mounted disk image I have an external disk which (for other reasons) is formatted using FAT32. On that disk I have created a sparse bundle image formatted using HFS extended (journaled). This image is then mounted on /Volumes/TestDisk.

$ sudo hdiutil attach -mountpoint /Volumes/TestDisk /Volumes/FAT32DSK/TestDisk.sparsebundle/
$ ls -l /Volumes
total 72
drwxr-xr-x  9 mgd   staff    374  7 Jun 22:48 TestDisk
lrwxr-xr-x  1 root  admin      1  4 Jun 17:02 Macintosh HD -> /
drwxrwxrwx  1 mgd   staff  32768  7 Jun 22:21 FAT32DSK
$

Whenever a file is created on the mounted disk, it gets me as owner – also if I create the file as root:

$ touch myfile
$ sudo touch rootfile
$ ls -l
total 0
-rw-r--r--  1 mgd  staff  0  7 Jun 23:00 myfile
-rw-r--r--  1 mgd  staff  0  7 Jun 23:00 rootfile
$

If I try to change the file owner afterwards, nothing happens:

$ sudo chown root:admin rootfile
$ ls -l
total 0
-rw-r--r--  1 mgd  staff  0  7 Jun 23:00 myfile
-rw-r--r--  1 mgd  staff  0  7 Jun 23:00 rootfile
$

Changing permissions apparently works fine but the owner/group cannot be changed.

I am running Mac OS X Lion 10.7.3.

What did I do wrong?

If the disk is mounted to ignore file ownership, the owner is always reported as the current user, and cannot be changed. Attempting to change the owner will not produce an error message, but simply fail silently.

In the Finder, select the mounted disk corresponding to the sparse image in question and Get Info (⌘I). At the bottom of the pane that opens, see if it looks like this: (i.e. the Ignore ownership on this volume box is checked)

If you uncheck that box, you should get the behavior you seek.


How can I stop an HDMI switch from sending an unsupported signal? I have two setups in my house.  On both, I use a Thunderbolt 2 compatible adapter that connects to the firewire port and gives me an HDMI output signal.  Then I run an HDMI cable from there to an HDMI switch by Kinivo.  The output runs from there to an HDMI 1080p HDTV.

One uses a MacMini from late 2009 running El Capitan (10.11.6), which seems to be the latest I can upgrade it to.  That particular setup uses an Epson 1450 Home Cinema projector.  I've tested it with other HDMI TVs, though.  When I switch the HDMI switch to Output 1 (the MacMini), I see the MacMini display with no issue.

On the 2nd setup, I have a 27" iMac, from late 2013, running macOS Sierra 10.12.6. (Haven't had time to update to the latest yet.)  It's the same setup, but, of course, to a different 1080p HDTV.  If I run the HDMI cable from the Thunderbolt 2 display adapter to the TV (and I've tested it with different TVs), I get a clear image and can use the TV as a 2nd monitor.  But once I run the signal from the adapter, through one cable, into the HDMI switch (same brand, same model, as the other one - ordered them together), on the HDTVs I've tested it on, I get "Unsupported Signal."

The factor that changes is adding the HDMI switch.

I also have an input on both HDMI switches from a DISH TV device.  In all cases, on both systems, when I switch to the DISH device as an input, everything is fine.  Inputs from blue ray players are fine.  But on this 2nd system, with the iMac, whenever the signal goes through the HDMI switch, the result is "Unsupported Signal."

Can someone give me an explanation of what is happening and if it's fixable.  What puzzles me is this happens on one switch and not the other.  (I'm hoping to swap out switches at some point to test them.)  I'm wondering if the output on the iMac could be different than the output from the MacMini.

After suggestions in the comments, I tried an active adapter instead of a passive one.  While the adapter may have been flakey, for some reason, Amazon deliveries for the past week have been completely inept and I wasn't about to risk dealing with that again to return the adapter and get a replacement.  Instead I went to Best Buy and got a different HDMI switch.  I'm not going to link to it because, although it solved this problem, it had another issue.

I'll be trying another adapter when it arrives and if that works, I'll post information on it.

In the meanwhile, I was using a Kinivo 3 Output HDMI switch.  While it handled the normal DVR and BD player video signals, it was not able to handle the video signal from either display adapter from my iMac.  Be aware of that issue if you are looking at that brand of an HDMI switch.

EDIT: I have to add that, after experimenting, while I was using a switch that worked for my display adapter, I found an issue with the connector.  Bottom line: The connector had a very narrow "fail range."  Most of the time it was plugged in, it'd work, but there was just one angle that would make it fail.  Of course that angle was the angle it was in when in the Kinivo switch, where the signal would not go through.  Once I swapped it with another cable, it worked fine.


How can I safely create a partition to an already bootable drive I already asked this question on Apple's community forum, right here, so I'll post the answer here if something comes up there first.

This is my problem :

I recently bought an external drive of 500Gb with the intent to use it to store large files that I use on my Mac and to use it as a bootable drive for Windows.
I followed this tutorial to make the drive bootable on Windows 10, everything works well for that part.
Now I want to be able to partition the drive so that I can have 2 parts for Windows (1 part that contains the infos for the boot, 1 that contains Windows) and 1 part that I can use on the Mac side to store files. I thought that I could simple use the partition operation on the Disk Utility app, but the operation is greyed out. I found many answers on forums, but none of them is exactly what I'm looking for. Any idea how I can can achieve it ?

The actual state of the drive :

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE          IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk2
   1:                 DOS_FAT_32 WINBOOT                 209.7 MB   disk2s1
   2:               Windows_NTFS BOOTCAMP                499.9 GB   disk2s2

Thanks in advance and have a good day !

Ok, after spending the afternoon looking how to solve this, I found that the easy way was to create a new partition from Windows' side in exFat format. And since the format exFat is modifiable on Mac, unlike NTFS, I can then erase it and then change the format to whichever I want.


How did the function "Save As…" change to "Duplicate"? I recently noticed that within Pages ('09), Numbers ('09), Keynote ('09),
the menu entry:

File > Save As…

had been replaced by a new one:

File > Duplicate

On the other hand I still use this function within some other applications like LibreOffice (4.2.3.3) without a problem.
I suspect this change isn't a system wide one.

I didn't get any notice of this change of a key function in file management within any recent upgrade.

When did this change appear?

Which upgrade performed this change?

This was changed in Lion along with the introduction of Auto Save and Versions. Save As is still available by holding ⌥ alt whilst in the menus.


Move from android after intially declining I have a blank Iphone 6 I am moving to. Upon initially setting up the iphone, it asked me if I want to move over from Android. I initially declined, thinking I could access this feature later. But now I can not find out how to access it.

Can I still run the "Move from android" operation, after I initially declined it, and completed the rest of the setup process?

You have to wipe the phone to get the assistant to run. It won’t merge content, just import on to a blank device.  Make a backup if you want and then in settings, erase all content and settings. Then you can run the Android import and get all the migration done and review.

Worst case, you examine the data, sync or export contacts and apps and then erase / restore your current backup and merge the data.


Accessing files/folders on home machine over internet I have a Mac Mini that I run as a home server and I'd like to share some folders on it over the Internet. I need the following:

It needs to be a client app that talks to a central server (like Dropbox), not a server software that requires a public IP or VPN.
I should be able to access this anywhere over the internet through a web interface, or something else like webDAV etc.
It should just be an app, not something that requires installing any kexts or filesystems.

Note: I'm not looking for a cloud storage service, I'm looking to access the files on my machine remotely, but through a central third party service rather than needing a public IP to that machine or a VPN.

So far the only thing I've found that does something like it is the PogoPlug Software. However I find it rather unstable, very inelegant and requires installing a filesystem driver, which I'm not happy for it to do.

Are there any other services that offer something of the like but with a better made client app?

Back to My Mac (iCloud)
If you're running Lion and have an iCloud account, you can use Back to My Mac. With Back to My Mac, your server will show up in the Finder's sidebar under Shared, just like it would if you were on the same local network.
This solution does not have a web interface, but I personally prefer connecting to my file servers the same way (through the Finder) whether I'm on the LAN or connecting remotely.
Slink
An alternative to iCloud that doesn't require Lion is Slink, which I highly recommend. I've been using Slink as an alternative to VPN for about a year without any problems.
Slink works similarly to VPN, connecting you to your network, not just your file server, but is extremely easy to setup (doesn't require entering a public IP anywhere). You setup your server by installing a System Preference pane (the Slink Agent), then setup the Slink app on each of the client computers.
Like Back to My Mac, this solution does not have a web interface. Also, like Back to My Mac, your server will show up in the Finder's sidebar once you've used Slink to make the connection.
You can purchase Slink from Slinkware directly or on the Mac App Store. They also have a demo available.
TeamViewer
TeamViewer is a common cross-platform solution for remote control and file sharing over the Internet, and it's free for personal use. It doesn't integrate with the Finder as Back to My Mac and Slink do, but being cross-platform definitely has its advantages. It also doesn't have web-based access, but there are TeamViewer clients for OS X, Windows, Linux, iOS, and Android, which may make up for it.
LogMeIn Pro
For a web-based solution, you could use LogMeIn Pro. Because it's web-based, it's also cross-platform, and there are client apps for iOS and Android. Unfortunately, the free version doesn't include file sharing.
You may also want to check out LogMeIn Hamachi, which functions more like Slink, but with more options. I haven't tried Hamachi in a long time, but when I tested it, it was less reliable and more difficult to setup than Slink, so I went with Slink instead.


lg 27md5klb webcam not found Using cable that came with monitor to connect to macbook pro (2019) running 10.15.1. The built-in usb webcam is not found by the mac.

Do I need to also connect the usb from the monitor to the macbook pro? I hope not, because the mbp only has usb-c ports which means I need to buy an adapter.

Contacted LG. Faulty monitor. Getting it serviced. If anyone is curious, they pay for shipping, but it takes 10 business days to fix. Will report back.


How to find the URLs accessed by iOS Apps? Sometimes I need to find the URLs that are accessed by iOS apps to block their Internet connection. In a web browser, I can get the URLs directly from the address panel. But how can I get the URLs accessed by apps?

You could use the Adblock app which is cheaper than Charles Proxy($2 vs $9) and is really easy to setup.

It has a local DNS proxy which can log all domains your device is connecting to and can also block domains or route them to different ones.


Secure iPhone data whilst getting repaired I've got to give my iPhone to a 3rd party repair shop to get a smashed screen replaced. The official Apple store is too far away, and the wait time is too long.

My iPhone is running the latest iOS 11.4, but I want to make sure that the content on iPhone remain as secure as possible, whilst it's in the hands of a 3rd party. The potential dangers I could think of are:

Service personnel accessing user data on the iPhone
Installation of undesirable software/malware on the iPhone by service personnel.

My first instinct was to backup the iPhone, factory reset and wipe it and then hand it over to the repair shop. Once received from service, factory reset and wipe again, and restore the data from backup.

Is this a failsafe approach? Any other thoughts?

My first instinct was to backup the iPhone, factory reset and wipe it and then hand it over to the repair shop. Once received from service, factory reset and wipe again, and restore the data from backup.

This is an extremely safe approach. While the concerns raised in the question are well-researched and fairly obvious, this approach may involve a lot of work & time from your side. If I were in the situation, I'd do the same to remain extra cautious.

iOS is a fairly safe and robust platform and the likelihood of getting unintended data transfers (to and from) are very low when the device is locked. The likelihood can be further strengthened manyfold just by turning off the iPhone or restarting and not unlocking it (even once).

With recent releases of iOS 11.4.1, Apple has further strengthened the device security by introducing a feature called iOS Restricted Mode, which when enabled (it is enabled by default) restricts unauthorised access over the device Lighting Port. You should update the iPhone to iOS 11.4.1 and turn on the setting.

Learn more about iOS Restricted more here:

Using USB accessories with iOS 11.4.1 and later
Apple’s USB Restricted Mode: how to use your iPhone’s latest security feature

Last but not the least, It will be a  good idea to learn about the credibility of the repair shop before handing over your device.


How to lock a MacBook Pro (Touch Bar version) with a short cut key? I used to lock my MacBook Air by Shitt-Control-Eject shortcut key. After replacing the Air with a Touch Bar MacBook Pro, there is no Eject key anymore.

How can I lock it with a shortcut key?


Is there a way to make a slideshow of all the videos and images contained in a single folder? I am setting up a slideshow of a retail space. Ideally I want to have a folder of videos and images that that can be added to or removed from and will update the slideshow. Similar to the slideshow screensaver, but with video capacity. Is there an app to do this or something scriptable?

Open /Applications/Photos.app and go to File>New Album.
Create a new Album with the name "Store Display"
Open /Applications/Utilities/Script Editor.app
Copy and Paste Script below
Go to File>Export

File Format: Application

Open Application
Select your folder that contains Photos and Videos
Click Choose
Celebrate!

Heres the code (edited by @wch1zpink) :

set imageNameExtensions to {"jpg", "jpeg", "png", "tiff", "bmp", "gif"}
set videoNameExtensions to {"mov", "mp4", "m4v", "avi"}
set nameExtensions to (videoNameExtensions & imageNameExtensions)

set myFolder to (choose folder) as text

set theChoice to display dialog ¬
    "Select Your Option" buttons {"Cancel", "Main Folder", "Main Folder And Sub-Folders"} ¬
    default button 3 ¬
    cancel button 1 ¬
    with title ¬
    "CHOOSE A FOLDER" giving up after 30

if button returned of theChoice is "Main Folder And Sub-Folders" then
    tell application "Finder"
        set mediaItems to (files of (entire contents of folder myFolder) ¬
            whose name extension is in nameExtensions) as alias list
    end tell
else if button returned of theChoice is "Main Folder" then
    tell application "Finder"
        set mediaItems to (files of (folder myFolder) ¬
            whose name extension is in nameExtensions) as alias list
    end tell
end if

tell application "Photos"
    import mediaItems into container named "Store Display" with skip check duplicates
    start slideshow using media items of album "Store Display"
end tell


Can I interact with Apple Notes app from the command line? I use the current Notes app on my iOS devices.  It syncs nicely to my desktop.  However there I prefer to work on text files usually in the command line.
Particularly I am looking for a way to export notes to a text format and to create or append a note from a text file from the command line.
Is there any information how to interact with these notes?
I find it hard finding any information as the name "Notes" is so generic.
Update
I found two possible ways to interact, but both turned out useless for my case:

In iOS it is possible to create an action that converts notes to markdown.  Unfortunately attachments get converted to links that lead nowhere. My notes contain lots of links from Safari, therefore it is not useful for me. Also wasn't able to find a way to define this action on desktop.

I recalled Notes could also store in email accounts. Tried that. Turns out I can't select this destination from the sharing button. Also despite being HTML in the mail folder formatting text is no longer supported.

Description of my workflow
On desktop
I do most coding in vim. This is my preferred way to edit text.
Each project is managed by git. Usually in each project I have a markdown files in a folder containing ideas and notes to the code. These files I would like to make in some way available in the Notes app.
I  don't need to have all features of markdown, but some highlighting and inclusion of links would be nice.
On Mobile I do most research. I prefer to use the notes app as I can add text snippets and URLs quickly to any notes.  So any app exporting the notes would need to reasonable export them.
Currently, I copy and paste between the two formats. This is not very satisfying.  I imagine if I could get some way to import/export to the Notes app I could write scripts that would allow me to sync my local markdown notes.

There is an application called Note2txt which will convert your notes from the Notes app to text files. One file for each note. It creates a file for all your notes and writes them into a directory of your choice.  It runs pretty quickly taking about 30 seconds for my 700+ Notes.


Unwanted saving of proxy credentials I'm working in an environment where several users access shared iMacs (OS X 10.7.4) using generic accounts that are shared between multiple users. However when they want to access the internet they must authenticate with the proxy server using their own unique credentials.

With that in mind, the proxy credentials should be cleared on logout, so that when another user accesses the same account, they still have to input their own proxy credentials when accessing the internet. Firefox does this just fine. However Safari saves the credentials no matter what and they persist through logout, which is a security and privacy concern.

I've tried turning off authentication for the proxy server. This will prompt for credentials again but will save them after they're entered. Keychains have similar behaviour when they expire or are deleted. AutoFill for passwords in Safari is turned off and there are no saved passwords or other credentials.

How do I stop the proxy credentials from being saved?

Update: The problem seems to be coming from a system process called AuthBrokerAgent which is responsible for proxy authentication. When proxy credentials are entered for the first time, it stores them in the user's login keychain and automatically adds itself as an allowed application for accessing those credentials. A workaround can be created by removing it from a list of allowed applications, forcing the program to ask for the keychain password when accessing those credentials, then changing the keychain password so it's different from the user account password, but this is extremely cumbersome as it must be configured on every account individually. A better solution must exist.

Deleting the AuthBrokerAgent preference list broke proxy authentication in Safari completely.

I'm not sure how to prevent the creation of the credentials in the first place, but you can remove items from the Keychain using the security command, which is easily scriptable.
The command you want is security delete-internet-password -s server, where server is the hostname or address of the proxy server without the protocol (i.e. 192.168.0.1, not https://192.168.0.1). Alternatively you can use -l label to match the name of the keychain item, or various other search parameters, which you can find detailed on the man page.
You can have this command run at logout for each user by saving it as an executable script in a location readable by all users (make sure the file is executable for all users as well). Then run sudo defaults write com.apple.loginwindow LogoutHook /path/to/script.


Why does App Store redownload already downloaded parts when resuming a paused download? Yesterday, I started downloading XCode 5.1.1 from the App Store.

I have a very slow + limited bandwidth Internet connection. It took almost 5+ hours to download 1.6GB of data. It was really late in the night, and my new MBA had been up for over 7 hours, so I "paused" the download, shutdown the MBA, shut off my modem and went to bed.

After waking up today morning, I decided to resume the XCode 5.1.1 download from App store. I figured I just needed to download another 600 MB to complete the ~2.2 GB XCode 5.1.1 download. So, I switched on the modem, switched on the MBA, opened the App Store and went to my purchases. When I hit the "Resume" download button on XCode 5.1.1 (in App Store->Purchases), the App store asked me for my Apple ID and password. I entered it and then the App Store "restarted" the download!!! All of the  1.6GB part that I had downloaded yesterday night was GONE!!!

With my metered connection, the App store now says it will take another 11 hours to download the ~2.2GB of data it needs to install XCode 5.1.1 on my MBA.

Question: What gives? What happened to my 1.6GB of already downloaded data? Is the App Store going to trouble me like this all the time in the future?

The PAUSED download is not the same as STOPPED.

You stopped the download (disconnected) so the temporary download file was deleted.

The resume function does not work for that.


Tilde (~) and plus-minus (±) in wrong place on keyboard I'm using a MacBook Pro with a Swedish physical keyboard, but with U.S. layout defined in System Prefs. However the tilde (~) and plus-minus (±) keys seem switched. The following key combination should produce a ~:

Because the mapping in System Prefs says so:

But it results in a ± symbol.

It seems these two keys (± and ~) are switched somehow. How do I make them work as shown in System Prefs?

Here’s a solution that does not use any external tools.
Run this in Terminal.app:
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}'

Now try your ~ and ± keys: they should be switched around.
Problem is, this fix will only work until the next restart. To make it permanent, you have to automatically run it on system load.
You can do that in three Terminal.app commands:

cat << 'EOF' > ~/.tilde-switch && chmod +x ~/.tilde-switch
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}'
EOF

(This is all a single command.) This stores the script from above in an invisible executable file in your home directory, ~/.tilde-switch.

sudo /usr/bin/env bash -c "cat > /Library/LaunchDaemons/org.custom.tilde-switch.plist" << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>org.custom.tilde-switch</string>
    <key>Program</key>
    <string>${HOME}/.tilde-switch</string>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
  </dict>
</plist>
EOF

(This is all a single command.) This creates a system task: ‘run the file from step 1 on every startup.’

sudo launchctl load -w -- /Library/LaunchDaemons/org.custom.tilde-switch.plist

This loads (activates) the task from step 2.

Steps 2 and 3 will prompt for your password. And now, your ~ and ± keys are permanently switched.
Note 1
This appears to work not only on the MacBook's build-in internal physical keyboard, but on the external keyboards as well.
Note 2
To undo the switching script (not the three steps), here’s the reverse script:
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000035},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000064}]}'

Note 3
To undo the three steps:
sudo launchctl unload -w -- /Library/LaunchDaemons/org.custom.tilde-switch.plist; sudo rm -f -- /Library/LaunchDaemons/org.custom.tilde-switch.plist ~/.tilde-switch

Credit
This solution is inspired by this article:
http://homeowmorphism.com/articles/17/Remap-CapsLock-Backspace-Sierra


How can I change a URL that an application pings I'm trying to resurrect an old mac application.

Currently it is trying to scrape data from deadurl.com/?12345

Although that url is dead so it's not working. There are other url's which provide the same data and are still alive such as

differentWorkingUrl.com/?12345

Is there a way I can decompile the application and replace the scraping URL?

What you want to do is to is first find the IP address of the website which has the data you need. Enter this command in Terminal (only the dot-delimited portions, no slashes or anything):

nslookup deadurl.com

You should get a non-authoritative answer. This is what you want. Copy that address, and then enter this command into Terminal:

sudo vim /etc/hosts

You'll have to enter your password and press return to proceed. Note, for security, it won't show as you type. Once you're in the host file, move the cursor down to the bottom by pushing the function key, and the down arrow. Then press the "o" key, and paste the IP address, press tab, and type workingurl.com, replacing workingurl.com with your working URL.

Now press escape, ":", "x", return.

Now, assuming the software doesn't circumvent the hosts file in some way, it should have its communications redirected to the working URL, assuming the URL's path hasn't changed beyond the domain name.


Bad USB not recognized by Finder I have a 15 GB USB that I want to use as a macOS installer, and it got corrupted.

I tried to reset it, but Finder and the normal Disk Utility does not recognize it, the Recovery Disk Utility loops on loading drives and Terminal throws an error if I tried to reset it.

What can I do to make it work again?

When I run into this kind of problem, I first identify the device with:

diskutil list

(e.g., /dev/disk3 -- BE SURE TO GET THE CORRECT DEVICE OR YOU WILL HAVE DATA LOSS)

Then I use the dd command to zero it out.

sudo dd if=/dev/zero of=/dev/disk3 bs=8M

I hardly ever wait to completion, rather just a few seconds (maybe 10-15) and then press Control-C to stop it. This is just enough to wipe out everything at the start of the device that tells how it's formatted.

At that point, I go back into Disk Utility, insert the device, and repartition it, putting on a new formatted filesystem.


Make GIF element in Shortcuts crashes shortcut I’ve created a shortcut which should make GIF out of burst image but when I run a shortcut it crashes and doesn’t make GIF. Has anyone had the same problem?
Here’s how my shortcut looks like:

iOS 12.4 / iPhone X

Looks like description of element “Get frames from image” is inaccurate in stating that it handles burst images. When I get different element which loads only latest burst the shortcut works properly with any setting in GIF conversion element.


Recovering Data from iPad Stuck in Boot Loop upon Update to iOS 9 I attempted to update my iPad 3 (NOT jailbroken... yet) running iOS 7 to iOS 9 a few months ago, but ran into a major issue: whenever I tapped on "Continue" on the "Update Completed" screen, my iPad would simply restart itself and show the update screen, which often would be unresponsive to swiping. I know many others have had this issue when updating from iOS 7 to 9, and some found a fix, but before I'm prepared to wipe my iPad and depart with my data, I'd like to try to salvage as much of it as I can. Unfortunately, I was foolish and forgot to back up my iPad before I updated because I figured the update would go flawlessly, since it had been so smooth on my iPhone.

The challenge now is to try to gather as much data as I can before wiping. So far, I've been able to get my photos through the Photos application on my Mac running Yosemite, but I'd really like to get all of my data from the Notes app off of my iPad. In order to do so, I've used a few file managers, but can't find the directory anywhere, so it must be in root. Getting access to root would give me access to a lot of other data as well, so that would be ideal. But I know that root access is something you can only gain by jailbreaking, and I don't think my glitching iPad is even capable of being jailbroken at this point.

Given all of this, is it possible to get any other data off of my iPad before I wipe it? If so, how? Would jailbreaking help? And how would I jailbreak with my iPad in this state?

All relevant data is in /var/mobile/. You don't need anything from /. The Notes database in particular is located at /var/mobile/Library/Notes/notes.sqlite. Without knowing anything else about your situation, the most effective way for you to backup your data might be to just copy over the entire /var/mobile/ directory.

Also, only versions of iOS 9.1 and lower can be jailbroken at the time of writing. And no, you can't restore to iOS 9.1.

Another thing you could try is to go into Recovery Mode, backup with iTunes, update to the latest version of iOS while still in Recovery Mode, and then restore your iTunes backup.


What is required for HiDPI mode? I followed the directions in this question.  I've checked "Enable HiDPI display modes" in Quartz Debug, and I've rebooted and logged in again, but no HiDPI modes appear.  I've rerun Quartz Debug and confirmed that the checkbox is still checked.

Are there any other things that need to be set in order for this to work?  Are there any specific hardware requirements for this?

(I have 2 large displays, for example -- is there a limitation that it only works on single displays?  I can't think of any reason it would be, but I'm out of ideas.)

EDIT: I found something that suggested you need to log out of all accounts, not just the current one -- maybe something happens when all accounts are logged-out simultaneously?  But I tried that, too, and still do not see any HiDPI modes listed.

EDIT 2: According to this post, HiDPI can work on the 30" Cinema display (2560x1600 becomes 1280x800), so that's not the problem.  This screenshot shows HiDPI modes and an "Arrangement" tab (indicating multiple displays), so that's not the problem.  It even shows the mythical "1280x800 (HiDPI)" mode!

As I've mentioned in the other topic...
If the checkbox is already enabled, but it doesn't work, disable it, logout when prompted to, login again, re-enable it and at the next login you should find the HiDPI settings in the Displays settings.


What type of storage does an iPod classic use? I am interested to know if a newer generation iPod classic uses a standard hard drive or flash memory. Do you know what type of memory an iPod classic uses?

The specs page for the iPod Classic says "hard drive". That's a mechanical drive with a set of spinning platters and read/write heads.

And here's a replacement part for the drive in the unit. The compatibility list on that page lists:

iPod 6th Gen 160GB
iPod 7th Gen 160GB

And here's a video that gives some details on the Samsung drive in the unit: http://www.youtube.com/watch?v=9mB3xjIIKcU


How can I modify the default date format for "moments" in photos? I'm running photos 1.5. Older versions of Photos used a different date format for the title of moments. Right now most of my pictures are organized using the old date format (YYYY-MM-DD). Is there a way to modify the date format for all moments in the latest version of Photos?

Check your format in System Preferences -> Language & Region -> Advanced... -> Dates and modify there by drag and drop the dates fields as you wish. These correspond to your locale settings. Note the format (YYYY-MM-DD) is not old, it is just the ISO standard today.


The best way to sandbox programs in OSX? I know that this question have been discussed before on AskDifferent, but none of the threads really satisfied me. For Windows you have a wonderful program called Sandboxie http://www.sandboxie.com/ that let you easily set up sandboxes with different rules and  privileges. What is the eaisest and most secure way of sandbox really malicious programs?

easiest and most secure way

Please choose A or B, not both.

  really malicious programs

Are we talking invasive virus software, like the stuff that came on Sony CDs?

Either a carefully-configured virtual machine, like VMware Fusion, or an isolated physical machine. By "isolated" I mean not used for anything else and not connected to any network. Make a fresh install of the OS, do what you need, but then never use the machine for anything else. I would assume that "really malicious" software would modify the recovery partition, bootloader, and even the firmware.


Hard drive formatting: error message -69760 I can't access my TOSHIBA External USB 3.0 Media external hard drive. Now I'm trying to format it but I get this error message:

Erasing "TOSHIBA External USB 3.0 Media" (disk3) and creating "Untitled"
Unmounting disk
Creating the partition map
Unable to write to the last block of the device.: (-69760)
The operation failed ...

How can I resolve this issue?

I've run across this a few times before and there were two approaches that worked:

Format the drive in a Windows machine (FAT32 or NTFS is fine)
Zero out the drive.  This, in effect, writes zeros on every single datablock on your hard/solid disk drive.

% sudo dd if=/dev/zero of=/dev/diskN bs=8m     ← Where diskN is your disk identifier

The idea is to write each block with a zero overwriting whatever was there corrupting it.  Keep in mind, this will take a long, long time so if you have a Windows machine handy, it makes sense to first format it there then try again in macOS.


My iMac HD is not showing all capacity My iMac has a 2 TB Fusion Drive. Our PC IT guy seems to screwed it up. Now I only have 1 TB of usable space. I tried formatting, repartitioning, but nothing works to gain that 1 TB back.

I don't need the data in it as this is a new iMac.

It seems that you have only one partition of 1 TB.
What you need to do is :

Select "Fusion Drive"
Click on "Partition" button
Set a partition of 2 TB

I don't have my MacBook so I can't make you some screenshots, but setting new partition should show you your all disk.

But on your second screenshot, I can see that the Untitled part is 2.12 TB. Did you tried to proceed to the install of macOS and then see if everything is all good ?


Activating more type accents on macOS I have MacBook Pro and using Mojave currently.

I would like to add more type accents to my standart U.S. Q keyboard(or at least find an easy way to type 2 characters from my mother-tongue(Turkish). I have added my language to Input Sources from keyboard settings but no luck.

Is it possible to activate more type accents? (I only need these characters  though : g -> ğ, s -> ş)

The easiest way to type Turkish is to use one of the Turkish input sources supplied by Apple.  Make sure you have the Turkish flag showing in the top right corner of the screen (just adding it to Input Sources preferences is not enough).  To see which key does what, use the Keyboard Viewer.

Another way is to add the input source called ABC Extended to the list of Input Sources and then select that in the "flag" menu at the top right of the screen.  You can find the codes for all the letters you need here.

You can pretty easily add your extra characters to unused keys on the US layout (or add brackets, etc to the Turkish layout) with Ukelele.

It may be possible to add characters to the Press/Hold popup menu of the US keyboard.  For info on that see this earlier question.


How do I create an installer for a macOS app? I want to create an installer for a Apache Mesos for Mac. I don't want to use brew since that needs several steps and an internet connection and packaging makes one definite version we can push and also isolate from version changes.

Furthermore, Mesos has dependencies on java, git, autoconf, automake, libtool, subversion, and maven.

How do I start with packaging all these dependencies?

For a simple package where you just want to pack up one folder (or three) of files, you can use a quick and easy tool and often make good packages.

For something more on the complicated side, you may need a book or couple of tutorials as well as the ability to have a virtual OS so you can test your package on a clean macOS or test Mac.

The best book I know on how to package is this one by Armin Briegel

https://itunes.apple.com/us/book/packaging-for-apple-administrators/id1173928620?mt=11

Packages on macOS can contain pre-install scripts, several layers of files and post-install scripts and the second chapter of the book goes over all of those in detail.

In your case, I would try to leverage a community packaging resource like AutoPKG recipe for every dependency you can find and hopefully mesos itself:

http://autopkg.github.io/autopkg

Here is a very nice list of starte recipes you can examine and inspect to learn how to layer in many files or take apart a simple package vs a complex one:

https://github.com/autopkg/recipes

If all this git and scripting and tools is too much learning (for ever or just for now), you could also do far worse than get a great tool to help you just build the package manually using an app to guide you in the process:

http://s.sudre.free.fr/Software/Packages/about.html


Broken iPhone dock connector pins, is this a hazard? The dock connector on my iPhone 4S had some bent pins, which I scrubbed  using a jewelry screwdriver until the pins broke and fell out. The phone still charges, and aside from thinking it's always connected to a dock, the phone seems to work fine. However, I am worried about a hazard of some type, for example is there any risk of shock or fire or something else?

Image shows bent pins, this is before I broke them off with the screwdriver.

Even though the phone appears to be still working fine I would advice to get the device looked over and possibly repaired.

The main problem is without seeing which pins have broken off, the device maybe missing earth pins which could cause a risk of electrical shock, I would be very cautious when charging the device.

This should not cost to much as the port can be purchased fairly cheap on eBay.


What is a Secure Token and how do I get an admin users that has one I have an iMac 2017 with a FusionDrive on which FileVault cannot not be enabled.  The situation is summed up in this reddit post.  The problem boils down to: I have no admin user who has a secure token and it seems like I cannot get one.  This can be confirmed by running:

sysadminctl interactive -secureTokenStatus USER_NAME

for every user.  It always comes back with

Secure token is DISABLED for user USER_NAME

The first setup from factory settings did not result in a user with a Secure Token, and I tried to:

Delete /var/db/.AppleSetupDone to setup a new admin account. Result: A new admin account that slo does not have a token.
Reinstall MacOS High Sierra: First created admin user does not have secure token.

It seems that this is either intentional (because of the Fusion Drive?) or a bug in High Sierra.  With exactly the same procedure on a Macbook Pro 2017 I get an admin user with a Secure Token and that user can manage FileVault and give secure tokens to other users.

Since I want to use FileVault, I also tried to reformat the main disk with an encrypted file system, reinstalling MacOS and restoring from time machine backup. This worked, FileVault is enabled, but now I have to enter the disk password every time the computer boots (before the login screen).  I don't want this, I want to unlock the disk with a user password.

What can I do to get an admin user with a secure token?

Just migrated to a new 2018 MacBook Pro, and somehow my original account (an admin user) was created without a secure token during the migration. I even tried creating a new admin user, logging into that user and trying to run sysadminctl -secureTokenOn justin -password - but getting:

2018-07-30 14:17:56.552 sysadminctl[886:18232] Operation is not permitted without secure token unlock.

So then I tried the following providing adminUser and adminPassword flags as my original user justin:

sysadminctl -secureTokenOn justin -password - -adminUser justin -adminPassword -
Enter password for justin :
Enter password for Justin K :
2018-07-30 14:31:05.262 sysadminctl[998:49031] setSecureTokenAuthorizationEnabled error Error Domain=com.apple.OpenDirectory Code=5101 "Authentication server refused operation because the current credentials are not authorized for the requested operation." UserInfo={NSLocalizedDescription=Authentication server refused operation because the current credentials are not authorized for the requested operation., NSLocalizedFailureReason=Authentication server refused operation because the current credentials are not authorized for the requested operation.}

Essentially it seems since non of my users have a secure token, there is no way to grant a secure token. The only downfall is the following:

When I cold start the machine I have to enter a disk decryption password, which results in entering my password twice (once for disk decryption and once for the user account).

When I try to turn off FileVault by clicking the button nothing happens. The same behavior when clicking the warning button "Some users are not able to unlock the disk [Enable Users...]" nothing happens.


Show progress indicators in Mail 6 (Mountain Lion) Apple seems to have taken the brilliant decision of not showing progress indicators when you are checking for new emails. This is annoying, as you get 0 feedback when you press the "Get new messages" button.

Is there any way of getting Mail to still show the "checking for email" progress indicators?

I also found this problem pretty disturbing.

I didn't find a solution to bring the indicator back yet, but for having some kind of feedback I am using the activity window:

You can find it in the menubar: Windows --> Activity
or you can press cmd + alt + 0


How can I log into the desktop environment as Root on a new mac running 10.6 or 10.7 without creating a user account? Under Mac OS 10.5, you could boot a fresh-out-of-the-box Mac into single user mode, mount /, set the root password, and touch .AppleSetupDone - this would allow you to log into the desktop environment as the root user without ever creating a 501 user. I've never been able to do this under 10.6 or 10.7, however. Has anyone been able to do this without first creating a traditional user account?

Many thanks!

You can still use SUM by holding Cmd + S when booting up.  If I recall correctly from the last time I did it, that should automatically give you root.


How to reset iBooks app in OS X 10.10 How can I reset the iBooks app, I mean completely reset it to the version that was installed and when first opened, where the app would show "Welcome to iBooks" and "Get Started"?

I think I must remove a .plist file or something similar from Library, right?

In Terminal.app (found in the /Applications/Utilities/ folder), run this command and arguments:

/usr/bin/defaults delete ~/Library/Preferences/com.apple.iBooks

This will wipe the plist file, but may not trash it.

Now when you open iBooks, the settings will be back to the default.

This same command will work with other apps using the appropriate arguments.


How do I rearrange my watch faces in watchOS 2? I have a lot of watch faces, I change them a few times a day. But as I keep adding new ones, they are added very far to the rightmost of the list of existing watch faces.

Is there a way to rearrange my watch faces, so that I can put my most frequently used faces close together?

AFAIK, there is no way to easily rearrange them. As you probably know, you could take note of which complication went where on every and delete all the watch faces and then add them again in the order that you want, but that would be very time consuming and if you change your mind later then you'd have to do the whole thing over again. Apple should have let the user rearrange watch faces in watchOS 1 or at least watchOS 2.0, but it looks like we'll just have to hope that this is implemented in watchOS 2.1 or 3.

Adding on, you can send feedback to Apple here.


Creating an image from a Time Machine backup – "Operation Cancelled" I want to convert an existing Time Machine backup (on an external HDD, encrypted) to a read-only archival image.

I open Disk Utility and choose File » New Image » Image from Backup, which lets me choose the destination. The destination is an ExFAT file system.

The options are the default (read-only, unencrypted), and when I start the process, after a few seconds, I get this:

I haven't cancelled the operation myself — Disk Utility did it. What I've tried so far:

Choosing another output option (compressed or CD/DVD master, for example), but that didn't help.
Unmounting the volume before starting the process
Time Machine is off; no automatic backups are being created.
Copying the Backups.backupdb folder is impossible because it contains hard links that ExFAT cannot read, and Finder says "The volume is the wrong format for a backup."

The same problem has been discussed here without a resolution. What I do notice is that the partition is shown as a Time Machine disk. Could this cause any problems?

For some reason, this only works via command line using the hdiutil tool.

First, open Disk Utility, right click the source drive (the Time Machine volume), and choose Unmount. Do not eject it!

Then, open a Terminal window, and enter:

diskutil list

You should be able to locate your volume. For example, in my case, it was listed as follows:

/dev/disk5 (external, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Backup Apollo          +500.0 GB   disk5
                                 Logical Volume on disk4s2
                                 8577521E-D394-45A0-BB7E-26F9E19C1FE7
                                 Unlocked Encrypted

Copy the identifier, /dev/disk5. This is what we want to convert into an image.

Then, run the following command, which will create an encrypted image of the source volume:

hdiutil create /Volumes/Data/Backup.dmg -encryption -stdinpass -srcdevice /dev/disk5

Here, /Volumes/Data/Backup.dmg is the target file. Change it according to your needs.

You need to use sudo to run this command (left out for security reasons), so when you're sure it's correct, run sudo hdiutil create ….

After hitting Enter, you will be asked for an encryption password. This takes a while, but it works:

Elapsed Time:  7h 15m 52.227s
File size: 293424025874 bytes, Checksum: CRC32 $753B4175
Sectors processed: 976562496, 968645649 compressed
Speed: 18.1Mbytes/sec
Savings: 41.3%
created: /Volumes/Data/Backup.dmg

For more options, run man hdiutil.


Once a link to a photo has been created in iCloud, is there a way to invalidate the link & remove the photo? Once a link to a photo has been created in iCloud, is there a way to invalidate the link & remove the photo?
Deleting the photo does not invalidate the link AFIK.  The photo is gone from my devices, but the created link still shows the photo.

If you shared the picture in an album (Photo Stream), you can learn how to do it here.

If you shared the picture alone (by clicking "Copy iCloud link"), you have to :

Go to the link on a computer, while logged in to the iCloud account from which the image was shared.

For example https://www.icloud.com/photos/#XXXXXXXXXXX-XXXXX

Click on the three dots (upper right) > Stop sharing

Note that every picture will expire 30 days after being shared. Also, if someone made an offline copy of the photo and/or saved it to their library, removing the share link does not claw that copy back - it only prevents new viewing.


Alternative of `route -n` of Linux in Mac How can I see the list of routes and its corresponding gateway in a Mac ? The command in linux is route -n .

For a particular IP address, I am able to get the routes for an particular IP address via route get 10.0.0.0.

I'm not at a Mac to play with terminal, but is netstat -rn what you need?


I can't load websites but I can ftp and play spotify, how can this be? I have a late 2009 Mac Book Pro 13" running 10.6.8. Using WiFi I can not load websites in any browser (Chrome, Firefox, Safari) it is as if I am not connected to the computer. I can do FTP transfers (most of the time) and stream music via Spotify (pretty much all of the time.) Everything functions properly when connecting to the same network with an ethernet cable. In the house we have one more mac, a linux box and an assortment of iOS devices, none of which have any problems connecting to the same network via WiFi.

Resetting the PRAM generally solves the problem, but it reapears everytime, sometimes in days, sometimes in a matter of minutes. I tried wiping the hard drive and reinstalling a fresh verison of OS X, which didn't help at all. I also tried connecting with a cheap USB Wifi dongle. That worked, but was very slow, and stopped working after about 45 minutes of use.

How can this be? What can I do about this? Can anyone recomend a good USB WiFi adapter compatible with OS X?

UPDATE: I fixed this by switching to DHCP with manual IP address and selecting a new IP address. The problem then migrated to my iPad2 (iOS 5.x) when it claimed that IP, but the same fix worked there. It never effected any of the iPhones in the house (iOS 5.1 jailbroken and iOS 6.x not jailbroken) or the other MacBook (10.8.x). The mystery remains, but the internets work so I try not to worry about it.

Hi the problem is with your DNS settings the Mac you are using cannot resolve the request into an IP address.  If you look at the other Macs in your house you should copy down the settings and opens System Preferences, Network and compare the settings. If your mac is set for DHCP then your router is not passing on the DNS settings of your ISP, or if it is the same as the Router then the Router cannot act as a DNS server, choose the DNS IP of your ISP that is sure to work.


How to upgrade to macOS Server from server running OS X 10.9.5 and OS X Server 3.2.2 How do I upgrade to macOS Server from a server running OS X 10.9.5 and OS X Server 3.2.2? I would assume that I simply upgrade the OS X to macOS, then buy/download/install the macOS Server app from App Store. Of course, I will have a full backup of server before taking these steps.

Currently, we are only using the server for File Sharing and Time Machine. Am I missing any other steps? After upgrading, should my existing file shares and Time Machine backup still be configured as before?

I tried to upgrade to macOS Sierra and got this message:

  macOS Sierra supports macOS Server version 5.2. To upgrade your Server
  data you will first need to install OS X 10.10 or 10.11 and OS X
  Server version 4 or 5. Installing macOS Sierra on this volume will
  disable the current server functionality. Are you sure you want to
  continue the installation?

I am unable to find OS X 10.10 or 10.11 in the App Store. If I continue installation, and then upgrade to macOS Server, will I have to reconfigure my server or will it be upgraded?

I successfully could upgrade server 3.2.2 (osx10.9.5) to macos server 5.2 (sierra) on my mac mini by following steps.

Install Yosemite to your mac.
Purchase Server 5.2 with your Apple ID. You can buy it on the mac 10.11.6 or later.
Open App Store. Select Server 5.2 and Press INSTALL button. The operation leads to install Server 5.0.15 !!!
Launching Server 5.0.15 will proceed the migration process.
And then install Sierra and Server5.2.

More info in my weblog below (in Japanese...)
http://memorandums.hatenablog.com/entry/2016/10/26/220901


Activate iPhone with unactivated SIM Is it possible to activate an iPhone with an inactive SIM? (T-Mobile sells SIM cards for $0.99; could I get one of those and use it to activate an iPhone?)

Yep, just as long as a SIM card is in there, you can use it to activate an iPhone. You won't get any cell service, but you could use it on Wi-Fi.


How to use iPhone camera as MacBook Pro iSight? Is there any software available which would allow me to use an iPhone 4S' camera as my MacBook Pro's iSight camera?  I am specifically looking for something that would allow me to use my iPhone as New Movie Recording via QuickTime Player.  Anything would be appreciated, really.  Thanks!

There was once a project called iPhoneCam which allowed you to stream your iPhone video over WiFi to your Mac, but it seems like this project never got released.

However, there is an app called Peephole ($0,99) which, according to their support pages, will do the following:

  Peephole for the iPhone is a unique iPhone application that lets you
  use your iPhone as a wireless remote webcam

I haven't tested it myself, so I don't know for sure if it will work. But it should do the trick according to the developers.


How do I update my 4.3.3 iPod? I plugged my iPod 4.3.3 into my computer and went on iTunes and I pressed the update button and then it said that I don't have an internet connection even though I can go on Facebook and everything. I don't know if it's something with my computer or my iPod.

Just because you can get on facebook doesnt mean you have wi-fi. You could be runnung off of 3g. Wi-fi is three bars on top left of the screen next to your moible network company. If it says 3g then you dont have wi-fi.


How to get gmail contacts on my iphone? Under the 'settings' -> 'mail contacts calendars' -> gmail

there is no option to sync the contacts

what's the workaround?

Open settings
Tap Mail, Contacts, Calendars.
Tap Add Account,
Tap Other,
Tap Add CardDAV account.
Enter google.com for the server, and your login
info.
Tap Done.

This will bring your Google contacts in, and it is
smart enough to show you a unified view of your Google contacts with
your Apple ones. I.E., if you have someone in both sets, they show
up as one contact, and you can see which pieces of data came from
each. It works very well for me.


Can I use my 2010 iMac as a display for my 2011 MBP? My Belkin Mini DisplayPort to MiniDisplayPort cable has just arrived. I have the laptop plugged into the iMac. Everything is arranged the way I need it, except for one thing.

How can I cycle between using my actual iMac and the MBP? Sort of like expose to shift between desktops?

Have you tried:
Cmd + F2

I've connected my MacBook Air with my iMac, and it just works fine.

But you have no change to see the two devices at the same time.


Photo retrieval from hard drive My Macbook was smashed and subsequently ruined. I was able to save the hard drive and am wondering if it is possible to retrieve the photos that were on it. I don't care about anything else that is on it.

Unless the hard drive was damaged, you should still be able to get your things off. You'll need:

A set of adapter cables (similar to the USB enclosure @crasic recommends), which will run you ~$10 on Amazon or hopefully similar at CompUSA or Fryes or whatever. The advantage of the cables over the enclosure is that the cables are cheaper, and you don't need the permanence the enclosure provides.
Another Mac, preferably, or a Windows PC running something like Paragon.

Once you have these, plug the SATA-to-USB cable into the appropriate slots, then do the power. Try not to move the disk while it's in use, as this could damage the moving parts. Get what you need, and MAKE SURE TO EJECT THE DISK before unplugging it.

(Despite the ominous warning, it is reasonably hard to mess up a good drive unless you're super careless. Don't worry too hard, just don't do anything stupid.)


Can an iOS device be backed up to Google Drive? I just found out today that Google is opening a cloud storage engine (a potential competitor to iCloud) called Google Drive, and I was wondering if there might be some way to backup your iOS device to it, short of jailbreaking it.

I wouldn't call Google Drive an iCloud competitor. Google Drive (like Dropbox) is your hard drive on the Internet. Meaning you can see, and manipulate your files.

iCloud is a bit different, for starter, it's an Apple-centric service, you can backup your iOS devices, store your music (but only access it with iTunes), store your (iCloud) mail, calendar, reminders and contacts, and let apps store settings on it.

But you can't access it directly like you would do with Dropbox or Google Drive.

So I would say that you will not be able to use Google Drive to back up your iOS devices as easily as you would do with iCloud.


Move to Start of Line in Terminal.app Is there a quick key combo that will allow me after typing some stuff in the OSX terminal to move back to the beginning of that line?  I have tried different things, and was wondering if there is a way without setting up something that is custom.

CTRL+a moves to the beginning of the line, CTRL+e to the end of the line.


Change font in Console.app Is it possible to increase the font size in Console? I am looking at a 27" Thunderbolt display sitting about 4 feet away and the tiny font is unreadable. It appears to be Menlo 11 and I need at least size 18 to read it on this display.

Unfortunately you can't change the font for Console.app OOTB with macOS
Console.app uses the font that is located in the application itself (/Applications/Utilities/Console.app/Contents/Resources/Fonts/). If you delete it, which is not recommended, the default font it will revert to Helvetiva.


Why iPhone apps on iPad are scaled in Pixel Double mode instead of iPhone 4 Hi-Res mode? Possible Duplicate:
  Why does the iPad use nearest-neighbour scaling rather than Retina scaling for iPhone apps

iPad runs iPhone apps too. Sometimes people want to make it bigger and they click the "2x" button. Then the OS scales the app with pixel Doubling, which makes it look ugly because the whole app is pixelated.

Now that iPhone apps can be rendered at doubled DPI on an iPhone 4 with crystal clear quality, why doesn't Apple use this mode to display iPhone apps in 2x on an iPad? Is there a consideration other than time constraint?

It is likely to encourage developers to write native iPad apps instead of just relying on the higher resolution of retina artwork.


Terminal stop launching in Double Commander after Catalina 10.15.1 upgrade I just upgraded to Catalina 10.15.1 and having some issues opening Terminal from Double Commander

If i click the terminal button that corresponds to this actions:

Now the Terminal just wont show, just nothing happens.

If I press shift+enter that suppose to open terminal in the current dir I've got this error

/var/tmp/doublecmd-Xwwn: line 5: /Users/A/.yarn: is a directory
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

F9 does not work either (no terminal shown).
I am on DC 0.9.6 beta Mac OS X >= 10.11, 64 bit, doublecmd-0.9.6-9018.cocoa.x86_64.zip.

Any ideas?

P.S:
In Catalina they've changed the default shell https://support.apple.com/en-au/HT208050 may be it is something to do with that?

UPDATE:
Just created a custom toolbar action that solved my problem, will stick to that for now:

Had the same issue. Solution that worked for me:

In DC go to Configuration -> Options -> Terminal
In section "Command for just running terminal:" was Command /Applications/Utilities/Terminal.app
Rewrite it to the /System/Applications/Utilities/Terminal.app
Save changes and now when you press Fn + F9 terminal will open in current directory just like before


Macbook pro boot with kernel panic - can't perform kext scan I was trying to swap command and option key for my external keyboard following the instruction in
http://hints.macworld.com/article.php?story=20110529094802391.

When I'm done with change and I restarted, my mac booted with Kernel panic message. I'm sure I've messed the info.plist file. Now I cannot boot in safe mode as well.

I know if I get a way to change the file it should be fine.

The message shown in screen is

panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff80005eae1e, type 14=page fault, registers: ...
Debugger called: <panic>
Backtrace (CPU 0), Frame : Return Addressd
...
...
can't perform kext scan: no kext summary
BSD process name corresponding to current thread: Unknown

Mac OS version:
Not yet set

Kernel version:
Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48PM
Kernel UUID: ...
System uptime in nanoseconds: 11...

The error specifies the problem in kext as well.

Thanks.

The safest thing to do is boot into OS X Recovery and re-install the OS.

You could alternatively boot into Recovery and open terminal and hope to fix the format of the kext file on disk, but I'd say it would be safer to start that Mac in target mode and copy in an unmodified copy of IOHIDFamily.kext into /System/Library/Extensions

Unless you have a good backup of the Mac, it's safer to just reinstall the core OS which will leave your user files and accounts alone, but remedy this system file that is needed for the system to run.


Cannot remove ® from the name of an app Yesterday, I bought Rayman Origins from the Mac App Store. It appears in the Applications folder stack on my dock as "Rayman® Origins"

That small registered symbol looks pixelated and ugly on my non-retina screen. So I opened my applications folder in Finder in order to rename the application.

If I rename the app to "Rayman Origins1", it appears fine. Likewise, if I rename it to "RaymanOrigins", the name changes as I would expect. However, I cannot seem to rename the app simply "Rayman Origins". Although Finder lets me type in the name, as soon as I hit enter, it snaps back to "Rayman® Origins" with a registered symbol.

What gives?

When the app name is the same as the CFBundleName, the CFBundleDisplayName is used.

Therefore it would seem the CFBundleName is ‘Rayman Origins’, and when the app has this name, the CFBundleDisplayName is used, which appears to have a ® in it.

To remove the ®, open the package contents (right-click on the app from Finder and choose Show Package Contents), then navigate to Contents/Resources and open InfoPlist.strings with Xcode and change the CFBundleDisplayName to your desired name.

Background: This is meant for localisation but also allows for fancy things like naming the macOS ‘Wi-Fi’ instead of WiFiAgent.


How can I slow down the speed a video is played back on an iPhone? I'm viewing courses on coursera (a free classroom site) and the material is just going too quickly.  I need a video player that can slow down the speed of the video just a little bit so I can follow along.

It seems that most video players highlight the ability to stream video, etc, but nothing seems to slow down the speed it plays.

Is there any applet that allows me to play an MP4 (or similar offline file) at a slower rate?

If you don't mind going through an extra step, almost any video editor lets you edit video speed. You could import the video, edit the speed, and export.

If you're looking for a solution that's a bit less time consuming, you could try SpeedUpTV. Although the app isn't free, it lets you adjust playback speed on-the-fly in the app: