My computer is broken, how can I get my music onto my iPad?

If it was music you purchased from the iTunes store it is automatically available for you to redownload from the iTunes Store on your iPad. You don't need to have bought iTunes Match; tracks purchased via the iTunes Store are always available for re-downloading fromt he store. Just set your iPad up with your iTunes account and you should see the tracks in the store as having be bought and available for download to your iPad.

If the music wasn't from the iTunes Store and you weren't using iTunes Match to copy your music in to iCloud your options are extremely limited. With iTunes Match you could turn on the feature on your iPad and you would see your entire library, stored in the cloud, available to you.

If the hard drive of your broken computer is still functional you can hook it up to another computer, associate the new machine with your Apple ID, copy the music off the old computer's hard drive by using iTunes Add to Library feature found under the File menu. Once you've added the files to the library, you can connect your iPad to this machine and transfer the music on to your iPad. At this point you may want to consider subscribing to iTunes Match to move the content to the cloud, otherwise you need to use this computer to sync new music to the iPad.

If the hard drive of your broken computer is no longer functional you have no options. Your files are lost. Hopefully you had a back up in the form of Time Machine or a third party service like CrashPlan.


Run Google Chrome in full screen with dev console across dual-monitors

Doesn't work as the implementation of Fullscreen-scaling in OSX (10.7, 10.8) currently only covers single-windows. Either Chrome provides its own implementation which could in fact display two windows over two displays, or - let's cross fingers - Apple implements this somewhere around 10.9 :)


Why are drivers not working in Windows 10 with bootcamp?

In case it helps others, I got a response from Apple that it just isn't supported on the 2014 MacBook Pro. Another user on the Apple forum (https://discussions.apple.com/thread/7419574) has confirmed this on his 2014 MacBook Pro.

