Importing citation style to Zotero from Citavi

I'm sorry to say that there is no way to do that. Citavi citation styles are in their own format and there is no conversion tool.
There is a tool for Zotero/Mendeley styles that let's you find close matches that you may found useful.


Transform old iphone entry into new one for docking station

This Lightning to 30-pin adapter from Apple should work just fine.


Can I use Apple TV First Gen as a wifi extender?

It should work if you do as you suggest - hack your Apple TV to install OS X on it, you should be able to use Internet Sharing to share the wifi signal. There are many resources on how to do this, but this blog post should be a good starting point.

Two caveats:

I haven't tried this, so no promises.
Because of how Internet Sharing works (it's using NAT), whatever is on the wifi side of the network may have limited access to the rest of your network. Internet access should work okay, but things like iTunes Home Sharing and the like won't be accessible.


OS X 10.11 El Capitan - Verifying file dialog, every time a file is opened

The cause might be that the file/folder was downloaded.

In any case, you can remove the 'quarantine' status with

xattr -d com.apple.quarantine "/path/to/Geometry.pdf"

you can add the -r flag to make it recursive, in case you still have trouble.


I've seen that Exception before when I throw a Javascript primitive and it reproduces reliably and consistently with my Instruments-4.5 (4523).

Your comments state that this does not reproduce reliably.  Is it possible that your tests do not take the same path reliably (and hence, not consistently throwing), and this is why they only reproduce sometimes?  Before continuing, I suggest verifying that your tests are taking the same path consistently.

To verify throwing a Javascript primitive is the case with your tests, do these steps.

Find a Javascript test file that reproduces with your InstrumentsException.

Verify the Javascript test throws a Javascript primitive, as opposed to a Javascript Object.  Specifically, you want a line that uses "throw" but does not use "new" in the same line.  The relevant line should look like this,

throw "Who's your daddy";   //Instruments throws an InstrumentsException with this.

not

throw new Error("Who's your daddy?");  //Instruments has no problems with this.

Verify that your installation does actually throw that specific InstrumentsException when you throw a primitive.

throw "Who's your daddy";

At this point, you've got a pretty good suspect.  But you to make more certain, try removing the suspicious "throw" line or replacing it with something else, just to see if you can get the test to pass.


Does ctrl-A and ctrl-E on a mac work the same as HOME and END on Windows?

In fact this convention is coming from the Emacs text editor on Unix.
Windows copied it 30 years later :).

Of course, this is working in:

emacs

and these 2 shells which inherited the editing line shortcuts of emacs:

bash
zsh

and these Apple graphical interface software:

Calendar
Messages
Notes
TextEdit
LibreOffice
Pages
Finder

On the other hand, this convention is failing in:

vi

and I suspect in some other softwares which have their own set of shortcuts without enough freedom to keep these very old and useful ones.


Automator workflow only works when clicking "step"

The behaviour you describe suggests a timing issue. One or more steps are not completing before the next step begins.

Consider combining all the steps into a single AppleScript. You can use the do shell script command in AppleScript to call out to shasum:

-- Get value to hash from clipboard
set myValue to the clipboard

-- Build the command to execute
set hashCommand to "echo -n " & quoted form of (myValue) & " | shasum -a 256"

-- Debug check the command; comment out when it looks good
display dialog hashCommand

-- Execute command and place on clipboard
set myHash to do shell script hashCommand
set the clipboard to myHash

The clipboard is accessible by AppleScript:

display dialog (the clipboard)

As a single AppleScript, you can debug using Applications > Utilities > Script Editor and gain much better insight into what is happening as the script runs.


AppleScript: How to check if the clipboard consists of a file (instead of text)?

If the Clipboard contains a file object, then clipboard info will contain, e.g., «class furl» (a file URL), along with many other classes.

The follow example code will check for the presence of «class furl» in the clipboard info:

if ((clipboard info) as string) contains "«class furl»" then
    say "the clipboard contains a file named " & (the clipboard as string)
else
    say "the clipboard does not contain a file"
end if

Update:

As I mentioned in one of my comments, there are other ways to code this, and this approach will return either an empty list or a list containing one list, which should be faster instead of the 14 that the first example returns if it contains a file. If the Clipboard does not contain a file, then the list returned is empty and it errors out, setting cbFile to false, and if not empty, setting it to true, which then is tested against in the following example.

try
    (item 1 of (clipboard info for «class furl»))
    set cbFile to true
on error
    set cbFile to false
end try
if cbFile then
    say "the clipboard contains a file named " & (the clipboard as string)
else
    say "the clipboard does not contain a file"
end if

By the way, I ran the purge command in Terminal in between testing these two examples and it felt like the second example is a bit faster, however YMMV.


Since this is a strange and unusal thing that I have never heard of, I can't offer a single solution, however I can offer multiple procedures to try and solve the problem.

Turn your iPad off and back on. Simple yes, but don't underestimate the power this procedure can do. It works wonders!
If that didn't work, try resetting all of your settings. This can be acheived by opening the settings of your iPad and navigating to General -> Reset -> Reset All Settings. This will not cause you to loose any data, however anything in the settings app will be set to their default settings, ranging from iCloud login, WiFi networks, wallpapers and even your ringtone will be set to the default. No data will be lost, but you will need to sit with the iPad for a solid few minutes reconfiguring it again to its proper settings.
Hopefully that worked, because if it didn't it's time for a device fresh restore. This is where you will need to get a computer and a USB to lightning cable and hook it up to iTunes. This procedure will force EVERYTHING to be removed from the device unless you restore it from a backup. So before you do anything, make sure you create a backup by going File -> Devices -> Back Up. Now that you have your backup this step splits into two options for you.

a) Click on the Restore button in the device summary page to wipe the device clean. Once installation is finished and while the iPad is still connected to the computer you may select Restore From Previous Backup. This will restore everything back onto the device, including apps + their data, photos and anything else, even your wallpaper at the time. If the setting STILL isn't there. Then there is no choice to do a full restore and keep it that way

b) The best way to go about is is enable iCloud and sync all of your contacts/calendars/anything else to it if you haven't done so already. Also, a nifty new feature is iCloud Photos where it stores your photos in your drive. You can use this as a first line of backup for photos but if you want you can copy them off your computer while its still plugged in (eg iPhoto if you are on a mac). Once all your important data is backed up somewhere other than the device, hit that Restore button once again. Let it finish and go through the step by step tutorial to setup as a new device.
Proceed to restore all your data by logging into iCloud/redownloading your apps/changing settings once more, but before you do any of this, check to see if the FaceTime setting is there again. If it isn't, you may as well restore from the iTunes backup once again and this time call Apple for support.

Hope it doesn't have to get anywhere further than option 1 but if all else fails I hope it works out for you. Good luck! :)


Replace a string in directory name using a variable

Solution

Replace your line:

base="$(basename $str)"

with:

base="$(basename $str | sed 's/FLAC/V0/')"

or, if you want the [ and ] brackets to become part of the search pattern:

base="$(basename $str | sed 's/\[FLAC\]/[V0]/')"

Explanation

The | (or pipe) character essentially means “take the result and feed it into the next program”.
The sed (stream editor) command takes the input, applies commands to it, and prints the result. For example, the s/FLAC/V0/ command in sed means “for each input line, search for FLAC and replace it with V0 (but no more than once)”.
sed uses regular expressions instead of fixed search patterns. That means you need to escape certain characters; hence, my last example says \[ and \] in the search pattern (instead of just [ and ]).


