Is there a built in command line utility for airport and other wifi networks?

There is a command line wireless utility called airport, but it is not in the user $PATH to be able to call it without remembering where it is.

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport

so to make it available at the line, and put it where it really belongs, in Terminal:

 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$ sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
 chillin@stack:~$

And when calling it, gives great info about the wireless network you're connected to:

 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$ airport -I
      agrCtlRSSI: -53
      agrExtRSSI: 0
     agrCtlNoise: -84
     agrExtNoise: 0
           state: running
         op mode: station
      lastTxRate: 48
         maxRate: 54
 lastAssocStatus: 0
     802.11 auth: open
       link auth: none
           BSSID: c0:a7:50:5d:46:b9
            SSID: starbucks
             MCS: -1
         channel: 3
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$ # ok, what else?
 chillin@stack:~$ # run a wireless scan!
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$ airport -s
                             SSID BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
                   MOTOROLA-616F8 b4:22:ed:3d:69:e4 -86  1       Y  -- WPA2(PSK/AES/AES)
                        starbucks c0:a7:50:5d:46:b9 -50  3       N  US WEP
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$

for syntax and quick help:

 chillin@stack:~$
 chillin@stack:~$ airport -h
 Supported arguments:
  -c[<arg>] --channel=[<arg>]    Set arbitrary channel on the card
  -z        --disassociate       Disassociate from any network
  -I        --getinfo            Print current wireless status, e.g. signal info, BSSID, port type etc.
  -s[<arg>] --scan=[<arg>]       Perform a wireless broadcast scan.
                                    Will perform a directed scan if the optional <arg> is provided
  -x        --xml                Print info as XML
  -P        --psk                Create PSK from specified pass phrase and SSID.
                                    The following additional arguments must be specified with this command:
                                   --password=<arg>  Specify a WPA password
                                   --ssid=<arg>      Specify SSID when      creating a PSK
  -h        --help               Show this help
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$

outputs what looks like a man page, for examples and full help, call command without arguments:

 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$ airport
 Usage: airport <interface> <verb> <options>

         <interface>
         If an interface is not specified, airport will use the first AirPort interface on the system.

         <verb is one of the following:
         prefs   If specified with no key value pairs, displays a subset of AirPort preferences for
                 the specified interface.

                 Preferences may be configured using key=value syntax. Keys and possible values are specified below.
                 Boolean settings may be configured using 'YES' and 'NO'.

                 DisconnectOnLogout (Boolean)
                 JoinMode (String)
                         Automatic
                         Preferred
                         Ranked
                         Recent
                         Strongest
                 JoinModeFallback (String)
                         Prompt
                         JoinOpen
                         KeepLooking
                         DoNothing
                 RememberRecentNetworks (Boolean)
                 RequireAdmin (Boolean)
                 RequireAdminIBSS (Boolean)
                 RequireAdminNetworkChange (Boolean)
                 RequireAdminPowerToggle (Boolean)
                 WoWEnabled (Boolean)

         logger  Monitor the driver's logging facility.

         sniff   If a channel number is specified, airportd will attempt to configure the interface
                 to use that channel before it begins sniffing 802.11 frames. Captures files are saved to /tmp.
                 Requires super user privileges.

         debug   Enable debug logging. A debug log setting may be enabled by prefixing it with a '+', and disabled
                 by prefixing it with a '-'.

                 AirPort Userland Debug Flags
                         DriverDiscovery
                         DriverEvent
                         Info
                         SystemConfiguration
                         UserEvent
                         PreferredNetworks
                         AutoJoin
                         IPC
                         Scan
                         802.1x
                         Assoc
                         Keychain
                         RSNAuth
                         WoW
                         AllUserland - Enable/Disable all userland debug flags

                 AirPort Driver Common Flags
                         DriverInfo
                         DriverError
                         DriverWPA
                         DriverScan
                         AllDriver - Enable/Disable all driver debug flags

                 AirPort Driver Vendor Flags
                         VendorAssoc
                         VendorConnection
                         AllVendor - Enable/Disable all vendor debug flags

                 AirPort Global Flags
                         LogFile - Save all AirPort logs to /var/log/airport.log

 <options> is one of the following:
         No options currently defined.

 Examples:

 Configuring preferences (requires admin privileges)
         sudo airport en1 prefs JoinMode=Preferred RememberRecentNetworks=NO RequireAdmin=YES

 Sniffing on channel 1:
         airport en1 sniff 1

 LEGACY COMMANDS:
 Supported arguments:
  -c[<arg>] --channel=[<arg>]    Set arbitrary channel on the card
  -z        --disassociate       Disassociate from any network
  -I        --getinfo            Print current wireless status, e.g. signal info, BSSID, port type etc.
  -s[<arg>] --scan=[<arg>]       Perform a wireless broadcast scan.
                                    Will perform a directed scan if the optional <arg> is provided
  -x        --xml                Print info as XML
  -P        --psk                Create PSK from specified pass phrase and SSID.
                                    The following additional arguments must be specified with this command:
                                   --password=<arg>  Specify a WPA password
                                   --ssid=<arg>      Specify SSID when creating a PSK
  -h        --help               Show this help
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$
 chillin@stack:~$ exit


MacOS terminal switches computer name from “macbook-pro” to “huawei_p_smart”: should I worry?

No. Your router tells your mac how to name itself and the Mac will take the name assigned to the router. Then you might decide to process those names or change terminal or decide to change your router setup.

OS X computer name not matching what shows on terminal

This is common that many DHCP servers don’t ask Mac what their name is or don’t record it uniformly. Apple OS provides many “names” for your Mac which complicates things as well. What happened is your Mac asked the router for an address and name and it assigned the old name from an old device that previously used the address your router assigned.
You would need to patch the router or log in to the router and follow the vendor guide to assign a Mac name to your MAC address for the name to be one that makes sense, I believe.


Does the watchOS version of the Voice Memos app enforce a time limit for audio recordings?

No. Charge up your battery and fill your storage space.


Is it possible to highlight text of inbox emails?

Apple Mail doesn't have a way to do this natively.  I can't think of another email client that does what you're describing either.  Here are some ideas and workarounds that might help you accomplish something similar to what you describe; perhaps one of them will suit your needs.

The closest option in Apple Mail is to use flags.  That only gives you the ability to flag a message.  You can't even add a note, let alone highlight the text and annotate it.

You could try a third-party application like MailTags (Mavericks 10.9 support is currently in beta).  It's a paid application with a robust tagging system, as well as the ability to add notes.  This isn't a perfect solution since it doesn't allow you to highlight specific text within the email.  MailTags has a free demo; you might want to download it and see if you can reach a solution that works for you.

Another option would be to try Outlook:Mac.  It has both categories and flags built in.  You can also do things like create a task or a note from a message.  Once you have created a task or a note from a message, you can do things like highlight text, but not annotate it.  It also isn't the original message, but rather a copy of the message.

If you do find something that works for what you want to accomplish, please do share it here.  Being more effective with email is a goal for many people, after all.


One of the keys in keyboard has become "harder to press"

The problem went away by itself in a few hours and never came back. Everything returned back to normal.


I believe what you're looking for is:

if theGUIDLength = 25 or theGUIDLength = 8 then
## do code
end if


Unknown wifi connection in my Connection dropdown menu

This is quite likely (no guarantee) that there is someone nearby with a WiFi device (Phone, printer, WiFi 4G router, etc) that generates a different name each time it turns on.

Note that the signal strength is pretty low. so it is not likely all that nearby. Using a WiFi stumbler might give you more information about the device as most WiFi devices will often self-identify with a Manufacturers name or model number. The stumbler software could also potentially help you locate at least which direction the WiFi source is.

Is it possible that someone is nearby trying to hack into your systems? Yeah. Is it likely? No, unless you have a lot of money or have access to valuable information or goods, or a person of interest to someone gathering intelligence on you it is unlikely you are a persistent target of attack.


Copying files to NAS gives Error Code -50 "Error in user parameter list"

The problem for me was that there were several invisible .appledouble folders within the folders I was trying to copy.

These folders are written by OS X for compatibility with Apple Finder Metadata with some NASs but are safe to be deleted (at least in my case). I just removed them all and everything was back to normal.

You can automate the process by typing the below into terminal when your pwd is the external drive. Please only do this if you are comfortable with the terminal - otherwise you could end up deleting important things.

find . -name \.AppleDouble -exec rm -rf {} \;


Do you have a better way to browse Windows 7 machines in Finder (SL 10.6.5)?

Windows 7 has extra network security options, and one of them sets its discoverability. By default in Windows 7, when you connect to a new network you are prompted for what type of network it should be: Public, Work, or Home. These profiles set up the firewall and security options when on that network; I can't off the top of my head list all the things they specifically set up, but when you select Public, sharing and discoverability are locked tight, whereas in Home they are more relaxed.

It's very likely that you have set your network type to Public on your Windows 7 computer. If you open the Network and Sharing Center, under the name of your active network it should say either "Home network", "Work network" or "Public network". If it is indeed set to Public (or Work), click it and then click Home network. You shouldn't have any problems after that.

Alternatively, you can open the start menu and type Network and hit enter. This opens the Network window, which lets you browse other computers on your network. As soon as the window opens, a yellow bar should appear at the top informing you that network discoverability is turned off; click the bar and then click one of the resolution options. This may fix the problem as well.

I haven't had any problem in OS X connecting to my Windows 7 computers that are set to Home network, as they should be. But a Windows 7 computer set to Public network should be basically undetectable.


Cron doesn't run after installing Mountain Lion. How can I make them run again?

The resolution turned out to be creating the etc/crontab file (e.g., sudo touch /etc/crontab).  Apparently, this file was deleted during the installation of Mountain Lion.


Why does Apple's website not make extensive use of CSS3 fonts?

Apple has been notably touchy about 3rd-Party use of their fonts in the past and I'm inclined to say they still are.  Apple use to include a few fonts in OS 8, for example, which had Apple-copyrighted design.  You had access to them in that anything that specifically used that font rendered correctly, but if you wanted to be able to select the font in a text document, you had to jump through some hoops and enable it manually.

The font in question is almost definitely Myriad Pro or an Apple derivative.  You "must" purchase a license to use it commercially.

While I generally agree with your assessment of using CSS3 fonts, it seems that Apple may be more concerned with copyright.  Load time differences are probably negligible for most people accessing the Apple site.  I'm sure they have people in Marketing looking at that data.


