The hierarchy of the menu bar object goes like this:
menu bar > menu bar item > menu > menu item [ > menu > menu item [...] ]

where the square brackets indicate possible sub-menus, should they exist.
Therefore, if you change this line:
    tell menu bar item 1 of menu bar item 1 of menu bar 1

to this:
    tell menu 1 of menu bar item 1 of menu bar 1

it will work.
This, of course, will always click the Apple () menu, which is menu bar item 1 of menu bar 1 for all applications in which the menu bar exists and is visible (although it belongs to whichever application is frontmost, so attempting to ask another application process to click this item will throw an error).
If you wish to click an arbitrary menu item in the menu bar to reveal its menu, you need to replace the index number 1 of the menu bar item with a random value, but one that does not exceed the number of available menu bar items.
To get the number of menu bar items, use the count command:
    set N to count menu bar items of menu bar 1 of activeApp

(You can omit of activeApp if the command is placed inside a tell process activeApp block.)
To get a random number between 1 and N, use the random number command:
    set i to random number from 1 to N

Putting that all together, your new command will look something like this:
    tell menu bar item i of menu bar 1 to click

Now each time you run the script, a random menu bar item will be clicked causing its menu to appear.
To go even further, and get your script to click a random menu item, you can apply exactly the same principles as above, bearing in mind the hierarchy I laid out at the top.
So, after retrieving a random menu bar item, next determine the maximum number of menu items and generate a random number less than or equal to this maximum:
    set M to count menu items of menu 1 of menu bar item i of menu bar 1
    set j to random number from 1 to M

Then you can click it:
    click menu item j of menu 1 of menu bar item i of menu bar 1

Applying the same principles to any sub-menus that exist for that particular menu item, you'll end up with this:
    set L to count menu items of menu 1 of menu item j of menu 1 of menu bar item i of menu bar 1
    set k to random number from 1 to L
    click menu item k of menu 1 of menu item j of menu 1 of menu bar item i of menu bar 1

However, you'll find that this—more often than not—will throw an error when trying to set L.  This is because not all menu items will have sub-menus, and in the instances where no sub-menu exists, asking AppleScript to count the number of menu items [in a non-existent sub-menu] is not a sensible command.
There are two ways to handle this.  Either wrap those lines in a try...end try error-catching block, like this:
    try
        set L to count menu items of menu 1 of menu item j of menu 1 of menu bar item i of menu bar 1
        set k to random number from 1 to L
        click menu item k of menu 1 of menu item j of menu 1 of menu bar item i of menu bar 1
    end try

or count the number of (sub-)menus of menu item j, and only proceed if this number is greater than 0:
    count menus of menu item j of menu 1 of menu bar item i of menu bar 1

    if the result > 0 then
        set L to count menu items of menu 1 of menu item j of menu 1 of menu bar item i of menu bar 1
        set k to random number from 1 to L
        click menu item k of menu 1 of menu item j of menu 1 of menu bar item i of menu bar 1
    end if

And so on, and so on...
Finally...
It's unlikely you will know precisely how many levels deep a particular menu tree goes: how many sub-menus within sub-menus exist for a particular menu item ?  The answer is at least 0, but with no given maximum unless you check in advance yourself.
Luckily, we can AppleScript to do the checking for us.  After picking a random menu bar item, every child that spawns from this (looking at the hierarchy I showed you at the top) is a menu followed by a menu item.  The menu object, as you'll have noticed, only comes in singular count, so will always be referenced as menu 1.  The menu items come in plural, and these are the items that need counting.
So, quite simply, having chosen a random menu bar item, we get AppleScript to do the following:

count the number of menu items it contains;
If this value is 0, then there are no sub-menus, so we can just click the item we have;
If the value is greater than 0, then choose a random one;
count the number of menu items this one contains;
If this value is 0, just click it;
If the value is greater than 0, then choose a random one;
etc..

This process is a loop that can keep going for as many sub-menus that it finds.  And that's what this code does:
    tell application "System Events" to ¬
        tell (the first application process ¬
            whose frontmost is true)

            set m to it
            set _m to the menu bar items of menu bar 1

            repeat
                if not (exists _m) then exit repeat

                set i to random number from 1 to (count _m)

                set m to item i of _m
                set _m to a reference to menu items of menu 1 of m
            end repeat

            click m

        end tell

Caveat: The horizontal lines that separate sections of a menu are also classed as menu items, as are any menu items that are disabled.  These, when clicked, don't do anything.

BE CAREFUL:  Clicking a menu item randomly before you know what it does can result in some undesirable outcomes.  For instance, you may accidentally quit the front application; you may delete a file or eject a disk if the script runs whilst Finder is at the front; or you may log out or shut down your computer.


Don't know whether I did something special, but if you change the name of the printer there is an option to print to PDF.


MBP won't restart or shutdown (macOS Sierra)

Fixing permissions on my drive solved the issue.  I was able to find a solution on this Apple Discussion thread.


How to set an iPad back to factory settings where I have forgotton the restrictions passcode?

Connect it to a computer, open iTunes and click "Restore" in the "Summary" tab for the device. Note that you will lose all data and settings on the iPad.

See: iTunes: Restoring iOS software


OS X Mail Mavericks 10.9 Gmail accounts NOT in sync

Try "Get Account Info" by right-clicking on the mailbox, which will force Mail to search through the IMAP account for messages and seems to rebuild all mailboxes in the account.

See this answer for further suggestions if that fails.


Clicking bookmarks in Google Chrome will blink twice before the website opens

That's just a normal visual indication that your click was registered. Same thing happens for standard macOS menu entries when clicked, although they will only blink once.


Can I disable wifi on boot? System not booting

I have a MacBook Pro (Retina, 15-inch, Early 2013) and tested the following on it.

With my Wi-Fi network adapter turned on and connected, I shutdown my MacBook Pro. (This was to ensure the change I was about to make did indeed disable my Wi-Fi network adapter when rebooted.)

With the MacBook Pro shutdown, I then started it in single-user mode.

  Start up in single-user mode or verbose mode

  Use these steps to start up your Mac in single-user mode or verbose
  mode:

  Shut down your Mac.
  Press the power button to start up your Mac.
  Immediately hold down the following keys:

  Hold down Command-S for single-user mode.
  Hold down Command-V for verbose mode.

  You've successfully entered single-user mode or verbose mode when you
  see white text appear on the screen.

If you can't enter single-user mode, see How to start up your Mac in single-user or verbose mode for additional details.

In single-user mode, run the following commands:

/sbin/fsck -fy
/sbin/mount -uw /

Once the filesystem has been checked and you've mounted the / volume as writable, use the following command to disable the Wi-Fi network service, which will turn off the power to the Wi-Fi network adapter when rebooted into normal mode.

networksetup -setnetworkserviceenabled Wi-Fi off

Now reboot using the reboot command, type reboot and press enter.

Once rebooted and in normal mode you can reenable the Wi-Fi network service, thus restoring power to the Wi-Fi network adapter, by doing the following.

In Terminal, use the following command:

networksetup -setnetworkserviceenabled Wi-Fi on

You'll be prompted for your password, as shown in the image below.

Type in your password and click the Modify Configuration button, or press enter.

Note: While in single-user mode, if your wireless network service is not named "Wi-Fi" then use the following command to determine what network services you have.

networksetup -listallnetworkservices

On my system, after using networksetup -setnetworkserviceenabled Wi-Fi off the output was:

An asterisk (*) denotes that a network service is disabled.
*Wi-Fi
Display Ethernet
USB Ethernet
Display FireWire
Bluetooth DUN
Thunderbolt Ethernet
Thunderbolt FireWire
iPhone USB
Bluetooth PAN

So, "Wi-Fi" was the right choice for me.

Note: I do not have FileVault enabled and if you do, you may have additional steps to take to access single-user mode.


Avid Sibelius on macOS Sierra - linking folders

You just need a short script (even a single line command would work) to make a dupe of the files to your iCloud folder

Your iCloud folder is found locally on your machine in /Users/< username >/Library/Mobile\ Documents

(replace < username > with your actual username and be certain to notice the backslash before the space in "Mobile Documents")

If you want to avoid having to preface a backslash before (a.k.a "escaping") the space, put the whole line in quotes:

"/Users/Library/< username >/Mobile Documents/foo.bar"

I would use tar to create a single file archive and gzip to compress it to save space.  The command below will accomplish both:

$ tar cvfz "/Users/username/Library/Mobile Documents/Avid_Backup.tgz" "/Users/username/Library/Application Support/Avid"

You could then use Automator to run a shell script executing the command at a predetermined interval (Automator Calendar Alarm)


Does an iTunes iOS device backup include everything on the device?

The backup contains:

All your settings
Application data except data marked as "cache" or not to sync.

Since iOS 5 there is a possibility for the developers to exclude some items from the backup.

There are ways to explore your backup, but I don't think this could give you definitive answer, wether your backup is complete or not. Developers should make sure that they don't exclude items from backup that cannot be recreated in some ways (download, rebuilding & etc). Some movie players offer to disable backups for their content, but this is configurable.

Because TED content can be downloaded at any time, probably the developers decided to not backup video content. Check the app for settings.


Applications like Little Snitch can be very useful for figuring out if your computer has been compromised, as they can detect incoming and outgoing connection attempts.

I would say that most likely the appearance of an unexpected person on Skype is just due to a spammer or scammer adding people at random from a list of names or email addresses. It's also possible that it's a case of mistaken identity, where the person on the other end is trying to contact someone with a similar name. Be wary of social engineering attempts, and do not open any links or attachments from this person!

If the person is bothering you or you're just weirded out, you can block the individual by right-clicking their contact portrait and choosing "Block (name)...".


Enabling BitLocker without TPM on MacBook Pro with Bootcamp

I wanted to document this because the information that I've found is spread out and highly complicated. I've found a set of steps that are much simpler to enable BitLocker on a Bootcamp install of Windows. I've combined the information from these two sources for this guide:

How do I mount the EFI partition on Windows 8.1 so that it is readable and writeable?
Bitlocker in Windows 8.1 inside Bootcamp on the MacBook Pro (mid 2009)

The first step is to boot into your Windows partition, then log in, and open up an administrative command prompt.

Mount the UEFI partition to a drive letter:
    mountvol b: /s

Copy the Microsoft EFI binaries to the UEFI partition:
    bcdboot c:\windows /s b: /f UEFI