From a FAQ of Smudge Guard:

  Unfortunately, the current SG gloves are not compatible with the iPad
  at all. The SG glove does not prevent detection on the iPad. :(

  However, please note that recently, two other customers of mine bought
  the SG glove and tested it while sketching on the Autodesk Sketchbook
  Pro. They said it did not prevent accidental strokes with their palm
  because the material/fabric was not thick enough. But cleverly, my two
  other customers then tried slipping in a microfiber cloth, (folded in
  half) into the side of the glove. The microfiber they used, were those
  little rectangular shaped cloths that are made to clean eyeglasses.
  They inserted it into the glove (where the edge of the hand is) and
  they said it worked! The iPad didn't detect the side of their hand.

There is also an info they started working on a fully-iPad compatible glove. Microfiber option could work with any thin glove, perhaps.


How much GPU memory do iPhones and iPads have?

iPhones/iPod Touches/iPads all have a Unified Memory Architecture which mean that both the CPU and GPU share system memory.  There is no dedicated video memory on these devices.

The advantage is that you don't need to worry about running out of video memory for your textures or vertex data (your app will be terminated by iOS for using too much memory before that happens). The disadvantage is that you share the same memory bandwidth for gameplay and graphics. The more memory bandwidth you dedicate to graphics, the less you will have for gameplay and physics


Are there any autocompletion input tools for English? Except default TextEdit app

This question may have already been answered by How to setup predictive text (autocomplete) on Mac?, which states:

  The closest things I've found to what you are looking for are this
  text editor experiment that you have to compile yourself

  http://alvinalexander.com/java/type-ahead-continuous-predictive-text-editor-auto-complete

  And this Chrome extension for Gmail https://complete.li

  Both would require you to type in their respective places and then
  paste into your application of choice, but I haven't found anything
  that works systemwide.

However, just to complete the answer, there is a IME type method built into TextEdit, that can be activated by hitting the ESCAPE key, so if you type "beg" then the system will bring up a selection of words beginning with "beg", thus:

However, the title of your question implies that you do not want to use that text editor. However, TextEdit is a system wide text entry mechanism so that particular functionality should be available in a number of text entry fields across the system.

Evernote has an autocomplete system, that relies on the the MAcOS autocomplete.

There is another method, using Emacs, which has an autocompletion mechanism. Again, though, it is tied to use within one particular application, although it is an extremely versatile application, if a little tricky to learn to use.

So, in summary, there appears to be no system-wide IME type functionality, apart rom the one built into OS X's TextEdit mechanism. To re-iterate the answer from Super User: you will have to type in a specific IME friendly application and then paste into your application of choice


Deleting all iCal events and cleaning out iCal, so I can start new

Close Calendar/iCal. In Finder, press cmd + G. Type in "~/Library/Calendars". Press return. This folder contains all of the contents of your Calendar app on your Mac. Drag all of the contents to the Trash. Now launch Calendar/iCal again. It should be restored to its default settings.

Some caveats:

Ensure that you are not syncing calendars from iCloud, Gmail, Exchange, etc. (You can check in System Preferences or Calendar/iCal Preferences to be sure).
Do not empty the trash until you have ensured everything is working well. In a worst case scenario you can right click on items in the Trash and select "Put Back" to restore them if you want to undo all of this.


The problem was the internal SATA cable. After exchanging it - this is quite an easy operation, there are plenty of videos on Youtube that describe exactly how it's done - the drive booted flawlessly and is running at a negotiated link speed of 6 Gigabit.

To make sure an SSD will work with a Macbook, the Link Speed of the SATA controller should be checked in About This Mac > System Report > Hardware > SATA/SATA Express


Why are my preferences reset after restart with Mavericks?

Have you tried repairing the permissions on your home folder?  Sounds like the Finder is having trouble writing the necessary preference files.


I had a issue like this and I do not know exactly how this fixed it but I went to the Apple in the left corner clicked it, then About this Mac. Then clicked the tab Storage. Then clicked Recommendations and did what it said there.Then made sure all the settings had a green dot. That did make my iCloud photo and MacBook Pro work better together again. I also upgraded my storage space.


Press alt/option+return or control+return to enter a new line instead of sending.


I usually do the same thing when installing or deleting stalls, put the device in airplane mode, turn off WiFi, turn off Bluetooth and power it down.

When it starts, delete the app, then enable communications as desired.

When that fails, it’s easy to collect diagnostic information and send to Apple, but usually it’s a stuck network or storage issue that starting with a clean OS start in trolls whatever process was jammed.


iCloud itself doesn't sync music; iTunes Match does that.

A good solution might be to use iTunes Match to sync all the music between computers. In my experience with iTunes Match, all the complexity is up-front; after the initial upload, getting new devices on it and using them is super easy.

With Match enabled, just sync the iPhone to the iMac like you would have in pre-iOS 5 days and the notes won't leave the two of them if you don't use iCloud.


How to back up Windows 7 on Boot Camp to a Mac-formatted external drive?

Using Snow Leopard Disk Utility, I made three partitions on an external hard drive:

HFS+  for Time Machine
MSDOS, subsequently converted to NTFS, for Windows 7 backup
EXFAT for shared media e.g. iTunes Library

I have not yet made a final decision about what backup package to use for Windows 7.  At the moment, I'm using Microsoft's Windows 7 backup solution, with manual image files, and trying to keep any data files in the Cloud.

I do not yet have even 10 days experience with this setup.


How about this, assuming the dates are in column B of Table 1. The MATCH function returns 3, the location of 9/30, which is the date before the match. Add 1. Then use INDEX to get the value of cell 4.

INDEX(Table 1::B,MATCH(NOW(),Table 1::B)+1)


Apple network share - how do I restrict access for user or staff group?

I'd probably change the group from staff to something else. Or remove the group access using:

chmod g-rwx /path/to/folder


It took me a while to solve this, but the solution was:

Open System Preferences
Open 'Keyboard'
Change 'Touch Bar shows' to 'App Controls'

I'm not sure how this had been changed, but it had been set to 'Expanded Control Strip'


My iMessage froze up on my iPod 4th generation

You can double tap the home button till the app switcher comes up at the bottom of the screen, then press and hold the messages app until the little red minus button appears at the top left of the app button. Press that to shut it down, then open it again.

You could also hard reset the iPod by holding down the home and sleep button at the same time for about 15 seconds.


What does it mean when a process is surrounded by parens in `ps`?

When you see a process in parentheses/brackets it means that ps could not determine its command (which appear in the CMD column). This might explain why you don't see it in the Activity Monitor.

You can restart Finder also outside a shell. Just click on the Apple symbol in the top left corner of the MacOS task bar, click on Force Quit and select Finder (usually at the bottom)

Generally, I find top more convenient than ps, but I think both should work equally fine.


How to read old Apple ][ 5.25" floppy disks

I've never done this myself, but I did a little searching to see what might solve your problem.  Stumbled across this:

http://adtpro.sourceforge.net/

If you can connect to your modern computer using a serial cable (though even that's troublesome in this day and age…) this just might be your ticket.


I would recommend backing up your phone using iTunes and then restore using the last backup. This should help in freeing up space, mostly if you do OTA upgrades.


How do I clear All OS X notifications with 1 click?

tell application "System Events"
    tell process "NotificationCenter"
        set numwins to (count windows)
        repeat with i from numwins to 1 by -1
            click button "Close" of window i
        end repeat
    end tell
end tell

Copy and Paste the above code into AppleScript Editor
Enable Script Editor in Accessibility


How do I create an AppleScript that will quit an application at a specific time and then put the computer to sleep?

I'm assuming that you'd like to initiate this procedure as opposed to having it run at a regularly scheduled time.

My approach would be to initiate this from the command line, but any commands can be run in a shell script component of an Automator script with some modification. The following approach combines a few components to get the job done:

A tell command to quit the application
A command-line call to put the computer to sleep
A command-line call to schedule 1 and 2 for a specific time.

1. Telling the Application to quit

This can be as simple as:

osascript -e 'tell application "AppName" to quit'

2. Putting the computer to sleep

Have a look at pmset for more details, but issuing the following command will put your computer to sleep:

pmset sleepnow

3. Scheduling an operation to be run at a specific time

Have a look at the at command. This command gives you the ability to specify a time for a command to run. You'll need to enable this functionality as it is not by default. To enable the atrun daemon, run the following command [reference on SU]:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

Once you've enabled atrun, any command can be scheduled for a specific time by issuing

echo "<command>" | at HH:MM

which works because at takes it's input from stdin by default. A simpler approach is to run commands listed in a file. A file can be executed by using the -f flag, followed by the name of the script to be run like this:

at -f /path/to/file HH:MM

Putting it all together

What follows assumes that atrun is enabled. As a toy example, let's say that I want to quit Mail and put the computer to sleep at 11PM. I would create the a file containing the commands that I want run as follows:

osascript -e 'tell application "Mail" to quit'
pmset sleepnow

Save that file to quit-and-sleep and then run on the command line

at -f /path/to/quit-and-sleep 23:00

Caveats

I didn't do any checking to make sure that Mail actually closed. The script also assumes that nothing else is going to get in the way of putting the computer to sleep.  I've kept it simple here as a starting point for what you want.


What Database programs/tools are included with OS X?

Sadly, the database tools that ship with OS X Lion are special purpose tools and lack an interface building toolkit. Apple implemented Core Storage for developers and not end users to use and a similar path seems to be likely for iCloud in the next year. The address book is the only card like storage GUI and adapting it for purposes other than storing contacts is painful to say the least.

Let's look over the open source projects included with OS X v10.7.3 that ship and call out the candidate database and key-value store frameworks you could possibly bend to your wishes:

BerkelyDB
OpenLDAP
PostgreSQL
SQLite
WebKit
libsecurity_keychain

I'll leave the various programming languages off the list since that's more of a Stack Overflow answer, but none of these is ready to go with a simple card based graphical user interface. If I had to pick one tool to re-implement hypercard, I would start with WebKit's implementation of HTML 5's client side database storage and use Safari for layout / user interface. This would likely need javascript knowledge as well as HTML / CSS to pull off a workable solution.

In a similar way, you could take tk and one of the programming languages to build up your database and UI logic and hook into your favorite data store listed above. Also, don't overlook iCloud's key-value store since it could arguably be considered "shipping with Lion."

Your constraint of not needing to install additional software is limiting since Apple no longer ships a tool that both stores data and has any sort of usable UI. Even automator can store variables, but you'd be hard pressed to make something of it in practice.

Leaving the run only what is installed constraint opens the gates to many solutions. The best (as of today) card based studying app seems to be Mental Case, but it lacks the database aspect and simple programmability of Hypercard.  I haven't seen a single viable hypercard replacement that ships on the App Store, so perhaps some developer will provide exactly the tool needed to fill the gap left by Hypercard.


Does CapsLock to Escape remapping in System Preference work?

This isn't reproducible, it seems to work just fine.


Why are my passwords copied to the "Local Objects" keychain after using AutoFill? What is "Local Objects" after all?

To my knowledge, this is to put anything that can be synced with iCloud Keychain in a separate keychain. It is still technically part of the login.keychain, but kind of "partitioned" away in case you turn on iCloud Keychain and start syncing these items.

A lot of computer specific things are kept separate in the main login.keychain because having those show up on another Mac/iOS Device would cause it to misbehave since it is a physically different machine.

This is just based on my observation of macOS keychain. It only only started doing this when iCloud Keychain was introduced, and all the items in this second keychain will appear on other Macs and iOS Devices if iCloud Keychain is turned on. This second keychain changes it's name to "iCloud" when iCloud Keychain is enabled.


When plugging in iPhone, iTunes and iPhoto open on my Mac

You can also write a little script that prevents iPhoto from lunching automatically.

Just to make sure I got your question: you want to disable auto lunch for iTunes and Photos app + Disable auto sync in iTunes. Am I right?


Is it possible to launch and use Itunes with the command line on windows?

While iTunes might not be controlled directly from within the Windows command line directly, using either VBScripts or PowerShell scripts it might get tamed though.
The following list of PowerShell code was compiled from the above mentioned links to also showcase how playlists can be selected and songs rated.

# Inspired by
# - https://gist.github.com/rkumar/503162
# - http://samsoft.org.uk/iTunes/scripts.asp

# Search for iTunes COM object
Get-CimInstance Win32_COMSetting | Select-Object ProgId, Caption | Where-Object Caption -ILike "*itunes*"
# Initializing itunes
$itunes = New-Object -ComObject iTunes.Application

# list methods and properties
$itunes | Get-Member
$itunes.CurrentPlaylist | Get-Member
$itunes.LibraryPlaylist | Get-Member
$itunes.CurrentTrack | Get-Member

# commands
$itunes.Play()
$itunes.NextTrack()
$itunes.PreviousTrack()
$itunes.PlayPause()
$itunes.Resume()
$itunes.Stop()

# changing properties
$itunes.SoundVolume = 50 # sound volume to 50%
$itunes.Mute = 0 # mute
$itunes.Mute = 1 # unmute
$itunes.CurrentPlaylist.Shuffle = 0 # shuffle off
$itunes.CurrentPlaylist.Shuffle = 1 # shuffle on
$itunes.CurrentPlaylist.SongRepeat = 0 # repeat none
$itunes.CurrentPlaylist.SongRepeat = 1 # repeat one
$itunes.CurrentPlaylist.SongRepeat = 2 # repeat all

$itunes.CurrentTrack.Rating = 80 # 100 = 5 stars, 80 = 4 stars, 60 = 3 stars, 40 = 2 stars, 20 = 1 star
$itunes.CurrentTrack.AlbumRating = 80

# Retrieve values
$itunes.CurrentPlaylist.Name
$itunes.CurrentPlaylist.Index

# List available playlists
$itunes.Sources.Item(1).Playlists

# Select playlist and start playing
$playlists = $itunes.Sources.Item(1).Playlists
$selPlaylist = $playlists.ItemByName("Name of your playlist")
If ($selPlaylist -ne $null) { $selPlaylist.Reveal(); $selPlaylist.PlayFirstTrack() }

These options allow to bind certain functions to macros to control iTunes i.e. from within VoiceAttack or mouse/keyboard macros.

How to just add song to library? Or even sync iphone?

In PowerShell if you'd enter the following commands
Get-CimInstance Win32_COMSetting | Select-Object ProgId, Caption | Where-Object Caption -ILike "*itunes*"
$itunes = New-Object -ComObject iTunes.Application
$itunes | Get-Member

you should see an output similar to this:
   TypeName: System.__ComObject#{9dd6680b-3edc-40db-a771-e6fe4832e34a}

Name                               MemberType            Definition
----                               ----------            ----------
Authorize                          Method                void Authorize (int, Variant, string)
BackTrack                          Method                void BackTrack ()
CheckVersion                       Method                bool CheckVersion (int, int)
ConvertFile                        Method                IITOperationStatus ConvertFile (string)
ConvertFile2                       Method                IITConvertOperationStatus ConvertFile2 (string)
ConvertFiles                       Method                IITOperationStatus ConvertFiles (Variant)
ConvertFiles2                      Method                IITConvertOperationStatus ConvertFiles2 (Variant)
ConvertTrack                       Method                IITOperationStatus ConvertTrack (Variant)
ConvertTrack2                      Method                IITConvertOperationStatus ConvertTrack2 (Variant)
ConvertTracks                      Method                IITOperationStatus ConvertTracks (Variant)
ConvertTracks2                     Method                IITConvertOperationStatus ConvertTracks2 (Variant)
CreateEQPreset                     Method                IITEQPreset CreateEQPreset (string)
CreateFolder                       Method                IITPlaylist CreateFolder (string)
CreateFolderInSource               Method                IITPlaylist CreateFolderInSource (string, Variant)
CreatePlaylist                     Method                IITPlaylist CreatePlaylist (string)
CreatePlaylistInSource             Method                IITPlaylist CreatePlaylistInSource (string, Variant)
FastForward                        Method                void FastForward ()
GetITObjectByID                    Method                IITObject GetITObjectByID (int, int, int, int)
GetITObjectPersistentIDs           Method                void GetITObjectPersistentIDs (Variant, int, int)
GetPlayerButtonsState              Method                void GetPlayerButtonsState (bool, ITPlayButtonState, bool)
GotoMusicStoreHomePage             Method                void GotoMusicStoreHomePage ()
NextTrack                          Method                void NextTrack ()
OpenURL                            Method                void OpenURL (string)
Pause                              Method                void Pause ()
Play                               Method                void Play ()
PlayerButtonClicked                Method                void PlayerButtonClicked (ITPlayerButton, int)
PlayFile                           Method                void PlayFile (string)
PlayPause                          Method                void PlayPause ()
PreviousTrack                      Method                void PreviousTrack ()
Quit                               Method                void Quit ()
Resume                             Method                void Resume ()
Rewind                             Method                void Rewind ()
SetOptions                         Method                void SetOptions (int)
Stop                               Method                void Stop ()
SubscribeToPodcast                 Method                void SubscribeToPodcast (string)
UpdateIPod                         Method                void UpdateIPod ()
UpdatePodcastFeeds                 Method                void UpdatePodcastFeeds ()
CanSetShuffle                      ParameterizedProperty bool CanSetShuffle (Variant) {get}
CanSetSongRepeat                   ParameterizedProperty bool CanSetSongRepeat (Variant) {get}
ITObjectPersistentIDHigh           ParameterizedProperty int ITObjectPersistentIDHigh (Variant) {get}
ITObjectPersistentIDLow            ParameterizedProperty int ITObjectPersistentIDLow (Variant) {get}
AppCommandMessageProcessingEnabled Property              bool AppCommandMessageProcessingEnabled () {get} {set}
BrowserWindow                      Property              IITBrowserWindow BrowserWindow () {get}
ConvertOperationStatus             Property              IITConvertOperationStatus ConvertOperationStatus () {get}
CurrentEncoder                     Property              IITEncoder CurrentEncoder () {get} {set}
CurrentEQPreset                    Property              IITEQPreset CurrentEQPreset () {get} {set}
CurrentPlaylist                    Property              IITPlaylist CurrentPlaylist () {get}
CurrentStreamTitle                 Property              string CurrentStreamTitle () {get}
CurrentStreamURL                   Property              string CurrentStreamURL () {get}
CurrentTrack                       Property              IITTrack CurrentTrack () {get}
CurrentVisual                      Property              IITVisual CurrentVisual () {get} {set}
Encoders                           Property              IITEncoderCollection Encoders () {get}
EQEnabled                          Property              bool EQEnabled () {get} {set}
EQPresets                          Property              IITEQPresetCollection EQPresets () {get}
EQWindow                           Property              IITWindow EQWindow () {get}
ForceToForegroundOnDialog          Property              bool ForceToForegroundOnDialog () {get} {set}
FullScreenVisuals                  Property              bool FullScreenVisuals () {get} {set}
LibraryPlaylist                    Property              IITLibraryPlaylist LibraryPlaylist () {get}
LibrarySource                      Property              IITSource LibrarySource () {get}
LibraryXMLPath                     Property              string LibraryXMLPath () {get}
Mute                               Property              bool Mute () {get} {set}
PlayerPosition                     Property              int PlayerPosition () {get} {set}
PlayerPositionMS                   Property              int PlayerPositionMS () {get} {set}
PlayerState                        Property              ITPlayerState PlayerState () {get}
SelectedTracks                     Property              IITTrackCollection SelectedTracks () {get}
SoundVolume                        Property              int SoundVolume () {get} {set}
SoundVolumeControlEnabled          Property              bool SoundVolumeControlEnabled () {get}
Sources                            Property              IITSourceCollection Sources () {get}
Version                            Property              string Version () {get}
Visuals                            Property              IITVisualCollection Visuals () {get}
VisualsEnabled                     Property              bool VisualsEnabled () {get} {set}
VisualSize                         Property              ITVisualSize VisualSize () {get} {set}
Windows                            Property              IITWindowCollection Windows () {get}

Here, you could i.e. retrieve the current playlist like this:
$itunes.CurrentPlaylist()

Name            : Lukas Graham
Index           : 25
sourceID        : 71
playlistID      : 13135
trackID         : 0
TrackDatabaseID : 0
Kind            : 2
Source          : System.__ComObject
Duration        : 7050
Shuffle         : True
Size            : 253446516
SongRepeat      : 0
Time            : 1:57:30
Visible         : True
Tracks          : System.__ComObject
Shared          : False
Smart           : False
SpecialKind     : 0
Parent          :

You can further check what members this object supports on appending | Get-Member:
$itunes.CurrentPlaylist() | Get-Member

   TypeName: System.__ComObject#{0a504ded-a0b5-465a-8a94-50e20d7df692}

Name            MemberType Definition
----            ---------- ----------
AddFile         Method     IITOperationStatus AddFile (string)
AddFiles        Method     IITOperationStatus AddFiles (Variant)
AddTrack        Method     IITTrack AddTrack (Variant)
AddURL          Method     IITURLTrack AddURL (string)
CreateFolder    Method     IITPlaylist CreateFolder (string)
CreatePlaylist  Method     IITPlaylist CreatePlaylist (string)
Delete          Method     void Delete ()
GetITObjectIDs  Method     void GetITObjectIDs (int, int, int, int)
PlayFirstTrack  Method     void PlayFirstTrack ()
Print           Method     void Print (bool, ITPlaylistPrintKind, string)
Reveal          Method     void Reveal ()
Search          Method     IITTrackCollection Search (string, ITPlaylistSearchField)
Duration        Property   int Duration () {get}
Index           Property   int Index () {get}
Kind            Property   ITPlaylistKind Kind () {get}
Name            Property   string Name () {get} {set}
Parent          Property   IITUserPlaylist Parent () {get} {set}
playlistID      Property   int playlistID () {get}
Shared          Property   bool Shared () {get} {set}
Shuffle         Property   bool Shuffle () {get} {set}
Size            Property   double Size () {get}
Smart           Property   bool Smart () {get}
SongRepeat      Property   ITPlaylistRepeatMode SongRepeat () {get} {set}
Source          Property   IITSource Source () {get}
sourceID        Property   int sourceID () {get}
SpecialKind     Property   ITUserPlaylistSpecialKind SpecialKind () {get}
Time            Property   string Time () {get}
TrackDatabaseID Property   int TrackDatabaseID () {get}
trackID         Property   int trackID () {get}
Tracks          Property   IITTrackCollection Tracks () {get}
Visible         Property   bool Visible () {get}

So adding a file to the playlist can be achived by simply invoking the AddFile(string) operation on the CurrentPlaylist() oject, i.e. like this:
$itunes.CurrentPlaylist().AddFile("D:\Music\iTunes\iTunes Media\Music\Jason Mraz\Mr. A–Z\03 Geek in the pink.mp3")

InProgress Tracks
---------- ------
     False System.__ComObject

In regards to synchronization, I haven't used my IPod in a while so haven't used synchronization this way myself yet. I've now dig up my IPod and checked the API really quickly for it and have found my IPod this way:
$itunes.Sources.Item(4)

Name            : Roman's IPod Shuffle
Index           : 4
sourceID        : 14036
playlistID      : 0
trackID         : 0
TrackDatabaseID : 0
Kind            : 2
Capacity        : 2017361920
FreeSpace       : 1128808448
Playlists       : System.__ComObject
SoftwareVersion : 1.0.1

A lookup of the respective members lists the following methods and properties for my IPod Shuffle:
$itunes.Sources.Item(4) | Get-Member

   TypeName: System.__ComObject#{cf4d8ace-1720-4fb9-b0ae-9877249e89b0}

Name            MemberType Definition
----            ---------- ----------
EjectIPod       Method     void EjectIPod ()
GetITObjectIDs  Method     void GetITObjectIDs (int, int, int, int)
UpdateIPod      Method     void UpdateIPod ()
Capacity        Property   double Capacity () {get}
FreeSpace       Property   double FreeSpace () {get}
Index           Property   int Index () {get}
Kind            Property   ITSourceKind Kind () {get}
Name            Property   string Name () {get} {set}
playlistID      Property   int playlistID () {get}
Playlists       Property   IITPlaylistCollection Playlists () {get}
SoftwareVersion Property   string SoftwareVersion () {get}
sourceID        Property   int sourceID () {get}
TrackDatabaseID Property   int TrackDatabaseID () {get}
trackID         Property   int trackID () {get}

The UpdateIPod() method here might be what you are looking for, though I haven't tested is yet.


Big Sur: An error occurred while installing the selected updates

Along with the comments to the post, this is still ongoing for some per Apple Support Twitter page.
https://twitter.com/AppleSupport/status/1327041964014002178
Apple is saying that the issue is resolved, but an issue still persists on my end.


According to this Apple support article:

  The AirPort Extreme (802.11n) and Time Capsule work with most disks
  that are not software RAID volumes (no more than one volume per
  physical disk). If the disk is a self-contained RAID that presents
  itself to a computer as a single volume requiring no software support,
  then it may be supported.

So it would appear that you need something that could be connected to the Airport Extreme that does its own RAID. Perhaps something like the Netgear ReadyNAS Duo, if you want to get a ready-made solution. You can also buy NAS enclosures with two or more bays, a couple of bare drives, and roll your own. Note that you would typically connect your NAS to the Airport via Ethernet (though some NAS enclosures allow you to connect via USB, which was your original plan), but since the limiting speed is the Airport wireless speed, I don't think that would be a problem.


How Do I Lock My Google Drive App (or files) on iPad?

It seems that the Google Drive iOS app doesn't have this feature.

There are alternatives that do implement a password lock, like GDrive. However, its user experience seems to be overall less pretty than Google's own app.

As a marginally related side note, Dropbox iOS app does implement a password lock.


Is it possible to customise the ‘fixed’ controls at the top of Control Center?

Yes, if you're on iOS 11.1 to 11.1.2 inclusive. Tested myself on iOS 11.1.1. A reminder that you perform this at your own risk.

Install FilzaEscaped from https://www.reddit.com/r/jailbreak/comments/7lisma/release_filza_with_root_access/
This works with any method of writing outside the sandbox (so FilzaJailed too) but I have not tested other methods myself.

Download the first IPA from the post.
Download Cydia Impactor from http://www.cydiaimpactor.com.
Open Impactor and connect your device over USB.
Drag the downloaded Filza IPA to the Impactor window and follow the prompts. If you use 2FA on your Apple ID, you will need to generate an app password.

In Filza on your device, navigate to /System/Library/PrivateFrameworks/ControlCenterServices.framework/ and open DefaultModuleOrder~iphone.plist with the text editor.

Filza starts in /var/mobile by default, so use the back button to navigate to root (/) first.
When in the correct folder, tap the ⓘ on the right of the file, then Share at the top-right, then choose Text Editor.

Move all strings from the fixed array to the user-enabled array.

Select all the strings, cut and paste them into the bottom array.

Below is an example DefaultModuleOrder~iphone.plist with all components controls moved to the user-enabled array.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>fixed</key>
    <array>
    </array>
    <key>user-enabled</key>
    <array>
        <string>com.apple.control-center.FlashlightModule</string>
        <string>com.apple.mobiletimer.controlcenter.timer</string>
        <string>com.apple.control-center.CalculatorModule</string>
        <string>com.apple.control-center.CameraModule</string>
        <string>com.apple.Home.ControlCenter</string>
        <string>com.apple.control-center.ConnectivityModule</string>
        <string>com.apple.mediaremote.controlcenter.nowplaying</string>
        <string>com.apple.control-center.OrientationLockModule</string>
        <string>com.apple.control-center.DoNotDisturbModule</string>
        <string>com.apple.control-center.DisplayModule</string>
        <string>com.apple.control-center.AudioModule</string>
        <string>com.apple.mediaremote.controlcenter.airplaymirroring</string>
    </array>
</dict>
</plist>

Respring. Rebooting will do it and is probably the easiest way if you're unfamiliar with other methods of just restarting SpringBoard.
In Settings → Control Center, re-enable the disabled standard controls if you still want them and customise their position as you wish!


MacBook doesn't remember Screen Orientation

I had this same issue. So the solution is:

The external monitor should be connected.
From App drawer open ColorSync Utility.
In Devices column, select display and Under Displays select your external monitor.
Check if "Factory profile" path and "Current profile" path both are same.
If not select drop down arrow next to "Current Profile" and select "Other".
Select the same file name which is mentioned under Factory path.

Now your monitor will remember the screen orientation. Hope it helps :)


How to make a Mac OS X .app with a shell script?

Well, it's been years I use this simple trick to have bash scripts in application (and really really don't understand why all people try so complicated solutions as creating "Contents" folders, info.plist or use Automator or Platypus or so... ????).