Lion can't see other iOS and OSX devices on the network

Turns out I had to just had to reboot the router... That fixed everything.

Still, the question remains, why?


Mail.app Assumes Google is the Desired Service for a Self-Hosted Domain

I was able to finally resolve this. Here's a simplified version of the breakdown (in a corrected order), in hopes that it is helpful to anyone trapped in this in the future:

Setup the self-hosted service
Switch DNS records to point to the self-hosted service
Ensure your Mac or iOS device is aware of this DNS change (e.g. dig domain.com mx in Terminal returns what you expect to see)
Uninstall Gmail and Calendar from the Google Apps for Domains Control Panel (your data will not be lost; you can reactivate them later)
Remove the Google Apps account from your device
Add a new email account with the correct information:

After clicking "Continue" on the screen where you enter your name, email address and password, immediately press "Cancel", then
"Continue" again. This ensures no automatic search for services is
done. (Apparently in a different way than holding the option key
does...)
On each subsequent screen, hold down the option key when clicking
continue and ensure the advanced settings are correct
Confirm the account displays as "IMAP" or "POP" and not "Google
IMAP" or "Google POP"

Add any other accounts.

If you experience trouble with the above, verify that you are certain your local device sees the correct DNS information, remove all accounts from Mail and delete ~/Library/Mail.

Hopefully this helps someone else.


PowerBook G4 (No Intel) running OS X 10.4.11 (Tiger) doesn't react to clicks from the touchpad or mouse ...

If you are using a USB mouse and the mac is still not responding to you, then its clearly a software issue. I would recommend you to using your installer disk and clean install the OS, this will surely fix the issue.


Virtualizing Mac OS X on Linux - is it legal?

On Apple hardware, yes - as of OSX Lion / Lion Server.  Otherwise, no - it's a violation of the EULA.


If you delete the notes from the app, then yes, they'll be deleted from Gmail. However, if you just want to take the notes off the iPod, you can just switch off "Notes" for your Gmail account under Settings > Mail, Contacts, Calendars.


External SATA drive not showing up when connected via USB adapter

Assuming you’re using the same USB to PATA/SATA adapter on both the Mac and the Windows there are a couple factors which could contribute to the symptoms you’re seeing:

the USB to SATA bridge doesn’t use the universal driver that’s included with macOS. There may be a specific Windows driver for the SATA bridge. The PATA bridge may use the standard driver, which is why it works
The device may be for Windows and not compatible with macOS
The SATA drives may be formatted using a filesystem not compatible with macOS (i.e. Linux Ext2/3/4, btrfs, etc.)

Before you decide that the drive or device is not functional, you can parse dmesg to see if the device was detected.  You can also issue the command diskutil list to see the disks detected by the OS.  It may not be able to read the file system, but it will be detected.
Additionally, since this is attached via USB, you can use system_profiler to view all attached devices.  Just issue the command system_profiler SPUSBDataType and parse through the output, looking for your particular disk drive make, model, and size.


MacBook Air 13" 2014 Turned off randomly, won't turn back on

I don't think there's much you can do except for contacting Apple Support. You can test if the issue is with your display by using Target Disk Mode and booting up off of your Mac. This allows your Mac to act as a hard disk. To boot in Target Disk Mode, press T on your Mac when it is turned off. Then, you will need another Mac. Use a ThunderBolt cable to connect the Macs, restart the second Mac (the working one), and press Option while it starts up. If you see your Mac that doesn't work in the Boot Menu of your Mac that does work, then your computer still partially works and you can recover your data. If it doesn't then again, your best option is to replace the Mac or contact Apple Support.


How do I erase partitions on a drive that's been protected with FileVault 2?

You can use diskutil cs list to show the core storage view of things.

Once you have the logical volume UUID for the disk in question, you can use diskutil cs deleteVolume to clean up the reserved space that was allocated to the encrypted data and filesystems. That would allow you to surgically remove the core storage.

You could also unmount the filesystems and nuke/pave the drive:

diskutil unmountDisk disk6
diskutil partitionDisk disk6 GPT ExFAT Files 16g


OSA Script failing for JavaScript All the Sudden

For those who may experience this issue in the future, I was able to resolve the issue by deleting the /Users/your short name/Library/Preferences/com.apple.ScriptEditor2.plist file and rebooting.  I can only assume this file must have somehow become corrupted and it kept the JXA option from being accessible as a script type.


Apple has a list if things to do when the touch screen is not responsive since it could just be a software issue:

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

I would start there and then call AppleCare if a reset and restore doesn't fix the screen. It could be broken and just need to be repaired.


MIDI system needs to know who is the master.

It is for the master volume adjustment when you have multiple output devices.

Each output device can have its own volume adjustment preset, but the master volume will control overall Volume.

The MIDI has 2 options to set up:

The Create Multi-Output is self explanatory.

The Aggregate is:

  You can combine several audio devices to use as a single device, known
  as an “aggregate device.” By aggregating devices, you can increase the
  number of discrete audio inputs and outputs without purchasing more
  expensive multichanneled audio equipment. For example, if you have an
  eight-channel audio device and a two-channel audio device, you can
  combine them to work as a single ten-channel audio device.

  For the aggregate device to work correctly, the sample rates of the
  combined devices in the aggregate device must be set to the same
  sample rate.


Finnish spell checker for Pages.app '09?

You should be able to get one at

http://voikko.sourceforge.net/ports.html


How do I get my iOS calendar to sync automatically?

I had the same problem.  I remembered that I was having battery problems, so I switched "Fetch" to manual mode.  Even though iCloud is setup as PUSH, the calendar seems to be overridden by the "Manual setting for Fetch.

Settings - Mail, Contacts, Calendars - Fetch New Data - Change Fetch from Manual to one of the durations.

Once I did this, and made a calendar change on the Mac, it was immediately reflected in the calendar on the phone.


How can I prevent the SD version of a TV show from downloading in iTunes when I purchase an HD show?

There is no way to prevent this permanently, automatically.

For each individual purpose, you can contact iTunes Music Store customer support, and as them to remove the SD version from your downloads queue, but bear in mind that you will not be able to transfer the movie to any iPods etc that only support SD (most of them, except for the very latest incarnations).

Source: Second result of a google search


You probably need some sort of script that monitors, when you create new "backupxy" to run the

mdutil and tell spotlight not to index it.


Based on your question, I think you might be referring to mirroring, which is only supported by the iPad 2.

For other devices, it'll do video out as long as the app itself supports it, as you suggest.


I moved over the MX to band 2, then turned my wifi  off and back on. Everything is fine now.


You could purchase the "Apple World Travel Adapter Kit" from an Apple Store or from Apple.com before you leave. I do not know if this kit is available overseas (not the US). $39

EDIT #1:

You could also purchase this adapter for only $9. It's much cheaper, and appears to work in Greece. $9

EDIT #2:

If you want just the piece that goes into the existing charger, check out this US to Europe Converter. $5


Yes. Reference the XQuartz Project, which is developing an OS X friendly version of Xorg: http://xquartz.macosforge.org/trac/wiki

Awesome WM has been successfully installed by at least this user: http://permalink.gmane.org/gmane.comp.window-managers.awesome/7939

They go on to list a step by step. Your mileage may vary, but it looks like it is possible to replace the default:

Once Xquartz was installed, set the following prefences:

 CHECK option key sends alt instead of mode_switch
 UNCHECK enable key equivelants

I installed the following ports from macports

 port install awesome
 port install xmodmap
 port install xev
 port install rxvt-unicode

Then, I made the following configuration file changes to get it
configured with the X server.  B

.xinitrc

  cd /Users/≤username>
 xmodmap .Xmodmap
 exec /opt/local/bin/awesome

.xmodmap

 remove mod1 = Alt_L
 add mod4 = Alt_L

Now, create an rc.lua file based on the stock version from macports,
and make a few changes to set the keys up

 mkdir -p ~/.config/awesome
 cp /opt/local/etc/xdg/awesome/rc.lua ~/.config/awesome

Making it more Mac-like

Define the commandkey as a variable.  Also set urxvt-unicode as

the default terminal:

    commandkey = "mod2"
    terminal = "/opt/local/bin/urxvt"

Command-W to close a window, like the default MacOS shortcut

    awful.key({ commandkey }, "w", function (c) c:kill() end)

Fixing the Tag navigation

The Mod4 + N key combination doesn't actually send you to tag N
using the default rc.lua.  You must add the following

    tagkeys = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }

and then change

    "#" .. i,

to
    tagkeys[i],

In the section where the awful.keys() functions switch tags

There are still some quirks with this setup, but overall I find it
better than having to resize and place terminal windows by hand.


How to connect bluetooth magic mouse and keyboard on thunderbolt display, if they don't show up?

Your iMac is acts as a screen only, not as a bluetooth hub. You need to pair your devices to your main laptop only, and get a cheap keyboard for your iMac who's only purpose will be to kick it in target display mode as you described.

To re-pair Apple input devices:

Mouse / Magic Trackpad: hold "clicked" while turning on 10- 15 seconds

BT keyboard: hold power for 15 seconds.


How do you change the name of your system home folder?

This page at Apple Support has details about how to change both the short and long username and the Home Folder name.

Here's an extract, lifted verbatim from the link above, to change the Home Folder name:

Log out of the account you're renaming, then log in to an administrator account.

The administrator account needs to be a different account than the one you're renaming. If necessary, create another administrator account, then remove it when you're done.

Go to the Users folder on the startup drive. The Users folder contains the home folder of the account you're renaming. Rename that account's home folder and make note of both the old name and new name. When renaming the folder, you're prompted to enter the administrator name and password that you used to log in.
Choose Apple menu > System Preferences, then click Users & Groups.
Click the lock icon, then enter the administrator name and password that you used to log in.
From the list of users, Control-click or right-click the user that you want to rename. Choose Advanced Options from the shortcut menu.
Change the “Account name” field to match the new name that you gave the home folder in the Users folder.

When modifying the account name (short name) or home folder name, it should not contain any spaces. If the current account name already contains a space, you won't be able to edit this field until the space has been removed. Click immediately after the space, or use the left arrow key to move the text insertion point immediately after the space, then press the Delete key to remove the space.

Change the “Home directory” field to match the new name that you gave the home folder in the Users folder.
Click OK, then quit System Preferences.
Restart your Mac.
Log in to the renamed account, then verify that your old files and folders are visible and the account is working as expected.