Unmount the UEFI partition:
    mountvol b: /d

Configure BitLocker to work without a TPM:

Start => run => gpedit.msc
Open the Local Computer Policy node
Navigate to Computer Configuration \ Administrative Templates \ Windows
Components \ Bit Locker Drive Encryption \ Operating System Drives
Double click on Require additional authentication at startup
Enable the feature and check the box next to Allow BitLocker without
a compatible TPM, click Apply and Ok, and close out of Local Group
Policy Editor.

Reboot your machine back to Windows.

You can now enable BitLocker on the device using just a passphrase.


Copying iOS autocorrect custom dictionary among devices

Do you actually want an autocorrect for a misspelling or a keyboard shortcut for an abbreviation?

If you sync the iPads with the same computer they should have all the same keyboard shortcuts. i.e. "omw" becomes "On my way!" (without the quotes).

That shortcut I created on my iPhone but I am typing now on my Mac Pro and it expanded to the full phrase as I typed it.

I use this one all the time "mcx" becomes "Mac OSX".

Look at the "System Preferences > Keyboard > Text" tab for shortcuts on your computer. If you create them on the desktop computer they should sync to your iOS device(s) and vice versa.

Check this link here if you want to try to copy the actual file:
Where is the text expansion file located with OS X?

Happy Wednesday!


Plug your device into your computer. Download the app iFunbox. Go to the root file system, then open the directory "Application Archives" then delete all of the ipa files.

Another alternative (without ads) is  iMazing  it does an amazing job with my files. (It's a paid app)


What happens to my data if I cancel my iCloud Storage subscription?

According to this Apple iCloud Support page:

If you downgrade your storage plan and your content exceeds the storage you have available, new photos and videos won't upload to iCloud Photo Library and your devices will stop backing up to iCloud.
iCloud Drive and iCloud-enabled apps won’t update across your devices, and you won't be able to send or receive messages with your iCloud email address.
To use iCloud after exceeding your available storage, remove backups, photos, documents, or email messages you don’t need. You can access photos, videos, and documents for 30 days after you delete or disable iCloud Photo Library and iCloud Drive.


...and just like that I found a solution. IGMP snooping wasn't enabled in the LAN bridge, so AirPlay packets were not being routed correctly between wired/wireless devices. I didn't even consider that the LAN settings would be part of the problem, as all devices involved were wireless. Unclear to me whether the mDNSresponder package is required for the router to make this work, but it's working now.


Yes, AV is a battery hog.

You are looking at three different processes, actually. The first is SophosServiceManager, which looks like the process that is actually doing the scan.  It looks like it's taking tons of CPU (and thus battery).

SophosUIServer probably just displays the little icon in the menu bar, and takes almost no memory.

SophosScanD is yet a third process.


How to create a bootable Mavericks dvd (double layer)?

You could use Diskmaker X obtainable from http://liondiskmaker.com to make a bootable memory key.


Configure Apple Mail to always open calendar invites in Fantastical 2

The OS X Default calendar app preference is set in Calendar.app's preferences. If you select Fantastical there it should yield the behavior you are looking for.

Calendar.app > Calendar > Preferences > General > Default Calendar App


Sharing an Apple ID on different iPads, but having different Contacts

Perfectly possible, you essentially both need a free iCloud account, that you log into for the purposes or mail/calendars/notes/contacts etc etc.

You each log into iCloud from within Settings > iCloud with your unique ID, and turn on any appropriate option within that page once you are signed in.

Then, for the App Store, go to Settings > iTunes and App Store and log in again, only this time simply both use the the same ID that is associated with all your past purchases.

You can log into different ID's for different services like Facetime/Messages/App Store/Mail at the same time, it really doesn't mind.


FAT
Fat is definitely off the table since it only supports files up to 4GB. So you won't be able to transfer files over 4GB like you stated in your question.
exFAT
exFAT won't have this limit since it's capable of supporting files up to 16 exabytes (16.000.000 terabytes). It's an excellent format for your flash drives and/or external (not internal!) hard drives.
NFTS
NFTS is an alternative, but your Mac (starting from 10.3) can only read it. It won't be able to write data on the drive, unless you use some extra software and hacks,
but some users have reported some instability and performance issues using NFTS on a Mac.
Windows/Mac
Windows 7 will read and write FAT, exFAT and NFTS without any problem. (It can even ReadyBoost from an exFat flash drive). Starting from Mac OS X 10.6.5, the OS supports reading from and writing to exFAT formatted drives.
Conslusion
I would go for the exFAT. It's fast, supports huge datafiles and both your Windows 7 and your Mac will be able to read/write to it.


reFind boot options does not show after installation of Ubuntu 16.04 Server LTS

So the designer of reFind was kind enough to respond to me and pointed out that the issue I am facing is a boot coup
http://www.rodsbooks.com/refind/bootcoup.html
Re-installing reFind did the trick.

Thanks Rod!!!


This is known issue with Gimp and Mavericks. Current workaround is to turn off all keyboard shortcuts (Preferences/Interface/Remove All Keyboard Shortcuts).


migrating partition to a 2015 MacBook Pro

You can use Thunerbolt/FireWire to boot a Mac into Target-Mode to use it as a drive. Than you can clone it using disk utility, like you would clone a regular external drive. Next you'll (probably) need to reinstall OS X on the new MacBook Pro over that partition (so you have the latest OS X with all the drivers for the new device and whatnot), you can either do that by first creating a bootable USB (DiskMaker X is an easy solution for that) or by using Internet Recovery (boot the Mac while holding cmd+alt/option+R).


Devices cannot connect to my shared Wi-Fi

Head to the Genius Bar and show them. If they deem it to be a hardware issue they may replace the defective board.


Sharing a TUN VPN connection with Android & iOS for traffic interception

First on the Mac do a network configuration (a location in Apple wording) appropriate for your need. Never use the too infamous and too magic "Automatic" location.
A configuration with a "Wi-Fi" and "Bluetooth PAN" interfaces and nothing else. Configure them (I guess you are familiar with this aspect to start playing with a VPN and the problems of security around this).

Once this is set, with nothing connected yet on the "Bluetooth PAN" interface, just configure an "Internet Sharing" (which in fact should be correctly named a "network gateway") as follows:

The correct sysctl, nat and pf settings will be done by many subprocesses hidden (and undocumented) behind Internet Sharing.


The "last folder" option can be found under Go -> Recent Folders Finder menu. There's a list of recent folders opened in Finder not just the "last folder".


How to reduce the size of swap files (Mac OS 10.6) \

I’m writing this answer assuming you are bad with the technicalities. Please tell me, if you are not :)

The only way to reduce the size of your swap is to use apps that use less resources of the computer to run. When thinking of resource-heavy apps, Excel, Firefox and Safari immediately come to mind, especially if you open a lot of tabs.

Keeping your (underpowered, if you will) computer running nicely will require some effort on your side. Quit apps that are not in use. Close tabs that are not in use. Restart apps if they stop responding.

Also, if you can update your computer to Mountain Lion, please do so, as Safari on Snow Leopard is really heavy.

And yes, restarting the Mac clears your swap files.


Why my iPhone6 is not be able to connect with my PC?

You need to connect it through iTunes.

It is the only way apple's portable devices can connect with workstations and it has been this way since their introduction. Think of iTunes as the managing app for your iPod|iPhone|iPad...


Will my Google Authenticator codes work if I restore my iPhone from a backup?

Source:

According to this Google Community answer, you should be able to restore from iCloud and it will work.

  If you back up your information using iCloud, you can restore your iPhone or iPad from iCloud, and you’ll be able to use the previous version of our Google Authenticator app.


According to your screenshot you should press the key on the right side of the LEFT Shift key (the z key) from the message given:

  "Press the key immediately to the right of the Shift key on the left
  side of the keyboard that can't be identified."

It looks like you're applying the instructions to key to the right of the shift key on the right.

ANSI would be the likely choice for US English


Prevent any direct internet traffic when OpenVPN is down

Just manually configure your IP address settings and remove the default gateway.  When OpenVPN is up, you’ll be assigned that tunnel as the default gateway and when it’s down, it will fall back to the original settings where there isn’t one.


How do I turn off typing suggestions in iOS 10?

Tap and hold the language key (the one that looks like a globe or possibly an Emoji smile face) and set the toggle for "Predictive" to off.


How can I show the desktop from full screen apps?

There doesn't seem to be a way to show the desktop straight from within the full screen app, but (depending on what methods you use for various kb/mouse shortcuts etc) it can still be done without exiting full screen (although someone may show that doing so would actually be quicker, perhaps, than my method below).

Let's say I have Safari full screen, and I want to view a screenshot by opening it in a new tab (not a particularly useful scenario, but involves dragging a Desktop icon into a full screen app as per your question).  Here how I would do it, noting that there are probably loads of other methods depending on your preferred input methods.  The bold bits are the actual actions I choose, the rest is commentary on why:

When I switch Safari full screen, it creates a new space to the right of the one I am in.
From within the full screen app, my desktop gesture of choice (5 finger trackpad spread) doesn't work (neither does F11, but then on my keyboard it's the volume down key, and I don't have "use all F1, F2, etc keys as standard function keys" preference option set, and the FN key is not located particularly well on a full size desktop keyboard, unlike the laptop ones)
So I 4 finger swipe to the right to show the previous screen before I went full screen (you may do ⌃Left Arrow)
Then I 5 finger spread on my trackpad to show the desktop (You may use F11 if it's not been commandeered by the volume down key or FNF11 or whatever the key happens to be depending on the age of your keyboard)
Then I hardware click with my thumb and hold the icon I wish to drag with my trackpad
Then I 3 finger swipe left (which exists the Desktop view and then swiped across a desktop in one movement)

If you are not using a trackpad you can hit F3 once to exit desktop mode, and F3 again to show Mission Control (your mapping and or keyboard layout may differ), then just hover over the required full screen desktop at the top until it flashes and switches you to it in a second or 2)

And I am left with the file still help under drag conditions to drop wherever I want within the full screen app

