Natively written packet sniffer / inspector for OS X

Packet Peeper is a free, native OS X application for packet sniffing. Not quite as robust as Wireshark (but what is really).

There's also Cocoa Packet Analyzer, which appears to have a nifty plugin framework for extending its capabilities, but I've never used it. It's donation-ware.

KisMAC may also be of interest. Not so much a sniffer as a wireless stumbling tool. I've used it successfully to tune my wireless network in a congested neighbourhood.

Edit: based on your updated desired features I'd say try Packet Peeper. It fulfills both your requirements.


GUI for managing automounting of fileshares?

Mount the share that you want and then open "System Preferences - Users and groups - Login items"

Click the + symbol to add a new login item and then select the network share from the window that opens. The volume should open on every login.

Check the box next to it to hide the item. This should keep the Finder window from appearing.


How to make MacBook require password after closing lid but NOT after sleep/screensaver?

You'll need to run a command that locks the Mac when the lid is closed that means when Mac goes to sleep, the command that needs to execute every time the Mac goes to sleep is:

/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend

To run a command when the Mac goes to sleep you can use Sleepwatcher you have at least two options to install it:

Downloading the files from the URL above and follow the instructions on ReadMe.rtf
Installing a package manager like brew and after install it running brew install sleepwatcher, if you are familiar with some linux flavor then this is like the package manager apt-get for Ubuntu or dnf for Fedora and so on.

After installing sleepwatcheryou'll need to decide if you want to run it like a daemon or by command line:

Running by command line:

/usr/local/opt/sleepwatcher/sbin/sleepwatcher -s "/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend" &

Maybe you'll need to change the path to sleepwatcher

Parameter -s, taken from man page:

  Execute sleepcommand when the Mac is put to sleep mode.  sleepcommand
  must not take longer than 15 seconds because after this timeout the sleep mode is forced by the system.

The command needs to be between quotation marks

With this option you'll need to run sleepwatcher manually on every logoff, restart or shutdown.
If you decide to run sleepwatcher as a daemon, then you'll need to create or modify (in case you download the program from the web) a plist file that works as a configuration file to start a daemon, the plist file that I modify looks like:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>de.bernhard-baehr.sleepwatcher</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/opt/sleepwatcher/sbin/sleepwatcher</string>
        <string>-V</string>
        <string>-s /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
</dict>
</plist>

To start the sleepwatcher as a daemon you'll need to run the following command:

launchctl load ~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher-ybr-localuser.plist

You'll need to change the path to the plist file, the location of this file should be at:

/Library/LaunchDaemons

or

~/Library/LaunchAgents

The first path is to run sleepwatcher for all users, the second path is to run per user.

With this option sleepwatcher starts and stops automatically on every logoff, restart or shutdown.


Video from Mac to Apple TV, audio to Airport Express

You'll love this: On Apple Tv go to Settings → Airplay and pick your Express under Speakers. Now stream away to your Apple Tv. Everything is in sync and all, at least using Beamer (which is much superior to screen mirroring if you are watching movies).

Edit: sorry you already tried this? Works perfectly here.


Is there a way to change the displayed desktop in Mission Control?

Push Ctrl + ← or → It also can be done by swiping if you have a Magic Mouse or Trackpad.


If the adapter is making a noise when it is plugged into the wall but not connected to the machine then the adapter is probably faulty.

For fault finding you'd normally have two machines and two adapters and you'd try various combinations to rule out which items are working or not.


If Yosemite is free, why do I have to verify billing info?

The verification is for your Apple ID for purchases. You can either set the payment option to none if you're from the US or add a credit card to it. This eases the payment option if you plan to buy apps from the store later.

But in the case of downloading Yosemite, You will not be charged for anything.


Yes it will download automatically if you don't disable it manually.

To turn off automatic download you need to go to your settings then to the App Store and iTunes Store settings and turn it off :


moving the downloads folder inside another folder (10.8.2)

The shell in Terminal doesn't like white space in file names. That's what resulted in the error message. You need to use quotes to tell the shell that the second path is a single parameter, try

sudo mv ~/Downloads ~/synktorium/"disktop zi5"/

Alternatively, you could escape the single space before zi5

sudo mv ~/Downloads ~/synktorium/disktop\ zi5/

This is what OS X and Finder would do if you dragged the folder into terminal but it's less clear to someone than using " to prevent mv from seeing three arguments instead of two (a source and destination).


Can I just swap the hard drives of two macbook pros (different years)?

Yes. In almost all cases, OS X software is hardware-agnostic (as long as the hardware comes from Apple).


MacBook display has vertical black and white lines on startup

It's definitely hardware.  It's either the display has gone bad or your GPU (logic board) has gone bad (most likely case)

The first thing I would do is hook it up to an external monitor.  If it's present there as well, then you know it's GPU/logic board related.   If it goes away, then run Apple Hardware Test (AHT) to get some details.  (Hold the D key while booting from a powered off state with the AC adapter connected)

Either way, you will need to take it in for service.


Iphone 6 plus keyboard letters uppercase

Apple changed the keyboard in ios 9 to make it easier to tell when the shift key is pressed. In ios 8 and below, the keyboard letters are always uppercase, but in ios 9, they are only uppercase if the shift key is pressed.

You can update to ios 9.1 by opening settings, then choosing general > software update, and choosing "install". It will take a while, so you should probably plug your device in first. This should make the keyboard match your other device.


Why do these apps "like to access the microphone"?

It's a new permission that Apple added with iOS 7 to let you know which apps need to access the microphone.

Now, for those apps that do not relate to the microphone, my guess would be one of 2 things:

Developers of such apps did not update their apps to iOS 7, so the OS needs to ask for your permission on accessing the microphone, or
Developers did update their apps to iOS 7, but they did not address this API in their code yet.

Either way, we should see less of these pop up messages as iOS 7 becomes more mainstream and developers get the time to update their apps fully.

In my experience, not a single app "broke" for denying it access to the microphone, so it should be fine to hit "Don't Allow".


How can I embed a linked local image in an Apple Mail signature?

Here is my solution:

Open the picture in Preview (or open the html in a browser)
Cmd-A to select all, Cmd-C to copy
Create a new signature and paste in the contents

I have verified that this solution works for local pictures and simple html snippets.


Swapping HDDs w/ Different OSX Versions, Possible?

Since I am currently using a 20-inch, Mid 2007 iMac, I am somewhat familiar with upgrades. When I installed Snow Leopard, it ran as a 64 bit operating system. I have installed every version of OS X since Snow Leopard without any problems. I am currently running both Yosemite and El Capitan. I have run Vista 32 bit, Windows 7, 8, 8.1 and 10 64 bit, even though Apple only officially supports up to Windows 7 32 bit on my iMac.

According to the site: OS X El Capitan - Technical Specifications, you can run El Capitan on your Mac. I assume then, you could also install an older version of OS X. Of course, finding one to download might be a problem.

Your question:

  Which OSX version, if any, can I upgrade to without jeopardizing my old setup? So if I swapped in my old hard-drive, Snow Leopard will be accessible and boot as if nothing happened?

Any OS X newer that Snow Leopard. You could even move your Snow Leopard to the new SSD and install another OS X version.

Your question

  Once EFI firmware is updated to work with the latest OSX, is it backwards compatible with older versions by means of swapping in an old HD? I also know OSX has some form of Keychain security, but is it used in the booting process? I will use the same local username/password.

People often return you computer's OS X to factory conditions. Whether this means using a DVD that came with your Mac or downloading from the internet, I do not think any Firmware upgrade would disable your ability to do this. In other words, Firmware upgrades should not prevent Snow Leopard from running on your Mac.

Your question:

  Does signing in with Apple ID on Mavericks/Capitan/Yosemite lock the EFI to that specific OS installation? Like an anti-theft kind of deal? I know Apple is big about security...

No. I currently have two versions of OS X installed. Your Apple ID has nothing to do with the EFI.


Bluetooth Speaker microphones: Can they be used for "Hey Siri"?

To corroborate, my BT speaker-with-mic (a FuGoo) and BT-capable car (a 2012 Mazda) will will route microphone input and speaker output to Siri, but only if she's summoned by button press (long press of the play/pause button on the speaker, long-press of the iPhone's home button in the car). Neither will work with "Hey Siri". I suspect that one obstacle is that neither device has its microphone continuously listening - they are only activated when needed (a call comes in or you trigger Siri manually).

I suspect if a BT speaker manufacturer could make "Hey Siri" work, they'd be sure to list it in their list of advertising bullet points.


Is it possible to use etc/hosts to block a specific part of a whole website

No. You need a web proxy or other filter product that snoops on and processes the URL instead of just the main host.


The following assumes you've got a widget called ExampleWidget.

Ensure that you've removed the application, even if it's running out of your Downloads folder.

To do this, launch Terminal.app on your Mac and type the following commands:

rm -fr /Applications/ExampleWidget*

rm -fr ~/Downloads/ExampleWidget*
Restart Notification Center by running the following command:

pkill -9 -f "NotificationCenter$"


Hostname changes all the time from capital to not capital and back

The local hostname (is set in the Sharing pane of System Preferences) check it at first.

Then if you go to the below path, you might find traces of both upper & lower case hostname     remove one of them and reboot your system.

  /Library/Preferences/SystemConfiguration/preferences.plist.


Is there a plug-and-play card swiper for iPad to get data from the card?

No, there is no way you can do that. Apps can’t pass input to each other. Though there is a method which can be modified to do that, it definitely doesn’t suit you. You will have to write a custom app and use the Square card reader or alternatives.


Problems with Bonjour WiFi on iOS devices

Apple uses Bonjour to establish WiFi connections. It is an Apple bug and caused by the most recent version of iOS in June. One workaround is to turn WiFi off and back on.


How to make Google Chrome Helper not use as much CPU