Create a folder named "YourApplication.app". It can be created at any location that is convenient to your usage. Though, the most OS compliant locations may be /Applications or your own ~/Applications folder.
Put your script file directly in this folder the way that suites you the best (Finder, terminal etc). The script must be executable of course (use chmod +x if you need). No need for other folders or file (until you need to call other scripts or executable from within your script of course) The trick is to name your script with exactly the same name as the application folder but without extension. In the case described here the script file must be named "YourApplication".

That's all ! It works on Mac os x since Snow Leopard to Mavericks. If anybody can try on newer OS versions and tell me.
Note: The script must be at least 28 bytes in size, otherwise it will not execute. It may be padded with blank lines to achieve minimum size.
Also, the first line of the script must be a shebang; e.g. #!/bin/bash or #!/bin/perl.


Too-long file name: which iOS app owns it?

The GUID (globally unique identifier) you see is randomly generated by iOS at the time of installation or update, and not related to the app in any way - in fact, it even changes between updates and reinstalls. Previously, apps were kept at /var/mobile/Applications/<GUID>/blah.app with Documents, Library and tmp alongside it in its sandbox, however now in iOS 8 that's changed so /var/mobile/Containers/Bundle/Application/<GUID>/blah.app contains the app and /var/mobile/Containers/Data/Application/<some other GUID> contains the data. Unfortunately, the data and bundle GUIDs don't match, so that's made it a lot harder to track down.