This method uses a variety of inputs including gestures and keyboard shortcuts that may not be available to you depending on your hardware.  For example, using the trackpad allows me to perform simultaneous gestures like swiping desktops whilst in the middle of a drag operation that would not be possible with a mouse (maybe with a magic mouse, I don't own one).  It's a case of knowing that gestures are actually pretty powerful when you understand that the hardware uses the multitouch to let you do a lots more than you might be used to.

This seems a whole load of hassle, but as actually quite quick once you get into it.  As to why you do it this way, I think you need to contemplate the nature of full screen of Mac OS X, and this means appreciating that when you go full screen you lose the whole desktop metaphor, and this includes the desktop in addition to resizable window edges, so you need to quickly nip into a windowed desktop to be able to see behind those windows to the desktop, if you see what I mean.


iMac 27" Mid 2011 -- fan issues when removing internal HDD?

Will I also run into these issues when I just remove the HDD?

Yes.

The reason being is because that vintage iMac used a quasi-proprietary drive that had a temp sensor built in.   Remove the drive, you remove the sensor and the fans spin up full speed.

Instead of just removing the drive, add an SSD and use an inline temperature sensor to regain the functionality.


The answer is right there in your question!

This is the image you provided:

Notice how it says "Drag reference sources into the order you prefer?" If you notice, the first thing on the list is "English-Dansk". Try dragging "Oxford Dictionary of English" into the spot above "English-Dansk" and see if that provides the answer you are looking for.


Apple documents it's cryptographic certifications online:

https://support.apple.com/en-us/HT201159

From the PDF for Crypto Officer on OS X 10.10 (these documents and evaluations happen after the OS is released, so look for 10.11 crypto certifications mid-winter to early spring) it states that

“FIPS Mode” is enabled all the time automatically without the need for installation, administration or configuration.
FileVault 2, Kerberos, Keychain Services, Software Update Services, Time Machine, VPN, and 802.1X are all FIPS 140-2 compliant

So, if you spend a lot of time reading those links - you'll see the the certification was done to Level 1 requirements. Nothing about Time Machine makes sense about network since it decrypts things to run. According to this Apple Support page, the encryption used on disk is XTS-AES 128 encryption


What is the Mac equivilent of ALT+PrintScreen?

To take a screenshot of a window press: ⌘ cmd+⇧ shift+4 and then press Spacebar. With this hover the mouse over the window You want to take a screenshot of and press Left mouse/trackpad button.


What is portProxy.bin and why is it sucking/eating/using up my CPU?

I haven't figured out what portProxy.bin is or why it was hogging my CPU, so if you know this, please edit and replace this text with an explanation.

I did a restart and that corrected the problem.


How to get iTunes to stop trying to download purchases

Go to iTunes > Preferences > Store and then untick the 'Always check for available downloads'.

Tick the 'Shows iTunes in the Cloud purchases' too, if you purchased on your Apple TV.


ErikMH's answer gave me the idea to first just try to revert the sudoers file, without reverting/upgrading my whole system again. So in short:

Run this to get a root shell: sudo -s
Make a copy of /private/etc/sudoers
Run: cp /private/etc/sudoers\~orig /private/etc/sudoers
Fix permissions by running: chmod 440 /private/etc/sudoers ; chown root:wheel /private/etc/sudoers
Move any files in /private/etc/sudoers.d/ away from there
Test out sudo in another terminal
Don't forget to exit this shell to prevent inadvertently running commands as root when you don't mean to

Now running sudo should work again.

Next step is to check the differences between the old sudoers file (you copied away in step 2) and the current one and add those changes step by step back to /private/etc/sudoers or /private/etc/sudoers.d/, each time running a command using sudo to check if the change breaks it.

In my case, I had specified a nonexistent group in the sudoers file. Correcting that fixed my issue.


Can't see "My Music" albums on iPad after resubscribing to Apple Music

Turning on 'iCloud Music Library' in Settings solved the problem.


Spotlight "Indexing and searching disabled." message in terminal on OSX. Why?

FINALLY!! I got it working again!

Heres what I did:

In terminal I ran:

locate .metadata_never_index

No database existed, so it prompted me to run:

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

It ran for a few seconds and I retried the locate command.. it found it in my root. I deleted it and tried turning on spotlight again, but still got the "indexing and searching disabled."

I checked the permissions of my SSD and my account wasn't even listed. I added myself to read/write. Then ran:

sudo mdutil -i on /

terminal returned "Indexing enabled."

Lastly.. I went to system preferences>spotlight>privacy.. dragged my SSD then removed it to reindex. 40 minutes later.. everything is back to normal! It had been a year since spotlight worked on my MBP. Ohhh the struggles I faced trying to find emails/files.

Thanks for the tips and suggestions everyone and Google!


Apple Script - send "Message (with date/time?)" to imessagebuddy

Here is an example of how to add the time to the message:

set theTime to time string of (current date)

tell application "Messages"
    set iMessageService to 1st service whose service type = iMessage
    set imessagebuddy to buddy "mymessagebuddy@domain.com" of iMessageService
    send "Message " & theTime to imessagebuddy
end tell

In the OP you said "to include the current time" but in your comment you said "to have current date/time", so if you want the latter, then use the following example instead:

set theDateTime to (current date) as string

tell application "Messages"
    set iMessageService to 1st service whose service type = iMessage
    set imessagebuddy to buddy "mymessagebuddy@domain.com" of iMessageService
    send "Message " & theDateTime to imessagebuddy
end tell

By the way, if you plan on using AppleScript it would behove you to read the AppleScript Language Guide. You can get to it from: Script Editor > Help > Show AppleScript Language Guide

For reference to time string, it's shown under date under Class Reference in the AppleScript Language Guide.

For reference to current date, it's shown under Commands Reference in the AppleScript Language Guide.


Smart Keyboard draining 2016 iPad Pro battery

Apple offers extended three year repair program for iPad Pro Smart Keyboards w/ sticking keys & other ‘functional’ issues.

Your Model Smart Keyboard for 9.7-inch iPad pro (Early 2016) is covered by this.

  Apple will also be issuing refunds to customers that previously paid
  for a replacement for keyboards eligible under the new program.


Synced video in photos app doesn't load in airplane mode

Apple Community says this:

Double click your home button and clear all open apps by swiping up. Then let’s go to settings>iTunes and app store and tap your Apple ID and sign out. Restart your device and then sign back in. Once done make sure wifi is turned on and go to the downloaded video application and make sure your downloaded content appears. Then go to airplane mode and check if the content still plays. Then clear app again and relaunch and test whilst still in airplane mode.


Can I disable window resizing from the top edge of the window in Lion?

Lion has (at least for now) the following preference keys:

AppleEdgeResizing (boolean)
AppleEdgeResizeBorderSize
AppleEdgeResizeCornerSize
AppleEdgeResizeCornerSizeNW
AppleEdgeResizeCornerSizeNE
AppleEdgeResizeCornerSizeSW
AppleEdgeResizeCornerSizeSE
AppleEdgeResizeExteriorSize

These can be accessed either with either the following commands:

defaults read DOMAIN KEY
defaults write DOMAIN KEY VALUE
defaults delete DOMAIN KEY

Where DOMAIN can be either -globalDomain to affect all apps, or a specific app's identifier e.g.: com.apple.TextEdit

Or edit ~/Library/Preferences/.GlobalPreferences.plist or other .plist file thereabouts, in Xcode or some other Property List editor.

Apps need to be restarted before they'll recognize any changes.


You will be asked for your Apple ID and Password.  Often, this is the same thing as your iCloud account but it doesn't have to be.  If you run into problems, you can contact Apple for assistance.

You can follow these instructions for how to update your iOS device.


Is it safe to update to OS Catalina while running Logic Pro X version 10.4.6?

All the negative reports I could find center around Catalina's lack of support for 32-bit code and heightened security that may affect 3rd party FX, plugins, and other software and hardware some folks use to supplement Logic Pro X.

If you use 3rd party software or hardware, check with the developer or manufacturer to make sure it is compatible.

ProToolsExpert has a searchable Ultimate Pro Audio Guide to macOS Catalina Compatibility chart with 152 developers listed.


Macfusion - how can I auto connect on boot?

Depending on your version of MacOS, you may be able to use Lingon to create a startup script that runs after you login to your mac.  You will likely need to figure out a command line equivalent to whatever you currently do in the finder to connect to a server.  Run that command in the terminal to verify it works, then create a script using Lingon to execute the command immediately after you login to your Mac.

The project used to be hosted on SourceForge, but "as of 2009-07-06, […] is no longer under active development". See new link above.


Assuming I understand your question correctly:

It all starts with in the origin.

In your case it is the Gmail.

First go to Gmail and settings and disable the "show in IMAP" for Send messages.

It looks like this:

Now Gmail will not longer send you the send messages.

However, next you need to do is also to tell the Mail.app not to save the Send mails on Server.

That is done here


RAM - Improving performance on MacBook 13Inch Early 2011

I have the MacBook 13" Late 2011 and this is what I upgraded to and it works perfectly fine and so much faster!

This set is specifically made to work in Apple MacBooks.

Crucial 8GB (4GBx2) - Amazon


I don't think Apple has a way to delete things or let you delete things - this is an iCloud general feature / design goal.

It's up to each developer to clean things (or ask you if you want things cleaned) when you delete the app or use the code in the app for resetting things.

You'll need to work directly with that vendor unless Apple makes a change going forward.

See:

Can I delete an iOS game and retain my progress?
How do I delete data for one game in the iPad Game Center?


Using Boot Camp Support Software 4.0.4033 to install 64 bit Windows 7, 8 or 10

This has been tested for Windows 7, 8 and 10.

These are the instructions for a Windows 7 Professional Service Pack 1 (64 bit) installation. Here, I assume the Boot Camp Support Software 4.0.4033 has been copied to a flash drive. The instructions were adapted from the originals given here.

Determine the drive letter of your flash drive, by inserting the
drive in a USB port on the Mac. Below is an example of the expected
popup. This image shows F: as the drive letter. Your drive letter my
be different. You can close this popup.

Open a Administrator Command Prompt window by left clicking the
Start  button, left clicking All Programs, left
clicking Accessories, right clicking Command Prompt, and then
left clicking Run as Administrator. When prompted to allow changes,
click on Yes. The window should appear as shown below.

Assuming F: is your flash drive, change your working directory by
entering the following command in the Administrator Command Prompt
window. Be sure to replace the letter before the : with the drive
letter of your flash drive.

cd  /d  F:\Drivers\Apple

In the Administrator Command Prompt window, enter the following
command to start installing the Boot Camp Support Software.

BootCamp64.msi

Follow the onscreen instructions.
Installation can take a few minutes. Don't interrupt the
installation process. When installation is complete, click Finish in
the dialog that appears.
A system restart dialog box appears. Click Yes to complete the
installation.


Time Machine automatic backups fail, manual backups succeed

Not a real answer, more a workaround to have your backups automatically despite this bug. That worked for me (see this answer of my own question).

Open a command line and say tmutil destinationinfo. Copy the ID you see in the ID line (a long suite of alphanumerical characters and -'s).

Now type tmutil startbackup -d TheID replacing TheID by the ID you just noted before (so something like tmutil startbackup -d 11326F32-D5BA-4FE8-83FB-E9CBD8F6FF2D but with an other ID). Open Time Machine Preferences and check if the backup is running. You may have to wait a few seconds before you see anything.

If that works, you can add it to your crontab so it is automatically run manually every hour (sounds contradictory?). Type crontab -e on the command line to edit your cron jobs, and add the following line in it:

0 * * * * tmutil startbackup -d TheID

again replacing TheID by the ID of your backup. Next hour check if anything is happening. You can replace the leading 0 by the minute you want it to be run.


How to shut down an iPad stuck on the Apple logo?

Disconnect the iPad from the power supply if it's charging. Hold the power button and the home button at the same time until the screen gets black (takes about 3-5 seconds). Then release immediately. iPad should be turned off. If it's turning is back on again then either you were too slow releasing the buttons or something else is causing iPad to reboot.

In this case, the easiest way is to let it run out of battery.

Other options:
If you would like to fix the error, then connect iPad to iTunes and hold the power button and the home button until you see the iTunes logo. Then follow the instructions on iTunes.


It sounds like the border is a part of the PDF document itself, in which case it's not an issue with printing preferences. The easiest solution is to crop the PDF in Preview, then print it.
Instead of File > Print, perform File > Export as PDF (or Save as).
Open the PDF in Preview and crop it.
From the above Apple support article:

If the Markup toolbar isn’t showing, click the Show Markup Toolbar
button , then click the Rectangular Selection button .
Select the portion of the page you want to keep.
Click the Crop button in the Markup toolbar (or use the Touch Bar).

Once you select the portion, you can alternatively the shortcut command + K to crop it as well.
Once you are finished, save the PDF if you wish and print it.


Drive with Final Cut Pro video files on it is dying, need to point FCP to the backup drive

Reconnecting the original and even proxy media is very easy in Final Cut Pro.

Disconnect your oldDrive
Connect your newDrive
Open the Final Cut Pro X library and open the media tab. All media which can't be found will look something like this:
In your top menu bar go to file, next reconnect media and then select original media.
Search for the files on the newDrive.

This Apple support article covers this also very well.


Can I restore a backup and then begin backing up to a new name?

They are still two separate devices. Restoring from a backup does not change that. So the next time each one runs a backup, it will be done separately, even if the devices have the same name. (That said, I would suggest for ease of identification, you change the name on one.)


How do I forcibly shut down a specific application at a pre-determined time?

You can quit apps with AppleScript, such as:

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

Therefore, you can add the following to your crontab (env EDITOR=nano crontab -e) to quit an app without saving at 17:30 every day:

30 17 * * * /usr/bin/osascript -e "tell application 'Safari' to quit saving no"

If you want to quit without saving, you can remove the saving no.
Alternatively, you can kill the process with /usr/bin/killall Safari.


How can I retrieve a saved WiFi password from iOS / iPadOS on secure hardware?

One trivial solution is to enable keychain sync for iOS 7 and have the keychain contents sent to iCloud.

Then, on a Mac, enable keychain syncing in the iCloud preference pane in system preferences and use Keychain Utility to inspect the iCloud keychain.

Once above step is completed. Open Keychains on Mac and look for iCloud on the right panel. You should then see all the SSID you have ever saved on your various devices and computers synced through iCloud.


El Capitan: every app crashes when browsing or saving file

I know this is old, but here are my two cents:

I experienced the exact same issue you describe.
What resolved it for me was to delete the Finder's preferences plist file

~/Library/Preferences/com.apple.finder.plist

Then log out/in, or reboot, and problem solved.


What is the username of the macOS recovery?

macOS recovery doesn't really have users or passwords. Well, technically it does have one user account: root. But Recovery's root account doesn't have a password; when you start in Recovery mode you're automatically logged in as root.

If you need to enter a password to get into Recovery mode, that's probably a firmware password. If a firmware password is set, you need to enter it in order to invoke any alternate boot mode (such as Recovery). This password has nothing to do with any user name or account, and has no use after the computer has started up.


Cannot use VPN after install Charles web proxy

Fixed.

Charles use itself as a web proxy to sniff on every request passing through the network interface. Besides turn off Charles in its proxy settings, you still need to check if the web proxy is turned of in your mac's network settings.

As every VPN has its own proxy settings, don't forget to turn off web proxy in VPN.


How to install old iWork on a MacBook with MacOS High Sierra?

Didn't you have any problem installing from cd in High Sierra?
Since Yosemite it says the new OS does not support installation of the old iWork 09.

My thinking is you have to (re)install Mavericks, install iWork from cd and then upgrade to Yosemite to make this work.


How to change the appearance of volume & brightness overlay in dark mode?

I tried to use bundle id com.apple.OSDUIHelper to exclude OSD from the aqua-appearance fixup, but with no luck – like it ignores per-app defaults.
However I've got what I wanted with following steps:

killall -9 OSDUIHelper; defaults write -g NSRequiresAquaSystemAppearance -bool NO
Perform some action to show OSD, so it will started in normal configuration
defaults write -g NSRequiresAquaSystemAppearance -bool YES

After that OSD becomes normal until reboot.
I didn't find any way to trigger OSD from a shell script to automate these steps, so I made the app:
https://github.com/dstd/osdui-aqua-fix/releases/tag/v1


Servers are busy, try at another time of day, not when America is awake & the EU are all home for dinner.

I got mine in about 40 mins, at around 8am, GMT

It has nothing to do with what DNS servers you use. Once you're connected, DNS is not even relevant. Your own ISP's DNS would normally be faster anyway, as it's [theoretically] optimised for your connection.

Rebooting your router/modem & all network hardware, then your Mac may help a bit, fresh everything up.


If you really want to make your old mac happy I would say the best thing is the SSD. It will make it feel faster than it was out of the box and that is because it is. A RAM upgrade isn't really necessary and I would suggest investing that money over into a new battery. If the unit hasn't been used in a good long while chances are your battery will be dead or inches away from death.

A new battery (directly from Apple) will be guarantied for a year and will give you a notebook to take with you (using an SSD instead of a HDD also gives you a few extra minutes in battery life.

CleanMyMac is not recommended! Instead install a new OS on the SSD and then using an external enclosure transfer the data via Migration Assistant. But always make sure you have a backup of your files.

Honestly I am more of a fan of keeping things fresh and installing 3PP programs fresh too and manually dragging over your documents, pictures, music, etc.


Capture screenshot of one screen with Shift-Cmd-3?

To capture one window

⌘ Command +⇧ Shift+4+Space and click on the window you would like to capture. The window to be captured will be highlighted.

Other screenshot shortcuts

⌘ Command +⇧ Shift+3: Screenshot entire screen
⌘ Command +⇧ Shift+4: Screenshot a selected area. Click and drag to select an area to screenshot.
⌘ Command +⇧ Shift+4+Space: Screenshot one window or menu.

To save a screenshot to your clipboard and not Desktop, use Control in addition to the shortcuts defined above. When a screenshot is saved to your clipboard, you can paste the screenshot into a document, spreadsheet etc etc.

Apple provides an article on taking screenshots here: How to take a screenshot on your Mac


Can no longer download podcasts to iPhone

Which version of iOS are you running? I've just checked and it's fine for me so it's not a server side problem. The obvious recommendations are try rebooting etc. If you go into iTunes can you access any podcasts from navigating through rather than from the iPod app?


How to use Mac Mini as an APNS server for Push Notifications

I formatted the Mac Mini and reinstalled OSX 10.10, as deleting all files for OSX Server simply just doesn't work.

I followed the following tutorial : Mac OSX Apache Setup with PHP

Note: To make your Mac Mini a web server, don't install OSX Server at all, it's mostly designed for company workspace to setup calenders, VPN, email servers etc.


You should search for info about your mac on Everymac.com. I searched there for your mac and assuming I did it right I found this brief comment.

  Apple officially supports a maximum of 4 GB of RAM, but third-parties have determined that it actually supports 8 GB of RAM running Mac OS X 10.6 "Snow Leopard" and 16 GB of RAM running OS X 10.7.5 "Lion" or higher and the latest EFI update.

Sounds like it depends on which system you are running. I suggest you go there and see what else you can find or go to OtherWorldComputing or here  which reports they sell upgrade kits for your specific Mac.


The Mac mini (mid 2010) is extremely finicky accepting RAM with a faster clock-speed (some work, some don't). You must use 1066 MHz or buy a pair that is known to be free of issue. For some reason that particular model was extremely sensitive to any discrepancy in RAM (many posts on the internet regarding its inability to run under these conditions).

For what it's worth, the new Mac mini (mid 2011) do not suffer from the same problem, accepting higher clocked RAM without complaint.


How to stop the Anydesk application from opening at startup?

After several attempts I finally found the file that is created during the installation process. So to prevent AnyDesk from starting at login, you need to delete the file,

/Library/LaunchAgents/com.philandro.anydesk.Frontend.plist

That solved my issues with autostarting AnyDesk at login.


How do I delete my number from iMessage on send and receive from my iMac?

Open the Message app first before doing the following:

To remove your phone number from the Messages app in OSX, you need to change your Messages preferences: Command+,

In the Preferences box, click Accounts, select your iMessage account on the left, and uncheck your phone number on the right.


Does T-Mobile's network in the US allow an iPhone 3GS work as well as the iPhone 5?

No He will be stuck on IOS 4 most popular apps have support for ios5 or higher
I have a 3g 16gb too old espically for a newbie. Get the 3GS unlocked version if you want to be cheap/ most bang for bucks. He wil be stuck on EDGE until Tmobile finishes adding 3g Support for unlocked iphones. They have done a few cities google which ones
16/32gb 3GS is the best in my opinion. Favcetime and stuff is impossible over 3g unless you can find a ip4 off contract for sub 200 dollars then get tyhat i used  4 different iphones on tmobile 2g 3g 3gs ip4 been with them since 2001


How can I screen share into a remote coworker's Mac?

There is a long list of options, I'll just mention a few

you can both set up an iChat account and use screen sharing there
both parties can install (and log in to) Skype which provides screen sharing as well
install TeamViewer on both machines

In your situation I would probably go with the TeamViewer option.


My guess is that it's launching, then crashing or erroring out in some form. Try sudo launchctl list com.apple.metadata.mds, and look at the PID (id of currently running process, probably 0 since it's not running) and LastExitStatus (which would be 0 if it exited successfully, but may be something else in this case). Also, look at /var/log/system.log (with either Console.app or 'tail') and see if it holds any clues. Also, look in /Library/Logs/CrashReporter for any relevant reports.

As for possible causes: if the logs don't tell you where the problem is, my first guess would be a broken mdimporter plug-in; I'd remove everything (temporarily) from /Library/Spotlight and ~/Library/Spotlight. Also, check /System/Library/Spotlight, and make sure these are the only mdimporters there:

Application Archives Audio Automator Bookmarks Chat CoreMedia Font Image MIDI Mail Notes PDF PS QuartzComposer RichText SystemPrefs iCal iPhoto iPhoto8 vCard

Another possible cause is a badly corrupted spotlight database. If removing suspect mdimporters doesn't get it started, try dismounting everything but the startup volume (& if that solves it, remount them one at a time and see which kills it). If that doesn't do it, try removing the existing spotlight database with sudo mv /.Spotlight-V100 /.Spotlight-V100-disabled (I'm not certain how thoroughly sudo mdutil -E / wipes out the old DB, but renaming it should force a full rebuild).


Can I use a whiteboard marker to write on my thunderbolt monitor?

Dry erase markers have organic solvents in them which may cause damage to the optical coatings on the display's glass face. Also, depending on the coatings, it may actually be difficult to leave visible lines with a marker. Without details on the display construction, it's hard to know without trying. Given how bloody expensive the things are, I wouldn't risk it, but I won't say it's impossible.


Increasing the stack limit in OS X Yosemite

One way to increase the stack size is to use ulimit:

shell> ulimit -s new_size_in_kb

Just keep in mind that there seems to be a hard limit on how big the stack can be on OSX and that limit appears to be 65532 kb:

shell> ulimit -s 65533
ulimit: value exceeds hard limit
shell> ulimit -s 65532
shell> ulimit -a | grep stack
-s: stack size (kbytes)             65532

Also ulimit -s is temporary and resets once the terminal session ends.

If you want to make sure that the stack is increased for every terminal session, you could put the ulimit -s command in your .zshrc or equivalent.


AppleScript Text Delimiter for most recent text

There are a number of options to enable you to run a regex search in Applescript, which is probably the easiest way to do what you're looking for. The below code is written using Satimage, but you can also use any of the other options with the same regex string.

set regexStr to "(?<={\n)[^{}]*(?=\n}[^}]*\Z)"
find text regexStr in dataBackupFile with regexp and string result

Given the text you provided, this would return:

demo demo demo
demo demo

For completeness sake, I'll just break down the regex:

(?<={\n)[^{}]*(?=\n}[^}]*\Z)
(?<={\n)                     - makes sure the match is immediately preceded by {\n
        [^{}]*               - matches as many non-brackets as it can (your string)
              (?=\n}[^}]*\Z) - makes sure the match is immediately followed by a
                               close bracket, with no more brackets between it and
                               the end of the file

Edit: I just noticed that your example text has been edited by someone else since you first posted. If you actually meant that it's all on one line separated by spaces, you should replace the \ns with spaces.


Checking for malware and verifying a program is not a malware

Checking for malware is a complex thing. Something that might be a dangerous operation for a program to make (like deleting the entire contents of your hard drive), might be an unintended action (making the program malware), or it might be a feature of the program and exactly what you meant to do.

The way OS X generally decides if something is "unsafe" is by checking for a code signing certificate. Code signing certificates themselves don't guarantee that a program isn't malware. What they do is provide traceability back to the original developer that build the program, and verifies their identity through third parties. This is generally the same process used for certificate validation on websites.

That said, OS X still doesn't know if this is malware or not. It just knows that it can verify the program was built by someone who has verified their identity with a third party. Not have that verification only means the person who built it didn't have a certificate. It might still be someone you trust but the system can't tell.

Malware detection systems generally check code for copies of malicious code fragments that have been identified before. They will often also check to see if the code will do something it knows is dangerous (like deleting your entire hard drive, or accessing files it knows it shouldn't), but these things are still difficult to define.

The easiest way to avoid running malicious code is to use a virus scanner (I personally don't have one to suggest for OS X), but the best way is to do your own due diligence and only run code that comes from a trusted source. Be thorough about reading the address of any links you download software from and make sure they point the the website you think it should. Sometimes a software distributor will publish a hash (MD5 or SHA1/SHA2) of the file, which you can use the verify that the file you've downloaded is an exact match to that which was published.

In most cases, you will need to assess how much effort you need to take to verify that code is safe, which usually depends on how much is on the line. Are you running this code on your personal computer, or a hospital computer with patient records on it? Is this a computer you use for fun, or is the operating a nuclear power plant? These are things to consider when deciding how much effort you're willing to go to in order to stay safe from malware.


Set a custom dock icon for an application instance via Terminal

I don't have a complete solution for you, but from looking through the man pages, I think I kinda see how one might be crafted.

open(1) provides the --args option for passing arguments on to the invoked application.
emacs(1) will read values from an .Xresources file. One of the values it reads is emacs.iconName.
X allows you to select Xresources for a specific app by setting $XENVIRONMENT to contain the path of a file containing Xresource values. Also, X programs are supposed to support the -name and -title options for setting (I think) the name of an Xresource file to be loaded and/or the title of the application instance.

So I haven't tested this, but you might be able to do something like:

open -n -a Emacs.app --args "-name <resource-file-path> -title school"

Then, in the resource file, a line that says

emacs.iconName:<path-to-school-icon-file>

In another resource file, you'd have iconName set to a work icon, etc.

If you try this, I'd be interested in knowing how it works out.


White balance on the iPhone using the default Camera app is set automatically so you can't change it during or before you take the picture.

You can adjust it after the fact or you can use a 3rd party app that has white balance controls.


Dual hard drive setup in early 2011 MacBook Pro 17" (replacing optical drive with HDD)

UPDATE: I purchased a dual hard drive adapter for swapping with the optical bay, and installed it in my machine with the original 500GB SATA III that Apple shipped with the laptop. So far everything is working just fine, and I have two working hard drives in the machine (triple booting Lion, Yosemite, and Windows 7 via Boot Camp). The second HDD is displaying 6.0 Gb/s link speed, with a 3.0 Gb/s negotiated link speed. I understand that even though the HDD is SATA III, it's dropping down to SATA II speed; but so far there aren't any problems with the disk running, and I can boot Lion from it without any issues. Will post any further developments.


My ipad mini shows 66% power but won't charge

to answer one of your questions, No. you should be able to charge your iPad (or any iDevice) at any time.

Second, eliminate your wall unit as a variable. Try another iPad charger and see if it charges.

(note, USB 3.0 ports on Macs seem to be able to charge iPads, but I haven't discovered a PC port that will actually charge an iPad, don't rely on USB for diagnosis)

Finally, the iPad mini came out late last year right? It's still under warranty, back up if you can and setup an appointment at the apple genius bar and they'll swap out whatever item is not functioning for free.


Can I get my iPhone to AirPrint to my HP Officejet 6500 E709n

Its not quite AirPrint, but have you tried the official HP ePrint Home & Biz application?

I have it installed on my iPhone and it picks up and prints to HP Photosmart C4500 really easily. Also, installing this application adds a "open with" option when you are viewing a compatible document (pdf/doc/etc) in the web browser / email application etc. That means you just click "open with" then select Hp ePrint and it opens the document straight into the app ready for printing. you even get a print preview as you would printing from your desktop.


How to monitor which apps are "calling home'?

For a fully featured application to monitor other applications' network usage (all traffic, not just http), try Little Snitch.

EDIT

Apologies, missed the whole key "app on my phone" bit. There is no way for one process to inspect or intercept data from any other app, since all apps are sandboxed. The only way to get close to accomplishing this is through a jailbreak.

Otherwise, you would have to enable logging on your router, and the specifics on how to do this or how easy it is depends on your firewall/modem/router. Little Snitch may still be able to help you here if you have your Mac act as the wireless access point.


How to confirm that a cloned external hard drive is accurately cloned?

I've found a way to use some command line tools to recursively check hashes of the individual files. Here's my commands:

hashdeep -rel -r . > hashdeep-outout.txt

Hashdeep (which you can install via homebrew) will create a CSV file listing each individual file with various hashes including MD5 and SHA256. -rel lists the files with the relative path to the CWD, so I can run this command on both the old drive, and the new cloned drive, and the file names will be identical.

sort --field-separator=',' --key=4 hashdeep-output.txt > hashdeep-sorted.txt

This sorts the CSV file by filename (the 4th field), so that when I compare the two files (for the old drive, and the new drive) everything will be in the same order.

Then I use just diff to compare the sorted output files. If there is anything which was copied incorrectly, it will let me know because the hashes won't match up.


Instead of AppleScript, you could do it by adding a Run Shell Script module with this content:

for F in "$@"; do
    cp "$F" "${F%/*/*}/Folder1/Folder2/${F##*/}"
done

Edit the names of Folder1/Folder2 to match your actual case.

Choose As arguments from the Pass Input: pop-up at right where it says to stdin.

$@ stores the full path of all files selected. $F is each individual file's path as it is processed by the for loop. The weird ${F%/*/*} is the full path of the file minus the file name and its parent folder name. The weird ${F##*/} is the file name itself.

Test first for safety!

The other way to do it, which I think would be easier in the long run:

Open a terminal window.
Type cdspace and drag the folder containing your files into the window. (This will paste in the path to that folder. Be sure to include the space after cd before you drag-and-drop.)
Type cp *Video* ../Folder1/Folder2
Done!


OS X Lion Server multiple postgresql installs

The Homebrew postgresql formula tells you exactly how to do this when you install it.  Run brew info postgresql to have that information shown again.


Syncing Safari bookmarks across multiple Apple devices (iMac, Macbook pro and iPad)

iCloud syncs Safari bookmarks as well as Keychain passwords across your Macs and iOS device today. Simply sign into iCloud on your Macs, and configure both "Safari" and "Keychain" in iCloud settings in System Settings.  If you are having trouble getting this to work, check here: http://support.apple.com/kb/TS4001

In my experience, iCloud is not as quick, nor as persistent as is Google Sync. It can often take many minutes to get updates, and sometimes it seems to fail outright. This has been improving for sometime now, but IMHO, its not as good as Google.

Alternatives include Xmarks and LastPass.  XMarks syncs bookmarks across everything, whether you use Safari, Chrome, Firefox, Mac or Windows. Highly recommended. The Safari support is a little odd, due to Safari not having a similar plugin capability. Lastpass manages passwords for websites, recommended as well.

For your use case, of syncing across Chrome and Safari, ipad, etc: XMarks doesn't work on iPad Safari. You can use Chrome on iPad, and get your bookmarks synced from Chrome, but this doesnt work for Safari. To get Safari to share the same bookmarks:

On your Mac, Install XMarks for Chrome
Create XMarks account, and sync your
bookmarks
Install XMarks for Safari on Mac
Sign into your account, and
allow XMarks to overwrite your Safari bookmarks
Make sure iCloud is
syncing Safari Bookmarks
Ipad/iPhone Safari will now contain same
bookmarks as Chrome.


Detaching from Active Directory and keeping mobile accounts

There's a simpler way:

Log in as a different, admin, user.
Delete the account in question; select the option "Don't change the home folder"
Go to /Users and rename the home folder from username+deleted to the original, desired, short name.
Add a new local user with the same short name; you will be asked would you like to use the existing folder. Agree to this and it 'adopts' the previous folder, and fixes permissions. Nothing else to do.

Just tested this successfully on OS X 10.9


How to manage a large number of external servers mount paths?

You can create aliases and put those anywhere. In Finder, navigate to a shared folder or any path inside, then create an alias. You can create an alias by ⇧⌘-dragging a folder.

You can place this alias anywhere in any hierarchy, such as a folder in your documents, and when opening the alias, Finder will resolve the alias and connect to the relevant server.


Which memory speed for an early 2008 Mac Pro?

According to Everymac, your Mac Pro takes 800 MHz D DDR2 RAM. I'm not sure why your Mac is reporting 667 MHz, but try using the Crucial Memory Scanner and see which they recommend for your specific system.

As far as mixing RAM, it can be done, but it isn't really recommended. From a question on Super User:

  When different speed RAM modules are used, all of the RAM should clock to the speed of the slowest module. Many times, I've found that mixing RAM speeds sometimes causes system instability. I've had plenty of cases where RAM sticks that tested just fine alone wouldn't play well together. So I strongly recommend that all of the RAM installed in your computer be of the same speed.


defaults write com.apple.finder ShowSidebar -bool false; killall Finder

ShowToolbar -bool false didn't seem to work.


Need to Back Up a MacBook that Won't Turn On

Can you restart into Recovery HD? If you can, then you should be able to copy the HD onto an external HD using Disk Utility.

If you can't do that, but have another Mac available, you can restart into Target Disk Mode, and connect the two Macs together using a Thunderbolt cable. On the other Mac, your HD will show up as an external HD, and you'll be able to back it up.


Can't access the startup manager from boot

Are you using a wireless keyboard? To boot from USB  you will need a wired keyboard.

From Safe Boot Mode, or even from Recovery Mode, you can try to undo recent changes in the system, like the installation or removal of a kernel extension related to the graphics card. If that graphics card is one of the officially supported models, you can also  try to reinstall the operating system from Recovery Mode, without erasing the disk.


Error : unknown file system while trying to install Debian on my Mac mini

I was able to reach the point in the installation process where I needed to create partitions to install Debian. This partitioning was part of the Debian installer. I did not encounter the same problems you have reported.

I am not sure why you are using rEFIt and/or rEFInd. I did not need to.

Some of the steps I took:

I burned the file "debian-mac-8.6.0-amd64-netinst.iso" to a RW DVD
using the Disk Utility application. The OS X was Yosemite. I assume
Snow Leopard would work the same.
I did not need rEFIt or rEFInd to start the installation. I just
restarted the Mac and held down the option key to invoke the Startup
Manager. Next, I inserted the DVD and waited for the DVD icon labeled
"EFI boot" to appear. Finally I select this icon to boot from.
I choose the "Graphical install" option when prompted.
My connection to the internet is hardwired, so I did not have to
configure wireless settings.
The installer did not have the software for Broadcom wireless
hardware in my Mac. I instructed the installer to bypass this
problem.

Perhaps you could modify your question to include the output from the following Terminal application commands. These commands will not change your Mac. The commands just give me a better understanding of how your drive is partitioned.

diskutil list
sudo gpt -r show /dev/disk0
sudo fdisk /dev/disk0


Press and hold the power button for several seconds and your Mac will power completely off. This should only be required in the most extreme circumstances. Normally, you should shut down your Mac by clicking on  the Apple icon in the upper left corner of the menu bar and selecting Shut Down... from the drop down menu.

Your applications are resuming when you log back in because you're telling OS X to restore their state when you shut down.

When you shut down or log out make sure the Reopen windows when logging back in option in the shut down window is UNCHECKED. Like this:

This will prevent OS X from saving the state of open applications and restoring them when you log back in.

You should also check your log in settings to make certain you aren't starting programs as login options. Open System Preferences and click on the 'Users & Groups' icon. Find your name in the user list and click on it and then click the Login Items tab. Remove any applications you don't want to start on login from this list by selecting the application and clicking the - button at the bottom of the table. Like this:


How to enable hardware virtualization on MacBook Pro 2020 M1?

Finally after a few day's I find a way to install windows on M1 Mac.
I find a website that tells you step by step how to do it.
If u are interested on that there is a link for the Website below.
https://forums.macrumors.com/threads/success-virtualize-windows-10-for-arm-on-m1-with-alexander-grafs-qemu-hypervisor-patch.2272354/


An "Untitled" app icon is created on iPhone home screen after restart even after deletion

The procedure will require for you to SSH into your device.

Navigate to "private/var/mobile/library/webclips" and delete any clips (folders) entries.

By deleting these entries, it will eradicate the untitled icons appearing on your springboard.


password built in an app for restricted download?

You will have a very hard time getting the app approved is my guess, but you can always try.

It's not clear why you aren't using the newsstand functionality - and that will certainly be on the reviewer's mind when they are deciding if the app store needs another app added to the pile.

Technically, you can offer apps that require payment - see HBO Go, various major league baseball apps, but they all either have a free period to explore the paid content or significant free capabilities to justify being available on the app store.

Unless you can show huge value to some people, you'll be facing a hard sell once it's time to get it past review. If you can, start by submitting a test app to the beta testing review using Test Flight. That will only cost you $100 and the time to develop the initial version of the app.

From there you will have a dialog with the review team to judge if or how they will respond to your specific app.

All the above goes out the window if you are selling the app B2B and your purchasers are only VPP businesses. Then you have a great business model and chance for success selling a custom business app.


How smart is iTunes or iPhone's shuffle function?

This has been a point for discussion for a very long time!

Here's a great article looking at this exact issue - How Much Does iTunes Like My Five-Star Songs? Bear in mind this is from 2005 but I see very similar behaviour to what is described here.

The standout image for me is this one:

It shows pretty clearly that shuffle does use rating in determining which song to play. I find it strange that mid-rated songs are much more likely to be played than high-rated songs.

AskDifferent user Ian C. did some interesting experiments last year and found that the appearing non-randomness of shuffle is probably due to the algorithm re-using the seed rather than being completely random.

The meaning of this is that shuffle is not truly random, only pseudorandom. As this Random Seed article (Wikipedia) explains, having the seed used in a pseudorandom process will allow you to recreate the same "random" results. True randomness is actually very, very hard to get. (While working on a mobile phone at Siemens years ago a doctor of mathematics had to be brought in to write the random function - the ordinary programmers weren't considered qualified, and the C library function considered inadequate.)


I have a keyboard that always comes up at unrecognized. Can I disable osx from telling me?

The solution should be a proper kernel extension provided by the vendor or someone else.

I can tell you what can't help: ControllerMate, KeyRemap4MacBook, Secrets or some other utility for hidden settings, nor USB Overdrive last time I checked.

You could try to ask around those devs if anyone wants to get famous a little.

My present incarnation of that issue: some Logitech and MS mouses(!) manage to trigger that dialog! Logitech even admits it, saying 'just dismiss it'. The drivers they provide are not totally satisfying yet, to quote Colonel Panic's words.


How can I Open Multiple Customized Terminal Shells?

Add this to your ~/.bash_profile if you use bash or ~/.zshrc if you use zsh, changing the content of the COMMANDS array:

function openterms() {
    COMMANDS=("source bin/activate" "add another here" "continue likewise")
    for command in $COMMANDS
        do osascript -e \
        "tell application \"Terminal\" to do script with command \"$command\""
    done
}

Now calling openterms in a shell will open all the other shells you wanted.


4K 60hz works on iPad Pro, not on MacBook Pro

On you MacBook open the Display Preferences. Hold the Option key and select the “Scaled” radio button instead of “Default for Display”, you’ll see even more resolutions for you to pick from.


No, it's an iOS application.  It will not run on OS X.

To read DRM-free e-books on your Mac, there are 3rd party Apps like Calibre. But even they can't read the DRM-encrypted books from the iBooks store.


Completely remove an application and its data on iOS 8

No, there is no other ways of erasing app data. As a developer you can't save data out of your bundle, and when you delete an app on your device, all bundle content is deleted.

Regarding the logged issue, one posible answer may be that the app is identifying your device and saving your configuration on internet. To ensure that is your case, you can delete and reinstall the app, turn off wifi and celular data just after install and without open the app. Then open up and check if your info is there.


Any way to make symlinks or aliases resolve over a network with macOS?

So the answer is that both aliases and symlinks are both respected over network so long as the a share is mounted that contains the path to the original file in Finder i.e now has an eject button.
In my case I'd symlinked from an SSD to a HD, and while the SSD share folder was mounted, I had not yet browsed to any place on the HD so it was not mounted.


Mac OSX Lion: Reverse scroll on only mouse

You could install a third party mouse prefpane or driver that lets you configure your mouse(s); USB Overdrive is one.


You can't directly print from an Apple TV to a wireless printer.  I'm not aware of any apps that do this, either.


How far can one go with an app before having to pay for the developer license?

You'll need to sign your binary before submitting it for review. In order to sign it, you'll need to have a paid developer account.

This also is valid for TestFlight. From Apple's page on TestFlight:

  Apps made available to external testers require a Beta App Review and must comply with the full App Store Review Guidelines before testing can begin. A review is required for new versions of your app that contain significant changes.

Keep in mind that it's not a "license" for one app. There is no real limit on the number of apps you can develop and submit with one developer account.


What is the quickest Mac OS X app to use to remove the background of an image to make it transparent?

Just selecting an area and hitting delete just as you do with the Alpha tool should do it fine.  I tend to get a good outline with the alpha tool, then zoom in and use the lasso selection tool to draw around any stray pixels - remember to complete the lasso yourself, or it may complete it for you and if the end is not near the start, it will just draw a big line between the 2 across whatever is in its way.

You don't say what OS you are using, but I've done it this way in every OS since Tiger...


Is there any way I can animate switching desktops in Lion like it was in Snow Leopard?

@RadicalRaid, how I have used the various desktops is to categorize by the projects. so Desktop 1 would be all  project A stuff and Desktop B would be all project B stuff. And if there is a workflow involved then D1 would be process1 and D2 be process2 so on and so forth. That helps me to *focus on a *project basis rather than application basis. On the Mountain Lion Mission control the animations and gestures are much smoother and more organized so that really makes this type of focusing much easier and usable. Hope that helps.


How can I make sudo in 2 tabs ask for the password only once?

Try adding:

Defaults !tty_tickets

to /etc/sudoers. Tested on 10.13.6 (High Sierra).

From the man page:

  If set, users must authenticate on a per-tty basis.  With this flag
  enabled, sudo will use a separate record in the time stamp file for
  each tty.  If disabled, a single record is used for all login
  sessions.  This flag is on by default.


Is it a bad idea to have a folder and a notebook in a different folder with same name?

You can easily have files (and directories) with the same name in different directories. You actually already do, even a plain macOS installation contains files/directories with the same name in different directories) (e.g. /System/Library and /Library, and then ~/Library for each user account).


Generally Winebottler can handle licenses, but it works simulating the Windows API, so you have to fine tuning some components and DLL if something is implemented using non common Windows API / DLL, which it means that sometime license verification is implemented with esoteric business logic and may require some particular DLL which doesn't run well with the emulator.

In conclusion, I think that you have a good rate of success because your program is also running as limited edition, and I don't think that it could be a problem to have a test, at least it doesn't works and you can always uninstall it and recover your license key.

As far as I know usually licenses are provided per user or per machine. If you uninstall the software from your emulator you still have you license ready for another installation, maybe using virtualization software like VirtualBox or a Windows dedicated partition baked with BootCamp.


Is there an FM radio app for the iPhone?

There's no good public answer for this question. There is an FM radio in the iPod Nano, but leaving it out of the iPhone is clearly a design decision. There may have been issues with chip suppliers, but I suspect that had Apple wanted to have an FM radio in the device, those issues would have been dealt with.

It's somewhat more likely that Apple sees FM radio versus material it sells or rents via the iTunes Store as a zero-sum game. Consuming more of the former makes it somewhat less likely that the latter will be purchased.

Given the famous Apple disdain for focus groups and market research, it's probably most likely that someone in an iPhone design meeting said "Hey, who listens to FM radio?" and got no reply, so that feature was cut


Hide Everything For Cmd+Space Spotlight Search but Applications

The following is in response to conversation in comments with the OP.

With the Applications folder already added to the Dock and View content as set to List...

The following process will allow the Applications Dock Tile to be programmatically clicked with a keyboard shortcut as an Automator service. It requires an AppleScript application and the Automator service. This is done this way so as to avoid having to add every app that has focus when pressing the assigned keyboard shortcut of having to be explicitly granted Accessibility Access. Only the AppleScript application will need permission.

First create the AppleScript application...

In Script Editor add the following AppleScript code to a new document and save it as File Format: Application, e.g.: Click Applications Dock Tile

tell application "System Events"
    click UI element "Applications" of list 1 of application process "Dock"
end tell

Add the AppleScript application, e.g. Click Applications Dock Tile, to Accessibility in...

System Preferences > Security & Privacy > Privacy > Accessibility

Now create the Automator service...

In Automator:

File > New, or press: ⌘N
Select Service and click the Choose button.
Set the settings as shown in the first image below.
Add a Launch Application action.
Save as e.g.: Click Applications Dock Tile

In System Preferences...

System Preferences > Keyboard > Shortcuts > Services add ⇧⌘Space (press Shift-Command-Space) to the Click Applications Dock Tile service, as shown in the image below.

Note: A word about the shortcut you assign... ⇧⌘Space is offered as a suggestion however, you'll need to select one that doesn't conflict with any app that has focus when pressed. This may require a strange combination or a four character combo. YMMV

Now when pressing the set key combo, the Applications Dock Tile will be clicked and you can then type one, two or three letters, as necessary together, to highlight the target app and then press Enter to open it.

Another approach is to setup a folder with aliases to just the core group of regularly used apps, adding it to the Dock and modifying the steps as appropriate. Or use the following example AppleScript code to create a dialog box that will appear mid-center screen to choose from:

set myAppList to {"Calculator", "Calendar", "Contacts", "Dictionary", "DVD Player", "Firefox", "Safari"}
choose from list myAppList
if (count result) > 0 then
    set appToOpen to item 1 of result
    do shell script "open -a " & quoted form of appToOpen
end if

Just change the app names in the myAppList list to the core group of regularly used apps. The apps shown are just to show what it would look like. BTW If you use this as an app, add an activate command before the choose from list command.

You can type one, two or three letters, as necessary together, to highlight the target app and then press Enter to open it. Or use down or up arrow or click and press Enter or click OK or double click the target. Lots of options.

As a side note, if you use a program like FastScripts, you only need to create the AppleScript code as a .scpt not an .app and can assigned the keyboard shortcut in the Preferences for FastScripts. None of the other instructions apply unless you want to do it all natively without the use of third-party software.

Note that I am not affiliated with the developer of FastScripts, just a satisfied user.


AppleScript: Display alert or restart when application terminates/crashes?

Quite easily with an Applescript:

 repeat
    tell application "System Events"
        if name of every process does not contain "Dropbox" then display alert "Dropbox has crashed!"
    end tell
    delay 5
end repeat

You could replace "display alert" with tell application 'Dropbox' to launch ..to have it automatically restart if you desire.

Paste this into Script Editor. save it, and then you could add the script to your user's startup items for future use. The timing there may be a bit tricky though if the script starts before Dropbox - adding a delay 10 or something before the first repeat would solve this.

For future use, anything involving System Events is a great place to look for solutions to these kinds of meta-system-wide tasks.


I broke my PATH by editing my ~/.bash_profile and Bash will not recognize most commands

The simplest way is to restore from a backup e.g from Time Machine
However if the last backup is long enough ago that there is other changes you want to keep the you can edit .bash_profile

In terminal

In a terminal you can use the full path to the editors ( /usr/bin/emacs /usr/bin/vi or /usr/bin/nano) to edit ~/.bash_profile

e.g.

/usr/bin/nano ~/.bash_profile

Or you could open it with the default text editor (by default TextEdit) via:

/usr/bin/open ~/.bash_profile

In GUI - from Dock or Finder

But also you can do this from TextEdit (or other GUI editors) by File->Open and go to your home directory. Depending on if you have set Finder to show all  files or not show hidden ones (the default) you will either see .bash_profile in the list or you can hit ⌘ CMD+⇧ SHIFT+. which reveals hidden files in Open/Save dialogs. (the shortcut is from this answer)


Copy directory in server to directory in local machine

I got it to work with the help of @klanomath. It never occurred to me that the command is supposed to be executed without connection to the host@IP:. I just added -r and /*file. to the command to get all files in one instance.

scp -r host@IP:/home/username/chapter2/*.c ~/Documents/Projects


Terminal not running programs when pressing enter

It sounds like you have a single " or ' somewhere in your command line arguments. Maybe something like this:

echo It's a nice day

The command line is waiting for the matching " or '. That's what the > means.

You can fix this by quoting the entire argument with the other kind of quote:

echo "It's a nice day"

Or escaping the offending character with \

echo It\'s a nice day


OSX Server File Sharing - Allow users to change password?

I think you would need to make them actual users, and then give them screen sharing access to the system.

Or, you could give them SSH access and write some kind of shell script (perhaps embedded in an Automator/AppleScript application) that changes the password using unix tools.

Or, you could enable Apache server and write a PHP application that changes the password from a webpage. This is what I would do but it's only a good idea if you're capable of doing this in a secure fashion.


how do I "un-partition" my MACINTOSH HD into one big hard drive?

You could create another partition that's the size of the other half of the disk. Then, because you can't merge your boot disk, you could make a GParted live USB, boot from it, and merge it.


The easiest way to find out where all this data is, would be to go to the root of the partition in Finder, then hit Cmd+Alt+i. That will bring up the Inspector that should tell you that, yes, your partition has 80GB of data on it.

That's not particularly helpful in itself, but if you then select the folders contained within "/" that are visible ("Applications", "Library", "System" and "Users") you can see the corresponding sizes of those folders.

If "/Users" is huge, then it's possible that your data is still there but hidden for some reason. If it is, I would suggest rebooting to your Recovery Partition and resetting your User folder permissions and ACLs.

As a good measure, I would also repair your Disk Permissions from Disk Utility in the Recovery Partition too, just in case there's extra fluff getting in the way.


Unlocked IPhones 5s Gets locked after inserting SIM

If you can visit the check page at https://www.icloud.com/activationlock/ and get a clear status from Apple for your serial / IMEI then the seller is correct that they removed the Activation Lock.

That is but one of the "locks" that can cause you grief. The next lock is carrier lock. Some phones that were sold under contract are locked to a specific cellular carrier's SIM cards. You need to get a card for that carrier (it doesn't need to be active) and insert it and then connect to iTunes or WiFi or cellular (with active data service) to complete that unlock. Depending on your location - you may be able to request an unlock if the original purchaser didn't complete their contract. You may also need the original purchaser to interact with the carrier in some cases to request an unlock of this device.

Lastly are SIM locks - it doesn't seem you have this last issue from the descripton of the error. (My guess is the device is locked to a carrier or an iCloud account per above) Please comment here if you get a screen shot or more details on the exact wording of the error you see on screen or in iTunes when you connect the phone to a computer.


On iOS11, can I highlight PDFs and make notes with my finger?

Yes. iOS 11 allows markup with finger of PDF’s opened in the Files App or previewed. Works on iPad and iPhone.  No need for a pencil unless one needs finer control of drawing.

The example below is a markup of a webpage that was saved as a PDF using my finger.


MacOS Mojave 10.14.2 ignores network service order preference

Make sure you've changed the "set service order" within the "gear" submenu:


Yosemite install freezes on "Transfering your Information"

I had long wait as well.  Vaguely remember also at 20 minutes.  Also heard reports of similar waits on some of the podcasts that I follow.  I waited think a lot longer (than 20 minutes) and the install finished successfully.    As with all progress indicators, it is an indicator.   Sometimes things take longer.   In general would be very cautious to stop an OS upgrade in the middle.   almost certain to have things screwed up.


What is the best widget for song lyrics?

SaveThoseLyrics (Freeware)
It looks like it does the same thing as Harmonic.
LyricSearch (Free)
Allows you to search for lyrics by song. (Don't think this is what you are looking for)
Canto Pod (Free)
Allows you to search for a song, then add it to your iTunes library. (Don't think you are looking for this either)
LyricSearch and Canto Pod were lyrics widgets that I found. As I already said, I don't think that's what you are looking for, but I put them there in case you did want to search by song, rather than the current iTunes song. I hope this helps you out.


3.5mm mic: how to explain my MacBook that it's just a mic and not an headphone set

You do not have a microphone jack. You plugged your microphone in the headphone jack. This is why you can not select internal speakers.

Try one of these adaptors:

USB Type A:

https://www.amazon.com/customerpicks/Explore-usb-adapters-for-microphone/49a722acca2e7546619b

USB Type C:

https://www.amazon.com/CableCreation-External-Headphone-Microphone-Compatible/dp/B075YFDJ4Q

https://www.amazon.com/Headphone-Microphone-Plantronics-Sennheiser-Compatible/dp/B07KPLDJ18

Or get a USB microphone and skip the adaptor.

https://www.amazon.com/usb-microphone/s?k=usb+microphone

https://www.amazon.com/usb-c-microphone/s?k=usb-c+microphone

Perhaps the jack is for a headset (combination microphone/headphone).

There is this question: How to use a wired headphone AND a mic at the same time on the Macbook Pro Retina?. The answer would suggest the jack would accept a plug with two rings. This would allow the jack to be used for a mono microphone and stereo headphones. If this is your arrangement, then the you still would need a USB solution since using the jack would not allow the internal speakers to be used.

Although, you have to wonder. If you used the microphone jack and left the headphone jack unused of an adaptor, like the one shown below, then could the internal speakers be accessed? My guess is probably not.


I always start with SongWriter, it sounds like it would suit your needs perfectly. It includes tracks already set up for vocals, drums, keyboards and guitar.


Disabling startup items that run on their own

Day One seems to store the login item in /var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist:

$ /usr/libexec/PlistBuddy -c 'Print _com.apple.SMLoginItemBookmarks:com.dayoneapp.dayone-agent' /var/db/launchd.db/com.apple.launchd.peruser.501/overrides.plist
book 0(UserslaurTorrents
                        Day One.apContentsLibrary
LoginItemsDay One Reminders.app $4HXh?kld ????$A????H???A?1M?$5DF7A03E-A7FB-3E80-B61D-F10CD8BF7B5D?/?0c75ae904b0f99cb3a794e7360629c822a0f4a14;00000000;0000000000000020;com.apple.app-sandbox.read-write;00000001;01000002;0000000000641712;/users/lauri/torrents/day one.app/contents/library/loginitems/day one reminders.app??????D|@l 0 ? ? ? ?  0 <???????D

Changing this to true in that same file disabled it:

<key>com.dayoneapp.dayone-agent</key>
<dict>
    <key>Disabled</key>
    <false/>
</dict>


how to change my command prompt to show current working directory

You are using zsh so the definition needs to go to .zshrc and it's slightly different (see man zshmisc for all options). The equivalent for \h \w \$ in zsh is
PS1='%m %~%# '

%m The hostname up to the first '.'.  An integer may follow the %  to  specify  how  many
components of the hostname are desired.  With a negative integer, trailing components of
the hostname are shown.
%~ Current  working  directory.   If  an  integer follows the %, it specifies a number of
trailing components of the current working directory to show; zero means the whole path.
If the current working directory  starts  with  $HOME,  that  part  is
replaced  by a ~
%# A # if the shell is running with privileges, a % if not.


Speed comparison of iPhone 3g with iOS4 and iOS3?

Yes, it does slow down. It's more and more noticeable as time goes by.
Apple has acknowledged this issue and they are looking into it.

Here are tips to make it run smoother again. (This is just a solution that has worked for many people. This is not Apple's official solution. They are working on a solution.)

1 - Disable spotlight search.

Settings -> General -> Home Button -> Spotlight Search. Uncheck things you don't search for. Uncheck all is best I guess?

2 - Perform DHR (double hard reset)

To perform a Hard Reset, press and hold the Home and Sleep/Wake buttons on your iPhone simultaneously for 5 to 10 seconds. After a few seconds the Slide to Power Off notice will appear, ignore this and keep holding down both buttons. In another few seconds the device should abruptly turn off, followed by the Apple logo and a reboot. Now release the buttons.

If your iPhone remains powered off, wait about 15 seconds then boot the phone by pressing the Sleep/Wake button.

Do this one more time.

I think this is related to iPhone running out of memory (RAM). But that's just my guess.


Fast user switching affects color profile

Thanks for this very detailed post.  I have the same issue, and only a workaround, not a solution.

Workaround consists in going into monitor prefs, change screen resolution to a lower res, then get back to "optimal screen res", and then you original color profile is available for selection.

A bit tedious, but once done, I can fast-switch back and forth and the color setting will remain intact (until I leave either session).

Hope this helps.


Warning message when trying to change Standby mode settings

Based on the output of pmset -g, you have your system set to sleep after 2 hours, but the disk sleep timer is set to zero--meaning never according to the pmset man page. To correct the error, set disksleep to a value greater than zero but less than (or equal to) sleep.

Use something like the following with your preferred disksleep time,

pmset -a disksleep 45

to set disksleep to 45 minutes for all power situations.  You may want to adjust these times for when your MBPr is running on battery.  Set battery profiles with -b instead of -a.

I think you'll benefit greatly from the pmset man page. It's very clear and You'll probably discover something else that pertains to your needs there.


Go to Settings → Privacy and you can find a wealth of information and options available.

Location Services

This option shows you a list of all the apps that are using location information on your device, regardless of purpose.

There is a killswitch at the top allowing you to completely disable location services throughout the device, for both third-party apps and system services (available at the bottom).
Contacts, Calendars, Reminders, Photos, Bluetooth Sharing, Microphone and  Motion Activity

These categories are all very similar and give you the ability to grant/remove the permission from all apps installed on your device. System apps can't be prevented from accessing the data though—you can't prevent the iOS Photos app from accessing Photos for example, but you can prevent third-party apps.
Twitter and Facebook

These categories allow you to prevent apps' access to your Twitter and Facebook accounts, should you have logged in with these accounts on your device.
Finally, Advertising

This category allows you to limit Ad Tracking as well as reset your Advertising Identifier, which should be self-explanatory.

You can prevent automatic downloads by going to Settings → iTunes & App Store and disabling automatic downloads for the various categories, including updates.


Yes, this can be achieved solely with Preview.

Show page thumbnails by clicking Thumbnails from the View Menu.

Show the Edit toolbar, and choose the Rectangular Selection tool.

Select the rectangle that you want to crop each page to.
Select (⌘-click) all the pages that you want to crop in the page thumbnails.

The pages don't have to be sequential, and you can select all pages with ⌘A.
Click Crop in the toolbar.


Is the trackpad in the Mac Air connected to the keyboard?

I'm sorry to hear about your wife's MacBook Air; it's always frustrating when accidents like that happen. According to this step in iFixit's teardown of the 2013 Air, it appears that the trackpad is attached to the motherboard, instead of the keyboard:

Again, best of luck with the repair of the MacBook. If she can do without for a little while, waiting for a refresh in the line may be worthwhile, depending on the extent of water damage that isn't readily apparent (water damage can manifest weeks or even months after the fact.)


Capture audio correctly while capturing video calls on MacBook with earbuds

You're going to have to install something, macOS can't do this on its own - in fact, as far as I'm aware, no OS can do this on its own; they all need some kind of routing utility.
I haven't used all of these, so I can't list them in any kind of 'best' order.
My personal favourite & the only one I really use these days is…
Loopback - expensive for a one-trick pony, but like all things from Rogue Amoeba, it "just works".
Later edit
To make this list more comprehensive, Rogue Amoeba make several routing apps for slightly different purposes. Also check out Audio Hijack and SoundSource
All below are ones I'm aware of but haven't used. They're mainly freeware/shareware/donationware
iShowU  Audio Capture

iShowU Audio Capture is an extension to OS X used by iShowU Studio and iShowU Instant to record audio from your computer. This new-and-improved audio driver replaces Soundflower and provides a bunch of new features and improvements in order to make recording audio more stable and easy to do.

Jack Audio Connection Kit
Open source routing.
VB-CABLE Virtual Audio Device
New to macOS, has been around a while on Windows.

VB-CABLE is a virtual audio device working as virtual audio cable. All audio coming in the CABLE input is simply forwarded to the CABLE output.

Blackhole
New kid on the block.

BlackHole is an open source virtual audio driver that allows applications to pass audio to other applications with zero additional latency.

Sound Siphon Paid.
Seems to be a straight copy of Loopback.
Soundflower
The original… updated for Catalina.

MacOS system extension that allows applications to pass audio to other >applications. Soundflower works on macOS Catalina.

Soundflower used to be the go-to routing app for OS X but got less reliable over time. It was passed around between new owners for some time - initially Cycling '74, then Rogue Amoeba took a caretaker role for a while. It's now back in the hands of its original creator, Matt Ingalls. One essential part is missing compared to early versions, Soundflowerbed, which was the vital routing component. I haven't used it since the early days, when it was tough to set up but easy to work with once you had. Many people seem to struggle with the setup.


I fixed it by copying the Apple Color Emoji font from another Mac running the same OS version. You can find it in /System/Library/Fonts.