Not fully.

You can swap icons with LiteIcon but not the overall theme, as far as I know.


Why iPhone apps gets pushed to background after sometime?

You can only prevent this on a jailbroken phone. Apple trusts its apps not to hog the battery and are OS-level apps so they can run in the background. All other apps from the AppStore are not first class citizens. When they go in the background, their state is saved and restored when they are opened again. This is to prevent them from constantly updating content and draining your battery.

Long story short, you can only get that sort of control when you jailbreak. Note: if you are not careful and run many programs in the background after jailbreaking, your battry life will be really poor.


What is the quality of the music sold in the iTunes store?

From this article:

  Music encoded as 256kbps AAC files first came to the iTunes Store in 2007 with the launch of Apple's iTunes Plus. That marked the debut of DRM-free music tracks encoded at a higher quality bitrate that Apple claims is virtually indistinguishable from the original recordings.

As of 2007 the audio files sold in the iTunes store have been encoded using the Advanced Audio Coding (AAC) codec and distributed with .m4a extensions from the iTunes store. The 256 kbps setting is an average bit rate encoding scheme, not a fixed bit rate encoding scheme. The actual sample rate is varied dynamically based on the content and time.

  Is this quality comparable to that of a lossless file or CD?

This is somewhat subjective. The encoding is a lossy encoding so from a purely bit-wise perspective the content sold in the iTunes store is not 100% identical to content from a CD -- when expanded back to a .wav format to match the bits on a CD, the expanded bits from the AAC file would not match perfectly with the bits on the CD because of of the lossy encoding. However, it is said, bitrate of the encoding used on iTunes files imparts no human-perceptible loss in the audio when compared to the source CD material. This sort of stuff is harder to verify, requiring double blind tests and the opinions of hopelessly fallible human beings.


Bad battery life on iPhone 3GS used as iPod Touch

Remove the SIM. That should solve your problem. It will complain about no SIM whenever it is restarted but apart from that will work fine. I presume you want the WiFi to remain functional.


How do you get Mac OS Finder to group folders together when sorting?

Finder > Preferences > Advanced > Keep folders on top when sorting by name

Before macOS 10.12 Sierra, this wasn't an option.
Before 10.12, Finder just didn't have a "group the folders" at the top/bottom. There are legions of Mac users that put all sorts of characters in their folder names so that they sort above or below when sorted by name.
There are all sorts of hacky ways to manipulate the "kind" strings internally, but then everything is arranged by kind first, and secondarily alphabetically.
If this is a deal breaker - check out the many apps that run in place of the Finder. Here is a query to get you started:
https://apple.stackexchange.com/search?q=finder+replacement


External drive with OS X 10.13.2 will not boot from USB 3.0 enclosure

Assuming I read your question correctly, on the face of it it seems the issue is with the enclosure since neither the HDD nor the SSD will boot when inside it.

However, two things you could try (because they're simple and quick to do) are to reset both the NVRAM and SMC, in that order. Before following the steps below, ensure you have no external hardware connected (so, unplug your external enclosure) and make sure you use the built-in keyboard.

Reset the NVRAM

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). Here’s how to reset the NVRAM on your particular MBP:

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

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

Reset the SMC

To reset the SMC on your particular MBP, follow these steps:

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

After resetting both the NVRAM and SMC, test your Mac to see whether you can boot from the external enclosure.


Mavericks Terminal - 'Command Not Found' for everything

Look in the .bashrc file, and see if anything towards the end is overwriting (rather than appending to) the $PATH ...

I am guessing that the Android SDK b0rked it somehow.


First you have to get the file out of the .sit.

Head over to the Mac App Store and download either The Unarchiver or Stuffit Expander.

When you launch The Unarchiver, you’ll be asked where to extract stuff.

Would you like The Unarchiver to extract archives to the same folder as the archive file, or would you prefer to be asked for a destination folder for every individual archive?

Go ahead and choose Extract to the Same Folder, unless you have nothing better to do than answer your Mac’s constant questioning. You can then mess about with settings, or just click on the File menu and Unarchive your file. You can also drag a .sit file right to The Unarchiver’s Dock icon, or right click on a .sit file and choose Open With, then The Unarchiver.

The same goes for Stuffit expander – download it, let it install, and then use it to unarchive your .sit files. Easy!

Read more at

Open Font Book in your Applications folder.

Under File tab select Add Fonts,.

Find your file in the search window.


Running Time Machine only 1 time a day at 02:00am?

As you said that Time MAchine Editor didn't work fine for you then I search in web and find :  TimeMachineScheduler it disables the automatic backup function of Time Machine and installs its own launchd daemon.

Time Machine Editor (free software) allows you to specify a schedule for Time Machine to run. it changes the one-hour interval of Time Machine backups. You can change the interval or decide to make daily, weekly and monthly backups.


How can I install boot camp off a Windows 7 USB flash drive?

I'm having the exact same problem. I tried holding the option key when rebooting to see if I could boot from the USB key but I could not find a way to do this, so I installed rEFIt (then rebooted twice!) and THEN plugged in the USB key and the next time I rebooted it did show up as an option to boot from the USB key.

I tried that and the windows installer loaded and it found the new bootcamp FAT32 partition. It said I couldn't install to the bootcamp partition because it requires NTFS.

This SuperUser post suggests "simply format the partition using the Windows installer's built-in utility (in other words, as part of the installation process)" so I did that continued with the install and everything works fine!


How to find the password to my iPad's currently-connected Wi-Fi network?

If you're using iCloud Keychain, the password is synced to your keychain on your Mac and is therefore accessible in Keychain Access.

Open Keychain Access, select the keychain and look for the Wi-Fi network. Clicking show password will prompt for your password, then the network password will be displayed.


How can I force a Mac laptop to shutdown when the battery is below 25%?

I haven't tested this, although something such as this should work:

property lowBattery : 25

on idle
    set battStatus to do shell script "pmset -g ps"
    if battStatus contains "InternalBattery" then
        set {TID, text item delimiters} to {text item delimiters, ";"}
        set battStatus to text items of battStatus
        set text item delimiters to space
        set battStatus to text 1 thru -2 of last text item of item 1 of battStatus as integer
        set text item delimiters to TID
        -- Shutdown if battery is less than 25%
        if battStatus < lowBattery then tell application "loginwindow" to «event aevtrsdn»
    end if
    return 60
end idle

In AppleScript editor save it as an Application using Stay open run handler, then add it to your Login Items under System Preferences > Users & Groups


As you know OS makes a lot files during its uses.

Many of those are hidden files or Cache or Temp files but all related to the specific OS.

When new OS is installed it takes over those (deletes most of them) and starts making its own ones.

For example the Terminal command

open $TMPDIR../C/

will show you the cached files/folders, but this will only show the non hidden ones. I have some 3 Gig of stuff in there.

OS will hide system files and ones it creates in due process to protect them, but they can be made visible if one wants to do that.

I can not say what specific files new OS install will remove but they must be specific to a previous OS and no longer needed by new OS since it will create its own versions of them.


Not today. This is similar to how iBooks also cannot (currently) be viewed on a Mac.