Invoke ⋮ Chrome Menu → Window → Task Manager to see what exactly consumes CPU. Because the helper is a black box from the OS' side of view. I personally found a mining extension that way.
Also watch for ad content and ad blockers in an escalating war, endless refresh and block cycles.


'Unable to verify account name or password.' when connecting Office 365 account on MacOS Mojave

I've had this same problem for months on Sierra.  Posted my solution re: needing to generate an "app password" here: "Unable to verify account name or password" on outlook.com Exchange server (browser works)


When buying used macbook pro 2010 do I need the cd?

Yep, as long as it's running Mac OS X 10.7 "Lion" or later, that MacBook Pro won't require or even be able to make any use of the boot CDs. The reason being that Lion added the built-in Recovery partition, and many features in Recovery were previously only available on the boot disks.


The first step is to separate the networking configuration and IP address allocation from the WiFi connection itself.

Press option and then select the wireless icon in the menu bar (you should add it to the menu bar in network preferences while troubleshooting).
If you have BSSID / Channel / MCS and the bottom half of the details being reported, then the wireless link is up and working. If not - you have a wireless issue itself to sort out. Start the Wireless Diagnostics (option select the wireless icon in the menu bar) and work through the steps.
Once you're convinced the wireless connection is OK - then focus on the IP address / router / netmask with the goal of making the internet reachable. You might need to log in to the router as well as the wireless base station to determine correct / exact values of net mask, router and IP. Hard code those while you are testing to reduce another device spoofing your IP or squatting on your DHCP reservation as indicated by "another device is using your IP address" message. That basically means your network can't work reliably. If you need help there - use the Network Diagnostics (use spotlight to find and run it)

Basically - you don't need IP to connect to WiFi and if you're messing with IP when the WiFi isn't connected, you're chasing ghosts and not focusing on the narrow issue of the physical link in the network. For that, you might need to go within 5 feet of the device and both should get powered off for several minutes if you suspect the hardware radios are failing.


How can I remove a project from the project list on XCode Welcome screen?

Open Xcode and go to File --> Open Recent.  From there select Clear Menu.  This will remove the shortcut to your most recent projects.  Close Xcode and reopen it.  Skocko project should be gone from the Welcome screen.


I would try the following:

Turn off iCloud Photo Library
Turn off iCloud Photo Sharing
Delete all those pictures
Delete the recently deleted folder
Make sure that you have no other photos in any other folder under the Albums tab
Force Reset your iPhone see instructions
Turn on your iPhone and verify step 5 again
Your storage space should be regained


You could try lots of things. Your carrier (the one you pay) might know how to help. You could get service with Sprint, associate the phone with that service and then get it unlocked. You could return the phone to the person and ask them to unlock it.

I would keep good notes on what you try and then reach out to your local consumer watchdog resources. Local news like to run "stick up for the local person" stories and there are government agencies that regulate carriers that you could share your efforts with.

It's a human policy issue though in the end, someone with access to a shared database needs to make an entry to unlock your device since they all cooperate and track which devices are locked and Apple doesn't really get involved in this according to any report I've seen.

Worst case, you could recycle that phone for cash or resell it if your time is worth more than the effort it would take to get it unlocked.


I know you've already reset the NVRAM (what you're referring to as PRAM), but the first thing I'd try is to reset both the NVRAM and SMC in that order. Before following the steps below, ensure you have no external hardware connected and make sure you use the built-in keyboard.

Reset the NVRAM

Your Mac uses Non-Volatile Random-Access Memory (NVRAM). Here’s how to reset the NVRAM on your particular MBP:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again and you here the startup chime for the second time.
Let go of the keys and let your Mac reboot normally.

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

Once done, proceed to resetting the SMC as well.

Reset the SMC

To reset the System management Controller on your particular MBP, follow these steps:

Shut down your computer
Keep the power cable plugged in
Press at the same time shiftoptioncontrol (on the left side of the keyboard) and the power button and hold all these down for at least 10 seconds
Let go
Turn your computer back on with the power button.

After resetting both the NVRAM and SMC, use your Mac to determine if you still have no sound output.

If it doesn't, then it's time to test your hardware with Apple Diagnostics.

Run Apple Diagnostics

Follow the steps below to run Apple Diagnostics:

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

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

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

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

Regardless, take a note of what happens and let me know how you went.


How can I download plain .txt files in Safari/Chrome?

Safari

Highlight URL in the address bar
Press ⌥ and then ↩ to download.

Chrome

File -> Save As

No options appear as to what the downloaded format is. For a plain .txt file it will be a simple text file.


Can't resize external hard drive partition

(Originally posted as a comment)

Interesting point, I've just erased all partitions and started over, and I noticed that they couldn't be resized after being ejected. However, if I plug the disk back in without unmounting the partitions, they seem resizable.

So it might be just because I had the healthy habit under Linux to unmount my partitions before fiddling with them.


It worked for me as long as pass input was set to as arguments. You could try restarting or creating a new identical service like that.

You have to URL encode the input though:

open https://translate.google.com/#auto/auto/$(ruby -rcgi -e 'print CGI.escape(STDIN.read)')

Or if you don't want to use ruby:

xxd -p | tr -d '\n' | sed 's/\(..\)/%\1/g'


At the OS X command line, try: sudo nvram boot-args="arch=x86_64".

EDIT:

Try resetting your NVRAM to get you back into OS X.  Since we added a value to the boot-args variable in NVRAM, resetting it will clear it out.

If/Once you get back into OS X, try the following per Apple:

sudo systemsetup -setkernelbootarchitecture x86_64

Rather than write into the NVRAM (which was likely modified by rEFIt), this writes a value to com.apple.Boot.plist and persists on the volume.


Unable to connect Time Machine to WD MyCloud EX2 on Sierra

Please try to connect to your disk using afp://yourserver.local

If it shows up in your Finder (CMD+K) you should be able to mount it in time machine.


A while back (maybe two years ago), I ran into the same situation.  I had to e-mail apple support before I could re-download it.  They warned me, saying that I should make backups, and that next time I would have to purchase the music again.  As it turns out, I actually did lose the music a second time (because I was an idiot), and sure enough they wouldn't let me re-download it.

Perhaps their policy has changed now that cloud computing was so prevalent, but it may be worth a try e-mailing them.


I also use POP rather than IMAP and also for the same reasons, although my overall setup is a little different. That said, you should be able to still manually fetch your emails on iOS 11 as follows:

Open Settings
Tap on Accounts & Passwords
Tap on Fetch New Data
Ensure that the Push toggle at top is off
Now at the bottom of the page, tap on Manually


iMessages -> Screen Sharing - is there some trick to actually making this work?

I had to fight with this recently to screen share with my mother so hopefully I can shed some light on some issues you may be having.

Per Apples support page on Screen Sharing:

  You can share screens using AIM, Jabber, Google Talk, and Bonjour. You can’t share screens using iMessage or Yahoo!.

That being said, you'll want to go to the preferences pane of iMessages and make sure you have an account added and enabled that supports one of those protocols. In my case, I added my Google Talk account. The other person will ALSO need to have one of these accounts enabled and signed in. I would presume on the same service also.

Back on the main iMessage window, you'll want to make sure you're signed into that account by looking at the bottom left hand corner of the window and making sure you're online.

Once that's done, you'll want to switch to the user you would like to screen share with and click on the details link in the top right. Then select the icon with the two overlapped screens, like below, and select the appropriate option.

The person on the receiving end of your screen share request should be able to accept it and that's that.

I do remember there being some weirdness around some security issues with Google Talk so you may have to do some research about that if it doesn't work, but that's the general procedure I had to follow for it to work.


My Mail app (MacOS Catalina 10.15.3) displays phantom unread messages

Quit Mail if it’s open.
In ~/Library/Mail/V7/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.
Your home Library folder is hidden by default. To display it, choose Finder > “Go to Folder” and then enter “~/Library.”
Open Mail.
Mail creates new Envelope Index files. This process may take a few minutes, depending on how many messages Mail is reindexing.

It will fix your issue.


How do I turn of all notifications at once on my iPhone 4S on 5.0.1

If you just want to disable sounds, then you can flip the mute switch above the volume buttons. If you want to disable notifications that are based on an Internet connection (e.g. NYTimes, ESPN), you can put your iPhone in airplane mode which turns off wifi, 3G, and Bluetooth so you don't have an Internet connection. For apps that send notifications at a certain time (e.g. iCal reminders), there's no easy way to turn those off all at once other than turning them off individually in settings>notifications.


Cmd-Shift-Tab behaves differently when on dual screen

samh nailed it in the comments. The issue is the use of an external bluetooth keyboard, and has nothing to do with dual monitors / spaces. The dual monitors are part of my office setup, which also has a bluetooth keyboard. I noticed that when using the computer at home (away from the office), the problem went away, and for some reason concluded it had something to do with the dual screen setup (forgot all about the keyboard).

The keyboard is a Logitech Bluetooth Easy-Switch Keyboard K811. I will see if I can find any keyboard setup and/or driver updates that fixes it. Very annoying.

Update: Updated to latest K811 drivers, no change. Googled a bit more and found:

http://forums.logitech.com/t5/Keyboards-and-Keyboard-Mice/K811-left-shift-key-quot-flickers-quot-when-used-together-with/td-p/1066141

tldr; Logitech is probably aware of it, but do not care enough to fix it. It's a great keyboard and Logitech should fix it, but it's hard to recommend it until they do. Switching apps is kind of a core function in a window system...


How can I permanently suppress the firewall access prompt while developing a server program

I fully understand your needs, but do not know specific answer.

Since you are a programer,you will be able to figure it out using the

Configuring IPFW firewalls on OS X

if you need special features like:

Firewall filters that include qualifiers on host or network addresses
Firewall filters that operate on other than TCP or UDP protocols
Firewall filters that include the whole range of ipfw qualifiers,
such as IP options, ICMP types or TCP flags
Per-filter logging configuration, including the ability to log
allowed connections and the option to not log certain types of denied
connections
NAT port forwarding or other custom NAT configuration
Different filter configurations on different network interfaces.
A persistant, searchable firewall log entry database with graphical
log viewer
Scriptable control of your firewall, such as via cron or other shell
automation
Access and ability to easily edit the raw firewall configuration
text, including an integrated ipfw filter syntaxchecker.

...then you should consider using Flying Buttress.

The Author has stopped supporting it, but can be reached here:

Web site http://personalpages.tds.net/~brian_hill

Support web site http://personalpages.tds.net/~brian_hill

Support e-mail brianhill@mac.com

One more try: with something called Little Snitch

Silent Mode – Decide Later

There are times where you don’t want to get interrupted by any network related notifications. With Silent Mode you can quickly choose to silence all connection warnings for a while. You can then later review the Silent Mode Log to define permanent rules for connection attempts that occurred during that time.


How can I bind only Left-Option to Meta/ESC in Terminal?

There's probably a better way to do this, but you could try saving this as private.xml in KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
<appdef>
<appname>APPLETERMINAL</appname>
<equal>com.apple.Terminal</equal>
</appdef>
<item>
<name>Terminal meta</name>
<identifier>private.terminal-meta</identifier>
<only>APPLETERMINAL</only>
<autogen>__KeyToKey__ KeyCode::A, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::A</autogen>
<autogen>__KeyToKey__ KeyCode::B, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::B</autogen>
<autogen>__KeyToKey__ KeyCode::C, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::C</autogen>
<autogen>__KeyToKey__ KeyCode::D, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::D</autogen>
<autogen>__KeyToKey__ KeyCode::E, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::E</autogen>
<autogen>__KeyToKey__ KeyCode::F, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::F</autogen>
<autogen>__KeyToKey__ KeyCode::G, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::G</autogen>
<autogen>__KeyToKey__ KeyCode::H, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::H</autogen>
<autogen>__KeyToKey__ KeyCode::I, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::I</autogen>
<autogen>__KeyToKey__ KeyCode::J, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::J</autogen>
<autogen>__KeyToKey__ KeyCode::K, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::K</autogen>
<autogen>__KeyToKey__ KeyCode::L, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::L</autogen>
<autogen>__KeyToKey__ KeyCode::M, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::M</autogen>
<autogen>__KeyToKey__ KeyCode::N, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::N</autogen>
<autogen>__KeyToKey__ KeyCode::O, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::O</autogen>
<autogen>__KeyToKey__ KeyCode::P, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::P</autogen>
<autogen>__KeyToKey__ KeyCode::Q, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::Q</autogen>
<autogen>__KeyToKey__ KeyCode::R, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::R</autogen>
<autogen>__KeyToKey__ KeyCode::S, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::S</autogen>
<autogen>__KeyToKey__ KeyCode::T, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::T</autogen>
<autogen>__KeyToKey__ KeyCode::U, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::U</autogen>
<autogen>__KeyToKey__ KeyCode::V, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::V</autogen>
<autogen>__KeyToKey__ KeyCode::W, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::W</autogen>
<autogen>__KeyToKey__ KeyCode::X, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::X</autogen>
<autogen>__KeyToKey__ KeyCode::Y, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::Y</autogen>
<autogen>__KeyToKey__ KeyCode::Z, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::Z</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_0, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_0</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_1, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_1</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_2, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_2</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_3, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_3</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_4, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_4</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_5, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_5</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_6, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_6</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_7, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_7</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_8, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_8</autogen>
<autogen>__KeyToKey__ KeyCode::KEY_9, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEY_9</autogen>
<autogen>__KeyToKey__ KeyCode::BACKQUOTE, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::BACKQUOTE</autogen>
<autogen>__KeyToKey__ KeyCode::BACKSLASH, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::BACKSLASH</autogen>
<autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::BRACKET_LEFT</autogen>
<autogen>__KeyToKey__ KeyCode::BRACKET_RIGHT, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::BRACKET_RIGHT</autogen>
<autogen>__KeyToKey__ KeyCode::COMMA, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::COMMA</autogen>
<autogen>__KeyToKey__ KeyCode::DOT, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::DOT</autogen>
<autogen>__KeyToKey__ KeyCode::EQUAL, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::EQUAL</autogen>
<autogen>__KeyToKey__ KeyCode::MINUS, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::MINUS</autogen>
<autogen>__KeyToKey__ KeyCode::QUOTE, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::QUOTE</autogen>
<autogen>__KeyToKey__ KeyCode::SEMICOLON, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::SEMICOLON</autogen>
<autogen>__KeyToKey__ KeyCode::SLASH, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::SLASH</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_0, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_0</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_1, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_1</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_2, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_2</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_3, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_3</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_4, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_4</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_5, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_5</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_6, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_6</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_7, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_7</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_8, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_8</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_9, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_9</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_CLEAR, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_CLEAR</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_COMMA, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_COMMA</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_DOT, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_DOT</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_EQUAL, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_EQUAL</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_MINUS, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_MINUS</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_MULTIPLY, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_MULTIPLY</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_PLUS, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_PLUS</autogen>
<autogen>__KeyToKey__ KeyCode::KEYPAD_SLASH, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::KEYPAD_SLASH</autogen>
<autogen>__KeyToKey__ KeyCode::DELETE, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::DELETE</autogen>
<autogen>__KeyToKey__ KeyCode::ENTER, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::ENTER</autogen>
<autogen>__KeyToKey__ KeyCode::ESCAPE, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::ESCAPE</autogen>
<autogen>__KeyToKey__ KeyCode::FORWARD_DELETE, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::FORWARD_DELETE</autogen>
<autogen>__KeyToKey__ KeyCode::RETURN, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::RETURN</autogen>
<autogen>__KeyToKey__ KeyCode::SPACE, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::SPACE</autogen>
<autogen>__KeyToKey__ KeyCode::TAB, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::TAB</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_UP, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::CURSOR_UP</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_DOWN, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::CURSOR_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_LEFT, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::CURSOR_LEFT</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_RIGHT, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::CURSOR_RIGHT</autogen>
<autogen>__KeyToKey__ KeyCode::PAGEUP, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::PAGEUP</autogen>
<autogen>__KeyToKey__ KeyCode::PAGEDOWN, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::PAGEDOWN</autogen>
<autogen>__KeyToKey__ KeyCode::HOME, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::HOME</autogen>
<autogen>__KeyToKey__ KeyCode::END, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::END</autogen>
<autogen>__KeyToKey__ KeyCode::UK_SECTION, ModifierFlag::OPTION_L, KeyCode::ESCAPE, KeyCode::UK_SECTION</autogen>
</item>
</root>

This wouldn't work with repeated key presses:

__KeyToKey__ KeyCode::OPTION_L, KeyCode::VK_NONE, Option::KEYTOKEY_BEFORE_KEYDOWN, KeyCode::ESCAPE


Viber messenger not working on my ad-hoc wireless network

Because your friends iDevice works, it may make this consideration useless. http://www.viberfaq.com/why-cant-i-use-viber-on-some-wi-fi-networks/ suggests that these ports are required for Viber to work.

TCP: 5242 and 4244
UDP: 5243 and 7985 (9785) (7985 is the port specified on the Viber) troubleshooter

However, the symptoms of having closed ports would be no connection to Viber. Maybe there is an application taking these ports on your Windows Machine intermittently.


Prevent preview from creating text boxes

Open the Markup toolbar  and switch from Text Selection  to Rectangular Selection .

It's not possible to set this as the default — this must be changed each time you want to disable this functionality.


FileVault 2 encrypted disks with my home directory on a different drive

When logged in as your admin user, you can use Keychain Access.app and just move (or copy) the keychain item containing the password for the encrypted volume to the System keychain.  This makes the password available at boot time. I've got a similar setup, and it worked like this for me.


Spotlight overlay stopped working on Catalina

Nevermind. I had an external screen connected and am using spaces. The overlay did just open in a not active space not visible to me...


Will signing in to iMessage on another device send an email to the Apple ID notifying of this?

It will send an email telling her iMessage has been enabled on a device. But there's no grant/deny option, it's just an informational email.


According to the Apple Developer documentation stack shot is to used collect all kind of information about a crashed process.

Apparently you used a button combination that activates Stackshots. On iOS it’s works like this (assuming tvOS works almost the same);

  Stackshots

  For freezes or hangs with your iOS device, or when stackshots are requested, please follow the instructions below to capture and attach them.

  Press the Home button and either volume button on the device at the same time

  Note: Press the button combo several times to capture a series of stackshots

https://download.developer.apple.com/iOS/iOS_Logs/Stackshot_Logging_Instructions_iOS.pdf


How to get rid of this icon on my lock screen?

Go to Settings → General → Handoff & Suggested Apps and disable Installed Apps under Suggested Apps. This removes suggested apps from both the Lock screen and app switcher — it's not possible to disable one without the other.


How to reinstall Viber with no connection with my previous Viber usage?

This can be fixed by Deactivating the account. Settings -> Account -> Deactivate account. Then type in your phone number and click deactivate. This will remove all data from the old account and allow you to setup as new.


I haven’t heard of any apps that work in 10.10 and don’t work in 10.11. Certainly not mainstream apps. Roaringapps.com shows no applications with a “doesn’t work” for 10.11


Do MacOS Mojave or Catalina have crontab equivalent?

No, by default, there are no folders on macOS that allow any user to write into them, and then have the content executed automatically. This would be deemed a security risk by Apple.

cron and launchd

crontab exists on macOS. The use of cron is deprecated; Apple recommend launchd where possible.