This post (http://forums.macrumors.com/threads/thunderbolt-hotplug-on-windows-10.1819920/) suggests that it works on a limited number of 2014 Mac computers but not all as the official FAQ suggests.


How to prevent MacBook Pro from powering up by pressing any key?

Short answer: you can't
MacBook Pro 2018 with Catalina 10.15.7
My experience is similar to Billie Hawkin's excellent answer above: setting AutoBoot to %00 prevents boot on lid open
However, sudo shutdown -h now did not, in my experience, prevent the behavior. When any key is pressed, the laptop still booted up.
What do service shops do? crack open the case and pull the battery!?
And Apple Support was no help :P


Keyboard Shortcut for moving left/right a space doesn't work

This helped me:

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

Paste this into Terminal (it's all one line, not two):

mv ~/Library/Preferences/com.apple.symbolichotkeys.plist ~/Desktop/com.apple.symbolichotkeys.plist

Press 'return'.
Log out and log in to your system.
Go to System Prefs and set up your hotkeys as you want.


It depends on if he signed out of his iCloud account and turned off Find my iPad first. iOS has a built-in feature so that a thief cannot wipe a device and login with his own credentials. If he did log out, then you will be fine. If he didn't, he should go to iCloud.com and reset his password if he does not know his credentials.  From there, he can turn off Find my iPad remotely so you can login. If you cannot set up the iPad, and he does not perform these steps, you will not be able to use the iPad.


Mount a disk image as physical USB drive?

I am not familiar with this particular certificate manager, but generally I would suggest to create an empty disk image; I hope this will work for you.

Open "Disk Utility" and simply click on "New Image" and save it to your hard drive. Now, if you mount the disk image (double click on it) you can save data to it.


Time Machine separate backups across 2 drives

So if I understand correctly, you want to exclude the 1TB working storage volume from the backups on the 1TB backup disk, but not from those on the 1.5TB backup disk. I don’t think this is supported by tmutil’s addexclusion verb, as it does not provide a way to specify that you only want to exclude the item from a specific backup disk.

To hack a solution yourself, you could basically, before making a backup, invoke either addexclusion or removeexclusion depending on which disk you will be backing up to. If you don’t plan on having both backup disks connected at the same time, you could automate this by running a script when you connect one of the two backup disks, see the question on “How to run Applescript on Disk mount” for possible solutions. If you do want to have both backup disks connected at the same time, you will probably also have to turn off automatic backups and hack your own solution to periodically run the startbackup verb (using its -d argument to alternate between the two disks).

Note that I didn’t try hacking this myself, so there might be “caveats” I’m not thinking of. One thing I’m not sure about is whether or not toggling the exclusion on and off again for the 1TB working storage volume will cause Time Machine to do a “deep scan” of the volume again on the next backup, which would make your backups take longer, depending on how many files and directories it holds. In the end, you’ll have to evaluate yourself whether hacking this is worth the additional hassle, given that an external 2TB USB drive can easily be had on Amazon for 65 USD or less.


How can I retrieve passwords from old keychain after a new install?

You can copy and paste individual passwords between keychains using Keychain Access. You need, of course, to know the password of the old keychain. Presumably, that is your login password on your previous account.


How To Display IP Address In Control Center?

Found the answer doing some of my own research:
CCSystemStatus on BigBoss.
CCSystemStatus Review:

In his review of CCLoader, our jailbreak guru Jeff mentioned the fact that developers would be able to tap into the tweak and create their own sections in Control Center. That is the basis behind CCSystemStatus, a new iOS extension by vsnraindev that displays your available storage, IP address, free RAM and other system information about your iOS device in Control Center…
With numerous jailbreak tweaks available for viewing system information on iPhone, it only seems fitting that there be one for Control Center too. CCSystemStatus is enabled by default after installation, and its position within Control Center is adjustable using CCLoader. The tweak adds two lines of information to Control Center, and the section can be tapped to display a second page of info.
The eight different items displayed are your wireless IP address, cellular IP address, free RAM, average system load, wireless network SSID, gateway MAC address, and free space on both the device and /var directory. The tweak is compatible with the iPhone only at this moment, and it is available now for free on Cydia in the BigBoss repository. There are no options to configure outside of those in CCLoader.


Photos not taken on any of our devices showing up on my Photo Stream

If your son had the FindMyPhone app installed,  you should be able to go to iCloud.com, log in and find and erase (wipe) the device. If it ahas been some time, contact information, personal details, credit card info are all at risk. I suggest getting him to change all risky numbers. Perhaps notify contacts to look out for spam/rubbish/malware etc.


How to make truly single spaced bullet items in Keynote

Notice the disclosure arrow "▶" beside Spacing?  There you can reveal the paragraph spacing.

Change the Before Paragraph and After Paragraph to 0 pt or the desired amount.

Hope this helps!


Try using your Audio MIDI Setup application under the Utilities folder. I don't have multiple outputs to test, but it looks like you may be able to adjust the order of preference.

Also as an alternative workaround you could use a VGA or DVI cable instead of HDMI, which will only transfer video and no audio.


Apple Magic Trackpad - Avoid accidental cursor movement

I believe a third party app called Better Touch Tool could help you out. It costs around $8, but it does have a 45 day trial.

I'd say for the most part this app is for customizing gestures or just setting hotkeys and stuff like that, but it has pretty robust settings for alleviating these types of trackpad issues.

The trackpad settings can be found from the main window on the top right. Though you may have to enable advanced settings on the top left of the window before you can see the trackpad settings.

Screenshots of every single page of these trackpad settings:

I highlighted settings that may help you the most...


How to set a date visibility Catalina OS?

Assuming it hasn't suddenly changed in Catalina after being the same for years…

System Prefs > Date & Time > Clock

Check Show date

As far as I'm aware, there is no option to change the displayed date format. It will use your Language & Region prefs for that, but adjusting date formats in there does not affect the clock display.


If you're OK opening the HTML page in Chrome, then just use the CopyTables extension in Chrome:

https://chrome.google.com/webstore/detail/copytables/ekdpkppgmlalfkphpibadldikjimijon?hl=en


If an app runs on the iPhone 4, will it run on the 4th generation iPod touch?

As a developer, you can control exactly which hardware you want to support and which you will not support by picking the source code you use and properly tagging the files you upload to Apple.

The iOS app store then can prevent the devices you have disallowed from downloading the app. So, there's nothing to prevent a developer from targeting only iPhone 4 with their code or just targeting a specific iOS version.

It's up to you (and each other developer) to decide on a build-by-build basis, so the general answer would be:

No, there is no guarantee that all apps (or any one app) that run(s) on iPhone 4 will also run on iPod Touch (4th generation).


How to change the `sh` command to run scripts in bash 4

I used homebrew to install BASH4 and I use the shebang #!/bin/bash every time. This works for me with both sh and ./ styles of running.


In the screen shot you are showing the Network usage numbers are excatly the same 27.3 MB.

The individual network usage per application (coulomb) are current (active) numbers, which are much smaller and are not meant to be added manually to find out the total usage. OS X does that for you in the table at the bottom.

The Table at the bottom is showing the total usage for all applications and it is cumulative (for 7 days) or between restarts which ever comes first.

I did the test:

Data Usage before restart.

and Data usage AFTER restart:


How do I reduce gif size when using Gif Brewry?

I’d say there are basically three things that impact the file size of a GIF.

The number of colors in the GIF — The more colors there are in a GIF, the higher the file size.
The dimensions of the GIF — Tumblr requires the width to be less than 500px, so at least start there. I think around 450px is a great size. However, don’t forget you can use the crop feature to just highlight the action.
The number of frames — The number of frames you can use is highly dependent on the above two points.

The three items above mirror the advice that the vendor gives and you can use the GifBrewery preferences to help reduce the colors by processing it lightly or using dithering algorithms:


mac osx lion security configuration guide

Correct.  They're sadly slow to publish this info.  Try this: http://www.mactech.com/articles/mactech/Vol.21/21.02/Security/index.html

Cheers!


Problems like this are most likely in the software of the iPhone. When it happens with a MacBook camera, you can fix it most of the times by dumping the PRAM upon starting your computer (command option P R), but that's not possible on your iPhone of course. You can however try to simply reboot your iPhone, and that might even fix the problem. You reach the off-switch by holding the sleep/wake-button for several seconds.

If that doesn't work, we'll reach the next step for fixing most software-related problems: restoring your iPhone's software (what does not mean that you have to get rid of all your personal data). simply let iTunes run a full backup first, then click the restore-button on you iPhone information screen in iTunes. After restoring you will be asked if you want to put your data back, and the problem will probably be fixed.

If that does not fix your problem you might want to consider taking your iPhone to a Genius Bar (if available in your area) or send it back for repairs (if you are still in your warranty period).


Any way to edit and/or add autocorrect entries?


The maximum number of three accounts have been activated on this iPhone

Presumably to limit account farming, Apple makes it trivial to establish three new accounts on each iOS device or Mac. Since this is detected on Apple’s server side, you can create a new Apple ID from this page (on a desktop computer) or perhaps another device that hasn’t exhausted it’s three.

Once you have set up your new Account, log in on your iPhone with that ID (Settings > iCloud > enter the new ID) rather than creating it on-device.


How do you perform a clean install of macOS High Sierra with APFS?

This can be done by downloading the High Sierra installer from the App store and use it to create an installation USB media.

Locate and install macOS High Sierra in the Mac App Store.
Plug an empty USB flash drive into your Mac with at least 12 GB of space.
Run the following command in the terminal:

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

Where MyVolume is the name of your USB flash drive.
Leave the USB drive plugged in and reboot your Mac while holding the option key (ALT) down.
Choose the installer from the boot menu.
From the installation environment, choose to install High Sierra on your internal disc. The installation should default to APFS.

A more detailed explanation can be found on the Apple support page: How to create a bootable installer for macOS


gpt recover: unable to open device '/dev/disk2': Resource busy

By default the gpt command requires a exclusive lock on a drive before preforming an write operation to the drive. This can not happen, when a volume residing on the drive is mounted. With respect to disk2, the typical solution would be enter the following command, before entering the gpt command.

diskutil unmountdisk disk2

The drive is identified as disk2. The volume containing user data on this drive is identified as disk2s2. To mount this volume as readonly, first the volume has to be unmounted, then mounted readonly. The commands are given below.

diskutil unmount disk2s2
diskutil mount readonly disk2s2

I should note that the volume you were trying to access appeared to be mounted, because you were getting an error message when trying to use the gpt command. The command give below will output text, if the volume is mounted.

mount | grep disk2s2


Any way to delete custom fields of cards in Contacts.app?

I was able to delete the nickname field of a contact simply by emptying it. However, here's an AppleScript that will allow you to select nicknames to remove.

tell application "Contacts"
  -- Get a list of people who have nicknames
  set ListOfNicknames to people whose nickname is not missing value

  repeat with x in ListOfNicknames
    -- For each person, ask if their nickname should be removed
    set dialogResult to display dialog ¬
      "Remove nickname \"" & x's nickname & "\" from " & x's name & "?" ¬
      with icon caution ¬
      buttons {"No", "Yes"} ¬
      default button "No"

    if button returned of dialogResult is "Yes" then
      set nickname of x to missing value
      save
    end if
  end repeat
end tell

You should be able to easily modify this if you want to delete all nicknames, or handle a different field like the prefix (known to AppleScript as the title).

Thanks:
Mac OS X Tips, for showing me the save command that I was missing;
The AppleScript Documentation, for existing;
And @KevinSayHi, for giving me a chance to brush up on my AppleScript.


How can I resize a partition on OSX 10.10.5

To get some additional un-allocated disk space on disk0 to create a new partition you have to shrink your CoreStorage Volume Group and all subsequent CoreStorage items.

To resize the CoreStorage Volume Group in your case you have to use the Terminal booted to an external boot drive.

Preparation:

Backup your data.
Detach any external drive (especially your external Time Machine backup drive) except your external boot drive.
Boot from your external drive or a bootable installer thumb drive (Mavericks or Yosemite)/a thumb drive containing a full system (Mavericks or Yosemite).

or

Restart to Internet Recovery Mode by pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to a recovery netboot image which usually is loaded from an apple/akamai server.

I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.

Modify CoreStorage stack:

Open Disk Utility and check your disks for errors. Repair them and quit Disk Utility.
Open /Applications/Utilities/Terminal

First you should get an overview of your disks and the partition layout:

Enter diskutil list:

Example listing:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Fenchurch               80.0 GB    disk0s2
   3:                  Apple_HFS BxxxxxData              70.0 GB    disk0s3
   4:          Apple_CoreStorage                         349.0 GB   disk0s4
   5:                 Apple_Boot Recovery HD             650.0 MB   disk0s5
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *100.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS BlinkenDonx              99.9 GB    disk1s2
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS YoodenVranx            *348.6 GB   disk2
                         Logical Volume on disk0s4

with disk0: your internal disk, disk1: a fictional external boot drive with 100 GB containing your boot volume (BlinkenDonx) and disk2: your CoreStorage Volume Group YoodenVranx residing in disk0s4.
Enter diskutil cs list

Example listing:

  CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group A629E051-D7B0-4B8C-A803-074F62704636
    =========================================================
    Name:         YoodenVranx
    Status:       Online
    Size:         349046696192 B (349.0 GB)
    Free Space:   16777216 B (16.8 MB)
    |
    +-< Physical Volume 90C09FC0-4215-4871-901B-70E2C9C7D464
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk0s2
    |   Status:   Online
    |   Size:     349046696192 B (349.0 GB)
    |
    +-> Logical Volume Family F6962E38-50E4-4458-BFE6-CF2E179352F5
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         None
        Conversion Status:       NoConversion
        Conversion Direction:    -none-
        Has Encrypted Extents:   No
        Fully Secure:            No
        Passphrase Required:     No
        |
        +-> Logical Volume BD36C73D-860D-4DC6-B125-AD624F448B88
            ---------------------------------------------------
            Disk:                  disk2
            Status:                Online
            Size (Total):          348696696192 B (348.6 GB)
            Conversion Progress:   -none-
            Revertible:            Yes (no decryption required)
            LV Name:               YoodenVranx
            Volume Name:           YoodenVranx
            Content Hint:          Apple_HFS

Now resize the CoreStorage volume with

diskutil cs resizeStack LVUUID size

with LVUUID: UUID of the logical volume and size: the final size of your CoreStorage volume.
Examples:

diskutil cs resizeStack BD36C73D-860D-4DC6-B125-AD624F448B88 300g

to shrink it to 300 GB

diskutil cs resizeStack BD36C73D-860D-4DC6-B125-AD624F448B88 295400m

to shrink it to 295.4 GB

Your Recovery HD should be moved automatically.
To add an additional partition for your future El Capitan volume enter first:

sudo gpt -r show /dev/disk0

to get an overview

Example listing:

gpt show: /dev/disk0: mediasize=500119476736; sectorsize=512; blocks=976757816
gpt show: /dev/disk0: PMBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 976757815
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  156250000      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  156659640  136718750      3  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  293378390  544921872      4  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
  838300262    1269536      5  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
  839569798  137187985
  976757783         32         Sec GPT table
  976757815          1         Sec GPT header

with i=1: EFI 2: Fenchurch 3: BxxxxxData 4: Apple_CoreStorage 5: Recovery HD and about 70.2 GB free space (assuming you shrunk your CoreSorage volume to ~279 GB in the previous step to be able to create a new 70 GB volume).
To create a new volume with gpt you have to unmount all mounted volumes on disk0 (first the CoreStorage volume, which has its own disk identifier disk2 but resides on disk0, then all other mounted volumes on disk0)

diskutil umountDisk /dev/disk2
diskutil umountDisk /dev/disk0

Now add a new JHFS+ volume with gpt:

sudo gpt add -b StartBlock -i IndexNumber -s SizeOfVolume -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk0

StartBlock is the number of the first block in the unallocated space and NumberOfBlocks is the number of free blocks or smaller. NumberOfBlocks has to be dividable through 8!

For the example above that's:

sudo gpt add -b 839569798 -i 6 -s 137187984 -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk0

Enter exit and quit Terminal.
Open Disk Utility and erase your newly created partition disk0s6 (Journaled HFS+) and rename it.
Then check your shrunk CoreStorage volume for errors.
Quit Disk Utility.
Reboot to your main volume.


Will Apple Charge my Card without asking me?

Companies can reserve an amount of money on a credit or debit card without actually charging it, to ensure that you can charge the card later when they need to. This is called an Authorization request to your credit card.

I expect that Apple are reserving a small amount of money when you register a card, and then releasing the reservation immediately, to make sure that the card is valid.

That might reduce your available credit by a small amount for a few days, if your card provider has bad IT systems, but it won't actually charge your account.

This is a standard practice that many companies explain in either their FAQS or T&C's.

From the BBCshop faq.

  I have been charged for my order but it hasn't been despatched

  Please be assured that here at the BBC Online Shop we do not charge
  your credit or debit card until your order has been despatched from
  our warehouse.

  We send what is called an authorization request to your credit card
  company. Your credit card company verifies that the card is valid and
  that the amount of your transaction is available. If the card number
  is valid and the funds are available, they put an authorization hold
  on the funds. An authorization is only a hold on the funds for a
  possible future transfer. This hold is temporary, and if the
  transaction isn't settled it will expire without any action. It is not
  a completed transaction and no funds are transferred at that time.

  Your credit card company may still show a temporary authorization hold
  on the funds after your transaction is completed. It can take several
  working days for them to process the void on the authorization. The
  time will vary from one company to the next. Unfortunately, many
  customer service people at the card companies don't understand the
  difference between a settled transaction and an authorization hold.
  They will tell you that it was a valid transaction.

Barns & Noble FAQ.

  Are there any differences in paying with a credit card versus a debit card?

  The main difference is that most credit card companies first authorize
  a customer's card when an order is placed, then actually charge the
  account when the item is provided -- in our case, at the time we ship
  your order. The only exception to this is digital purchases such as
  NOOK Books, NOOK Newspapers, NOOK Magazines, and NOOK Apps—for these
  items, the credit card account is charged immediately.

  Most debit cards reserve funds from a customer's bank account at the
  time of the original transaction. That amount, therefore, is
  unavailable to you. When the order ships, the bank pays that debited
  amount to BN.com. For digital purchases such as NOOK Books, the order
  amount is immediately debited from the customer's bank account.


How can I locate an iMessage from 1-2 months ago? Possible?

If it was archived on your Mac, you can find it by date.
Navigate to ~/Library/Containers/com.apple.iChat/Data/Library/Messages/Archive/
Open the relevant dated folder & any conversations for that day will be listed by the contact names.

Double-clicking will open it in Messages.


iTunes Connect - Use different bank account in the Agreement, Tax and Banking

Regarding the bank account, see this answer. You would need to consult Apple as to whether the US tax documents are necessary.


Can someone else see my messages on his device?

You’re mixing up two different thing all happening on the back end of the messaging servers.

You receiving someone else’s messages doesn’t mean you can read their’s.  You don’t know who got you old number and you don’t know who’s old number you got.  The probability that the two of you just happened to swap phone numbers is highly, highly unlikely.

Is it possible that someone saw some of your messages prior to changing the number in iMessage?  Yes.  You don’t know who sent you messages intended for you to your old number.
the messages you got when you changed your number were likely queued up SMS messages that couldn’t be delivered until your number was activated.
is someone possibly seeing SMS messages sent to you at your old number?  Yes.  Apple has no control over SMS messages and has no idea if the sender meant to send it to you or the new owner.

Changing phone numbers is not a normal, everyday process.  Just control the variables you can control and ensure your account information where your phone number is relevant is accurate.  As far as someone having access to see all or even past messages, no, that’s not possible.  Unless they have your iCloud account and can log into it, they can’t access anything.


With Microsoft RDP client, how do I mark a particular server certificate as trusted?

I looked into this a bit, and in my case the issue was on the RDP Server side.  The certificate it was using was actually a self-signed, automatically generated one that was not signed by my local CA's root certificate.  It thus didn't matter where I put the root cert, I always got the pop-up saying "The Certificate is not trusted..."

I installed the root cert from my local CA in the System keychain and set it to Always Trust, then on the Windows Server side, using Administrative Tools -> Remote Desktop Services -> Remote Desktop Session Host configuration, I updated the certificate assigned to the RDP-Tcp connection.   Right-click RDP-Tcp Connection, choose Properties.  On the General tab, see at the bottom there's a link labelled "Auto-generated"

(see an image of the pane here: http://www.windowsecurity.com/img/upl/image0021281709633474.jpg)

That's the self-signed certificate.  Clicking Select lets you choose any other certificate already on the machine.  Once that change was made, the prompt was gone from the client side on the next login.

Hope this helps (though it really only helps if you have admin access on the Windows side...)


Ping cannot resolve .io domains yet nslookup can

You may have been impacted by recent issues of a portion of the .io TLD Nameservers delivering NXDOMAIN responses which then cascaded throughout all DNS entries globally.

Only a portion of the nameservers were doing this, leading to discrepancies in the cached values downstream, which in turn lead to intermittent failure to lookup the host server when making requests.


Uploading photos to Icloud and deleting on the Computer

Think of the iCloud library as one library that exist in the cloud. Setting aside the moment between when you turn it on and when all of the photos are uploaded for just a moment, each of your devices will have some mail of every image in the library as well as a larger version of the file.

On a device per device basis you can request the original sized file or let the system shrink, compress, optimize when storage runs low.

This design works well for people that just want to have one library and not several versions of the library.  The point of iCloud photo library is if you have a 50 GB library total, you'll still end up with the same number of photos on each device even if the entire library size is 10 GB on an iPhone 30 GB on an iPad and 20 GB on your Mac.

The compression only kicks in once your space gets low  on a specific device. I believe there are several settings of compression so that as you begin to fill up your storage with things other than the photo library, the images can continue to shrink up to the point where you have nothing left but thumbnails, presumably.


How to fix "No such file or directory" error message on terminal wget download

If a hard disk is disconnected while it is being written to, you need to do a few things before you can use it again. This also depends on which format was used on the hard disk.

Connect the hard disk
Start the Disk Utility
Find the external hard disk on the left hand side of the disk utility and right-click (or control-click) on it
Select 'Run First Aid', then when it asks you if you want to run First Aid, click 'Run'
Allow the process to run to completion.
After it has finished, if there were no errors on the disk, everything is fine. You can then continue. If there are errors on the disk, then you probably need to delete the file you were trying to download and start the download again.

If there were no errors, you can continue an interrupted download in wget by using the -c flag, for example:

wget -c https://example.com/file.ext

Best of luck! And keep your cables out of the way of anyone who might be walking past :)


NTFS drive isn't writable even after installing Fuse

I have faced similar problem with my WD external 1 TB drive. Despite installing FUSE, my drive was mounted in read only mode.

Turns out, for writing to WD external drives formatted with NTFS you will need to install a proprietary NTFS driver for macOS called Paragon NTFS Driver for Mac.

You can follow the instructions on this support article on WD website, How to Install the Paragon NTFS Driver for Mac.


Do Macs Have Custom Models of Intel Processors?

They are identical. Don't know if we are allowed to talk about it, but all I can say is to search osx86project or tonymacx86, you will see the hardware.

List of iMac and Macbook hardware and history.

If you search the Intel chips the Macs are using (eg. i7-4770HQ), you will see Windows laptops are using them as well.

Mactracker is an OSX App and an iOS App that has all the details from the first Mac to the last Mac.


I tried activated the option to partition a disk, instead all my drive data disappeared in a few seconds

diskutil partitionDisk command does exactly what you described happening.  Partitions a disk, removing all volumes.  All volumes on the disk you ran the command on are destroyed.  So you partitioned disk4 and renamed it newdisk using GPT HFS+.  I'm not sure where you got the command information from but the command you entered did exactly what it was supposed to do.  I would recommend looking into data recovery services if you need anything that was on that drive.


How do you select multiple specific files?

You'll do the same thing by doing Command+Click.


How to remove top and bottom lines from a file using sed, awk, etc. in 1 step

You can do it all with tail

tail -n+14 FILE | tail -r | tail -n+7 | tail -r

The first tail removes the top 13 lines
The second tail reverses the line order
The third tail removes the top 6 lines of the reversed order
The last tail reverses the line order again

or with awk (with inspiration from patrix)

awk -v n="$(wc -l FILE)" 'NR > 13 && NR < (n-6+1)' FILE


Debug iPhone Mobile Safari without Web Inspector

I found a way to do this. It's a little dirty but it works and it helps a lot with scripting for the browser.

Simply put a try...catch block around the code you're want to debug and use alert() to output the information to you. Like this:

try {
  // some code that might go wrong
catch (e) {
  alert(e);
  alert(e.stack);
}


How to easily forward/redirect all network traffics through local socks port 1080?

Since nobody posts a shell script (or easy way) to solve my question, I posted my current workaround solution:

Install virtualbox
Install openwrt as the guest OS to virtualbox
Configure the openwrt to become a router which has the lan IP of 192.168.56.2. The lan interface is a Host-only adapter. The wan interface is Bridged adapter.
Configure the openwrt router to do the transparent proxy job that I want.
Change both gateway and DNS to 192.168.56.2 in the host.

to change the gateway: sudo route change default 192.168.56.2
to change the DNS: must use the UI way. System Preferences --> Network --> Adavanced --> DNS

That's all. So far so good.


Actual stereo sound with bluetooth headset

Are you still having this issue? I found this set of changes fixes the output, though I'm still having tinny input quality over bluetooth:

defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 120
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 120
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 100
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 120
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 80
defaults write com.apple.BluetoothAudioAgent "Stream - Flush Ring on Packet Drop (editable)" 30
defaults write com.apple.BluetoothAudioAgent "Stream - Max Outstanding Packets (editable)" 15
defaults write com.apple.BluetoothAudioAgent "Stream Resume Delay" 0.75


rMBP Trackpad slips when trying to scroll?

Normally, this means you just don't put both fingers at the same time. Try sticking your index and the other finger together and moving your arm or your wrist instead of trying to move the individual fingers. You'll get used to it.

The animated videos in the System Preferences -> Trackpad are a good example of the safest way to do the gesture. Once you get the hang of them, do them like you want, but it's a good starting point.


Installing Windows 7 without a SuperDrive in Boot Camp on 2010 MBP

Only way I was able to was by reinstalling the super drive I spent more time looking for a work around then the time it took to move the ssd to the hard drive location and reinstalling the super drive.

Sorry.


How do I get calls organized by phone number?

Generally speaking, please include hardware and software information, e.g. iPhone 4s, iOS 7.1.2, when asking questions as not all features are available in all models and iOS versions.

That said, I do not believe you have a choice, at least I don't on my iPhone in the Phone app, however I have an app on my MacBook Pro (also available for Windows) called iMazing that I can sort my call history by All and Contact and by Date, Contact, Duration and Number.  I can also export to Text or CSV files.

There may be a third-party iOS App that can do what you want right on the iPhone.  callLog may be a possibility.


How do I close window(s) in MAC without re-opening the window

No, what you're asking is not natively possible.

In other words, an application's Dock Tile menu does not natively allow for closing individual windows the app has open.


Lion (or any other OS X operating system) doesn't come with iPhoto by default. However, iPhoto, iMovie, and Garageband are normally installed on new systems.

You'll have to install iPhoto if it's not on your system. Each new Mac does get some version of iLife, so you may be able to check from Apple the version of the OS that shipped with your hardware at http://apple.com/support/manuals and search to see what your options are.


Delete all admin user except administrator

You need to iterate over all users in the admin group, deleting them one by one, leaving your chosen account alone as opposed to deleting the admin group itself.

Also, use care to not delete any built in accounts since that would break your os. Typically user accounts have ID greater than 500 so you’ll piece together a bit of scripting:

https://superuser.com/questions/279891/list-all-members-of-a-group-mac-os-x

I’m not going to post a working script since you’ll want to carefully craft your deletion to be reversible and also clean up user home folders after you delete each user. Making an error on that script could cause substantial data loss.


iPhone 6 status bar, what is this symbol? See pic

That indicates that "iPhone is set to work with a TTY machine."  See the official iPhone manual for additional information (page 13, 165).

http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf


Access the system library folder rather than the user library folder with Terminal

Even administrator users should use sudo -s or sudo chmod /Library/Webserver since the default group structure on OS X is to protect system resources from modification without the logging the privilege escalation. You will need to be an administrator of the mac to use sudo, so you can always su to an existing admin account first before using sudo.


Change your password (to make sure whoever is logged in can't change it).
Go to icloud.com.
Go to Settings.

Click "Sign out of all browsers currently logged in."
Change your password again (by now, they should be logged out).

As far as calling Apple to find out who did this, it is unlikely they will be able to tell you. You can try and call at 1-800-MY-APPLE.

Hope this helps.


iPad 3rd gen won't turn on just black screen

Press and hold the Home button and power for 10 seconds. If this does not work, then hold down the home button and plug the charger into computer


The most common causes for these types of blackouts are poor cables, poorly shielded monitors or excessive environmental noise.

If you have nearby sources of EMI (electromagnetic interference), try moving these sources or the monitor/computer/cable. In practice I have seen for example 4G/LTE hot spots, burglar alarms, stereo receivers and other similar equipment cause blackouts.

The next step is to replace the cables with properly shielded cables of a good quality.

If that doesn't help, contact your the seller of the monitor for support.


Windows-PowerPoint presentations on an iPad with great typography distortion

Unfortunately, the iPad does not support the installation of fonts by the user, and microsoft office documents do not allow font embedding. If you wish to maintain consistent typography you'll have to use a document that supports font embedding such as a PDF.


Is there a way to increase the upper limit to iCloud storage space?

Before Apple One introduced 4TB iCloud storage plans, the limit was 2TB. There was no way to increase the limit past that biggest tier, and likewise now with the 4TB tier — there's no tier beyond the largest tier.
This has been a regular complaint of iCloud. The 4TB tier could have been in response to the years of asking for more than 2TB, but of course now we're in the same situation and delaying the inevitable for those of us who store a lot of data in iCloud.


Add video to camera roll without using iPhoto?

The best solution I found in the end was to use iTunes, select Photo syncing then instead of using iPhoto, manually selecting a folder full of video. This had to be video that iOS could play natively, it didn't do any kind of conversion or compression.


I got rid of it by force quitting it at the 'Activity Monitor'...
I'm not quite sure if this is the correct way to handle this, but it's fixed now. Still, I'd like to know how this occurs and how to handle it in the future so further responses are more than welcome.


How to navigate lock screen using keyboard?

Use the left or right arrow key to highlight your chosen user, then press Enter to select.


Google Chrome on Mac and switch between it and Safari?

You can install Google Chrome and use it side by side with other browsers such as Safari (built-in), Firefox (need to download & install), and Opera (need to download & install).

One of the browsers will need to be set as your default.  This can be changed in System Preferences > General.

It's worth noting, Safari is the default browser in all versions of OS X and iOS.  Google Chrome is also a browser, and Yosemite is an operating system.  Your question is a bit misguided.  You don't necessarily "switch between Google Chrome and Yosemite".  That said, if you're talking about editing a website via online tools through web hosting providers such as Squarespace, presuming they support Chrome they'll also likely support Safari.  I'd suggest first trying to update the site in Safari before you download and install a browser which you may not even need.


Sounds like you need Toast Titanium. Toast will take individual video files and put them into a DVD player compatible format. It doesn't have many options for the DVD's menus, but it's a quick and easy way to burn video files to DVD. It supports both AVIs and MKVs.


What different Stack Exchange apps exist for iOS?

We have now the official Stack Exchange app available on the App Store. Enjoy.


Macbook Pro won't mount external hard drive

This seems like an issue with the chosen file system.

What file system did you choose when formatting the hard drive? If it's not HFS(+), FAT in any fashion or NTFS you cannot read it on OS X without additional software. If it's Ext, you could go with Paragon's Ext for Mac (but it costs some bucks).

In future, best choose exFAT when formatting an external hard drive if you need to use it on different operating systems. It both allows rather large files (which is heavily limited in FAT32), but can be both read and written in all important operating systems.


when it say "Built-in battery", then does it mean that "battery is not user-replacable"?

I presume you mean the original iPhone, and the 2G is referring to the antenna capabilities, rather than the 2nd Generation iPhone (which was the 3G.... yeah, confusing)?

Either way, all iPhones have a built in battery.  The wording is there to suggest that it is not user replaceable via a simple swap in/out method by removing a panel or similar user appropriate action that does not require disassembly.  The iPhone 5 still uses broadly similar language "Built-in rechargeable lithium-ion battery".

You can swap it out, but it's not a simple job.  Just like cars have a built in engine, you can get that sucker out, but you need the tools, parts and skills for the job.  If I recall, there is a lot og glue involved in earlier iPhone models.  And sticky tape.  It's not just a case of unscrewing some stuff and swapping.  But even then, the glue can be removed, the tape replaced etc etc.  The phrasing user-replaceable or more commonly user-serviceable often means it's a supported solution, and there is no way that taking any iPhone to bits is covered under warranty.

So, in short, built in means it's not meant to be removed, but that doesn't mean you cannot do it if you tried hard enough.


As part of "nuking it from orbit", is it safe to reinstall the OS using Recovery?

You are correct - a suitably advanced attacker could technically rewrite the OS on the recovery HD to point it to a bad source when you reinstall the OS.

Better would to be use internet recovery since that would require even more advanced work to compromise the firmware on the Mac.

Best would be to bring a bootable installer from a machine you have more confidence hasn’t been comnptromised.

In 98% of the time - all of the above steps to erase the hard drive and reinstall the OS are going to be equally effective, but there are increased levels of safety to be had than just using the self-contained recovery HD.


Touch Bar to only showing my customized layout at all times

In System Preferences/Keyboard, you just set the "Touch Bar Shows" drop-down in the Keyboard tab to "Expanded Control Strip", and use the Customize Control Strip button to set up that expanded control strip however you want.


What is the path to the global directory for binary files in MacOS?

The problem is solved. It was enough to put a binary file Caddy in the directory: /usr/local/bin

If the binary file is in the directory /usr/local/bin, Caddy available for reading for user _www


open safemac.co in safari, is it adware?

It seems because of Awesome Screenshot Extension I have installed on Google Chrome Here says it's a malware.

I installed Malwarebytes Anti-Malware on macOS and scanned system, it found Adware.Awesome Screenshot then removed it. Everything seems Ok after a restart...


Set an alert for an event in a subscribed calendar in iCal

My workaround, annoying as it is, is to copy the subscribed event to my main calendar and set my alerts from the copy.


Headphones, MacBook Pro, Parallels and no sound on the headphones

Go to System Preferences > Sound Click on headphones or internal speakers


How to change nameserver in resolv.conf in Recovery Mode?

The IP-address and other details (e.g. DNS-server) are usually provided by a DHCP-server in your network if your Mac is booted to Recovery Mode.

The DNS config data is temporarily stored to resolv.conf on a RAM disk (union)-mounted to /private/var/run - a directory also containing some other files. The file /etc/resolv.conf is a link to /private/var/run/resolv.conf only! AFAIR the content of resolv.conf is not relevant for DNS resolution (performed by mDNSResponder) in macOS!

The file is non-persistent!

Usually DNS-server setup in the shell is done with sudo networksetup ... - a tool not available in the Base OS X System of the Recovery Mode.

You should still be able to change the DNS server with scutil in Terminal.app:

Open Terminal.app in the menubar > Utilities
Enter scutil --dns to get your current DNS config
Enter scutil to reach interactive mode
Enter list to get a list of all keys in the data store
If you have several interfaces (you've found several State:/Network/Service/SERVICE_ID/IPv4 entries) determine the one connected to the Internet (based on e.g. your router and its internal network IP settings) - example:

get State:/Network/Service/EB40E2FC-8248-48F2-8567-257D940A31EB/IPv4
d.show

Example output:

<dictionary> {
  Addresses : <array> {
    0 : 192.168.0.8
  }
  ConfigMethod : Manual
  SubnetMasks : <array> {
    0 : 255.255.255.0
  }
}

If your router has the IP-address 192.168.0.1 this should be the proper interface. If your router has e.g. the IP address 192.168.1.1 the interface found above would be the wrong one and you have to search for an interface with an IP in the range 192.168.1.2-192.168.1.254.
Enter get State:/Network/Service/EB40E2FC-8248-48F2-8567-257D940A31EB/DNS use the service ID of the interface connected to the Internet you have found previously (here EB40E2FC-8248-48F2-8567-257D940A31EB)

Entering d.show should show something like:

<dictionary> {
  SearchDomains : <array> {
    0 : some.domain
  }
  ServerAddresses : <array> {
    0 : 192.168.0.1
  }
}

Depending on the DHCP setup of your router the SearchDomains entry and array may be missing.
Enter d.add ServerAddresses * 8.8.8.8 9.9.9.9  - add one or more DNS-server (here Google's 8.8.8.8 and quad9's 9.9.9.9)
Enter set State:/Network/Service/EB40E2FC-8248-48F2-8567-257D940A31EB/DNS
Enter d.show to check the modified dict entry. It should show something like:

<dictionary> {
  SearchDomains : <array> {
    0 : some.domain
  }
  ServerAddresses : <array> {
    0 : 8.8.8.8
    1 : 9.9.9.9
  }
}

Enter quit to leave the interactive mode of scutil and return to the shell.
Enter scutil --dns or dig to verify your new DNS config.

Tested in macOS 10.12.5 Recovery Mode only!


Why is 2017 MacBook air battery life so much better than 2014 MacBook pro's?

You have the 15" 2014 MBP, judging from the CPU speed. So you have an older CPU that uses more power; four times the number of pixels to push; and older battery tech. On the plus side, you have a larger capacity battery.

Your MBP requires an 85W charger, and the MBA uses a 45W charger. So that's indicative of power consumption.

Apple advertised the 2014 MBP at 8 hours of wireless web usage; the 2017 MBA is rated at 12 hours. So you should see 1.5x on the MBA.

I have the same model of MBP, and also recently got the battery replaced. I get about six hours using audio apps, Xcode, DTP stuff, etc.

The Device Name bq20z451 you quote is the model of the Battery Controller chip, rather than the serial of the battery itself, and is the same across a wide range of Macs with different battery characteristics. (Every battery also has a unique serial number.)


Turning off the bluetooth settings seemed to work!


I did get some feedback over at StackExchange:
https://stackoverflow.com/questions/14221782/detail-on-how-os-x-networked-users-works

Closing this thread.


Can I remove a second install of Mac OS X?

This can be easily done using Carbon Copy Cloner. You can try the following steps.

Format the MB HDD as a single partition. Make sure it is a bootable partition.
Install OS X using the OS X Installation DVD.
Download and install CCC.
Follow these instructions to restore the system partition using CCC.


Many OS X app store apps are listed as "app" is damaged and can't be opened

Pretty much everyone is in the same boat as you. The situation is quite complicated, but this picture shows some of the details of the layers of certificates involved in making a "receipt" file:

Apple engineers used a certificate that is marked as Not VALID After : Nov 11 21:58:01 2015 GMT to sign apps that were downloaded for a long period this year. Additionally, one of the certificates used to be signed with Signature Algorithm: sha1WithRSAEncryption and is transitioning to sha256WithRSAEncryption which isn't fully supported by all OS and developers.

The best write up (of many good ones) is by Ben Toms:

https://macmule.com/2015/11/12/some-mac-app-store-apps-damaged-prompting-for-redownload/

In a nutshell, one of the keys making up the wrapper that apps use to verify a proper App Store download expired yesterday. Apple has renewed that certificate, but you might need to take action now to remedy this error.

Oddly, the apps that Apple itself made, rely on some other validation chain of trust since they include this same now expired certificate yet still run on OS X. Basically, those apps seem to use another (or no) validation of the receipt for correctness.

If you're comfortable with the command line, try restarting the process that tends to these now outdated app receipts:

killall -KILL storeaccountd

If you power off your Mac, that also cycles the accounts daemon and should fix things so you don't have to re-download the apps to the computer after the time when that one Apple certificate expired.

At this point, when you try to run the app, you should be prompted to re-enter your password one time. This will get you a new certificate from Apple which may or may not solve the actual breakage depending on how or if the application uses the receipt file.

Another thing that can cure false certificate failures is to check your date/time settings and then try signing out of the Mac App Store entirely. If you still cannot run the app after signing back in, you might be forced with deleting the app and re-downloading it after verifying your date/time and rebooting the OS. Be sure to check spotlight and delete all copies of the app. Empty the trash before trying to restore the download.

If all else fails, contacting both the developer of your specific app as well as Apple Support for guidance might be prudent since the programs that handle this receipt validation and generation are not well documented.

Big thanks also to Craig Hockenberry and Paul Haddad for the great technical explanations on what's happening here. Without community working together we might be in the dark far longer when uncomfortable breakages like this arise.


Clear "Other Volumes" storage in Disk Utility

No, you can't remove it.

Along with the startup volume on which the macOS is installed, there are additional volumes which are created and used by your Mac. These other volume(s) are hidden and some of them are not even mounted.

To list the volumes, run:

diskutil list

The occupied storage space of all such hidden volumes is aggregated and reported under Other Volumes in Disk Utility.


How to add Twitter to Notification Center in iOS 5?

New tweets in Twitter can't be added to the notification centre, thankfully. It will only notify you in the notification centre if your mentioned or receive a direct message.

The settings for the Twitter notifications can be found in Settings -> Notification Centre

Also make sure you have your Twitter set up correctly under Settings -> Twitter after installing the Twitter app.


Play folder with right button with iTunes

In Automator app, create a new quick action.  Select the option “folders” for the item “workflow receives current”  and select Finder app as your choice for the application to run this service with.

Next, add an AppleScript action to your workflow and insert this following AppleScript code into that new action.

property nameExtensions : {"mp3", "wav", "aiff", "m4a"}
on run {input, parameters}
    set thisFolder to input as string
    set newPlaylist to {}

    tell application "System Events"
        set theseFiles to every file of folder thisFolder
        set folderName to name of folder thisFolder
    end tell

    repeat with i from 1 to the count of theseFiles
        set thisFile to item i of theseFiles
        tell application "System Events"
            if name extension of thisFile is in nameExtensions then
                set thisFile to thisFile as alias
                set end of newPlaylist to thisFile
            end if
        end tell
    end repeat

    tell application "iTunes"
        set newPlaylist1 to make new playlist with properties {name:folderName}
        add newPlaylist to newPlaylist1
        play newPlaylist1
    end tell
end run

You can save your Automator file now and name it something like “Play in iTunes”

Now all you need to do is right-click on any folder containing your audio files that you want to be played in iTunes, and select the menu item item “Quick Action” / “Play in iTunes”

This will create a new playlist in iTunes with the name of the folder containing your audio files and will start playing that playlist immediately.

If you don't want that playlist to be permanent and you want to remove the files after listening to them… sounds like a good little project to get your feet wet with by adding an additional code that will do that for you.

As a side note, you may need to add more audio file formats to the first line in the AppleScript code.

Anyway I think this is all a good starting point for you


Is .profile or .bashrc backed up anywhere automatically?

No, there is no special handling of .profile, .bashrc or any other config file within OS X. So unless you are running a regular backup (e.g. using Time Machine), these files will be lost if you type > instead of >>.

Some of-the-top-of-the-head ideas to overcome this

run a regular backup (there are probably files on your computer which are more important than .profile so you should be doing this anyway)
change habits and use the text editor of your choice to update shell profiles
create a shell function to do the append operation, e.g. something like this (untested)

add_to_profile() {
    echo >> ~/.profile
    echo '# ' Added on $(date) >> ~/.profile
    echo $* >> ~/.profile
}

and use it like add_to_profile 'export foo=bar'.
use Hazel (or Folder Actions) to backup .profile and .bashrc automatically after each change
put those files under version control (either locally or on Github)


Did Apple degrade the accuracy of the iPhone 4S GPS compared to the iPhone 4

My experience helping others with this problem seems to suggest a few things:

Apple's been monkeying around with power conservation by trying to give "good enough" positioning results while idling the GPS for longer periods and relying on cell tower and wifi positioning more.  Try turning off wifi for your next run to see if the GPS does better (and if your battery is drained more).
Application developers are decreasing the GPS resolution of their apps in order to have less impact on the battery due to user complaints.  Check to see if the app you use can be configured for GPS update frequency and ask the app developer what they suggest regarding your problem.
Both the iPhone 4 and 4S seem to suffer from GPS degradation after awhile that can be fixed by doing a refresh of the device - in other words sometimes it's a software issue that seems to fix itself after a hard reboot and system refresh.  For some people a hard reboot is sufficient, but others have indicated that only a refresh will work for them.  I think this started affecting some of my friend's phones around the beginning of last summer.  I've seen several of my friends have this issue, visit the store, have it refreshed and reset, and the problem disappear.  Now they do the refresh themselves with iTunes when it gets annoying.  I don't have information on whether this is tied to a particular version of iOS or not, but I have seen it on both the 4 and 4S.

Of course you could also be experiencing a hardware problem, but you might consider some of the above actions before completely blaming the hardware.

Also be aware that GPS requires good line of sight to the sky.  If you've changed your iOS device position recently, consider changing it back.  If you're wearing it, make sure your body isn't between the device and the sky, and that your perspiration isn't reaching the device.


How can I see which files I used some days ago?

Since you were using an application to take notes, the Finder should have the information about the files you were using. You can use the Finder search (CMD+F) to filter all the files "Last opened", "Last modified" or "Created" on a specific date (i.e.):


Safari saves random files to Desktop in Mountain Lion

The .textClipping files are text that you've dragged out of an app to a folder location (in this case, the Desktop).

You can increase the delay required to drag a clipping using the following command:

defaults write -g NSDragAndDropTextDelay -int 10000

-g applies to all apps. To only apply to Safari, replace -g with com.apple.Safari.
Default delay is 1000 milliseconds (1 second).

To completely disable the ability to drag clippings, set the value to negative.

defaults write -g NSDragAndDropTextDelay -int -100


How to prioritize WiFi networks on iPhone

To ensure that your iPhone does not connect to the slower network, go to Settings > WiFi > tap on the blue arrow to the right of the slow network > tap on "Forget this Network"

Next, make sure you connect to the faster network. This way, your iPhone will connect to the fast network and not to the other each time the fast network is in range.


How do you disable the autofocus of a Razer Kiyo webcam on Mac?

This thread How do you disable the autofocus of a webcam in OS X?
, on SuperUser, had a similar question, but the answers did not help.
The only way I found to work requires access to a computer running Windows and is this:

Connect the webcam to a computer running Windows. I did this in Bootcamp.
Windows will detect the webcam and then offer to install Razer Synapse.
Install Razer Synapse (it has an option to sign in as Guest to avoid being forced into creating an account.)
In Synapse, find the Kiyo and open its advanced settings, then:

Disable autofocus (tick off the 'auto' checkbox.)
Set the focus value by hand. A value around 190 seems to do it.
Apply the settings.

The new settings are saved into the webcam itself, so they'll work in macOS. Reboot into macOS.
(Between four Windows updates, installing and testing, this took me fifty minutes. Sigh. But you might have better luck.)
Some websites recommend using OBS to do this, but:

In Windows, it'll offer the exact same configuration modal as Synapse;
In macOS, OBS will not offer any configuration modal.

EDIT: Webcam Settings ($7.99) did work for me on Mac.


How to get an iPad to switch automatically to the strongest network?

Sorry mate, unfortunately no such thing exists.


Dell monitor randomly goes blank on Mac mini

Maybe the problem is caused by overheating.
When I put a pot filled with cold water on top of the mac mini, the blank screen problem occurs less often.


Open an application after wake from sleep

You can do this with SleepWatcher, an app that lets you…

  execute a Unix command when the Mac or the display of the Mac … wakes up

Such a command to open an app could be:

open /Applications/Safari.app


Keyboard shortcut is triggered for many times automatically

There's two things I would try initially: testing your Mac in Safe Mode and, if that doesn't resolve things, resetting the NVRAM.

Test your Mac in Safe Mode

Follow these steps:

Fully shut down your Mac
Restart your Mac
Immediately press the Shift key and keep it down
Let go of the Shift key when you see the login window (NOTE: If you have FileVault enabled you may need to log in twice).
Take a note of what happens (i.e. test your keyboard entry as per your question)
Exit Safe Mode by restarting your Mac as normal
Test again to see if the problem still persists

If the problem still persists after following the above steps, you can also try resetting the NVRAM.

Resetting the NVRAM

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). Since you haven't specified the exact model of Mac you have, follow these generic steps to reset the NVRAM:

Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then immediately press the commandoptionpr keys.
Keep these keys pressed down for at least 20 seconds!
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).

Let me know how you go.


Does Apple specify what the average lifespan of an iMac G5 would be?

No. Apple actually disclaims that a brand new Mac will work reliably. Only that they will repair it, replace it, or refund your purchase if you seek warranty service under the conditions of the one year warranty:

  APPLE DISCLAIMS ALL STATUTORY AND IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND WARRANTIES AGAINST HIDDEN OR LATENT DEFECTS

Above from the US hardware warranty page at http://www.apple.com/legal/warranty/ for a Mac Pro

Furthermore, Apple has a long standing policy of cutting off the vast majority of repair service for Macs 5 years from the date when they remove it from sale.

https://support.apple.com/en-us/HT201624 - Vintage and obsolete products

There are some exceptions where you can get support between years 5 and 7, but after 7 years, Apple and Apple Authorized Service Centers often flat out deny repair requests due to lack of support or part availability.

I cannot find any G5 or PPC machine that isn't officially designated by Apple as obsolete in 2015.

So - in summary, a new Mac Pro isn't sold with the expectation that it will even work for one year and the expectation that it might need repairs. Certainly second hand older machines won't be vouched for by Apple to have a working life of 10 years from now. That doesn't mean some G5 will run for decades to come, just that the one you buy might or might not be the exception to things wearing out eventually.


OS X: is it possible to open a window on top with AppleScript?

Use tell application "name" to activate, where name is the name of the application you want brought to the front. If you already have a tell statement block for the target application you can use activate by itself within the tell statement block.

Examples:

tell application "name" to activate

Or:

tell application "name"
    activate
    # Other commands to follow...
end tell

Also, if the target app is being opened from within a shell script, whether executed manually in Terminal or within AppleScript e.g. do shell script "name.sh ..." you can add an AppleScript command within the shell script using osascript as in the following:

Syntax:

osascript -e 'tell application "name" to activate'

Example:

osascript -e 'tell application "Safari" to activate'

Note: In Terminal, type man osascript and press enter, to display the BSD General Commands Manual entry for osascript.

From the AppleScript Language Guide:

  activate

  Brings an application to the front, launching it if necessary.

As a good reference, have a look at Introduction to AppleScript Language Guide and the following document is handy to have on your system, AppleScript Language Guide (2013) PDF.


How can I Change the Apple Configuration Signing Certificate?

This is currently how the Apple Configurator works - it doesn't have a provision to load a certificate but instead generates self-signed ones automatically. If I run across a way to hack this, I'll link it here. If you need profiles to arrive with a signed certificate, look into Lion server or another MDM solution.
In practice - you only see the certificate warning when you are sitting in front of your Mac and connecting devices via USB. I'm not sure what additional layer of security a signed certificate can provide in this case. It's not like you are connecting to some remote server when these profiles get installed.


How to get rid of different mouse tracking speeds on dual screen setups

I don't think you can. Read this article on TUAW:

    that's because the mouse speed option cannot be set on a per-monitor basis. Mouse tracking is controlled as part of system defaults, in the Universal Access preferences pane.

    The actual preference is called mouseDriverMaxSpeed and can range as an integer between 1 (lethargic) and 32 (zippy). Here's how you'd read the current setting from the command line:

    defaults read com.apple.universalaccess mouseDriverMaxSpeed

    Whatever number you set to feel right on one monitor will either feel draggy or hyper on the other.


How do you watch HTTP requests an iPhone app is making?

The easiest method is to install a debugging proxy and point your iPhone to it (specify the proxy address in the settings for the wifi network). Obviously, this'll only work over wifi and not via a cellular data connection. You'll then have access to all of the http(s) requests and responses sent and received by your iPhone.

Something like Paros can do what you want (it's written in Java, so will run on most platforms).


What is consuming HDD space on my MacBook Pro?

Sounds like you need a disk visualizer. There are several out there:
Disk Inventory X (free)

Disk Inventory X is a disk usage utility for Mac OS X 10.3 (and later). It shows the sizes of files and folders in a special graphical way called "treemaps".

It is my personal favorite, as it is really simple and easy to use, as well as the great price of free!
DaisyDisk ($20, currently on sale for $9.99)

DaisyDisk scans your disks and presents their content as interactive maps where you can easily spot unusually large files and remove them to get more free space. The map gives you an overview of your data, so you always know what your hard disks are filled with.

I don't have personal experience with DaisyDisk, but it has been highly recommended by many people, including members of Ask Different.
GrandPerspective (free)

GrandPerspective is a small utility application for Mac OS X that graphically shows the disk usage within a file system. It can help you to manage your disk, as you can easily spot which files and folders take up the most space. It uses a so called tree map for visualisation. Each file is shown as a rectangle with an area proportional to the file's size. Files in the same folder appear together, but their placement is otherwise arbitrary.

Again, no personal experience, but highly recommended by others.


New MacBook had user accounts already; I deleted admin and can't get back in

I would suggest you to reinstall OS X and doing it not on the top of the existing version.
Start Mac in Recovery mode (hold Cmd-R keys pressed on boot). When in Recovery mode - select Disk Utility, format your disk, exit Disk Utility and select Install or reinstall OS X.

P.S. If you have your files stored in Mac - backup ones before formatting the disk.


Open specific app from Internet Link loop

If you choose an online service (like Google Maps) from the dropdown menu under the "directions" button, before clicking on the "location" map, it will open in the same tab, using that service (you can cmd+click the map to open in in another tab)

OTH


Server.app "SSLProtocol: Illegal protocol 'TLSv1.2'"

This looks like a mismatch between the version of Server, where the apache config resides, and the version of apache which is delivered by the OS.

Look at the .conf files in /Library/Server/Web/Config/Proxy/ and replace any instances of TLSv1.2 with TLSv1.

You may also need to do that with some of the other config files included by those files.

That said, since both pieces look to be prerelease, you should review your seeding agreement, it may have info on a better place to ask this sort of question.


Applescript for Outlook 2011 that moves all messages from a specific folder that match a source account to a different folder

tell application "Microsoft Outlook"
    set topFolder to mail folder "AT&T" of on my computer
    set destFolder to folder "Deleted Items" of topFolder
    set srcFolder to mail folder "Deleted Items" of on my computer
    set selectedMessages to messages of srcFolder
    repeat with theMessages in selectedMessages
        set thisAccount to account of theMessages
        if (name of thisAccount as text is "Att") then
            if (is read of theMessages is false) then
                set theMessages's is read to true
            end if
            move theMessages to destFolder
        end if
    end repeat
end tell


Run a standard unix process (not an app) on iPhone from OS X command line

You can't.

Jailed iOS devices have no method of executing any given program remotely. You'd have to jailbreak your device to be given access to terminal.

The iOS simulator is slightly different since it lacks many of the security features that the full iOS has, and since its running directly on your mac as child processes (rather than an emulator emulating a ARM processor).


iPhone Mail.app - Showing Disabled Email Accounts

When you remove an email account from the iOS mail app, it removes all the emails (and other data) from the device. There is no way to keep mail on the device from an account that was removed.

If you leave the account(s) signed in to the device, you can set the mail app to only fetch new mail manually. This would allow you to have the mail on your device, without getting new mail automatically.

EDIT

To fetch manually, go into Settings > Mail, Contacts, and Calendars > Fetch New Data. There you will see a section at the bottom called Fetch and set it to manually.


Time machine backups not recognised after OS upgrade

The format of the backup has changed a lot between 10.6.8 and 10.9. There were several upgrades and some newer versions recognised backups from previous versions. This could be one of reasons why Apple recommends upgrades for each new OS sequentially.

If you continue backups, most likely Time Machine will do one of two:

override your current backup
create a new backup bundle

I am not sure what it chooses and when but I had both those cases happening. If you do not need old backups, just remove them. If you need them, you can move them to a subfolder.

One more solution for you could be to remove and add a Time Machine disk. Sometimes that helps Time Machine to recognise that the drive has backups. Logic of Time Machine is very strange sometimes.


Can't create a Fluid App due to "Invalid Certificate"

Developer of Fluid here. Yes, you can fix this now by:

Visit the page in Safari
Expand the "Invalid Certificate" Dialog
Select "Always Trust" option

Now you can it works in Fluid too


prevent networksetup from asking for password

Open Terminal and enter sudo visudo to modify the file /etc/sudoers.

Change the part:

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

to

## User privilege specification
##
root ALL=(ALL) ALL
%admin  ALL=(ALL) ALL
your_username ALL=(ALL) NOPASSWD: /usr/sbin/networksetup

and save the file.

If you don't know vi: after entering sudo visudo you have to change to insert mode by hitting i. Enter the additional line as indicated above. To leave insert mode hit esc. Then enter :wq and the Enter key to write the modified file to disk and quit vi.

Using sudo networksetup ... shouldn't require a password anymore.


I'm one of the creators behind CommandPost.

CommandPost is a free and open source Mac application that allows you to seriously speed up your creative editing process through powerful and customisable automation tools. Think Apple’s Automator, with a little bit of BetterTouchTool and Keyboard Maestro thrown in, but specifically designed for creative professionals. It's a fork of Hammerspoon - and everything is scripted in Lua.

The way we get files into Final Cut Pro using our watch folder functionality is via the Pasteboard. We copy the file path to the pasteboard, then trigger a Paste operation in Final Cut Pro. Here's a link to the specific code:

https://github.com/CommandPost/CommandPost/blob/develop/src/plugins/finalcutpro/watchfolders/media/MediaFolder.lua#L710

You can control CommandPost via Lua-based plugins, AppleScript, URL and Terminal commands - so you could definitely work out a way to do this at a specific time rather than via Watch Folders.

We have a fairly active Facebook Group, and you're also more than welcome to contact us via the details on the CommandPost site.

Hope this helps!


Is it possible to add attachments to iCloud reminders?

As of today, it's not possible to add attachments to a Reminder in either macOS or iOS.

I've read that some people have used 3rd-party apps (like Fantastical) to manage their reminders.  Doing that gives them additional features not found in Apple Reminders app.  I can't speak to that because I haven't tried those apps but you might want to look into that if this an important feature to you.


Is there an option to inspect live variable data like in Visual studio?

Yes - open Xcode's help and search for Debugging with Xcode - there are links to WWDC videos, and ample documentation to get you going.


Cannot display Macbook Pro on external projector

Following ensuring the hardware is working (you did that)

The process:

Plug in initiates the hand shake (who are you)

Results in showing the details in About this Mac, or Sys Preferences Display.

check for correct display identified and what resolution was chosen.

Simultaneously Mac looked up in its database for what profile (plist) to use.

Simultaneously Mac selected a Display property (colors ect) profile.

can be seen (or modified) in the Color Sync utility application in your utility folder.

Check all above, and verify the process/sequence in your Console.


Option 1: Delete the update from your iOS device.

Go to Settings from your Home screen
Select Storage and iCloud Usage
Go to "Manage Storage"
Find the iOS update that is bothering you and select it
Tap on "Delete Update" and confirm

However, you'll have to stay off of Wi-fi, otherwise it'll re-download.

Option 2: Block Software Update domains on your router / gateway

You'll have to figure this one out on your own, since all routers are different, but the domains you'll want to block are:

appldnld.apple.com
mesu.apple.com

Option 3: Just update

You can also give in and submit to the installation. This will bring you up to the latest, most reliable and up-to-date version of iOS, but if you don't want to, that's definitely fine.


TimeMachine over network without TimeCapsule

You will need to share the backup drive with AFP (setup under Sharing in System Preferences).

On your laptop you'll need to go into Terminal and type

sudo defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

This will allow your laptop to see the backup drive as a supported Time Machine compatible network drive.   Select this drive in Time Machine preferences and you should be good to go.


How do I troubleshoot my Wi-Fi connection when an exclamation mark appears?

You need to get more information, so please do some troubleshooting and report back.

Troubleshooting steps:

Hold down the Option key while clicking on the Wi-Fi icon in the menu bar and let us know what you see. Lion: New Wi-Fi Diagnostics tool
When you first see the exclamation point appear, open
System Preferences > Network. If you get a window like this one

with the Self-Assigned IP beside a yellow button, then you were not able to get a local address from the Wi-Fi router's DHCP server. This can happen because the base station is using MAC address restrictions rather than real passwords. This can also happen because the base station has exhausted its available set of local IP address leases.

When you connect to a network using DHCP, a network router (e.g. the Wi-Fi access point) gives you an IP address to use and promises you can use it for some period of time, which is called a "lease". (This is so there is no confusion about when someone else can start using the IP address that you are using.  You either renew the lease or know you have to stop using that address and get a new one.)  Once the server leases you the IP address, it cannot give it to anyone else until your lease expires.  A typical home router might be set up with only 250 addresses to give out and a lease period of 24 hours.   That's fine at home, but in a heavily trafficked coffee shop, they might get more than 250 Wi-Fi using customers in a day, at which point they would be out of addresses.  Worse, lease times can be much longer (I've seen 14 days on some routers) and DHCP servers can have arbitrarily small numbers of addresses to hand out.  So this really happens sometimes, and it is probably what is happening to you.

In any case, it's probably a configuration error on the router that the router owner has to fix.


Oh brother ... I just spent about an hour trying to figure this out myself. I had my playlists in a nice order before this enforced alpha sorting. I hope there will be an update that will allow for some better customization.

Good news is ... I did find one leading symbol that will push your faves to the top! Without looking too ugly! And the voice command lady doesn't pronounce it!

Here it is:   ª

... copy and paste!

It's a superscript 'a' used as an ordinal counter in spanish.
It'll sort as an 'a' but it's so tiny it doesn't look like much, at least on the ipod screen it's kinda just a speck.

eta: don't know about iDrive or how it might look in the car display


What is the ApplicationsStorageExtension process on macOS?

Did you leave About This Mac open with Storage selected?
I think ApplicationsStorageExtension calculates how much storage your Mac is using.
To stop it:

Choose About This Mac from the Apple menu  (located in the top-left corner of your screen).
Close the window that appears.


iCloud hacked. MacBook Pro locked. Starts uni tomorrow. Help!

My suggestion is to create a bootable flash drive with the macOS Sierra installer on it.

Boot from the flash drive.
Erase the internal harddisk.
Reinstall macOS Sierra.

Preparation:

You will need another Mac in other to create the bootable flash drive. So hopefully you have another Mac in your household, of family/friends household. Last resort is go to the local Apple store. They are willing to help.
Download macOS Sierra Installer from the Mac App Store. Once the download completes, it will automatically launch. Quit macOS Sierra Installer app without performing the installation.
Take a 16GB or larger USB flash drive to create a bootable Sierra installer. This flash drive is only needed for a clean install on your Mac’s startup drive.

How to create a bootable flash drive:

Create a bootable flash drive with macOS Sierra.

First, make sure your USB flash drive is formatted and named as “Untitled”.

To format a USB drive launch Disk Utility (Finder -> /Applications/Utilities/Disk Utility).
Select your USB drive under External.
Click the Erase tab at the top of the Disk Utility window. Select Mac OS Extended (Journaled) from the format list. Then, click the Erase button. When the process is complete, click Done, and close the Disk Utility window.
If your drive is named something else, you need to rename it (Open Finder -> right click on the USB drive and choose Rename).

Now, your USB flash drive is ready.

Launch Terminal (Finder/Applications/Utilities/Terminal)

Enter the following text into Terminal. It may be best to just copy it from here (try triple-clicking) and paste it in.
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

Hit the Enter key.

Terminal will ask you for an admin password (the one you use to log in). It won’t display characters when you type, so just do it. Hit Return. You’ll see that Terminal erases your drive. Then, Terminal will copy the installer file to your disk. This will take a few minutes. When the process is complete, the Terminal window will report "Done." You can quit Terminal and your bootable macOS Sierra installer USB drive is ready for use.

Plug in the bootable macOS Sierra installer USB drive to your Mac.
Restart your Mac while holding the Option key or Cmd+R. Make sure to keep it pressed!
When Mac restarts, you’ll see the macOS Startup Manager with a list of bootable devices that your Mac can start up from.
Use the arrow keys to choose your USB drive with macOS Sierra installer. Press Enter.
Select Disk Utility.
In the window, at the top of the left bar, select your Mac’s Main Drive (it looks like a MacintoshHD).
Select the Erase tab located next to the First Aid button at the top.
Near the center of the window, select the Format drop-down list and select Mac OS X Extended (Journaled) type.
Click Erase (Note: this will erase all your data from your main drive!) and give the drive some time to format.
When it’s done, close Disk Utility and select “Install macOS” from the menu.
Select your main drive and install the new macOS Sierra 10.12.

How to go further..

Make regular backups. At least one onsite and preferably also one offsite.
Change all your girlfriends passwords. Probably your girlfriends iCloud password was the same as from another website. Where the hackers got it from. Either way, change all passwords! Use different once for every account.
Enable Two-factor Authentication for her Apple ID


How to delete an account for a now unused ftp server from finders "connect at login" list

Just hold the ⌘ button down, click and hold on the item you wish to remove, and drag it off the Finder’s window.

Additionally you should try Go → Connect to Server (⌘+K). There you must see a list of your favorite servers. If your server is there, you could select it and hit Remove in the bottom of that screen.


How can I reset my iMac G4 to factory settings without the startup disk?

You need to contact the seller and see if they have the original OS install discs, as they'll have iLife and a correct version of OS X. Barring that, try to get ahold of a set of retail OS install discs for anywhere from 10.3 (Panther) to 10.5 (Leopard). I'd suggest you get the newest your system will support. (It's important to look for retail discs so you don't have to spend extra energy trying to match your Mac's exact specs and model with the one the discs were shipped with.)

How to choose which disc to get if you can find multiple OS versions?

10.2 - iMac G4s shipped with as low as OS X 10.2 (Jaguar), but an OS install/upgrade disc won't necessarily have the drivers to support your machine, and some iMac G4s may simply be too new for 10.2 to support them at all.
10.3 - This is the lowest you should go if possible. Look for install DVDs (rare) or packs of install CDs. (I think there's two or three CDs to install the OS.)
10.4 - Make sure you get a retail version of 10.4. This is when Intel Macs were introduced, and an Intel Mac's OS install disc will simply do nothing in your PowerPC iMac. Look for DVDs. (Code-named Tiger.)
10.5 - Not all iMac G4s support 10.5 (Leopard). Anything with a processor slower than 867 MHz won't get Leopard. If you have an 867 MHz or faster CPU, you can use any retail Leopard DVD (these discs are for both Intel and PowerPC). As with Tiger, be wary of system-specific install discs, as most (if not all) Macs that shipped with Leopard were Intel Macs.


Can I use an external microphone on my iPhone 7 for speakerphone calls?

No, you can't, because Apple doesn't not allow the choice of the sources. Otherwise, with an old iPhone with the 3.5mm jack, you can cover the last ring to avoid the microphone contact.

Apple source


Keep trying. After toggling the setting to enable it a dozen times over twenty minutes, it finally worked. This appears to have been a temporary problem associated with the launch.


I've been using EAGLE some time ago. http://www.cadsoftusa.com/eagle-pcb-design-software/?language=en


How to change photoshop JPEG output header format?

What version of Photoshop are you using? Apparently Adobe dropped support for exporting with JFIF at some point, and replaced it with EXIF.

You can try an app like XnView to strip out meta data:

http://newsgroup.xnview.com/viewtopic.php?f=60&t=24056

I just tried this with an EXIF jpeg on my computer, opened it in XnView, and then selected:

Tools > Export > [√] remove all metadata > Save…

The resulting file remained a jpeg, but had a JFIF header.


Is it better to use AirPlay to push from Mac to AppleTV, or use AppleTV to pull from a Mac?

There's no difference in quality, so it's purely a personal choice and depends on how your home network and systems are set-up.

I have a Windows PC running iTunes 24/7 and that has my entire library of music and video on it, so the Apple TV can pull whatever I want from it.

Sometimes I'll play content such as BBC iPlayer or Youtube videos from my phone, or from my laptop if I've downloaded a video I want to watch without importing it on the other system but it really makes no difference. It's just about convenience really.

The only thing that really makes a difference is network connection for the caching, wired ethernet is obviously a lot faster than WiFi.


"Where is FinderSyncAPIExtension?" (Google Drive)

I located the Google Drive app (/Applications) and clicked that. GDrive then continued to sync without errors. I'm not sure if this is the correct solution, I only tried it once (just 2 minutes ago) but so far so good.


How to prevent Cisco AnyConnect from disconnecting when locking screen

TL;DR

Launch Terminal and run:

ifconfig | grep -B 6 'status: active' | head -n 1 | cut -d : -f 1

Then run (replace en0 below with the output of the command above):

cd /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources
sudo ./airport en0 prefs DisconnectOnLogout=NO
sudo pmset -a sleep 0

Long version

I am on MacOS Mojave (10.14).
For me this helped against automatically disconnecting from Cisco AnyConnect while on WiFi:

Open the Terminal app and paste:

ifconfig | grep -B 6 'status: active' | head -n 1 | cut -d : -f 1

This returned:

en0

Then type (replace en0 on line 2 with the returned value above):

cd /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources
sudo ./airport en0 prefs DisconnectOnLogout=NO

Type your password.
Check if the setting was saved by typing:

sudo ./airport prefs

Which should return this:

AirPort preferences for en0:

DisconnectOnLogout=NO
Unable to retrieve JoinMode
JoinModeFallback=DoNothing
RememberRecentNetworks=YES
RequireAdminIBSS=NO
RequireAdminNetworkChange=NO
RequireAdminPowerToggle=NO
WoWEnabled=YES

DisconnectOnLogout should be set to NO.

Next, prevent the system from going to sleep after locking:

sudo pmset -a sleep 0

That should do the trick, worked for me.


Macbook Pro Bluetooth not available after plugging in a dongle

This seems to be a general problem with motherboards of 2019 models.
Check this link:
https://discussions.apple.com/thread/250944058
There are many people including myself that has this problem.
It seems like the only resolution to the problem is a motherboard replacement.
I have exactly the same error and problem.
I used a dongle that supports mac.
Just for information:
I have tried to reinstall, clear t2 chip using xartutil --clear-all, nvram reset, smc reset and so on.
Seems motherboard replacement is the only resolution.
Update: A new method to fix this problem has been revealed on the apple forums: https://discussions.apple.com/thread/250944058


Changing the owner of a directory when username has a . (dot) in it

I think your short username is malformed. I recommend to rename it to lower case characters (and no special characters except the underscore).

Additionally you would have to use a sudoers account (e.g. an admin account) and prepend sudo to change ownership of /usr/local since /usr/local is owned by root:wheel. Changing the ownership of /usr/local and subsequent items is non-standard and not recommended.


Latest OS X update causes Finder crash (SIGSEGV)

The solution for this was actually google drive, its kernel extension was creating conflicts with finder if the icon was showing in the status bar.


Can a keyboard shortcut force TextEdit windows to close and discard all changes?

tell application "TextEdit" to close (windows where name of its document is "Untitled") saving no would close the "Untitled" document without saving it, tell application "TextEdit" to close every document saving no would do the same for all open documents.
You could close the current window with tell application (path to frontmost application as text) to close window 1 saving no. It would close all tabs in some applications that use tabs though.
It's easier to just press ⌘W⌫ in my opinion. You can disable the animation for showing the sheets with defaults write -g NSWindowResizeTime -float 0.001.


'Could not validate or distribute application to App Store' in App Submission

Use Application Loader. When Xcode has trouble connecting, Application Loader seems to work every time for me. Archive your application as an ipa and upload it through Application Loader.


How do currently downloading files show a circular progress indicator besides them in Finder?

This is achieved by macOS apps using Apple provided API. Specifically, NSProgress Cocoa API.


Is it possible to left-align the URL in the Safari address bar?

Not sure it's exactly what you want, but  Cmd ⌘   L  will select & left align, same as if you'd clicked it - so you could do it as you're mousing towards it.


How do I know how much time battery has left on my MacBook?

The macOS Sierra 10.12.2 update removed the ability to see the estimated time remaining, under the menu bar battery icon, on Macs equipped with a battery (various MacBooks). It is no longer possible to restore the functionality.

However, the same information can be obtained in the Activity Monitor app. Launch the Activity Monitor app using one of the following means:

Go to Launchpad → Other folder → Activity Monitor.
In Finder, go to Applications → Utilities → Activity Monitor.
Search for Activity Monitor using Spotlight.

Once the app is launched, go to the Energy tab. The time remaining estimate is shown towards the bottom.


Photos on Catalina will only export recent images

Suggested by Apple support as a workaround: drag photos directly from the Photos window to a Finder folder.


How should I update Xcode when I installed it from the app store but it hasn't updated to most recent version?

Xcode is not automatically updated as a consequence of updating to Big Sur.
Just installing Xcode from the App Store itself won't automatically ensure it is updated. This only happens if you have enabled automatic updates in the Mac App Store settings.
In any case, there can be a lag from the time the new version is released and until the automatic update feature on your Mac notices it and upgrades.
You can always just open the App Store, go to the page for Xcode and hit the "Update" button there.
If you download and install Xcode manually from a link, then no, it will not automatically update from that point on.


Provided you can remember the answers you gave to your security questions, you can reset your password at https://appleid.apple.com.


Making ~/.bashrc function callable to set up an environment

Your function doesn't work because OS X starts your shell as a login shell, thus .bashrc isn't read. I wouldn't use a function in this case.
If there is only one executable file in /Applications/my_app.app/Contents/Resources/ then I would use an alias.

I would use separate files when changing your environment. Set your PATH and whatever in these/this file(s) then at any time source your environment file and your good to go. As an example, I have the AST tool set installed. I'm testing the tools supplied by AST but need to use the minimum PATH supplied by OS X and the PATH to the AST tools. So, I have to modify my PATH that is set in my .profile. I've created a file .astenv in my home folder.

#
#  .astenv
#
#  The AT&T Software Technology tools from AT&T Research
#
#

PATH=$(/usr/bin/getconf PATH)
ASTPATH=$HOME/local/opt/ast-master/arch/darwin/bin

PATH=$ASTPATH:$PATH
export PATH

To use this config file,  I can start a new terminal session and source the file,

. ~/.astenv

or in my current terminal session start a new instance of my shell then source the file.

ksh
. ~/.astenv

When I exit this shell, I'm back to my original environment.


Is there a hotkey to Search Wikipedia for "x"?

In the default setup for Spotlight, Search Wikipedia is the second to last option, Spotlight Preferences being the last option. You could invoke Spotlight, press Fn + -> (or End if you have a full size keyboard with that key) then up and Enter.

Very little hand pivoting is necessary to accomplish this.


How do I jump to a topic in vim under Terminal for a French Keyboard

If you don't want to waste your CTRL-L, you can make CTRL-"] key" work like this:

:map CTRL-VCTRL-"] key" <C-]>


Is there a way to change the naming scheme for screenshots?

If you can use the Terminal, screencapture lets you specify the name of the file (and much more).


How do i fix left click mouse behavior for Logitech M720 Bluetooth mouse?

I occasionally experience this behavior with my G700s. I think it's a problem with the Logitech driver/utility (if you happen to use it). I suggest you update to the latest version; it was released just a few weeks ago.

Now that I think of it, I haven't had that problem in quite some time, now…


Are there any apps for Mac that have Photos extensions?

Looks like this is coming in El Capitan; it was announced at WWDC.

Reported on multiple news sites, but an example snippet from here: "...support for third-party editing extensions that will be available from the Mac App Store and accessible within Photos itself. It doesn’t sound as though that will enable external editing in Adobe Photoshop, say, but it will go a long way toward enhancing the editing capabilities of Photos."


osx - opening a unicode file in text edit

You can set the default opening encoding to UTF-8 or UTF-16 in TextEdit Preferences/Open and Save.

But your example seems to indicate a non-unicode text, where Latin-1 ä (E4) is being read as if it were in MacRoman encoding, where E4 is allocated to ‰.

Or perhaps it is Unicode UTF-16 being read as if it were MacRoman?


New Photos App on Yosemite Isn't Syncing Smart Albums to my iPhone or iPad