Remove blur effect from lock screen on High Sierra

I found this article online, and I hope this helps. I just saw someone who had their lock screen be un-blurred, and I started researching it. So, I saw this and created an account on StackExchange to post this. I hope this helps. I am also new to StackExchange, so if the answer could be changed for the better please let me know so I can change it.

Here is the link

If you’d rather your login screen not be blurred, you can do that too! I recommend first adding a custom image to your desktop so that there is an image in so that there is an image in the /Library/Caches folder.Then, copy that image to your desktop by dragging it there.

We’ll use this image in a little bit. First, open whatever image you’d like to show up behind your login screen with Preview. Select the entire canvas (Command+A), then copy it (Command+C).

Next, head to your desktop and open the file you copied from /Library/Caches. Paste (Command+V) what you just copied.

You will need to move and resize what you’re pasting quite a bit in order to get everything just right. When you’re done, save the image (Command+S). Head back to your desktop, and drag your edited image to the /Library/Caches folder. You will be asked if you’d like to replace the file that’s there; click “Replace.”

You’ve now placed your custom background image. Go ahead and log out of your user account to see how it looks:

It worked! In my case, however, the white maple leaf is making it hard to read the white text used by macOS. To fix this, I found a different version of this image where the leaf is blue.

Much better! This version puts the darker part of the image behind the text, which makes it easier to read everything. You’ll probably have to experiment with this a little yourself, but to avoid problems favor dark images over light ones, and simple images over complex ones.

If you’re a Photoshop guru, you might prefer making an image yourself over messing around with Preview in this way. You can do that, but the image you create needs to meet specific criteria. It must be:

A PNG file
The same exact resolution as your primary display
RGB, sRGB, or Adobe RGB color mode.
8bit colors
Unlocked background layer
Named “com.apple.desktop.admin.png”
In our tests, even doing all these things can still be hit-or-miss, so we suggest using the Preview method. It’s just simpler.


Disk Drive Partition: Single vs Multiple

If you are comfortable using Terminal.app, I recommend multiple partitions.

Moving Home

These questions explain how to move a user account to a separate partition:

Is there a safe way to move the /Users folder to a separate volume/drive?
How to make the Users Directory a different partition in Snow Leopard?

Considerations, Benefits, and Choices

Hardware

It is difficult to justify the choice based solely on the impact to the storage hardware.

If the same content is spread across one or more partitions – but always on a single physical drive – then the hardware impact is largely be irrelevant.

Roughly the same number of read and writes will be performed on the physical drive either way.

Software

From a software perspective, there are benefits to separating mostly static content from your frequently changing content.

OS X and your applications will largely remain static. They will be read many times but rarely changed.

Your user files will be likely be read and written frequently.

Applications

Well behaved applications will continue to just work. A consumer Mac application that requires a single partition should be considered faulty.

Some applications will write content within the /Library/ folder on the OS X partition. This content is likely to be caches and content shared across multiple users. It should never be content specific to a single user.

Smarter Back Ups

With separate partitions, you could choose to only back up your user files with Time Machine. If you back up drive is small, you could choose not to back up OS X and your applications.

In case of a disaster, your own files would be safe but you would need to download and re-install OS X. Services like BackBlaze take this approach; only user files are backed up.

Easier Clean Updates

As a developer, I have OS X on a separate partition to my files. This has historically made it easier to test with multiple versions of OS X. It has made blanking and re-installing a clean copy of OS X possible.

Encryption / FileVault2

You can choose to encrypt all, some, one, or none of the partitions using the full disk encryption built-into OS X, FileVault.

If you only have one partition, the choice becomes encrypting nothing or everything.

Create a Fallback User

If you decide to move your user area off the OS X partition, I recommend creating a second administrator user account on the OS X partition. This back up account will be useful in case of future problems. If your other partitions do not mount, or you need to demonstrate the computer works but without decrypting your personal files, this fallback administrator account can be helpful.

The "Right" Partition Sizes

The difficult choice to make with multiple partitions, is how large each partition should be? This will depend on your applications.

In general try and leave 10 – 20% of your OS X partition free. This will allow for caches and other temporary files to be created, grow, and shrink while the computer is running.

An approach might be to determine how much you can safely back up and version. Then pick sizes based around that figure. Better to live frugally but be well backed up, than risk losing irreplaceable personal files.


Issues with Unicode symbols in some applications running in Terminal.app and iTerm2

Interesting question! I did some tests on my side.

zsh

xXx:~/ $ <2691>
zsh: command not found: \u2691
xXx:~/ $
zsh: command not found:
xXx:~/ $ ℃
zsh: command not found: ℃

I did also several tests with other shells and results are not the same:

sh

sh-3.2$ ⚑
sh: ⚑: command not found

bash

Ok, that should be the same as sh:

bash-3.2$ ⚑
bash: ⚑: command not found

csh/tcsh

[LeBouc-xXx:~] xXx% \U+2691
⚑: Command not found.

Apparently, all that shells are not set with the same input/output options. I tried with xterm/terminal and iTerm2 to see if I could be a software dependant problem. That's the same everywhere.

I don't have the time to search/read that but you might find some useful informations about the zsh line editor here.

If you find it, keep me up-to-date, I would be pleased to have the final answer to your question.


Bypass for the certificate must be valid for 825 days or fewer

A quick workaround of you are using Google Chrome is to use the bypass word "thisisunsafe":

Go to the (trusted) page
Once you get to the message that says "Your connection is not private" click anywhere on the page
Type: thisisunsafe

This will add your page to a whitelist of the browser and instantly bypass the warning. Don't do this on sites you don't trust.


Spanish to English dictionary on Mac's dictionary app?

Apple has introduced Spanish to English dictionary in Yosemite.

You can enable the dictionary named "Gran Diccionario Oxford - Español-Inglés • Inglés-Español" by going to Preferences of Dictionary app.


First things first, always backup.

No jailbreakable iOS version is being signed so no, if you restore it you'll lose your jailbreak.

The problem is probably a theme relates package, try disabling winterBoard themes.

I would suggest reinstalling the system anyway because if your safe mode isn't working it means that the private system partition is broken, even if you got it working for some reason it would have loads of problems in the future, unfortunately, you'll lose your jailbreak.

Also, I'd suggest making a backup with iMazing, a great OS X (and windows) tool to manage your iDevices in more detail.

Sorry for that,

Tiferrei


Your question was very helpful to me in getting LaTeX working with Anki, but I've found there's an easier way to get dvipng:

Install MacTeX.  I installed BasicTeX-2011.pkg (MacTeX-Additions-2011.mpkg is NOT required).
Open the terminal, type "tlmgr update --self && tlmgr install dvipng" and press enter. It will update TeX Live Manager and install the latest dvipng.

Once you do that, you should be all set.


I believe that this is a problem with Windows as opposed to Boot Camp.  Windows, if I remember correctly looks for the serial numbers and unique identifiers when it starts up and has a conniption if they're not what it's expecting.  I ran into this a few years ago when I had the logic board replaced on my iMac.  I think your best bet might be to reinstall Windows on your new machine and migrate your data and settings over within Windows (that might also help Windows by giving a fresh, healthy install).


How to use a iPhone 4S (that was activated on a CDMA carrier) with a local GSM network?

The answer to this question is slightly complicated and in essence becomes: it depends which CDMA carrier device you purchased and which GSM carrier you want to switch to.

First the facts - there are three "models" of iPhone 4s sold according to the model number on the back cover:

A1431: iPhone 4s (GSM model China)
A1387: iPhone 4s (CDMA model)
A1387: iPhone 4s (GSM model)

People wanting to use models A1431 and A1387 on CDMA networks are basically out of luck as there seems to be no support from Apple to reprogram the device to even work on CDMA. I don't know if it's a hardware issue or just drivers/software, but it's clearly stated in the Technical Specifications as footnote 3:

3. CDMA available only if iPhone 4S is sold and activated for use on a CDMA network.

There is no indication that GSM is not available on CDMA phones, however my experience is that CDMA carriers Verizon and Sprint won't unlock the GSM sim slot until between 30 and 90 days after you have initiated service on that line.

Additionally, I have heard reports that the unlock is smart enough to prevent a GSM carrier that competes with the CDMA carrier from taking over service of the device. So, in the USA - a Sprint or Verizon phone would not be expected to work with AT&T or T-Mobile USA cards, but would be expected to work with any European, Asian, or other non-US based GSM carrier. I do know of many people that have travelled internationally with Sprint or Verizon iPhone 4S and had no problem once they unlocked, but I've not heard that any GSM card works - either while the phone is under contract with the original CDMA carrier or after that contract period expires.


Lock folder and all its contents such that it is temporarily read-only

Open Terminal
cd to/folder
chmod -R a-w .

To undo run chmod -R u+w . instead.

The first command recursively removes wrote access from all users, the second gives write access to the current user (because that‘s what is the default anyway).


Can I connect a resistive touch panel to the iPad?

No chance I'm afraid, the limiting factor is software more than anything though, it's possible that an App could be written to talk to said accessory, but using it outside of that App would not be possible unless you are talking about a highly modified jailbroken solution.

Unless you already have a device in mind that exists which you actually want to use, I can't imagine anyone creating one, and if they did not by the dock connector, but more likely over a custom Bluetooth protocol which is allowed (see the i-Cade games cabinet for example of a custom controller using Bluetooth that only works with supported apps).

You may be better mentioning what you wish to achieve to allow alternate answers, as I am almost positive that this method will never fly.


OS X repeatedly stops syncing contacts and calendar with Gmail

Usually an easy fix is to remove the google account from your mac all together so that all info is taken off. Then re-add the account from scratch, it should resync everything and this usually stops it constantly asking for the password.


How to activate and run JavaScript in AppleScript?

You cannot. JavaScript for Automation was only introduced in OS X 10.10 Yosemite.

AppleScript Editor.app was also renamed to Script Editor.app due to it now not only being for AppleScript.


If you are typing, and it is not responding, but yet it starts typing by itself afterward, this is probably the effect of a slow down of your CPU or running out of RAM. When this happens, the keyboard does not show a key clicked, or a word typed until after you actually tapped the key.

In order to fix it:: try shutting down all open apps by double-pressing the Home button, holding down one of the apps until little red badges pop-up on all of them, and tapping that little red badge on each app until they all disappear.

Then do a hard restart:: Hold down the Sleep and Home buttons until the device turns off, then hold the Sleep button until you get the boot screen to turn it back on.

Test it out. Hope this helps.