(and I don't have any clue if this will ever happen, it just seems like something that could happen)


I had this problem too, and nothing in Keyboard Shortcuts in System Preferences was showing "^-6" as bound to anything.  But I figured it out...

Activate Mission Control
Add a bunch of spaces (I added 5, so I had 6 total [not counting Dashboard])
Go back to Keyboard Shortcuts. You should now see the "Switch to Desktop n" options there under the Mission Control heading
Uncheck them
Reactivate Mission Control and remove the added spaces


Cannot change directory in Terminal if target has spaces in it

Spaces in file names can be a hassle in the shell. Your best solution would be to both wrap the name in " characters and use the shell's built in completion to get the right name.

Type cd "/Volumes/TOSH then type a tab and the shell will complete the name with any spaces and non-standard characters included. If the tab completes the entire path then the shell will even insert a "/ at the end so you are ready to then hit return.

Note that standard bash completion will work on file paths and names for most shell commands, not just cd.


Can I downgrade from iOS 11 developer beta? I'm not worried about data preservation

Yes! You can always downgrade from iOS developer beta to stable version signed by Apple. Just follow these steps and you are good to go!

First of all make sure you have latest version of iTunes if not
update your iTunes to latest version.
Then you have to download stable iOS file for your device. Use this website to download appropriate version (10.3.2) for your device.
Turn of find my iPhone feature by going to Settings on your phone.
Connect your device to computer and put your device in recovery mode. If you don't know how to put your device in recovery mode just google it or search it on youtube you will find tons of videos.
Once your device is in recovery mode iTunes will pop up letting you know your device is in recovery mode. Press and hold the OPTION key if you are using Mac or SHIFT key on Windows and click on Restore iPhone .Browse the firmware you downloaded.
Now sit back and relax your phone will be restored to iOS 10.3.2


Cannot dismiss Trust this Computer even with the cable disconnected

I found out that the slider is not necessary. Pressing and releasing volume up, the pressing and releasing volume down and the long-pressing the power button turned the phone off.


Automatically refreshing my WiFi connection via a script?

In AppleScript use: do shell script "networksetup -setairportpower en0 off; sleep 2; networksetup -setairportpower en0 on" although you might have to change en0 to the appropriate adapter which you can get from the Network Utility.

If you want it in a BASH script don't use the do shell script part and the rest can be on one line or remove the ; adding a newline in there place.  You could swap the display dialog ... in Buscar웃's script with this if you want.


The iMacs range from supporting EIDE ATA-3 to Ultra ATA as noted in EveryMac.com under the "Int. HD Interface:" section for each iMac, but the good news is that they are all backwards compatible.

Fortunately, the technology itself is pretty easy to use, even if the labels given to it often stink. So one useful way of dealing with all the standards and labels is simply to ignore them! Look past the hype, and focus on what the drive's actual capabilities are. If you want to really understand what a drive can do and what it supports, you should look at its specification sheet and see what features and transfer modes it is designed to use. Ignore labels like "EIDE" or "Ultra ATA/whatever" and find out what modes and functions the drive supports. Getting the real scoop on the drive means you don't need to worry about the pretty stickers slapped all over the box, or whatever the manufacturer is trying to claim.

One thing you need to be aware of is the 128GB size limitation. Your iMacs IDE controller can not address more than 128GB of a given disk.
Also overheating issue is probably not an issue? Eg if you go though OWC's MyOWC upgrade guide for any of the G3 iMacs even the oldest, they are recommending a 120GB 7200RPM drive as a replacement.  The best way to be sure would be to figure out the power requirement specs for that original drive and see how they match up, and use that to pick a new one.
Also there is some discussion on newer 7200 RPM drives producing less heat than the early on 7200RPM drives 7200 rpm Drive Doesn't Overheat My G3 iMac

Three or four years ago I installed a 7200 RPM hard drive in a 500 MHz G3 iMac (Summer 2000). I lent it to a friend, who ran it round the clock for weeks on end. Never had heat issues. It runs Tiger well enough for basic Internet, email, word processing, and old versions of iTunes and iPhoto. A fast hard drive and 1 GB of RAM really did a lot for it. The drive is an 80 GB Samsung. It is out of production, but Western Digital still makes 3.5" ATA-100 hard drives. Any modern one-platter hard drive will probably run cooler than the iMac's original hard drive.

I put a 120 GB 7200 rpm Seagate hard drive in my 600 MHz iMac and ran it 24 hours a day for years with no overheating. One time I left home for two weeks during September in Texas with the air conditioning off the entire time while I was away. There was a hot spell while I was gone. When I got home the house, was 95 degrees. I'm sure it got hotter than that while I was gone. The little iMac ran perfectly the entire time.
Today's 7200 rpm hard drives have better bearings, use less energy, make less noise, last longer, and make less heat that the old, slow hard drives that came with the G3 iMac. I say put a 7200 rpm hard drive in it and don't worry about it. Expect to see a small performance increase as a result.


Your charge cycles increase every time you cycle through the the equivalent of a full battery charge. Mac laptops made since the "unibody" style was released use lithium polymer batteries which should retain 80% of their battery power after 1000 charges. (So if you got 7 hours out of the box, you should still be getting 5.5 hours.)

In general I wouldn't worry too much about your battery health. Lithium polymer is extremely flexible as a battery technology and Apple makes some of the best batteries in the electronics industry. The only way to really ruin the battery is to keep it plugged in 100% of the time. Unplug it at least once a month for 5-10 hours and you should be fine. With 1000 recharge cycles guaranteed Apple is expecting you to replace the system before you ever suffer issues with battery life.


How to share an iTunes library between Mac & Windows?

Getting both Mac & Windows able to read & write to the same location is just the beginning… [& frankly, the simplest method is probably to just format the shared drive as exFAT, which both Mac & Windows can read & write to natively.]

"Sharing the library" is something of a misnomer when it comes to manually keeping one iTunes Media folder synchronised between two different machines & two different iTunes instances.

You can do it, but each copy of iTunes will want to be "in charge" & they will not auto-synchronise at all. You would have to do that manually, every so often. It is not a quick task, but it can be done.

The first thing to do is establish which will be your Master & which your Slave.
It is going to be very counter-productive if you keep adding tunes & playlists to both iTunes, as you will then never be able to synchronise them. One has to be "in charge" the other merely a copy.

I'm going to assume we're using the Mac as Master, Windows as Slave.

Note: You are not going to be moving the default iTunes folder on either OS, only the Media folder location. You cannot make iTunes synchronise the main folder across what is essentially two machines.

Next, you need to establish what the full path to each is, from each OS.
As you've already discovered, the paths are absolute, not relative - so the next thing to do is take your Master iTunes Library.xml file & modify all the paths so that it will work on your Slave iTunes.

Assuming your stated paths are correct for each instance, then you need to take your Master xml file, duplicate it & search/replace the paths to match your Slave paths. Something like TextWrangler [freeware] is going to be good for this.

Open your Mac iTunes folder & copy the iTunes Library.xml file to the desktop. This is going to be our working copy of the Mac Master which we will modify & move to Windows. Leave the original where it is.

Open this duplicate Master iTunes Library.xml & scroll down until you find the first path instance, check it's correct - so, for instance your Mac path would be file:///Volumes/DATA/Music/ so in Search menu > Find…  put file:///Volumes/DATA/Music/ in find & file://localhost/D:/Music/ in replace.
Replace all.

In your Slave iTunes folder, move the existing iTunes Library.xml & iTunes Library.itl files to the desktop, for safety.

Copy across your newly-modified .xml file to your Windows iTunes folder.
Don't launch iTunes yet.

Important Note
iTunes behaviour appears to have changed at approximately version 12.3
You can no longer break the .itl file & use that as your base to rebuild. iTunes now just claims it is damaged & will not use it.

post 12.3 method

Copy your newly-edited iTunes Library.xml to your Windows music/iTunes folder & your existing, unmodified iTunes Library.itl file directly from your Mac iTunes folder to your Windows folder, replacing the existing one, if it's still there.

Launch iTunes.
Open the prefs  Ctrl ⌃   ,  go to the Advanced tab & first switch off 'keep organised' & 'copy to iTunes media folder'.
Then change the path to the correct one for your remote media folder location.
Click OK - if you are asked anything about 'should I organise/fix/etc' say no.

iTunes will do a quick 'Updating Library' & then you appear to be ready to go [I'm doing this live as I'm typing this answer…]

This method no longer appears to preserve the album artwork & instead iTunes will need to go fetch it all again, rather annoyingly.
As of iTunes 12.6 Album Artwork & play counts are once more preserved.

It runs like molasses whilst this is happening… but seems to be good once finished.

pre 12.3 method

This is the important bit that none of the 'moving my iTunes Library' guides tell you. They mostly tell you to Import this new XML from the Import menu - I've done it, it can take 12 hours & you lose some data.

Instead, we will make a new broken ITL file.
As I don't know how to do this on Windows, lets make one on the Mac & copy it over.

Open Terminal & enter this touch ~/Desktop/iTunes\ Library.itl That will create an empty ITL file on the desktop, broken enough for this.
Move this file to your Windows iTunes folder.

Launch iTunes. It will now notice something is 'wrong' & start rebuilding the ITL file, using your newly-modified XML file. The message is 'Importing ‘iTunes Music Library.xml’ This will take some time, but more like 15 minutes than 8 hours.

You may find some album artwork missing - it never seems to be a truly perfect solution, but your play counts, playlists etc should all survive intact.

You need to repeat this entire process every so often, to maintain sync between the two instances. You will always lose the play counts, etc from the Windows instance this way, but that's as close as you are going to get to fully synchronising iTunes.


What is the correct way to eject a APFS dmg from the command line?

Use the following command.

diskutil eject disk2

From the man pages for hdiutil, the following appears:

 detach dev_name [-force]
            detach a disk image and terminate any associated process.
            dev_name is a partial /dev node path (e.g. "disk1").  As of
            Mac OS X 10.4, dev_name can also be a mountpoint.  If Disk
            Arbitration is running, detach will use it to unmount any
            filesystems and detach the image.  If not, detach will attempt
            to unmount any filesystems and detach the image directly
            (using the `eject' ioctl).  If Disk Arbitration is not run-
            ning, it may be necessary to unmount the filesystems with
            umount(8) before detaching the image.  eject is a synonym for
            detach.  In common operation, detach is very similar to
            diskutil(8)'s eject.

            Options:
            -force   ignore open files on mounted volumes, etc.

So the documentation states you may need to unmount filesystems first. I assume this is what the hdiutil detach /Volumes/Untitled command did.

From the man pages for diskutil, the following appears:

 eject device
            Eject a disk.  Media will become offline for the purposes of
            being a data store for file systems or being a member of con-
            structs such as software RAID or direct data.  Additionally,
            removable media will become eligible for safe manual removal;
            automatically-removable media will begin its physical (motor-
            ized) eject sequence.

Here, there is no mention of having to run any other commands first.

  Note: For the diskutil eject disk2 command to work, the Untitled volume can not be in use.


Auto open 4 terminal sessions and SSH them to a given host

You could try creating a profile for each tab (changing Shell > Run command), opening tabs for each profile in some window, and then saving the window as a window group. See this answer.

Or use an AppleScript like this:

tell application "Terminal"
    activate
    do script "echo 1" -- this always opens a new window
    tell application "System Events"
        keystroke "t" using command down
    end tell
    do script "echo 2" in window 1
end tell

Other related questions:

How can I write a script to open multiple terminal tabs and execute code in them?
How can I open multiple customized terminal shells?
Is it possible to script opening terminal with 3 tabs?
Trying to use applescript to launch cmd line 3 scripts in new tabs


Apple Keyboard may be broken.. Any way to be sure?

Once a keyboard trace has been damaged by water, it's practically impossible to fix them.  You're better off buying a new keyboard.

It's not the best news, but once a keyboard has been damaged by liquid, there's very little chance they will work again.

For cleaning your keyboard, I'd recommend isopropyl alcohol pads.


You could try the Free Barcode Font downloaded from here: http://www.barcodelink.net/barcode-font.php and install it into /Library/Fonts.

To use it just choose the font** in any Application you want - including Excel.

The barcode will properly need to be in a larger font size then the rest of the cells - but you can try it out your self - maybe it is "good enough" for you.

It is not the best solution - but it is free. Alternatively, you can buy a solution - a search on e.g. Google will give you some hits.

** It is showing a barcode icon, and not the name, but it is located in the C's because the name of the font is code128.ttf


How to install Windows 10 into a 2011 iMac without using the Boot Camp Assistant, an optical (DVD) drive or third party tools?

Installing Windows 10 without DVD or Third Party Tools

  Note: If installing Windows 10 May 2019 Update (1903) Edition, then you should read this question.

This answer applies to Mac models where the following is true.

An optical drive and/or Windows installation DVD is unavailable. Such cases include when the optical drive has been removed or is broken. Also, when a Windows iso file is available and the Mac has a working optical drive, but no blank DVD can be obtained.
Windows 10 needs to be installed to boot using the legacy BIOS method. This generally includes Mac models that where shipped with an optical drive.
Your Mac is capable of 64 bit EFI mode booting from a properly created USB flash drive Windows 10 installer.

  Note: Unless apple officially supports Windows 10 on your model Mac, there is no documented way of knowing if your Mac can 64 bit EFI boot from a USB flash drive Windows 10 installer. The only way to know is to build such an installer and try booting.

The Windows specifications are given below.

Edition: Windows 10 Pro
Processor: 64 bit
Version: 1709
OS Build: 16299.15

The macOS is version 10.13.2 (High Sierra).

Below, are the basic steps needed to install Windows 10 for an BIOS boot, when the USB flash drive Windows Installer boots in EFI mode.

I have made the following assumptions.

Apple has not supplied the drivers for a 64 bit Windows 10 installation. It is a common misconception that the latest Windows Support Software from Apple should always be used to install Windows 10. This is wrong. Microsoft Windows is designed to use legacy drivers when current drivers are not available or nonexistant. You should use the latest Windows Support Software that apple has released for your model Mac. I assume this is what you get when the latest Boot Camp Assistant application available for your Mac is used to download the Windows Support Software.

  Note: I actually have a 2007 iMac running Windows 10 Pro 64 bit. The software was installed (from a DVD) on a freshly formatted partition using the Windows Support Software designed for a 32 bit Windows 7 installation.

Windows will be installed on the primary internal drive. In other words, the drive with the disk identifier of disk0.

  Note: Windows can be installed on drives other than disk0, but this may also require a 500 MB "System Reserved" boot partition on disk0. In any case, the procedure to implement this situation is beyond the scope of this answer.

Windows will be installed on the 2nd, 3rd or 4th partition of the drive.

  Note: Windows can be installed on partitions greater than the fourth partition. Again, the procedure to implement this situation is beyond the scope of this answer.

Below are the installation steps.

  Note: To get a better view of the images shown below, either click on an image or open an image in a new window.

Download the latest Windows Support Software for your Mac. For the 2011 iMac, this software can be found at Boot Camp Support Software 5.1.5621. On my Mac, these files were downloaded to the ~/Downloads/BootCamp5 directory. This software can also be use with the Mac models given below.

MacBook Air (11-inch & 13-inch, Mid 2011)
MacBook Air (11-inch & 13-inch, Mid 2012)
MacBook Pro (15-inch & 17-inch, Mid 2010)
MacBook Pro (13-inch, & 15-inch, Early 2011)
MacBook Pro (17-inch, Early 2011)
MacBook Pro (13-inch,15-inch & 17-inch  Late 2011)
MacBook Pro (13-inch & 15-inch, Mid 2012)
MacBook Pro (Retina, Mid 2012)
MacBook Pro (Retina, 13-inch, Late 2012)
MacBook Pro (Retina, 13-inch & 15-inch Early 2013)
Mac Pro (Early 2009)
Mac Pro (Mid 2010)
Mac Pro (Mid 2012)
Mac mini (Mid 2011)
Mac mini (Late 2012)
iMac (27-inch, Mid 2010)
iMac (21.5-inch & 27-inch, Mid 2011)
iMac (21.5-inch, Late 2011)
iMac (21.5-inch & 27-inch, Late 2012)

  Note: The Boot Camp Assistant can also be used to download the Window Support Software. Look for the "Action" pulldown on the Boot Camp Assistant menu bar. On my Mac, these files were downloaded to the ~/WindowsSupport directory.

Create a ExFAT formatted volume labeled "BOOTCAMP" on the 2nd, 3rd or 4th partition of the primary disk. If this volume already exists, then erase the contents.
Make sure the drive is using the GPT/MBR hybrid partitioning scheme. See my answer to the question "How to convert a drive from the GPT format to the hybrid GPT/MBR format when using High Sierra (macOS 10.13.2)" for a procedure that accomplishes this task.

  User Semi has noted that the Boot Camp Assistant (BCA) will correctly GPT/MBR hybrid partition the drive. So, you may be able to the the BCA to partition the drive, then use the flash drive to install Windows.

Use the Disk Utility application to erase a 16 GB or larger flash drive. Choose the parameters shown in the image below.

Mount the Windows iso file and copy the contents to the "BOOTCAMP" volume. In my case, the label "ESD-ISO" was used to identify the Windows iso. To perform the copy operation, you will need the enter the cp command from a Terminal application window. Below are the commands I usually enter. If necessary, make the appropriate modifications.

cd  /Volumes/BOOTCAMP
cp  -Rv  /Volumes/ESD-ISO/  $PWD

  Note: This command will take a while to complete. Be patient!

Copy the Windows Support Software to the "BOOTCAMP" volume. Below is the command I usually enter. If necessary, make the appropriate modifications.

cp  -Rv  ~/Downloads/BootCamp5/  $PWD

Use the command shown below to rename the AutoUnattend.xml file.

mv  AutoUnattend.xml  NoAutoUnattend.xml

Copy the contents of the "BOOTCAMP" volume to the "WINSTALL" volume. Below is the command to use.

cp  -Rv  $PWD/  /Volumes/WINSTALL

Disable the ability to EFI boot from the "BOOTCAMP" volume. This can be accomplished by entering the command shown below. This will rename the folder containing the EFI boot files.

mv  efi  noefi

Next, you need to boot from the flash drive. Hold down the option key immediately after restarting your Mac. Release the option key when the Startup Manager window appears. Select the icon labeled "EFI boot". Next, select the arrow below the "EFI boot" label.
Open a Windows Command Prompt window by pressing shift+F10. The result should be similar to the image shown below.

Use the commands diskpart and bootsect to make the "BOOTCAMP" volume BIOS bootable. The commands you need to enter are given below.

  Note: Sometimes it can take a while for the diskpart command to produce the first prompt. Be patient.

diskpart
list disk

You should see output similar to what is shown below. If there is a * character in the Gpt column for the Disk 0 entry, then you have not successfully converted the internal drive to use the GPT/MBR hybrid partitioning scheme, as described in step 3. If there is a * character in the Gpt column for the Disk 1 entry, then you did not select "Master Boot Record" as the scheme in step 4.

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          500 GB      0 B
  Disk 1    Online           14 GB      0 B

If no * characters appear in the Gpt column, then proceed and enter the command given below.

list volume

From the output of the command list volume, determine the number (###) for the volume with the Label "BOOTCAMP".  Also, determine the drive letter (Ltr) for this volume. In this example, I will assume the number is 1 and the letter is C. Your number and letter could be different. The next command selects this volume. If you determined a different number for the "BOOTCAMP" volume, then make the appropriate substitution.

select  volume  1

The next sequence of commands mark the volume active (bootable) and then quit diskpart.

active
exit

The next command writes the boot code to the MBR and the "BOOTCAMP" volume. If you determined a different drive letter for the "BOOTCAMP" volume, then make the appropriate substitution.

bootsect  /nt60  C:  /mbr

Enter the command shown below to quit the Windows Command Prompt window.

exit

Press Escape or click the X button to close the Windows installer. If the popup shown below appears, then click on the Yes button. Wait for your Mac to reboot.

You need to finish the installation of Windows 10. Hold down the option key immediately after your Mac turns on. Release the option key when the Startup Manager window appears. Select the icon labeled "Windows". Next, hold down the control key while choosing the circular arrow below the "Windows" label.
Once the installer opens, open a Windows Command Prompt window by pressing shift+F10.
Restart the Windows installation. The commands you need to enter are given below.

  Note: Sometimes it can take a while for the diskpart command to produce the first prompt. Be patient.

diskpart
list volume

From the output of the command list volume, determine the drive letter (Ltr) for the volume with the Label "WINSTALL". In this example, I will assume the letter is D. Your letter could be different. The next command quits diskpart.

exit

Enter the command below to start the Windows installation. Again, if the drive letter, for the "WINSTALL" volume, is not D, then make the appropriate substitute when entering the command below.

setup  /unattend:D:\NoAutoUnattend.xml

When asked: "Where do you want to install Windows?", proceed as follows. First select the "BOOTCAMP" partition. Next, click on the "Format" button. Finally, click on the "Next" button.
Proceed until you reach the screen where you are prompted for your region. For the 1709 version (OS build 16299.15) of Windows 10, your the screen will appear as shown below.

For other versions of Windows 10, the screen could appear different. As an example, the screen, for the 1507 version (OS build 10240) of Windows 10, would appear as shown below.

  Note: At this point, prohibiting your Mac access to the internet is generally a good idea. For example, unplug any ethernet cables or disable Wi-Fi access that does not require encryption.

Next, press the control+shift+F3 keys to restart Windows 10 in Audit mode. If you are using a wireless keyboard, then you may have to utilize the On-Screen Keyboard. See Ease of Access on the lower left of the screen.

  Note: An unusually long amount of time must pass before the desktop appears.

When desktop shown below appears, the Windows Support Software installer should automatically launch. If this does not occur, use the Windows File Explorer to open the Windows Support Software application named "Setup". This application can be found in the "BootCamp" folder on the "WINSTALL" drive. After the installer application completes, allow the computer to restart.

You will return to the Administrator's desktop. If you are using a wireless keyboard, check to see if the keyboard is paired with the Mac. If not, then add the wireless keyboard to the existing Bluetooth devices.
If you prohibited your Mac access to the internet in an earlier step, you will now want to allow access. In other words, plug in the ethernet cable or connect by Wi-Fi.
Run the Apple Software Update application and install all updates.

  Note: When first executing "Apple Software Update" you may be asked to update "Apple Software Update" itself. If you happens, you should uncheck all other updates and just update "Apple Software Update". Otherwise, you may get an error message saying another update can not be installed. I my case, there were two updates of the "Apple Software Update" to download and install.

(Optional) Download and install Windows updates. You may want to skip this step for now if you believe the updates will be large in number and/or size. However, skipping this step may result in some hardware drivers not being updated.
From the Windows Start menu, select to restart the Mac. You will return to the Administrator's desktop. If the "System Preparation Tool" window is not displayed, then open the sysprep application found in the C:\Windows\System32\Sysprep folder. In this window, select "Shutdown" under the "Shutdown options", as shown below.

  Note: Your screen may also include a window labeled "Boot Camp", which  can be ignored.

Next, select "OK" to shutdown the Mac. At this point, you have completed the installation of Windows 10.

Next time you turn on your Mac, Windows will start in the "Out of the Box Experience" mode. This is basically the way a newly purchased PC starts up, when Windows 10 is already installed.

  Note: When asked, be sure to select an Apple keyboard.

If asked, I can clarify any of the above steps.

Additional Notes

When the window below appeared, I clicked on the Go button.

Next, I check off Enable AMD Video Quality features in supported video player applications, as shown below.

Finally, I clicked on the Apply button, then closed the window.
The Device Manager window is shown below. Here, there appears to be problem with a Bluetooth HID device. I am not sure, but I believe this device is not needed.

  Note: Additional devices (such as a wired mouse and keyboard) are shown that will not appear in the same windows on your Mac.

This same device appears under on the "Bluetooth & other devices" under "Settings", as shown below.

I clicked on the device to make the Remove device button appear, as shown below.

I removed the device.
This next problem did not occur when I installed Windows 10 using the above instructions, but has occurred during previous Windows 10 installations. While answering questions, the message below appeared with the error code OOBEIDPS.

  Something went wrong – But you can try again

According to the Microsoft website Windows OOBE fails when you start a new Windows-based computer for the first time, the solution is to do the following.

  For Issue 1 (“Something went wrong – But you can try again”), click Try again at the bottom of the screen. The OOBE process should continue as expected.

Actually, you may have to try more than once.


How to get old Spotlight Search View back for Yosemite?

As of today there is no way to move/resize the spotlight window or to rollback to the previous spotlight (as seen on older OSXs)

I would suggest giving a feedback to Apple about this.


Oh I found the answer. we just have to add the public key to the authorized_keys file

cat ~/.ssh/id_rsa.pub | ssh localhost "cat >> ~/.ssh/authorized_keys"


SIGSEGV when trying to install Java EE SDK 7 on OS X Mavericks

Found the solution here.

$ sudo ./java_ee_sdk-7-unix.sh -a silent_install_answer_file -l /Users/username/temp -s

silent_install_answer_file:

ClusteredInstance.Configuration.CLUSTER_NAME=c1
ClusteredInstance.Configuration.CREATE_CLUSTER=false
ClusteredInstance.Configuration.DOMAIN_NAME=domain1
ClusteredInstance.Configuration.INSTANCE_NAME=instance1
ClusteredInstance.Configuration.SERVER_ADMIN_PORT=4848
ClusteredInstance.Configuration.SERVER_HOST_NAME=localhost
ConfigType.Option.CREATE_CLUSTEREDINSTANCE=CREATE_CLUSTEREDINSTANCE
ConfigType.Option.CREATE_DOMAIN=CREATE_DOMAIN
ConfigType.Option.CREATE_STANDALONEINSTANCE=CREATE_STANDALONEINSTANCE
ConfigType.Option.NO_CONFIGURATION=NO_CONFIGURATION
Domain.Configuration.ADMIN_PASSWORD=password
Domain.Configuration.ADMIN_PASSWORD_REENTER=password
Domain.Configuration.ADMIN_PORT=4848
Domain.Configuration.ADMIN_USER=admin
Domain.Configuration.CREATE_SERVICE=false
Domain.Configuration.DOMAIN_NAME=domain1
Domain.Configuration.HTTP_PORT=8080
Domain.Configuration.SERVICE_NAME=domain1Service
Domain.Configuration.START_SERVER=false
InstallHome.directory.INSTALL_HOME=/usr/local/glassfish4
InstallType.Option.CONFIG_ONLY=CONFIG_ONLY
InstallType.Option.INSTALL_AND_CONFIG=INSTALL_AND_CONFIG
InstallType.Option.INSTALL_ONLY=INSTALL_ONLY
InstallUserType.Option.ADVANCED_USER=ADVANCED_USER
InstallUserType.Option.BASIC_USER=BASIC_USER
JDKSelection.directory.HIDDEN_JDK=
JDKSelection.directory.JDK_FROM_LIST_CHOICE=false
JDKSelection.directory.JDK_LIST=
JDKSelection.directory.JDK_TYPE_IN=
JDKSelection.directory.JDK_TYPED_IN_CHOICE=false
RegistrationOptions.regoptions.CREATE_NEWACCT=CREATE_NEWACCT
RegistrationOptions.regoptions.DUMMY_PROP=
RegistrationOptions.regoptions.SKIP_REGISTRATION=SKIP_REGISTRATION
RegistrationOptions.regoptions.USE_EXISTINGACCT=USE_EXISTINGACCT
RegistrationOptions.regoptions.USERNAME=
RegistrationOptions.regoptions.USERPASSWORD=
SOAccountCreation.accountinfo.COMPANYNAME=
SOAccountCreation.accountinfo.COUNTRY_DROP_DOWN=
SOAccountCreation.accountinfo.COUNTRY=
SOAccountCreation.accountinfo.EMAIL=
SOAccountCreation.accountinfo.FIRSTNAME=
SOAccountCreation.accountinfo.LASTNAME=
SOAccountCreation.accountinfo.PASSWORD=
SOAccountCreation.accountinfo.REENTERPASSWORD=
StandaloneInstance.Configuration.INSTANCE_NAME=instance1
StandaloneInstance.Configuration.SERVER_ADMIN_PORT=4848
StandaloneInstance.Configuration.SERVER_HOST_NAME=localhost
UpdateTool.Configuration.ALLOW_UPDATE_CHECK=true
UpdateTool.Configuration.BOOTSTRAP_UPDATETOOL=true
UpdateTool.Configuration.PROXY_HOST=
UpdateTool.Configuration.PROXY_PORT=

Be patient as it may take a while without any visual feedback.


How to forget Wi-Fi network in system preferences with Applescript

I'm not a big fan of UI scripting, but this works for me on the latest version of Sierra.  You may need to adjust the delay values to suit your systems needs.

tell application "System Preferences"
    activate
    reveal anchor "Wi-Fi" of pane id "com.apple.preference.network"
    delay 1
    tell application "System Events"
        tell process "System Preferences"
            click button "Advanced…" of window "Network"
            delay 1
            -- sets focus to the table containing the available Wi-Fi networks
            set focused of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Network" to true
            delay 1
            keystroke "Cole"
            delay 0.2
            -- this clicks the button "-" to remove that Wi-Fi network from the list
            perform action "AXPress" of button 2 of group 1 of tab group 1 of sheet 1 of window "Network"
            delay 0.2
            perform action "AXPress" of button "Remove" of sheet 1 of sheet 1 of window "Network"
            delay 0.2
            perform action "AXPress" of button "OK" of sheet 1 of window "Network"
            delay 0.2
            perform action "AXPress" of button "Apply" of window "Network"
        end tell
    end tell
    quit
end tell


how can i get url of the application is connected to server?

Consider using a proxy server such as squid or Charles. Most proxy servers can be set to log every connection and the content passing through it.

To see open connections, including TCP connections, use the command line tool lsof.

For detailed network debugging, get a packet trace. Apple's Q&A1176 walks through how to obtain a packet trace on Mac OS X.


What fixed it for me was this procedure, i.e.:

  Go to the Applications > Utilities folder.
  Open Activity Monitor.
  Select “All Processes” from the View menu.
  Search for “mds”.
  Select and quit each instance of “mds” and/or “mdserver” separately (force-quit if you have to).

I had only one instance of “mds”. Force-quitting it was enough to instantly solve the problem. Kudos to MacIssues!


Yup, it certainly is!

in Windows XP, the location is

C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup

in Windows Vista, Windows 7:

C:\Users\user\AppData\Roaming\Apple Computer\MobileSync\Backup


External display has blurry fonts on Dell U2312hm- MacBook Pro Retina

The solution at http://embdev.net/topic/284710 worked for me.

Attach your display, download the updated patch-edid.rb, run ruby patch-edid.rb in Terminal and reboot.  Voila!

Tested and working on both Mountain Lion and Mavericks with two U2713H monitors.


FileVault will ask for the disk encryption password to unlock the disk before booting the OS - once the disk is unlocked, it proceeds with booting as normal, at which point it will ask for your login password. Only certain users are allowed to unlock the disk. So, when you first turn it on, it'll ask you to authenticate to unlock the disk, then it'll ask you to authenticate to login. This sounds like what you're experiencing, and it is normal.
EDIT: Check the answer below, this is in error. Are you unlocking the drive with the same account you're logging in to?
This article goes into more detail. Specifically:

Upon selecting "Turn On FileVault", if your Mac has multiple user accounts, you will be asked to identify the user accounts that will be allowed to unlock the encrypted drive (to start the computer or recover from sleep or hibernation).
Users not enabled for FileVault unlock will only be able to log in to that Mac after an unlock-enabled user has started or unlocked the drive. Once unlocked, the drive remains unlocked and available to all users, until the computer sleeps, hibernates, or is shut down.


FaceTime/FaceTime Audio calls to ipad and iphone simultaniously from overseas (15 calls)

…to my iPad and iPhone simultaneously […] at the same time on each device

You will receive simultaneous calls on all devices with the same Apple ID. This is how FaceTime works and is not due to any action on the part of the caller.

  but each time my face was visible

The background to a FaceTime call that has not been answered will be the camera feed from the front camera on the device. This is not transmitted anywhere as the call has not been answered. Any correlation between who is shown on this preliminary screen and the caller is pure coincidence.


How can you customize the keyboard layout / shortcuts?

Although it isn't exactly what you asked for, one possible solution is to use the built-in ability to rapidly switch Input Sources (aka keyboard layouts). To make this function useable, you'll need to do a little setup.

Open System Preferences: Keyboard and select the Keyboard Pane. Check the option to Show Keyboard & Character Viewers in menu bar (1), then click on the Input Sources… button (2).

The Language and Text preference pane will open to the Input Sources tab. Select the input sources (3) you want to access on a regular basis. Fewer is better, remember you can always return to this tab and change your selections. When you've made your choices click on the Keyboard Shortcuts… button (4).

The Keyboard preferences pane will open to the Keyboard Shortcuts tab. Select Keyboard and Text Input from the column on the left (5). Then check the options to enable the keyboard shortcuts to navigate between input sources. (6).

If you stay with the default shortcuts, they will conflict with  the default Spotlight shortcuts. Select Spotlight from the column on the left, and either deactivate or change the keyboard shortcut assigned to the Spotlight functions.

Now when you need to type a special character, use the hotkey to select the appropriate Input Source and use Lion's long hold function to bring up the choices for each character.

I am currently using Romanian as my Input Source . I know this because it's displayed in the Keyboard and Character Viewers menu item. A long press on a provides:

Once I've typed the Romanian character, I can use the keyboard shortcut to return to the U.S. input source.


How to resolve Microsoft Excel for Max OS X Yosemite error "Cannot use object linking and embedding"?

Here is an effective method detailed within the Microsoft Community Forum:

Open Finder and search for the following file: com.microsoft.Office365.plist.
Delete aforementioned file.
Issue resolved.


Can a MacBook 2,1 (late 2006) running 10.4 be upgraded to Lion?

You need more RAM and Lion and you are good to go. I linked to one of many providers for RAM that works on your model.

If costs are tight, 2 GB of memory is the minimum requirement for Lion, so that's the only hardware problem assuming your hard drive isn't so full that you can't free up space for the initial install of either Snow Leopard or Lion (you have two paths to get Lion installed).

Get the Lion USB key and hop straight to Lion realizing you will need to erase and migrate things by hand from your backup.
Get a retail Snow Leopard DVD (and optionally the Box Set if you want iLife to be updated but not purchased through the App store). Once you have the updates applied, you can then buy Lion upgrade from the App Store app.

Plan on all your apps not working and you can be surprised if some of them do work. Do make a great backup (bootable one would be best on an external drive) so you can migrate a couple of times or boot and run your old system as you start using the new OS in case you forget some "old documents" or pictures or whatever is missing 3 or 6 months down the road.

Have fun!


Troubleshooting Slugglish Post-desktop Startup

First thing I would do is isolate the problem to either your user account or your OS install. To this end, just create a new user and try logging in as that user after a fresh boot. If the system is sluggish also under this account, at least part of the issue must be outside your main user account.

From the "moronic clean-up-your-mac for idiots guides", I suppose, you have already learnt about LaunchAgents and LaunchDaemons, both for individual users in ~/Library/LaunchAgents, and for the entire system, in /Library/Launch{Agents,Daemons} and cleaned those out?

Bear in mind that applications are really trying to be helpful in adding those back whenever you launch them.

As an alternative to purging the files, you could try disabling them via launchctl unload -w ~/Library/LaunchAgents/com.example.launchdaemeon in Terminal, because this adds them to a launchd blacklist that applications will have a harder time to override. From man launchctl:

 unload [-w] [-S sessiontype] [-D domain] paths ...
          Unload the specified configuration files or directories of con-
          figuration files.  This will also stop the job if it is running.

          -w       Overrides the Disabled key and sets it to true. In pre-
                   vious versions, this option would modify the configura-
                   tion file. Now the state of the Disabled key is stored
                   elsewhere on-disk.

Finally, some really archane applications add their daemons to /Library/Preferences/com.apple.loginwindow.plist. You can open this file in Xcode and check if it has any entries that you want to get rid of.


Renew Apple Developer Program with different email address

If you need to preserve any of your apps, contact Apple developer support directly before you do anything. They have telephone support as well as web support and have been very helpful in helping me (and several of my clients) in situations exactly like you describe.

For us, if time deadline was pressing due to business needs - we simply paid for a new account and got to work until the deadline passed and then support personnel assisted us with transferring assets and/or crediting us with extra time since we had renewed earlier than normal.

It's usually far simpler to just fix the issues with the problematic account.


There is nothing specific in macOS which prevents control of windows through the keyboard, it's just not provided out of the box.

Keyboard Maestro for instance provides several actions which allow to control windows via the keyboard (or other triggers):

I use this to put windows to the left (or right) half of the screen by pressing CtrlCmdLeft:


Mini DisplayPort to VGA adapter and Widescreen (FullHD) Monitor

The solution for me was to hold down the Option key while clicking on the "Scaled" radio button in Display Preferences. That offered many more display resolutions, including widescreen ones.


1 pixel gap between window top and menu bar

This appears to be the design of the Safari window.  Safari (and other Apple apps) have a grey shadow border in dark theme and black in light theme :

It seems the color of the border is unaffected by the background - here is dark mode with colorful wallpaper and the border is still grey.

Whereas Firefox keeps a black border for both themes and so it doesn't show in dark mode.

Looking at other apps there seems to be a mix.  Word acts like Safari while ITerm2 acts like Firefox.

There doesn't seem to be any way to remove this in Mojave - see this question.  Older fixes/tweaks (like Toggle OSX shadows) don't work any more.


Disable pinned tabs being in every window in Safari 9

You can open a new private window and those will be gone


Can someone who registered my iPhone read all my text messages?

Will he be able to read all of my iPhone's text messages?

Yes. If he has an iPad, Mac, or iPhone hooked up to the same iCloud account as you use on your iPhone, then all of the texts you receive will notify him too, and he can see your sent texts and send some of his own too. He can also (if he's crafty) restore a new iPhone from an iCloud backup of your iPhone and thus copy data from all of your apps.

Do I have any rights?

You can certainly sign out of his iCloud account (go to the Settings app on your iPhone, scroll down and tap iCloud, then scroll down again and tap Sign Out). Then, create your own new iCloud account (go to https://icloud.com in a web browser). Be very sure to set it up with a strong, original password you've never used before, and ensure that your ex does not have access to the email account you set up iCloud with. Then as an added security precaution, you should set up Two-Factor Authentication on your iCloud account which ensures that anyone signing on to your account would need physical access to your iPhone. For a guide on setting up Two-Factor Authentication, see https://support.apple.com/en-us/HT204915.
Now your ex will not be able to see your iCloud data.

Tip from user Alexis: do not set the recovery questions to something your ex would be able to guess. Instead, make up false answers and store it somewhere local (not anywhere in the cloud!!) like on a flash drive, an offline note, or even a piece of paper.


I would use winclone to back up the windows separate from the Mac.

Backing up a Boot Camp partition

The reasons are for file system differences and the simple fact that you have to back up the entire terabyte each time if you just image the drive using disk utility.

But you can also image the whole drive with disk utility - block by block - and have an image of it.  That’s free and included with macOS.


Need some suggestions setting up a Mac Mini

Firstly, WELCOME to Apple world :)

Now, this is not that hard, and you should think it's quite easy.

if you never worked on a Mac before, you should invest some minutes to see some basic stuff, how it used to work on Windows and how it does now on Mac, for example, take some nice video tutorials from Apple website

go to Apple.com -> click on Mac -> down there there is several video tutorials, see some.

Regarding UPGRADING your Mac Mini, you should check what model you have and have a look on MacSales Videos on how to replace the hardware

you will find all models in the Mac Sales Tech Support page

About what hardware you should fit into your new Mac Mini, using Mac Sales you can order the memory, harddrive (or SSD) and any Optical drive as well, if you outside US, (though I'm in Denmark, I buy stuff from them time to time) you grab the model number of what you wanted, and "fly" to a near store and buy it :)

I hope it helps.

Warning

You are trying to buy 8Gb of Ram, and your mac only support up to 4Gb, in witch 3Gb is addressable.

Please read the specifications of your model before you buy anything!


Installing OSX onto PPC using Intel Mac and Firewire

There has to be a typo in the OPs question that can only be corrected by the OP:
The error message "10.3 cannot be installed on this machine" is out of place there.

To install OS X (maxing out at OS X Leopard 10.5.8) you have several options regarding the DVD:

clean the DVD drive in the G5, the lens might just be dirty
clean the Installation DVD, the DVD might just be dirty, slightly scratched
get another Leopard Installation DVD that doesn't have these flaws

Using the Firewire and Target Disk Mode route should be possible too.

But then there is the problem with "PPC to Intel transition": PPC machines boot from drives with an Apple Partition Map and Intel machines from an GUID partition map drive.

That prevents booting the G5 form a MacBook in Target Disk Mode or if you just swap the drives out; although the contents of 10.5 installations would be the same on both machines. Using a GUID formatted drive in a PPC machine is the most likely reason for the "No-Entry"-sign: there is just no disk available the PPC machine deems bootable.

You can therefore

boot into Leopard on the MacBook,
mount the G5 in Target Disk Mode,
format the G5 drive with an Apple Partition Map
then install Leopard onto the G5 from the Macbook (this can be forced using Pacifist)

This describes the clean way.

Alternatively you could just clone the Leopard installation from the MacBook to the G5's drive.


macOS: List apps authorized for full disk access

The sqlite queries mentioned DO work, e.g.:

sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access'

The trick, however, is that you need full-disk access to access that SQLite database, so depending on where you're trying to do this, it's a chicken-and-egg problem. For just testing purposes, you can give your terminal full-disk access, then you'll be able to run the command.


Impossible to connect to shared folders from Windows XP to Mac OS X 10.10

Releasing Mac OS X Yosemite, Apple has updated the SMB protocol to version 3, as documented here. Windows XP, on his side, works almost certainly with the SMB 1 protocol, because the upgrade to version 2 has been done on Windows Vista, as mentioned here. The backward compatibility allows SMB 3 to connect to previous versions, but not viceversa.
This issue can be solved using Samba, a free and open source implementation of the SMB protocol that assures full compatibility between different operative systems.
It is possible to install and manage Samba on Mac OS installing SMBUp.


How to invoke osascript 'Generic Scripting System'?

According to OS X system internals, the "Generic Scripting System" is a generic class to contain the two flavors of scripting supported:

AppleScript
JavaScript

It's not some third option that adds one or more new dialects, but a container to hold the existing ones. This is indirectly explained in Apple's documentation - they list the two languages and don't mention the wrapper class (or whatever it's proper name is):

Mac Automation Scripting Guide -  part of which is the list of languages

If you needed other languages, I would call AppleScript "do shell script..." to then call whatever shell executable that ships by Apple or you have installed (bash, sh, python, swift, perl, ...).


I found this for your reading pleasure:

Mavericks: Native CPU/IGPU Power Management

  Native Mavericks power management delivers the best combination of
  processor and graphics performance and efficiency. The ingredients are
  an installed processor specific power management ssdt, a compatible
  system definition and the native power management kext. Native
  Mavericks power management does not require specific BIOS settings or
  anything more than one boot setting to load the power management ssdt.
  Credit for the technique described to PikeRAlpha.

  What changed between Mountain Lion and Mavericks power management? The
  existing processor frequency/power state reporting tools (i.e.,
  MSRDumper, HWMonitor) stopped reporting power states between idle and
  max non turbo. This led to an incorrect conclusion that native
  Mavericks power management was not working. A new tool, Intel Power
  Gadget, shows Mavericks power management is working as designed.

  To be clear, native Mavericks power management is not mandatory. The
  consequences are not severe. Performance is similar, however, higher
  temps (~10 C), more power (5-10 W) and sleep problems are likely.

  Change Log

  v1.1 - 4/4/14 - CPU PM/Core i3/5/7 xxx (1st Generation)/Core 2 and
  earlier (below) v1.0 - 4/2/14: Initial Release

  Requirements

OS X/10.9.2 or newer
    Desktop/Laptop only
    Server, see Guide: Asus X79 OS X Controlled SpeedStep

Stock Clock
    Verify
    OC, use ./ssdtPRGen.sh -f freq flag

  Supported CPU/IGPU

Haswell/HD4600+ (Core i3/5/7 4xxx, 4th Generation)
Ivy Bridge/HD4000 (Core i3/5/7 3xxx, 3rd Generation)
Sandy Bridge/HD3000 (Core i3/5/7 2xxx, 2nd Generation)

  Native Mavericks Power Management Recipe

System Definition - match processor generation/desktop or laptop
ssdt - custom to installed processor
kext - native IOPlatformPlugin.kext

  Not considered

NullCPUPowerManagement.kext
Safe Mode boot (-x)
Discrete graphics


Jailbreak Detection in Apple Profile Manager

Profile Manager isn't an MDM that reports details about app install which is usually used to determine jailbreak status. (i.e. If cydia app and other apps are installed, it's a good conclusion that the device has been jailbroken.)

Also, once jailbroken, it's entirely possible the device won't report back the correct information depending on what else is modified past the initial compromise of device security.


How to use fiber-optic LC connector with my MacBook Pro for access to LTO-5 tape drive?

The only way that I know of connecting a MacBook (any modern laptop) to a fiber channel drive/drive subsystem is with a a device like the ATTO Thunderlink FC3162, however, they are prohibitively expensive.

What might be a much cheaper and more effective alternative is to build another machine (a cheap PC will work well) and install a Fibre Channel HBA to connect to your LTO tape system.  I’ve done something very similar with FreeBSD and a Fibre Channel array that served as storage and Time Capsule backup using drives; I’m sure a tape solution would work just as easily.


Why can't ripped movies import to into iTunes on Windows XP when they work on Mac?

I have been facing the same problem with iTunes (both 10.5 and 11). You need to upgrade to iTunes version 10.5 or 11, and you would need Quick Time to play older media or videos.


Yosemite 10.10.4 nowhere to set three finger tap to access Dictionary

Finally, I find this by myself, and it turn out to be so easy.

According to this, I find that it's right in the first picture I post in the question and it's in the top of all and default to force touch but can change to three finger tap.


Apply a subtitles file to a rented movie in iTunes

iTunes Videos are DRM-Protected and are not saved entirely on the local Drive AFAIK.

Therefore it is very hard to kind of "inject" a subtitle file.

I think Apple made this restriction due to quality reasons. They want a product to be very clean and complete as they can officially provide it.

Some Movies don't provide the Info officially and some other movies simply are'nt worth it..

So no,there is no official way. I guess you can only give Feedback to Apple, describing your problem and hoping to fix this in the future.

BUT
: There's always an App for that !


iTunes "determining gapless playback information" over and over at launch

Try breaking the ITL file & make iTunes rebuild it

First, move the existing iTunes Library.itl to the desktop, just in case.
Don't touch the .xml, just the .itl file.

It can be found in ~/Music/iTunes/

Then…

Delete the existing ITL if you left a copy in the iTunes folder.
Open Terminal & enter this touch ~/Music/iTunes/iTunes\ Library.itl That will create an empty ITL file, broken enough for this.
Launch iTunes. It will now notice something is 'wrong' & start rebuilding the ITL file, using your existing XML file. The message is 'Importing ‘iTunes Music Library.xml’ This will take some time, maybe 15 minutes or so, depending on your Library size.

Breaking it rather than not having any .itl file there at all makes the difference between several minutes & several hours for the rebuild.

You may find some album artwork missing - it never seems to be a truly perfect solution, but your play counts, playlists etc should all survive intact.


The easiest method is to find the IP address assigned to your computer by your local network. This is found in the Network section of System Preferences. Other people can access your local webserver by typing that IP address into their browser.


How do I view the lifetime total from the Health app?

disclaimer: I recently released a new app that displays your (lifetime) Apple Health and workouts data.
The app is called “Health Stats”. Health Stats is a free app (with a one-time premium in-app purchase) that allows you to easily view your health, activity and workout data from the Apple Health app. You can view this data for different date ranges such as: lifetime, this week, this month or set a custom date range yourself.
You can download the app here: https://apps.apple.com/app/health-stats/id1543220823
Health Stats currently supports the following health and workout data sets:
General data sets:

Total exercise time
Total step count
Total walking and running distance
Total flights of stairs climbed
Total stand time
Total stand hours (hours in which you've stood and moved for at least 1 minute)
Total wheelchair pushes
Total wheelchair distance
Active energy burned
Resting energy burned
Total energy burned

Workout data sets:

Total workout time
Total workout distance
Total workouts
Running workouts (time, distance, energy burned and count)
Walking workouts (time, distance, energy burned and count)
Cycling workouts (time, distance, energy burned and count)
Swimming workouts (time, distance, energy burned, swimming strokes and count)
Elliptical workouts (time, energy burned and count)
HIIT workouts (time, energy burned and count)
Strength workouts (time, energy burned and count)
Skiing workouts (time, distance, energy burned and count)
Snowboarding workouts (time, distance, energy burned and count)
Hiking workouts (time, distance, energy burned and count)

Note: all data is directly received from the Apple Health app and none of it will ever leave the iPhone or is stored elsewhere.


How do we delete protected apps in Mojave?

Warning:

Whatever you consider bloatware, you may continue to consider bloatware, and have my blessing for doing so and voicing it. Problem is: Apple is evidently not considering at least the applications you listed as such. While I do not see any legitimate use for the applications you listed, they are perhaps interacting in not really foreseen ways with other applications and services that you may want to actually use!
So while it's possible to remove stuff Apple installs as and with the flags for "essential", think twice after making a backup before you really delete any. Also keep in mind that the stuff under /Applications is usually not everything: also look for stuff like Frameworks, Daemons etc. Just deleting a GUI app may not provide much if any of the benefit you're seeking.

Solution:

Boot from another partition.

Use an external disk or recovery.

SIP and other measures only protect internal boot drives. Once "Macintosh HD" isn't the boot drive you might do what you want with that partition.

For example:

– Boot into RecoveryMode.
– Mount "Macintosh HD"
– Start deleting

Pending clarification from the asker – For the frame the current question presents in its example:

With SIP disabled it should be possible to delete these applications from Terminal, booted from the regular boot partition, provided the path is actually spelled correctly, in this case with capital case at the start:
sudo rm -rv /Applications/News.app
It might be necessary to precede a sudo chflags norestricted FILE2DEL in some cases.

Related questions on Ask Different, showing the evolution of the problem over time and changing system policies:
– Can I delete any of the default apps the come with OS X?
– How to remove Apple System Apps
– How can I remove Chess from my mac?


Calibre is one of the best open source eBook Management tools:

http://calibre-ebook.com/

Features include:

Library Management
E-book conversion
Syncing to e-book reader devices
Downloading news from the web and converting it into e-book form
Comprehensive e-book viewer
Content server for online access to your book collection


Remove "Windows" Entry from Mac Boot Loader

When you don't use the Boot Camp utility to remove Windows, the Windows boot image on your EFI partition is not removed. This is what you see when you hold down ⌥ during boot.

The procedure to solve this is not for the faint of heart. You need to mount the EFI partition in OS X (normally, it only gets mounted for system updates).

Mounting the EFI partition

List the partitions on your Mac:

diskutil list

You should see something like this:

/dev/disk0
 #: TYPE                     NAME          SIZE       IDENTIFIER
 0: GUID_partition_scheme                  *251.0 GB  disk0
 1: EFI                                    209.7 MB   disk0s1
 2: Apple_HFS                Macintosh HD  250.1 GB   disk0s2
 3: Apple_Boot               Recovery HD   650.0 MB   disk0s3

Take note of /dev/disk0 and 1: EFI. The numbers 0 and 1 have significance later.

Now mount the EFI partition (replace the numbers 0 and 1 if they are different in your output):

sudo mkdir /Volumes/efi
sudo mount -t msdos /dev/disk0s1 /Volumes/efi

Remove the Windows boot image

Now navigate to /Volumes/efi/EFI. This directory is supposed to only contain an APPLE directory. On a machine where I had Windows installed, it also contained a Microsoft and Boot directory. These can be safely removed, but for extra safety I would recommend renaming them to something different instead.

Then umount and delete the directory you created earlier.

sudo umount /Volumes/efi
sudo rmdir /Volumes/efi


In iOS: Can my app launch another app and get a response/acknowledgement back?

Custom URL Schemes
You can define and use a custom URL scheme to interact with other apps on iOS:
Defining a Custom URL Scheme for Your App

Custom URL schemes provide a way to reference resources inside your app. Users tapping a custom URL in an email, for example, launch your app in a specified context. Other apps can also trigger your app to launch with specific context data; for example, a photo library app might display a specified image.


Beam projector works in bootcamp, but do not work in macos

HDMI on Macs is a curse, because Apple decided to take the HDMI spec more than just literally – not only do they rigorously enforce HDCP, but they take the unusual move of letting the display set the rules, not the host machine. Nor do Apple stick completely to the DisplayPort spec; getting 4K out of a 2013/2014 machine requires one part luck and one part voodoo – and you can forget about display daisychain :)

macOS is also extremely fussy about the output device resolutions that it will respond do – if the display signals (via EDID) to the Mac a resolution that doesn't exist in its lookup table, it goes all "talk to the hand, la la la …". To get macOS working with something it otherwise turns it's nose up at, you can either phone Apple Support and ask for an EDID Override file for that specific display device, or you can buy a copy of SwitchResX which will let you edit in whatever display resolutions you like.


Can I block ports and network traffic when using Personal Hotspot?

For outgoing connections, the only jailbreak application that exists is Firewall iP. It behaves similarly to the Mac OS X application Little Snitch.

For incoming connections, you will have to use a regular firewall system such as ipfw.

Disclaimer: To anyone actually looking to use ipfw on iOS, you're going to have to patch the kernel to include support for pf. Documented, nobody has ever done it, but it's not technically impossible. The jailbreak itself patches the kernel upon boot, so this would require the same exploits used during that process. If you have happened to patch pf into the kernel, then proceed with my original answer below.

Add the http://theworm.altervista.org/cydia/ repository in Cydia > Manage > Sources > Edit > Add. Then install the MTerminal app from the BigBoss repository and the network-cmds package from The Worm repository. Then you can go into the terminal app you just got and run ipfw. This will let you write to your firewall tables. If you need a tutorial on how to use ipfw, there's a good one here.