On a jailbroken device, you could use the iFile app from Cydia to navigate through the file system to the offending file and delete it. I would recommend you also check the Library/Preferences folder so you can see the bundle identifier of the app, which should help you determine the offending app, so you can report this issue to the developer. It's worth noting that the developer is using the Documents folder to store caches, which is meant for, well, documents. They should be using Library/Caches, which isn't backed up by iTunes.

You could alternatively use iCleaner Pro (I haven't used it before so I can't give you specific instructions).

Another method if you don't have a/don't want to jailbreak would be to download iFunBox (note for Windows users: download the classic version) and look through the application list manually until you happen to find Documents/iCache/.... Right click the offending file and choose Delete.

A last-ditch method is to fill up your disk with data, which triggers iOS to start clearing app caches to make some room.


Keyboard shortcut stopped working in Safari 6.0

Go to System Preferences.
Click on “Keyboard.” Navigate to Keyboard Shortcuts.
Select Application Shortcuts in the left pane and remove existing shortcuts for Safari, if any.
Add a shortcut by clicking the “+” button. In the Menu Title field, type “Enter Full Screen.” Remember, you have to type the exact title as it appears in Safari.
Add another shortcut and in the menu title field and type “Exit Full Screen” in the Menu Title field.
Make sure there are no conflicts with the shortcut combination that you choose to use.

Hope this helps.

PS: Be careful of the space between “Full” and “Screen” in the menu title.


It's a custom gesture set up on the jailbroken iPhone. Pinch to lock is not a feature available in Accessibility or any other method on a non-jailbroken phone.

The gesture can be set up using a tweak such as Activator. Go to Settings → Activator → On Lock Screen → Icon Pinch → Lock Device to set it up.


How do I automatically open a subfolder on a SD card when mounted?

With automator you can do this. It'll open a Finder window with the specified folder selected :

You could also make an alias of the folder, and when you plug the SD card in you just need to open the alias and it'll bring you to the desired location. Right click on the original folder and Select Make Alias and put the alias somewhere easily accessible.


prevent inbuilt apache running using server app

I had the same problem!

You have to edit:

/Library/Server/Web/Config/Proxy/apache_serviceproxy.conf

and

/Library/Server/Web/Config/apache2/services/ACSServer.conf

Change "Listen ..." to "# Listen ..." (Change to comment).
This prevents the httpd from starting.

You have to restart after this!


If you've got access to a multitouch trackpad, tapping with three fingers will (if you've enabled the option under System Preferences / Trackpad, of course) directly popUp the definition of the word, even if it's an hyperlink.


iPhone 4 will not connect to any computer and will not show up in device manager

Lets do some troubleshooting.

Verify that Apple Mobile Device Support is installed on your Windows laptop.

iOS devices require Apple Mobile Device Support, which should be automatically installed with iTunes. To verify whether it is installed, follow the steps appropriate for your Windows operating system. (7)

Click Start.
Choose Control Panel.
Click "Uninstall a program".
Verify that Apple Mobile Device Support is visible in the list of currently installed programs.

If not there, re-install iTunes.


Will iPhone 6 cost you $649 over two years?

Verizon Edge is a program that provides you the flexibility to upgrade
  early, and pay for your device over 20 months rather than paying for
  it all upfront. You’ll make a monthly payment until your device is
  paid off.

  After 30 days, if you’ve paid at least 60% of the Edge device,
  you’ll have the option to Edge Up to a new device without any upgrade
  fees.

What does it mean?

You will have a 2 Years contract with Verizon and have to pay the additional Verizon service costs (phone+Data). Now each time you Edge up to next phone the clock starts all over again. (2 Years contract).

