Why am I experiencing random bluetooth disconnects?

It sounds like you are not alone and no fix in sight at the moment according to this report.
How to potentially fix iPad Bluetooth Problems

iOS 8 Bluetooth problems are among the most common iOS issues and they
were a big problem inside iOS 8. We ourselves have run into iOS 8
Bluetooth issues with the iPhone 6 and iPhone 6 Plus and while iOS 8.1
delivers fixes for Bluetooth issues, we expect Bluetooth problems to
persist inside Apple’s brand new iOS 8 update.
There doesn’t appear to be a cure all, we’ve heard about a few
possible fixes that iPad users will want to try. iOS users have
singled out “Reset All Settings” as a solid fix. It hasn’t worked for
everyone but there are a ton of people that are claiming success after
trying it on their iPhone. It should work for Apple’s iPad as well.
To do this, open up the iPad and head to Settings > General > Reset >
Reset All Settings. This is going to take a bit of time and users will
lose all saved settings but the pay off is that it seems to be fixing
Bluetooth issues for many people. It’s certainly worth a try if
Bluetooth keeps acting up after Apple’s iOS 8.1 upgrade.

For the time been, you can file your report with Apple and hope for the best.
https://www.apple.com/feedback/ipad.html


The original A1278 MacBook Pro unibody was shipped with Mac OS X 10.5.5 (Leopard).

From MacTracker

  OVERVIEW

  Introduced    October 2008 Discontinued   June 2009 Model
  Identifier    MacBook5,1 Model Number A1278 EMC   2254 Order
  Number    MB466LL/A (2.0 GHz), MB467LL/A (2.4 GHz) Initial Price  $1,299
  (2.0 GHz) $1,599 (2.4 GHz) Support Status Vintage Case    Precision
  aluminum unibody Weight and Dimensions    4.5 lbs., 0.95" H x 12.78" W x
  8.94" D PROCESSOR

  Processor Intel Core 2 Duo (P7350, P8600) ("Penryn") Processor
  Speed 2.0 or 2.4 GHz Architecture 64-bit Number of Cores  2 Cache 3 MB
  on chip shared L2 cache System Bus    1066 MHz STORAGE AND MEDIA

  Storage   160, 250, or 320 GB (5400-rpm SATA) or 128 or 256 GB (SSD)
  Media Slot-loading 8x SuperDrive (DVD±R DL/DVD±RW/CD-RW) KEYBOARD AND
  TRACKPAD

  Trackpad  Multi-Touch trackpad Keyboard   Full size (78 (U.S.) or 79
  (ISO) keys incl. 12 function, 4 arrow). Illuminated keyboard on 2.4
  GHz

You may find some useful information in this thread.  The MacBook you have was shipped with a DVD that contained the installation and recovery files.  Whether or not you have access to this DVD, you will have to purchase OS X 10.6 Snow Leopard from Apple in order to upgrade to the latest supported OS which is 10.10 Yosemite.

Apple Support:

  Upgrading from OS X Leopard If you’re running Leopard and would like
  to upgrade to OS X Yosemite, first you’ll need to upgrade to OS X Snow
  Leopard. You can purchase OS X Snow Leopard here.

While Yosemite is a free upgrade Snow Leopard still carries a $19.99 USD price tag.  See Apple's Upgrade Support page for details.

Depending on your investment, the price may be worth considering.

See also this answer:

  Can I download Mac OS X for a used MacBook Pro?


This will show you your installed brew packages

brew list

There may be options in other package managers, but nmap can also be installed by downloading the disk image and installing manually.


Monitor resets with OWC Thunderbolt 2 Dock?

January 22, 2016: I had similar problem (intermittent monitor and hard disk disconnects) and called the OWC HelpDesk.  The OWC technician said that problem was with the Mac Thunderbolt driver, not the Dock, and the solution is to reset PRAM/NVRAM: https://support.apple.com/en-us/HT204063
Since PRAM/NVRAM reset, the intermittent screen and disk resets have stopped.  I am keeping fingers crossed.

January 30, 2016: The monitor/disk disconnects have restarted :-(

February 9, 2016: Has worked flawlessly for past 10 days, following another NVRAM reset.  I wish I could understand the problem a little better, what causes it in the first place and why it goes away after NVRAM reset?


What does it mean when Repair Disk takes just a few seconds to complete?

Checking a disk checks the partition map but not the volume data structures.

Checking a volume checks the partition itself, which can take much longer.


display partial file path on Finder tab title

I find using a code editor to view folder hierarchy works much better. If you don’t have an IDE I would start with a very free and very extensible / feature full editor like Visual Studio Code.

https://code.visualstudio.com/

That or making the jump to shell where you can exert exceptional control over prompts allow more customization than Finder does at present.


What are the consequences of using a low-wattage USB-C power supply with a MacBook Pro?

Apple partnered with LG to create a 4K monitor that outputs 60W via USB-C. Apple has mentioned full compatibility with a 13" MacBook Pro (comes with 61W power adapter) but mentioned that with a 15" MacBook Pro, the battery will get drawn during intensive power usage and therefore it should be connected to its 87W power adapter. No mention of any dangers in doing this.


How to isolate the most disk-active process(es) in OS X?

After fiddling with making my own solution via fs_usage manipulation, I discovered the DTrace iotop script (man iotop).  This really seems to do the trick with regards to giving samples of filesystem activity at nice updated intervals and quickly allows one to isolate possibly misbehaving processes.

*NOTE: you must run it with sudo or as root user.

For example:

sudo iotop -C 5   # Simply gives an update every 5 seconds in default output format without clearing screen.
sudo iotop -CP 2  # Gives 2 second interval updates w/o clearing screen and I/O time based output.

Options:

iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename] [-m mount_point] [-t top] [interval [count]]

   -C     don't clear the screen
   -D     print delta times - elapsed, us
   -j     print project ID
   -o     print disk delta times, us
   -P     print %I/O (disk delta times)
   -Z     print zone ID
   -d device
          instance name to snoop (eg, dad0)
   -f filename
          full pathname of file to snoop
   -m mount_point
          mountpoint for filesystem to snoop
   -t top print top number only


I managed to solve the problem by changing my region to the United States and customising the rest of my preferences.


Fortnite for iOS reports insufficient space on my iPhone

You can check the available space on your iPhone by going to Settings app → General → iPhone Storage and checking for available space.

You can also check the storage usage on per app basis and delete apps or app data appropriately.


Kill processes automatically that get over x % CPU

This post suggest using monit.
As you have given no details as to the nature of the process, I can't advise whether their suggested config would be of any use for you.


Transfer contacts and SMS from Samsung SGH-X830 to iPhone?

Contacts

Move to SIM card, move SIM to iPhone, move from SIM.

SMS

?


What's the difference between the battery of iPhone 5s vs iPhone 5?

There are slight improvements to the battery capacities of the 5S and 5C over the 5.

iPhone 5 - 1440mAh <- 5.45Whr at 3.8V
iPhone 5c - 1508mAh <- 5.73Whr at 3.8V
iPhone 5s - 1558mAh <- 5.92Whr at 3.8V

Source

In terms of battery life comparison for 5 vs. 5c vs. 5s, they ran some benchmarks in their review.  In some tasks the 5c/5s are better than the 5, in others the 5 is better.  With the exception of their Wifi browsing test, the new phones are comparable to the 5, with there being less than an hour difference in battery life.  In the Wifi browsing test though, the new phones ran out of juice .57 hours sooner (5c) and 1.3 hours sooner (5s).


The solution is in the warning message: pass '-stdlib=libc++' in the command line when you run the install command. So just add CXX="g++ -stdlib=libc++" to the install/make command.


Phone calls on iPhone doesn't ring on Bluetooth headphones

When a pair of headphones are connected to an iPhone (whether wired or wireless), it's normal for the ring to be played both on the iPhone, as well as in the connected headphones. This is by design.

If you are not hearing the ringtone play via your Bluetooth headphones, make sure they are connected (not just paired) to your iPhone when you receive the call.

If you wish your iPhone to not ring when around people, and want the ringtone to play just via the Bluetooth headphones:

Make sure your iPhone is set to silent mode by using the Ring/Silent switch on the left side of your iPhone.
Make sure your Bluetooth headphones are connected to your iPhone. To ensure if the headphones are indeed connected, go to Settings app → Bluetooth, and check if your headphone listed under My Devices shows Connected in front of it. If it shows Not Connected instead, turn on your Bluetooth headphones and tap on it's entry here on your iPhone.

From the Apple Support document:

How to put your iPhone on vibrate, ring, or silent mode:

  Put your iPhone in Ring/Silent mode

  When your iPhone is set to ring, ringtones, alerts, and sounds play through your iPhone speakers.

  When your iPhone is set to silent, you won't hear ringtones or alerts, but other sounds will play through your iPhone speakers and your iPhone will vibrate.

  These settings affect only your iPhone speaker. If you use a headset, sounds play through your headset, even if your iPhone is on silent.


Unless the USB-C hub is defective or not standards compliant, there should be no harm in plugging in the power supply there. It is totally safe and an intended functionality!


Is there a way to add separators to sidebar?

There used to be a way to do it cleanly in earlier version of the OS but it is no longer supported.

I use a folder called "---------" which leaves a folder icon at the left edge.

