List All Files in USB device from /Volumes Shell Script

Since you only want find to act on USB block devices the following is an example of using information reported by System Profiler to get the Mount Point of any attached and mounted USB block device.  By doing it this way it doesn't matter what other mount points exist under /Volumes nor does it matter what the USB block device name is as it's ascertained from System Profiler not the ls command.

I've modified the code, once again, removing the compound command line as it not likely it would be run that way anyway and is easier to maintain in script form while adding the ability to handle spaces in the label name of the USB block device.

By temporarily changing the Internal Field Separator $IFS, adding IFS=$'\n' to the script will ignore the space(s) as a separator in the output of grep when passed to find.  So as not to mess with any code in the rest of your script I fist get the state of $IFS and then rest it afterwards.

In a bash script:

#!/bin/bash

_ifs="$IFS"
IFS=$'\n'
for p in $(system_profiler SPUSBDataType | grep -oE '/Volumes/.*$'); do
    if [ -n "$p" ]; then
        find "$p"/*
    fi
done >> filename.txt
IFS="$_ifs"

The system_profiler SPUSBDataType outputs info on the USB Bus and pipes it through grep to get /Volumes/$whatever e.g. /Volumes/USB Drive using -oE for the '/Volumes/.*$' which outputs /Volumes/ and everything after it to the end of the line, thus '/Volumes/.*$' will translate the fully qualified pathname of the mount point of any mounted USB block devices.  So whatever the USB block device is mounted as, it's assigned to $p (I picked "p" for path) and when used with find I added the /* after it so it would not output the dotfiles.  The if block is there to avoid any output if no USB block devices are mounted.


How stealthy is the stealth mode of the firewall? Does it increase security?

Yes. Stealth mode enhances your system's security. Stateful packet inspection is another crucial component of a firewall's prowess. It's also of note that Apple's firewall is powered by the rugged ipfw.

What Apple says is a concise summary of how stealth mode works, and if you aren't versed in IT security, a full-fledged explanation won't offer up much more as it's a complex system (TCP, or Transmission Control Protocol, which is just one element of data transmission itself is rather complicated and deeply layered).

The fundamentals of networking (aka transferring data on the internet) rely on protocols that establish connections ("handshaking" starts it all) and then relay of data (through things like TCP and UDP). ICMP (such as pinging or echo requests) are typically used to "probe" a target host (most often for quite valid reasons), identifying it on the network. Hackers use them to find their prey.

Firewalls work by planting themselves between the kernel and the TCP/IP stack (so at a very deep level) and watching the packets that run between those layers. In the image above, a system's kernel would be located between the ethernet driver and hardware. The firewall would sit right on top of the kernel. Firewalls need this deep level of integration to remain rugged and durable. If a firewall were implanted at a high level, say at the level of your browser, it would make it highly susceptible to attack. The deeper a process is located (closer to the kernel), the harder it is to gain access to it.

When a system runs without a firewall, the packets are allowed free access (in and out). If an echo request is sent, an echo response is loosed by your computer (think of it as a greeting; someone on the street passes you and says "hello," you smile and greet them in return). But when a firewall is operational, it steps in, like a member of the secret service, following its protocol. If it is told to deny requests, it will send a message to the machine making the request that it does not reply to echo requests. The machine gets a notice that their echo request was denied (or blocked). Naturally this doesn't give that machine much information, but it does inform them that someone is there.

Stealth mode, on the other hand, doesn't. The firewall watches the echo request come in, and instead of denying it, it simply tells your computer to ignore the packet. The machine on the other end, not only doesn't get any data, but doesn't even get a notice of rejection. It's as if their packet was just lost in the space. And that's indicative of either a machine guarded by a secure firewall, or a machine that doesn't even exist.

In effect, it's the equivalent of putting someone through to voicemail (denying the echo request) or simply disabling voicemail and letting it ring, indefinitely (running under stealth mode).

As with anything, a clever hacker can bypass these safe guards, but it does make their life a lot harder. And that's the key to security: making the hackers job just a little bit harder at every turn. That greatly weeds out the "script kiddie" from the die-hard, Lulzsec hacker.

Stealth mode cloaks you from those initiating traffic, but it doesn't make you invisible. Once a connection is established (either by you, or by something that was allowed to negotiate outbound traffic), you pop up on the grid just like any computer. So while sending ping requests may no longer work, there are still plenty of ways hackers could still establish a connection and potentially exploit your computer through a running service.


External monitor's (DELL U2415) refresh rate locked at 59.88 Hz (NTSC)?

I have the same problem with my MPB 2012. I have a DELL P2418D monitor and connected to Thunderbolt to Display Port. After hard time searching a solution I discovery that cable is the problem. My solution was buy a HDMI adapter from ICZI that supports 4k but my MPB 2012 need 2k and works very well with 60 Hz.


Can I run windows 10 on my MacBook Air via bootcamp without paying for a windows license?

You can legally install and run Windows 10 (But not Windows 8.1 or earlier) as a trial up to 90 days on your Macbook Air with less personalization features, an “Activate Windows” watermark at the right bottom and some reminders about activating Windows time to time. Only thing you have to do is to download an ISO from Microsoft from this link (make sure to choose 64-bit) and use Bootcamp to install Windows as usual. During installation, when you are asked for a license key, there will be a button at the bottom of the window (not really sure about position), which says “I don’t have a license key” or something similar. Press it and choose the type of Windows you want to install if asked. You will be installing Windows 10 trial if you have followed this correctly, but there is no legal way to use it for free forever with all features.

If you are installing Windows just to run one application, try Winebottler for macOS first.


What's the noticeable speed difference between these two Mac computers?

Having a look on everymac.com i see the following Geekbench measurements

MBP pro     32bit=9991/64bit=10823

Imac 2007   32bit=3216/64bit=3595

with this info i would say yes. by a whole lot..

I'm writing this info funnily enough on a 2007 imac 20 inch so i think its a good machine...and it still going strong but it has its limitations that become apparent as soon as you leave OSX 10.6 and go to 10.7 or 10.8...

So if you use your mac for lets say web browsing and light apps then it does its job... its memory limit is 6GB by the way...

But if you want to use it for music/video editing creating etc.. With current versions of suitable applications then i would say that would be a GREAT downgrade...

Also if its any help according to everymac.com:

MBP pro  estimated current price US$1200-US$1350

Imac2007 estimated current price US$750-US$850


I am still receiving emails on an old Apple ID address

On your Apple ID, there are three places where you can have an email set under Name, ID, and Email Addresses.

1.Apple ID and Primary Email Account - This is the email account that is associated with the user name of your AppleID. It is the email account that you enter when you log into your account or when you try to buy something on the iTunes store.

2.Alternative Email Addresses - These are addresses that you set up for your account that are also associated with your Apple ID. They are usually an @icloud.com or an @me.com. It is possible that the email is there, but you probably would have seen and removed it from there.

3.Notification Email Address - This one is towards the bottom of the page and may have been missed, especially if you updated on a MacBook or laptop screen. Your notification email address will be used in addition to your primary email address to notify you when changes are made to your account.

If it is not in any of these three places on your Apple Account, then you may need to get in touch with Apple Support.

You can also go to the mail settings and click off the notifications emails from Apple, that way they don't come to you.

One other possibility is that if you at some point in time had two Apple IDs or that someone else had your email on their account (family member, etc.), it could be possible that that one is still active and has the email you are receiving emails from on. So if you had a personal Apple ID and one for work or one for a sibling, maybe the email you do not want to receive emails form anymore is set there.

Best of Luck.


How can I share a Google Drive file to anyone on iOS?

If you're the G Suite administrator, you can control whether users can share their Drive files outside your organization. You can also set the default sharing options for new files created by users.

To allow users to share outside your organization to anyone:

Sign in to your Google Admin console.
From the Admin console dashboard, go to Apps > G Suite > Drive and Docs.
Click Sharing settings.
Under Sharing outside of organization, select ON. Users can invite people outside the organization to view, comment on, and edit their files.
Select the options according to what you need.

You can fine tune the sharing settings. Read more at the G Suite docs.


That is not the legitimate Apple ID website. Notice the lowercase l in the URL in place of an uppercase i. Not only that, the actual domain is something-verify.info rather than apple.com.

In this case appleld.apple.com is merely a subdomain, and since anyone can register anything as a subdomain on their own site, they should have kept that i instead of replacing it with an l. The URL might have looked slightly less suspicious.

Report this email as spam/phishing, and if you entered your credentials on that site, immediately head to the real appleid.apple.com and change your password.


This is likely because iOS 6 has Facebook and Twitter contact import. So, if you logged into your Facebook account on your iPhone, it will automatically go through your contacts and pull in information that it finds in their Facebook account.


Where can I access official AppleScript documentation?

Almost all of the Mac developer documentation from Apple exists in several places. That being said, you want the unofficial Mac OS X Automation guide put together by Sal Soghoian. He also has a fabulous book on the iBook store titled AppleScript 1-2-3.

Xcode is the tool that links into these libraries and allows you to search across the various user guides, developer guides, language specifications, code examples and such.

Here is Xcode (with 10.6 and 10.7 documentation sets) and a quick AppleScript search.

Xcode makes it easier to bookmark, search and use the documentation rather than just browsing in Safari since it will download the whole

Of the 232 matches in the System Guides - about 10 cover AppleScript in depth - the rest refer to how programs make themselves available to be scripted by AppleScript.


I actually found out that the cause of the issue was this line tabs 4 in .zshrc. This worked on very well for me on Linux using Konsole terminal. I had copied my code configs from Linux after switching.
Update:
I found out that MacOS terminal uses negative values to the tabs command instead of positive. So for example, for width of 4 spaces, it should tabs -4. On Linux, it should be tabs 4 to achieve the same.


Do Macbooks with protective cases fit into the BookArc Desktop Stand?

It works great with the Speck case, just go up an insert size and you're good. Check this out for some pictures of a similar setup: http://www.runaroundtech.com/2011/03/25/review-bookarc/


iphoto to photos: where are files stored?

The original images are stores in:

/Users/USERNAME/Pictures/Photos\ Library.photoslibrary/Masters/

If you're having trouble with that, I would suggest opening a Terminal and searching manually in your user directory:

find ~/ -name '.jpg' -o -name '.png' -o -name '*.tif'

It find everything that ends in .jpg, .png or .tif in your /Users/USERNAME/


How can I use a secondary axis in Numbers?

If you want a line graph with 2 y-axes. You to insert->Chart-> 2-Axis. Put in your data. One of the sets will be a line the others a bar. The way to fix that is: Select the one that is a bar then to go to the Inspector-> Chart-> Series. It will say series type-> select that and change it from bar to line. Right below that it says plot on: There you can determine if you want that line to be plotted on y(1) or y(2).


OSX Yosemite periodically loses DNS info for my server

From time to time I have the same problem - specially with my own MX server.
More or less default DNS setup for this DNS entry.

Restart helps, but disconnecting and reconnecting the network cable works too.
You could also try to change your network location.

Every of these solutions suck, I know. But it's ATM the fastest one before figuring out the real problem (one of the thousands other problems that came with Yosemite).


Packets dropping and massive ping spikes at regular second intervals

In my experience regular-interval (not random) WiFi drop-outs have been caused by:

1) WiFi access point SSID conflicts between 2.4Ghz and 5Ghz bands. Modern WAPs (WiFi access points) often have 2 different radios and can be set to use either different SSIDs for each radio, or the same SSID for both bands. If your WAP is 2.4Ghz/5Ghz capable and uses the same SSID for both bands, be sure the authentication settings and keys (WPA2 Personal + wifi passwords) are exactly the same for both bands.

If they are not the same your Mac may connect to only one of them, but periodically try to "upgrade" to the other SSID in hopes of getting higher speed. (E.g. your mac may be joining the 2.4Ghz network and periodically attempting to move to the 5Ghz network, but failing to join the 5Ghz network because it has different security settings/password from the 2.4Ghz. The "attempted join" lasts a few seconds, but fails -- and during this time your ping stops responding.

2) DHCP-related conflicts between identical SSID 2.4Ghz and 5Ghz networks. See this post: WAN connectivity failure every 5 minutes on Technicolor router

3) Uncommon, but occasionally a buggy external USB device can cause Wifi network problems at the driver level. Some kind of strange incompatibility between the hub's particular implementation of USB & Mac OS X's USB stack. Be sure to disconnect all external USB peripherals when testing.

In your particular case it would be useful to know more about your network setup. What kind of WiFi access point is it? How long have you had it and has it been reliable up to this point?  How many other devices are connected to it? Do they experience any problems?  How close are you to sources of WiFi interference (mainly other Wifi networks, in urban areas these days it is common to see 30+ SSIDs pop up from neighbors access points. Even suburban areas sometimes. Also in apartment complexes.


iPhone won't boot after installing higher capacity battery

You should only use the battery that's for your phone. The phone is not meant to take a higher wattage battery, so it will malfunction.

To put that into context, it's like trying to put a V8 engine into a hairdryer. It won't work.


Backing up OSX and bootcamp for a new drive

I personally wouldn't clone it and put it back that way.
Feel free to try, but I'd never recommend it.

Why, you ask?

You will always have more useless waste on your disk compared to a fresh install and  placing the items back you really need.
You have partitioned it and it might cause trouble
You're using an SSD, seeing you've bought a larger size SSD, I assume it was 128GB or 256GB max

But cloning is easier!

It might look easier indeed, but as stated - you have partitions and I don't see a right away guide using the exact same partitions you have. They might mess up, leaving you with copy everything one by one over and over.

Feel free to try it, but personally I wouldn't do it. Just my 2 cents..


macOS : stream a "false" prerecorded image/video to my webcam

Open Broadcaster Software
Thanks to work by John Boiles, can use Open Broadcaster Software (OBS) and it's virtual camera feature on macOS.
OBS is free and open source.


Screen auto lock on iPhone does not work

I had the same problem with my iphone 8 and this morning kept googling answers thinking it was a major problem.  Then I have restarted the phone and it now works.  Should have done this first! lol


Edit column browser of a playlist in iTunes 12.4

I've been able to find the tool where you're able to switch between these two modes. It used to be on the upper right, but now you can find it in View As/Title on the View menu.


Sharing a single Dropbox between multiple accounts on one Mac - possible?

You can do this using ACLs, which will avoid permissions problems when new files are created:

sudo chmod -R +a "$USER allow read,write,append,delete,list,search,add_subdirectory,delete_child,file_inherit,directory_inherit" "$DIR"

where $USER is the username of the other user, and $DIR is whatever directory (Dropbox or otherwise) you want the other user to have full permissions in.

We use this to share a single Dropbox folder between four users (2 adults with full access, 2 kids with access to their subdirectory only), and it has been working well for us.  The only limitation is that the user running Dropbox has to be logged in and running Dropbox.  The other users don't have the Dropbox icon and status info in the menu bar.


macOS shows missed call notification when answering from iPhone

Try turning the feature off and back on again. The easiest thing you could try to see if it solves anything. Sounds dumb but this trick has solved tones off issues I've come across. :)


Has the auto start been set ? Or wake on network activity - in the system preferences...

As the comment from Tetsujin , system preferences - energy saver - schedule ..


How can I download and install software update on my iPhone without connecting to Wi-Fi?

iOS needs a Wi-Fi connection to download and install software update. It is not possible to download the software update over mobile data, irrespective of speed or data cap. This is by design.

If you do not have a fixed line connection with Wi-Fi access point, you can create a Wi-Fi hotspot on one of the other mobile phones.

Alternatively, if you have access to a Mac, you can download and install the software update via iTunes and update the device.


Can I transfer my TextMate 2 settings to another Mac?

I've managed to get pretty far on my own, so I'm posting an answer.  If someone else has a better way, I'll be glad to accept their answer.  I ran into some gotchas along the way, so I wanted to share those as well.  Here are the steps I took.

Make sure TextMate is not running on your new Mac.
On your old Mac, tar up the TextMate and Avian folders under ~/Library/Application Support:

$ cd ~/Library/Application\ Support
$ tar cfz TextMate.tgz TextMate
$ tar cfz Avian.tgz Avian

(You may or may not have the Avian directory.  If not, skip instructions related to that.)

Copy those two tar files to your new Mac and place them under ~/Library/Application Support, and then extract them:

$ cp TextMate.tgz ~/Library/Application\ Support
$ cp Avian.tgz ~/Library/Application\ Support
$ cd ~/Library/Application\ Support
$ tar xfz TextMate.tgz
$ tar xfz Avian.tgz

Copy the TextMate .plist files from ~/Library/Preferences on your old Mac over to the same locations on your new Mac.  For me this was the following two files:

$ cd ~/Library/Preferences
$ ls | grep -i textmate
com.macromates.TextMate.preview.LSSharedFileList.plist
com.macromates.TextMate.preview.plist
$

(Here is the 'gotcha' which took me awhile to figure out.)  You need to unquarantine the files you just copied over to your new Mac.  Do this (on your new Mac) by clearing the extended attribute com.apple.quarantine as follows:

$ cd ~/Library/Application\ Support
$ xattr -r -d com.apple.quarantine Avian
$ xattr -r -d com.apple.quarantine TextMate
$ cd ~/Library/Preferences
$ xattr -d com.apple.quarantine com.macromates.TextMate.*

The -r and -d options to xattr say to handle all files in those directories (recursive) and delete the attribute specified.  If you get a bunch of permission errors, place sudo in front of the xattr commands.

The above appears to have restored the majority of the TextMate "behaviors" from my old Mac to my new Mac.  I still had to open up the TextMate -> Preferences menu and do a side-by-side comparison, checking and unchecking boxes for various settings that did not transfer over with the above steps.

Update:

If you have a .tm_properties file, e.g., ~/.tm_properties, you'll also want to copy that over to your new Mac.


How can I see if an OS X install disc is compatible with the computer I'm installing on?

Here is a complete list of all OS X versions and builds included with Mac computers. To get the build number of a DVD check the /System/Library/CoreServices/SystemVersion.plist file that is on the Install Media.

The string value for the Key ProductBuildVersion is the information you are looking for.

Now you can either check all of the bundled DVDs for the proper build number of your Mac Mini G4 or you can hack any of the DVDs (which potentially could be installed on your Mac) and include your machine in the "allowed" targets.

As an alternative you may "search" for a proper retail version.


Sidecar not working between MBP 15' 2019 and iPad Pro 9.7'

Did you try to plug the iPad on the MBP ?
It should work with Bluetooth connection, but just to try...
Wifi network does not have an influence on Sidecar.


Jump straight to passcode when finger isn't recognized but Touch ID?

Rest your finger on Touch ID.
It says ‘try again’, don’t lift your finger.
Depress and release the button.
The passcode screen will appear immediately.


What are the risks of adding `/usr/libexec` to `$PATH`?

You should not add /usr/libexec to your path.
/usr/libexec is intended for "system daemons & system utilities (executed by other programs)".  This is the description from the command man hier.
So you don't want to directly run something from there by mistake.
If you have a reason to run one of those executables directly it is better create an alias.


Listing in Terminal the last mounted volume

The last line from the output of mount would be the last filesystem mounted.


Is it possible to create something like a requirements file for homebrew?

You should have a look at brew bundle, which installs as a subcommand of brew. It can install and update packages, taps, and casks specified in a Brewfile. You can also dump your current Homebrew environment into a new Brewfile or uninstall everything not listed.


macOS will recognize both an .iso, .cdr and .dmg (for that matter) as a standard disk image.

Copy it to the Mac and double click on it and it should mount on the desktop and recognize it as standard DVD...

...ASSUMING that the DVD does not have some copy protection built-in that will prevent a simple disk image copy. Unfortunately that is likely and you may want to look into Windows compatible software that will enable copying commercial DVDs.


Disabled OS X Server still appear on localhost

You need to turn off the Webserver from OS X Server's Server Admin. In fact, if you are not planning to use it, I would recommend shutting down all the services from Server Admin


Transfer files from computer to iphone without using iTunes

Read 3 Ways to Transfer MP3 to iPod with or without iTunes.

tldr :

on Mac or Windows: SyncPod. But ...

  This product currently is incompatible with Mac OS X Lion 10.7 or iOS 5.

on Linux or Windows : MediaMonkey

  Any version of MediaMonkey 4 can sync with any iPod, iPad, or iPhone
  (including the iPhone 5) via the following addon:
  http://www.mediamonkey.com/addons/browse/item/device-plugin-for-itunes/


How to mirror one folder to another using rsync 3.x?

If you add the itemised "-i" or "--itemize-changes" option to your command rsync will tell you why it is transferring the files.

For each file you'll see a strings that looks like ">f..t......". The format of the string is "YXcstpoguax". Y is the direction of the transfer. X is the type of object being transferred (for example 'f'ile, 'd'irectory). The rest of the string documents the changes.

c for checksum
s for size
t for modification time
p for permissions
o for owner
g for group
u is currently reserved for future use
a for ACL permissions
x for extended attributes

So in my example above it transferred the file because the modification time was different.

This should help you identify why the files are still being transferred.


iPad2 - Will not boot nor cold/hard reset

According to HT1430 there isn't much more that you can do:

Restarting your device

Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
Press and hold the Sleep/Wake button until the Apple logo appears.

Follow these steps to reset your device

Note: Reset your device only if it is no longer responding and the steps above do not work.

Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.

Got an Apple Retail Store nearby for a visit to the Genius Bar?


How do I load specific pictures from iPhone 3G to my PC?

I think you might be able to right click on the iPhone icon found under my computer, and select explore.  If so, you should be able to select just the ones you want.

I'm not running windows right now so can't check, let me know how it works out.


Can iPhone5 to play my own recorded video stored on a flashdrive?

To the best of my knowledge, OTG flash drives come in either microUSB or USB Type-C versions.

As no past or current model of iPhone or iPad natively support these connections, it's unlikely that OTG flash drives will bundle the software and adapter needed to be used by your iPhone. That's because iOS itself would require specific apps to allow data to be accessed from an external device, and also because it'd need to support a Lightning port connection in some way.

The only options I've seen that would allow you to do what you want, are custom designed solutions specifically targeting iOS devices. For example, there are iPhone cases that include storage and an app to allow the iPhone to use that storage. Likewise there are specific flash drives that do the same.

Below are three examples:

Mophie Space Pack
SanDisk iExpand Flash Drive
Lexar microSD Reader

NOTE: I have not personally used any of these devices - I list them purely as examples of what I'm referring to.


"Automator could not convert the input data to the desired type." in quick action

The Show Location in Maps action in Automator takes a Photos Media Item as input, not a Finder item.
In other words, it could be used in conjunction with a Get Selected Photos Item action, but not as the first action in a Automator Service/Quick Action that is set as Workflow receives current [image files] in [Finder].
Have look at: The “Show Location in Maps” Action

Update to address comment:

Is there any other way I can retrieve the map location and then show it in the Map app?

Here is one way to accomplish the goal...
The following example AppleScript code was tested in a Run AppleScript action in an Automator Service/Quick Action under macOS Catalina and worked for me without any issues:
on run {input, parameters}

    set imageFile to the quoted form of ¬
        the POSIX path of (the first item of input)

    set shellCMD to {"mdls -name kMDItemLatitude -name kMDItemLongitude ", ¬
        imageFile, " | awk '{print $NF}'"} as string

    set LatLon to paragraphs of (do shell script shellCMD)

    if (LatLon as string) contains "null" then return

    set latitude to first item of LatLon
    set longitude to second item of LatLon
    set mapsLocation to {"https://maps.apple.com/?ll=", ¬
        latitude, ",", longitude} as string

    open location mapsLocation
    tell application "Maps" to activate
    delay 0.5
    tell application "System Events" to ¬
        keystroke "D" using {shift down, command down}

end run

Notes:

As currently coded it only works with one selected image file in Finder. Additional coding is required if want to act on multiple selected image files in Finder.
As currently coded, if a selected image file in Finder does not contain meta data for kMDItemLatitude and kMDItemLongitude for mdls to output, then the script stops without any feedback. If you what to be notified, then additional coding is required.

Note: The example AppleScript code is just that and sans any included error handling does not contain any additional error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. delay 0.5, with the value of the delay set appropriately.


What do I need to set up two DVI monitors on a 2011 Mac mini?

I've been told that I can use a mini DisplayPort to DVI adapter with the Thunderbolt port then just a HDMI to DVI in the HDMI port, is that possible?

That's what I do with a 2010 mini (MDP instead of TB).

Yes, it works perfectly.

The tricky part comes if you want three monitors. For that, you need to be sure to buy the video-boosted Mini model that has discrete graphics, or use a (slow) USB video adapter for the third screen. But for two, any modern mini is fine out of the box.


How to change bookmarks in Firefox shortcuts with right mouse button?

If you select 'Show All Bookmarks', the Bookmark Library will open.  You can then right-click there and change.

You are quite right in that you cannot right click a menu item in OS X and have it perform a secondary function (not in any of the major browsers anyway).

So the quick way to achieve what you want is - Shift-Command B to bring up the Bookmark Library.


System Events is a faceless background app provided by Apple that gives AppleScript access to certain system functions and attributes. For example, we can use the app to change the desktop picture, control the user interface of other applications, change the screen saver, navigate the file system hierarchy, and more. Open Script Editor, choose File➔Open Dictionary..., and choose System Events from the list of apps. This will show you the AppleScript commands you can invoke.


There is firmware on all replacement parts. I'd just wait until iOS 9 comes out in September to make sure that the screen is compatible with the new software, just make sure you can return the screen. However, there are some better vendors, like iFixit, that would likely sell screens that will likely be compatible with iOS 9, just be prepared to pay an arm and a leg.


iMac screen doesn't turn on if no keyboard present

Running caffeinate -u after booting should do the trick.

This simulates a user activity which wakes up the display if it is asleep.


Getting a text file with the url of open tabs

You can do this with AppleScript and iCloud Tabs (synchronizes your Tabs between your iOS device and your Mac).  The following code with parse through all of the tabs in all of your Safari windows and write an HTML link for each one on a new line.

-- Set up the initial HTML document
set output to "<!DOCTYPE html>
" & "
" & "
" & "  <meta charset=\"utf-8\">
" & " <title>Safari Tab URLs</title>
" & "
" & "
"

tell application "Safari"

    -- Count the number of Windows
    set numWindows to number of windows

    repeat with w from 1 to numWindows

        --Count the number of Tabs
        set numTabs to number of tabs in window w

        repeat with t from 1 to numTabs

            -- Set the Tab Name and URL values
            set tabName to name of tab t of window w
            set tabURL to URL of tab t of window w

            -- Create the Tab link and write the code
            set output to output & "    " & tabName & "" & linefeed as string
        end repeat
    end repeat
end tell

-- Close out the HTML document
set output to output & "
" & "
"

-- Write the entire HTML document to TextEdit

tell application "TextEdit"
    activate
    make new document
    set the text of the front document to output
end tell


Customize Change Spaces Shortcut in Mountain Lion

Have you tried BetterTouchTool to achieve it?


How to check individual in-app purchases as developer on iTunes Connect?

No, there's no way of doing this for non-subscription in-app purchases. It is purposely not made possible.

The only information you'll receive from iTunes Connect is aggregates - i.e. the statistical data, you mention. This means that you can see how many in-app purchases what made, but not the details of each individual buyer.

For non-consumable in-app purchases, Apple requires your app to have a Restore button that restores in-app purchases to the device. In addition to this, Apple designed the StoreKit system so that even if the user were guided to try to buy a non-consumable in-app purchase again, it will automatically switch to restore or fail completely.

The process is implemented in your app using the restoreCompletedTransactions() method of the SKPaymentQueue class in the StoreKit framework. Your app will receive copies of the original transactions - so even when a purchases hasn't been registered by your own servers, you'll get a copy of the transaction and receipt to be able to get another attempt at storing it on your own server.

This means that your worst fear is ungrounded. It is simply not possible for a user to pay for the same non-consumable in-app purchase twice.


Can you partition the HD of a G3 iMac for OS 9 and OS X?

Yes. My old notes had me putting OS 9 on the first partition but I'm not sure if that's compulsory or just recommended.

Then in OS 9 you have control panel to choose your startup disk and in OS X you have a system preference.

In fact it's technically possible to have both OS 9 and OS X installed on the same partition. Install OS X first and then OS 9. You may find later versions of OS X will have trouble blessing the OS 9 folder if it is in the same partition but it certainly worked up till 10.4

Check out this old Apple tech note: http://support.apple.com/kb/ht1732


Can you stream music from an iPhone to an iPad?

If your iPad is a 3G/Wi-Fi model, then you could conceivably do this through the music app. The reason for the need for 3G is that in order to connect these devices there must be some sort of network present.

That being said, this seems like overkill. If you are using your iPad for music and only music in the car, and if you have the means and desire to pull this off, then I would strongly suggest you simply get a car stereo with a 1/8" input auxiliary jack.  This would allow you to plug the iPhone directly into your car stereo, without any other hassle.

Furthermore, streaming data like this is a good way to unnecessarily rack up data usage charges, as you would be transmitting data 100% of the time. Go with the plug-n-play solution: you stream no data at all.

Seriously think about this. Again, it seems a bit like overkill.


Do the two iPhones receive the messages?

The service-less iPhone will receive iMessages (and other notifications for other apps that register push notifications) while on Wi-Fi. You can remove the device from your iCloud account or unregister it from the iMessage and FaceTime services if you don't want this behavior.


Can Email Notification of Find my iPhone be disabled?

No, it can't. If you want to track an iOS device without an email notification, try Apple's Find My Friends.


How to downgrade Safari from 8.0.6 to 8.0.4?

For testing environments I recommend using Parallels or VMware. You could do an install of Yosemite and then only install the updates needed.

I usually create multiple virtual machines by creating a base VM, then copying it, doing a round of updates, then copy that one, then doing another round on the next copy, then repeat that process until I have all of the software versions I am looking for.

Keep in mind that some of the software you may want to use will require a separate license for each virtual machine.


How do I change permissions of folders on a hard drive from a booted USB drive

For anyone else that has this issue, the guys over at AskUbuntu solved it for me.

You can find the answer, along with other good answers, here:

https://askubuntu.com/questions/563054/how-do-i-change-permissions-of-folders-on-a-hard-drive-from-a-booted-usb-drive


WD External Drive shows empty in Finder, won't unmount or repair unless unplugged

First, try running First Aid while the device is readable. If that doesn't fix the issue, then you can try using Safe Boot to isolate and fix issues with your Mac. This does not seem like an issue with macOS, more like an issue with your drive.

What is your External Drive's format? If you will be using it only on a Mac, then I would recommend formatting it to HFS (macOS Extended) or APFS. NTFS and FAT32 are not always the best choice on macOS. Before formatting, make sure to copy and paste your files to your Mac so that you can put them on the drive after formatting.

Before formatting, can you see if the data is still accessible via Terminal. To do this: cd /Volumes/YourDiskName then ls to see all the contents.

To format the drive (This will erase all data):
1. Open Disk Utility
2. Select your drive
3. Select Erase (at the top)
4. Select the format APFS or macOS Extended
5. Select Erase

If you would like to report this to developers, you can try submitting feedback to the manufacturer of the Disk or to Apple.

Here is the link to submit feedback to Apple: https://www.apple.com/feedback/

Good luck!


Turn display off and leave MacBook Pro running

To answer your question, "How can I turn off my display and keyboard illumination, while at the same time leaving my MacBook Pro running to execute my iMacro scripts?", one way is to use the Function Keys.

To change the Display brightness use F1 and or F2 respectively to decrease and increase brightness.

To change the backlit Keyboard brightness use F5 and or F6 respectively to decrease and increase brightness.

Note that if under System Preferences > Keyboard > Keyboard you have the "Use all F1. F2, etc. keys as standard function keys" check box checked then you'll need to also press the Fn key along with the wanted Function key to use the special features printed on the keys.

See Portables: Adjusting the keyboard backlight and OS X El Capitan: Adjust your display’s brightness for additional information and note that although the later document if for OS X El Capitan the brightness function keys for portable Macs are the same in earlier versions.  You can Google "OS X Adjust your display’s brightness" for other versions, e.g.: OS X Yosemite: Adjust your display’s brightness


As it appears you know, you have to get your DNS entries and resolver to support DNSSEC before VerifyHostKeyDNS can possibly work.

This line in your output

debug1: found 6 insecure fingerprints in DNS

tells us that ssh found the the DNSSEC entries but did not trust them. This is most likely because it correctly asked for Authenticated Data (otherwise it would not find fingerprints at all) but the DNS resolver did not indicate the results were authenticated (otherwise the fingerprints would be labeled "secure" not "insecure").

First thing to do is verify that dig can validate your DNS by looking for the ad flag in the results of dig, like this (parts of the reply omitted for brevity):

$ dig +dnssec @1.1.1.1 icann.org

; <<>> DiG 9.8.3-P1 <<>> +dnssec @1.1.1.1 icann.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17489
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1452
;; QUESTION SECTION:
;icann.org.         IN  A

;; ANSWER SECTION:
icann.org.      587 IN  A   192.0.43.7
icann.org.      587 IN  RRSIG   A 7 2 600 20191202002438 20191110134355 8150 icann.org. W9PTVWEF4Dd6fQmPRmaq9n7IMCds3JSRks1GB+JBHzrL63OX2QMZ7o1X YSZb90Rr6m2Di7ckcBiZtp/JGwvwEN2xPfWc5XubFsfQ8Vxpdze3o6DK llilOoHxrdTtnvYQ2djV+pWBoIkmX+eIKJSEhofy/c5K95nLxQ51RYBB AfU=

Note that ad (Authoritative Data) appears in the list of flags. This tells you that dig was able to validate the integrity of the data via DNSSEC. From the comments on the question, it appears that you are not seeing the ad flag, and so you need to address that by verifying that your DNSSEC keys are all correctly set up and that your DNS server supports DNSSEC. This includes making sure that your local DNS server has the correct root keys for validating the DNSSEC chain of trust.

Some other notes

Once you get the ad flag from dig, you still need to be mindful of the fact that, as noted in the dig man page on the Mac, dig uses its own query system, not the system-wide one, so all dig can really verify is that you have your DNS entries correctly set up on your name server and that the DNS server you are contacting support DNSSEC. For that matter, ssh does not necessarily use the system DNS either, although in your case it appears to be.

Also, from a security perspective, you still have the issue of trusting the DNS server you are talking to. Unless you also set up some kind of authentication between your host and the DNS server, you remain vulnerable to a man-in-the-middle attack.


Cant get any sound from MacBook Pro with headphones plugged in

The next time it happens please option-click (hold 'option' while clicking) on the volume icon in the menu bar.

There you should see all available sound cards and headphones.

Please let us know what entries you can see.

I get to very same response if I plug in a USB mixer.


One fairly straight forward way of doing this is to grab another iPhone / iPod Touch / iPad and use the Voice Memos app to record them while they're playing on your iPhone on speaker.

Once you've recorded them you can Share them from the Voice Memos app by sending them via email to yourself or using one of the  other options.


Unable to boot - facing stop sign; Virtual Whole Storage needs repair; Time-Machine cannot find restoration disk destination

You probably repartitioned the main volume the wrong way. At least your CoreStorage Logical Volume Group got corrupted either by partitioning or by "repairing".

The ultimate method to reset the drive is to completely destroy the GUID partition table of the main internal disk. This will render all data on the disk useless and you need an up-to-date backup to restore your old volume.

To destroy the GUID of your internal physical disk you have to boot to an external boot volume. This may be a OS X installer thumb drive or Internet Recovery Mode (which net-boots to a recovery image provided by Apple over the network). You mustn't boot to Recovery Mode which loads a basic system in a mounted but compressed recovery image in your recovery partition diskXs3).

Detach any external disks - especially your Time Machine backup drive
Boot to Internet Recovery Mode
Open Terminal in the menubar Utilities -> Terminal
Get an overview (especially the gpt command is important!):

diskutil list
gpt -r show disk0
gpt -r show disk1

Check which of both disks is your internal disk. Usually the internal disk is disk0 and the recovery volume is disk1 if you have only one disk in your Mac. In rare cases disk1 is your internal disk and disk0 is the recovery volume. The recovery disk has ~ 2600000 blocks (or ~1.3 GB). Even the smallest SSD is much larger. Below I assume your internal disk has the disk identifier disk0 - so use disk1 (or disk2, disk3) instead of disk0 in the commands if you find an other disk identifier for your internal physical disk.
Unmount disk0:

diskutil umountDisk /dev/disk0

Delete the GUID:

gpt destroy disk0

If this doesn't help, then the hard way:

dd if=/dev/zero of=/dev/disk0 bs=512 count=40

Create a new  GUID partition (this also creates a fresh pMBR):

gpt create -f disk0

Enter exit and quit Terminal.
Open Disk Utility and partition your internal disk: one or two partitions and at least one JHFS+ volume.
Quit Disk Utility
Attach your Time Machine backup drive, open Restore Time Machine backup (or similar) from OS X Utilties and restore your backup.

This usually won't restore your Recovery HD. You have to do this either manually with Recovery Partition 4.0.4 or by reinstalling your current system with an Apple system installer (i.e. "Install OS X Yosemite" 10.10.5, which usually won't affect your data)


Is the MacBook designed to hang from its display?

I would venture that this is not an endorsed way of mounting a laptop.  Holding an LCD by its housing can cause potential problems with the hinges, as well as pressure marks.  It's also possible to crack the metal as it's really thin around the screen.

Any sort of damage resulting from the use of such a device would most likely be deemed accidental and not covered by your warranty.

You should ask Apple what their official policy is if you're hell-bent on using this.


I recommend Ulysses if you’re looking for editing and preview in one app.

However, I usually write with iA Writer and use Marked to preview them in Markdown. Use whichever you prefer.


Fire up Activity Monitor and kill the process(es) named "node".


How can I remove the borders from my Dock?

I don't use El Capitan, but it should be the same as in previous versions.

In Finder menu bar: Go → Go to folder…

Insert this path: /System/Library/CoreServices/Dock.app/Contents/Resources/

Search for: "dockbackground"

Now, what file it is that you need to modify depends on a few things:

If you have Retina Mac, it's one of the @2x.png files
If you have System Preferences → General → ☑ Use dark menu bar and Dock checked, it's going to be one of the files with "dark" in the name.

In this case, since you want to remove the border, you can just move all these files to another location.

Admin password required.

The changes take effect next time the dock loads. You can force it to reload a few ways:

If using Terminal is not for you, you can just log out and log back in.
OR if you don't mind using Terminal, the quickest way is to open Terminal.app and run: killall -kill Dock (The dock will go into hiding and come back almost immediately with the changes)

If you want the old borders back, you can just move the files back to the folder.


How to capture a screen shot of all spaces

screencapture ~/Desktop/1.png
osascript -e 'tell app "System Events" to key code 124 using control down' # ctrl-right
sleep 0.5
screencapture ~/Desktop/2.png
osascript -e 'tell app "System Events" to key code 123 using control down' # ctrl-left
# montage ~/Desktop/1.png ~/Desktop/2.png -tile 2x1 -geometry +2+2 ~/Desktop/`date '+%y%m%d%H%M%S'`.png

montage comes with ImageMagick.


Switch Cmd and Control keys for one app only

It's a common issue and it looks like it was answered on superuser side of this web site - Assuming you are happy with a solution for Remote Desktop, this looks to be a duplicate of https://superuser.com/q/263647/76395

Have you had a chance to see if that program will help remap the keys as desired?


Try labelling them & then sort by label.


macOS apps like Steam try to keep files you're not supposed to interact with directly (like the resource files needed to run Team Fortress 2) tucked away in the normally-invisible "Library" folder. You can either reinstall Steam, and tell it to uninstall TF2, or you can manually remove the files it left behind. To manually remove it:

Start in the app, Finder
Open the Go menu
Hold option—you'll see a new item appear; Library
Click Library to open it (then release
option)
Open Application Support
Drag the Steam folder to the trash

Note that there may be files you care about, like non-cloud-syncing game saves or other Steam apps, in that Steam folder. Almost everything in Steam can just be re-downloaded later, but in doing the above you naturally assume the risk of damaging or losing anything stored there.

Having typed all that, naturally I just found the Steam Support article saying the same things.


Blueutil, a command-line utility for macOS that lets us turn Bluetooth on and off with one command!

Start by installing blueutil with HomeBrew:

brew install blueutil

The -p flag is a switch for turning Bluetooth on and off:

Turn bluetooth off

blueutil -p 0

Turn bluetooth on

blueutil -p 1


MacBook Pro stuck on grey screen with Apple logo and spinning wheel

I/O errors are usually bad news- often a sign of failing hardware. :(

If you don't have a backup already be sure to make one ASAP. For example, try booting in target disk mode (hold the T key while starting up) and connecting to another Mac. From there make a copy and try running Disk Utility to repair the volume.


I believe the odd behavior is due to the fact that Terminal.app does not support True Color (16 million colors), while iTerm2 3.2.9 does. Here the result of a test code from here:

the top panel is from Terminal while the bottom one is from iTerm.


Can't restore to backups after removing disk in Time Machine

To access the previous backups, press the option key when clicking on the time machine menu bar icon.  You'll see an item to browse other time machine disks.


iPhone 6s: apps greyed out after restore from another phone's backup

Waiting normally means the phone is doing something with the app store. The iPhone 6s is larger then the iPhone 5, so therefor the apps that work on a 5 probably won't work on a 6, or at least they will look a bit weird. Leave the phone connected to the internet and let it do its thing, if after a while the apps are still "Waiting" then the only other reason for this is, the apps just aren't compatible.


Can a developer make an app that can be controlled with Siri?

As of now, there is no API for Apple developers to use to connect to Siri. That may or may not be changed in the future; see e.g. http://daringfireball.net/2011/10/iphone_4s for discussion.


quicklooksatellite is blocking trash files

I'm not sure about preventing it, but you can certainly try:

sudo rm -rf ~/.Trash/*

You may be prompted for your password. The command will forcibly get rid of everything in your trash bin.


Don't charge iphone when plugged into macbook?

Not possible, you would have to physically alter the USB cord and remove the pins related to power and leave the data ones intact.


Is it possible to access a list of wifi networks my iPhone has used?

1. If you have iCloud Keychain enabled :

  Are my existing saved passwords, Wi-Fi networks, and Internet accounts included in iCloud Keychain?
  Yes. When you turn on iCloud Keychain, any previously-saved website usernames and passwords, Wi-Fi networks, and Internet accounts are automatically included in iCloud Keychain.

From :
http://support.apple.com/en-us/HT204085

You can access to Keychain by the Keychain Access.app (located in /Applications/Utilities/).

2. Otherwise you can use 1Password.

3. Finally, you have this post :

Is there any way to view saved wifi passwords on the iPhone?

  Unfortunately, on the iPhone it is not possible to access this information. The passwords are kept on your phone in a safe place that is not accessible through any regular means on the phone. This is done for your protection, if you were to lose your iPhone and someone picked it up, the passwords that are stored on it would be up for grabs. This would lead to a lot of security problems.


Alert volume (not system) consistently reset to zero for unknown reason

Try completing an NVRAM / PRAM reset. This is the part of the computer that often holds these values in memory and can sometimes become the source of this type of issue....

Reboot your computer.
Hold Command + Alt + P + R
Wait until you hear the startup sound/chime a second time, during this time the computer will reboot.

If the computer does not chime a second time but instead boots up you've not pressed the shortcut quickly enough, you can press it as soon as you've pressed reboot, and sometimes need to use a wired not wireless keyboard for this.

Verify of the issue is resolved.

Further details on Apple's website


Send a note to the email address saying "Hey, did we accidently swap iPads? I seem to have yours - where is mine?" If in fact it is locked with someone else's AppleID, I think you are out of luck. These theft prevention types of systems are intentionally hard to bypass. If you can bring your receipts and the device to an Apple store, they might be able to assist you. Good luck.


According to Apple, yes, iOS 5 will support the iPhone 3GS.

Apple's product webpage for iOS 5 claims that iOS 5 is compatible with:

iPhone 3GS
iPhone 4
iPod touch 3rd generation
iPod touch 4th generation
iPad
iPad2


Error in logs: kernel[0]: Validation failed, dataSuffix

These errors are reported by kernel and are caused by corruptive file compression in HFS+.

Suggestions:

Please run Disk Utility to Verify Disk for any file-system inconsistency (as well as Verify and Repair Disk Permissions),
If you're using any compression software tool, you may consider to upgrade it or remove it (e.g. Clusters),
Run Console and check 'Diagnostic and Usage Info -> User/System Diagnostic Reports' for any kernel or software crashes which could potentially cause that problems,
Re-install completely the software which is failing (e.g. Pages),
Use Time Machine to recover the files from when it was working,
This could be some hardware issue, please run S.M.A.R.T. tests for your HDD to find any issues or bad sectors,
This you're using SSD, it could have been heavily used (as it has quite short life span in comparision to HDD) or you could be using some bad quality product,
If anything won't help, you may try to make an appointment with Genius Bar.


Extending an Airport Express (latest) with a Time Capsule (4th Generation)

The two models differ only in their number of USB and ethernet ports (see https://www.apple.com/compare-wifi-models/ for a comparison of all current models), audio jacks, HDD space and Wifi capabilities. The software features are identical.

Although your proposed setup should be working fine, it has at least the following implications:

No gigabit ethernet connection at the base station (so if a PC is connected to this station and backed up to the Time Capsule, the backup process is capped at ~11 MB/s)
Connecting audio equipment will only be possible at the base station
External HDD can only be attached to the extension, not the base station
802.11n will be provided near the base station and 802.11ac near extension station


Faulty power button on an iphone 3g and upgrade to 4.1

I'm not sure of the details of your question - but you can use 'Activatior' to give another button all the funcationality of the power button. (one of the volume switches perhaps)


UPDATE: As pointed out by Matthew below, the recently released 0.5.2.1 has better support for OS X and brew now, so downloading, extracting wordgrinder-0.5.2.1.tar.bz2 from http://sourceforge.net/projects/wordgrinder/files/wordgrinder/ and running make should work. The only dependency you need to install through brew now seems to be lua, so brew install lua first if you don't already have lua installed.

ORIGINAL: Here's how I got it to work with the previous version...

Downloaded and extracted the wordgrinder-0.5.1.tar.bz2 file from http://sourceforge.net/projects/wordgrinder/files/wordgrinder/
Used brew to install lua: brew install lua
Used brew to install ncurses from homebrew-dupes: brew install homebrew/dupes/ncurses
Made the following modifications to the Makefile. You can download the modified file here.

added a definition of z_crc_t
modified LDFLAGS so it can find libraries installed through brew
modified CPPFLAGS and INCLUDES so it can find include files installed through brew
modified ldflags because it is looking for "lua5.2" but the library on OS X is called "lua.5.2"

Ran make which runs okay with these changes. bin/wordgrinder crashes right away but bin/wordgrinder-static seems to run okay.
'sudo make install' fails, so I just copied wordgrinder-static to /usr/local/bin and it appears to work successfully there.


OpenVPN missing parameter on OSX 10.11 El Capitan

Seems like the macbook-pro "option" is not recognised by openvpn...

Remove this line or comment it out.


Getting file path of latest added file in a folder - Mac OS 10.9

The AppleScript code looks as thought it's getting the creation date rather than the date added.  Finder and System Events don't store date added information in AppleScript.  If you were running Yosemite, you could have done it with AppleScriptObjC.  But, with Mavericks, the only avenue I can think of is by way of shell scripting.
Via bash script:
F=~/folder \
&& [[ -d "$F" ]] \
&& mdls -name kMDItemFSName -name kMDItemDateAdded -raw "$F"/* \
 | xargs -0 -I {} echo {} \
 | paste -sd" \n" - - \
 | sort \
 | tail -1 \
 | cut -f4- -d" " \
 | printf '%s\n' "$F/$(cat)"

From within an AppleScript:
AppleScript has the ability to execute shell commands using do shell script.  You can either run the whole command above using do shell script, which is probably what most people would do.  But, just for demonstration purposes, I'm going to mix it with a bit of AppleScripting too.
property text item delimiters : space

set myFolder to "/Users/lawsome/folder" -- Folder to be evaluated

-- Assemble shell command
set sh to the contents of {¬
    "[[ -d", quoted form of myFolder, "]]", "&&", ¬
    "mdls", "-name kMDItemFSName", "-name kMDItemDateAdded", ¬
    "-raw", [quoted form of myFolder, "/*"], ¬
    "|", "xargs", "-0 -I {} echo {}", ¬
    "|", "paste", "-sd' \\n' - -", ¬
    "|", "sort"} as text

do shell script sh -- run the bash command
set latestFileAddedToFolder to the last paragraph of the result
--> e.g. 2018-08-13 08:02:52 +0000 Some File Name.txt

-- Split text up into date components and filename text
set [{yyyy, m, dd, HH, MM, SS, "+", timezone}, filename] to ¬
    [words 1 thru 8, text 27 thru -1] of latestFileAddedToFolder

-- Construct AppleScript date object from date components
tell the (current date) to set ¬
    [dateAdded, year, its month, day, time] to ¬
    [it, yyyy, m, dd, hours * HH + minutes * MM + SS]

set pathToMostRecentlyAddedFile to myFolder & "/" & filename

return contents of {pathToMostRecentlyAddedFile, ¬
    "was added to its containing folder", myFolder, ¬
    "on", date string of dateAdded, ¬
    "at", time string of dateAdded} as text


How to make second mac a trusted contact?

This is the core feature of handoff which also goes by the name continuity. To enable this, just sign into iCloud on both Mac with the exact same Apple ID.

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

At this point Safari browser tab handoff and other supporting application handoff, clipboards synchronization, as well as unprompted automatic AirDrop permissions is enabled.

sometimes the authentication can be stuck so log out and log in or restart both machines If you need to troubleshoot things once you’re signed in.
Bluetooth and Wi-Fi need to be turned on for this to work but it shouldn’t matter whether you’re connected to a Wi-Fi network or even the same Wi-Fi network.


I'm assuming you are talking about iTunes. If so, Appple support has details on how to configure your account with no associated payment method: http://support.apple.com/kb/HT2534


Personal Hotspot being "on" while connecting the USB (tethering) seems to be the issue. Turn it off, connect the cable and turn it back on if required.
If you just need to use the hotspot and not bother about syncing iPhone using iTunes/Finder, then enter passcode once, & tap "cancel" or "Don't Trust" second time onwards and you will not face any problems.


I used brew doctor to see what's was happening..  It seems like there were some broken links.

The solution: I unlinked them, then I was able to run brew link git successfully. And now auto-completion works fine


How to create a bootable usb for OS X on Windows?

Did you tried Google ?

https://www.google.fr/search?client=safari&rls=en&q=How+to+create+a+bootable+usb+for+OS+X+on+Windows+%3F+-+Ask+Different&ie=UTF-8&oe=UTF-8&gfe_rd=cr&ei=ovcpVvzQFYex8weYkpKQDQ

Use TransMac, which has a 15-day trial period and works flawlessly.

In the left pane, right click the USB Drive and select Restore with Disk Image
Point to your .dmg file and click Open.

It will take a few minutes depending on size of .dmg and speed of USB drive, but once done you can pop it into your mac, hold down the option key when turning on the mac and choose the USB drive.

https://superuser.com/questions/383235/create-a-bootable-usb-drive-from-a-dmg-file-on-windows


New icons come up as default file icon in El Capitan

Try opening the icon in Safari then dragging it from there.


Correct.

Shark was replaced with Instruments. There is a set of tools from Apple called CHUD that does still include Shark.

It's available here. It does require you to have a Developer Account to download. However there has been limited success in getting it to work on Lion.

It's safe to assume that Shark has bitten the dust.


sudo networksetup -setdnsservers Ethernet 185.228.168.168
sudo networksetup -setdnsservers Wi-Fi 185.228.168.168

The Ethernet/Wi-Fi bit is the name of the network connection in the Network control panel.

You'll need sudo rights, as this has to be run as by and admin, and needs them to interactively enter a password if you leave that out.

But, you can easily script the above to run remotely.

From the man page (Sierra):

  -setdnsservers networkservice dns1 [dns2] [...]

  Use this command to specify the IP addresses of servers you want
  the specified  to use to resolve domain names. You can list
  any number of servers (replace dns1, dns2, and so on with the IP addresses of
  domain name servers). If you want to clear all DNS entries for the specified
  network service, type "empty" in place of the DNS server names.


Unable to modify files directly even after changing permission

The simplest method would be to check "Ignore ownership on this volume"

Get Info on the drive itself rather than an individual folder.
You should see the checkbox at the bottom, available once you unlock the admin padlock.


Spotlight search returns no results on iOS 9

I've tried

sending myself an e-mail (yes really; this occasionally works for a few minutes)

Toggling contacts on and off (suggested in several places, at least of iOS 8)

Both of these, the only specific attempts you've made to solve your issue (and the only two that seem to be reported as effective) both involve accounts.
My best guess for why your issue is occurring (based on this connection) is that something with your email accounts is screwed up, giving Spotlight a format of information it can't handle, effectively crashing it. The idea that your accounts are causing it is one uncommon thing that isn't changed by a  factory reset, given that you probably re-signed-in to at least one of your accounts immediately after a reset.

How should you stop this issue from occurring?

Sign out of your email accounts (in your mail settings) and delete all of the contacts, emails, calendar events, and notes from your iPhone.
Sign out of your iCloud account and remove any information associated with that account from your phone (this might involve a factory reset without restoring from a backup and without signing into your iCloud account).
Turn off Siri (which has access to and can control your accounts).

Once you delete all email/account related data from your iPhone, I suspect this issue will cease to occur to you, and Spotlight should start working again.

Other tips from other forums:
Make sure you're not hiding contacts in the Contacts app.
Shut down everything from appearing in Spotlight then only enable Contacts.
Reset your network settings in Settings->General->Reset

The only official suggestion from Apple
Make sure you're in a country that supports Spotlight Search, that your language is set to a language spoken in one of those countries, and that your device region is set to one of those countries.


Do not switch to same app on attached (external screen)

It sounds like you're breaking the Spaces paradigm by having one app over two Spaces. If you do that, behaviour will be at best unpredictable.

You could possibly mitigate this by unchecking System Prefs > Mission Control > "When switching to an application, switch to a Space with open windows for the application" [but this is untested as I don't use "Displays have separate Spaces".]


For the most part, you're interested in the core components because these are the ones that will be damaged by excessive heat:

CPU: The main 'brain' of the computer. This is the part that will usually fluctuate in relationship with the load on your computer. Both sensors are measuring the same thing, but from different places. It's probably a safe bet to average the two.

Northbridge: This is the part of the computer that connects all the other parts together. This chip can get hot, and can (like any component) be damaged by heat. The same applies about the multiple sensors: they're all measuring the same thing; you can average them.

Disk: This is the hard drive, where all your files are stored. Heat can have a significant impact on the health of your drive, so this is definitely worth taking a look at.

In general, I recommend looking up the manufacturer's specs for the component in question  (all components are different) so you know what the acceptable temperature range is for it. Don't be worried unless you exceed that range.

All that said, Macs are pretty smart about managing heat. If it really gets too hot, it will turn off automatically. That doesn't mean that you can't damage your computer with heat at all, but it does mean that you generally shouldn't have to worry too much about heat issues.


Unusual problem regarding old water damage, new battery not charging macbook air mid 2011

I'm summarizing your points, for my own reference and in case I misunderstood a point. Please point out any errors in my interpretation.

Water damage, computer only works when unplugged battery
But unplug charger, computer resets date and time, longer load
Thus, always needed 100% charge
Bought a new battery
But with this, the charger no longer works, battery does
Tried two other chargers, no joy
And with the battery, could use computer until battery drained completely

Okay, with that summarized, I would suggest that there were two-or-more connectors (i.e., problems) that developed oxide as a result of the water damage.

One problem was related to the original battery, which you disconnected.

Second problem was revealed when installing a new battery, which revealed there was still an issue that was not specifically the battery. And you've confirmed that this issue isn't caused by the charger.

For your reference, here's a Teardown of Apple's Magsafe connector, in case of use to you.

I can see that you like to work with electronics, so I won't discourage you from doing repairs because you know the risks. However, if you ultimately send the unit in for repairs, then know that the technician will recognize the unit as a problem because "someone" had a go at repairs (i.e., potential problems introduced).

Good luck.


Recovering a Password on FileVault2 Encrypted Mac

If it would be that easy to restore or find your password FileVault would completely miss its major objective: safely encrypt your data/volume.

Booting to Recovery Mode and after opening Terminal in the menubar -> Utilities enter

filevaultrecovery

The app "Reset Password" will open in the background.

If you saved your password in iCloud choose the first radio button (I forgot my password) and continue resetting your password.

Alternatively you may use your recovery key (if you saved it somewhere) or the password of a second account on your Mac.

To use the recovery key enter in Terminal:

#get the lvUUID
diskuitl cs list
#unlock volume with recovery key
diskutil cs unlockVolume lvUUID -passphrase recoverykey

An example recovery key looks like this: 35AJ-AC98-TI1H-N4M3-HDUQ-UQFG

After unlocking the volume you may reset your password.


Is there anything (like iOS) that emulate force touch for older MacBook?

If the sensor isn't there in the hardware, there is no way to enable the function.

It's the equivalent of trying to tun an old CRT television into a touch screen
[though that has actually been done, but not without some very expensive extra hardware]


I am unable to enroll Touch ID on my MacBook Pro 2018

I like to make a brand new user account to see if it’s a user keychain or home folder issue or a software / hardware issue.
If that works, you know it’s a preference issue.
If that fails, make a backup and get a new clean OS running. Either installing to an external drive or erase the internal drive.
If that fails, you have a hardware issue for support to work on.


How to add a track to Library in Apple Music using Apple Script

I'm not in front of a Mac at the moment, so can't test this, but what happens if you try the following:
tell application "Music"

    set newFile to (choose file with prompt "Select track you want to add...")

end tell

Of course, you can change the 'prompt' text to whatever you want.
Also, in case you're wanting to, you should be able to get the script to add the track to a specific playlist by adding the following line after the set newFile line:
add newFile to playlist "Newly added tracks"

Of course, you can change the 'playlist' name by changing the text within the quotation marks to whatever you want.


Unable to import into Photos from iPhone over USB?

One of the fixes in OS X 10.11.2 is:

  Fixes an issue that prevented importing photos from an iPhone to a Mac using a USB cable.

Source

Use the App Store’s Updates tab to install the update.

Why are you still on an old beta build? It's not advisable to rely on a beta operating system; it’s in a state that Apple hasn’t yet deemed as being stable enough for daily use. Even if you don’t have any problems now, you may end up having some as apps and drivers get updated. You’re also missing out on the latest security fixes.


Apache running on Yosemite not working as expected

You've essentially set up two different sites here:

For http://localhost your files are stored in /Library/Webserver/Documents.

For http://localhost/~username the files are stored in ~username/Sites

Therefore, anything you put in ~username/Sites will only be available when you go to http://localhost/~username.  If you want to keep the two things separate, you'll need to put the "phpmyadmin" under /Library/Webserver/Documents instead of http://localhost/~username.


Can iOS apps be distributed in a closed app store without requiring a jailbreak on each device?

Solving this problem could go down three routes (and I'll initially answer it generally to be of most use to everyone reading this):

Using a development license and signing apps for a limited pool if iOS devices (currently, you get only 100 test slots as any iOS developer). This avoids the App Store entirely
Setting up an enterprise account with Apple so that that entity could sign apps for effectively an unlimited amount of devices. You would then let the company that has the enterprise account sign the apps for the devices it wants to run them and pull or modify the app from the public App Store.
Have the developer and the clients sign up for the Volume Purchase Program from Apple. This puts the app on the App Store, but the developer can control whether all VPP buyers can see the app or only white list certain clients to purchase.

From an experience standpoint, option 3 is far superior for most situations. Abusing the developer program to distribute apps commercially is against the terms of service, and there are technical issues and undue hassle with implementing that potential around the code signing barrier.

Removing the app and only selling to clients might work for your case - using option 2. Only the clients need to sign up, but you get total control about issuing fixes, builds and there is no delay (or benefit) to submitting the app to Apple for review. It doesn't mean you couldn't still submit the same build and price it high enough that people don't buy it, but then refund those customers when they are done evaluating your app, want to get a direct build they can sign.

The last option means you, the developer, need to list your app under VPP (which hides that app from most users of the App Store) and your clients also need to enroll in VPP, but this is Apple's solution to the dilemma you find yourself in.

The client gets access to special pricing, special access and still has Apple reviewing apps and providing the store front, code signing, etc...
The seller gets access to special pricing, explicit permission from Apple to sign related contracts directly with the clients to stipulate anything you wish (minimum purchase, pricing, availability, custom design) - but they only review the apps - Apple doesn't arbitrate, facilitate or handle agreements or disputes between the seller and the buyer.
The seller can price the app differently for each client or use the same pricing for all.

Both parties need to have a company and jump through some filing paperwork to enter VPP, but it's really the optimal solution for most cases where you don't want to price your app for free on the public store.


Manually add location to a photo in iPhone, without Mac

Location data is stored in EXIF data structures embedded in pictures, EXIF editors are available in the App Store, just search for „EXIF“. Exif Editor & Viewer seems to be a likely candidate.


Ruined 2006 imac - Only allowed to reinstall Lion which is no longer availiable

If you don't have your original OS X 10.4 "Tiger" install media, you'll have to obtain a retail version of any system up to 10.7.5.; 10.8 "Mountain Lion"
10.9 "Mavericks" and 10.10 "Yosemite" require a 2007 or newer iMac to be installed.

I've found a couple of supposedly original retail installation media for 10.7 searching on eBay for $35-$40 (1), (2); just be sure to buy the retail version and not the recovery DVD unless it is exactly the same that came your iMac model.

You can try your luck downloading the OS from a non official source, but I wouldn't recommend that.


For me,

brew info macvim

told me this:

  macvim: stable 7.3-66, devel 7.4b-BETA-69, HEAD

And as such, I would have to do this:

brew install macvim --devel


How much time would pass before overwriting data on iPod/iPhone flash memory results in failure?

Flash controllers generally degrade gracefully, so once a block has failed, it no longer is usable, so you would expect a slow, gradual shrinking of the usable space over time. Once the majority of the blocks start reaching the limit on write cycles (you need to store different data - not just the same bits to make real change on most flash controllers) then this reduction of space increases more linearly with time / write cycles.

So - it will be quick to not store the entire file, but a much longer time until you can't write to 50% of the drive.


This does not address the "faster way" part of the question: more of a code review

make sure to quote your variables: echo "$BLOCK"
"delete any character other than "AZ, AZ, 0-9,_)( ][-" ->

tr -dc '][:alnum:]_)( [-'

where -d means "delete" and -c mean "the complement of the given set". [:alnum:] is a character class matching letters and numbers.


Can I get mac notification when a Tab has new output in iTerm2?

You can use Terminal Notifier. Once installed run a command like this:

long-running-command && terminal-notifier -message "Done" -title "Done"

When long-running-command finishes you will get a notification.


Lots of changes were made in Lion. This could be why you are having issues. However, They do suggest that you use MacPorts to install GIMPShop. This might help you install it on Lion.

Resources:

GIMPShop Instructions (from their website)
gimpshop on osx lion (a thread from Mac Forms)


Automating Terminal Commands with AppleScript

These examples accomplish what you want. Note the
" & quoted form of portName & "
portion of the shellString. Was just guessing that's where it goes, but you can figure it out from there.

-- set the porn name to a variable
set portName to do shell script "ls /dev/tty.usb*"

-- set up the shell command, including the variable you insert
set shellString to "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C /Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -c arduino -P /dev/tty." & quoted form of portnName & " -p atmega1284p -U flash:w:$HOME/Desktop/Zymatic_RC_1_1_9.hex"

-- run the shell command
do shell script shellString

-- this command returns an alias to a folder
set aFolder to choose folder "Please choose the correct folder"
-- this command returns an alias to a file, you can restrict file types
set aFile to choose file "Please choose the correct file"
-- you can convert the folder/file alias to a string to get just the portion you need


How to remove folder in '/private/var/root/Android'?

Those paths don't match. To remove a folder, you need to provide the exact path to the folder:

sudo rm -rf /private/var/root/Android


Create AirPort network from the command line?

After some hours of digging through the internet, it seems that the only way to put an airport in HostAP ("software base station") mode in OS X 10.8 Mountain Lion is to programatically call a the internal, undocumented, startHostAPModeWithSSID method.

I've updated the one example I could find online, and it does seem to work, with the one caveat that only WEP, not WPA, can be used: https://gist.github.com/4418079


How to automatically connect Mac's Wi-Fi to iPhone's hotspot

After connecting to the iPhone AP you should go in Network Preference and enable "Automatically join this network", as shown in the picture. You may also want to click "Advanced" and move the AP to change its priority (for example if you are at home you want the Mac to connect to your home's WiFi and not to the phone. So you should put the iPhone AP below the one at home - and/or work if any).

I have enabled it myself, but for some reasons it didn't seem to stick. Right now, again in "Advanced", I have deleted the "RedPlanet" AP, applied the changes, connected my MBP to my iPhone again re-enabling the "Automatically Join" flag.

That should be it, hopefully, unless being a connection from a mobile phone (thus with a data plan) macOS treats it differently (or if it is bugged. It worked randomly in the last couple of days that I enabled it)


Prevent closing of entire Xcode window on Command-W when "Quick Open" menu is open

Here's how you unset the keyboard binding for Close Tab aka ⌘+W.

From Settings.app -> Keyboard -> Shortcuts -> App Shortcuts tap the + button
From Application dropdown select Xcode
Enter Close Tab for the Menu Title
set any keyboard shortcut you like

This un-maps ⌘+W shortcut in Xcode app completely. After this you are free to remap the ⌘+W key bindings in Xcode.

In my case I like ⌘+W to close the document so from Xcode -> Preference -> Key Bindings I have these changes (In your case you can bind Ctrl + ⌘+W to Close Tab instead and leave Close Document unmapped).


Verifying third party apps doesn't do anything

It sounds like you're trying to run illegal copies of apps (or more precisely - enterprise signed apps when the membership of the enterprise isn't at all what Apple intended).

Tapping Verify like you do is the correct way to verify apps and will check / log information that Apple uses presumably to decide to contact that Enterprise if they are indeed in violation of their agreement with Apple.

If nothing happens, it's almost certainly due to Apple revoking the developer certificate because it's been used to distribute apps illegally or without a license or with a certificate issued for other purposes.


How do you remove the Automator gear icon in the menu bar?

If you are starting a long-running process with "Run Shell Script", redirecting its output should be enough. For example:

long-running-process &>/dev/null &

The gear icon appears then goes away shortly after, I think it is better than nothing...


Why can't I hear my alert sounds or ringer?

I would first check to see if the silent switch on the phone, above the volume buttons, is active. That would cause the issue. If that's not the case (the switch is off), I would try powering the phone down (hold down power button at top, then slide to power off), then restarting it.


Search for OS X identify process by window I found What process owns a certain window (Mac OS X) which told me this after moving the Window:

RetinaMBPro1TB:bin jeroenp$ ./show-recently-moved-windows.py
Move target window

List of windows that moved:
{(
        {
        kCGWindowAlpha = 1;
        kCGWindowBounds =         {
            Height = 1094;
            Width = 1130;
            X = 43;
            Y = 45;
        };
        kCGWindowIsOnscreen = 1;
        kCGWindowLayer = 0;
        kCGWindowMemoryUsage = 5246548;
        kCGWindowName = "bin \U2014 Python \U2014 160\U00d776";
        kCGWindowNumber = 23921;
        kCGWindowOwnerName = Terminal;
        kCGWindowOwnerPID = 357;
        kCGWindowSharingState = 1;
        kCGWindowStoreType = 2;
    },
        {
        kCGWindowAlpha = 1;
        kCGWindowBounds =         {
            Height = 153;
            Width = 420;
            X = 1359;
            Y = 182;
        };
        kCGWindowIsOnscreen = 1;
        kCGWindowLayer = 8;
        kCGWindowMemoryUsage = 390292;
        kCGWindowName = "";
        kCGWindowNumber = 23246;
        kCGWindowOwnerName = CoreServicesUIAgent;
        kCGWindowOwnerPID = 87976;
        kCGWindowSharingState = 1;
        kCGWindowStoreType = 2;
    }
)}

Since CoreServicesUIAgent is the owner, I performed this:

killall -KILL CoreServicesUIAgent

That worked. Now I can open the PDF again.


Does using a third party(non-Apple) MagSafe 45W power adaptor cause power problems with MacBookAir

Yes, you should be worried. Power adapters which have not been Apple certified can be shoddily constructed, have inferior components, and frequently lack safety mechanisms that prevent harm to your device and yourself. This article at Macworld about iPhone chargers shows some of the problems. This forum thread at MacRumors discusses MacBook chargers specifically.

You may save a few dollars getting a non-Apple branded charger, but if it damages your machine, you may just end up spending much more money in the end.


How to open multiple iTerm2 tab with admin privilege

The only way I can think of doing this is by setting up sudo to not require a password.  There are obvious security issues with this, but if those are acceptable in your situation, this is what I would do.

Edit the /etc/sudoers file with the visudo command:

# sudo visudo

Add a line at the bottom which grants the relevant user the ability to run any command as root without being prompted for a password (in this example adam is the user):

adam ALL=(ALL) NOPASSWD: ALL

If you wanted a slightly more secure version, you could restrict them to only being able to run myApp without a password on a particular host (in this example the user is adam, the host is hebe and the only command they can run without a password is /usr/local/bin/myApp):

adam hebe = (root) NOPASSWD: /usr/local/bin/myApp


unfortunately the answer is no. Here's another answer to a very similar question. It's not the same question, but the answer is the same:

https://stackoverflow.com/a/5007150/62653

As a side note, you might be interested in this blog post. It won't solve your problem, but is quite interesting nonetheless (the domain name for this address, and the blog title is a bit unfortunate, but it is a genuine blog entry on cocoa dev).

http://niggazpullintriggaz.blogspot.com.au/2011/11/how-i-managed-to-edit-etchosts-without.html


How to remove the loading wheel from iPad home screen?

Possibility 1: Bug in a third-party app

Third-party developers have the ability to turn this icon on and off in their applications. This is a problem when the app does not disable the icon appropriately when it is finished with network operations.

The spinning wheel is set based on the networkActivityIndicatorVisible property and is set like so:

[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:YES];

Restarting the device fixes this until the offending app enables the icon and, once again, does not disable it. Apple apps will handle the icon properly, but iOS leaves it up to the third-party developers to handle it on their own. Sloppy developers can definitely cause the issue you are seeing.

The explanation from Apple's developer page on this topic:

  Specify YES if the app should show network activity and NO if it
  should not. The default value is NO. A spinning indicator in the
  status bar shows network activity. The app may explicitly hide or show
  this indicator.

Because this is explicit, bugs in code may cause this to remain visible long after a network operation finishes. My suggestion to you is to track down the offending app and submit a bug report to the developers.

Possibility 2: Actual networking is happening in the background

The accepted answer from this Apple.SE question suggests that it may be actual network activity causing the spinning wheel to remain visible.

  The network you've connected to needs some more configuration, and it's taking some time to get the configuration information set
  properly from the router (or, more likely, DNS server)
  Your phone is polling for a lot of data to transfer - maybe there are a lot of apps to update, or you have a lot of email to sync, or
  you have a lot of cloud data to download
  Your phone is trying to hit an important server, and is having trouble connecting to it (say, it's trying to poll apple servers to
  check for software updates and the servers in questions are down). The
  spinner is going to stay up for a while, until your phone gives up or
  gets an actual connection.

This is certainly possible. It may not be a bug in anyone's code and reflect actual networking that your phone is doing in the background.


Deleting files on sparse bundle disk images doesn't actually free the space

Both sparse disk images and the newer sparse bundle disk images intentionality do not reap/reclaim space until they need to. This is especially so for a sparse bundle - which is designed to reduce the network transfers when the image is stored on a network share. It certainly speeds up normal read/write operations since the system can assume compact won't happen when the files are changing. When you check things in disk utility, it perhaps sees that space could be reclaimed and does that for you. You are correct, that in normal use, it ends up with you using more space than if you simply put things on the normal file system.

You could convert your storage to a normal sparse image to get more traditional freeing of space when you delete files stored within the disk image.

Certainly read the first two paragraphs of the man page for hdiutil.

You can of course kick off a manual compact operation with:

hdiutil compact /path/to/sparsebundle.dmg


Terminal uses one theme for the first window and a different theme for later windows

Go to Terminal → Preferences → Settings → Profiles, select the Homebrew theme, and click the ‘Default’ button. Then quit Terminal and restart to confirm it works.


Keynote - How do I get rid of the default background images?

So you went to your Keynote presentation document file and used the Finder to "Show Package Contents" then you deleted the image files you found in there. That would cause problems. Try this:

Open a new Keynote document and select the Theme that you want to use as the basis for your presentation. Now do...

View -> Edit Master Slides
Delete all Master Slides that you don't need.
If you need a Master Slide with an image, replace the image with a small place holder image. For example, a JPG file with a solid color.
Remove the Back Ground Image from All Remaining master slides, and remove any other unneeded elements from the slides.
Click the Done button at the bottom of the Master Slide editing screen
File -> Reduce File Size (which will probably do nothing)
File -> Save Theme...
Give it a name such as "Church Music"

Now you can create a new presentation using the "Church Music" theme. Your theme will be on the "My Themes" tab of the theme browser. After you save, you can now view the presentation's Package Contents to make sure that there is no unused items. Keynote will generate a variety of slide previews and other images which you need to keep, but these should be very small. If there is stuff that you really don't need, you might try re-editing the Themes Master Slides.


macOS: Setting up an administrative account from a user account without admin password

Apple has a guide that covers all the permutations and combinations (iCloud / FileVault / forgetfulness / no password at all)

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

If you have FileVault turned on, you likely need to reset the password with Recovery boot.

Reset admin password without the old password

If you don't have FileVault turned on, you can simply make a new admin account and then use that user/password to make any other non-admin accounts back into admin accounts.

How can I get admin access to a Mac without knowing the current password?

The above covers my favorite way - remove .AppleSetupDone and make a new account, but some people prefer to not worry about a new admin user and just do the full reset with ddcl

You can no longer just force the reset from the OS that's running - that's the same as defeating the reason to have a password and Apple has patched all the easy / known ways to do that I believe.


How do I make a volume mounted using sudo sshfs visible without sudo?

Create a mount point in your user's realm and mount it there:

mkdir -p ~/Shares/ssh_fs_5810 && sshfs dspitzer@dspitzer-5810:/home/CORP/dspitzer ~/Shares/ssh_fs_5810/

As an alternative you can add a sudo chown command after creating the mount point in your example (mounting to a subfolder of /Volumes):

... && sudo chown %user%:%group% /Volumes/ssh_fs_5810 ...

with %user%: dspitzer and %group%: staff (or admin - depends on your user privs).

The total command is then:

sudo mkdir -p /Volumes/ssh_fs_5810 && sudo chown dspitzer:admin /Volumes/ssh_fs_5810 && sshfs dspitzer@dspitzer-5810:/home/CORP/dspitzer /Volumes/ssh_fs_5810

Running this command for the very first time seems to be rocky sometimes. Connecting to the remote host via ssh first (to add the remote host to the known_hosts file) and/or adding two times sleep 0.5 in between may help.


Move large files to iPad through Lighting cable

If you have iCloud, Dropbox, or Box you can use these services to copy the files to your ipad. You can move the video clip to icloud, for example and move it from icloud to ipad or just use it while its stored in iCloud.


iPod Touch 4th Gen dock with AC or USB power and audio out?

The Apple Universal Dock provides both a 30 pin connector for charging and/or syncing as well as a 3.5mm audio output jack.


Which application changed Mac OS X [Option]+[D] keybinding

create a new user and login as that new user to see whether it works normally.

In my case, it works normally. Then check login items of the current user: Preferences > Users & Groups > Login items. Then remove unuseful items and relogin, remember to uncheck reopen windows when relogin.

Then, everything works normally. Thanks Nunzy in #MacOSX channel!

Thank you so much!!!


Why are Ctrl+a and Ctrl+f broken in Snow Leopard?

It was my bash key bindings - I had "set -o vi" in .bashrc.


Which printer software driver should I use?

Doesn't matter. I've used both with an Epson multifunction printer/scanner and I have not lacked for any features with AirPrint.


Some photos from iCloud Photos after backup mysteriously disappeared

Yes - sign in to iCloud from a computer browser and you can see all photos that have been deleted in the past 30 days (or a little more some times).

iOS and macOS version of Photos can also show the deleted items album if you toggle it in preferences or choose it if it’s enabled.

This is covered in the “What if some photos are missing” section of this guide to iCloud Photos:

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

Barring that, you’d need a backup from before the photos were deleted to get them back.


Installing Mojave on External Drive from Yosemite?

Make a USB installer by following this tutorial.  I would recommend the terminal method as that's the one I have tried and found reliable.  After you have made the installer, boot to it and plug in the external drive that you wan't Mojave installed on (which I'll refer to as the Mojave drive from now on).  Format the Mojave drive as APFS and GUID partition map with Disk Utility.  Finally, install macOS on the Mojave drive.


No, it's not, you'll need a separate credit card and billing address for each country.

A work around would be to use your US address and use gift cards for purchases.

I do this, as I don't live in the US, but want access to some content only available in the US store.


how to create a 128MB HFS+ partition using diskutil

So I ended up booting into an ArchLinux live environment, and created a 128MB partition using "cgdisk" then installed hfsprogs.  After that I was able to format the partition using mkfs.hfsplus.


Can I connect a 3440x1440 display to my late 2013 27" iMac?

Everymac says your machine can support two external displays up to 2560x1600 via Thunderbolt, so I think the answer would be no.


Is my iPhone 7 that was bought in Japan compatible with Verizon neywork and H2O wireless network?

Yes. The A1660 (which supports both GSM and CDMA) is identical in terms of cellular capabilities. This is the phone you'd get under a Verizon contract, or if you just buy one without a contract. The A1779 differs only in that it includes contactless NFC for use in Japan.

All models of the iPhone 7 support GSM, so H20 is no problem.


Unsubscribe from your podcasts and resubscribe.  It really sucks but it is the only option.


Finder doesn't show files tagged on network drive

Having the same problem. Finder is not showing all the tags I made on various documents after I transferred everything to my new AirPort.

So, a kind of a workaround (although far from ideal) is to create your own tags: create a Smart Folder in Finder to search (also) in your external drive (via 'shared') and let one of the search criteria be 'filename' 'contains' ... .

Then you fill in a self-made 'tag', like 'to do' or 'review' or 'finished', etc. Then name this this Smart Folder for instance 'To do' and place it in your Favorites-section on the left side of the Finder-menu.

Finally, change the file names of the files you want to find and enter anywhere in the file name itself the same words, like: 'to do' or 'review' or 'finished', etc.

Now, if you click on the Smart Search folder, you will see all files with for instance 'to do' in the file name, in your external drive.


Do I need to upgrade the firmware on a Mac Pro with mismatched processor config and serial number?

The firmware had to have been updated before the newer processors were installed.

The differences between the 4,1 '09 & the 5,1 '10 - '12 are minimal. What you're looking at is a hybrid, older machine [quad-core Nehalem originally] with upgraded firmware & newer 6-core Westmere CPU.

In itself, there's nothing inherently wrong with that - I'm typing on one right now.
The fans are a little noisy - my older 3,1 you cannot even hear the fans until it's working hard - but it really has no issues, to all intents & purposes it's now a 2012.

This is mine

The 5,1 upgrade does allow it to run Sierra too - I just don't like Sierra.


Can my daughter charge my credit card from her Apple ID?

If your credit card is associated with her Apple ID, yes.


Unable to set previously used resolution, 1600x2560

This is a bug in 10.7.3. I have the same exact problem. I suggest filing a bug with apple: bugreport.apple.com. It doesn't look like there is any workaround for it.


Apple iWork Pages: How can I add a Section Break on the same page

I had the same question and found the answer at http://support.apple.com/kb/PH15334. You just have to select the section you want to change. In my case I wanted to have two columns on part of the page. I selected that section, then went to the inspector and selected two columns in the text section.


Using Finder to copy files by value instead of the files' reference

The git-checkout command is used to "checkout" files into your current branch from another branch. This would be safest since it would all remain in version control:

git checkout <branch_name> -- <paths>

Example,

git checkout develop
git checkout master
git checkout develop -- myfile.js

would checkout myfile.js from develop into master so you can commit it when ready.


The Finder should safely quit any open apps whenever you logout or reboot. If there is a document with unsaved changes It will prompt you to save or discard the changes before quitting. The keyboard shortcut is Command-Option-Shift-Q.

If you do not want all the apps restarting when you log back in, uncheck the "Reopen windows when logging back in" checkbox in the logout dialog.


Series 1 watch display pops off but still works! Can I just glue it?

I do not recommend fixing the display of the Apple Watch with an adhesive. There are tons of certified tools out there that can fix your Apple Watch as if it were new. If you glue it you run the risk of damaging components or not liking the end result, and it's hard to undo it if you've used glue.