The only benefit is you do not have to spend the cost of the iPhone up front, but over 2 Years, and the ability to get a newer model.

For Verizon you will pay >$60/M for network services. With some other providers you will pay $40/M for about the same services.  Difference of 720/480 is $240 per Year that you pay more.

So you actual cost after 2 Year with Verizon is 649+720+720 =$2089, while direct buy will cost you 649+480+480= $1609.


It is likely that either you do not have this phone number in your contacts so the default for an unknown number is other or if you look at the phone number in your contacts for this person, you have the phone number set to other.

There are several descriptions, home, work, iPhone, etc. You are able to set these in contacts.


How do you open two or more simultaneous sessions of Microsoft Remote Desktop Connection in Lion?

Microsoft's Remote Desktop Client has two very interesting (and very un-mac like) designs:

Invoking the app a second time simply raises the connection in process. You've no doubt tried to launch a "second instance" of the app this way, and been annoyed that it doesn't work. Don't worry, you're not alone, that's un-expected behavior.
As you see from my screenshot, it's as simple as File -> New Connection

However, don't try and use the ⌘n shortcut. If you're connected to a remote computer then shortcuts no longer work, and in fact, shortcuts are actually completely unbound after you connect to something. That's invariably due to the fact that because most keyboard shortcuts get sent through to the remote computer.

So, File -> New Connection. A new icon will appear in your Dock, and you will be prompted for the remote host address. One advantage to this 'un-mac like' convention is that it's simple to switch between remote hosts with one icon per connection in your Dock.


Disk utility will not allow me to resize a partition on an unencrypted external hard drive

There's no such thing as "Built for Snow Leopard". That labeling just an old habit PC manufacturers have for Windows, but it doesn't apply to Macs at all. If Apple lets you run the OS, that means they tested it, and should work just fine. The reason you can't resize those disks is because they are formatted as "ExFAT", and OS X doesn't support resizing ExFAT formatted disks.


Unfortunately, this is not currently possible as a setting on iPhone. You may want to consider sending feedback to Apple concerning this.


External hard drive unplugged while running iTunes...Corrupted files

The first recommendation is to run Disk Utility to repair the external drive. If it is a simple corruption Disk Utility can occasionally fix it.

The next step from that would be to run a higher-end data tree repair utility, such as Disk Warrior. This software costs a bit of money but is better at repairing serious directory structure issues such as this.

You could also attempt a software-based data recovery using a program like Data Rescue. This software is just a bit pricey though, and at some point you will want to consider how valuable this data is. For instance, if it's a simple matter of re-downloading purchased movies or re-ripping DVDs it may be worth saving the money.


If you're talking about ~/Library/Developer/Shared, then this folder contains all the documentation for the OS X and iOS frameworks (if applicable). This folder should not be deleted if you require access to the documentation.


How do I combine separate cells in a Numbers spreadsheet and paste the result as text into a TextEdit document?

This answer assumes:

you have a header row and, because of that, the first row containing your data is Row 2.
that Column D is empty

Please see my notes at the end if the above assumptions are incorrect.

Solution

Following these steps will solve your problem:

In cell D2 enter the following formula: =(C2&", "&B2)
Press enter
Cell D2 should now produce the result you’re after (i.e. if cell B2 contained the name John and cell C2 contained the name Doe, cell D2 should now show Doe, John)
Now copy the formula from cell D2 down all the rows in Column D
The other cells in Column D should populate with the data you want
Now select and copy all cells containing data in Column D
Select cell E2 and press shift command V (or go to Edit > Paste Formula Results)
Now select and copy all cells containing data in Column E
Open your TextEdit document
Go to Edit > Paste and Match Style

Now you should have all the data you wanted as text and in the format you need.

NOTE 1: - If your next blank column isn’t Column D, then at step 1 enter the formula in the next blank column (i.e. if your next blank column is Column F, then enter the formula in cell F2. This also means you’d adjust the other steps accordingly.

NOTE 2: - If you don’t have a header row, then at Step 1 you would enter the following formula instead: =(C1&", "&B1) into cell D1. This also means you’d adjust the other steps accordingly.


How to have a random background color in Terminal.app

You can indeed use AppleScript to change the Terminal background color.

For example:

tell application "Terminal"
  set background color of first window to {33717, 0, 21000, 32288}
end tell

You can execute it from the command line with:

osascript -e 'tell application "Terminal"' -e 'set background color of first window to {33717, 0, 21000, 32288}' -e 'end tell'

You can then change more attributes:

tell application "Terminal"
    set background color of first window to {33717, 0, 21000, 32288}
    set cursor color of first window to "white"
    set normal text color of first window to "white"
    set bold text color of first window to "yellow"
end tell

To execute this kind of longer script from the Terminal, you can save it into a separate file ~/.terminal_change_color.scpt then, call it from the terminal:

osascript ~/.terminal_change_color.scpt

You can then add it to your ~/.bash_profile so that it executes for every new Terminal window you open:

echo "osascript ~/.terminal_change_color.scpt" >> ~/.bash_profile

Below is a longer script to choose a random background color.
As @nohillside noticed, you also need to adjust the text color to make it readable (white text on dark background, and black text on light backgound). The script handles that.

global kColorValueMaximum
set kColorValueMaximum to 65535

-- Choose a random color for the background
set randomRed to (random number) * kColorValueMaximum
set randomGreen to (random number) * kColorValueMaximum
set randomBlue to (random number) * kColorValueMaximum
set myBackgroundColor to {randomRed, randomGreen, randomBlue}

-- Select appropriate text colors based on that background
set {myTextColor, myBoldColor} to my ContrastingTextColors(myBackgroundColor)

-- Now inflict them on the frontmost window
tell application "Terminal"
    set targetWindow to window 1
    set background color of targetWindow to myBackgroundColor
    set cursor color of targetWindow to myTextColor
    set normal text color of targetWindow to myTextColor
    set bold text color of targetWindow to myBoldColor
end tell

on ContrastingTextColors(myColor)
    set whiteColor to {kColorValueMaximum, kColorValueMaximum, kColorValueMaximum, kColorValueMaximum}
    set lightGreyColor to {40000, 40000, 40000, kColorValueMaximum}
    set blackColor to {0, 0, 0, kColorValueMaximum}
    set darkGreyColor to {20000, 20000, 20000, kColorValueMaximum}

    -- From http://www.wilsonmar.com/1colors.htm
    set myRed to (item 1 of myColor) / kColorValueMaximum
    set myGreen to (item 2 of myColor) / kColorValueMaximum
    set myBlue to (item 3 of myColor) / kColorValueMaximum
    set magicY to (0.3 * myRed) + (0.59 * myGreen) + (0.11 * myBlue)
    if (magicY < 0.5) then
        return {whiteColor, lightGreyColor}
    else
        return {blackColor, darkGreyColor}
    end if
end ContrastingTextColors

Alternatively, you can create like 30 themes into your Terminal Preferences > Profiles, and select one randomly:

tell application "Terminal"
    set themes to {"Basic", "Homebrew", "Man Page", "Novel", "Pro"}
    set theme to some item of themes
    set current settings of window 1 to settings set theme
end tell

Credits to:

https://superuser.com/a/1188791/955567
https://nslog.com/2006/11/02/terminal_color_changing_via_applescript
https://red-sweater.com/blog/220/random-color-terminal
https://alvinalexander.com/blog/post/mac-os-x/applescript-list-examples


A forced shutdown doesn't damage your hardware nor does it weaken your security.

What it could potentially do is corrupt files because you are turning off the computer while they are open/active.  These files can be anything from an open webpage or text file to system files that in use for any reason (like an update).

fsck checks for inconsistencies in the filesystem.  Meaning it looks at the blocks, the inodes, the used space, the free space, etc. to see if everything "adds up."    For instance, it will check the blocks and the sizes, if there is an error it will attempt to fix.

However, it won't repair a file that has been corrupted or the data lost - it simply can't recreate data.

As for "being dangerous to security" there's no direct link to your filesystem getting corrupted and security being compromised.  If your file system has been corrupted to the point that services fail to load or critical files cannot be loaded you will know about it as the system will generate errors.

It will NOT suddenly open ports in your firewall or make your password go blank.


How can I listen to FM radio through my iPhone?

The iPhone doesn't have native FM radio support, but you can use the TuneIn app, which lets you stream your local radio broadcasts on your iPhone over Wi-Fi.


There is now a Safari extension for Safari 5.1 called Safari Keyword Search by Arne Martin Auerlie. It uses new API calls in 5.1 to reproduce all the functionality of Keywurl without the need for a SIMBL hack!

It is still an early version, so the interface is still a little rough, but it works wonderfully.

Get it here:

https://github.com/arnemart/SafariKeywordSearch

Read Arne's blog here:

http://am.aurlien.net/

Also if you don't mind hacks, Safari Omnibar does something similar, attempting to replicate the behaviour of Chrome's Omnibar.

https://github.com/rs/SafariOmnibar

It is a bit hacky, so I would recommend Arne's extension in preference to it, but it is worth watching how both projects develop.


Where is the Display Calibrator Assistant on my hard drive?

The app can be found at this path:

/System/Library/ColorSync/Calibrators/Display Calibrator.app

To run directly from Terminal type:

open -a /System/Library/ColorSync/Calibrators/Display\ Calibrator.app

This will pop-up a small window on every monitor you have connected.


Mac OS X Finder filter image by orientation

From https://discussions.apple.com/thread/3481136:

Search for images by pressing Command + F

Add a search attribute

Pick the "Orientation" attribute

Set "equals" to

0 if you want landscape/horizontal,
1 if you want portrait/vertical


Possible to check out of the retail Apple Store using an Android phone?

To answer your question about ios devices yes can with this app, https://itunes.apple.com/us/app/id375380948?mt=8

I can't find the article that touched on using other devices but the gist of the story was if you wanted to use another device to purchase items, call the store give them your information then pick it up in the store. (sparse attempt at humor)


Moving MS Office 2011 from Mojave computer to older High Sierria machine

So moving the apps out of and back into the Microsoft Office 11 folder seems to have helped. After doing it, I got prompted to register the software over the phone (the product key no longer worked) using a lengthy number.

But I'm still seeing some weirdness with a There is a problem with the Office database error when I open an app and Outlook won't open at all. But I am closer, at least.


Try this.
Go to System Preference > Mouse & Trackpad > Trackpad Options and disable dragging


You need to relogin( to apply changes from .bashrc)
or do

source ~/.bashrc

which do the same work for your needs


Can Time Machine restore from one large hard drive to two smaller ones?

No. But you may clean HDD to make users and system&library info take no more than 40-45GB (System/Library/Apps) and then use migration assistant ticking only things you need. Or Time Machine if you exclude or move some folders beforehand.

P.S. I wonder if your MBP is pre-unibody one because it is the only type that will benefit from HDD in the bracket in the place of optical disk. For newer MBPs it's better to put SSD in bracket.


Apple:

A single charge provides up to 4.5 hours of listening time or up to
3.5 hours of talk time on your AirPods Pro. If you charge AirPods Pro for 5 minutes in the charging case, you will get about 1 hour of
listening time or about 1 hour of talk time.

As mentioned in the comments:

No, it's not normal battery life. You should just return and replace
them

Note: Telephoning, for example, puts a particularly heavy load on the battery, but even listening to music usually brings the editorial staff's Airpods to their knees after just under an hour and a half.


Is it possible to jailbreak an iPad 2 (A1395) after updating to iOS 6.0.1?

This is no longer true; Both answers were written before evasi0n came out. Now it's more than possible to JB 6.x devices, in fact up to 6.1.1/6.1.2.

As for backing up, you don't need to back up Cydia - it gets reinstalled anyway. What I would back up are any manually installed (i.e. hackulous-type) apps you may have (cd to /var/mobile/Applications, then do a tar)


The App Library cannot be edited, it is a comprehensive sorted-by-your phone list. You can create your own App Library (in a sense) by creating a set of folders on your regular home screen.


How to perform "Exact Match" in macOS or Finder smart search?

Did you try searching for "Endorsement Number" with surrounding quotes?

I just tested this on my System (macOS Sierra 10.12.2), and a search for "Endorsement Number" (with quotes) returns files that contain "Endorsement Number" excatly, while files that only contain Endorsement or Number are not shown in the search results.


MBP Folder/Question mark icon, but boots ok with Option key

It may be worth you resetting your NVRAM.

Resetting the NVRAM

Here’s how to reset the NVRAM on your MBP:

Shut down your machine. Yes, a full shutdown, not just logging out.
Press the power button and then press the
command option P R keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again (i.e. a 2nd time) and you’ve heard the startup chime twice.
Let go of the keys and let your MBP reboot normally.

Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc). As a minimum I would check your Startup Disk settings.