Patrick Welker details a way of doing the same but not having the folder icon by replacing the Smart Folder icon with a transparent one( http://rocketink.net/2013/04/vanilla-finder.html) but that means any Smart Folders are iconless.


Aborted localhost http requests -- how to troubleshoot?

This application was frequently (20+ times a day) un binding and binding the ip+port.  Once I refactored this to stop doing that, it no longer has had problems.


Does the iPad setup wizard require a home button in iOS 10?

The first thing you have to do is unlock the device, which requires you to press the home button.

A thread on Apple Support Communities has a possible workaround, but I can't verify it:

  Once you download iOS10 and get to "Hello" screen, connect your iPhone to iTunes. Under iPhone>Summary page, there is an icon that says "configure accesibility".  Click on it and a window pops up, and enable "Speak auto-text" under "seeing" and "mono-audit" under hearing.  I THINK it should work with just choosing one or the other or any other options for those with seeing/hearing problems.  Click on done, and you see your vertual home button is back on "Hello" screen.

https://discussions.apple.com/thread/7667716


Projector black at any resolution when connecting MacBook Pro Retina

Opposite of your thoughts that the problem lies at the Mac end, I'd personally search on the projector first.  If the supplied signal is somehow out of range, the projector should beam some feedback by showing an error on the wall.

Perhaps you haven't selected the right source on the projector.  Does the projector handles a different HDMI source correctly?

Being such an expensive projector and all, connecting it to a (n old) Apple TV could do wonders.  It's cheap, neat, wireless and well implemented in OSX and iOS.  If your environment is Apple focused I won't hesitate and try it out.


What's the equivalent terminal command for removing users/groups from a folder recursively?

You would use the chmod command, with the -a flag to delete access control list entries, and the -R flag to do so recursively.

For example:

$ chmod -R -a "admin allow read" foldername

would make all files in foldername read-only for the admin user (because you're removing the "allow read" property for "admin".

$ chmod -R -a "joe allow delete" foldername

would prevent user joe from deleting any file in foldername.

To add properties back, use +a instead of -a.

For more details and examples, see the chmod manpage, or this article.


USB CDC ACM device cannot be set to use 1.5Mbaud

It is a driver problem. The com.apple.driver.usb.cdc.acm driver actually instantiates an IOSerialBSDClient for the device, as seen in the output from ioreg:

+-o IOUSBHostInterface@1  <class IORegistryEntry:IOService:IOUSBNub:IOUSBInterface, id 0x100007a62, registered, matched, active, busy 0 (208 ms), retain 7>
  +-o AppleUSBACMData  <class IORegistryEntry:IOService:IOSerialStreamSync:IORS232SerialStreamSync:AppleUSBSerial:AppleUSBACMData, id 0x100007a6c, registered, matched, active, busy 0 (1 ms), retain 6>
    +-o IOSerialBSDClient  <class IORegistryEntry:IOService:IOSerialBSDClient, id 0x100007a72, registered, matched, active, busy 0 (0 ms), retain 5>

Which is very limited in the number of baud rates that it supports. Version 11 of the IOSerialFamily, the version on my machine, only supports the baud rates listed in the static struct speedtab iossspeeds[] in the IOSerialBSDClient class source. I tested this by successfully setting the baud rate for the interface to 1843200.

The solution, unfortunately, will probably require me to locate a generic driver that supports the baud rate I require.


Quotes problem in Mavericks (or TextEdit)

This is not just TextEdit, it's Mavericks.

Under System Preferences > Keyboard, you can change the quotation marks.

Go to the 'Text' sub-menu.  On the right-hand side of the box, uncheck the "Use smart quotes and dashes" checkbox.


Is it possible to make iTunes write rating on the file itself?

If anyone else needs something like this I wrote a quick piece of code using Qt 5.4 and taglib 1.14.0 that reads the iTunes database and writes the play count and rating into each mp3 file. You'll have to build it yourself or download the binary; it seems to work for me: https://github.com/carlonluca/ITunesEmbed. Backup your library before using it.


How to upload pdf or, docs in safari or any popular browser in iOS?

Yah, mobile Safari does not support file uploading, even via a web upload form... sigh. However there are a number of ways to upload from an IOS device. here are two:

Dropbox, this has the benefit of having access to a large number of files and is free for most, depending on how many files you have. But you cant upload to web forms directly from Dropbox.
iCab, I've used this browser for a couple of years for just the reason you indicate. It allows you to upload (and download) files. I have not needed to do it for a while so I am not sure about the source for the files to be uploaded but I am pretty sure it includes Dropbox. It's not free but only a couple of bucks and well worth it.


The default key command to switch Input Sources is  Cmd ⌘   space  which you may be triggering accidentally.
From comments, I understand the new default since El Capitan is  Ctrl ⌃   space , however it also appears it will remain at the old setting if you upgraded from an older OS.

To remove unwanted input sources go to System Preferences > Keyboard > Input Sources & remove all except the one you wish to keep.

Alternatively, if you want to keep the other sources but not trigger them accidentally, then remove the shortcuts in System Prefs > Keyboard > Shortcuts > Input Sources. [This option is only visible if you have more than one source in the previous pref pane.]

With the key command to change sources removed, you can change from the menu bar flag.

If you remove all except one source, the flag icon will disappear.


Optimize Mac Storage: Keep local copy AND iCloud backup of directory

No, that is not possible.

You cannot always have a local copy with a backup in iCloud as well as having the same files be eligible for Optimized Storage.

Either the files are permanently stored locally, or they're eligible for Optimized Storage - i.e. only stored in the cloud.


macOS equivalent to the Windows "Compress file/folder content on disk to save space" option

This is actually a feature of the NTFS file system (I believe...) and hails from the days when disks were more expensive, much smaller and measured in megabytes. Microsoft has kept this functionality in all versions of windows since the early days of NT.
While you can manually compress files to save space I realize that is not what you are looking for. However I am not aware of a utility or feature of macOS that allows automatic file system level compression of disk contents.
Note that in an article on ArsTechnica it is noted that it sounds like file system compression may be coming to APFS in the (near or otherwise) future.
There may be something in APFS that allows this but so far neither Apple nor any third parties (that I am aware of) has implemented this functionality.


Cause of this kernel panic IOVideoPocketCamDevice::terminate

Seems /Library/Extensions/IOVideoPocketCam.kext hasn't been updated for High Sierra. Remove this kext and reboot the machine.

Boot into Safe Mode (hold ⇧ whilst turning Mac on until Apple logo) and log in as usual.
Safe Mode disables all third-party extensions so this problematic kext won't be loaded.
Open Finder, press ⇧⌘G and enter /Library/Extensions.
Find IOVideoPocketCam.kext and delete the file (move to Trash).
Reboot as normal.


Time zone set to Pacific while in Eastern, settings grayed out

Your Mac probably is locked to the Time and Date setting because of the domain it's connected to. To change that you may need administrative access to your Mac. Do you happen to have administrative access? Is your Mac connected to a work or school domain? Was it ever on one?


With Powerpoint quit, go to
~/Library/Saved Application State/com.microsoft.Powerpoint.savedState/
& delete the folder &/or contents.

Quick way to get there, if you're not sure…

From Finder, hit  Cmd ⌘   N  for New Window
Hit  Cmd ⌘   Shift ⇧   G  for Go…
Paste ~/Library/Saved Application State/com.microsoft.Powerpoint.savedState/ including the tilde ~
Delete the files you find in there, data.data, window_1.plist etc, everything, or delete the entire powerpoint.savedState folder itself.

Launch Powerpoint again.


Fresh install Big Sur without deleting a partition

While upgrade procedures are tested before macOS is publicly available there always remains a slight risk that things go wrong and data gets lost. To be on the safe side, always make a backup on an at least one external device (two devices are even better) before upgrading macOS.


In OS X Server.app, what's the number in the app icon?

It means the number of alerts you have. There are several things that can prompt it to show alerts in Server.app, such as software updates available for the server, a volume unplugged unexpectedly, etc.


Why can't I access this Ext4 partition using FUSE?

Make sure to install the fuse-ext2 package as well. FUSE is just the compatibility layer, it needs filesystem-specific implementations to be useful.


Do any OS X apps ease Search and Replace across multiple files?

I typically use TextMate:

TextMate (1) is/was a buy product, but TextMate 2 is currently under active openSource development on gitHub and free to use.


How can I block an app from accessing my contacts?

Instructions for macOS & iOS...

For macOS
System Prefs > Security & Privacy > Privacy > Contacts
uncheck any you wish to have no access

for iOS

Settings > Privacy > Contacts


I use Sosumi: http://clickontyler.com/sosumi/

It is essentially a Mac app version of the iCloud Find My iPhone webpage.  Except it allows you to add multiple iCloud accounts.  So as an example, I added my own so I can track my own iDevices, but I also added my Mom's to track her iPhone if need be.


How to send all the messages under a contact to an email

You can only hold one text bubble, then select what text you want and forward it via sms/imessage again, or you can just copy the text and then compose a new email and paste the text in there. :)


Does that memory act as the "VRAM" that Final Cut Pro needs?

The integrated Intel Iris graphics chips contain onboard memory that act as L4 cache this helps speed up access to the shared system RAM, but doesn't replace it as the backing store for graphics data.

  Does this mean that the discrete graphics card has 256MB on its own, but can also receive more from the system memory, a la the integrated cards?

The discrete card has its own RAM, placed near to the GPU and connected to the GPU with a private buss. Additional RAM from the system memory cannot be used with discrete cards. Really, you wouldn't want to -- it would slow down its processing capabilities.

  Lastly, how different would the performance be for Final Cut Pro (or similar apps) between the Iris Pro graphics and the discrete card? If someone wants to use Final Cut Pro, is the discrete card a necessity?

This is hard to answer definitely. It depends on what a user is trying to do in Final Cut Pro. Certainly the discrete should out perform the integrated graphics setup when the workload starts to turn more demanding but OpenCL performance is proving to be almost on par for the integrated cards with the discrete cards in the latest Retina MacBook Pros.

Here is an article that has some discrete vs. integrated FCP benchmarking information in it. It points to this other article that has a choice quote in it:

  In the past we sneered at the integrated GPUs and their puny performance. Not any more. The Intel Iris and Iris Pro are every bit the match or master of discrete NVIDIA Mobile GPUs -- at least when it comes to OpenCL acceleration.

Where the discrete cards win is in OpenGL-based workloads.

Ideally you'd run your own benchmarks on the hardware with representative workloads. If this isn't feasible, you're stuck relying on the benchmarks done by others like those two sites above to make your decisions.


Why does iPhone capture screenshots as PNG?

PNG is not only useful for allowing transparency: PNG is a lossless format, while JPEG uses a lossy form of compression. Also PNG does compress screenshots pretty well (unlike camera photos, which is why Apple uses JPG for those).

More info if interested:

Also, A technical overview of what PNG is good for is worth reading (it's basically one of the main references on the topic and contains enough details to spend the day on it). Excerpt:

  For the Web, as of early 1999, there are two image formats with
  ubiquitous support: JPEG and GIF. JPEG is very well suited to the task
  for which it was designed--namely, the storage, transmission, and
  display of photorealistic 8-bit grayscale and 24-bit truecolor images
  with good quality and excellent compression--and PNG was never
  intended to compete with JPEG on its own terms. But PNG, like GIF, is
  more appropriate than JPEG for images with few colors or with lots of
  sharp edges, such as cartoons or bitmapped text. PNG also provides
  direct support for gamma correction (loosely speaking, the
  cross-platform control of image ``brightness'') and transparency. I'll
  discuss these in more detail shortly.

  GIF was the original cross-platform image format for the Web, and it
  is still a good choice in many respects. But PNG was specifically
  designed to replace GIF, and it has three main advantages over the
  older format: alpha channels (variable transparency), gamma
  correction, and two-dimensional interlacing (a method of displaying
  images at progressively higher levels of detail). PNG also compresses
  better than GIF in almost every case, but the difference is generally
  only around 5% to 25%, which is (usually) not a large enough factor to
  encourage one to switch on that basis alone. One GIF feature that PNG
  does not try to reproduce is multiple-image support, especially
  animations; PNG was and is intended to be a single-image format only.
  A very PNG-like extension format called MNG has been developed to
  address this limitation.


Where can I see the size of a video on the YouTube application?

You can find them after you've enabled "stats for nerds" in account (icon) > settings > toggle "stats for nerds".

Then when playing a video, tap "more", select "stats for nerds".

Apparently we are nerds.


Boot to recovery HD and reinstall Mountain Lion if you don't have those backed up to your Time Machine (or equivalent) backup.


Persistent do not disturb toggle in Yosemite possible?

Scroll up the Notification Center to reveal the switch.


Can iCloud stream my library on a 8GB iPod Touch?

iCloud on it's own will not provide any library functions, the closest chance you have is if your car is in range of your Wifi network and you occasionally Wifi Sync it from iTunes.

Otherwise, your other opinion is iTunes Match. You can use this to allow your iPod to download any songs in your library (with just a few caveats) for playback on the iPod touch. Note that you can download a song by tapping the cloud icon, but tapping normally on an un-downloaded song will download it and stream/play it at the same time.

This means that you have limited effectiveness of updating your iPod touch, as you will only be able to do so when near a Wifi Access Point. You will always have access to downloaded files no matter your network state, of course.


The CPU in the Mac Mini late 2014 is not capable of driving a display at 4K at 60Hz.

This Intel Quick Reference Guide, under the "Display and Audio Features Comparison" section, lists the Intel Iris 5100 (the graphics chip in the Mini) in the second column. Cross referencing this with "Maximum Display Resolution" in the first row, you see that the H-series CPUs combined with the Iris 5100 can drive a 4K display at 60Hz, but the U-series that is in the Mini cannot.


Sorry, I forgot I posted this question. The answer is iOS 8 now stores the bundle on a separated folder. Programs are still no able to read it.


Drag and drop items as attachment in Entourage

For most Macintosh applications that accept drag and drop, you can drag and drop files to their Dock icon. So your "flow" might be:

Open the finder window with the file you want to send
Drag it to your dock
Drop it on the Entourage icon
Entourage will launch and should give you a new message, with that file attached

Hope this helps.


There can be several reasons.

Firsts, new RAM can be slower than your original RAM. Compare original RAM specification and the one you installed. For Macs manufacturers usually have specially tested and tuned RAM modules. Anything cheap will actually decrease performance.

Secondly, Mac allocates as much swap as you have RAM. Earlier your Mac allocated 4GB at start, now it has to allocate 16GB. If you do not have SSD, this will be much slower because the swap file has to be written to disk at start.


You'll want to install a safari content filter / content blocker to prevent advertisements and/or javascript from sites that are advertisement supported and possibly pay for access if they detect ad blockers.

https://daringfireball.net/2015/07/safari_content_blocker_imore
https://itunes.apple.com/us/app/adamant/id1029747593?mt=8 - Adamant
https://1blocker.com

I have a high opinion of both the 1Blocker and Adamant for iOS and you could use one or the other or both depending on your needs.

https://www.macworld.com/article/2984483/ios/hands-on-with-content-blocking-safari-extensions-in-ios-9.html

I would say the vast, vast majority of hijacked web sessions is advertising related. Compromising them is so easy for people with a little money and a lot to gain for forcing people to see content they didn't expect on a site.


How can I make Automator run service I made (shell script) and display the output in Terminal?

If you run a shell script by:

Opening the Terminal application
Telling the Terminal application to start your script

Then the script's output will, by default, be displayed inside the Terminal window (this can be changed by, for example, redirecting the output to a text file with the > character). This is what you have been doing "before going to bed".

Shell scripts, however, can also be run without ever opening the Terminal application! For example, you could create a launchd plist to run a shell script whenever your computer finishes booting. In this case, the script would run, but nothing would be displayed on screen, because the Terminal application was never opened.

Similarly, Applescript's do shell script command executes shell code directly without ever opening the Terminal.

Instead of running the shell code directly, tell the Terminal application to run the shell code for you:

tell application "Terminal"
  do script "echo 'Hello World'"
end tell

Now, Applescript will open a Terminal window, and run your shell code inside of it.


How to debug slow Chrome on MacBook Air?

I'd start by creating a new "User" in Chrome.

Chrome > Preferences: New User

This will give you a fresh start on preferences and extensions.

If the new user has no issue then you likely have a bad extension or preference.

Chrome and Safari are both memory pigs these days (in exchange for which they are wicked fast when they have enough memory).  How much RAM does your Air have?

When you look at the Chrome console when images fail to load is there anything interesting there?  Chrome > View > Developer > JavaScript Console


Any danger to letting a MacBook stay on the charger long-term?

Ideally you should let your computer discharge completely every month to avoid losing battery capacity.

Apple has a calendar to remind discharging the computer every month at webcal://www.apple.com/batteries/images/notebook_icalreminder.ics


Connect 2 external monitors to a MacBook Air (Mid 2012)

The only monitor that can daisy-chain the display connection is the Apple Thunderbolt Display. Your Asus monitors don't have Thunderbolt hubs or 'pass-through' connectivity.

However, I'm surprised that the Belkin Dock didn't work: assuming that it had a HDMI port and a TB2 pass-through, then that's exactly what it's for.

There are TB2 to dual HDMI adaptors, which might work, if you can find one.
https://www.techpowerup.com/149981/zotac-announces-dual-hdmi-output-adaptors

If you really want to invest in 'future-proofing', you might be better served updating your Mac.


After about four weeks I got a reply from LG support with a firmware file attached.

Here is some information about the file:

Filename:
MODEL_27MD5KA_SV3.04_CV1.13_HV5237_NV3.04_AV0.1e_20170705.zip
Filesize: 304347 bytes
MD5: b03322ad668849ee5112ce24159c5c93

It's an encrypted ZIP file that can be opened with LG Screen Manager. With that file, I've successfully updated my monitor to version (3.04,1.13, 5237,3.04,0.1e).


Proven method is to use a hammer as practiced by Hillary Clinton.

Not even FBI could crack those devices.

Leaving it in water will not destroy the memory chips (they are sealed).


Why does using Passbook with the App Store result in a connection error?

Ah, OK, I think I found a resolution. It's still not quite clear why this works or why there is a problem, but:

  First, head to the Settings in your iPhone.
  Click on General.
  Next, head to Date and Time which is down the list.
  Once you’re in there, you’ll want to change Set Automatically to Off.
  Go to Set Date & Time.
  Click on Today’s Date. Once you do that, you’ll be given the option to change the date.
  Move the year one year forward to 2013.
  This will prevent the error from happening. If you wish to change the date back to the real date, simply set Set Automatically to On and
  everything will return to normal.
  Head into Passbook and marvel at the apps.

(source)

That fixes the issue on my phone.


system.log flooded with xpcproxy errors during sleep time. How do I diagnose?

Further investigation: wake-up loop was due to a bad USB hub chain which probably makes Catalina go mad (but worked with Mojave). Reconnected 2 hubs and a Thunderbolt dock in a different order and solved it.

Anyway the xpcproxy error is there at every wake-up but at least not in constant loop.


Try Microsoft Essentials Photo Gallery

The iPhone's folder hierarchy was never meant to be human-readable.


Google Authenticator after an iphone motherboard replacement

Google Authenticator stores your accounts in the iOS Keychain. There's nothing special about the way this is done - it is the same as with other apps on the iPhone.
When you restore an unencrypted backup, these types of Keychain entries are not included in the backup - and thus cannot be restored. It does not matter if it is restored to the same "motherboard".
If you instead make an encrypted backup (including iCloud backup) and restore from that, your Keychain entries will be restored - and thus your Google Authenticator accounts.
This is entirely intentional from Google, and they have set up the app exactly to do this. If it weren't setup that way, your accounts could be compromised without having the "second factor protection".
The mechanism through which the backup is “linked” to the actual device is entirely implemented by Apple - there’s nothing Google Authenticator-specific about it. The data is encrypted using the Secure Enclave’s unique is as part of the encryption key. The Secure Enclave is a special component of the processor on the iPhone that allows, amongst other things, encryption/decryption of data based on a unique ID that cannot leave the Secure Enclave.
This means that it is not possible to just read out the unique id to perform the decryption somewhere else. In practice this means that the data can only be restored on that physical device (I.e. the device having the same Secure Enclave as when the backup was made).
I know it is too late for you now, but when setting up 2FA accounts, you really want to set up at least 2 devices, so that you have a backup device in case one is lost for any reason.
If the services you use do not support having multiple 2FA codes, I would suggest instead using a different Authenticator app that allow syncing the secret behind the 2FA code between devices. The free Authy app from Twilio is a very popular choice.


How to load windows 7 directly (without Boot camp) in a Mac Mini with intel processor whose Hard disk crashed and so is replaced?

Just because something isn't documented doesn't mean it is impossible, the following is true for Mac Mini's from 2010, 2011 and 2012.

You can install Windows alone on all three by configuring a hard drive to be MBR, setting the active partition to be the one containing the Windows folders. A Boot Manager, the 100mb partition you see on windows 7 computers, can be configured to point to this installation or better yet boot the mac holding C and boot into the windows 7 install CD. Have it repair the installation, it will create this partition pointing to Windows.

The drivers are difficult to find, however, you can buy a Mac and do everything needed in Windows without having to have any apple software loaded on the machine.


How to tell which Safari tab is consuming the most memory

From comments…

In Activity Monitor, if you set the View to "All Processes, Hierarchically" then all sub-processes of Safari [or anything] will be contained within the main process, aiding the task of discovery.


Terminal - how to restart session after inadvertently exiting?

At this point, there's no way to get the tab back. The terminal session is closed, and it no longer has a TTY. There's just no way to reference the tab in order to do anything clever. I'd suggest adding this function to your .bashrc or .profile so that you won't have the issue in the future:
exit() {
    read -t5 -n1 -p "Do you really wish to exit? [yN] " should_exit || should_exit=y
    case $should_exit in
        [Yy] ) builtin exit $1 ;;
        * ) printf "\n" ;;
    esac
}