UPDATE

In newer versions of iOS, the method to shutting down applications has changed. Instead, your open applications appear as tiles that you may scroll left to right. Swipe each of these up to shut off all of your open apps.


Samsung UE590D external monitor settings

Here are the settings I'm using that's pretty similar.

Picture
Samsung Magic Bright > Custom
Brightness - 22
Contrast - 75
Sharpness - 76

Color
Red 69, Green 52, Blue 60
Color Tone - Custom
Gamma - Mode 3 (edited)


For the quotidian tasks you mention, your computer is adequate, although I would immediately increase RAM to 4GB, a rather trivial expense.

Mathematica & MATLAB, and other CPU-heavy apps such as Strata Design 3DCX or FinalCut Pro X, have the ability to run multiple cores in parallel. In most cases, ordinary apps will run only one core of the CPU. Other apps, such as Photoshop will take advantage of multiple cores for a subset of its available operations which can benefit from parallel processing.

Mathematica, in particular, does not run most of its calculations on multiple cores, but offers operations which provide parallel computation.

If the MacBook is in OK shape, (i.e., you treated it decently,) the best options would be to increase the RAM, and if you choose to do so, install an internal SSD. At 6 years of age, the internal HD is closing in on its eventual demise.


Where are screen recording saved in macOS Mojave by default?

Press Shift-Cmd-5 again to bring up the onscreen controls
Click on Options
Currently defined target for recordings is displayed on the top of the Options menu


What does iTunes do while it's "Verifying iPod, iPad, iPhone"?

Your computer iTunes is waiting for the iPhone to "fix itself" and clean up from the interrupted sync.