Is it safe to delete the 32-bit Intel code from apps using a tool like Monolingual?

Yes, but...

You may develop problems updating certain apps as removing parts of the app using Monolingual can render the code signing of the application incorrect.

From Switcher's Blog

  OS X 10.5 Leopard brings a new Code Signing security feature that helps verify the integrity of an application. Applications are signed by their creators before being distributed using their private key, and then can be verified on the customer's machine using the companies public key.

That's for third party apps. I really wouldn't tempt fate by doing this to system files.


How can I get my iPhone to consistently apply or ignore auto-corrections based on my response?

Non-jailbroken iOS doesn't give much room for auto-corrections adjustment. Settings > General > Keyboard, is about all there is.

It is possible that it is a bug on your system, but on my 4S (5.1), I duplicated your problem only when I didn't tap the balloon itself.


If your machine is starved for RAM then it will be swapping pages of memory out to disk.

You can check this whenever you find your Mac stalling and performing poorly by opening Activity Monitor and checking the Memory tab. At the bottom of the window you should see a value labelled "Swap Used". If you regularly find a significant value against this then your Mac could likely use more RAM. Ideally you want this to say "0 bytes".

The coloured Memory Pressure graph can also tell you how efficiently your RAM is being used (i.e. is your Mac constantly having to swap things in or out of RAM). From Activity Monitor Help:

Green memory pressure: Your computer is efficiently using all of your RAM.

Yellow memory pressure: Your computer might need more RAM eventually.

Red memory pressure: Your computer needs more RAM.

Speaking from personal experience, Parallels (or any software that runs virtual machines) need a lot of RAM to perform well. Of course it depends on how much RAM you are allocating to your virtual machines.


Delete old "Faces" and other data and thumbnails in iPhoto 9.5.1

Although it seems tedious, it may be better to export all your photos out of a library and then create a new iPhoto Library and then import them to the new one. I'm also yet to discover a way to 'purge' data that is no longer relevant/needed.


How to stop Terminal from starting minimized in the Dock?

I'm using macOS 10.12.3 and Terminal.app Version 2.7.1 (388) and I don't see the "Hide after opening" checkbox option mentioned in the answer to the question you linked either.

From the Terminal.app >> Preferences::Profiles pane, look below the list of profiles. In the gear icon menu you can export your current profile in the gear settings menu options. Open the exported profile in a text editor and you might be able to find the setting which is causing this behavior.

You could also try "restore default profiles" or simply rebuilding your profile from one that does not minimize at launch.

------------------UPDATE

If "Restore Default Options" doesn't work AND you are having this problem with all the profiles you try, it might be helpful to post your exported profile settings in your question.

Also, do you know which shell you are launching into?

To find out, enter this into your Terminal command line:

echo $SHELL

I am using the "Default login shell" and echo $SHELL reports /bin/bash

Are you using the "Default login shell"? You can find this setting in the Terminal.app >> Preferences::General pane:

Please post your OS and Terminal.app versions in the original question.

Also, after changing your profile, have you tried logging out, restarting and logging back in then verifying that the profile change is still in effect?


Is it possible to compile UNIX command line program for Apple Silicon architecture on Intel-based Mac?

The whole point of Universal Binaries is that you can compile the same code for 2 architectures, one of which (by necessity) is not the hardware you're running.
It has previously been possible to compile Universal Binaries for PPC and Intel, or 32-bit and 64-bit, regardless of the hardware doing the compiling.
Apple's documentation on porting to Apple Silicon (AS) is here:
https://developer.apple.com/documentation/xcode/porting_your_macos_apps_to_apple_silicon
Note the diagram which has the words "Any Mac computer".

The Apple Silicon Mac mini is for developers to test that their AS code (and Apple's) runs well. There are no AS Macs available for purchase by non-developers (as of 14th October).
Apple has said that Intel binaries will run on Apple Silicon using Rosetta 2 emulation. So you will have at least the life-span of Big Sur before you need to create a Universal Binary.
I'd say you don't need to worry about this until:
a) AS Macs have been released,
b) people who have bought AS Macs are interested in your tool;
c) Xcode 12 is officially released (along with Big Sur)
at which time, compiling a Universal Binary for a command line tool should be pretty straightforward, just by changing some options.


After countless trips to the Apple Store and extensive testing by them, it turned out I have faulty memory DIMMs. At least that’s the only plausible explanation they reached after some 8 days of testing.


iPhone SE bought on eBay no longer working

This should be easy to clear up.

Apple serializes products and the warranty starts when the device is first sold. Since you are in possession of a device, register the device to your Apple ID with Apple and then ask Apple when was the original sold date.

If the listing says an apple agent warrantee is in place, I would take the device to any Apple agent you choose and get in writing that they’ve denied you warranty service.

Now you have a paper trail to take to eBay if the listing was falsified. If the listing wasn’t falsified then you bought something without the knowledge the seller had. Unfortunately this is a “feature” of many “markets” when the seller has more information than the buyer.

Since eBay is the market here, hopefully the market will compensate you if in fact the seller took illegal advantage of the marketplace rules. Or they will educate you in how their market operates and then you decide if you want to pay for out of warranty repairs.

If the seller observed the rules, there is a saying for this - https://en.wikipedia.org/wiki/Caveat_emptor


To finish this question: I had opened a bug report with Apple. They determined that a botched Aperture photo library migration lead to excessive disk I/O. In the end, I reformatted the whole Mac. Plus to make the machine more useable, I attached a 256 GB Thunderbolt SSD and created a FusionDrive, as per this blog (in german). There are lots of howtos explaining how to create a FusionDrive. This really gave the machine an incredible performance boost.


Move Documents folder to different drive

There are many web pages that will walk you through this process, here is a good one:
http://www.maclife.com/article/howtos/how_move_your_documents_folder

Basically you create a symbolic link to a folder on an external drive.

Here is information on how to use the console to create a symbolic link:
http://hints.macworld.com/article.php?story=2001110610290643

And here is my take on it:

Attach external drive
Copy your Documents folder from your Mac to the external drive
Rename the Documents folder on the Mac to Documents-old
Open Terminal
Type in cd /Users/Your User ID/
Then ln -s /Volumes/External Drive Name/Documents Documents
Test it out for a while to verify that it works, when you are happy with it you can delete the Documents-old folder from the Mac


Applescript to copy folder (and contents) to current location?

The following script should work:

property y : POSIX file "/Users/James/doc" as alias

tell application "Finder"
    set x to target of window 1 as alias
    duplicate y to x
end tell

By setting y as a property (and as an alias), the script should not break by simply renaming or moving the the folder to be copied.


MAMP PRO uninstalled but Terminal commands still exist. How to remove them as well?

Probably you added one or more bin directories (containing mysql and php) to your $PATH. Remove them.

The three php* files in /usr/bin belong to the default OS X system and are completely legit.


Damaged hard drive due to magnet damage (Macbook Pro)

The HDD work using a magnetic head to read and write,.

The disk it self is coated with magnetic material. So your Magnet has changed the information stored (damage), but possibly not permanent.

So your best choice it to completely reformat the disk, then install a OS.


Sync google apps (gmail) contacts directory with Mac address book

There is no direct way to get all the contacts from the directory directly to your Mac. If you open the section in the Contacts Mac OS application, it will never list its entire content but only let you search.

However, there is an easy workaround:

Open the Contacts web interface https://www.google.com/contacts
On the sidebar, find the Directory option. The entire content will now appear.
Select all the entries.
Add these to a group, i.e. "Corp. Directory"

Now, all these contacts will be imported to "My Contacts" and will be synched to the Mac.


PDFs looking different in Yosemite Preview.app

For troubleshooting isolation, what if you use Adobe Reader, Is the rendering clear using a dedicated software ?

edit : It appears that Preview is no longer using subpixel rendering in Yosemite.
There is no fix for now, Apple will probably enable this in a next OS X update as the problem is quite documented over the Web


How to change the text cursor (caret) size