or, for those of us who use the Z Shell (add it to your .zshrc):
exit() {
    if read -t5 -q "?Do you really wish to exit? [yN] "; then
        builtin exit $1
    fi
}

It's a nice little barrier between you and that annoying exit command! Lord knows I've done the same thing many times in the past.


Big Sur Update wiped my /etc/apache2/extra

Just restore them from the backup you made before starting the upgrade. That's way quicker then searching for them on the upgraded system.
On APFS based systems, remember, your custom files and data are on the “data” filesystem and not on the system itself.
Also, look for a relocated items folder on your desktop in case Apple intentionally set aside your modifications.


Is there a Mac diagnostics utility for troubleshooting hardware issues?

Looks like Apple Hardware Test is a possible solution. Might need some elbow grease to get it to work on OS X Lion.


AirPort Extreme between two VLANS - intermittent response to ping

I have the same issue. After putting wireshark on the switch it is clear regardless of the VLAN config the management IP is being arped on all ports. that means the apple extreme is seeing the same arp on both its lan and wan port. It basically puges seeing that,cannot handle it and you have your issue. putting the router in between prevents the one arp hitting the apple.


MacBook Air's battery doesn't charge, Service Battery state, but only 400 cycles

It happens to me on my MBA, no charging light on.

By moving the mag connector (like let it snap in few times) it then comes up.