With launchd each user has their own folder, ~/Library/LaunchAgents. Processes started through this mechanism are limited to the scope of the associated user's graphical user session.

launchd also provides locations for computer wide folders, see the manual page Files section on /Library/LaunchAgents and /Library/LaunchDaemons.

Watched Folders

macOS includes support for watched folders. These are likely the closest built-in solution to your description:

  The ability to watch folders and take action on incoming items is a powerful automation technique that enables the creation of fully unattended workflows. A watched folder might be used, for example, to watermark incoming photos, convert them to PDF, and email them to clients for review. Many companies set up script servers—dedicated robot machines that watch folders and process detected items, allowing employees to offload tedious and repetitious work in order to focus on other important tasks.

  In OS X, there are two primary ways to set up scripting-based watched folders: folder actions and stay open script apps.


How to make a clean install of OpenSSL on El Capitan

Not sure if this is a complete solution but OPENSSLDIR is pointing to the wrong place. Also various compilation instructions include the "shared" option.

So try this and let us know how you get on.

./Configure darwin64-x86_64-cc --prefix=/usr --openssldir=/System/Library/OpenSSL shared
make
sudo make install


Why does Safari sometimes bookmark a different URL?

Then use “Add bookmark” or “Add to Favorites”, iOS instead bookmarks this URL:
  https://en.wikipedia.org/wiki/UK