Your quest on how to change the text cursor is an unusual one outside the norm of utilities offered.
Therefore an Apple Tech Supporter or Developer  may advise you as to the best avenue. Please go to apple support: https://support.apple.com next click on the white area box: Search Apple Support... a drop down window appears. Select 'Contact Apple Support' now click on 'talk to us' and select the method of contact i.e. personal phone call from Apples Support team or on-line chat.
The Apple Representative will guide you through the process as needed if available.  To the Best of my knowledge, it's best not to guess or take the advise off of the Internet unless trusted. Ask Apple directly sense this is a valid request but not offered in the OS X Sierra utilities.
Authored Statements:  ysureican Fogarty


Yosemite 10.10.3 asks for google password every week with 2 factor authentication

As far as I know, Google still considers some apps (including Apple's) to be less secure, as they call them. As a solution to be safe, they can force you to reauthenticate from time to time.

My solution, that I'm happy with so far, is to use their App Passwords for every single app that is less secure and does this annoying reauthentication step.


How to check max allowed open files (ulimit) of a running process (or running app)?

You cannot do this in a way that is similar to Linux.
procfs, although common on many Unix-like operating systems, is not available on all Unix-like operating systems. It is not available on macOS.
The POSIX standard prescribes a getrlimit() system call for retrieving these limits for the current process. It is available on macOS as it is POSIX-compliant.
Linux on the other hand has implemented a system call known as prlimit(), which allows getting these limits for other processes than the current process. The system call is specific to Linux and not available on other Unix-like operating systems.
All in all this means that there's no direct API for retrieving that information on macOS.
However, you can retrieve the information by the way of inspection inside the other process. For example by attaching similar to how a debugger would attach (ptrace()), or by the use of dtrace. It is though possible for the other process to actively resist this measure.
Depending on your specific use case, which you have not revealed, YMMV.


Usually the first 24 hours are the hardest. Since the servers are busy pushing out the update for millions of devices.

If it doesn't work after that, you might have to go for the update via iTunes.


Is it possible to increase history length on iPhone Safari?

I don't think this is possible without a jailbreak of your iPhone.

The history should clear it's self twice in a month - but how the logic is (every 1. and 15. ??) - I don't know.


Encrypt Time Machine backup images, not entire drive?

Apple tried encrypting each user's files in FileVault 1 and did away with that when FileVault 2 arrived.

The easy/recommended way to do this is make no user an admin so that they cannot get around the prohibition to look at other user files. Also, you will have to physically secure the backup drive or trust that no one breaks the policy to not access that drive.

One easy thing you could do is have each Mac encrypt the backups by ticking that switch to prevent some users from seeing files from another computer but that won't prevent same computer users that are admin and know what to type.  The downside there is for several computers managing the passwords becomes onerous to a less than ideal step up in privacy.

I would recommend you set up storage on a Mac mini server and have it serve up Time machine to each Mac so that you can control access better than using TimeCapsule. The performance will go up substantially along with the cost. The setup is fairly easy and there are inexpensive books to guide you if needed. AppleCare also supports server so hat is extremely inexpensive for three years of phone support for enterprise caliber support.


Can I delete a file from being shown in the 'recents' area of the Files iOS app?

No - you can't edit or suppress one item - just open new files and the one that's current will be less recent.
Yes - You can wipe all the items and start fresh.

Open the Files app. Go to Browse tab. You'll get a list of the Locations you've authorized Files to access: iCloud, Google, etc. Your Recents tab displays recently viewed files from any authorized drive - not just iCloud.

Tap the three dots "..." in the upper right hand corner of the screen and select "Edit" from the popup menu that will appear.  To clear the Recents view for any drive turn access off by tapping the Green Button. This clears the Recents view. You can then turn access back on by tapping the button again.  A little kluggy but it works.


My bluetooth keyboard and mouse are choppy

I'm not sure if this is the problem you're having but I was struggling with this for a few months until I realised my mouse was sometimes too far away from the laptop. The laptop was on the left side of the monitor and the mouse on the right. I switched the laptop to the right side and it's working flawlessly :)


Is it possible to download and install macOS on a HP computer?

Downloading and installing are two different things.

You could download macOS on a HP computer, but Apple’s software license doesn’t allow installation of macOS on any hardware that isn’t Apple hardware.

Likewise, macOS can be installed on virtual machines, but Apple’s software license doesn’t allow installation of macOS on a virtual machine that itself isn’t running on Apple hardware.

If you’re asking if it’s technically possible to download and install macOS on non-Apple hardware, the answer is yes. However, in addition to being in breach of Apple’s software license, it’s also not an easy thing to do and is out of scope for this site.


How can I leverage multiple iTunes libraries in a LAN to create an office jukebox?

You should be able to do this using shared libraries, which would probably be the easiest way and not cause any problems with permissions or anything like that, however it would probably end up with number of separate libraries rather than just having a one large library.

UPDATE:

Having had a bit of a look into the shared libraries feature it could be a decent option if combined with iTunes DJ - which can be turned on in preferences if currently off.

Essentially you would require everyone to turn sharing on for their iTunes library (or specific playlists) then have one of your computers acting as a master which has iTunes DJ setup. You can then add tracks from any of the libraries and have requests and votes for next tracks sent via the Remote app for iPhone or just shouted across the office.

May still not be quite what you're after, but essentially uses features already available in iTunes rather than a 3rd Party app to do it for you.

--

You could try having one folder for music and all linking to it, but you may hit permission issues or DRM or something silly like that.

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

This tells you how to move the library to a shared folder for one computer to allow multiple users to connect to it, the actual library is still per user, so you may get duplicate files or have to update the library if new files are added. In theory this would allow multiple computers to connect to one collection of music, add to it and play the files others have added. Though my theory is untested and may be flawed (like all good theories).

On a different note:

I was able to have one library (so viewing the same apps, podcasts, music etc. without the need to update it each time you logged in or downloaded new stuff) for multiple users on one computer by copying the whole iTunes folder to the shared folder and then adding an alias to the shared iTunes folder in the Music folder for each users Home folder - which is a bit of a convoluted sentence - which may be of some help, but probably not as the library gets locked when it's accessed by a user, so i can't imagine it'd help for multiple computers. Just another way of doing things.

Hope that helps in some way, let me know id it's absolute guff though.


How do I clear iBooks download queue on OS X?

Deleting the iBooks cache in /private/var/folders/randomLettersNumber/C/com.apple.iBooksX did the trick for me.

An easier way at least on OS X 10.11 is to click a book in the download queue, select all, then delete. Unfortunately iBooks will ask you to confirm the deletion of each book download.


How can I repair a broken key of a new MacBook Pro 15'' Retina 2015?

It seems to be the problem of keycap. The plastic part was broken.


Export bookmarks from Safari into bookmarks.html
Open Terminal and run

sed -n '/
<A HREF/s/^.*
\(.*\)<\/A>/\1;"\2"/p' bookmarks.html > bookmarks.csv

This will create a ; separated list containing the URL and the name (in "").


MacBook Pro mid-2012 have to wait 30min between reboots

Some Mid-2012 MBPs had an issue with the Hard Drive Flex cable that could cause similar issues (at least as far as the Booting to a Folder with a Question Mark), so I might be worth calling Apple or heading to an Apple Store to have them have a look.

If it is one of those ones, you may get a repair for free for it. I gotta stress though, it isn't ALL mid-2012s, just some of them. Mine wasn't one of them (I had permanent "No Hard Drive Detected" but the tech I saw initially thought it was, hence me knowing anything at all about it).

If it is the cable that is faulty, it didn't cost a lot out of warranty anyway, although if you are getting the odd Prohibitory symbol, then you may want to reformat the drive and reinstall OS X anyway to get rid of any filesystem problems that would still be there beyond hardware


New (clean) install of iOS 9 while retaining Health/Activity and Apple Watch data

No, you cannot only restore Health data from a backup. Only encrypted iTunes backups and iCloud backups store Health.app data.


A checklist for child proofing an iPad pro

Keep in mind no filter is 100%.

To limit access to adult websites, enable Settings → General → Restrictions → Websites → Limit Adult Content.

To enable SafeSearch on Google to hide adult content from search results, go to https://www.google.com/preferences and ‘Turn On SafeSearch’.


If you can use the Terminal, do

open "`pbpaste`"


Uploading app to app-store with same name for another developer id

As the old app's binary version is not uploaded and reviewed, I just renamed that application and then used the name for the new developer id.

Apple accepts the name and the app is now in review.


OSX High Sierra stop applications from auto launching

It's a standard feature & has been there for years.

It asks you as you shut down or reboot - just uncheck the box, it should remember.


Can't update MacPorts after upgrading to Mavericks

You need to update the command line tools Xcode installs. For whatever reason, Xcode doesn't seem to want to update them itself, but you can force it by running xcode-select --install. This will pop open a GUI prompt; select "Install" and let the installer do its thing. After this, MacPorts should build itself successfully. (You may need to rehash first; rehash in tcsh, hash -r in bash and zsh (I think).)


A white input bar appear when typing on keyboard while play game

It happened to me when I use foreign keyboard. As soon as I switch the keyboard input back to "U.S" the input bar disappears. And it seems like it's associated with Finder.


Do native screensavers have a hidden configuration to show image file name/path?

Check Photo Screensaver for Your Mac (ArtSaver).

The screensaver provides a plethora of options including name and path:


IOS 8.0.2 Facebook launch issues - it wont launch!

Try deleting the app and reinstalling the latest version from the app store.


Having video issue, not sure how to describe it

You already installed the official drivers
nVidia to see if this problem is solved?
is a two graphical cards Nvidia GT120?
look here: http://www.geforce.com/drivers


How to delete doubled weather widget in El Capitan?

7 simple steps to solve the problem (works even in OS X 10.11.1):

Go to /private/var/db/locationd/ from your finder or terminal;
Give you full privilege to change files inside this folder;
Convert clients.plist file from binary mode into xml1 by running this command in your terminal: sudo plutil -convert xml1 /private/var/db/locationd/clients.plist;
Open the clients.plist and remove the key and dictionary pair in the configuration file. For my case I delete all fields that includes weather word;
Don’t forget to convert back the client.plist into binary file using the command below in Terminal: sudo plutil -convert binary1 /private/var/db/locationd/clients.plist
The prelast step is to restart the daemon that monitor the change of location. Type this command in Terminal: sudo killall -KILL locations;
Finally com.apple.ncplugin.weatherdisappeared from Location Services, I reaccepted to check my weather by location and everything starting to work perfectly.

This article helps me.


After looking up into the issue more closely, I realised it was only ThunderBird initiated system dialogs that contained Finnish language.

I was able to fix this by downloading Thunderbird again, making sure to download the English version, and then installing it over current installation. This fixed the issues with language dialogs.


What lock can secure a 4th generation Time Capsule from theft?

Yup, that's a Kensington slot and the product you linked will work and is on the high end in price and fit/finish. Anything compatible will work - you can open http://amazon.com and then search for "kensington type laptop lock" for dozens of vendors at various price points and key/cable configurations.


iCloud Status of Apple Music After iTunes Match Scan

If a song in your library is recognized and is on apple music, iTunes will automatically switch the status to apple music. Currently, there is no way to switch them.


Why is a non-cellular iPad model announced as new network interface when connecting to a Mac through USB?

You are probably referring to this message:

From today's point of view, your Mac's behavior is a bug. Maybe the iPad advertises its Bluetooth to be a network adapter? Like WiFi or cable network adapters, Bluetooth chips have a MAC address. Here, MAC doesn't refer to Apple's computer brand, but to a universally unique identifier. See for example the https://macaddresschanger.com/bluetooth-mac-lookup

iOS does support the Bluetooth personal area network to route data packages to other devices, potentially connecting to their internet:
https://developer.apple.com/documentation/multipeerconnectivity

Theoretically, the iPad could connect to the Internet via a Bluetooth-based personal area network. Currently however, the iPad's Personal Hotspot feature until iOS 12 only supports sharing cellular data. I am not aware of any plans that might change that.

Maybe your Mac is ready for the day a future iPadOS or iOS version extends the Hotspot feature to Bluetooth?

You can try to log into macOS using an admin account. Maybe the Network Preferences sidebar allows you to delete the iPad. If yes, then you shouldn't see the message anymore when connecting it via USB.


How can I disable an Apple laptop's touchpad button (physical click)?

You can configure it using BetterTouchTool. But I'd advice against pissing your wife off.

There's always option of buying an iPad.


When installing to a new drive, you first need to go into Disk Utility and partition the drive before it will be found as an installation target. Once you've created the partition, exit Disk Utility and restart the installation process. It should proceed as normal.

You'll want to use Mac OS Extended (Journaled) as your format type.


Keyboard key stuck or not being recognized; how to fix

There are two scenarios which you will encounter:

keys that don't respond when pressed
keys that are stuck; they act like they are being held down

The first case is potentially salvageable through the use of software to remap a key, or just changing your behavior when possible (i.e. use right Cmd  instead of left Cmd).
The second case, where the key is acting like it's pressed, the keyboard will likely have to be replaced because there is a physical connection being made and it's being sent to the logic board to be interpreted.
Key not Responding
If a key isn’t responding it means that the electrical connection mapping the key is blocked.  Remapping keys can be done via 3rd party tools such as Karabiner or Karabiner Elements (Sierra and up).
However, there's only so much remapping you can do and this isn't practical in the pre-boot stage (i.e. ⇧Shift keys or ⌥Option keys don't work).  This means if you need to go into Safe Mode (hold ⇧Shift, run Apple Hardware Test (hold D) or any other boot time key sequences, it won't work; you'll need an external USB keyboard.   You can remap once macOS has loaded, but not before.
With this scenario, you may be able to get around the unresponsive keys, but eventually you will have to replace it.
Key is Stuck
The keyboard needs to be replaced.  There is a contaminant that is shorting electrical connections.  When you press a key, you are intentionally creating this short, but a liquid like water or soda (which can conduct electrical current) can bridge the connections closing the loop.  In these cases, they keyboard needs to be removed and cleaned with an electrical solvent.
Given the amount a labor to do this (there are a TON of screws – about 60 in total), it’s much more cost effective just to replace they keyboard with a new one.
The Butterfly Keyboard Issues
This applies to the 2016 through 2018 MacBook Pros and covers the gen 1, 2 and 3 keyboards.
The butterfly keyboard is a mechanical design change from the traditional keyboard mechanism.  The underlying electronic circuitry remains the same.

The "shallower" profile allows for less space requirements resulting in a thinner profile for the laptop.  However, a thinner profile means tighter operating tolerances. Contaminants and regular wear are now much more likely to contribute to premature failure resulting in either stuck or non-responsive keys.
Replacing the Keyboard
Apple will traditionally replace your top case assembly. This is the aluminum housing that holds all the internals.

Note:  For the Early 2015 through 2017 MacBook and 2016 through 2017 MacBook Pros, Apple has acknowledged the issue and is replacing the top case assembly through a Service Program.  However, they aren't replacing the gen 1 or gen 2 keyboards with the new gen 3 design.  Basically, they'll replace it with the same (flawed) model.  (IMO this puts owning an Apple MacBook/Pro on par with owning a Jaguar).
To replace this, you will have to remove the battery, fans, speakers, and logic board to swap the internals to the new assembly.  If you are going to go this far, just replace the keyboard and save yourself the money.
Replacement MacBook Pro keyboards are relatively inexpensive (13" MacBook Pro Keyboard and 15" MacBook Pro Keyboard) versus a top case assembly - $25-$30 versus $250-$400.
iFixit.com has excellent guides to walk you through, but if you are unsure of your tech skills it's best to get a pro to do the job.

How a Keyboard Works
To understand all of this better, I "dissected" a (dead) MacBook Pro keyboard to better show how all of this comes together
Keyboard Internals
The keyboard is made up of multiple layers:

Keys (mechanical)
Plastic membrane
Circuit trace
Backplate

Looking at the back of the keyboard (a dead donor from a 2009 MacBook Pro that had to be cut out due to a stripped screw) there is a black protective cover.  The only electrical contacts that can be seen is for the backlight and the keyboard connector interface

Removing the back cover, we can get a better look at the backplate.  This piece provides the stability and structure for the keyboard.

Looking at the front of the keyboard with the keys removed, we can see through the plastic membrane layers all the way to the back plate (this portion is where the stripped screw was that had to be cut out)

Taking an even closer look at the key, we can see how the mechanism attaches physically to the back plate to keep it in place.  The rubber cup is what provides the “spring” action to return the key to its unpressed position.

Peeling back the layers we can see how it all comes together.  The plastic membrane with the rubber cups on top of the plastic membrane with the electrical traces on top of the metal back plate.

Cutting out a section of the trace membrane we can see how the electrical connections are made.  Looking closely, you can see that each key has a vertical connection with the key above/below it and a horizontal connection between the keys to the right/left.

A keyboard works by completing the circuit between two circuits in a “grid” pattern.  This is how we can get 100+ keys with only 29 circuits.  For example, to get the letter “P” using the keyboard diagram below, it would create a closed circuit between Pin 1 ("INT 5") and Pin 8 ("1Y1").

TL;DR - What this all means...

Key(s) are stuck.  The circuit path is shorted.  This could be due to a foreign contaminant (including the key mechanism itself) putting pressure on the contact pad or some sort of FOD (foreign object debris) shorting out the circuit path.

Key(s) not responding.  The circuit path is broken.  When you press a key and nothing happens, no signal is being sent for the keyboard to recognize a key press.  This could be due to a short, bad contacts, a physically broken path, etc.

A note on intermittent problems.  An intermittent electronic failure is a subset of the above conditions. Dry solder joints1, decayed glue2, and even bad/failed solid state components (i.e. resistors, capacitors, ICs, etc.)3; any/all of these can play a role in a circuit path failure.

1 Dry joints are the main form of problem solder joint. These solder joints may be completely open circuit, or they may be intermittent, high resistance or noisy. It is therefore essential that no dry solder joints are present in any electronics equipment. Source: Electronic Notes - Solder Joints
2 An electrically conductive adhesive is a glue that is primarily used for electronics. The electric conductivity is caused by a component that makes ca. 80% of the total mass of an electrically conductive adhesive. Beware of Decayed Glue under IC
3  What causes this resistor to fail - open circuit and no visible damage?


Macbook Air's keyboard malfunction after spill. How to work around it?

keyboards are 2 layers of plastic film with tiny electric contact, separated by a third layer of plastic film with holes on the spot of every single key.
when you press a key, the top and bottom plastic are pressed against one another inside the hole of the middle layer, and the electronic signal going from the top to the bottom layer tells your computer that the key is pressed.

problem is: separation is the same as an average good quality book paper sheet, or maybe the same as the aluminum sheet that makes a soda or beer can. also, the electricity that goes trough your keyboard is extremely tiny, and sensors are VERRY sensible, so your air battery can lasts longer.
So even if you have a single hair touching those circuits, your keyboard would "break" the same way it breaks when you spill coffee or whatever liquid; even after the liquid dries, the coffee and the sugar are probably still there "pressing" your alt key.

solution: (this will probably void any warranty) open your computer carefully, remove the keyboard, dismantle all keys one by one, separate the plastic layers with surgical precision so you don't cause any ruptures to the electric "wires", then wash everything with a lot of water and very little mild soap, take extra care to remove ALL the soap, leave everything to dry in the sun (you know electronic components don't like humidity, right?) assemble everything together with "just-washed" oil free hands (don't touch the inner part of the sensors now).
Doing all this, if you have any luck your keyboard might work 100% again... or maybe you might make it stop working entirely, who knows? =)

if you have some money, then backup you computer, go to the applestore and tell them you want to buy a new keyboard, because you broke the current one.
they shall give you a brand new (refurbished?) one, and charge you only the new keyboard. or they might give the same one back to you, who knows? haha.


Windows 10 installation using Boot Camp crashes in iMac with 'system thread exception not handled (igdkmd64.sys)'

I would recommend downloading BlueScreenView or WhoCrashed to scan for minidump files and find out what caused this BSOD error. Based on the igdkmd64.sys, it's actually related to Intel Graphics driver.

carrona.org/drivers/search.php?id=igdkmd64.sys

But if you have tried uninstalling this driver and still getting this problem due to Windows forces itself to redownload and reinstall, then I would recommend you do it manually. That means go to:

downloadcenter.intel.com/Default.aspx

find for the driver, download and reinstall manually.

Besides, in some other cases, corrupted system files are also the cause that creates this BSOD error.

Source: How To Fix System Thread Exception Not Handled Error