Just a bad connection. You can try cleaning it with alcohol.

And I also have the "Service battery" but that is only a recommendation.

Next level would be displaying "Replace soon, or Replace Now.

While the light on the connector is not on, I can see in the battery indicator it is still charging, telling me the wall plug adapter/converter is still working.

To check the health status of your battery, look in the about this Mac - Power,

Charge Information:

Charge Remaining (mAh):   2712

Fully Charged:    No

Charging: No

Full Charge Capacity (mAh):   5014

Health Information:

Cycle Count:  528

The Full Charge Capacity will tell you the health status  >5000 or higher is good.


macOS Big Sur - gatekeeper? slowing down opening applications

You absolutely want to open up all outbound ports to the entire 17.0.0.0/8 address block which is assigned to Apple as a first step.
Next, get this article to your network and security teams.

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

If they balk, call your Apple store (or whomever you buy you Macs) and ask for a short call with Apple Business to sort out why doing all of the things is the best plan for speed and security.
If your team isn’t convinced this is correct, set up a new network segment and do some A / B testing. Apple has made some very nice optimizations so notarization, certificate validation and other checks are cached very well now. Some even work with a proxy but some will not tolerate any manner of proxy or deep inspection / manipulation of the traffic.


I didn't really test this, but you could use a shell script instead.

#!/bin/bash

join="/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
date=$(date '+%Y-%m-%d')
last=$(ls ~/Desktop/$date*.pdf 2> /dev/null | tail -n1 | sed -E 's/.* 0*(.*)\.pdf$/\1/g' || 0)

cd ~/Documents/Scanned/
for f in scanf*.pdf; do
    ((last++))
    output="$HOME/Desktop/$date $(printf %03d $last).pdf"
    python "$join" -o "$output" "$f" "${f/scanf/scanb}"
    osascript -e 'on run {f}
tell app "Finder" to set label index of (posix file f as alias) to 2
end' "$output"
done


What new iPhone App that lets you maintain a single list, star items and sort them?


How to find all the available tools in mac terminal?

The easiest is simply to open the Terminal and then press the TAB key twice. You'll be asked if you want to see all possibilities - reply "y" and you'll get the full list.


My favorite converter is XLD. It converts to flac, splits cue files, it supports metadata correction (using CDDB), and embeds album artwork. It is the closest I could find to dBpoweramp.


Can i stored iMovie projects and files in an NTFS external drive?

Yes you can. Since you have Tuxera NTFS installed, you are able to read/write to the drive fine, so iMovie will have no problem saving to it. iMovie projects aren't as complex as iPhoto libraries, so you shouldn't have any problems.


What is the meaning of this status bar icon?

It looks like the application is adding that icon. I checked the Level application on my phone (sort of a free demo for Carpenter) and it has a button with the same design in the upper right corner:

Tapping the button gives this screen:

Google still has some update notes cached where the developer listed this as a new feature in the App Store:

  Added Quick Switch button on the top right corner to quickly switch between iHandy apps without getting back to home screen.

Normally, apps can't add custom icons to the status bar. According to this thread, they may just be overlaying the Quick Switch icon over the battery indicator: Customizing iPhone app taskbar


Automator: Take screenshot > Prompt rename > Add date and time to name

Renaming and moving files with other actions in Automator usually involves saving the list of file items to restore later, then adding the other actions using the Ignore Input option as needed to keep from mixing up the various results.

If you are using a destination folder for the final result, you can use a workflow something like:

Folder Action receives files and folders added to { targetFolder }
Move Finder Items { To: destinationFolder } (to keep from triggering
the folder action again)
Set Value of Variable { Variable: fileItems }
Ask For Text (Ignore Input) (This will be text for the new name)
Set Value of Variable { Variable: newName }
Get Value of Variable { Variable: fileItems } (Ignore Input)
Rename Finder Items { Replace Text, Find: (the text "Screen Shot")
in basename only, Replace: (drag newName variable) }


MB Air: connect, update App Store with broken Wifi/Airport via USB WiFi

repair wifi card or logic board then You will can log in usb wifi dongle or ethernet cable won't work. I know this is ridiculous.


Unfortunately, you can't change the location where Notification Center Alerts and Banners appear. This is a huge gripe of mine as well, and I highly encourage you to complain about this issue to Apple here:

http://www.apple.com/feedback/macosx.html


Wifi disconnects frequently in Macbook Pro 13"

If the network you're connecting to uses WEP encryption, try switching it to WPA. You might remember a similar issue around the launch of iPad 2.


How to see a friend's reviews on the App Store?

When looking at reviews in iTunes for iOS apps, you can click on the username of the reviewer, which will bring up the reviewer's page and will show all the reviews that the user has left on apps. This does not work with the Mac App Store.

This is a random user's reviews I found by opening the reviews on the F1 2016 app. Clicking the username takes you to this page.

If you want to see all your own reviews instead of another user's, see Is there a single place I can see all the app reviews I've written in the iOS App Store?.


Change Black Macbook Pro screen to something cool when music is playing?

With iTunes in foreground, either press ⌘T or select View > Visualizer, choose the animation, and select View > Show Visualizer.

The visual effect will change with the music: enjoy!


What are the App Store fees for subscription to an IoT hardware product?

Quoting the text from App Store Review Guideline verbatim:

  3.1.4 Hardware-Specific Content: In limited circumstances, such as when features are dependent upon specific hardware to function, the app may unlock that functionality without using in-app purchase (e.g. an astronomy app that adds features when synced with a telescope). App features that work in combination with an approved physical product (such as a toy) on an optional basis may unlock functionality without using in-app purchase, provided that an in-app purchase option is available as well. You may not, however, require users to purchase unrelated products or engage in advertising or marketing activities to unlock app functionality.

From your question:

  When the app provides the UI for an external IoT device, and there is an annual fee charged to the user (which may be via an external link) does Apple charge a percentage?

How are you charging the fees from the user? If you are charging it via In-App purchase or recurring subscription, Apple takes its cut. If you are charging the user via external means and your app doesn't violate any App Store guideline, Apple won't charge anything.

  My reading of this line is that no fee is charged.

Your understanding is right and no fees will be charged.

In case of Nest Aware (I have never used the app), if the user buys the subscription via In-App purchase made in iOS, Apple will take it's cut.


Remove silence from end of GarageBand track

Define a loop region at the top of the timeline in the yellow bar. When exporting from GarageBand, preference will go to this region for the bounds of the track.


It certainly sounds like it's been jailbroken, and unlocked with one of the tools rather than by authorised means.

If Cydia works, then it's been jailbroken and there's nothing you need to do.

The downside is that if you're not aware of the unlocking tools, or how to jailbreak in the first place, you either need to start researching these, or avoid doing any official software updates.

There are a great many sites which have guides, some good some bad, and some downright dangerous. I'd recommend http://osxdaily.com and http://blog.iphone-dev.org as the most reliable of sources. The former being a site which reports on developments, and the latter being the people who release most of the tools.


How do I add locally hosted DNS server while preserving default LAN DNS

I eventually devised this script to keep a separate resolv.conf file for dnsmasq that is updated on network changes.
#!/usr/local/bin/bash

mkfifo P
exec 3>P # open file descriptor 3 writing to the pipe
scutil < P | fgrep notification | \
    xargs -L 1 bash -c 'echo "nameserver $(ipconfig getoption $(route -n get default | fgrep interface | awk "{print \$2}") domain_name_server)" > /usr/local/etc/dnsmasq.d/resolv-dnsmasq.conf'
echo -e "n.add State:/Network/Global/IPv4\nn.watch" > P

I may need to add in a dnsmasq restart too, depending on testing results.


After a iPhone is stolen, can that device's iCloud backup be accessed?

Apple doesn't expose iCloud backups directly to end users via computer or web interface, but you can restore that backup onto pretty much any other iOS device.

The new iPhone (or any iOS device for that matter) has iOS version the same or newer than the version backed up from the stolen phone. Simply erase all content on the current device (losing everything in it) and restore your old backup onto the device.

Hopefully, have not "created" much new data on your new phone and don't have to write down many new contacts or items or export any documents before you erase it. However, you could always back that device up to the same or different iCloud account or to iTunes and restore that once you've gotten your data to a more portable form.


Connected new charger with Macbook Pro. Both Macbook Pro and Charger stopped working. Any reasons?

Try resetting the SMC (System Management Controller) — the SMC controls many hardware features of the Mac and resetting it can fix problems such as a Mac not responding to the Power button:

  Power
  The computer doesn't respond to the power button when pressed.

Source: http://support.apple.com/kb/HT3964

Connect your friend's known working charger.
Press ⇧⌃⌥ and the power button, then release all at the same time.

The Mac shouldn't boot and will remain off. The LED on the MagSafe connector may change colour and/or flash briefly.
With the charger still connected, press the power button to turn your Mac back on.


You can use VLC player.

Or, you can use Handbrake to convert MKV to MP4. Here is a helpful article on downloading and using Handbrake.


why login screen has a 2-second delay with external monitor?

A new conjecture is that this is due to a non-compliant mini-DisplayPort to DisplayPort cable that is causing the problem.

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