The rest of the title is telling it not to redirect as it is a redirect page as is removed.

  (Wikipedia then automatically redirects it to https://en.wikipedia.org/wiki/United_Kingdom .)

The page is a redirect page so it redirects it unless you put &redirect=no at the end of the title

  “Add to Reading List” seemingly uses this amended URL too, while “Add to Home Screen” uses the unchanged

Add to reading list is the same explanation while add to home screen just copies the link.


The answers provided helped me resolve my CardDAV verification issue.  Here are the exact steps I took:

Sign in to your Google Account at:   https://myaccount.google.com/
In the Sign-in & Security section select:  ‘Signing in to Google’
Select ‘App Passwords’
From the dropdowns:  Select the app (contacts) and the device (iphone)
Follow the instructions in the pop-up to enter the verification code as the password for your google account on your phone.

I have IOS 11.4.


When your freind has a mac or iOS device with airdrop, you can send it to him without any wires.

On your macbook you can use the share-button (square with arrow in it) to share the file. There should be numerious ways to share a video.

I think it is notossible to import a video directly to someones icloud unless it is enabled on your mac.


A standard way of dealing with a system crash / freeze

If force-quitting doesn't work you have a few options:

Sit it out and wait for the Mac to churn through whatever it is stuck on (this doesn't always work, but I've had beachballs go away over time).
Trying opening Activity Viewer and see if you can kill the process there. Same caveat as above.
Force-shutdown the Mac by holding the power button for seven seconds. This always works.

The relationship between Mac OS X and the Unix underpinnings aren't the same as they are between X window/GNOME and the kernel. It isn't nearly as open, so there is really no messing with the kernel near as I can tell in Mac OS X. I usually go the route I mentioned above and as long as I maintain the system properly and regularly I always seem to get back on my feet without any problems.


How to raise the brightness on a computer using terminal

Install Homebrew. (Bonus points for already having it installed)

Once that's all well and good, enter brew install brightness

Now, all you have to do is type in brightness <level> to change your laptop's brightness. Change level to your desired brightness on a scale of 0 to 1.

(example: enter brightness .27 for 27% brightness)

Some bonus tips:

entering brightness -lv will print some detailed info about your display, as well as your brightness level.
brightness -l will give you some information about your display, but considerably less than -lv. It still prints your current brightness.
The project is open-source on GitHub. Kudos to @nriley for making this project.


Fix "fork: resource temporarily unavailable" on OS X / macOS

If your computer is routinely bumping up against process limits and it is not due to some runaway program or malware, then instead of trying to override the defaults, you should switch to a different set of defaults known as "Performance Mode" (a.k.a. "Server Performance Mode" or perfmode or serverperfmode).

To do this on El Capitan (and later macOS versions until further notice), you do not need to create new files or mess with turning SIP on or off, all you need to do is

$ sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"

This is officially supported by Apple, and changes the default configuration of your computer from an interactive computer you are going to use for email and web browsing to a server you are going to use to run a lot of non-interactive software.

The new limits depend on how much memory you have and require you have at least 16 GiB of memory installed, but at a minimum, you will see your user limit on the number of processes you can run increase from 709 to 3,750 and many other limits are increased. Most importantly, systemwide limits will also increase so that a single rogue user or program will not be able to crash the system through resource exhaustion.

This is a much better way to increase your system limits because it increases all the interrelated limits in a consistent way, taking into account the capabilities of your specific computer. It's also much easier to do. The only downside is that if you ever reset your NVRAM, you will need to run the nvram command again to turn performance mode back on. But that is also a plus, because if the new settings really get you into trouble, all you need to do to undo them is reset your NVRAM, which is a normal step in recovering when things go really bad. If you instead created the LauchDaemons plist files some people suggest, you would have to remember about them to remember to edit or delete them to get back to a standard configuration.


Fantastical: how to add alerts/reminders in text

From the same blog post:

  If you’d like to force Fantastical to create a reminder regardless of what you enter, you can start a sentence with “reminder”, “todo”, “task”, or “√” (⌥ option + V).

Also…

  You can quickly set the priority of a new reminder by adding exclamation points to the end of your reminder. More exclamation points will increase the priority of the reminder.


Can automation service to get the parent folder path?

Create a new Automator Service, with the following settings:

Service receives selected [files or folders] in [Finder]

Add a Run Shell Script action, with the following settings:

Shell [/bin/bash]               Pass input [as argument]

Replacing all of the default code with the example code below:

toTheClipboard="File Path: file://$(sed 's: :%20:g' <<< "$1") Parent Folder: file://$(dirname "$1" | sed 's: :%20:g')"
pbcopy<<<"$toTheClipboard"

Save the Automator Service, then in Finder, select an item and right-click selecting the service from the Services context menu. The service is also available from the Finder > Services menu.

You can then paste from the clipboard to wherever you want it.

Note: The example code is just that and does not employ any error handling and is meant only to show one of many ways accomplish a task. The onus is always upon the User to add/use appropriate error handling as needed/wanted.


Combining Finder's File Open/save dialog with Alfred

Once you find the file using Alfred, you can copy its path to the clipboard and paste that path into the Go to Folder tool of open/save dialogs.

Find your file in Alfred, press the right arrow key to view the list of operations for that file, the up arrow key to go to the last option (Copy path to clipboard), and then the enter key to activate that option.
Switch back to the open/save dialog, press cmd-shift-g to  open the Go to Folder dialog, paste the path in, and hit enter. The file will be selected and you can hit Enter to open/save.

If you're interested in getting some more flexibility out of Open/Save dialogs, I highly recommend Default Folder X. It's immensely powerful and customizable and could eliminate the need for workarounds like this.
$35, 30 day trial


Mac Frequent SSL errors when trying to reach google.com

Quit Safari. Then go to

System Preferences > Network

Click the padlock at the bottom, enter your Admin Id to unlock it. Then click 'Advanced...' and hit the 'DNS' tab. Remove the DNS address(es) with  the +/- buttons at the bottom and replace with Google's DNS server

8.8.8.8

Click 'OK' and close System Preferences (command-Q).

Flush the DNS cache by opening Terminal.app and pasting this into the Terminal window:

sudo killall -HUP mDNSResponder

press 'return' on your keyboard, then enter your admin password, which will be invisible when you type it (so type carefully).

Restart Safari and test.

If the problem persists, open the /etc/hosts/ file by typing this in Terminal

sudo vi /etc/hosts

Look for any lines that mention either google.com or apple.com. Highlight them with the mouse and 'control-c' to copy. Past them as a response here. You can close the vi page by

first hitting the 'esc' key, then typing

:q

(that's a colon and a 'q') then pressing 'return'. Quit Terminal.


Why I can’t use zoom+ or zoom- in firefox4 in mac‘s Multi-Touch Touchpad?


Prevent MacBook Pro 2016 from sleeping (High Sierra)

Use this on the terminal :

caffeinate -u -t <time_awake_in_secs>

It will keep the screen awake, avoid any restart till the time specified.

Use only

  caffeinate

if you want to endlessly keep the system awake.

To end this mode press control c or kill the terminal


Fullscreen Flash video only shows 1/4 of video

I've found it. After looking a little further, I was able to find something I missed some time ago.

  In the URL bar enter chrome://plugins/
  Locate the Flash plug-in, you should see multiple versions listed
  Click Disable for the plug-in with the location /opt/google/chrome/PepperFlash/libpepflashplayer.so
  You should still have one enabled in another location, like /usr/lib/adobe-flashplugin/libflashplayer.so
  Restart Chrome (quit and open again)

Source: https://code.google.com/p/chromium/issues/detail?id=135353#c25

This fixed it for me!


They just send a code in form of a text to your phone, you accept the code and send it back. That's all.


Bluetooth connection to Sony Bluetooth Headphones (Macbook Pro 2014 / iPhone 6s)

That's not the way Bluetooth works.  While you can connect multiple devices (multiple BT profiles) you can't connect them simultaneously.

  I want to have it that I can listen to music on the Mac, and answer a
  call on the phone when it comes in.

This is where Apple's Continuity comes into play.  You can have your BT headphones connected to your Mac and simultaneously make/receive phone calls and have them come through the headphones (or via the internal mic and speaker if you want).


Stop iTunes from creating a local library on start up

I've had this happen as well.

The best solution is not to let iTunes open unless the drive is connected, but I see how that isn't always possible when on the road.

I found that (in OS 10.6 and iTunes 9, at least), if you make the MUSIC Folder in your home directory (~/Music/) read-only, it will not be able to automatically create an iTunes directory in the default location, and thereby it will prompt you to find the iTunes library.

As an alternative, you can hold down the Command key when opening iTunes, which will prompt you to connect to a Library.

Alternative 2: If you make a Symbolic link to the iTunes Library in your music folder, it will attempt to mount the drive in order to find it.


Problem with cmd + tab now that I've loaded macOS Sierra

Force quit Dock from Activity Monitor. Dock automatically restarts, and Cmnd+Tab should now work. Some glitch with Dock, it seems. Worked for me.


After digging a lot of sites on the web, also including StackExchange, I finally stumbled on this blog by Kirk McElhearn. However, it only pointed me the right direction. After trying different methods, the correct solution was not to disconnect my iPhone from the internet while I synced, but to disconnect my PC from the internet before I started the sync process. Here is the result:

And voila!

It finally showed the correct album-art. However my problem was fixed only for that particular song. I had to delete all the songs that had mismatched album-art and re-sync those songs again. It was a pain-in-the-a**, but the result was worth it (if you are particularly OCD about keeping your music perfect).


How do I type an acute accent on the Russian PC keyboard layout?

Here is a custom layout I made once which lets you put in the stress marks on Russian text.
The combining acute character needed for this is also available in the ABC Extended keyboard at Option Shift e, or in the Character Viewer at U+0301


Should I play games natively on Mac OS when they are available?

tl;dr: Play games on the platform where you want more games available in the future.

Some software work better on certain platforms. Many applications, especially games, are usually made with mainly Windows in mind*, and only afterwards ported to other platforms. Sometimes companies/developers don't invest enough money/time/effort on making the non-Windows versions work quite as well. Of course, the reverse may be true too, but usually PC games are primarily targeted at Windows users.

Depending on how you want to shape the world, you have a couple of choices:

Full OS X: If you want more games on OS X in the future, play as many of those games on OS X as possible. More gamers on non-Windows platforms makes developing games for non-Windowses a more viable and attractive business for game companies.
Fifty-fifty, the golden mean: just try out both versions and see for yourself which one works better.
Full Windows: If you're serious about PC gaming, and don't care about affecting the status quo, Windows is your best bet, as that's where most of the games are.

* since that's what most PC gamers use (which, in turn, is because that's the platform that most games are made for, because that's where the most PC gamers are, etc.)


The graphics card on my old MacBook Pro broke. How do I transfer my files if I cannot see anything?

Your best option is to boot the old mac into Target Disk Mode, which turns the whole thing into an external drive for the new Mac.
Connect the two together using a Thunderbolt 3 cable (it may need to be a "Thunderbolt 3 cable", rather than just a USB C one).
Then boot the old Mac while holding down T.
You can then run Migration Assistant, which will copy everything over for you.
https://support.apple.com/en-gb/guide/mac-help/mchlp1443/mac
Without wishing to be too schoolmastery, once you've retrieved all your files, I hope this will encourage you to backup your files in future!


How to get out a stuck cd out of my mac mini (not the actual model the one from 2010? (slot-in drive)

Recent Apple portable optical drives (i.e. anything < 5 yrs old and not a Mac Pro) no longer have the "paper clip" levers so your best bet is to take it to a technician that is able to open the mac and safely retrieve the stuck media. If you are curious, iFixit does publish fairly good mac repair guides so you decide to pay someone or DIY. You'll have better luck trying to trigger the eject lever deeper in the right hand side with something thinner than a ruler.

The mechanism is obviously stuck or obstructed if you hear it trying to eject when the software commands an eject.

Forcing things more often causes additional damage rather than somehow inducing the internal eject mechanism to work again. If you are gentle and can tickle the eject lever or gently guide the CD out, your chances of success are that much higher. The cases where a light touch won't work is a signal that permanent damage to the device or the media is imminent.

It's almost always cheaper to buy a USB external if the internal breaks, so factor that into your calculation if you just want to yank out the stuck drive no matter the long term health of your optical drive.


Is there a shell script to send notifications on mail events?

Web mail isn't going to be a basic scripting topic, so since you're new you'll need to have a mail client set up.

Assuming that's the case, heres a script that checks for new mail by comparing dates of latest messages. It checks every 10min and will send a notification if there's new mail.

Open Script Editor
Copy and Paste the script
Go to File>Export
File Format = Application
Make sure Stay open after after script handler is checked
Open the application

tell application "Mail"
set new1 to date received of (first message of inbox)
repeat
    check for new mail
    delay 5 --wait until all new messages are in the box
    set new2 to date received of (first message of inbox)
    if new2 is not equal to new1 then
        display notification "You've got Mail." with title "New Mail"
    end if

    ## For the AOL Effect ##

    # do shell script "say \"You've got mail\""
    set new1 to new2
    delay 600 -- 10 min in seconds
end repeat
end tell


Using iPad 1st gen to read PDF files offline

You don't need to install any app from the App Store to read PDF files. The stock iBooks app is sufficient to store and read PDF files in offline mode.

You get the PDF files in iBooks, you can open the PDF file in Safari (if it is hosted on a web-server and accessible by a URL) and copy it to iBooks app. Alternatively, you can sync PDF files from your Mac via iTunes.

The iBooks app for iOS is no longer compatible with iOS 5.1.1 and it is no longer possible to install it on iPad 1st generation.

An alternate approach to get PDFs onto the iPad to read in offline mode is to iMessage it to the device. Step by step instructions as follows:

Set up iMessage on the iPad (by logging in with an Apple ID).
From another iOS/macOS device, iMessage the PDF file to the Apple ID setup on the iPad.
Once the message is received on the iPad, tap on the PDF thumbnail to download it. The PDF files gets downloaded and stored internally in the iMessage app. The same can now be accessed even without network.
To view the PDF, simply tap on the thumbnail to view it full screen.

The only glitch with this approach is that the last read page history is not preserved between launches. Neither are features like bookmarks and search available.


You're never going to get zero latency. The amount of latency you do get will depend on buffer size, which should be settable in either the driver or your audio app's control panel. The smaller the buffer, the greater the processing power needed to achieve it, hence the breakup as you reduce it.

Investigate using any app that can use ASIO rather than the system drivers, & don't run any unnecessary apps at the same time.


Use a single shortcut to activate an app (might running in other spaces) in the current space

I only have a partial answer that solves following question: How to assign a single shortcut to activate an app?

This solution will:

start the app when it is not running
when it is running, bring it to the foreground, meaning that the focus will be set to this app.

This can be achieved without a third party application.

Open Automator and select Quick Action (might be called Service in version of macOS earlier than Mojave)
In the new workflow, search for the action Launch application by searching for it in the name searchbox.
Double tap Launch application, which will be added to workflow pane.
Select your application from the dropdown list. By default only applications in /Applications will be selected, so choose other... if needed.
Save the workflow. Name it something sensible like Open MyApp.
Open System Preferences > Keyboard. Click the Shortcuts tab and select Services from the left hand pane.
Under General in the right hand pane, you will find your freshly created workflow. Assign a keyboard shortcut there.

Hope this helps.

Tested on Catalina 10.15.4.


Cannot access .local addresses from my iOS devices

I figured out a temporary work-around:

Turn airplane mode on and off

This flushes the DNS cache on the iPhone, which caches DNS resolutions set by Apple's Bonjour, which uses .local for things like airplay and printer service broadcasting.

Once you do this with airplane mode, access to .local addresses on your network should start working, but it's only a temporary fix.  Once Bonjour tramples over the DNS settings, it will stop working again.  You can repeat this trick to restore access, but for a more permanent fix, you'll just have to use your DHCP-assigned IP address.

If you need .local DNS resolution to work reliably, Apple needs to fix this issue, so I suggest you submit feedback to them.

I blogged about the issue here.


Make the default location for all save and open actions Google Drive File Stream

By default, there is no way to do this in Mac OS.

However, you can do it with Default Folder X, an app which is specifically designed to set default open and save folders. (Hence the name.)

It is a great app from a long, long, long-time Mac developer. Highly recommended. Comes with a free 30-day trial.


I haven't tried it myself, but had this conversation with someone else who used SmartTrash. Give it a go.


How to change secondary/fallback language on iOS 8?

For the future reference of anyone reaching this page VIA Google, I found an answer to the problem here. Basically, at the upper-right corner of the screen there's an "edit" button that allows you to change the order of or remove languages, but this Edit button looks like it has nothing at all to do with this "preferred languages" setting which is the second in the list on this page.

(because logic)


To change default map application in iPhone

You can't change the default app. Some apps give you the option to choose which app to open maps/directions in, but this varies per app and app developer. There is no system toggle and Safari/Siri/etc will continue to open maps in Maps.


Why does "(null)" want access to my Twitter accounts?

It is a bug in the Twitter app, not a virus. (null) is simply what the program gets when trying to insert a nonexistent name into would like access to Twitter accounts.

I would report this as a bug to Twitter.


Macbook Air Logitech K120 USB Keyboard auto remapping problem

I think best solution it's made your own keyboard layout with Ukelele.

I solved the problem that interchange "ºª" and "<>" key behaviour on Genius keyboard.
https://github.com/equiman/ukelele-es-layout/blob/master/README.md

Maybe can help you too.


It is unlikely you will find a reliable and trivial tool for changing the processor's low level power management away from Apple's recommendations.

As a user, you are limited to the options available in the Energy Saver panel of System Preferences and pmset.

To stop the processor stepping up or down depending on power available, will require a custom kernel extension.

OS X's power management is handled by a layer called IOKit within the kernel. Writing code within the IOKit is not trivial; mistakes can induce kernel panics and do serious harm to the system's stability.

As of 10.8.2, OS X considers 20% battery to be the first stage of a low battery warning.

If your battery is at 5%, it is likely your Mac will shortly be entering emergency sleep or hibernation mode in order to safeguard your data.


HTML5 and Flash are not the same thing.

Flash is a proprietary browser plugin. Flash is not available on iOS devices, full stop, and support outside of iOS devices is spotty at best.

HTML5 audio playback is supported by mobile Safari as of v6.0 (which corresponds to iOS 6 that came out in 2012) according to this page, as well as Google Chrome which runs on Android devices. Between those two, you are covering 95+% of the market for mobile devices.

Presuming you are targeting mobile devices, HTML5 audio would be the best solution. If you are also targeting desktops, HTML5 with a Flash Player fallback would probably be worthwhile.


Sierra Terminal Automatically Escapes Pasted URLs

This is either a bug in zsh or a configuration issue for bracketed-paste-magic or url-quote-magic

You could use a different shell or remove / add configuration for zsh to remedy this feature/bug:

How to disable URL escape in zsh


It seems the permissions on /usr are incorrect, which in the past has been attributed to installing MacPorts. You can repair the permissions on /usr by running:

sudo chown root:wheel /usr
sudo chmod 0755 /usr

Since MacPorts installs to /opt/local, this shouldn't affect MacPorts, but as I don't use MacPorts I can't say for certain.


What must I enter into Terminal, using sudo to make myself an administrator?

If the actual user < user_name > has a standard account, you would have to enter

sudo dscl . -append /Groups/admin GroupMembership <user_name>

to make < user_name > an admin.

Only a restricted number of users are sudoers (i.e. accounts which are allowed to run su or sudo with root privileges successfully) though. The standard sudoers file (/etc/sudoers) in OS X looks like this:

...
# User privilege specification
root    ALL=(ALL) ALL
%admin  ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
# %wheel    ALL=(ALL) ALL
...

So only root and members of the admin group are allowed to run sudo by default. The above command run by < user_name > will fail consequently, because  < user_name > isn't in the list.

To enable sudoing for < user_name >, you would have to add < user_name > to the list (below # User privilege specification) or uncomment the %wheel line with sudo visudo which has to be run by sudoers again (that's the Catch22 mentioned by Tetsujin).


You can actually just remap the Modifier keys, if that would help - it would save you having to try modifying all the standard shortcuts.

System Prefs > Keyboard > Keyboard > Modifier Keys…
Below is an example showing  Cmd ⌘  &  Ctrl ⌃  swapped


Place two fingers on the keyboard and drag the two fingers around to move the cursor.

On iPhone, you don't hold a specific key — the action is initiated with 3D Touch anywhere on the keyboard with one finger. As you mentioned, iPad does not currently have 3D Touch, but you can use two fingers to manipulate the cursor like you did on your iPhone with one finger. The iPhone functionality came after the iPad keyboard cursor trackpad was implemented.


Macports version of IDLE needs X11 to be installed on the computer

Check you've X11 installed and if not download and install it here - https://www.xquartz.org/

If installed check it is version 2.7.9 .. if not update it using the link above

If it is installed and up to date and IDLE still gives the above error run the following command in a terminal window to get X11 to autolaunch
     launchctl load -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist


Is there a terminal command to restart an application?

You're using cs6 that uses Java 6 and Yosemite I believe is Java 8. You could try installing java 6 but it isn't supported and neither is DWcs6. Unfortunately that's the way of it. I don't know if you have a creative cloud account. They provide all updates. If not you could try the Java route or another FTP client. :/
Edit::
Correction. I forgot since o have to install Java for dev purposes. Yosemite doesn't come stock with it. BUT I found this. It may help. http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US


How to highlight all search results within the Terminal application screen buffer

Cmd+F to open the find window, and then type your find keyword
After you've entered your keyword, go to Edit → Find → Select All
Your search term should now be highlighted:

Unfortunately, this has no keyboard shortcut by default and you can't add a keyboard shortcut for this via the normal Mac settings (without installing a third-party automation app) because it would conflict with the "Select All" option that is being used as a top-level action inside the Edit menu, before the Find submenu.

However, you could add a keyboard shortcut for "Select All in Selection", the only downside to this is you have to select the region you want to highlight before executing the key combination. Here's how to set up this workflow:

Click on the  menu on the top-left and go to System Preferences
Select Keyboard.
Select the "Shortcuts" tab
Click on "App Shortcuts" on the lefthand side menu
Click on the "+" button, then select "Terminal.app" as the app, "Select All in Selection" in the Menu Title field, and the "Shortcut" key combination you want to use (Cmd+Shift+F in my case, but you can choose whatever you want).
Click "Add"

Now, inside Terminal.app you can use this like:

"Cmd-A" to select all
"Cmd-F" to open the find bar
Type in your search phrase
Because everything is still selected, you can use your shortcut you just specified (e.g. Cmd+Shift+F) to highlight your find keyword in your terminal window.


Firstly ask your parents to turn on your iPad and connect it to the local network.
If you have remote administration on your router you'll be able to do the next steps yourself, else you'll need your parents to do it.

Login to your router's administration page
Get the external IP address of your router (if you can set up dynDNS this will make your life easier in the future)
Work out the IP address of your iPad
If your router allows you to, it'd be useful to assign it with a static IP address
Navigate to the port forwarding page (probably under security or firewall)
Configure port 22 (standard for ssh) to forward to your iPad (some routers will allow you to forward it to a MAC address making it doesn't matter if the devices IP address changes)
Now, from your computer SSH to the external IP of your router (or dynDNS address if you have that)


How would I architecture Network Attached Storage?

You need a NAS server, not a third Mac
You need some standard SATA drives to mount into the NAS or buy one that ships with disks included
No


A PRAM / NVRAM reset (⌘-⌥-P-R on startup) fixed the delay. The Disk Utility error report remains. Started again from my old drive, the error is reported there as well... probably it was there before the migration.


"No offline messages" message after logging into Gmail on iPhone and iPad (using same account)

One workaround is to use the full version of the Gmail client. You can do that by going to Gmail.com on Safari and scrolling all the way to the bottom. There you will see an option to view Gmail in "Desktop" version.


Is restoring a Time Machine backup on a clean install of OS X Mavericks still a 'clean' install?

If you reinstall 10.9, don’t choose "Restore from Time Machine Backup". Make a simple install after you reformatted your drive with Disk Utility.

After the install, the setup process will start and you can choose if you want to restore from Time Machine. I would recommend you to deselect the System to restore, just your home directory and your applications. So you will just restore your data (docs, music, pics), your applications settings (~/Library) and the application bundles from /Application.

This the closest you can get to a "clean" install, without manually migrating your data and setup again every single app.


Yes, but only if you prepare for the downgrade before updating or catch it quickly after updating.

Before upgrading, find the app in question in iTunes.
Right/Control/2-finger click on the app.
Select "Reveal in Finder"
Copy and archive the .ipa file to another location.

Now you have a copy of the current version.

To downgrade...

Find the app you want to downgrade in iTunes.
Right/Control/2-finger click on the app.
Choose "Reveal in Finder"
Delete the .ipa file.
Navigate to your archived copy of the old (previous version) .ipa file in the Finder.
Drag the old .ipa file into iTunes.
The old App version is now in iTunes and ready to sync to devices.

Notes:

Be sure to delete the newer version of the app from your iOS devices before syncing, otherwise the new version will overwrite the old in your iTunes library during the sync process.
You can catch the old version immediately after updating.  Look in your Trash.  Old versions of updated apps are moved to the trash.  Of course, you can't have emptied the trash since updating for this to work.
Be sure automatic downloads are turned off (iTunes preferences, Store tab on a computer; Settings app, Store option on an iOS device).


Console.app located in Applications/Utilities will display the logs of the system. Inspecting might point you to the reason of the reboots.


How can I get Xcode to support tabs over the jump bar?

Double clicking your source files in the Navigator pane should make them appear in new tabs.


Is it possible to install flash firmware update without having access to OSX?

Don't know if this is directly possible. Maybe via the repair partition (press and hold CMD+r after the startup chime) of Os X - assuming that you do not have deleted it to and used Mountain Lion or Lion prior on the Macbook.

What should work but take some time to do so is to install your old operating system and  either than download the flash update and install it and install a „clean“ install of Mavericks after this procedure or just install Mavericks right on top of it via the Mac Appstore.


as many people have said, a lot of people were missing their EFI partition so if you do diskutil list in your terminal and you don't have an EFI partition then that's where you went wrong

what was wrong with mine was that I had TWO EFI partitions, so I had to get rid of the extra pointless one and it worked


Late 2013 MacBook Pro Retina + 2 Thunderbolt displays + Apple Cinema Display @2560x1440?

This is my current setup with a late 2013 MacBook Pro


Time machine is not including new directories in its backup

In your System Preferences << Time Machine you can tell Time Machine which files to skip. Maybe you listed the directory in this list?


For sudo to accept Touch ID for authentication, you'll need to configure your Pluggable Authentication Modules (PAM) system to accept the Touch ID authentication module.

Edit /etc/pam.d/sudo and add the following to the top of the list:

auth    sufficient  pam_tid.so

When osascript ‘wants to make changes’, likely because of a ‘with administrator privileges’ modifier, it uses the same authentication as ‘sudo’.

This affects how authentication will work for sudo, not just when using AppleScript. You'll now see the Touch ID prompt when using sudo on the command line, such as in Terminal, or when using other applications which request elevation using sudo.


Try unpairing the AirPods from the watch.  To do this, on the watch go to settings -> Bluetooth click the "i" next to the AirPods and click unpair.


How to stop screensaver with a keyboard button press, rather than a mouse button press

I fixed it by following the instructions from this post, which, oddly enough, didn't come up when I searched for it before making my post.

Anyhow: I did the following:

  System Preferences > Mission Control > Displays have separate spaces: checked

Which now allows me to stop the screensaver by pressing a key.


Email and iMessages are generally speaking two entirely different things, with a few exceptions on iOS.

It is possible that this is because the person you are trying to iMessage either doesn't have an iMessage capable device, or doesn't have it enabled. However, because it will allow you to send, it I think it is more of a configuration question, potentially on their end.

First check to make sure the recipient has access to iMessage as well. Also, verify that you are sending it to their Apple ID email, if they are on an non-cellular device such as an iPad, or iPod Touch. You should also try iMessaging someone else, to test it.


I'm going to defer to people like @nohillside and @Tom Gewecke for internationalization and keyboard setups, but you can rule out a factory reset of Apple bluetooth devices quite quickly assuming you have a Mac computer you can borrow and pair to the keyboard in question.

Enable Bluetooth in the menu bar
Hold Shift and Option keys when you click on Bluetooth icon (and you can let go of the modifier keys once the menu is visible).
Choose Debug - Factory reset all connected Apple devices or choose the specific device - navigate to the sub menu and choose Factory Reset

I'm guessing this is less than 50% your issue, but if it does - you'll be set (or have fewer items to chase down) and know how to reset Apple Bluetooth devices.


How to export a list of recently opened files from Office:MAC? 2011?

You can do this, but it's complicated.

The recent documents for all Microsoft office products are stored in a preferences file (plist) in each users's library:

~/Library/Preferences/com.microsoft.office.plist

This file is in standard plist format, and can be viewed using the plist viewer built into Xcode.  If you open it up it will look something like this:

The list of recent items for each application is stored in the key File MRU.  The example above is for Word, which corresponds to the MSWD code.  Each document compromises one numbered item under this plist key.

As you can see, unfortunately the values for these keys are binary encoded, not plain text, so you need to paste the Value strings into a Hex editor to see the file names and paths.  (I use HexFiend .)

Bottom Line: Copy the com.microsoft.office.plist file to a safe location.  With some elbow grease, you can pull all the recent files out of this document.

You could also check out this Python script that does some of this parsing automatically, but your mileage may vary.


As you are aware, everything is a trade-off. Smaller case typically means less protection. Bigger usually equals more, obviously.

With that in mind, I have used an Otterbox, for rough going, and really like it:

Otterbox Defender

It seems to be a solid build, and, although the rubber casing has gotten somewhat more loose over time, Otterbox does have a good warranty.

Now, this next thing is no match for a pocket, and likely as big as the Survivor, but perhaps you would like it:

Otterbox Armor

If you desire an even more minimalistic approach and would consider carrying the phone in a pocket you could always go with my all-time case favorite:

An Otterbox Clearly Protected -> Viewing Vibrant Screen Protector
Speck Candyshell (or similar)

This setup doesn't have a belt clip, but the case feels very natural in your hand - so you don't lose the iPhone feel, but also don't give up too much protection. Note that the back of the case does scratch some, but most of that is aesthetics. And the screen protector is terrific.


No, you are not required to upgrade to macOS 10.12, Sierra. While the upgrade is free, it is not compulsory.

Many, including myself, recommend waiting before upgrading. This additional time after a major macOS launch gives time for problems and regressions to be discovered.


Is there a way to show the stopwatch on the lock screen?

Unfortunately this is not possible without jailbreaking your phone. Apple doesn't allow stopwatch apps to present their data on the lock screen. If you are running a jailbroken phone you can look in to something like Stoppur:

  As part of the setup process, users can manually specify an x and y co-ordinate position on the device for the panel to be overlaid, meaning that additional power of how it looks is granted to the user. Other than that, the tweak does exactly as it says on the tin. It’s a stopwatch, it’s on the lock screen and it’s available to download now.

  Stoppur is available as a download from the BigBoss repository and requires a jailbroken device running iOS 6.0 or above.

I'll be honest though: that doesn't look very feature-rich. For running, just being able to see the time doesn't see overly useful. You'll probably want at least start/stop/reset controls and possibly lap controls too, right?

There are some apps that attempt to prevent the lock screen from engaging but also offer a pseudo-lock screen. Kinetic is one such app that I use and like and have recommended here for similar situations. It has a "module" approach to setting up the screen for activities. So you can plug in the modules you need for an activity. Don't need the GPS tracking? Leave it out. Need the stopwatch? Add it in. And it'll lock its screen, keeping the data on screen, but preventing touches from doing things in the app.


This script randomizes a MAC address--but I cannot renew DHCP afterwards

If you're on MacOSX 10.5 or later, at the beginning of your script, call sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z. Another thing you could do to improve this is to call the script itself with sudo instead of calling sudo multiple times within.


Keep dock, top menu, and the X-+ buttons always on in full screen mode

You might just use non-full screen windows and maximize them to fill the screen.

Take a look at applications like Slate, ShiftIt, or Moom, or see this question.


How do I jump to a line number in Safari 6 Web Inspector?

The keyboard shortcut for this is ⌃G in recent versions of Safari. You can find a list of keyboard shortcuts here: https://webkit.org/web-inspector/keyboard-shortcuts/.


How do I hide the file extension in Finder?

Right click on finder left panel choose "open sidebar preferences" go to advance tab uncheck the "show all file extension"


Smart Albums are not fully supported yet. See https://support.apple.com/en-us/HT204478

I would suggest trying to create a new smart album, perhaps with slightly different parameters, and see if you can work around the bug. Or, worst case, you could create a regular album.


Non-Apple Devices Won't Connect to Airport Extreme

Figured out the problem. I had a HDD connected to the AE that had a bad cable. Once I replaced the USB cable for the HDD, ever other client was able to connect again. Quite an odd symptom of the problem!!!


MacOS Catalina duplicating files on save

Do you save these files in iCloud Drive? To prevent data loss, iCloud will sometimes resolve sync issues by making a copy with a number on the end that holds the alternate file contents.
There is no way to avoid this, since it's a data consistency measure. You can keep your source code outside of iCloud Drive – I myself have a folder outside of iCloud specifically for Git repositories that are stored elsewhere.


How to use pip after the OS X El Capitan upgrade?

A quick solution is to use homebrew to install python into /usr/local/bin so that your pip can run against a user-modifiable python framework.

brew install python
pip --version

Disabling System Integrity Protection is also an option, but I don't recommend that for anything but professionally managed and fire walled servers where you have the manpower to manage intrusion detection or if you are a developer/sysadmin and need to test things with and without SIP.

ls -lO /System/Library/Frameworks/Python.framework/Versions/2.7/
csrutil status

You will see that the restricted flag is set which cannot be removed even as root while SIP is engaged.

Using homebrew makes it possible to manage pip and python separately than the system provided version. As a bonus, the homebrew framework is designed to ease maintainance and patch/chores via automation.


iOS 11.4.1 Mail app w/ Exchange account keeps crashing “8badf00d”

Is this possibly due to a timeout issue?

The 0x8badf00d error code basically means an application is taking too long, so you're on the right track in terms of the most likely problem (i.e. it being a timeout issue).

  I'm wondering is it something in my Exchange inbox that's causing the issue and if I can find out what it is, will deleting it help?

That certainly could explain it, although with 300K emails it may not be so easy to identify the culprit.

As a workaround/test you could try using another email client (such as MS Outlook) to see if that also encounters the same issue.

Also, if all your emails are in your inbox, you may want to try creating some Outlook Data Files (which basically appear as folders or separate mailboxes) to move bulk amounts of your email to to see if that helps you isolate the problem.

[UPDATE]

Apple's Developer Technical Q&A QA1693: Synchronous Networking On The Main Thread provides some additional info on the 0x8badf00d error code, although this is an archived document written for Developers.

I suspect the issue you're having is a little more involved (e.g. Mail may be performing other tasks that Outlook isn't, etc), and is therefore more sensitive to any potential problems with your MS Exchange data. I know that many organisations are even rolling out VMware's Boxer app because of issues accessing MS Exchange Server accounts on mobile devices.


You can either try to get Front Row running on Lion, or try Plex.

Front Row was discontinued in OS X Lion; that’s probably why you can’t find it. That said, there’s nothing to stop you running it, if you don’t mind a few limitations. Ralph Perdomo has some instructions for Front Row on Lion (http://www.mac-hatter.com/blog/frontrowenablerforlion), although they require you to stay on iTunes 10.3, which doesn’t work with some iOS devices. If you’re really attached to Front Row, this probably works, but I haven’t tried it.
Plex (http://www.plexapp.com/mac.php) also seems pretty decent; I know a lot of people who use it and are very happy with it. Sort of like Front Row, but it pulls content from lots of other places, including iTunes. This support page suggests that they support the Apple Remote, as you wanted. You might like to check that one out.


It depends on how you setup your computer, if you set your computer to use your iCloud password to login then you'll need to unlike this. The best way to check is to follow the process for resetting the password as if your computer was using the traditional 'local' login method...

Click the Apple logo in the top left of the screen.
Click System Preferences
Select Users & Groups
Select the User account (if there is more than one) from the left of the screen.
Click the Change Password button.

At this point it should indicate you are using iCloud or not, if not then simply enter your existing password and carefully pick a new one.

Otherwise, it should give you an option to disassociate and use local login instead, and you'll be able to create a new local password.


Headphones with iPhone 6 protection case

Probably be cheaper to borrow a needle file & ream out the cover's headphone hole a bit;
or even a simple nail-file & chamfer the edge of the headphone plug itself.


Is it possible to install my iPhone's WhatsApp on Mac?

No ,whatsapp did not create any software for the mac, so you cant install whatsapp on your system .Currently they only have developed the software for mobile devices.


How to create Catalina.app for creating bootable disk

If one is already running macOS Catalina, just open Terminal and use the following command to download the latest release of macOS:

softwareupdate --fetch-full-installer

Or to download a specific version, even older, use e.g.:

softwareupdate --fetch-full-installer --full-installer-version 10.14.6

To create a USB installer, then in Terminal use the createinstallmedia command, e.g.:

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

See How to create a bootable installer for macOS for details.

For softwareupdate internal help output:

% softwareupdate --help
usage: softwareupdate <cmd> [<args> ...]

** Manage Updates:
    -l | --list     List all appropriate update labels (options:  --no-scan, --product-types)
    -d | --download     Download Only
    -e | --cancel-download      Cancel a download
    -i | --install      Install
        <label> ... specific updates
        -a | --all      All appropriate updates
        -R | --restart      Automatically restart (or shut down) if required to complete installation.
        -r | --recommended  Only recommended updates
    --fetch-full-installer      Install the latest macOS Installer
        --full-installer-version    The version of macOS to install. Ex: --full-installer-version 10.15
    --background        Trigger a background scan and update operation
    --ignore <label> ...    Ignore specific updates
    --reset-ignored     Clear all ignored updates

** Other Tools:
    --dump-state        Log the internal state of the SU daemon to /var/log/install.log
    --evaluate-products Evaluate a list of product keys specified by the --products option
    --history       Show the install history.  By default, only displays updates installed by softwareupdate.
    --all           Include all processes in history (including App installs)

** Options:
    --no-scan       Do not scan when listing or installing updates (use available updates previously scanned)
    --product-types <type>      Limit a scan to a particular product type only - ignoring all others
        Ex:  --product-types macOS  || --product-types macOS,Safari
    --products      A comma-separated (no spaces) list of product keys to operate on.
    --force         Force an operation to complete.  Use with --background to trigger a background scan regardless of "Automatically check" pref

    --verbose       Enable verbose output
    --help          Print this help
 %


I only see the "Other" account option on log in screen

Starting with 10.10 you can use the sysadminctl command to create users, assuming you're able to ssh in or something:

sudo sysadminctl -addUser username -fullName "User Name" -password - -admin


App restoration on Macbook Pro - will these apps be reinstalled whenever Big Sur launches?

I would expect automatic installs of apps like Garage Band and iMovie not happening when Big Sur is released.
I would plan on these being easy reinstalls from the App Store.

The iLife and iWork apps are not part of the OS. Apple pre-installs them when you buy a new Mac which can lead people to assume they are part of the OS.  You need to download them again from the App Store if you wipe a machine and only install macOS.
This has been how it works for every release leading up to Big Sur so unless Apple makes a late change, count on signing in to the App Store to download any apps you don’t migrate from a previous backup.


How to install High Sierra on a second partition on a MacBook which already runs Mojave?

There is a simple solution.

Using Disk Utility create a second Partition for the High Sierra:

Probably your disk is in APFS, so simply use "+ Volume" button at the top left of Disk Utility app, give new Volume a name (for example "Test HD").

  If there is a need to install OS that can't be installed on APFS (for example Sierra and earlier) use "Partition" button to create separate HFS+ Volume.

Then, create a USB flash installation disk of High Sierra using terminal:

  USB disk needs to be formatted with a GUID partition table (GPT). Use Disk Utility to erase the USB disk and choose GPT for the partition scheme.

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

Where

/Applications/ - path to the Installation of High Sierra
Install\ macOS\ High\ Sierra.app - Name of the distributive
Contents/Resources/createinstallmedia - Command for installation
--volume /Volumes/MyVolume - USB flash drive path

Information from Apple:
https://support.apple.com/en-us/HT201372

Now install High Sierra:

Turn off your Mac. Hold down option and turn on Mac. Choose your USB Installation Media (it will have High Sierra Icon). Follow the instructions.
Choose High Sierra Volume ("Test HD"), that you previously created in the 1st step and finish installation of High Sierra.

Switch between systems using option on startup.


You could try finding the drive using Terminal. If you're not hip to Terminal commands, the way to access your USB via the command-line is

Open up Terminal, and enter the following commands (hit return at the end to execute):

cd /

This will take you to the highest level folder on your computer's hard drive. Then, type:

ls

This will list everything there. You should see an entry there called Volumes. Now go into the directory and list its contents:

cd Volumes
ls

The USB's name should be listed, since you said DiskUtility sees it.

From there, you can browse the stuff in your USB, and use open [filename] to open things.

Otherwise, you might want to copy everything off of the drive and reformat it. That fixes most problems.


Compatibility of NVMe and deep sleep in Macbook Pro

Please try this. Before try, Please check yourself about pmset, and if you like this then try.

open Terminal in Utility folder in Application folder.

pmset -g

(a list shown that is pmset setting)

sudo pmset -a hibernatemode 0 standby 0 autopoweroff 0

(administrator password is needed)

This command makes a Mac never hibernate or deep-sleep.


Loaded music disappears after downloading

Hm that sounds really weird. I can only try to give you some suggestions...

I assume you already searched in "Finder" for the missing file? What you maybe could do is to search via terminal from the root directory:

find / -name "myfile" -print

And you are sure that it is the "right" iTunes library? Maybe, it is copied to a library to an external hard drive of yours? The folder where you are copying it to is in your iTunes -> Preferences -> Advanced -> iTunes Media Folder Location
folder?


How do I change the iCloud ID on iPhone 5?

Two options:

1) Get the person you lent it to to enter their password and disable their account on your device.

2) Bring proof of ownership (sales receipt) and your device to an Apple Store and talk with a Genius. They will be able to reset the device for you.


It sounds like your iOS software is corrupted. I would back up your iPhone to iTunes or iCloud, follow these instructions to enter your phone into DFU mode, download the newest iOS version, and restore your iPhone with the newest iOS version. Contact iTunes support and get your purchase issues resolved. Let me know in comments if you have any questions!


How can I reset the 'get info' preview image of archive utility?

Try changing the default app to something else from the list of potential apps

Then click Change All..

Reboot.
Ensure the icon is now the correct one for your new choice, then repeat the process to revert to Archive Utility.


iTunes Smart Playlists: Songs not played in the last 6 hours

I do this all the time.

Create a smart playlist, Last6Hours.  Limit the size of the playlist to 6 hours; the drop down box for this setting has items, minutes, hours, Mb, etc.  Make sure Live Updating is checked.

Create another smart playlist, PlayME.  Add two items: "Playlist IS 10HourCompilation" and "Playlist IS NOT Last6Hours."  The setting for PlayME should be "all" and not "any". Make sure Live Updating is checked.

Play the PlayME playlist and you're all set.


Thanks for checking that some of the files show up to ensure the symlink works.

The first thing I'd try is to keep your Finder window open to the time capsule folder where the backup is being written, in case some power-saving mechanism is disconnecting from the Time Capsule. Even better if you can occasionally remember to navigate around to really make sure that connection is still active.


Why is there a command-1 on top of my terminal window?

This is defined in the profile settings:


I was sharing an iCloud account, would he know about my photos?

If you deleted the photos, then went into the Recently Deleted folder and permanently deleted them from your iPhone, followed by disabling iCloud Photo Library as you stated, then you should be fine.


Mac bind to windows domain with wrong name

I thought it could be a machine based GPO that was applied to either the Mac clients or the DNS server.

However, I did a little digging and found this:
http://www.bu.edu/tech/files/2009/10/AD-OD-10.6-1.pdf

Look on page 6.  It specifically mentions about OpenDirectory and how it renames dashes to underscores. It looks like the change is coming from the Mac end of things. Why?    I found this regarding OpenLDAP which is what Open Directory is based on:
OpenLDAP Hyphens within attribute names considered as separate tokens

It appears to be a software bug.


How can I do a fresh install of OSX Mountain Lion onto my SSD for my Macbook?

Internet Recovery

If you installed the Internet Recovery firmware update, hold ⌘ cmd + ⌥ alt + R on boot to begin.

An image of OS X will be downloaded from the internet, and can be installed on the internal SSD normally. Once this is complete, you can restore your data from your external drive.


Stop automatically opening Photos.app when inserting formatted SD card

Image Capture manages which app is launched for a device. You can disable this functionality entirely by running the following then logging out:

defaults write com.apple.ImageCapture disableHotPlug -bool TRUE


How can I use iPhone as a roaming authenticator for webauthn?

According to the project's issue system, this type of workflow is not supported by the standard (yet). It is not a specific problem with iPhone.
Please refer to this issue:
https://github.com/duo-labs/webauthn.io/issues/21
Note that a similar workflow recently became possible on some Android phones. However it is implemented via CaBLE, as mentioned in the above linked issue. CaBLE is cloud-assisted Bluetooth Low Energy - which is Google's own technology, and not part of the WebAuthn standard.


I was able to download 10.9 installer from another machine and installed OS on 32gig flash drive. After booting to this 32gig flash, I Use disk utility from the flash drive running the macos and erase the Mac 1 Terabyte drive that I was unable to do anything with just Guest access. All is well. Can start fresh now.
Kenneth


Can a Mac's airport card run 802.11 N, G, B or A only?

Maybe this help, you can access to the airport command utility with

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

Then, type

sudo airport en1 prefs JoinMode=Strongest JoinModeFallback=KeepLooking

JoinMode = Ranked and JoinModeFallback = Prompt are the defaults, if you want to switch back


why Chrome pop up from gocomputerhelp247.com/system-alert

It is a form of scripted scareware. Someone programmed that pop up message to scare you into wanting to buy a "fix" or perhaps to cause you to stay on a page long enough for them to install malware.

It should be safe to shut down your mac normally (perhaps after taking a picture of what’s on the screen) and then sharing that image with someone you trust on computers and leave the mac off until you’re comfortable about your backups or what plan you have to get any malware removed.

Why not do some research on malware and ask a follow on question if the article you found doesn't do a good job of educating you about Internet security and malware.