The mobile iTunes database (and I'm sure several others) will need to be rebuilt to clean up after an interrupted sync. You can see/test this by disconnecting your iOS device in the middle of podcast or music syncing. If you then immediately start up iTunes for iOS - you will get an Updating LIbrary screen while it itdbprepserver does its work. You'll get a "verifying message" until these post-sync and interrupted-sync cleanup activities finish. Once iTunes on the desktop has "verified" the phone is ready to start another sync, it commences with the normal backup and sync activities. My timing shows the interrupted recovery to take twice the time of a normal sync completion but usually less than a minute either way.


Chrome back/forward gestures no longer working after Mavericks update

Make sure you enable: System preferences > Mouse > Swipe between pages
AND OPEN A NEW TAB in Chrome
If you had it working before but then it stopped working suddenly (usually after an OS / Application update) you might just have to uncheck / recheck the "Swipe between pages" option. That should solve it.


You should be able to delete the data relating to this via the Health app on your iPhone.

More specifically:

On your iPhone open the Health app
Tap on the Sources icon at bottom
At the bottom of the Sources screen you'll see a list of your devices - one of them will be for your Apple Watch. Tap on this.
Now you'll see a range of options - tap on the one that says Exercise Minutes
Now you'll see a screen that lists all recorded data, sorted with most recent at top
Identify the one(s) you need to delete
Now tap on the red Edit option at top right
Now you can delete any of the entries you want to (NOTE: Be careful not to tap on the Delete All option at top left!)


Non apple applications failing to launch

While the three errors you showed are problems, none of them have to do with your current issue.  The first one is due to a permissions error on incoming mail.  See https://discussions.apple.com/thread/3184945?tstart=0 to fix.  The second is just for handoff with iOS devices.  It is not something to worry about.  The third is an error on an old version of firefox.  An update should fix it.  It is described more in depth at https://bugzilla.mozilla.org/show_bug.cgi?id=804010

As for the problem itself, I would recommend going into Disk Utility and running a permissions repair.  It sounds a lot like the apps got quarantined even though you have it set to allow all applications.


No and no. The TecTiles rely on NFC (Near Field Communications) to work. No iOS device yet shipped has NFC, and it's not particularly likely that any iOS device will come with NFC1. It would be possible to make an iPhone/iPad case that had NFC built-in, but, as iOS has no NFC drivers, you'd have to use a specialized app to use the hardware, and apps have limited ability to perform non-in-app actions for the user (i.e., if it were to compose a text or tweet for you, you'd still have to tap a send button for it to go, which kind of obviates the utility of tapping your device to the tile).

1 If you believe the rumors and rumor-analysis, Apple's planning on using Bluetooth 4.0's low-power mode to do what Google's trying to do with NFC.


Apple IPhone 5c does not allow incoming or outgoing calls

A couple of things to try:

Try forcing it off (hold power button and home button down for
10+ seconds) and back on.
Try removing and reseating the SIM.
Make a test call to customer service (611 in the US).
If none of the above work, you can reset network settings (Settings -> General -> Reset -> Reset Network Settings).

This is what any tech support (Apple Store, carrier) would have you do first.


Can't resize macOS partition (APFS error code 49187)

I solved this error for myself by the following steps, (to be sure I included all)

Time Machine snapshot delete fix
Decrypt harddrive from filevault

This resulted in the persistence of the error. But then I booted in recovery mode (reboot and hold cmd+R) and started the disk utility there. To my surprise the Disk Utility showed me different values for the free space of my partition. I only had 20g free instead of the 50g I tried to allocate each time.

When I did the normal partition steps in the recovery boot Disk Utility everything went fine and I am currently running Ubuntu 18.04.1 alongside Mojave 10.14.1 without problems, be it that I only have 20g.


Disabling startup items that run despite being unchecked on the "login items" list

The checkboxes are not for disabling the application launch, but if checked, the application gets hidden as if you were pressing CMD+H. To disable it, select it in the list and click on the Minus-button beneath that list. By that you remove them. You can't just disable them with OS X tools.

To see a summary of all LaunchAgents and LaunchDaemons you can use a software like Lingon or you can have a look at /Library/LaunchDaemons, /Library/LaunchAgents, /System/Library/LaunchAgents, and /System/Library/LaunchDaemons as well as ~/Library/LaunchDaemons, ~/Library/LaunchAgents, ~/Library/StartupItems, and /Library/StartupItems.


Toshiba 2TB External Drive Stopped Being Recognised

Please quit Disk Utility if it is open and launch Terminal in the folder Applications/Utilities/ with your external drive connected
Enter the following command at the Terminal prompt:

defaults write com.apple.DiskUtility DUDebugMenuEnabled 1

Press Enter
Quit Terminal
Start Disk Utility and enable 'Show every Partition' in the Debug menu
After a few seconds all partitions should be visible
Mount the partition 'NameOfTheMainPartitionExternalHD' if it is present and greyed out with the blue button Mount. The partition should now be visible on your desktop.

In the above example the external drive is an SD card and the usually visible partition of the external drive is gDisk. Don't touch disk1s1 (Lion) or EFI (Mavericks)
Please check the format of the partition

If the format is 'Mac OS Extended' you might check the drive for inconsistencies.


How to access desktop Gmail on iPad Pro?

Sure you can, you can use any browser available. Just realize that all browsers on all IOS devices use the same layout engine: Webkit. It's an Apple thing and hasn't changed since Apple allowed third party apps.

As for the keyboard shortcuts, it all depends on what the browser supports. Safari doesn't allow you to customize much. But there are other browsers (Chrome, iCab, etc.) that allow more customization and may allow you to set the User Agent to a desktop version of your favorite browser. Beats me if they will then support the whole suite of Gmail keyboard shortcuts, you'll have to test that.

And you can save any bookmark as an icon that opens that browser with that web address. In Safari go to the page you want to save. Tap the sharing button and select "Add to home screen," voila icon on your home screen. Most browsers let you do this as well.


Why does Force Quit Applications freeze?

The Force Quit window usually freezes when the system is paging heavily. (Same with the Dock.) Your computer could probably do with more RAM.

You can move windows around when they're frozen because OS X's window manager isn't frozen, and it controls basic window functions like minimize and move.


iBooks Author imports ePub text very large

The best way to control text size would be to convert the file to text/markdown. That way you would have total control over the sizing.

It really depends on how proficient you are in editing inDesign or simplifying the formatting there to see if you can tweak things there to isolate the part of the native -> ePub conversion that's running amok.

If you're good there, take a simpler approach to fix things. If you have no aptitude or time to learn inDesign or clean up the document's formatting (I've seen some PageMaker files that got moved to inDesign that are incredibly convoluted and needed to be thrown out and started over from text).

Sorry I can't be more specific. If you want to ask a follow on question with specific details on what item is being converted or can upload a minimal test case, someone might have a better idea on preventing the poor conversion from one format to another.


How can I get Time Machine to ignore the data created by Spotlight?

On the root of each indexed volume, a hidden folder called .Spotlight-V100.

Also: spotlight metadata is probably not large enough to be worthwhile in excluding, at least if you are doing this for space reasons. Spotlight is also essential for TM to work properly, as this is how TM determines which files have changed since the last backup.


What you should do is similar in concept to the answer that you've quoted. The main difference is that your MBP will have the Restore partition on its drive instead of the USB solution for the MBA.

Follow the instructions on Apple's recovery partition page:

  Just hold down Command-R during startup and OS X Recovery springs into
  action. It lets you choose from common utilities: You can run Disk
  Utility to check or repair your hard drive, erase your hard drive and
  reinstall a fresh copy of OS X, or restore your Mac from a Time
  Machine backup.

Since you've already backed up your data, pick the erase and reinstall option, and you'll have a clean copy of OS X installed on the MBP before you bring the machine back for servicing/replacement.


This might be more than what you're looking for, but OmniFocus is the best solution that I'm aware of that meets your stated requirements.

It does do nested tasks.  If you're a fan of Getting Things Done, OmniFocus will feel pretty familiar to the workflow described therein.  If you're not into GTD, OF still works, although the terminology might not feel quite so obvious.

It supports WebDAV, not CalDAV.  If you're running your own CalDAV server, you might be fine here.  If sync (not necessarily CalDAV sync) is your real goal, the Omni Group has an Omni Sync Server that's available to all of its customers, and it works well.

There are also OmniFocus apps for iPhone and iPad, which have generally good reviews.


Can you prevent iMessage texts from being deleted?

I'm not sure if it’s what you're looking for, but there is a Message History setting that prevents messages from being auto-deleted after a certain amount of time.

You can find it in Settings -> Messages -> Keep Messages. Make sure it's set to Forever instead of 30 Days or 1 Year.


Can I have my screenshot files written immediately in Mojave?

You can take screenshots instantly by turning off the thumbnail preview.

This can be achieved by opening the screenshot utility and uncheck the "Show Floating Thumbnail" button.

(3rd last option from below)

The options also allow you to set a timer for taking screenshots.


Will it damage my iPad if I use an iPhone charger to charge it?

No

I mix and match my chargers often, the only disadvantage is that the iPhone charger charges slower according to a lot of sources, but I have yet to experience it. I still have an iPhone 3G charger I use as a spare at work to charge my iPad on occasion.

Interestingly I have never noticed my chargers getting hot either, but will admit I have never actively looked.

Looking at the Charging Tips here the reason for the slower charge is that the iPhone charger is 5W compared to 10W for the iPad, based on wattage alone, I can't see how you would damage the iPad, I would suspect using a higher wattage might however.


"Enter exactly 64 heaxdecimal characters" for WiFi Password

You are connecting to a WPA2 network in WPA-PSK (pre-shared key) mode. In this mode, you'll usually be able to authenticate by entering a password as a string of ASCII characters (up to 63 characters). macOS will generate a 256-bit authentication key from the password using a series of manipulations (known as salting and hashing) that ensures that eavesdroppers cannot easily grab your password midair.

However, it is also possible in this mode to authenticate by having the user directly enter the actual authentication key. This can be used if macOS cannot determine with the WiFi access point exactly how those manipulations described above should be done. The user is then prompted to enter exactly 64 hexadecimal characters that is equivalent to a 256-bit authentication key. This method is not commonly used in a home user setting.

I would say that some sort of "glitch" happened - interference, lack of signal, etc. - that made it impossible for macOS at that moment to use the ordinary password authentication, and then prompted you to allow a key authentication instead. When you reconnected, those temporary conditions that allowed for the glitch were gone, and you could authenticate as usual with your password.


If the problem is that some characters do not appear but small rectangles are shown instead, as I suspect, then it’s probably a font problem. Quite possibly the Windows machines lack fonts that contain the characters needed.

In that case, you could download and install some suitable free fonts on the Windows machines. To identify a character (possibly displayed as a small rectangle) in a Windows version of Word, click on the position right after the character and press Alt X. This turns the character to its Unicode number. For example, ∅ turns to 2300. The Unicode number can then be used at http://www.fileformat.info/info/unicode/char/search.htm where you can find information on font support to different characters, using e.g. character name or Unicode number as key.


According to this Apple discussion forum post:

As you know, software always controls your iSight. Most apps,
including all Apple apps of which I am aware, automatically make the
iSight settings for you and do NOT allow you to manipulate them from
within the application.
In my own case, I have found that merely adding more light to my work
room has allowed the automatic settings to give me adequate iSight
images.
However, if you want to take manual control, the iGlasses2 add-on
lets you manipulate many of the features that iSight (and many other
compatible webcams) offer. Note that iGlasses2 may not work with
every applications that can work with your camera.
You can get iGlasses2 here: http://www.ecamm.com/mac/iglasses/

This Apple KB also offers some troubleshooting guidance:

Important: Follow these instructions in order. Test the camera
between steps to see if the issue is resolved.
Built-in iSight cameras These steps are for iSight cameras that are
built into a computer, such as the iMac G5 (iSight) or later, the
MacBook, or MacBook Pro.

See if the issue is application-specific. Try another application (iSight works with applications like iChat, PhotoBooth,
and iMovie HD 6) to see if the iSight camera exhibits the same
behavior in all applications. If it only happens in one application,
try reinstalling that application.
See if the issue is user-specific. Test your iSight camera in another user account. If the issue only occurs in one user, the issue
would be isolated to user settings.
Find out if the computer recognizes the iSight Check System Profiler (in the Utilities folder, inside the Applications folder).
Under the USB header, check to see if the iSight camera is detected.
Reset SMC or PMU Reset your computer's SMC or PMU, and then check System Profiler again. (SMC reset instructions for iMac G5
(iSight), Intel-based iMacs; PMU reset instructions for MacBook and
MacBook Pro.)

If your built-in iSight camera is still not behaving correctly after
trying all these steps, you may need to contact Apple or an
Apple-Authorized Service Provider for service.

In short, you can try adding an app to offer access to the controls or do a bit of troubleshooting on you MBP to confirm if this issue occurs on other applications or for other users. Worst case, bring your MBP in for servicing.
Note: Fixed typo.


How do I make in-app purchases appear within my apps on all of my devices?

Assuming you've used the same Apple ID on all devices you shouldn't have a problem. However, you will need to restore the in-app purchase on all devices you didn't originally use to make the purchase.

To do this, you will need to navigate around the app and look for an option labelled something like restore in-app purchases (or similar). Many apps will put this option within their own settings page, but I can't advise you exactly where it will be for this app (as I don't personally use it).

If you can't find an option anywhere to restore the in-app purchase, I would go to their dedicated iOS forum page and ask for help.


Upload video to iPod directly without sync-ing

Another option is to manually manage music and videos. Click on the iPod in iTunes, check Manually manage music and videos. It will allow you to connect your iPods with your various computers without worrying about wiping them.

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


Run a shell script when switching to battery power

ControlPlane, which picked up where the cool-but-buggy Marco Polo left off, allows you to build context-based rules that can do things for you based on where you are and what you're doing. It uses an evidence-based approach to determining where you are and, once your location criteria passes a certain confidence threshold, executes actions for you based on the confidence that you're "in that location".

It's pretty cool.

One of the evidence sources it supports is current power source. And its evidence source support is all based around event-driven sources.

And it's open source.

And free.

You can set it up to run an AppleScript (or a shell script) for you when ever the power source changes or just when it changes in one direction.


It's likely that the hinge needs tightening or replacing as Allan suggests, I would strongly urge that you take this into Apple for service as they are the best equipped to do this.

However there are guides online on how to fix this issue, it requires following the take apart guides available online including from sites such as iFixit, and adjusting the screws.

The following guide seems pretty clear cut to me, usually I'd write out the instructions, but the photos are useful here and there are numerous other guides:
http://schock.net/articles/2012/02/20/how-to-fix-a-wobbly-macbook-pro-screen/

What I will stress however is that you backup you Mac, and recognise that you could damage the device beyond repair by servicing it yourself and that Apple and their Apple Authorised Service Providers will not service any product which has been serviced by an unauthorised provider, including yourself.

i.e. If this isn't your main computer, then fine, but if this is your only computer, you have no plans to buy a new one soon, and it's not a major issue then I would not attempt this repair.


Apple Font Tools cannot install in Macbook Pro El Capitan

Here is how I did it. Get it downloaded from apple (here: https://developer.apple.com/downloads/?q=font ) and run these.

pkgutil --expand OS\ X\ Font\ Tools.pkg tmp
cd tmp
cd fontTools.pkg
mv Payload Payload.gz
gunzip Payload
tar -xvf Payload

Apologies if I forgot any parts but that is basically it.


Could I take a Core i7 form a 2012 MBP and put it into a 2018 MBP?

I don't know what exact CPU model numbers are involved here, but a simple check of the sockets for the ranges shows that the 2011 or 2012 i7 will not fit on a motherboard designed for a 2017 or 2018 i5 (of course Apple may have used a 2010 i7 or a 2016 i5 in their computers, but the same thing would apply).

The later i5 also uses a different I/O bus, but that might be backwards compatible (haven't checked as it's irrelevant since you won't be able to fit the CPU in the first place).

Depending on the exact models involved, the old i7 also would require quite a lot more power than the new i5, meaning higher power draw and heat generation, both problems the new computer case and power supply might not be able to handle.


In Disk Utility, does Secure Erase include the Erase Free Space option

Secure Erase supersedes Erase Free Space because it zaps the entire disk instead of just zapping a subset of the disk marked 'free space.' If you want to be sure the NSA can't read this disk, do the Most Secure 7-pass erasure.

BTW: The 7-pass job takes lots of time (many hours to days) and gives the disk a good thrashing, too. Its a good stress test.


Will Apple Music 3 month trial carry over if changing plans?

I contacted Apple Support and they advised that the free trial would carry over.

I can confirm that having changed the subscription that this has worked as expected.


Is there a Mac OS X equivalent of the Linux iwconfig command?

ifconfig gives information about all interfaces, including WLAN. The WLAN interface is usually en1.

$ ifconfig en1
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 20:c9:d0:97:22:e9
        inet6 fe80::22c9:d0ff:fe97:22e9%en1 prefixlen 64 scopeid 0x5
        inet 192.168.1.137 netmask 0xffffff00 broadcast 192.168.1.255
        media: autoselect
        status: active

airport -I gives information about WLAN interfaces (check out the man page for additional options)

$ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I en1
     agrCtlRSSI: -68
     agrExtRSSI: 0
    agrCtlNoise: -85
    agrExtNoise: 0
          state: running
        op mode: station
     lastTxRate: 54
        maxRate: 54
lastAssocStatus: 0
    802.11 auth: open
      link auth: wpa2-psk
          BSSID: 11:22:33:44:55:66
           SSID: serenity
            MCS: -1        channel: 6


You basically can't. There's no way to view this either on an iPhone/iPad or over at iCloud.com. If you ever need to access a list of backups, contact apple at https://getsupport.apple.com.


How do I protect myself from the root vulnerability in macOS High Sierra?

Edit November 29, 2017:

Apple released a security update today that fixes the issue. It's important to install this update using App Store > Updates. When updated, the build number of macOS will be 17B1002. Here is more information on the update:
Security Update 2017-001

When you want to use the root account again, you will need to re-enable the root user and change the root user's password. (See below)

It's mandatory to enable the Root User and to set a strong (and perhaps random) password for the root user. This disables the security bypass. You are now as secure as the root password is unguessable.

Enabling the root user and changing the root password

Choose Apple menu () > System Preferences, then click Users &
Groups (or Accounts).
Click lock icon, then enter an administrator
name and password.
Click Login Options.
Click Join (or Edit).
Click Open Directory Utility.
Click lock icon in the Directory Utility
window, then enter an administrator name and password.
From the menu bar in Directory Utility: Choose Edit > Enable Root User, then enter the password that you want to use for the root user.

Apple support article (https://support.apple.com/en-us/HT204012)

Apple's statement

  “We are working on a software update to address this issue. In the
  meantime, setting a root password prevents unauthorized access to your
  Mac. To enable the Root User and set a password, please follow the
  instructions here. If a Root User is already enabled, to ensure a
  blank password is not set, please follow the instructions from the
  ‘Change the root password’ section.”

Apple's statement (9to5mac)

If you allow remote log in (ssh), you might also want to disable the log in shell for the root user if you want to prevent any chance of that password or user logging in to a shell.

/usr/bin/dscl . -create /Users/root UserShell /usr/bin/false

Here's a guide for administrators if they want to secure a fleet of Mac from this. The second link is a handy script to do both actions quite well with error checking.

https://derflounder.wordpress.com/2017/11/28/blocking-logins-to-the-root-account-on-macos-high-sierra/
https://github.com/rtrouton/rtrouton_scripts/blob/master/rtrouton_scripts/block_root_account_login/block_root_account_login.sh


AirDrop creates a direct connection to another Mac through it's wireless card and therefor does not transfer across your LANs wired network or wireless network and most certainly does not effect your internet bandwidth.

Here are 4 possible reasons for the high bandwidth.

You are unaware of software on your Mac because someone else has installed it on your behalf. Perhaps Online Backup Software or you may have installed it yourself and not been aware of the repercussions. i.e. Crashplan/Dropbox etc.
Your network has been compromised by a Neighbour via wireless. Reset your wireless routers password and make sure it is set to use a secure protocol i.e. WPA2
You have another device on your network to do with streaming Movies to your TV like Netflix.
You have signed up for iTunes Match and have synced Music and Movies to all your Mac devices.


Tilde/backtick is coming out as section/plus-minus on my external keyboard

You can probably find backpack/tilde on the topmost leftmost key instead of where you expect it.

Here is a custom layout made with Ukelele which may put it back where you want it.


It very well may be the graphics card in your MacBook Pro. Apparently during the manufacturing process (of this generation) too much thermal paste was applied to the heatsink on the GPU, thus cooking it. If this is the case for you, Apple might replace it or reimburse you for repair, if they are still doing this.

A few good links:
http://support.apple.com/kb/HT4132?viewlocale=en_US&locale=en_US
https://selfsolve.apple.com/agreementWarrantyDynamic.do


Execute arbitrary script when iTunes plays new song?

You could use an AppleScript to watch for song changes. The script below will get you started:

tell application "System Events"

    set previousSong to ""

    repeat
        if exists process "iTunes" then
            tell application "iTunes"
                if player state is playing then
                    set currentSong to name of current track
                    if currentSong is not previousSong then
                        set previousSong to currentSong

                        -- Execute your script, command, or application here
                        say "Song changed"

                    end if

                end if
            end tell

            -- Wait some seconds
            delay 10
        else
            exit repeat
        end if
    end repeat

end tell

This AppleScript checks every 10 seconds for the name of the currently playing song. If the song name differs from 10 seconds ago, the phrase "Song changed" is spoken.


How to completely disable Ubiquity (iCloud syncing?) in Mavericks or above?

There isn't an "ubiquity" you can simply disable IMO. I would exhaust other avenues of solving this problem. Random shutdowns are irritating, but the best thing I have is to train the user to:

Get sysdiagnose each time it happens. (or right after the reboot / when the problem is noticed)
Log the date and time of the error on a piece of paper

Establish that you will review the results every 10 instances. Once you have 10 to 30 reports, you'll know quite certainly if there is a pattern or if there isn't. Also, you'll have enough logs to report a bug to Apple or open a ticket to get AppleCare (or whomever you pay for support) to look at the details and get a fix/suggestion. Without data, you'll be chasing phantoms and get so desperate you'll want to cut out the guts (or hopefully just an unused appendix) of an OS in hopes it will help.


I've seen this behavior quite a bit with the calendar application when I dismiss the reminders. More specifically, if you snooze, "remind me tomorrow" or otherwise "kick it down the road", it seems to pick up these additional reminders. This is with a combination of iOS and macOS devices on the same shared calendar.

I think this comes about because you have a reminder several hours or days ahead of the actual event.

Suggestion? If you have something that you want to remind you on a daily basis, instead of kicking the reminder, just set it to a daily repeating reminder instead. That way you can get the benefit of being nagged about it but also you can just dismiss / mark completed today and hear about it again tomorrow without building up the multiple reminders.


Problem with audio output on OS X 10.10.4

While I've never experienced this issue in Yosemite, I did have issues with audio output on an older OS. If I remember correctly, my solution was to reset the core audio.

The following is reason to believe some have experienced loss of audio in 10.9: http://www.imore.com/losing-audio-os-x-mavericks-heres-what-you-can-do-about-it

This thread shows a means of automating the process, in case that solves your problem: http://forums.macrumors.com/threads/create-a-service-to-reboot-core-audio.1697918/


python is a hardlink to pythonw. The rest are symbolic links to their respective versions within the python framework. No, you should not remove them. It is not uncommon for a operating system to have multiple version of python.


How do you delete individual texts from a message conversation in iOS 8?

Press and hold the message to delete, a menu will pop-up with the options "Copy" and "More". Tap "More".

The message you selected is marked with a checkmark on the left. You can check more or delete all by tapping "Delete All" on the top left.

Tap the trash after selecting the message to be deleted. A confirmation will appear. Press "Delete Message".

The message is gone. Just blurry messages are left.


No website opening but network works perfect, dns perfect as well

Check to see if your time and date are set correctly. Safari will have all sorts of trouble including with certificates when the time is off.


This happens when you're using the generic Apple-supplied driver for the USB WiFi device, or if you're using a vendor-supplied driver that doesn't support changing the MAC address.

You'll need to install the vendor-supplied driver for your adapter, if you haven't already. If you cannot find a driver for your specific product, you might be able to find a driver for a different product using the same WiFi chipset - that might work.

When you have the vendor-supplied driver installed, the command you have supplied could then be able to change the MAC address.


Can't find where macOS FUSE is on my system to uninstall and update it

It is likely that you normally uninstall applications by dragging and dropping their icons to the Trash. In the case with the FUSE software program, you will not find its icon in the Applications folder, as FUSE is a type of extension. You will find its icon in the System Preferences window. However, it also consists of numerous user-space libraries and tools, which should be removed as well.

Open System Preferences and click on the FUSE icon.
In the window that appears, untick Show Beta Versions to prevent leaving the remaining files of the FUSE preference pane after its deletion. Then, click on the Remove FUSE button.
Within the System Preferences, make a right-click on the FUSE icon and select Remove “FUSE” Preference Pane.
As you know, every application creates plenty of service files.It is very likely that some types of files were not deleted with the Remove FUSE button. Usually, the service files of applications are stored in the user’s Library folder. To get access to this folder, open Finder → in the menu bar, click Go → Go to Folder → in the window that appears, type ~/Library and click Go. Within the user’s Library folder, find and delete unneeded files, related to FUSE in the following directories:

~/Library/Caches
Also, I recommend that you check other subfolders in the Library folder. If you find files related to FUSE, remove them to Trash.

~/Library/Logs

~/Library/Preferences

~/Library/Application Support


"Open Link Behind Mail" in Mail.app not working

Google tells me it's a known bug.

https://discussions.apple.com/message/27198644#27198644

Workaround is to  Cmd ⌘   Opt ⌥  Click.


Transfer Clash of Clans village with iOS 6

i got this too but i think you might want to see this vid:

https://www.youtube.com/watch?v=P9Ndjzr89B8

it might help u to ix ur prbolem u dont reall  need ios7 device just one with ur base. in ur case u do need ios 7 device may be ur brothers? or dads?


Why doesn't my iPhone 6 scan certain QR codes?

Not all 2D codes that look like QR codes are QR codes.

QR codes have a distinctive square position pattern in one or more of the corners of the code, like this one for Wikipedia.

Based on this iPhone X teardown, it looks like Apple uses Data Matrix for 2D codes on their parts.

The iPhone camera can only scan QR codes, and not other 2D or 1D codes like UPC, Code 39, PDF417, Data Matrix, MaxiCode, etc. There are apps on the App Store that can read these codes.


Why does iPhone and iPod touch auto-brightness setting work relative to a brightness you set rather than absolute?

Because a one-size-fits-all auto-brightness setting is going to be unpleasant for a large number of users, either because the automatically-selected levels are either too difficult to see, too bright, or eat too much battery.  The automatic setting is based on the threshold you set specifically so that the device can "figure out" ideal settings within a range that you can tolerate.

More to the point, I have a question for you.  Is there a point on the auto-brightness slider that you're comfortable with?  If not, that should be all the proof you need that the slider is necessary!  If there is a setting that looks ideal all the time, you've got nothing to complain about - the system works for you.


Installation failure - the mongodb driver for PHP on El Capitan

It should install the Openssl brew install openssl & brew link openssl --force

Using xcode-select --install to install commande line tools

It does work for me ^^


Found in diagnostics on an iPhone 6s Plus. Any idea what it means?

If you look at the exception code that points to:

  0x8badf00d: Reads as “ate bad food”! (If you squint your eyes and replace the digits with alphabetic characters. :p) This code indicates that an application was terminated by iOS because a watchdog timeout occurred. Basically, the application took too long to launch, terminate, or respond to system events.

There's a nice article explaining this.


iCloud folders not appearing in the Mac Finder

In the end, after a couple of hours of frustration, I solved my problem by: Opening Finder > Finder Preferences > iCloud and uncheck all the options (on my Mac these were iCloud Drive, Desktop and Documents). Close preferences, reopen and recheck the same boxes. The files and folders reappeared in my finder.


If you already know the lumens value of the light source, you can use the following calculator to determine its equivalent rating in Watts:

http://www.rapidtables.com/calc/light/lumen-to-watt-calculator.htm


Can I open files from unknown "developers" and still forbid applications from unknown developers?

This method lets you allow a single file to be opened.
 1. Find the file in finder.
 2. Press ctrl.
 3. Click on the file.
 4. Click "Open".
 5. Click OK in the Prompt.

Be aware this will disable the security checks of the file, maybe the file contains malware


For now, you've a couple of options to fix this, but pray you'r Mac's connected to the internet.

If you've enabled 'Reset passcode with Apple ID' in System Preferences, great!    But... why this thing probably wouldn't work is---

You're Mac's disconnected from the internet (in some cases it might work)
You haven't set up iCloud on your Mac
Dang you forgot the iCloud passcode as well.

Take it to an Apple authorised service centre. You might be able to recover it if you still have the bill and warranty details of your Mac.
I've never heard of firmware passcode. Clearly, you have access to the internet so you could probably look up possible passcode (like I don't know, 000 or passcode123 or something, keep trying as long as it doesn't lock you out).
Otherwise, uhhh, there's absolutely nothing you can do. Apple devices are known for their superior encryption technology and safety. Illegal breaking in to your computer is hard, but maybe (maybe) possible.

Hope this helps!


Applescript fill up chrome textfield class

Similarly with your question here, the issue is that you're trying to reference an HTML element by a class name that does not exist.

The HTML snippet you supplied contains a single
 element, whose class attribute has the value "content".  Your JavaScript uses the getElementsByClassName() method with the argument 'search-field has-drop-down-menu component', which seems to have come from nowhere.

Therefore, to explain briefly about the getElementsByClassName() method, it is used to search within a collection of HTML elements for all the elements that have a class attribute with the value you specify as the argument.  For example, getElementsByClassName('foo') will match
...
, and ..., but it will not match
...
.

To replace mytexthere inside the
 element, you could use this method with the argument "content" (the class name of the
 element); identify the correct index number if the method returns more than one item; then set the textContent property to the desired value:

    document.getElementsByClassName('content')[2].textContent='...';

where [2] would need to be changed to the correct index number from the list of elements returned by getElementsByClassName('content').

There are other JavaScript methods you can use, such as querySelector(), which—to be useful—will require you read up on CSS Selectors.  But, once you're familiar with these, you can perform some very powerful element queries.


Is it possible to replace my username in Terminal with special characters?

The PS1 prompt is defined in /etc/bashrc and the default is usually PS1='\h:\W \u\$ '. You'd replace the \u with *****. You could also just add, e.g export PS1='\h:\W *****\$ ' to your ~/.bash_profile file, while leaving the system file (/etc/bashrc) alone.


Disable 'allow permission to send push notification' in Safari 11.1

This seems to be a bug in Safari, you should report in Apple, as did I


IPv6 dns resolution on macOS High Sierra

This was a huge hassle to figure out, so I wrote up a little guide in hopes that others would find it helpful:

How to convince macOS to do IPv6 DNS lookups when your only IPv6 address is via a VPN or tunnel of some sort

The Problem

macOS's domain name resolver will only return IPv6 addresses (from AAAA records) when it thinks that you have a valid routable IPv6 address. For physical interfaces like Ethernet or Wi-Fi it's enough to set or be assigned an IPv6 address, but for tunnels (such as those using utun interfaces) there are some extra annoying steps that need to be taken to convince the system that yes, you indeed have an IPv6 address, and yes, you'd like to get IPv6 addresses back for DNS lookups.

I use wg-quick to establish a WireGuard tunnel between my laptop and a Linode virtual server. WireGuard uses a utun user-space tunnel device to make the connection. Here's how that device gets configured:

utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420
    inet 10.75.131.2 --> 10.75.131.2 netmask 0xffffff00
    inet6 fe80::a65e:60ff:fee1:b1bf%utun1 prefixlen 64 scopeid 0xc
    inet6 2600:3c03::de:d002 prefixlen 116
    nd6 options=201<PERFORMNUD,DAD>

And here's a few relevant lines from my routing table:

Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
0/1                utun1              USc             0        0   utun1
default            10.20.4.4          UGSc            0        0     en3
10.20.4/24         link#14            UCS             3        0     en3      !
10.75.131.2        10.75.131.2        UH              0        0   utun1
50.116.51.30       10.20.4.4          UGHS            7  2629464     en3
128.0/1            utun1              USc             5        0   utun1

Internet6:
Destination                             Gateway                         Flags         Netif Expire
::/1                                    utun1                           USc           utun1
2600:3c03::de:d000/116                  fe80::a65e:60ff:fee1:b1bf%utun1 Uc            utun1
8000::/1                                utun1                           USc           utun1

10.20.4/24 is my local ethernet network.
10.20.4.5 is my laptop's LAN IP address.
10.20.4.4 is my gateway's LAN IP address.
10.75.131.2 is the IPv4 address of my end of the WireGuard point-to-point tunnel.
2600:3c03::de:d002 is the IPv6 address of my end of the WireGuard point-to-point tunnel.
50.116.51.30 is the public address of my Linode server.

This should be enough to have IPv6 connectivity, right? Well, name resolution works when host talks directly to my name server:

sam@shiny ~> host ipv6.whatismyv6.com
ipv6.whatismyv6.com has IPv6 address 2607:f0d0:3802:84::128

Pinging by IPv6 address works:

sam@shiny ~> ping6 -c1 2607:f0d0:3802:84::128
PING6(56=40+8+8 bytes) 2600:3c03::de:d002 --> 2607:f0d0:3802:84::128
16 bytes from 2607:f0d0:3802:84::128, icmp_seq=0 hlim=55 time=80.991 ms

--- 2607:f0d0:3802:84::128 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 80.991/80.991/80.991/0.000 ms

And HTTP connections by IPv6 address work:

sam@shiny ~> curl -s 'http://[2607:f0d0:3802:84::128]' -H 'Host: ipv6.whatismyv6.com' | html2text | head -3
                 This page shows your IPv6 and/or IPv4 address
                          You are connecting with an IPv6 Address of:
                                             2600:3c03::de:d002

However, HTTP connections by IPv6-only hostname don't work:

sam@shiny ~> curl 'http://ipv6.whatismyv6.com'
curl: (6) Could not resolve host: ipv6.whatismyv6.com

The result is the same in wget as well as in GUI apps like Firefox: connecting by a literal IPv6 address works fine, but connecting by a hostname that only has an AAAA record (and no A record) associated with it does not.

Interestingly, ping6 is able to do a DNS lookup and get an IPv6 address back:

sam@shiny ~ [6]> ping6 -c1 ipv6.whatismyv6.com
PING6(56=40+8+8 bytes) 2600:3c03::de:d002 --> 2607:f0d0:3802:84::128
16 bytes from 2607:f0d0:3802:84::128, icmp_seq=0 hlim=55 time=49.513 ms

--- ipv6.whatismyv6.com ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 49.513/49.513/49.513/0.000 ms

Why can ping6 do this when nothing else can? It turns out that when ping6 calls getaddrinfo it overwrites the default flags. One of the default flags is AI_ADDRCONFIG, which tells the resolver to only return addresses in address families that the system has an IP address for. (That is, don't return IPv6 addresses unless the system has a (not link-local) IPv6 address.) Most other programs add to the default flags rather than clobbering them, which I suppose is sensible.

If you run scutil --dns it will tell you how the resolver is set up. Here's the output on my system (minus a bunch of mdns stuff that doesn't matter):

DNS configuration

resolver #1
  search domain[0] : home.munkynet.org
  nameserver[0] : 10.20.4.4
  if_index : 14 (en3)
  flags    : Request A records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

DNS configuration (for scoped queries)

resolver #1
  search domain[0] : home.munkynet.org
  nameserver[0] : 10.20.4.4
  if_index : 14 (en3)
  flags    : Scoped, Request A records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

Note that under flags, it says Request A records but not Request AAAA records. So it's left to us to try to convince macOS's resolver that we do in fact have a valid IPv6 address, even though it's on a tunnel interface.

SystemConfiguration

The "right" way for this to happen is for whatever program sets up the tunnel to use the bizarre and largely undocumented SystemConfiguration API to register the network "service" and its IPv6 properties. The Viscosity app does this. Tunnelblick does not, the official OpenVPN Client does not, and wg-quick sure as hell doesn't.

The scutil Kludge

We can create the same SystemConfiguration "service" strucures manually using the scutil command:

First we create the IPv4 part of the service:

sam@shiny ~> sudo scutil
> d.init
> d.add Addresses * 10.75.131.2
> d.add DestAddresses * 10.75.131.2
> d.add InterfaceName utun1
> set State:/Network/Service/my_ipv6_tunnel_service/IPv4
> set Setup:/Network/Service/my_ipv6_tunnel_service/IPv4

And then we create the IPv6 part:

> d.init
> d.add Addresses * fe80::a65e:60ff:fee1:b1bf 2600:3c03::de:d002
> d.add DestAddresses * ::ffff:ffff:ffff:ffff:0:0 ::
> d.add Flags * 0 0
> d.add InterfaceName utun1
> d.add PrefixLength * 64 116
> set State:/Network/Service/my_ipv6_tunnel_service/IPv6
> set Setup:/Network/Service/my_ipv6_tunnel_service/IPv6
> quit

Once this is done, the output of scutil --dns (again modulo mdns stuff) changes:

DNS configuration

resolver #1
  search domain[0] : home.munkynet.org
  nameserver[0] : 10.20.4.4
  if_index : 14 (en3)
  flags    : Request A records, Request AAAA records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

DNS configuration (for scoped queries)

resolver #1
  search domain[0] : home.munkynet.org
  nameserver[0] : 10.20.4.4
  if_index : 14 (en3)
  flags    : Scoped, Request A records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

Now we see Request AAAA records in the flags! I'm not really sure what "scoped queries" are or why the DNS configuration for them didn't change, but things seem to work now so whatever:

sam@shiny ~> curl -s 'http://ipv6.whatismyv6.com' | html2text | head -3
                 This page shows your IPv6 and/or IPv4 address
                          You are connecting with an IPv6 Address of:
                                             2600:3c03::de:d002

When disconnecting from the tunnel, all you have to do is remove the SystemConfiguration keys you added:

sam@shiny ~> sudo scutil
> remove State:/Network/Service/my_ipv6_tunnel_service/IPv4
> remove Setup:/Network/Service/my_ipv6_tunnel_service/IPv4
> remove State:/Network/Service/my_ipv6_tunnel_service/IPv6
> remove Setup:/Network/Service/my_ipv6_tunnel_service/IPv6
> quit

A couple things to note:

The name my_ipv6_tunnel_service is totally arbitrary.
According to information I gleaned from the up/down scripts in the Mullvad .ovpn profile, you have to create both the Setup: and State: keys. I didn't verify this because I am lazy.
I have no clue where the IPv6 DestAddresses come from. I copied these from Viscosity because they seemed to work there. ::ffff:ffff:ffff:ffff:0:0 for the link-local address and :: for the public
I don't even really know what DestAddresses means or what it's used for.

A nice script

I wrote a python script that gleans addresses and prefix lengths from ifconfig output. It requires Python 3.6 or later so make sure you've got that in your path. It's called wg-updown and calls its SystemConfiguration service wg-updown-utun#, but it's not really WireGuard-specific. You could call it as a post-up/pre-down script for any old VPN tunnel or run it manually. Call it like this:

# After tunnel comes up
wg-updown up IFACE

# Before tunnel goes down
wg-updown down IFACE

replace IFACE with the name of the interface that your tunnel/VPN client is using, e.g. utun1. It will print the commands that it's sending to scutil so you can see what it's doing in detail.

#!/usr/bin/env python3

import re
import subprocess
import sys

def service_name_for_interface(interface):
    return 'wg-updown-' + interface

v4pat = re.compile(r'^\s*inet\s+(\S+)\s+-->\s+(\S+)\s+netmask\s+\S+')
v6pat = re.compile(r'^\s*inet6\s+(\S+?)(?:%\S+)?\s+prefixlen\s+(\S+)')
def get_tunnel_info(interface):
    ipv4s = dict(Addresses=[], DestAddresses=[])
    ipv6s = dict(Addresses=[], DestAddresses=[], Flags=[], PrefixLength=[])
    ifconfig = subprocess.run(["ifconfig", interface], capture_output=True,
                              check=True, text=True)
    for line in ifconfig.stdout.splitlines():
        v6match = v6pat.match(line)
        if v6match:
            ipv6s['Addresses'].append(v6match[1])
            # This is cribbed from Viscosity and probably wrong.
            if v6match[1].startswith('fe80'):
                ipv6s['DestAddresses'].append('::ffff:ffff:ffff:ffff:0:0')
            else:
                ipv6s['DestAddresses'].append('::')
            ipv6s['Flags'].append('0')
            ipv6s['PrefixLength'].append(v6match[2])
            continue
        v4match = v4pat.match(line)
        if v4match:
            ipv4s['Addresses'].append(v4match[1])
            ipv4s['DestAddresses'].append(v4match[2])
            continue
    return (ipv4s, ipv6s)

def run_scutil(commands):
    print(commands)
    subprocess.run(['scutil'], input=commands, check=True, text=True)

def up(interface):
    service_name = service_name_for_interface(interface)
    (ipv4s, ipv6s) = get_tunnel_info(interface)
    run_scutil('\n'.join([
        f"d.init",
        f"d.add Addresses * {' '.join(ipv4s['Addresses'])}",
        f"d.add DestAddresses * {' '.join(ipv4s['DestAddresses'])}",
        f"d.add InterfaceName {interface}",
        f"set State:/Network/Service/{service_name}/IPv4",
        f"set Setup:/Network/Service/{service_name}/IPv4",
        f"d.init",
        f"d.add Addresses * {' '.join(ipv6s['Addresses'])}",
        f"d.add DestAddresses * {' '.join(ipv6s['DestAddresses'])}",
        f"d.add Flags * {' '.join(ipv6s['Flags'])}",
        f"d.add InterfaceName {interface}",
        f"d.add PrefixLength * {' '.join(ipv6s['PrefixLength'])}",
        f"set State:/Network/Service/{service_name}/IPv6",
        f"set Setup:/Network/Service/{service_name}/IPv6",
    ]))

def down(interface):
    service_name = service_name_for_interface(interface)
    run_scutil('\n'.join([
        f"remove State:/Network/Service/{service_name}/IPv4",
        f"remove Setup:/Network/Service/{service_name}/IPv4",
        f"remove State:/Network/Service/{service_name}/IPv6",
        f"remove Setup:/Network/Service/{service_name}/IPv6",
    ]))

def main():
    operation = sys.argv[1]
    interface = sys.argv[2]
    if operation == 'up':
        up(interface)
    elif operation == 'down':
        down(interface)
    else:
        raise NotImplementedError()

if __name__ == "__main__":
    main()


Can not access certain websites from my MacBook or iPhone [WiFi]

Ping (ICMP) packets can be blocked though you are still able to access the website.

Telnet to port 80 is actually a better test to verify whether you are able to connect or not.

Over here connecting to http://ilpost.it results in no problem:

$ telnet ilpost.it 80                                                                   (28-09-12 13:58)
Trying 151.1.175.113...
Connected to ilpost.it.

Although ilpost.it redirects to http://www.ilpost.it/


Preview on Catalina fails to select or copy text in PDF

ICYI:

As it turns out, there is apparently an issue in Apple's Preview app. I took this issue up with another representative at AppleCare. Fortunately, this chap was not an arrogant idiot as the first one was.

I finally got some feedback on my case today. Here's a brief synopsis:

  I received feedback from our engineers. They confirmed that there is an issue  with the Preview feature in Catalina. They were able to reproduce the issue by testing it on Macs running both Mojave and Catalina and got the same result that you did. This is something that has been reported and will be addressed in a future software update.


Those folders are for your convenience, can be deleted in Mail -- or under the Mailbox menu, you can choose "Use this folder for" ...


Can I import my old podcast MP3s into iTunes?

In iTunes it's possible to label items as Podcasts. To do so:

Import your items into iTunes if not done already
Select them all and choose Get Info from either the contextual menu or the File menu
Go to the Options tab and set "Media Kind" to Podcast
It will then appear in the Podcasts section using the Album name as a group


What does the command afplay --leaks do?

--leaks analyzes memory leaks. Running strings /usr/bin/afplay strongly indicates that
leaks -nocontext %d | tee /tmp/leaks_P%d.log
x=`cat /tmp/leaks_P%d.log |grep -i Leak: | wc -l`
exit $x

is actually run for this. man leaks will give a lot of additional details about what that command does.


What cables can be connected to the Apple 30 Pin Connector?

The layout of the connector can be found by a simple Google search:

Apple iPod, iPad and iPhone dock Connector Pinout
Dock Connector


Disable the "Connection lost" message when Bluetooth keyboard out of range

You can do this by disabling the Bezel UI, here are instructions on how to do so from an answer from another question related to that:

  To turn off bezels for this user until next login:   launchctl unload -F /System/Library/LaunchAgents/com.apple.BezelUI.plist   To
  undo, change unload to load, or just log out and back in.

  For macOS 10.12 Sierra: Disable System Integrity
  protection,
  then:   launchctl unload -F
  /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist   Don't
  forget to enable System Integrity protection when you're done.

  To turn off bezels indefinitely for this user:   launchctl unload -wF /System/Library/LaunchAgents/com.apple.BezelUI.plist

  For macOS 10.12 Sierra: Disable System Integrity protection, then:
  launchctl unload -wF
  /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist   You can
  now enable System Integrity protection again -- your settings will
  persist.

  To undo, change unload to load.

  To turn off bezels indefinitely for all users:   sudo defaults write /System/Library/LaunchAgents/com.apple.BezelUI Disabled -bool
  YES

  For macOS 10.11 Sierra: Disable System Integrity
  protection
  before doing the above.

  To undo, change YES to NO, or:   sudo defaults delete
  /System/Library/LaunchAgents/com.apple.BezelUI Disabled

  For macOS 10.12 Sierra: Disable System Integrity
  protection,
  then:   sudo defaults write
  /System/Library/LaunchAgents/com.apple.OSDUIHelper Disabled -bool YES
  You can now enable System Integrity protection again -- your settings
  will persist.

  To undo, change YES to NO, or:   sudo defaults delete
  /System/Library/LaunchAgents/com.apple.OSDUIHelper Disabled

  Users can override this global setting using the two methods above.

  More info: launchctl is the command-line interface to launchd, the
  program that manages services and jobs on Mac OS.

  To reverse any of the above actions, just change unload to load.
  -w means write preference to disk so that it will be used for subsequent logins
  -F means force un/load regardless of the global Disabled key

  You can read more about it in man launchctl.


How do I reset/clear my external display settings in 10.9?

Neither of the above two answers has solved the problem. Maybe I can move the ball forward a couple of inches ...
I, too, clicked on the wrong resolution for my external monitor and now I can only use the monitor in "Mirror Displays" mode. When in separate mode, the external monitor is black except for a message saying "DVI NO SIGNAL". I cannot see the System Preferences > Displays control dialog for that monitor because it's on the black screen. When I return to Mirror Displays mode, I can see that the wrong resolution is set and when I set the proper one, I get both monitors work -- but ONLY if I stay in Mirror Displays mode.
This sounds like exactly the problem that @CyberSkull reported, same cause, same results.
I can verify that Colorsync Utility.app does nothing for resolution, only color profile, and my profile is likewise set to Factory Default.
Similarly, the answer about hmscreen is about Arrangement, not Resolution. I looked at the doc for hmscreen and it confirms that it deals with ScreenIDs, screen positions, and which screen is the main screen, not resolution. I'm afraid to try it to set the black external monitor to be my main screen, and that seems to be the only experiment it might be useful for.
Finally, I found a solution that worked for me! In another Ask Different question, "change screen resolution with AppleScript", more than one AppleScript solution was offered (which I didn't try) AND @user332214 posted a link to a utility developed at the University of Utah, Display Manager which worked for me.
Display Manager supposedly has a GUI interface available, but I couldn't find where it had been installed to invoke it, so I used the command line interface. Once it was installed, the command line:
display_manager.py res 1920 1200 ext0

successfully changed my external monitor to 1920x1200 resolution, my usual, from the erroneous 1920x1080 that I had accidentally set and which resulted in a black screen except in Mirror Displays mode.
It works.


How to Disassociate an Apple ID from a work computer

Simply put, you can't without the Apple ID info of the original owner/user.

However, there is a workaround. If you reinstall the original OSX associated with the machine using Internet Recovery, this will enable you to sign in using your Apple ID and subsequently upgrade the OS from there. Note that this will not work using the simple recovery mode (the partition already on the disk).

Although reinstallation is non-destructive, it's always a good idea to back up beforehand.


Mac mini with Core 2 Duo will be good for Xcode?

Simple answer: Mac mini mid 2010 with 4GB RAM and Intel C2D can open Xcode and Safari/Chrome side by side.

Ram replacement process can be found on iFixIt. if you decide more memory is needed for your workflow.


Can I run two non-thunderbolt displays from a thunderbolt RAID device?

No, not with the Promise Pegasus R4 has only two Thunderbolt ports. One you will need to connect to the MBA and then other to your miniDP adapter. You would need a Thunderbolt dock that has another Thunderbolt port or another video interface like HDMI, etc.

Something like this: http://www.caldigit.com/thunderboltstation/,etc


Provided the image is a correct image file supported by OS X the correct command to mount would be hdiutil attach imagename.

Not all files ending with .img are disk images at all, let alone supported by OS X. You can try to use file image name to see what this file actually might be, but even for valid classic image files this may just result in data as an answer.

It would be most helpful to know how or using which software this image was created.


Windows installation via bootcamp on a MBA mid-2013 without USB or DVD

In order to install Windows via Boot Camp on Mac follow these steps:

Download the Windows iso:

https://www.microsoft.com/software-download/windows10ISO

Open Boot Camp and select the first option.

Open the downloaded iso.

You have to select the size of the partition, after that it should automatically install the drivers and reboot on the Windows installation.


Alternative of `route -n` of Linux in Mac

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


Mid 2014 MBP w/ Nvidia to three 60in HD TVs?

There is no reason that something that works with a 24" tv wouldn't work with a 60" tv of the same resolution. Size doesn't matter - only resolution.


Why does OS X terminal need manually sourcing to display colour?

The color variables should be defined before the export PS1. Now, when you call $RS on that line, that variable is empty. Try this way:

export CLICOLOR=1

# ANSI color codes
RS="\[\033[0m\]" # reset
HC="\[\033[1m\]" # hicolor
UL="\[\033[4m\]" # underline
INV="\[\033[7m\]" # inverse background and foreground
FBLK="\[\033[30m\]" # foreground black
FRED="\[\033[31m\]" # foreground red
FGRN="\[\033[32m\]" # foreground green
FYEL="\[\033[33m\]" # foreground yellow
FBLU="\[\033[34m\]" # foreground blue
FMAG="\[\033[35m\]" # foreground magenta
FCYN="\[\033[36m\]" # foreground cyan
FWHT="\[\033[37m\]" # foreground white
BBLK="\[\033[40m\]" # background black
BRED="\[\033[41m\]" # background red
BGRN="\[\033[42m\]" # background green
BYEL="\[\033[43m\]" # background yellow
BBLE="\[\033[44m\]" # background blue
BMAG="\[\033[45m\]" # background magenta
BCYN="\[\033[46m\]" # background cyan
BWHT="\[\033[47m\]" # background white

export PS1="$FBLU[\#]$RS--$RS{\t}$RS$FWHT\W$RS$FMAG@$RS$FRED\u$RS$FCYN\$$RS$FBLU>>>$RS"

alias ls="ls -l"
function cd() { builtin cd "$@" && ls -l; }


That's just the documents container in iCloud Drive, as you're looking at File Open dialog. Each iCloud-supported app has a container for documents in iCloud Drive. The application itself is still in the Applications folder as usual.


You have to edit the file ~/Library/Preferences/com.apple.dock.plist.

You need to replace every label like "file-label" => "AppName" with "file-label" => "".

Restart the Dock or logout and back again to activate the changes.


Cannot place phone call using Mac OSX El Capitan

It's impossible to FaceTime to a non-Apple device. They both must have the Facetime app. (Middle East countries doesn't have the FaceTime app.)

Think of it like a Viber call: both parties need the app before one can phone the other.


This is something you could record with a phone (or perhaps the Mac itself) and then open a support case directly with Apple. This sort of thing could be a firmware update needed or failing hardware, but I’d hesitate to speculate on the cause of this without hearing the sound, but I’m sure it’s disconcerting to say the least.

I would be sure to apply all system updates and possibly download the High Sierra installer and run it to be sure all firmware updates are applied on your Mac if opening a support case isn’t getting a quick response.


Time Machine backup drive doesn't have enough room to back up to

Time Machine stores multiple versions of file which change over time so if the backup drive has the same size as the source drive this situation does happen after some time (it also may happen if the backup drive is bigger but much more seldomly). At this point you have two options

swap your backup drive for a bigger one and start a new backup on that
accept the fact that older versions of your backup will get deleted by Time Machine


Free for a day Apps - legal for use in Apple Configurator?

Most software has an EULA | End User License Agreement associated with it — which is essentially a contract between the licensor and purchaser, that defines how the established purchaser can use the software along with the liability of the licensor.
EULA's are deployed in many different ways; often you might never see or know where to look for one within an application and/or on the developers website. Each application has it's own agreement(s), rules, and fine print. For every app you have it's likely to have an agreement that is completely different from another.
I had very tough time finding the EULA for Comic Life, since the website contained nothing that I could find. I eventually found it in the application under Window > Software License Agreement. I downloaded the trial version, so the eula associated with my version likely differs from yours. I'll spare you the entire agreement, since it's roughly 2383 words long.
Here's Section (B):

B. Comic Life Single User License. This License allows you to install
and use the plasq Software (whether trial or full version) on all your
personal computers. These are computers that are exclusively used by
you alone.

So for this version you would need to be the only person in your classroom using the application or the computers, which seems a bit comical really :D


How do I get rid of a menu extra that I installed?

Command ⌘-drag them off your menu bar, then you should be able to trash them.  You might also want to log out and log back in.


How to completely clear Instagram from iPhone?

Go to Instagram settings and try to find

image source

under Privacy & Security (it may have changed in new updates but it should still be there). Then you should be able to toggle it off and remove local username and password information. After deleting the app itself, your login information will no longer appear.

How to stop instagram app remembering / auto-filling in username at login screen, when not yet logged in


How to import contacts from Samsung E1170?

Before 10.7 Mac OS included an application called iSync for exactly that. If you're still running Snow Leopard or lower you might want to look for an iSync plugin for your phone.


How can I change the order of messages in Mail for Lion?

Just above the rows of emails there is a dropdown that says "Sort by"...

This can sort by date, flags, mailbox, etc.

At the bottom of this list, you can choose to have oldest or newest messages at the top. Check to make sure you have newest selected.


Mechanism to sync mail accounts between Mac and iPhone

No.

(if what you want is a way to configure an account once on a device and have the configuration automagically transferred to other devices.)


Can I know the technical specifications of a Mac mini without an OS?

You’ve got a few options here:

Lookup the machine exact hard drive capacity by entering the serial number on the Every Mac website.

Boot the Mac Mini while holding down the ⌘ CommandR keys to enter recovery mode and then chose the Disk Utility option (normally at the bottom of the menu) this will show you the capacity of the installed hard drive.

I’ve never tried it before but I would also expect Time Machine to warn you if you attempt to restore your backups to a disk that’s too small.


APFS Containers - Encapsulation and Safety

In answer to your questions:
Yes, you can add and remove containers without causing problems. You have to be aware that two containers cannot share space in the same way two volumes in a container do.
It is probable that this would totally encapsulate the two OS installs, but be aware that until Big Sur we thought the same about different volumes in a single copntainer so if it will continue to work after Big Sur in subsequent beta versions is an open question.


This should do the trick:

In Terminal:

diskutil eraseDisk MS-DOS <newname> <diskID>

where  is the new name for the disk and  is the disk identifier (you can find this by getting the disk info from Finder or Disk Utility, or by typing "diskutil list" into Terminal).


We share iCloud accounts on two devices, can both backup photos to iCloud?

Yes, iCloud backup will keep the backups of your Camera Roll separate.

If you mean Photo Stream, yes, the photos will be merged into a single Photo Stream.


Blank process name in Activity Monitor on OS X Mavericks

Try clicking the "info" button and then running a sample on the process. For me, the process turned out to by iStatLocalDaemon.


I want to make my Iphone in German Language , Which is currently in English Language

Settings → General → Language & Region → iPhone Language → search for German.


How can I restore an iCloud backup to a new device?

I found the solution myself in the meantime.

Seems new ipad was using an older iOS than the old one was when i backed it up, which is why it couldn't find the iCloud backup and forced me to set it up as a new ipad and use iTunes. It is all better now!


iMac has weird startup chime and refuses to boot

No, you cannot assume that. This repeating startup chime with the three second pause between the three tones is an indicator that you are trying to boot your iMac from a non-supported operating system.

The 27" mid-2011 iMacs originally shipped with Mac OS X 10.6.6, and later shipped with Mac OS X 10.6.7. This iMac will not run from Mac OS X 10.6.5 or earlier. However, on the positive side, it will run all version since, including macOS Sierra.

As an aside, it is strange that Apple hasn't documented this on the page you referenced.

Hope this helps!


Why does my iPhone 4S's screen have a yellow tint?

It depends on the cause of the yellowing.

I personally have seen the following situations:

Psycological yellow where any time you have a black border and a white area, the brain will color the white yellow. If you hide the black with a piece of white paper, the yellowness magically disappears.
Permanent manufacturing problem where the LCD is pinched internally, damaged, or otherwise really emitting a permanent yellow cast as measured by a calibrated colorimeter such as the Spyder.
Temporary yellowness (very rare - I've just seen this a few times). I don't know why or when it went away, but several people sure agreed that one phone was off until it was restored. I don't know if it was some odd warmup temporary hardware issue, but after it was restored, it looked and tested fine with the Spyder.

Do keep in mind, not all displays are made in the same batch, same factory and that combined with the backlight settings can make a pretty large difference between models. If it's convenient to have it checked out, or you can take a picture of the colors and it's totally obvious yours has some severe color tint, then take it in and ask for a repair. If not, you'll likely need hours of time and expensive tools to even tell your phone is unique to another after using it to play games for a day or two. It will just be right and your brain will compensate for whatever calibration your phone has. A restore of the device is also a good thing to try so you don't needlessly waste time going in for service since that is the most obvious cause of the LCD passing all inspections along manufacture but you having colors that seem off to your eye at the point of receiving a new phone out of the box.


What are next steps when fsck reports "could not be repaired after 3 attempts"?

You can try this but please make sure you backup first:

Boot to single-user mode, hold down the command (i.e. cloverleaf or Apple) and "s" keys as the system begins to boot.

To Debug, Repair, Force (and fix errors automatically)

/sbin/fsck_hfs -drfy /dev/disk0s2

To scan for bad blocks:

/sbin/fsck_hfs -S /dev/disk0s2

Assuming disk0s2 is the one you are looking to repair. (Usually the default "Macintosh HD" drive.)

This should get you back inside your OS.

This link may help too:
http://www.westwind.com/reference/os-x/commandline/single-user.html


MacBook 4K/60Hz adapter is working directly, but not via USB-C hub

The reason that when you plug in your (known to be good/working) USB-C to HDMI video adapters into USB-C hubs is because the USB-C hubs don't pass the video signal that originates from the MacBook Thunderbolt port.

If you need a hub for connectivity and you want to have HDMI output, you either have to get a dock or a hub that specifically passes the video signals like the Anker Premium USB-C Hub with HDMI and Power Delivery.

Apple tried to make everything simpler with having one type of port, but (IMO) they made it more confusing.  A few things to keep in mind:

USB-C is the physical port type.  USB 3.1 is the USB specification that sets the standard for how the port functions
Thunderbolt 3 is the actual port on your MacBook.  It just happens to use USB-C.
Thunderbolt 3 has many functions built into one connector

Video (HDMI 2.0 and DisplayPort 1.2)
Power Delivery
USB (3.1 Gen 2)
PCIe (PCI Express 3.0)

That's just a quick summary;  for full details, see Thunderbolt 3.

So, just because an adapter "says" USB-C, dosen't mean it's going to carry all those signals/protocols.  USB-C is often gives the end user the perception that "if it fits, it works."  Unfortunately, now you have to verify that that what you want to do is supported by the adapter.


How can I login to icloud.com from my iPhone?

This is not possible, nor was it possible with Mobile Me.  Particularly irritating when a number of people share an iPad and don't want to enable full email for each other for example.  I'm afraid there is no way around it, unless perhaps you can download a different browser from the App Store that will enable you to change your user agent string to trick the website into thinking you are using Firefox or something that isn't mobile safari.


Sending Keystrokes to a Window when it Loses Focus

A way to trigger it with a global keyboard shortcut (and without having to switch back) is to create a little applescript to do it for you.  I'm not familiar with Virtualbox's windows, so you'll need to modify the below to suit your needs.  You can run it as is, and note that 1) Terminal does NOT take focus when you run this, it stays in the background and 2) when you do switch to terminal, the Inspector will be showing.

tell application "System Events"
  tell process "Terminal"
  click menu item "Show Inspector" of menu "Shell" of menu bar 1
  end tell
end tell

I'm assuming that the Pause VM command will be available from the VB menus, if not, please let me know in the comments where the command lives, and I can update the answer to reflect that.

Once you have the applescript tested, use Automator to create a service: this will let you activate it with a global keyboard shortcut, no need to switch applications or anything.

Launch Automator
New project if it loads an old one, and select "Service"
In the search box enter, "script" to filter the options and double-click "Run Applescript"
Paste the applescript right in there.
Save it, give it a name like "Pause the dang VM", and quit.

Next, to give it a global keyboard shortcut:

Open System Preferences -> Keyboard -> Shortcuts Tab
Select "Services" in the left pane
Scroll to the bottom of the right pane, and you should see your new service
Click "none" to the right of your new service and you can create a shortcut.

So now if you forget, at least it's just a key press instead of a whole application switch around.

NOTE: you'll need to allow Automator to control the computer in System Preferences -> Security & Privacy -> Privacy -> Accessibility


Lost in FFMPEG (downloading & installing)

The easiest way to convert video on the Mac is to use Handbrake. It is easily downloaded and installed and includes the same libraries as ffmpeg. (I know you say it doesn't work in your case but I include it here for others who might end up at this question.)

The version of ffmpeg you want is the 64-bit static build, preferably in a DMG as that is the easiest one to install. Using homebrew would be an even easier way to get it installed.

As for homebrew it is fairly well explained on their home page. You don't actually need XCode, just the XCode command line tools which homebrew will download for you the first time you use it to install something.

Once you install ffmpeg then man ffmpeg will get you the manual for it. You might prefer

man -t ffmpeg | open -f -a /Applications/Preview.app/

which will open the man page in Preview where you can read it more easily, or even print it.


How can you send the same text to multiple people without it being a group message?

The option you're looking for is located at Settings > Messages > Group Messaging. Turning this off will send all messages individually to their recipients.

Note: Disabling MMS Messaging will remove the Group Messaging toggle from the list.

Note: Some cellular service providers do not support Group Messaging, so if you have MMS enabled, and you still don't see Group Messaging, then it's likely that your provider does not support it. From Apple: If you don't see an option to turn on MMS Messaging or Group Messaging on your iPhone, contact your carrier.


Problem to automatically update list of files on Finder

Open your dowload folder and sort by date added. Under the View Menu select show view options. This opens a pane like the one shown below.

You want to make sure your 1st 4 settings are identicle to the ones shown above in the top red rectangle and the "Show Columns"  settings has the "Data Added box checked.

Now when you download a file the name should appear almost immediately at the top of the window.


"Permission denied (publickey)" every time I try to push to git

I think this happen because when you generated your ssh key, you entered a passphrase for security. When you start the ssh-agent and add ssh/rsa_id it should as for the passphrase.

[root@user xxxxx]# eval "$(ssh-agent -s)"
Agent pid 12082
[root@user xxxxx]# ssh-add /home/user/.ssh/id_rsa
Enter passphrase for /home/user/.ssh/id_rsa:
Identity added: /home/user/.ssh/id_rsa (/home/user/.ssh/id_rsa)

git push -u origin master
Counting objects: 94, done.


How to set an unattended Mac to automatically download files & photo originals from various iCloud accounts e.g Family Shared iCloud Storage?

You could try enabling Fast User Switching, then logging in to all of your family’s accounts. Fast-switching between users keeps the previous user logged in, so processes running on that account should keep running in the background (albeit with a lower priority).

Open System Preferences → Users & Groups → Login Options.

Click the Padlock to unlock Administrator-only options.
Finally enable Show fast user switching menu as (Icon or Name doesn’t matter).

Now click the new option that should have appeared on the right side of your macOS menu bar, and login to another user account.

This should be sufficient since cloudd and photolibraryd will start automatically to sync your files and photos. However if you want to be safe, open up the Photos app.
Repeat steps 4-5 for every family member.

You should only need to repeat this procedure if you reboot your Mac (eg. after a system update).

Screenshots courtesy of How-To Geek.


How long should diskutil resetUserPermissions take (Catalina)?

2.5 hours. No way. It’s stuck, or lost.
Open activity monitor in utilities and look for the running process. Put resetUserPermissions in the search bar.
Or in The activity monitor, if you find it, stop the process.


Restored/Wiped- Automatically enables Location Services like in LOST MODE?

The only thing that matters on iOS 7 is whether you have fine my phone enabled. Also, you can't turn off location services when you have find my phone active.

If so, you can't get iTunes or the device to erase itself unless you enter the password for iCloud account that is enrolled.

If you do factory erase it, it still won't re-activate unless the iCloud password is entered. So, to answer your question - location services is likely not re-enabled since the device lock prevents activation of the OS and opting in to location services before the wipe. It would either require access to the source code or servers from Apple to know if location is tracked in is case, but my intuition is no.

If you enable lost mode, that locks the device, but it still is traceable and can be located. Just as if you didn't enter lost mode.

If you erase the device, that removes the data and tracking ability once it connects to the Internet and receives the self-destruct message. It still displays the lost message, but you can't track it.


Bonjour/Airplay in restricted College Network

If all else fails you can create a wireless LAN directly on your Mac and connect your iPad to this WLAN. TUAW has some good instructions on how to do this. To start pick the appropriate option in the Airport/Wi-Fi menu (picture shamelessly taken from the linked TUAW article):

The rest is pretty self-explaining.


Not currently. You can read about how 8.1.3 has patched the loopholes required to jailbreak 8.1.2 and 8.1.1 on jailbreak nation's web site:

Version 8.1.3 patches the exploits used in TaiG and PP Ghost causing a permanent loss in jailbreaking until another exploit is found (which can easily take months).

I'm sure someone will update things if another exploit is possible, but unless you can revert to 8.1.2 you might be out of luck indefinitely.


I have a work around for you that works and is a bit quicker than copying to pages.

What you do is:
1. Highlight the emails that you want to print. Either the whole thread or selecting particular emails by holding the apple key and selecting the mails.

Click the 'forward' button. This compiles all the emails into on big email
Print! and you are done.


Mountain Lion Messages Facebook Jabber connection problem

These steps fixed the problem for me:

Disable the account.
Check 'Automatically find server and port'.
Enable the account again.


Is it safe to run two installers simultaneously?

Installer won't let you install two programs simultaneously, so the question is moot. Click Install on as many packages as you wish and Installer.app will queue them up and install them individually.


It very much sounds like a physical hardware issue. For an external mouse to make a difference you must make sure your built-in trackpad gets disabled when the mouse is connected, or the ghost events will keep happening since the trackpad is still active.

Go Prefs > Accessibility > Mouse & Trackpad and make sure "Ignore built-in trackpad when mouse is connected" is selected.


DNS lookup painfully slow on only one network?

Thanks for all the suggestions. I verified that this is indeed only a problem on this machine, so I figured it must be something misconfigured.

I found that I had Cloudflare's 1.1.1.1 (and associated backup and IPV6 addresses) as manually-set DNS servers for only this network. When I removed these addresses, my lookups became blazingly fast.

The mystery is now: why is 1.1.1.1 so slow? I set these as my DNS servers on my iPhone and it's nice and fast. I'll mark this question as solved because my original question has been resolved, but it have generated another bigger question.


How to prevent OS X from launching programs from another disk?

Try rebuilding the launch services database using the lsregister command. That database provides the information for the open menu, etc as noted in How to rebuild the LaunchServices database  from Macworld's Mac OS X Hints. Rebuilding the launch service database while running from the newly installed partition should fix the problem of trying to open Applications on the other drive partition.

  If your "Open With" menu shows applications that are no longer installed, or shows some of them as duplicates, you can use the following Terminal command to rebuild your LaunchServices database:

For OS X 10.6 and later run:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system

For OS X 10.5 and older run:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

If the problem persists after running the above command, try un mounting your original partition before running the above command again. Additionally, as noted on the hints article and when running the lsregister  command with no arguments there is some helpful output that will allow further customization to specify where to look for Applications, etc.


MacOS dock freezes when I launch Java application

When I launched these Java programs (why only Java applications I honestly don't know...) I remember I inserted a network sharing shortcut in the Mac OS dock.

I think MacOS as a side effect tried to analyse this folder (which is in fact a network storage) while it was in the dock ; which causes all these lags since the network shared folder is not all the time connected (when I'm not @ home, or even if I am at home and the NAS is sleeping).

TL;DR If you have any kind of network shared / FTP folder as a shortcut in your Mac OS dock you may try to remove it to see if the lags are disappearing.


Use target mode to pull data from a hard disk encrypted with FileVault?

Yes,

Boot the Mac you want the data from into target disk mode, https://support.apple.com/en-us/HT201462. Connect the two Macs and wait. You should be prompted for the file vault password. After you enter the correct file vault password wait some more. After a few minutes the other mac's drive should mount on the desktop. Now copy over any files you want to keep.


The iPad will allow you to run any app installed on it, no matter what Apple ID it is associated with. You will need to switch to your account when you first download the app, and then switch back. The app will continue to run normally, and if there are any updates you can download them without switching accounts (the App Store will ask for your account's password). I am not sure which account will be used if you try to make an in-app purchase, though, so be careful.