In certain circumstances you may notice a black screen after waking your computer from sleep. The computer may also appear to be unresponsive when the black screen appears.

Certain cables advertised as being VESA 1.1a compliant may contain a construction issue that may result in the DisplayPort power pins at either end of the cable shorting together. VESA 1.1a compliant cables must isolate the DisplayPort power pins at either end of the cable.

Supposedly, this only affects resolutions above 1920x1200, e.g. of the popular resolutions, only 2560x1440 and above are affected.

The StarTech mDP to DP cables are not VESA compliant, and very few mDP to DP cables are actually compliant.

There's a web-site with a list of compliant cables:

http://www.displayport.org/products-database/?products_category[]=cables-connectors&products_manufacturer=


I suppose you could reach out to Apple support if you can't bring a second pair of EarPods to test that your phone has a working lightning connector. A bit of fuzz or lint could be covering a pin or there could be a rare defect. Rd to know without testing and observing the port.


How do I get old photos back in iOS 8 message

Not sure what your question is exactly, so I'm not sure I'm answering your problem.

Make sure that in Settings → Messages then scroll all the way down and Check the Message History preferences, the Audio Messages and Video Messages preferences, and after how long they're set to expire.

If you want to restore something into your messages, maybe try to Restore from an iCloud or a local iTunes backup if you have one.


Access iCloud on my Mac without my phone?

System preferences → iCloud → account details → security → get a verification code:  for Mojave

System Preferences → Apple ID → Password & Security → Get a verification code: for Catalina


If you are logging in fresh, it is grey linen.

If you are waking from sleep or display sleep without a screen saver enabled, it is the desktop background.

If you are waking from a screen saver, it is the screen saver itself.

Finally, if you are waking from display sleep or sleep after a screen saver has been ended by display sleep or sleep, it is a black background.

There does not appear to be a way to change this, but keep your eye on apps like Secrets.  If anyone's going to figure it out, it's them.


Are there any clean-up tools for Address Book data?

Before you do anything, you can back up your Address Book database as an archive so you can restore it later if you make any edits that you don't like.

In Address Book, choose File: Export...: Address Book Archive... and save the archive.

Are you running Thunderbird 9 on Mac OS X? You can configure Thunderbird to read and write to the Mac OS X Address Book instead of using the Thunderbird address book. In other words when you open the Thunderbird Address Book and create or modify address book entries, it manipulates the Mac OS X Address Book's database.

In this way, could you use Thunderplunger in Thunderbird to clean up your Mac OS X Address Book?

I don't have an exact solution but I would like to tell you about one simple tool that might prove helpful.

AB2CSV

enables you to export all or part of your Mac OS X Address Book as a CSV (comma-separated value) file. You can import that into any spreadsheet or database program for further editing.

You can also use AB2CSV to export all or part of the Address Book database to one large VCF file.

Next, Apple Address Book can import a .CSV file or a VCF file that you have edited. In Address Book Help, there's a page for "Import contacts" that explains how to do it.


Is there a way to switch off the delay before icon and dropdown menu are shown next to filename in Preview.app?

The officially recommended solution is to press and hold shift key, which will cause it to appear instantly when you mouse over it.


Set up smart mailbox to hold all messages to AND from a particular person

For both rules, change this portion:

Is Equal To

to this:

Contains

Utilizing Is Equal To requires an exact match against whatever you trying to match. Depending on how Mail is looking at a recipient's address, it may include brackets around it and/or include the person's name, in addition to the actual email address. These strings wouldn't match just the email address, obviously. Using Contains instead allows it to match the string you know should be there - the email address - no matter what Mail is actually matching against.


Address smart group based on mailbox? Or Tags?

How about this? Go to Mail > Preferences > Rules > Add Rule.

Make sure you have created before: a target mailbox in Mail, and a matching address group in Contacts (a.k.a. Address Book). Hope this works!


Transferring multiple files from one folder to another using Terminal

This is more difficult than it may seem. The following assumes that all images to be copied are in the same directory (no sub directories).

cd "PATH/TO/Paras_all"
count=0
find . -maxdepth 1 -iname '*.png' -print | while IFS= read line; do
    if [[ $count -lt 5000 ]]; then
        echo cp "$line" ~/"Documents/TARGET1"
    elif [[ $count -lt 10000 ]]; then
        echo cp "$line" ~/"Documents/TARGET2"
    else
        echo cp "$line" ~/"Documents/TARGET3"
    fi
    ((count++))
done

Replace -name '*.JPG' to mach your images and TARGET1 etc by the actual names. If you run the code like that it will just print the commands. Remove the echo if the commands seem to be correct.

PS: It's probably easiest to put everything in a file with #!/bin/bash in the first line, make the file executable with chmod +x NAMEOFFILE and then run ./NAMEOFFILE.


Deleted 600mb Partition on Bootcamp-ed MBP while logged into Windows 8 using Disk Manager. No longer boots into OS X

Presumably you deleted the recovery partition, which is about that size. Boot into Internet Recovery, start the terminal and type diskutil list. If the OS X partition is still there, you should see it as formatted with CoreStorage (OS X doesn't require the recovery partition for a normal HFS+ formatted partition). If it exists, then the solution is to do a reinstall of the OS. This will not erase anything, but it will recreate the recovery partition. Note that you'll have to unlock your disk first if it's locked by FileVault 2.

Lesson for the future: Windows doesn't know anything about CoreStorage volumes, even with all the BootCamp drivers installed. Do not trust anything you see regarding your disks from within Windows, unless it identifies the disk as a format it knows.


Is there a way to change the icon(s) or text from the Apple Startup Manager on the new Macbook PRO 2019?

Strangely, I think it's possible to easily change the icon on macOS in the Get Info box of the hard drive you've selected in Finder. Although you may have to disable SIP to do so. Additional steps may be required if you are on macOS Catalina 10.15, since the system files are now protected on a separate disk volume. I'm not sure about these steps as I'm still on macOS Mojave 10.14.6.

To change the icon, select the hard drive and press cmd+i keys and select the icon in the top left corner and drag or paste a new icon. Pasting/dragging the new icon must be in icns format I believe. You can convert a png to icns format by changing the extension of the file from .png to .icns.

Note, I've only done this with my macOS hard drive and not my Windows partition. It may not be possible with Windows partition. I've attached the Get Info screenshot and a screenshot of the Startup Disk Manager when booting my Mac.

Hope this helps.


Change quickly icons of a folder and its subfolders

This is a solution using the macOS GUI:

Copy your PNG image to your clipboard.
With Finder.app, open the folder whose folder and subfolder icons you want to change
Press CMD + F to start a search
In the Search menu bar click the folder's name. "This Mac" must not be selected.
enter kind:folder
In the results select all folders (CMD+A).
Press CMD+Shift+I to show the Inspector.
In the Inspector window select the blue folder icon in the upper left
Press CMD+V to paste your PNG image. All selected folder icons will update their icon.

Let me know if this works for you.

Sometimes you have to click twice on the icon in the Inspector window in order to paste the image successfully.


Is there a way to search by partial phone number in iOS 7?

You can search your contacts by partial phone number using Spotlight.


How to have Safari open links with the evil target attribute open in the same tab?

Install the Safari extension LinkThing to customize links behavior. It should be able to solve your problem, additionally, you can also customize the onsite and offsite links behavior.


Constant script/application for shared drive checking/mounting

You can do this in the shell.

Launch a Terminal, then run:

mount

Find the line with your volume, and grab the first part up until the space.
It should look something like:

//warren@10.0.15.2/Shared%20Network%20Volume

Thats username@IP_OF_NAS/VolumeName

Now here is the script, save it as "remount.sh"

#!/bin/bash

date
mounted=$(/sbin/mount | grep -c "VOLUMENAME")
if [ $mounted -eq 0 ]; then
   ping -q -c 2 -t 1 IP_ADDRESS > /dev/null 2>&1
   if [ $? -eq 0 ]; then
      if [ ! -d "/Volumes/VOLUMENAME" ]; then
         mkdir "/Volumes/VOLUMENAME"
         chown LOCALLOGIN:staff "/Volumes/VOLUMENAME"
      fi
     su LOCALLOGIN -c "/sbin/mount -t afp afp://YOURLOGIN:PASSWORD@IP_ADDRESS/VOLUMENAME /Volumes/VOLUMENAME"
   fi
else
   echo "Already mounted"

fi

You need to change the variables in all CAPS above.

YOURLOGIN (Your login on the NAS)
PASSWORD (Your password on the NAS)
LOCALLOGIN (Your local login on the MAC machine)
IP_ADDRESS (the IP ADDRESS of the NAS)
VOLUMENAME (The Volume Name on the NAS)

Unmount the network volume that you previously mounted, then run:

chmod 755 remount.sh
sudo ./remount.sh

Make sure this mounts the volume OK.  It worked fine on my MacBook running Sierra against an Apple Time Capsule.

Now if all is well, we add it to cron to run it as root (sudo) every 15 minutes.

sudo crontab -e

Add something like this (season to taste):

*/15 * * * * /Users/warren/remount.sh >> /Users/warren/remount.log 2>&1

You'll note I saved the script in my home directory.  If you are tidy, you probably don't want to save it there.

Dismount the volume, and wait 15 minutes and see if it reappears.  If not, look at the log file to see whats up.


Fan continuously running without any load

Your problem is essentially a thermal monitoring failure and in all likelihood your CPU and GPU will be working within their thermal limits (in fact they will probably be running cooler than usual thanks to you fan running at 100% PWM). While this can be caused by a failed sensor or SMC it can also be caused by power issues close to the SMBus (which is responsible for simple communication between various hardware components). Take a look at this Louis Rossman video where a very similar issue is diagnosed (spoiler alert, surprisingly it turns out to be a faulty FaceTime camera causing the fan speed issue)...

2014 MacBook thermal monitoring failure with fans running at maximum speed

The precise nature of the fault is largely academic as Apple will simply replace the logic board rather than attempt a component-level repair. An independent such as Rossmann may well be able to diagnose the fault and repair it at a reasonable price, but the only free/DIY option is to install software to bring your fan speeds under control and live with it.

If you want to pay for a repair you will need to use a monitoring utility to give you an idea of whether it's a single or multiple sensor failure. I use HWSensors as it's free, works and gives comprehensive system information, but any of the other suggested utilities should give you the feedback you need. You'll definitely be wanting to check both CPU and GPU temperatures look to be within normal limits at idle, if either is obviously too high or low then the SMC will default to maximum fan speeds to ensure nothing cooks, regardless of whether it's actually cooking or not.

My choice of utility to bring fan speeds under control is Macs Fan Control, this allows you to define your reference sensor and is also well-suited for all iMac models with custom hard disk firmware which causes the system fans to run at full speed when a non-Apple drive is fitted. This is also arguably superior to the standard OS X thermal control in that it lets you set up a thermal plan to suit you rather than having to live with Apple's predefined thermal-acoustic balance.

If you want a simpler interface then SSD Fan Control may be more up your street.


I'm assuming that you're talking about ejecting the drive using the the Finder. If so, then simply unmounting the disk, as opposed to ejecting it, should allow it to remain in the list of attached disks so that you can re-mount it later. For example, using

diskutil unmountDisk <device or name>

in the Terminal can be used to unmount the disk, but still leave it in the available drives list which can be seen by using

diskutil list

which can also be used to discover the <device or name> you require. Then to re-mount the disk you can use

diskutil mountDisk <device or name>

Note that all the above can also be done using the built-in Disk Utility application, just use the Mount/Unmount button as opposed to Eject.


Google Chrome 68+ doesn't work behind corporate proxy on macOS

Google Chrome has stopped supporting PAC files for proxy configuration. The decision is definitive, as explained in this issue comment:

  [...] marking this as WontFix to indicate that the deprecation will stick -- we will not be supporting file:// URLs when the Network Service is enabled, and will be deprecating support completely in the future.

  The current usage is primarily from file:// URL in system proxy settings, which is an incorrect interpretation of the settings on macOS and Windows.

  Instead of file:// URL in system proxy settings, one can set a PAC script from local sources using Chrome's internal proxy settings. The emphasis moving forward will be on exposing a common set of capabilities through Chrome's settings rather than inconsistent capabilities from system proxy settings.

  The biggest limitation is that there is currently no UI for managing Chrome's proxy settings (noted in Issue 937413). So one must install a Chrome extension to modify these settings if not using the system proxy settings.


The normal operating temperature range for silicon is much higher than is comfortable to the touch.  The heatsinks & fans are directly below the top of the keyboard along the hinge opening.  I too have found the upper edge of my MBP to be uncomfortable to touch -- typically when I'm debugging using the F() keys.
My recommendation would be to use a product that allows you to manually adjust the fan speed in order to run the fan at a higher-than-minimally-necessary speed to lower the temperatures accordingly.
I personally use iStat Menus.  In that tool, under 'sensors' is a button to 'Edit Fan Rules'.
Incorporating feedback from the OP to create a more comprehensive answer:
Alternatively, if you believe you may have a hardware issue, a trip to the Apple store might be warranted.  The OP had a hardware issue that, while mitigated by the iStatMenus approach, really required a hardware solution, including multiple trips to the Apple store, to ultimately resolve.


Always "Resolving host" on initial connection until Wifi restart

I think on the same line as ryebread:
in SystemPreferences->Network->WiFi chosen at the left side->Advanced->DNS tab:
put in
8.8.8.8
8.8.4.4
with the plus sign
then OK - Apply.


Upgrading to El Capitan GM Candidate loses all Exchange folders in Mail

I fixed this by entering the passwords into Mail > Preferences > Accounts instead of Mail > Accounts (Internet Accounts in System Preferences) and it saved the passwords without any issues.


"Updates are ready to install" but I couldn't install

See this answers to your questions:

Also to take full ownership of the computer:

Make a user account with administrative privileges, and disable the other account (the previous owner)


What exactly are you trying to create?
You may be going to great expense and, yet be able to accomplish what you need with Pages. Pages is available on the Mac App Store and quite robust.


How can I get the iPad bubbles wallpaper (since it no longer shows up as an available wallpaper after changing from it)?

I pulled the "bubbles" wallpaper from an old file cache of mine.


How can I call Don Melton's transcode_video script from a shell script?

Two things:

Fix your path. This is as simple as adding the following as your first line. I installed the scripts through gem, not git, so transcode_video is in /usr/local/bin - you'll need to set it as appropriate.

export PATH="/usr/local/bin:$PATH"

Make sure you cd into the directory you want to save the files into, as a step too. Otherwise, writes them out into $HOME, which appears to be the default working directory for automator bash scripts.

My total working code:

export PATH="/usr/local/bin:$PATH"
for f in "$@"
do
    echo $f > /tmp/filename.txt
    cd ~/Desktop/SAmple/
    transcode-video --mp4 -v "$f" > /tmp/transcode.out
done


iTunes is not Updating on a Window's Vista Laptop; Says I need Windows 7

You should be fine:

Windows System Requirements
PC with a 1GHz Intel or AMD processor and 512MB of RAM
Windows XP Service Pack 3 or later, 32-bit editions of Windows Vista, Windows 7, or Windows 8
64-bit editions of Windows Vista, Windows 7, or Windows 8 require the iTunes64-bit installer
400MB of available disk space
Broadband Internet connection to use the iTunes Store

http://www.apple.com/itunes/download/

Just figure out if you need the 32 bit version or the 64 bit version. The download website should detect for your system though.

Also make sure your laptop and your phone are Authorized on your Apple ID.

UPDATE Related to OP's comment:

Don't try to upgrade from inside iTunes itself.

Exit out of iTunes, even better restart your laptop.

Go to the website, download the installer

Use the installer you download to update.


I had the same problem before, when I replaced a cracked iPhone screen for a friend. When a 3GS digitalizer gets in contact with an iPhone 3G LCD they send the wrong signals to the motherboard(through ribbon cable 3) and then the graphic part of the motherboard brokes. So you will probably have to replace the whole motherboard, be more careful when buying new glass next time, check the modelnumber first!


System Integrity Protection prevents Trash from being emptied

Shutdown your laptop.
Press Command + R and then the power button to boot into recovery mode.
Click the Utilities menu and select Terminal.
Type csrutil disable and press return.
Close the Terminal app and restart out of recovery mode.
Login to your machine normally and launch the Terminal app on your Mac by either searching for it in Spotlight or locating it in the Utilities folder under Applications.
In Terminal enter this command sudo rm -rf ~/.Trash/* it'll ask for your login password. That should clear your trash.

If that worked re-enable SIP.

Shutdown your laptop.
Press Command + R and then the power button to boot into recovery mode.
Click the Utilities menu and select Terminal.
Type csrutil enable and press return.
Close the Terminal app and restart out of recovery mode.


Some keys not working on Musical Typing?

I had the same problem for over a year and I just fixed it! The fix was so simple, just press: Logic Pro X > Control Surfaces > Bypass All Control Surfaces.


You should never ignore disk errors. Assume it's dying; make backups, you can never have too many. I use time machine and carbon copy cloner, but do what suits you. I also use disk warrior sometimes to buy some time if I think a disk is going. But don't kid yourself, that drive is probably not healthy and it wouldn't be good to fool yourself into thinking everything will be fine. It may be, but it also may not be; if you have important files, act accordingly, and while hoping for the best, plan for the worst.


Skype on MacOS keeps 600Mb caches, are these both deleteable?

There's no need to delete these files, but there's no "harm" if you do.

The SKAvatarCache holds thumbnails of your contacts for quick access without downloading each and every time from the Internet
The media_messaging/emo_cache_v2 holds the animated emoticons for faster rendering.

You can delete, but these files will be recreated when you view and/or message with contacts.  It's nothing that should be of concern that would require periodic maintenance.


Preserve app data when moving to new Apple ID (complication: can't log in to old Apple ID)

You could try backing up the old iPhone's WhatsApp chats to iCloud. This is a feature of WhatsApp and would only backup and recover WhatsApp Data. This is different from the 'normal' iCloud backup, which backups App Data.

The WhatsApp feature is described here: https://faq.whatsapp.com/en/iphone/20888066/#backup

To backup the chats to iCloud:

  To make a manual backup of your chats at any time, go to WhatsApp Settings > Chats > Chat Backup and tap Back Up Now.
  This will back up your chats and media to your iCloud account; you can choose to include or exclude videos from the backup.

To recover the chat history on the other iPhone:

  To recover your chat history from an iCloud backup, first verify that an iCloud backup exists in WhatsApp Settings > Chats > Chat Backup. If you can see when the last backup was performed, delete and reinstall the app from the App Store. After verifying your phone number, follow the on-screen prompts to restore your chat history. The same iCloud backup requirements apply for iCloud restore. In addition, the phone number used for backing up and restoring must be the same.

This should work to manually backup WhatsApp data to iCloud.


"Reopen the Java Control Panel" doesn't do anything

I'm getting the same thing. And when I try to reinstall it, the Java installer just bounces a few times and never opens a window. Never starts, unable to reinstall it.

I created another profile/account and used it after switching - and the apps that had been failing to start - never use any CPU - would work like they were supposed to.

By now it's pretty obvious something is not right in my home directory, but it's not being intuitive.


iPhoto app deleted but the photos are still showing in Media files

Deleting the App doesn't delete the Library, you need to do that separately.
Default location is at: ~/Pictures/iPhoto Library

Note: The "~" (tilde), in the pathname above, is your Home Folder.


Change background image through terminal on macOS Sierra

How about if you setup your preferences to use a photo from a folder. Then your script can just drop the picture into that folder and the system will pick it up.

If you set your preferences to switch every 5 seconds, then you can change out that image whenever you script wants, and it'll be picked up within 5 seconds.

Just did a quick test moving images in and out and it works.


The C key stopped working, any workaround to emulate 'Command + C'?

Yes, you can use the Edit menu and select copy


macOS High Sierra not reinstalling— locked OS x Base System

You should see 2 separate entries in Disk Utility one for the internal drive and one for the Recovery Partition, so it looks like your Disk Utility is a little bit confused. In the Disk Utility window try clicking on View button and select the Show All Devices options, this should show you the actual disk and any volumes that are on it. Even though your screenshot from Disk Utility just shows OS X Base System, it does shows the drive as the internal one and the size as 500GB, as if it was the Recovery Partition it would only be about 2GB partition in size. What do you see when you show All Devices?


Are you interested in purchasing a new iPod Touch? If so, you could check out Apple's Recycling Program.
From Apple's website,

Bring your old iPod to an Apple Retail Store and receive a 10 percent
discount on the purchase of a new iPod.*

I'm not exactly sure if you would qualify due to its screen, but it is definitely worth a shot. Take it an Apple Store and see if they will give you 10 percent off.
From an Apple Discussion Board,

... you can throw it away, bury it, smash it, take it to Apple as
recycling, use it as a paperweight, leave it in a drawer, etc.

Update
I just checked on Newton's Head, and they will offer you $5.50 for an iPod Touch 3rd Generation, water-damaged with all original accessories.
So, it's not going to be worth that much.


My iMac won't boot. Every time, no matter what mode I try booting in, it boots and stays on a blank white screen

Try to boot up using Cmd + Option + P + R to reset the PRAM.

Also try booting up with Cmd + R for recovery mode.

It seems likely the main hard drive has failed.

If you can boot up into Cmd + option, you will be able to boot into a Boot CD or other recovery disc/USB drive to help restore your main hard drive.


How to get a mac to wait longer for external disk to wake up upon resuming from sleep?

There are various google results for ejecting volumes on sleep, which should solve this problem.

First, write yourself a shell script to eject the volume.  You could avoid setuid bits by using apple script.

#!/usr/bin/osascript
tell application "Finder" to eject (disks where name = "VOLUME")

Next, install the SleepWatcher tool and configure ~/.sleep or /etc/rc.sleep appropriately.

There are similar directions for remounting the disk on wake in that Mac OS X Hints entry, but maybe you don't need that.


Apple - No devices are registered in the Developer's account

Problem sounds like you try to sign an adhoc app with your individual/company paid Apple Developer account. For this type of account adhoc distribution is for know devices (for example local test devices) only and need to known on which devices the signed app will be installed by signing.

From this devices the UDID will be crafted in the adhoc-profile. Your error message sounds like there are no devices linkend to your Xcode configuration so it can't create automatic a adhoc-profile that you need for singing and installation on a physical device.

  Xcode -> Window -> Devices and Simulators

There you can pair with physical devices, if that is already the case I would like to advice you to look at your generic identifier of your app because it needs to be unique to pass the system and get ready for signing.


How to get macOS Server download code in Apple Developer Portal?

You can download OS X Server from the Mac App Store.  Per this Apple Support page:

  OS X Server brings even more power to your business, home office, or school. Designed for OS X and iOS, OS X Server makes it easy to collaborate, develop software, host websites and wikis, configure Mac and iOS devices, and remotely access a network. It’s also remarkably simple to install, set up, and manage. Add OS X Server to your Mac from the Mac App Store.

I think the name has been changed to macOS Server but I'm not sure.  If someone knows for sure they can edit this answer.

Update: per discussion in comments, it appears Apple has discontinued offering a code to developers for a free copy.  All downloads, except for betas or discontinued versions, are in the MAS now and must be purchased (if applicable).


You may actually have some SHSH blobs saved for your device, since Cydia automatically tries to save any available SHSH blobs every time you open Cydia. Also, I believe Apple is still signing iOS 4.1 for iPhone 3GS (I don't know why though).

You can use TinyUmbrella (a free tool compatible with OS X and Windows) to check your saved SHSH - plug your device into your computer, click the "Advanced" tab in TinyUmbrella, check "Request SHSH from Cydia", and then click "Save SHSH".

If you find that you have suitable SHSH saved for your device, you can use this guide to stitch the SHSH blobs into custom firmware (using redsn0w) and then restore with that firmware.


Yes, a Sim Card is not required to use Whatsapp. Whatsapp doesn't use your network provider to function as text messages do. Text messages require a Sim Card to recieve the message to your phone number.

  A SIM, or Subscriber Identity Module, card is a computer chip inside a cell phone which identifies your device to your service provider. SIM cards can contain up to 128 KB of memory to store things like contacts, phone numbers, text messages, data usage and billing information.

(Source)

Whereas, Whatsapp doesn't use your phone number to receive messages. It uses your phone number to make an account to which messages can be sent and received.

If you are setting up an account with the phone with no Sim, make sure you have your Sim in to receive the verification code.

  You can now use WhatsApp on devices without a SIM card. All you need is a SIM card and a phone number that is not registered on WhatApp to install the app. Once your WhatsApp account is activated, you can continue using it on other devices without the SIM card.

(Source)


How to use data connection on Apple Watch

I noticed that only phone calls work while my iPhone is turned off and
  data/messages do not work at all.

This is expected behavior.  In order to use messaging features not only must your iPhone be be on, but it must be signed into iMessage (meaning connected to Wifi and/or cellular.  The phone doesn't not need to be with you, however.

  Only way to use data on my watch is while my iPhone is turned on.

Not exactly.  If an App requires data, it can use it even if your phone is not connected - the limitation is only for messaging apps (SMS, MMS, iMesage, etc.)

  Can somebody explain me how this works and which preconditions need to
  be fulfilled for me to use data connections on my watch?

To use data on your Apple Watch (Series 3 and 4), you just need to be connected to either a cellular network or a WiFi network.

Apple has an excellent support document How to use your Apple Watch without your iPhone nearby that goes into detail about what's required to use your Apple Watch with cellular.


This is the nature of wireless networks and Apple's AFP protocol. I'd reccomend either connecting to a wired network to browse your music, or using the command line to find what you're looking for, as Finder adds a deal of latency to the file-listing process.


Should I stop using my Mac while the hard disk is being cloned?

I don't know if this applies to SuperDuper!, but here's a KB entry from Carbon Copy Cloner's website:

Can I run a backup while I'm using my computer? If I have open files, will they be backed up?
Yes and no, it really depends. Performance will be affected during the clone (especially the first one) as CCC reads the entire source volume and writes to the destination volume. If your work is "disk bound" -- that is your applications are reading or writing to either the source or destination, then you'll notice a performance hit. If you're just reading email or writing a Pages document, then you probably won't notice the performance hit.
Affecting the accuracy of the backup task is something else that should be considered. Typically it's OK to work from the source volume while you're copying it, with the understanding that if CCC copied a file, then you open it, make changes, save it, then CCC completes the backup task, the modified version of your document is not backed up (this time around). Typically that's no big deal, the modifications will get backed up the next time the backup task runs. More importantly, though, if you're working with large files (mounted disk image, Entourage email database, VMWare/Parallels container) during the backup operation, it is possible that those large files could be modified while CCC is backing up that file. This won't affect the source file, but there's a good chance that the backup version of that file will be corrupt. For this reason it is a good idea to stop using applications that may be modifying large files.


Triple Boot Mac/Win10/Ubuntu: how to restore original copy of Windows EFI to ensure boot to Windows still works

Possible Reason Windows Will Not Boot

The Ubuntu 18.04.3 LTS 64 bit installation software changes the Master Boot Record (MBR) partition table on the installation drive to cause hybrid partitioning. This would prevent Windows from booting on 2016 model year Macs. In 2012, Apple started to phase out the need for hybrid partitioning. Evidently, the Ubuntu installer does not check for this. The answer you reference has been changed to add a step where gdisk is used to remove any hybrid partitioning imposed by the Ubuntu installer on the installation drive.

You can also remove the hybrid partitioning by booting to the live version of Ubuntu from the installer flash drive. The steps are given below.

Download the latest Ubuntu installation ISO file from the Ubuntu Home Page. The file download and used in this answer was named ubuntu-18.04.3-desktop-amd64.iso.
Use Etcher to create a bootable Ubuntu flash drive installer, then boot from this flash drive. A tutorial can be found at the Ubuntu website Create a bootable USB stick on macOS.
When the menu below appears, select Try Ubuntu without installing.

When the Ubuntu desktop appears, press the control+option+T key combination to open a terminal window.
Make sure the drive is not using hybrid partitioning. This can be accomplished by entering the command given below.

sudo gdisk /dev/nvme0n1p

This command is interactive. The interactive commands you will need to enter when prompted by gdisk are given below.

x
n
w
y

Finally, enter the command exit to close the terminal window.

Possible Reason Ubuntu Will Not Boot

Below is a copy of an image you posted as part of your question with respect to steps 15 and 16.

The image shows the following message.

Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
  but has only 51068 clusters, less than the required minimum of 65525.
  This may lead to problems on some systems.

This warning occurred because the drive on your Mac has a sector size of 4096 bytes. However, the answer referenced an example Mac with a sector size of only 512 bytes. In other words, the new EFI partition you created was too small. The instructions have been changed so the new EFI partition is at least as large as the original EFI partition. In your case, this should be about 315 MB.

To create a larger new EFI partition, you will have to reinstall Ubuntu.


How do I sort albums alphabetically in Photos.app?

If you’re talking about sorting your list of albums alphabetically, go to View → Show Sidebar or press ⌘ cmd ⌥ alt  S. Then right-click Albums in your sidebar and choose Sort → By Name.

If you’re asking about sorting the photos inside an album alphabetically, right-click that album in your sidebar and  choose Sort → Keep Sorted By Title. Note that most photos won’t have a title, and Photos will next sort by date taken.


How do I find out how many bytes of memory my machine has in RAM?

RAM is always calculated in base 2.

In Terminal:

sysctl hw.memsize

The output will be in bytes.


All Inboxes in Mail app showing only five messages

Reset the email account within the Mail App

Go to Settings > Passwords & Accounts > Accounts

Or Settings > Mail ( or Mail, Contacts, Calendars) > Accounts

Select the mail account that shows the incorrect unread mail notifications

If you have more than one, perform these steps for each account

Toggle OFF “Mail” to disable it. This action does not delete your account

Exit Settings by returning to your Home Screen
Close the Mail app by swiping up your Gesture Bar or by pressing the Home button twice. Locate the Mail app preview and swipe up to close it
Now once again go to Settings > Passwords & Accounts > Accounts

For older iOS, go to Settings >Mail (Mail, Contacts, Calendars) and select the mail account

Toggle ON Mail to enable it.
Check to see if your mail app is now showing the correct unread email counts.


iMac used for Target Display Mode runs really hot

I'm experiencing the same problem.  I have a current generation 5K iMac which I use as my main computer, and a 2009 iMac which I use as a second monitor using TDM.  In TDM mode, the older iMac runs painfully hot.  Switch back to regular mode, and that same iMac runs cool.

Typically, I don't even bother to login to the older iMac - I just turn it on and off with the power switch when I want to use it in TDM.  Hence, there can be no question about background apps running hot.


How can I switch to the Finder without switching in another "space"?

Command+n does it, but you have to make sure that in whatever Desktop you're working in that it says Finder on the top menu menu bar next to the apple icon, or you'll get a second window of the currently active app.

Now if I can just figure out how to get more than Desktops than the Dashboard and two main Desktops.


Is it possible to customize the default order of Spotlight's results?

I face the same problem. I overcame it by excluding Xcode Server Builder.app from Spotlight search results.

Locate Xcode Server Builder.app by navigating to /Applications/Xcode.app/Contents/Developer/Applications directory. Now, go to System Preferences → Spotlight → Privacy tab. Drag and drop Xcode Server Builder.app from the Finder window into the list under Privacy tab.

Now, the Xcode Server Builder.app will no longer appear in the Spotlight search results. This should take care of accidentally launching it instead of Xcode.app.

In case you still need to launch Xcode Server Builder.app on an infrequent basis, you can either drag and drop the app into Dock to create a shortcut, or press and hold Command + Option and drag the app icon to any convenient location to create a shortcut link to the app.


Bind keyboard key (like F16) to execute command?

I just checked my 10.9.5 and 10.6.8 systems, and both have this under:
    System Preferences -> Keyboard -> Shortcuts

This allows you to bind a key to a command available via the menu, either globally (for all programs) or just a specific program.

If what you want to bind isn't a standard command, you can create an Automator plug-in that becomes available via the Services menu of a program, so that you can bind it to a key.


How do I use separate dock for each monitor?

Unfortunately, OS X does not support multiple docks running on multiple monitors simultaneously.
According to Apple's support article:

When the Dock is configured to appear at the bottom of your screen, it's available on whichever screen you’re working on. Just move your pointer to the bottom of either display. When the Dock is configured for the left or right position, it appears on the leftmost or rightmost display edge.
Tip: If you don't see your dock because it's set to hidden or there's a full screen app on the display, move your pointer to the location of the Dock. If the Dock still doesn't appear, swipe your pointer towards the Dock again to unhide it.


Show menu bar on multiple screens without separate spaces

In short, no.

The menu either belongs to your primary screen, or if you have 'Displays have separate Spaces' on, then to the one currently active.

If you have different Spaces on different screens, there is no logic to control any window being able to span the two. What would happen if you changed Space on only one of them?

There is no third option, as far as I'm aware, even with 3rd party software.


How do I share Processing apps with an expired signature?

An application in the form of a .app file is actually a folder containing lots of different files and folders that make up the resources of the application. To keep them all nice and tidy for Mac OS X, you can bundle them all together in a Disk Image .dmg file which can more easily be manipulated by non-Mac systems without getting the details messed up when brought back to the Mac.

Some quick directions copied from a reference listed later:

Make a folder with the files your DMG will contain.
Open Disk Utility (It's in /Applications/Utilities/)
Go to File > New > New Image from Folder (Cmd + Shift + N)
Choose the folder containing you files
Make sure "Compressed" is checked, then set where you want to save the created DMG

You can create the DMG file out of the .app file directly since the .app file is already a directory.

More detailed info about alternatives and command line directions are at https://stackoverflow.com/questions/367751/creating-a-dmg as well as http://blog.nngafook.com/2012/07/app-to-dmg/


Honestly if it was me, I would make sure that WiFI WAS OFF (Like you said it was.) and then wipe the system completely of any and all data.

Of course this is assuming that you have a backup of your files previous to the hacking. If not, well then it gets complicated figuring out what files are safe to use.

So to wipe the Mac, boot it up while holding CommandR until you see the white Apple logo on a black screen.

When you get to the macOS Utilities screen, select disk Utility from the Utilities menu. Select your hard drive on the left and click on Format.

This will erase EVERYTHING on your drive

Once that is done quit out of Disk Utility, connect to your WiFi, and proceed with macOS install from the main menu.

This will likely install the version of macOS that your Mac shipped with. You can upgrade it for free once you have done this installation and restored your files from backup.


macOS Sierra: Wrong 'Date Modified' column when searching in finder

I am also experiencing the same issue and here are my findings.

I am assuming the difference between file and EXIF dates are clear, otherwise ask google before reading my post.

I edited the dates of 3 raw image files (A, B, and C.CR2) as following:

File creation date: Jan 1, 2016 - 3:00PM;
File modification date: Jan 1, 2016 - 4:00PM;
EXIF Date time original: Jan 1, 2016 - 5:00PM.

After editing the dates (see attached picture !):

The top right Finder window containing the 3 files shows the edited file creation and modification dates under the "Date created" and "Date modified" columns;
The top left Finder window displaying the search results (I wrote "cr2" in the search field) shows the "Date time original" EXIF timestamp (shooting date) under the "Date created" column and the "Date time digitized" EXIF timestamp under the "Date modified" column (cf. metadata in the Lightroom window). Note the "Date time digitized" EXIF timestamp under the "Date modified" column is the "File modification" date prior editing the dates.

The dates were edited with "A better Finder Attributes" app. Note that the result is the same if the dates are edited through terminal with the "touch" command.

Hence, I conclude the problem described in the OP is due to the fact the Spotlight search result displays the file EXIF dates, while a normal Finder window display the file creation and modification dates. I assume this is not a problem but an intentional behavior; however, this is clearly very misleading.

I hope my post fully explains the inconsitency reported in the OP.

(MacOS Sierra 10.12.1, A better Finder Attributes 5.37, Lightroom 6.6.1)


Initially Amazon didn’t have an app for the tv, so I used the iPhone or iPad app to AirPlay that content on my Apple TV. Now that the app supports tvOS, I would start there.

https://apps.apple.com/us/app/amazon-prime-video/id545519333


While these instructions on Apple's website (Apple support doc) are for OS X 10.4, they still work in Snow Leopard.  It has been a very long time since I had to do a multi-session CD, but I remember doing this way or in a very similar way. It's worth a try and a CD-R costs a lot less that Toast.


How can I enable SSH without using the gui or apple script on snow leopard?

You can enable SSH from the Terminal with:

sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist

(note that you need to run this as an admin, and it'll ask for your admin password, which won't echo as you type.)


Apple Watch Activities: Outdoor Cycle shows no speed or distance

Completely independent of my Apple Watch usage, I had reviewed my privacy settings on my iPhone and had disabled some location services that did not seem necessary to me.  One of these related to motion calibration.  Apparently this privacy setting was also applied on my Apple Watch.

  To enable this setting, on your iPhone (iOS 12):
  Settings -> Privacy -> Location Services -> System Services -> Motion Calibration & Distance

I also assume that this will affect the accuracy of my running distance/speed logging as previously my Apple Watch ignored the GPS data and only used the accelerometers.

I couldn't find this answer on Stack Exchange.  Found the original solution on https://discussions.apple.com/thread/7018497 .


Are L-shaped and T-shaped Magsafe 1 interchangeable?

In short no, there's no problem.

Apple changed the "old" T-models with new L-models.

However, they are exactly the same and I've been using a 85Watt MagSafe charger for years now as it charges much faster.
Just do it, and nothing will change, except if you go from 45/60 watt to 85 (it will load faster :)). It's just a new look, the connectors are exactly the same.


What is the format I should write the command to SSH into Linux VPS?

Use a hostname, or IP address. Not both.

The hostname will only work if there is a resolvable DNS entry.
The IP address should always work as long as you use a publicly routed or otherwise reachable one.
You don't have to specify port 22, it is the assumed default when otherwise unspecified.


Admin authentication not working on Big Sur

I would make a second admin account, maybe something simple and insecure like me/me and then try to see if the problem is your account or if you can open it with the “me” admin.

First test when your old account is logged in, when the admin prompt arrives, change your user name to me and use the “me” password.
Then log out as you, and see if me can unlock their account.

This sort of thing is hard to guess from a far, but easy to corner and once you have a cornered you’ll know where the problem lies. Everything you mention is explained by a corrupt user preferences (or worse, failing filesystem) so be sure you back up all your critical files immediately and get a Time Machine or whole system backup sooner rather than later.


Just solved the issue by updating Pages to the newest version!
Thaks and excuse to everybody.


Why are there no hubs for the new USB Type-C Port?

It's a question that is very unpopular.  You're right, but you're not supposed to say it.

Yes, the hub someone wrote about has two USB-C ports out of it, but they will be compromised.

What the problems is - how the USB-C lines within a cable are used is determined at plug-in time, depending on what you plug in downstream of the port.  For example, you can't have full speed USB 3.1 and full video at the same time.  So the USB-C makes a choice for you.  If you plug in both a high-res monitior and USB 3, then you can't have both at once.

So it will be interesting to see how the various hub supplies will handle this problem.

People think that a hub will be much like a USB 3.1 hub, where the function of USB doesn't change when you plug things into it.

But if you plug a high-res monitor into a USB-C hub, your USB regular data will suddenly drop down in speed to what two interior wires can handle, instead of four.  The bandwidth just isn't there.  Today's USB-C is USB-C on training wheels.


How to enable remote (mobile) user at login time?

I am seeing this issue after an upgrade today and adding the machine to Active Directory. It then occurred to me that my FileVault setup is causing this; FileVault 2 is full disk encryption, so the local account "unlocks" the drive and allows access to the configuration necessary to allow network users to log in.

My guess is this is part of the design/implementation of the encryption, if you have that enabled. Disabling FV2 may allow the login process to work with network users. I need to do more testing.


The Faster and Slower option in the Hotkeys Section changes the speed by 0.5x.
Instead, you've to use the Faster(fine) and Slower(fine) option to increase and decrease the speed by 0.1x.


Can't rename/move file from an OS X application title bar anymore

I am working on finding a resolution, maybe by next week.  So far I have discovered this since I have been using this for a long time--simply going to the application title bar and clicking on the name and having a dialog box drop down, changing the name and hitting return.  (NO DROP DOWN MENU WITH RENAME IN IT>).  It stopped working recently and these are some of the facts:

It is not an application plist that controls it.  This renaming process happens with lots of apps.
It does not appear to be an error in the system files because I can create a new user and it works.
It is not a network thing because my wife's system still works while mine on the same network does not.
It seems that it is somewhere in my user files.

I have sent some files to Apple Care and will know next week if they can tell me what plist or parameters control this so I can fix them..


Connect Apple Pencil second generation to Surface Laptop?

There's no official support for connecting the Apple Pencil (1st or 2nd gen) with the Microsoft Surface line.

In addition, there's currently no unofficial projects either.

This means that your only option for connecting the two is to develop your own driver. This will require very significant amounts of skill and knowledge as an engineer. You'll need to reverse engineer the software protocols needed, and you'll most probably need to develop extra hardware in order to make the two compatible.

In short: In practice, this is not possible. It requires so significant investments in time and resources that you could just as well buy a compatible pen or a different tablet.