Upgrade to El Capitan has broken MySQL and Apache

MySQL-5.6.14 was installed with a StartUpItem which is necessary to automatically start MySQL while booting. StartUpItems are deprecated meanwhile (and probably wasn't migrated therefore) and launch daemons are used instead.

To get your MySQL back do the following:

Create a soft link:

sudo ln -s /usr/local/mysql-5.6.14-osx10.7-x86_64 /usr/local/mysql

Check the permissions:

ls -laO /usr/local

The command should reveal:

...
lrwxr-xr-x   1 root  wheel  -  27 13 Apr 00:04 mysql -> mysql-5.6.14-osx10.7-x86_64
drwxr-xr-x  17 root  wheel  - 578 13 Apr 00:05 mysql-5.6.14-osx10.7-x86_64
...

Create the file /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>             <string>com.oracle.oss.mysql.mysqld</string>
    <key>ProcessType</key>       <string>Interactive</string>
    <key>Disabled</key>          <false/>
    <key>RunAtLoad</key>         <true/>
    <key>KeepAlive</key>         <true/>
    <key>SessionCreate</key>     <true/>
    <key>LaunchOnlyOnce</key>    <false/>
    <key>UserName</key>          <string>_mysql</string>
    <key>GroupName</key>         <string>_mysql</string>
    <key>ExitTimeOut</key>       <integer>600</integer>
    <key>Program</key>           <string>/usr/local/mysql/bin/mysqld</string>
    <key>ProgramArguments</key>
        <array>
            <string>/usr/local/mysql/bin/mysqld</string>
            <string>--user=_mysql</string>
            <string>--basedir=/usr/local/mysql</string>
            <string>--datadir=/usr/local/mysql/data</string>
            <string>--plugin-dir=/usr/local/mysql/lib/plugin</string>
            <string>--log-error=/usr/local/mysql/data/mysqld.local.err</string>
            <string>--pid-file=/usr/local/mysql/data/mysqld.local.pid</string>
            <string>--port=3307</string>
        </array>
    <key>WorkingDirectory</key>  <string>/usr/local/mysql</string>
</dict>
</plist>

The file needs a trailing empty line/new line.

You may replace --port=3307 by --port=3306 depending on your previous configuration.
Change the permissions of the file:

sudo chown root:wheel /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
sudo chmod 644 /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist

Load the launch daemon with

sudo launchctl load -w /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist

I strongly recommend to update to a newer version of MySQL.

Apache errors:

The error

AH00526: Syntax error on line 183 of /private/etc/apache2/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

is related with the old Apache config (10.9) file you are using:

    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>

In the new Apache config file (10.11) the section looks like this:

    <Directory />
        AllowOverride none
        Require all denied
    </Directory>

I recommend to setup Apache with a 2.4 (included in 10.11) config file.


Macbook does not wake up properly after several hours of sleep

Recommend to evaluate the Sleep mode.

Run pmset -g assertions in terminal and post the output.

Usually you can see there who is acting up and not letting your mac sleep.

The message Kernel Assertions: 0x100=MAGICWAKE id=503 level=255 0x100=MAGICWAKE says it.

Also the ExternalMedia is set to wake it up over your USBbluetooth. connection.

So you have a device (BT keyboard) that does that.

As for why:

You BT track pad wakes up (do you have a Cat?) other BT devices interference, low battery... see this for more.

To test do "Allow Bluetooth devices to wake this computer" OFF.

If you have the Magicwake app installed, remove it.


Is there an equivalent to copernic pro desktop search engine available for mac?

Two that come to mind are :

EasyFind -- which is in the Mac App store

and

Docfetcher which is a java application

http://docfetcher.sourceforge.net/en/index.html


Downloading old Safari point releases (Ex: 8.0.4)

Check oldapps.com and oldversion.com. Be careful with these downloads, I haven't had an issues yet but install at your own risk.


Dual monitors waking from sleep very slow?

Assuming your cables are good and connected firmly, I would try resetting the NVRAM and SMC (in that order).

Resetting NVRAM

Your Mac use Non-Volatile Random-Access Memory (NVRAM) to store a whole range of settings. Here’s how to reset this:

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

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

Resetting SMC on a Mac Pro

Follow these steps for resetting the SMC on your Mac Pro:

Fully Shut Down your Mac Pro
Unplug the AC power cord
Wait at least 15 seconds
Plug the AC power cord back in
Wait at least 5 seconds
Switch on your Mac Pro

Now use your Mac Pro as usual to determine if the problem still occurs. If so, try using your Mac in Safe Mode for a while to see if the problem occurs.

Booting into Safe Mode

Follow these steps to boot your Mac Pro into Safe Mode:

Fully shut down your Mac Pro
Restart your Mac Pro
Immediately press the Shift key and keep it down
Let go of the Shift key when you see the login window (NOTE: If you have FileVault enabled you may need to log in twice).
Take a note of what happens (i.e. did your Mac Pro boot okay, are you still having issues with your screens waking up, etc)
Once you've tested long enough, exit Safe Mode by restart your Mac as normal

Let me know how you went and we'll go from there.


Applescript to fill in Keychain dialog box

Consider altering the requirement for a password. Printers on Mac OS X are managed by the Common UNIX Printing System (CUPS) and it is highly configurable.

Mac OS X Hints published this, Disable printer queue password requirements, for disabling printer queue passwords. It should work for modern versions of OS X:

  As root, or in a Terminal session with su privileges, edit /etc/cups/cupsd.conf.
  Find the section below.
  Remove the items you don't want limited: Pause-Printer, Resume-Printer, Pause-Printer-After-Current-Job, etc.
  Save the file, quit the editor, and restart your computer

Section to find and edit:

  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Res
tart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
      AuthType Default
      Require user @AUTHKEY(system.print.admin) @admin @lpadmin
      Order deny,allow
  </Limit>


Run script as root whenever any user logs in

Use a LoginHook.

sudo defaults write com.apple.loginwindow LoginHook /path/to/script

See here for more detail.


The default ls provided with OSX comes from BSD and won't allow you to do what you want.

Using CoreUtils ls (installed with macport it's available with the gls command)

You'll get your colors using --color=always:

ls -l --color=always | awk '
{
  k=0;
  for (i=0;i<=8;i++)
    k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));
  if (k)
    printf("%0o ",k);
  print
}'

About the awk part :

ls outputs file permissions as 9 characters. That's why there's a loop.
the substr returns at each step one of the char (incremented index, 1 char-length substring)
~/[rwx] converts the char to 1 if it's a r or a w or a x
the operation behind just does the operation the get the decimal result
print("%0o ", k) just prints the octal result of the decimal value calculated before


How to slow down clock speed of processor

If your concern is how efficient your software is, let me suggest a more engineering-oriented solution that will let you keep your MacBook running at full speed:

Use the profiler built into Mathematica.  This will let you identify the parts of your computations that consume the most time without having to resort to seat-of-the-pants measurements that only work on slow hardware.


External hard drive spinning up during sleep

Unfortunately, Mac OS doesn't eject hard drives when the machine enters sleep. And since your MacBook performs some "activity" during sleep, a writing/reading process might keep the hard disks awake.

There are at least three solutions to this problem:

A) You eject the hard disks each time before you enter sleep

B) You get the Jettison App for $4.95 (http://www.stclairsoft.com/Jettison/), which automatically ejects hard disks before the MacBook enters sleep, and mounts them when the MacBook awakes. There is a 15 days free trial if you like to check if it works for you.

C) Disable the Power Nap mode


After a very frustrating, fruitless journey through all the online suggested fixes I could find, I eventually figured out the problem, somewhat by accident. Apparently, my system had two versions of the Contacts app installed, one that worked and one that didn't. I'm not sure how this happened but I have an idea.
I keep my frequently used apps, including Contacts, in categorized folders within the Programs system folder. I drag these folders to my dock and open everything from there. The nonfunctional version of Contacts was in the dock folder. The functional version was in its default place in the Programs folder. Maybe the docked version became 'disconnected' from the contacts system database when I upgraded to Catalina and a new version of Contacts was installed in Programs?
To fix the problem, all I had to do was delete the nonfunctional version of Contacts and move the functional one to the dock where the old one used to be. Everything works as normal now.


Ban particular senders from having text appear in lockscreen

Although excluding specific contact's text from being shown on the Lock Screen is not possible, you could always switch off the Show Preview option. Therefore a notification of your bank will be shown, but no portion of this message will be previewed, safeguarding your five-letter PIN.

To do so just go to Settings / Notification Center / Messages and turn off Show Preview.


Can I share my iPhone's WiFi connection to my Mac?

No. This isn't a function of the iPhone OS from Apple. If this isn't a short term need, there might be a jailbreak tweak to turn the OS into a fully functioning router / hotspot, but the hardware isn't designed to extend a network as your use case requires.


You have only removed the visibility on your desktop.

Go to Finder (The smiling blue man in your Dock in the lower part of your screen)
Then press Command, or go to Finder (menubar) and choose 'Preferences'
Now choose 'General'
Tick the checkbox that says "External Drives"

You can do the same for the Finder Sidebar

Within the Finder Preferences choose 'Sidebar'
Tick the checkboxes in the Devises section of the devices you want to see

Somewhere within the evolution of Finder they added this option, I am almost certain is wasn't added yet in OS 6 ;) With this feature they created a cleaner desktop and some confusion, I must admit.

Another easy way to check which drive is mounted is to open "Disk Utility" located in Applications/Utilities/

Good luck with your drive.


Does Catalina synch and backup devices running iOS 12?

I would suggest you try this:

https://www.catalinaosx.com/macos-catalina-continuity-issues-device-timed-out/


You should do it in these order:

partition drive into two partitions — first for 10.7 and second for 10.6 and XP combined
install 10.7
install 10.6
run Bootcamp Assistant and install xp
— Choose 10.7 partition in Startup Disk in System Preferences

And if you only need 10.6 for Bootcamp assistant you may skip that because 10.7 has it. Once everything is set, use the Startup Disk control to write the Lion OS as the default for power on.


How can I make a keyboard shortcut for an item with unicode characters?

This is a comparison to mavericks (10.9.5) Preview

It looks like the only change is the back/forward keyboard shortcuts. Or maybe my Spanish is not up to the snuff.

I am not sure why would you try to make keyboard shortcuts that already exist.

But see this info: What do I type to produce the command symbol (⌘) in Mac OS X?

And this info: http://xahlee.info/comp/unicode_computing_symbols.html


Maximum dimensions of Mobile Safari viewport on iPhone 4

The iPhone 4 display is 320 by 480 points in size total.  The status bar is 20 points high, and the tool bar at the bottom in 44 points high.


How do I run this command in verbose output mode?

You can use the verbose option only if the command itself provided it, which means that the programmer of the command you want to use has to check for the verbose option and set a flag its code so that the program outputs additional information. So if a command does not have a verbose option you cannot do anything about it. However it might output some information in system log files.


Automatically convert a file whenever it is saved?

Yes, OS X has built in automation with Applescript and folder actions.

http://www.macworld.com/article/1167157/automate_tasks_with_folder_actions.html
http://apple.blogoverflow.com/2012/06/folder-actions-tutorial-automation-meet-the-filesystem/
https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_folder_actions.html
https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html
http://macosxautomation.com

So, following the first link from MacWorld you can make a folder on your desktop that pops up an alert when you save your file. From there, you would make a different folder with a different script to attempt to convert the file. Lastly, make a script to clean up the file that's converted and move the processed file to the proper place.

I would instead make a service to just convert the file in place, but you can't trigger a service as easily as you can trigger a folder based workflow where actions initiate the processing.


Changing the password should be sufficient. You can see which devices are currently logged in with your Apple ID by following the instructions provided in this Apple support article:
Check your Apple ID device list to see where you're signed in

You can also remove devices from your Apple ID profile by clicking the Remove button that appears in the device information box after you've clicked on one of the devices.

As an added step, I would highly recommend turning on two-factor authentication after you get everything squared away. You can read more about two-factor authentication and how to enable it in the following Apple support article:
Two-factor authentication for Apple ID


I administer a Mac OS X Server email server and it is down. Can you help?

The failed pings are completely unrelated to your mail issue. It is true that apple.com is blocking icmp traffic (ping uses icmp) and the endpoint at support.apple.com is not blocking this traffic. This is possible because each of those hostnames point to different servers/endpoints with different filtering rules on each.


Does Reset and "Erase All Content and Settings" removes iOS updates?

No. Factory resetting your phone only deletes the user data; the operating system and firmware will still remain the same.

That means, if your iPhone is running iOS 9.3.2 before you reset with Erase all content and settings, it will be running iOS 9.3.2 (minus all of your data) once it starts up again.


Looks like the issue was with the Router.

Finally managed to persuade the guys here to rebuild the router and lo and behold I can connect again...


looking for something more modern than X11 "streaming" with local Vagrant Linux VMs

X11 in general is not really "obsolete".

You compare it to Wayland, but Wayland has only very recently become something that can be used in a standard install of Linux for example. It still has rough edges and use cases that are not implemented at all - so many Linux distributions has X11 as the default, or if they default to Wayland they have an option to use X11 instead.

For connecting to Linux VMs with desktop environments like XFCE and LXDE, I would still recommend X11 as the best option.

You can use XQuartz, or you could use for example the xorg-server package from MacPorts, which has a more recent version of basically the same software as XQuartz).

Perhaps a better alternative would be use the X2Go (free) or NoMachine NX (commercial) software for accessing your X11 system from macOS.

Another option would be to use VNC. Many VNC clients exists for Mac, and Linux has software like x11vnc that exposes X11 software (such as XFCE and LXDE environments) over VNC. The VNC protocol works substantially different than the X protocol, and I wouldn't recommend it if you're using this on a more permanent basis, as you probably will see some degradation of graphics quality, and you would loose the ability to have individual X11 apps appear as individual windows in macOS.

Considering Wayland on macOS. You would actually not need a client as you write, it is the server you're after. However, as you're trying to access a Linux VM over a network (even though it is locally on the same machine) - this is not natively supported by Wayland. The standard Wayland setup requires the clients (individual applications) and the server (what actually handles the composition of all the applications onto the displays) to be on the same computer. There are some, very new, attempts at accessing Wayland remotely over the network - but currently they actually just work like a VNC server would. I.e. there's no advantage to using Wayland here.


pkgbuild and productbuild

Try building the package using the newer pkgbuild tool. You can pass --install-location <install-path> as part of the command.

You may also find productbuild useful to know about.

Both tools have detailed manual pages and can handle installation in script determined locations.


Back to Factory settings except one folder

First back up to a USB what you want to keep.

Then follow instructions from Apple how to ready your Mac.

Do not forget to Log out from iCloud, iTunes, App Store...ect..


How to use Family Sharing on iPhone 4 and other devices?

I turned on Family Sharing for my kids on my iPhone 5 that has iOS 8. After entering their emails, I entered their passwords. On their iOS 8 iPads, purchases from all the family members show up, but not on the iPod 4 or iPhone 4.

However, my kids on those devices still have "Ask to buy" show up. If you want them to have access to all of your apps, you could jailbreak (redsn0w for iPod 4 on iOS 6 and evasi0n for iPhone 4 on iOS 7) and install Account Changer. If it weren't for the "Ask to buy," we would have stayed with Account Changer only.


MS Word: How do I align the over braces of this equation?

You could:

A1. Insert > Text Box > Draw a Text Box

A2. Drag text box

A3. Paste anything you want inside
A4. Position anywhere you want in the page

OR

B1. Build a table scheme like this:

B2. Place your elements

B3. Select all, right click, cell alignment > align center

B4. Goto to borders and shanding

B5. Select "None"

B6. Enjoy


How to inherit sparsebundle on macOS Server Time Machine service?

As it turns out, it is super easy with a single Terminal command.

First, you need to mount the Time Machine share using Finder. Just browse to the server, then to the share so that it mounts. I mounted with Admin privileges since Admin owns the the Time Machine sparsebundle.

Then, you open Terminal and run this command:

sudo tmutil inheritbackup "/path/to/backup.sparsebundle"

For example, mine would be:

sudo tmutil inheritbackup /Volumes/Time\ Machine/MacBook\ Pro.sparesebundle

If your prefer to use quotes intead of the space escape, you should be able to do:

sudo tmutil inheritbackup "/Volumes/Time Machine/MacBook Pro.sparesebundle"

You will need to enter your Admin password, and that should do it.

I rebooted after this, then selected the backup share in Time Machine and now it's using the existing sparsebundle instead of creating a new one.


The _www user is designed to never have a shell and many of the user attributes needed for ssh to run are missing. Once you log in as any other admin user, you can easily sudo over to user _www to get file permissions correct.

mac:~ me$ dscl . -read /Users/_www
AppleMetaNodeLocation: /Local/Default
GeneratedUID: FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000046
NFSHomeDirectory: /Library/WebServer
Password: *
PrimaryGroupID: 70
RealName:
 World Wide Web Server
RecordName: _www www
RecordType: dsRecTypeStandard:Users
UniqueID: 70
UserShell: /usr/bin/false

mac:~ me$ sudo -u _www -s
Password:
bash-3.2$ id
uid=70(_www) gid=70(_www) groups=70(_www),61(localaccounts),12(everyone)

You can compare with a real user to see the missing attributes. If you want to hack, you could try making the NFSHomeDirectory writable and editing the shell - but that would leave all sorts of user files in /Library/Webserver - and your custom mods might get wiped out each update or cause unintended effects down the road.

Any reasons why you don't just create a apache admin user with a UID less than 500 so that it won't show in the log in screen as a normal user?

(or simply use a normal user to ssh in before using sudo to become _www)?

It's a lot less work and more secure. _www is intentionally placed in a sandboxbox to reduce the chance that web browsing does bad things to a running mac.


By default, iCloud storage is 5GB large. So if you're saying under

Settings > iCloud > Storage

you're seeing 5GB available, then yes your iCloud storage's been emptied.


How can I add CC and BCC fields in Gmail app?

I have just noticed a very small arrow near top right. Click this to reveal cc and bcc.


Finally reinstalled macOS Sierra, but now I get a kernel panic

A kernel panic is nothing more than a software crash. A bit like when an application quits for no apparent reason, except in this case, it brings down the entire system, since the kernel is the heart of the operating system. It looks like you weren't done with the installation, because it appears to be trying to continue the installation, but can't for some reason. I'd boot into recovery and reinstall from there by holding down commandrwhile booting.


What does the iTunes backup of the iPhone include and what does it not include on Windows 10?

straight from Apple themselves, as the first result on your Google search;

A computer backup of your device, which is not the same as a sync, includes almost all of your device's data and settings. A backup from a computer doesn't include:
Content from the iTunes and App Stores, or PDFs downloaded directly to Apple Books; Content synced from Finder or iTunes, like imported MP3s or CDs, videos, books, and photos; Data already stored in iCloud, like iCloud Photos, iMessages, and text (SMS) and multimedia (MMS) messages; Face ID or Touch ID settings; Apple Pay information and settings; Apple Mail data; Activity, Health, and Keychain data (to back up this content, you'll need to use Encrypted Backup in iTunes.)

your backup data should be located, by-the-by, at %appdata%\Apple Computer\MobileSync\Backup\.
the TL;DR is that a full iPhone backup will only actually back up data and settings important to the iPhone, such as keyboard layouts, dark/light mode settings, language preference, and more.
to back up your photos, music, contacts, and whatever "other" is classified as, you're looking for backing up with iCloud, which (unless manually disabled in Settings) is automatically done.


spotlight finds "anaconda-navigator" but `conda` has been uninstalled

Go to Finder → Applications and find Anaconda-Navigator.app. It should be an alias.  Right click on it and click on "Show original" .

For proper uninstall

  Anaconda-Clean must be run before simple remove.
   Install the
  Anaconda-Clean package from Anaconda Prompt (terminal on Linux or
  macOS):

  conda install anaconda-clean.

  In the same window, run one of these commands:

  Remove all Anaconda-related files and directories with a confirmation
  prompt before deleting each one:

  anaconda-clean

  Or, remove all Anaconda-related files and directories
  without being prompted to delete each one:

  anaconda-clean --yes

  Anaconda-Clean creates a backup of all files and
  directories that might be removed in a folder named .anaconda_backup
  in your home directory. Also note that Anaconda-Clean leaves your data
  files in the AnacondaProjects directory untouched. After using
  Anaconda-Clean

delete the folder where the installation previously was. It should be named anaconda3 or anaconda2 etc.,

https://docs.anaconda.com/anaconda/install/uninstall/

But since you don't have conda, seen by "command not found" deleting the remnant files can be done using apps like EasyFind.


There seems to be no direct way, but I could export them using Google Chrome:

From the Customize and Control Google Chrome menu, choose Bookmarks > Import Bookmarks and Settings.
In that window, select Safari and make sure that the Favorites/Bookmarks option is checked, then click Import.
Now, in Chrome Bookmarks menu, you should find a new folder called Imported from Safari with a subfolder called com.apple.ReadingList that include your Reading List items.
If you want, you can export them using Chrome's Bookmark Manager as usual.


"Boot Camp only support 64-bit Windows 8 or later" when attempting to install Windows 10

Version 1703, Creators, is the wrong one, use the Anniversary version with 1607 in the name is the correct version. After installing Win10, you can upgrade to 1703.


Can I fit a 39Wh battery in my MacBook Air 2011 which states 35Wh?

The battery you want to buy should be fine (in terms of the specs and compatibility). The 39 watt hours basically means that on a full charge it should last longer than a 35 watt hour battery (about 11.4% longer). Many after market MacBook batteries do usually offer a little more capacity in that regard.

As for the battery itself, I've never used that particular brand, so cannot vouch for its quality. However, since it seems to have a 5 star rating, it looks promising. As long as it offers a decent warranty (I can't read French, so can't tell), I'd buy it.


How can I download an older version of Xcode?

If you have a developers account you can download past versions of Xcode from here...

A developers account is $99 per year if you want to open one. There used to be an option for a free developers account. If just required an apple password. If you have an apple id, you might try visiting the link included here.


What is the best scrobbler for Last.fm for my iOS device?

Get CloudScrob.

Finally there is an app that ACTUALLY WORKS AND SCROBBLES CORRECTLY.

This app is the best scrobbler there is for iPhone, and I've tried a bunch of them. It scrobbles in batch mode after you've listened to a bunch of songs, and lets you preview and edit the list of songs before it submits them.

And you use the iPod app to play the songs. Unlike iScrob where you had to use that app to play the songs.


Will iMessage be re-delivered when the recipient attains wifi access?

My guess is that you both need to be on wifi, or you need to restart BOTH of your devices.


Restart in Windows without changing startup disk or having to use administrator password?

BootChamp requires you to input the administrator password at its first use, but after that it allows you to restart without asking you for the password again. Unless you child is tech-savvy enough to get into Keychain, I think BootChamp may be exactly what you're looking for. It's also very easy on system resources.

After installation, you could reboot into Windows yourself, giving BootChamp future permission by inputting your admin password. From then on he'll be able to change OSs without having admin access.

I have had BootChamp crash a couple of times, usually when I plug in a USB device or remove one without using OS X's remove function. I've been running it for several months with only five or so instances, so it's pretty rare, but something to consider.

Cheers!


Running out of ideas - how to delete all photos on my iPhone appearing to be a leftover from the icloud migration in Photos?

It turned out when connecting with cable and starting Image Transfer that the Camera Roll on the iPhone contained 38.000 photos (which I suppose somehow happened during my Photos-on-Mac -> iCloud migration last year).
The Image Transfer program could delete them all but it took a few hours, and the backup size shrunk as expected to be small enough.
The "Hey you have a new iPhone next to this one"-transfer from the old iPhone to the new could then complete as expected.


How do I force Spotlight to stop corrupting my external hard drive and destroying my time machine backups?

Spotlight is mandatory for Time Machine volumes. You cannot fully disable it other than disabling Spotlight completely.

  If you add a Time Machine backup disk to the privacy list, you will continue to see messages that Spotlight is indexing your backup disk. This indexing is necessary for Time Machine to function properly and can’t be disabled. Spotlight does exclude from searches any items you store on your backup disk that are not part of a Time Machine backup.

As for disabling Spotlight/ejecting your drive safely, there are various solutions here, where the necessary command appears to be

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist


DNS resolution works for nslookup but fails in browser while using openconnect

Thanks to this answer: https://superuser.com/a/86245/356729

The command

  networksetup -setdnsservers Wi-Fi 10.66.0.1, 10.66.0.2

solved the problem. When I disconnect, I also have to manually restore settings using:

  networksetup -setdnsservers Wi-Fi 192.168.100.1


Possible to open/convert Office 98 for Mac PowerPoint file

There are a bunch of free online converters out there that will convert many different file types to PDF.  I had to convert some Microsoft Works documents to Work once and the zamar.com worked great.  Try one of these out:

http://www.freepdfconvert.com

http://www.zamzar.com

http://document.online-convert.com/convert-to-pdf

Let me know if any of these help you out.  Good luck!


How can I create an ad-hoc connection from my Macbook Pro wifi connection?

You can only share Internet from an Ethernet, Bluetooh, or FireWire connection over Wi-Fi.

That's because you can only use your Wi-Fi connection for one thing at a time. If you're connecting to the Internet over Wi-Fi you won't be able to share that connection over Wi-Fi.

If you've got Share your connection from: set to Wi-Fi, it's normal that To computers using: doesn't have a Wi-Fi option:


Stop the virtual machine and open its settings. Under the "Processors & Memory" pane, expand the "Advanced options" section. Check "Enable hypervisor applications in this virtual machine."

You can also manually edit the VM's .vmx file. For example, if your VM is named "Ubuntu", edit Ubuntu.vmwarevm/Ubuntu.vmx (to get into the .vmwarevm in Finder, select Show Package Contents).

Within the .vmx file, add the following line:

vhv.enable = "TRUE"

After doing either of the above, restart the VM and you can use KVM.


How do I restore an iPhone 5 without Factory reset with a forgotten password?

Apple added a lot of security layers and mechanisms in the last few years to prevent this from happening, including enforcing longer passwords and preventing access via USB/Lightening port without password entry. So the bar for any brute-force password recovery is rather high (which actually is a good thing). There are some companies out there who claim to be able to access data on a locked iPhone (see The Art of iPhone Acquisition for the challenges associated with that), but this won't reset the password nor recover data in a meaningful manner. These services are also far from free.

So the best approach for your friend is to factory reset their phone and restore the content from backup.


What is a painless and free way to test Internet Explorer 10 on a Mac?

It’s the same end result as the tutorial above, but ievms is way easier—all the steps are automated. Just run:

curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="10" bash

and you’ll have a fully functional VM with IE10.


iOS Mail shows iCloud email aliases which were deleted one year ago

UPDATE: I just needed to sign out and in to get rid of those aliases.


How can Growl trigger an shell script or AppleScript (NOT vice versa!)

Growl 2.1 does support ScriptActions, but it doesn't seem to be documented anywhere but a google group thread. Below is a simple example from the thread. You create a script file with the content, place it in ~/Library/Application Scripts/com.Growl.GrowlHelperApp, and then set it up inside Growl as described in the same thread.

using terms from application "Growl"
    on perform action with notification
        ignoring case
            if notification's app name is "test growl" then
                activate me
                display dialog "goodbye" with icon 1
            end if
        end ignoring
    end perform action
end using terms from


Sync only favorite songs from iTunes to iPhone

Create a playlist with your favourites.
Connect your device to your computer and click the device button near the top left of the iTunes window.

Select the type of content you want to sync (for example, Music or Apps) in the sidebar on the left.

Select the Sync checkbox, then select the items you want to sync automatically each time you connect your device.

Chose Selected paylists, artist, albums and genres.
Select only the playlist created on point 1 and apply.

iTunes 12 for Mac: Sync iPod, iPhone, or iPad


Can I dismiss a Notification Center Alert using the mouse?

Yes! You can simply click and drag the alert off to the right and it will disappear. If you have a multi-touch input device such as a trackpad, you can also use two fingers and swipe it away to the right.

Additionally, you can temporarily move the notification by dragging it to the left:

It will stay there for a few seconds and then move back to its original position. This currently seems very buggy, but perhaps it'll work better with future updates.


Is possible to reset the timer on a disabled iPhone without Wi-Fi or Cellular?

Connect the device to the same iTunes library which the device synchronises with over USB. This will reset the disabled timer and allow you to enter your passcode.


UPDATED: This new code will help you a lot, tell me if you need anything else. :)

Get Current Weather
At: Current Location - Custom Location

Get Playlist
Playlist: [Select Playlist]

Play Music
Shuffle: Off - (Songs)
Repeat: None - One - (All)

Show Alert
Title: Weather
Message:
- Currently -
(Weather Conditions)

Show Cancel Button: OFF

Open App
App: News

If you want the code to appear somewhere else and not in an alert, then please comment and tell me & I will fix it to your choosing.

Hope this Helps!


App for Instagram Videos/Stories download

You would need to get permission from Instagram for it not to be removed, you might also have copyright issues.

5.2.1:

  Don’t use protected third party material such as trademarks, copyrighted works, or patented ideas in your app without permission.

5.2.2:

  Third Party Sites/Services: If your app uses, accesses, monetizes access to, or displays content from a third party service, ensure that you are specifically permitted to do so under the service’s terms of use. Authorization must be provided upon request.


Is there any other solution to connect to iTunes after an iOS upgrade?

sorry, there's no other way, the phone us un-able to boot its Operating System, and as a result is falling back onto the plug into iTunes, take it to an Apple store, they are the nicest people ever, and will fix the issue, and tell you what caused it, and how to prevent it from happening again.


How to set noatime for startup drive in Mountain Lion?

Ok, I think I've got it working.

Add the file /Library/LaunchDaemons/com.nullvision.noatime.plist with contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
        "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>Label</key>
        <string>com.nullvision.noatime</string>
        <key>ProgramArguments</key>
        <array>
            <string>mount</string>
            <string>-vuwo</string>
            <string>noatime</string>
            <string>/</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
    </dict>
</plist>

Run these:

sudo chown root:wheel /Library/LaunchDaemons/com.nullvision.noatime.plist
sudo chmod 644 /Library/LaunchDaemons/com.nullvision.noatime.plist
sudo launchctl load -w /Library/LaunchDaemons/com.nullvision.noatime.plist

The permissions have to be set to that for launchctl not to complain.

Then you've got this on restart:

$ mount | grep " / "
/dev/disk0s2 on / (hfs, local, journaled, noatime)

You can check if it runs by looking in the console:

29/07/12 2:55:45.334 PM sudo[978]:     Aram : TTY=ttys000 ; PWD=/Library/LaunchDaemons ; USER=root ; COMMAND=/bin/launchctl load -w /Library/LaunchDaemons/com.nullvision.noatime.plist


Can a damaged Time Machine disk harm my iMac when I will plug it in?

The iMac should not be harmed from plugging in such a disk, no. So in that sense it is "safe" to try.

However, note that there's a risk of further destroying data on the actual drive. It might work, but it might not. In any case, if it does work, I would suggest copying over any data you cannot afford to loose from the old drive to another drive.

If you have data on the drive that you cannot afford to loose, I would refrain from trying to do a lot with it yourself, and contact a data recovery service.


How to change speed of podcast playback on iPad running iOS 5's Music app?

It seems the speed controls are available in iOS 5.1. They just are not there in 5.0.


How to resolve issue of help shortcut key (Cmd + Shift + /) not working?

@sameetandpotatoes made some great suggestions.

I tried a different shortcut key for triggering the help menu and still had the problem.
Restarting OSX resolved the problem.


"Speak selected text" reads whole document in Preview

while the Preview is active select your text then on the top menue select "Edit" then select "Speech" then "Start speaking". You can create a keyboard shortcut for it by adding a shortcut key combination to the Keyboard in System Preferences:
 https://support.apple.com/kb/PH25377?locale=en_US


If you have an Apple Store close to you definitely go in and/or book an appointment with a Genius. They will be able to take a look at it and advise you what has caused it. If it is hardware failure and your phone is within warranty, they will generally replace the screen for you on the spot for no charge. More often than not even if you are out of warranty, they will still replace it for free or for a much reduced price.

I agree with the others that this is a hardware issue with the LCD panel.


Cross opening URLs between computer and mobile phone?

You can enable iCloud and use the iCloud tabs feature of Safari. On all the connected devices you will see the open tabs of the others.

See Set up and use iCloud Tabs


Questionable Wi-Fi problem on MBP: how to analyse it?

Try following in your Terminal:

Manually connect to WiFi

Turn On

networksetup -setairportpower en0 on

Find

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport scan

Connect

networksetup -setairportnetwork en0 WIFI_SSID_I_WANT_TO_JOIN WIFI_PASSWORD

It also shows it is using your Samsung as network provider, so turn it off first then check again if wifi comes on.


How can I alert Apple about spyware targetting Apple users?

For what it's worth you can reach Apple's legal department through the contact form on https://www.apple.com/legal/contact/. Picking "Phishing and Spam" from the drop-down leads you to https://support.apple.com/HT204759 which, among a lot of useful info on how to protect your devices, lists a number of options on how to reach out to Apple in these cases.


Outlook 2011 Meetings - how to add as an attachment?

In your Outlook:Mac calendar, drag the meeting tile from your calendar to your desktop or a Finder window.  It will create a new file named MyMeetingTitle.ics.  You can then create your new email and attach this .ics file to it.  Your recipient will then be able to add this .ics file to their calendar.


In Aperture, is there a way to confirm faces in bulk?

Instead of clicking on the "Confirm Faces" button, simply select all the photos that match (using shift-click or any other method) and then drag them to the space above the grey bar that says "John may also be in the photos below".   This has the affect of bulk confirming your selection as being John.


How do I save the data from apps no longer supported by iOS 11?

You should be able to use iTunes to save all the data from these apps after the fact, but it's far better to export and save off data before you upgrade since you can't restore a device back to iOS 10 to run the apps or check on what data you need.

More specifically - once you are on iOS 11:

Connect your iPhone to your Mac or PC via USB cable
After a short while you'll see an icon appear that represents your iPhone - this should appear to the right of the drop-down menu (near top left of the iTunes window)
Click on the icon to view your iPhone's summary screen
In the left-hand pane of your iTunes window you'll see various options for your iPhone (e.g. Summary, Music, Movies, and so on)
Click on the File Sharing option (it should be the last one)
Now you'll see the File Sharing screen appear on the right-hand side of your iTunes window. This screen will list all apps that support file sharing.
Click on the app you want to save data from
On the right you'll now see a list of documents saved within this app on your iPhone

Now you can save the documents you want by selecting them and clicking on the Save to... button at bottom right.

NOTE: If you don't see the Save to... button at bottom right, scroll the window up so you can see it.


Why is my iPhone 4S showing so much "Other" data in iOS 7?

When you say that you've installed from scratch do you mean you restored the device and set it up as a new device without restoring from a backup? If not, try that.

The "Other" category for iOS storage contains a number of things including email, caches, settings, and so on. For >10GB of data I would guess its email attachments or the like.

If you have tried to set up the phone as a new device in iTunes, try resetting the iPhone from the phone instead:

Settings → General → Reset → Erase All Content and Settings

Once the phone reboots go through the setup on the phone, and then check your usage in:

Settings → General → Usage

That will tell you how much storage is available. It should be a more palatable number then what you've been seeing.


Macbook's harddrive free space changes seemingly randomly

Checking the space

You can use OmniDiskSweeper to check what is occupied your space. It's free.

Or, if you like command-line, run Terminal.app and enter this:

du -kx /some/directory | sort -nr > $HOME/DiskUsage.txt
less $HOME/DiskUsage.txt

you will get sorted size-list (in kB) for all directories under the /some/directory.

Swap files

Another check - swap file. If your apps take more memory as you have, the OS do "swap" parts of memory into HDD. (In the linux or FreeBSD there are usually dedicated HDD partitions (slices) but on OS X these are files.

You can check their size with:

ls -l /private/var/vm

you will get something like the next:

total 12582912
-rw------T  1 root  wheel  4294967296 23 jún 14:30 sleepimage
-rw-------  1 root  wheel    67108864 15 jún 09:03 swapfile0
-rw-------  1 root  wheel    67108864 23 jún 14:54 swapfile1
-rw-------  1 root  wheel   134217728 23 jún 14:54 swapfile2
-rw-------  1 root  wheel   268435456 23 jún 14:54 swapfile3
-rw-------  1 root  wheel   536870912 23 jún 14:54 swapfile4
-rw-------  1 root  wheel  1073741824 23 jún 14:54 swapfile5

As you can see, in my HDD are now 5 swapfiles with total size 2GB. When start too much programs (or have 50 browser windows or soo) sometimes the swap increases up 5 GB or more. Simply close applications and the swap will be freed.

The another 4GB file (sleepimage) is the space, where OS X store its memory content when going to sleep (SafeSleep - storing memory content in the file). While it is possible turn of the SafeSleep and get 4GB HDD space (or less, if you have less memory) via pmset command, i do not recommend this.

Browser

When you browsing a lot, Safari storing some content into his cache/files. You can partially clear from the menu: Safari -> Empty Cache

Or simply check your cache files in the $HOME/Library/Caches with the OmniDiskSweeper or the du -kx $HOME/Library/Caches | sort -nr command from the Terminal.

You can Trash everything from the $HOME/Library/Caches without problems, but (for the safe) is better relog or reboot after the delete.

Logfiles

Another space-waste can be the Logfiles. You can check them with your Console.app (Utilities). (in the bottom left corner it showing the current size) - You can trash a big ones from the application directly.


There are no virtual consoles like in Linux; there is no way to interact with the system using the connected keyboard/mouse/display outside of the regular GUI which you have already found to be unresponsive.

To bail out with a minimum of needed interaction, there is a shortcut to kill the frontmost application directly: ⌥⇧⌘⎋, Command-Option-Shift-Escape. This is precisely the same action as the usual Force Quit dialog, except that it does not ask you to choose an application.

(Tip: If you press modifier keys while a menu is open, in this case press Shift while the Apple menu is open, shortcut variants like this one will be displayed.)
If you have another machine or even a phone around, another thing you can do is connect via SSH (turn on Remote Login in Sharing preferences) and use that to kill the runaway process. However, if your runaway program is hogging the RAM then I recommend you SSH in before you start work, as making a new SSH connection while the system is stuck in swapping will be just as sluggish, but using an existing connection is less problematic.

(Note that in the unfortunate case where your OpenGL program is hitting glitches in the graphics driver, as opposed to merely consuming resources itself, you may find that the system continues to be unusable even after your process exits, since the entire GUI rendering is based on hardware-accelerated graphics processing.)


iChat 7.0, how can I see previous conversation

For chat transcripts created by Messages, once you've selected the conversation in the Messages window (with File > Recent Items if necessary), you just scroll back and Messages will load older transcripts incrementally.  However, this is pretty poorly implemented, as there's no way to scroll all the way back at once; you have to scroll to the top or press Home repeatedly.

The newer transcripts are stored in ~/Library/Messages/Archive, not ~/Documents/iChat.  Quick Look is also supported for chat transcripts.

Chatology is a third-party app that may be of help; it will read transcripts in both locations, is faster and less buggy than Messages (e.g., lets you see images in old chats where Messages won't).


Can I put a monitor next to another monitor while both are connected to my MacBook Pro?

You are looking for a setup similar to this:

This is a commonly used multi-monitor setup and pretty simple to configure.

You can either setup the external displays to extend the Desktop or mirror the MacBook display.

Once you have connected the monitors and have set them up physically, arrange them by going to System Preferences → Displays.

Refer to the Apple Support document, Use external monitors with your Mac for help and more details.

Your MacBook can drive upto 4 external displays. Refer to the Apple Technical Specifications document, MacBook Pro (15-inch, 2018) - Technical Specifications for details:

  Video Support

  Simultaneously supports full native resolution on the built-in display at millions of colors and:

  Up to two displays with 5120-by-2880 resolution at 60Hz at over a billion colors
  Up to four displays with 4096-by-2304 resolution at 60Hz at over a billion colors

  Thunderbolt 3 digital video output

  Native DisplayPort output over USB‑C
  VGA, HDMI, DVI, and Thunderbolt 2 output supported using adapters (sold separately)

Image Source: https://www.imore.com/sites/imore.com/files/styles/xlarge_wm_brw/public/field/image/2014/01/4k_macbook_pro_hero.jpg?itok=vVPFgzZo


How can I submit my app if I didn't enrolled for the Apple Developer Program?

The only way for you to distribute your app via the iOS App Store is to have it submitted by someone (or an organisation) that is enrolled with the Apple Developer Program. That someone doesn't necessarily have to be you, but based on your question that seems to be the best option.

You can refer to the Enrollment page to get started, or skip straight to the Start your enrollment page.

If you're getting the Sorry, you can’t enroll at this time message, you should also get a description below that as to why you can't enroll. If you don't, or the message doesn't make sense to you, then you can contact Apple Developer Program Support via this form.


Uninstalled macOS Sierra installer but corresponding disk space(~4.88GB) not freed

The problem is with a disk image with the name Apple RID... created by the macOS Sierra installer which did not get ejected when macOS installer was deleted and was occupying around 5.5GBs and wasn't visible anywhere except in Disk Utility.

After ejecting that disk using Disk Utility and restarting the laptop, the memory which was held up got freed.


Resetting previously selected folder when selecting a file with Finder

Alas, my question was not so popular that it inspired people to answer my question. But after rephrasing my google search terms and some investigation of my own. I found a solution to this.

It appears every application stores these previously opened folders as defaults, which is also the command you need in Terminal to see and reset this value.

I stumbled upon this Quora answer which introduced me to the defaults command. It seems all you need is the bundle identifier of your application (in the source example org.videolan.vlc) and the namespace of the default you are trying to erase.

I found the bundle identifier of my application by typing lsof | grep [appname]
 (which isn't very reliable, because the application name could differ slightly from the bundle identifier) and looking for Library (which commonly hold folder names with these bundle identifiers) in the result. But you can also do defaults read > defaults.log and search the file for your the path of the folder you are trying to erase the default for.

This led me to the namespace NSNavLastRootDirectory. So all I have to do is execute the command defaults delete com.bundle.identifier NSNavLastRootDirectory everytime right before I open the application.

How I am going to do that? I'm not sure yet. Probably some Applescript solution.
Furthermore I was wondering if I used the right tags for this, since my question got so little attention.


Go to Activity Monitor's Memory tab and sort the list of processes by Memory. You'll have a complete list of your biggest RAM hogs, complete with the ability to select and quit them right from Activity Monitor.

Also, Memory Diag is a great app for freeing up RAM. Just click on its menu bar icon, click the big Optimize button (provided you're not at critical RAM usage), and watch the RAM free up!

Also, I highly recommend Safari instead of Firefox. Safari shows you the individual websites in Activity Monitor, so you can just quit the most RAM-hungry sites.
(EDIT: It shows you the actual URLs in Yosemite. In Mavericks, you'll see several Safari Web Content processes, but you can hover over them to see the URLs.)


Go to info.plist, change LSUIElement value back to 0. This will fix the dock icon. This might introduce some other issues however (I don't use matlab too extensively), so if you experience any visual glitches it might be due to modifying the plist, not matlab itself.

I don't have other machines to verify, but I believe the "issue" you describe is not specific to your machine but is true for all matlab installations on osx, due to Matlab's weird startup sequence.

The reason why the first launch displays the icon is that the first launch actually launches an activator program, not matlab itself.

Moreover, even after tampering with the lsuielement to restore the dock icon, the alt-tab icon will still be the generic black-rectangle script icon (again due to the way matlab is packaged and launches)


Not an answer, but I do not have any issue from my MacBook. I also don't see anything wrong with the certificate. Can you access other https sites?


Belkin Thunderbolt 2 Express Dock HD dual monitor setup

The reason why the dual setup isn't working is that you are using MiniDP & HDMI when dual monitors via MiniDP and HDMI are not supported, as noted in the product guide. You will have to use a Thunderbolt-ready monitor with a Thunderbolt cable to allow both monitors to be driven from the dock.

The reason for this is that your dock is being driven by one Thunderbolt port, which does not allow for daisy-chaining displays (as far as the port on your computer is concerned) unless it is Thunderbolt 2 or the newest revision of DisplayPort. If you were to plug your monitor either into the spare Thunderbolt port on your computer (HDMI on the dock) or use the HDMI port on the computer (MiniDP on the dock) both monitors should work as a workaround.


Can I use the same iTunes Library on both Mac OS and Windows?

If you have bootcamp 3.1 and install windows 7 with your bootcamp  you can do it without problem but if you installed other type of windows I recommended you read this post.

Edited

1 trick is just dragged the iTunes library into the iTunes window on my bootcamp partition and left the files where they are on the mac disk and it works just fine.


Is there a way to stop Bluetooth coming back on after an update

Apple does this, maybe for information-gathering such as their iBeacon stuff.
There's not much you can do about this behavior and because I've not jailbroken my iPhone I cannot confirm whether jailbreaking your device will prevent this behavior.


Rebooting in internet recovery mode and erasing the physical worked. Save your data before doing that.


Using international phone numbers on iPhone

You are in Brazil (so am I), so you can't just dial the "+" in front of the country code. You need to dial "00" and the CSP (the long distance operator code).

What happens is that some operators (Oi and Claro, for sure) have a JavaCard application in the SIM card that intercepts every call you place and before send the dialed number to the network verifies if you are in a situation that you should need to add a CSP or not, and adds the operators own CSP in that case, if there isn't one in the dialed number.

So, for example, if I'm in Rio (area code 21) and dial a call to (24) 9999-8888, which is a long distance call, the application will add "0"+  to my number. The same if I'm in Petrópolis (area code 24), since my MSISDN is from Rio.

On the other side, if I register my phone numbers using the international notation, the application is smart enough to remove the "+" and the country code and add the "0" and the CSP, unless it realizes that you're roaming abroad.

Besides Oi and Claro, I would guess that Vivo also uses an application like that, since it buys SIM cards from the same manufacturers.

TIM has a different application in their SIM cards that modifies the phone numbers in your SIM card to add the CSP 41. It is a lame solution and I regret every time I have to use a TIM mobile.

If it is enough for you to have an application like TIM's, there are at least two in the brazilian App Store that will edit the iPhone's Address Book:

[Minha Operadora](http://itunes.apple.com/br/app/minha-operadora/id401640256?mt=8)
[DDD Fácil](http://itunes.apple.com/br/app/ddd-facil/id381994693?mt=8)

I haven't tested either, so I can't offer advice on how well they work.

Otherwise, you will probably have to go back to an operator that offer that application in the SIM card (there is no way for a user to add apps to their SIM card by themselves).


GarageBand Plugins won't work because developer is not certified

You could try removing the quarantine attribute, which likely causing the problem. See the answer here for details:
"Install Spotify" can't be opened because Apple cannot check it for malicious software


MacBookAir 11" - WiFi not connecting in Europe

Given you are using 2.4 GHz Wifi, there are 2 channels (namely 12 and 13) available in Europe, that are not allowed in the US and are therefore not supported by US-bought WIFI adapters. See Wi-Fi Channel availability

As far as I know Apple uses different Wifi-modules for european and US-models, so there's little hope to fix that in software.

Ask a fellow student to look up on which channel he is connected. If it's 12 or 13 you won't be able to connect.


Can my Time Capsule assign an IP address based on client's MAC address?

The feature you are looking for is called "DHCP". This does exactly what you want, assign an IP address constantly given a specific MAC Address.

Open up Airport Utility.app, click your Time Capsule, then "Manual Setup". When the management dialog loads, click "Internet" up at the top, then "DHCP" in the category/tab bar.

From there, you can click the plus in the bottom-left hand side of "DHCP Reservations". This will open up a dialog that allows you to create a reservation via MAC Address, or "DHCP Client ID".

Fill in a system name (does not necessarily have to be the specific hostname), click MAC Address, then Continue.

Fill in the MAC address, choose an IP address, then click Done, and then Update the Time Capsule!

When the client computer next refreshes it's IP address (most computer's do this once every two hours or so), it should pick up the new reservation, now and forever.

Alternatively you can just shut the interface on the computer and turn it back one. Or go into Advanced and manually renew the lease. etc. etc.


AutoImporter no longer import my photos, after switching to iOS 10.2

There might be multiple solutions to this:

Verify Auto Importer settings

Go into Finder
Hit CMD + ⇧ + G
Enter the following path: /System/Library/Image Capture/Support/Application/
Open up the AutoImporter.app
Hit ⌘ + , to open up the settings
Verify, that everything is set up the way you want it to be.
Retry by reconnecting your phone.

Reset Auto Importer start

Open Image Capture
Set the Connecting this iPhone opens: option to something different then "Auto Importer", like Image Capture.
Reconnect your iPhone, see whether it opens Image Capture.
Then alter the setting back to "Auto Importer".
Reconnect your phone and see whether it works.

Delete Auto Importer Prefs and Cache

Get AppCleaner (Freeware) or an similar App, because it's hard to locate the cache for Auto Importer by hand.
Open up AppCleaner and drag the AutoImporter.app onto it.
AppCleaner will show you the pref and cache files associated with AutoImporter

com.apple.AutoImporter.plist in ~/Library/Preferences/
com.apple.AutoImporter folder at /var/folders/[…]/com.apple.AutoImporter/

Delete the plist and the cache folder.
Restart AutoImporter.app (for me it auto quitted itself after the first start, so restart it once again).
Retry by reconnecting your phone.


Locked out of OS X Server after switching network (wireless -> wired)

Have you tried to access it via screen sharing?

Try no name and the entire hardware serial as the password. Also try "Administrator" and the hardware serial. See this Apple support note: http://support.apple.com/kb/ht5390

Of course if you can connect a keyboard and monitor then boot it into single user mode and break in as if it is any ordinary Mac. Here's the accepted method http://hints.macworld.com/article.php?story=20001217230925152


Can I still Downgrade my iPhone 4 down to IOS 6.1.3 from IOS 7?

No, there is no officially sanctioned way to downgrade. If you had been using the beta, it would have been possible; however, the official release is not reversible.


There is a little documentation here on the background tasks that do things like clear up the /tmp folder, but it is marked as archived now and Apple don't seem to have released an updated version.

There should be a log at /var/log/daily.log for the daily script that (amongst other things) clears out the /tmp folder.


Is there a way to make Windows-style SMB share paths launch correctly?

I'm in a similar position at work, with a mixed environment. We use WinShortcutter, which is freeware. The allows you to right-click on a UNC path (such as \\FileServer01\topfolder\subfolder\shared.doc) and Open as Windows Link:

It's quite configurable as well, and allows drive mappings (so when you are sent a link that starts S:/folder, it will allow you to Open as Windows Link).

This works quite reliably for us.


Can you search for tags in OneNote for Mac 2016?

This functionality is not (yet) available in OneNote for Mac.

Since I also use Visio and Project, I have a Windows VM with OneNote also installed.  From there, I use the "Find Tag" feature and create a new page with the To-Do tags and then allow it to sync to my Mac and iPhone.

It's very cludgy, but for now, it works.


How to quit without saving using just the keyboard?

The standard shortcut for "Don't Save" in the dialog you mention is command ⌘+Delete. The old shortcut, command ⌘+D, can be restored by issuing the following command in Terminal:

defaults write NSGlobalDomain NSSavePanelStandardDesktopShortcutOnly -bool YES

and to revert back,

defaults write NSGlobalDomain NSSavePanelStandardDesktopShortcutOnly -bool NO

In Microsoft Office 2011 for Mac, command ⌘+D seems to work by default (but the standard shortcut does not).

Basically, try either command ⌘+Delete for Apple or standard applications, and command ⌘+D if that does not work.


Application to notify user of active VNC connection

You always can make this script and run from a terminal

#!/bin/bash

alertme() {
    say "Big brother watching"
}

while :
do
  netstat -a | grep vnc | grep ESTABLISHED && alertme
  sleep 60 #wait 60 seconds
done

and you got a spoken warning. If you save the script with .command extension, you can start it from the finder by doubleclick.

You can install growl from the Extras directory the growlnotify package. You can change the say in the alertme to:

growlnotify --appIcon TextEdit "Big brother"  -m 'watching'

and got an notifying window.

Or, you can make Automator workflow with shell script & popup-window alert. :)

Or, you can use the next:

sudo fs_usage -f network AppleVNCServer | grep -E '(accept|close)'

instead of netstat | grep and will get exact connect and disconnect times, like next, but you need run it as admin... (sudo).

14:19:20  accept                                                                                0.000024   AppleVNCServ
14:19:33  close                                                                                0.000047   AppleVNCServ
14:27:01  accept                                                                                0.000024   AppleVNCServ
14:28:19  close                                                                                0.000055   AppleVNCServ
14:28:26  accept                                                                                0.000018   AppleVNCServ
14:28:34  close                                                                                0.000037   AppleVNCServ


Keyboard Shortcuts can't be used to create shortcuts to open applications. It's used to create shortcuts to existing menu items within applications.

I personally use Quicksilver for rapid access to applications, but you also use applications like Keyboard Maestro or QuicKeys.

Apptivate is another hot key manager that is specifically targeted towards activating, hiding and unhiding applications.


If you take it to the Apple Store or call AppleCare they'll be able to look this up for you, from your device's serial number.


How to prevent or lessen data usage when using phone as hotspot for other phones

Hotspot = WiFi. When you connect from the client, you access it through the WiFi settings. There's no way to limit the type of data or usage used as from the client's perspective, it's not a cellular connection.


Is there a way to disable the internal speaker in Macbook?

When you switch audio outputs, the volume level reverts to whatever level it was at when you last used that output. That means that if you mute the internal speaker before plugging in headphones, it'll stay muted if you accidentally disconnect your headphones.

If that's not enough, you can also use Soundflower. It's an extension designed to let your Mac record its own audio output, which it does by creating virtual input and output options that feed directly into each other. That means that you can hold down Option, click on the volume icon in the menu bar, and select one of the Soundflower options as your audio output before plugging in your headphones and selecting them as the output device. If your headphones get disconnected, your audio output will default to Soundflower, which doesn't send anything through the speaker.


Can't allow blocked software (HAXM) to run on macOS 10.13

This is a new feature in macOS High Sierra that blocks kernel extensions from 3rd-party developers until manually allowed via the Security & Privacy preferences pane. Note this is different from Gatekeeper — this blocks signed kexts until you allow them, and all unsigned kexts are blocked unless System Integrity Protection is disabled. Gatekeeper blocks unsigned apps from running until you allow them. Apple has some further details in TN2459: User-Approved Kernel Extension Loading.

According to reports such as this issue thread for Karabiner, programs that might be intercepting or simulating mouse clicks such as MagicPrefs or VNC could be at fault. If you can temporarily disable those programs, and be in front of the machine rather than connected remotely via Screen Sharing or similar, it will work.

As a more complex workaround, you can disable System Integrity Protection for kexts with csrutil enable --without kext, then reboot to the regular OS and ensure the Android emulator is working, then (optionally but recommended) reboot to Recovery Mode again and re-enable SIP with csrutil enable. This will automatically add all installed signed 3rd-party kexts to the whitelist.


The Crucial kit is one of the better ones out there.  I've used their modules in the past.  However, on my new MBP, I decided to get the 8 GB from Apple.

I'd go with the Crucial if you want good quality and great value.

Here is a video showing installation
http://www.ramfor.com/ram-memory/apple-macbook-pro-early-2011-crucial-memory-upgrade/


iPhone: How do I change the default start time of an event?

Using Siri let’s you nail the start time. The system does still prefer to make a new appointment now if you don’t specify the start time or a start day.

  Hey Siri, make an appointment for 10 am next Tuesday.

Also, for when the default calendar is lacking, you can get some very capable apps to extend how you view, automate and combine calendars if you don’t want to just add all your calendars to the native iOS settings and use Siri / calendar.app - the first two I recommend are:

Fantastical 2 - a powerhouse of intelligence and smart scheduling
Calendars 5 - also has better smart scheduling than iOS and has great integration for google calendars and other cloud calendars.

You don’t need another app, though to just make an appointment precisely when you want it to be slotted in your calendar, just use alternate input mechanisms. These third-party apps had smart scheduling before iOS implemented it, but now Apple ships everything you need so only get these if you need more than one Apple can do out of the box.


How to auto-copy photos taken with camera?

This can all be done in OneNote without having to copy paste. However, this requires a Microsoft account to sync.  Be sure to install OneNote also on your iPhone.

Transfer photos to a note

Open OneNote on the iPad, open a note or create a new one.
Open OneNote on the iPhone, navigate to the same note.
Keep both open during the lecture.
On the phone when it is time to snap a photo, tap on the note were you wish to insert the photo.
There is a camera icon above the virtual keyboard - Take photo.
Tap the check mark to accept [Top right of screen].
The photo will automatically appear in the note on the iPad.

Viola!

Camera Icon location in OneNote for iPhone:

Take Photo Dialog:

Inserted photo on iPhone:

Updated automatically to iPad [note the time stamp on the note is the same as on iPhone]:


Removing camera button on iPhone lock screen

The only way this can be done is by using Settings > General > Restrictions to disable the use of the camera completely. A side effect is that FaceTime is also disabled.

There is no other mechanism built-in to do what you want.


How do I enable Java to do JNLP in Safari?

Quick and easy solution is to utilize an alternate browser. I had a similar issue with a Keyboard Video Mouse switch that required Java in order to initiate a JNLP (Java Web Start) session. After installing various versions of Java (1.6, 1.7, etc.) (O.S. is Mountain Lion) and trying to start a JNLP session in Safari (Version 6.0.5, [8536.30.1]) would see the efforts subsequently fail. I installed Google Chrome (Version 28.0.1500.71) and tried to initiate a JNLP session and it worked fine. Firefox may or may not work equally as well but I did not test beyond Google Chrome.


Mac OS X 10.10 doesnt recognize 1 and 3-finger gestures

One Queston, then my suggestion.

  When I connect a standard PC mouse, I get the same outcome - 2-finger
  tap, zooming, swiping work. But not clicking.

Did the machine respond normally to the mouse click?

Given your description of the issue, here’s how I would proceed:

Make sure your software and firmware is up date. Apple Logo > About This Mac.. > Software Update
Disconnect all peripheral devices. Hold down Shift at the boot chime to enter Safe Mode. If you can’t recreate the problem, it’s software related. The most likely culprit would be a third party driver that's interfering with your trackpad functionality.
Run Apple Diagnostics on the machine. Do so two times, back to back, regardless of the result. The machine must be plugged into your MagSafe. If the machine is not plugged in, you may receive a false positive that there is an issue with your battery. If you do receive an error code, follow the on screen instructions. Make an appointment to bring your machine in for a definitive diagnosis and servicing.
Follow these instructions to reset the SMC. Components such as the keyboard lights, fans, battery, power supply, and trackpad all rely on this controller. If one is behaving abnormally, a reset may do the trick. See if the issue persists. If it still does, then proceed to reset the PRAM.
Make an appointment with Apple to bring the machine in for a free and definitive diagnosis. Remember, your machine is covered under warranty. The last thing you want to do is void that warranty. Especially when you can’t even pinpoint the problem. Simply unscrewing the bottom enclosure will void it if detected. So, do not try a DIY fix. Bring it in. If it’s a hardware problem, they’ll fix it free of charge. If it’s a software issue, they’ll proceed accordingly (see below) until the problem’s solved. No matter what the issue is, as long as it’s under warranty, they assume responsibility for fixing it until it’s fixed. I don’t mean to come off as preachy, but I can't stress this point enough.
I see no purpose in reinstalling OS X before diagnosing the issue. It’s the first step Apple will suggest to take after the hardware checks out. Not before.  However, if you do so, I’d recommend a clean install (wipe the machine completely, then selectively restore your data).

Best of luck.


How to enable Spotlight search in NAS attached folder with macOS Mojave 10.14.4?

I'm looking from long time ago a NAS solution for Mac OS networks with Spotlight search features but at this moment doesn't works in Asustor or QNap NAS for example (Synology is the same at this moment). I've tryed with this two brands but at this moment you can't find a way to do this.
For this reason we must continue with disks connected to Mac OS servers machines.


SwitchResX broke my color profile, how to restore?

Per campyguy‘s post in https://forums.macrumors.com/threads/switchresx-cannot-remove-fully.1893707/, here goes how to get rid of the annoying "SwitchResX" prefix.

Open Terminal and enter the following Command:
ioreg -lw0 | grep IODisplayPrefsKey
Return of last step should be ended like: ... AppleBacklightDisplay-610-a031, remember the "610" and "a031" hints.
Go to folder "System/Library/Displays/Contents/Resources/Overrides"
Find the file folder "DisplayVendorID-610" as per the hint.
Edit the file "DisplayProductID-a031" in text editor with super admin permission (such as "sudo vi" command), delete the "SwitchResX" word in the file.
Reboot. (Don't forget to delete SwitchResX profile files in your ColorSync folders /Library/ColorSync/Profiles/Displays/ and ~/Library/ColorSync/Profiles/

Hope this finds you well.


Macbook 12,1 (OSX 10.11.4) will not boot SSD clone of OSX 10.9.5 from MacbookPro 11,1

You say the only difference between the two models is the size of the drive. This is an incredibly naïve statement. Although, I have not checked in depth, it would be a safe bet next model differs in hardware beyond the drive size.

Let's look at the chronology.

OS X 10.9 is released on November 22, 2013
MacBookPro11,1 is either a Late 2013 or Mid 2014 model. Should be
shipped with OS X 10.9.
OS X 10.10 is release on July, 24, 2014
MacBookPro12,1 is either an Early 2015 model. Should be shipped with
OS X 10.10.

When OS X 10.9 was released, most likely this version did not contain the software (drivers) for Macs not yet shipped. So installing this operating system on a future MacBookPro12,1 model should result in failure.

The opposite would likely succeed. You should be able to take OS X 10.10 from a MacBookPro12,1 and run successfully on a MacBookPro11,1.

How about upgrading OS X on the older machine before running on the newer machine?


Epson software update keeps popping up on my screen but nothing gets downloaded

Just talked with Epson support. I had already removed the printer from System Preferences > Print & Scan, but when I tried to add the printer back it said the software could not be found. In talking with Epson this what he had me do:

I had already removed the printer so do this first.
Open System Preferences > Print & Scan, right-click in the list of printers on the left, and choose "Reset printing system..."
Run the Software Update under the Apple menu. (Being Mountain Lion this opened the App Store application. However, there were no software updates for me.)
Restart computer.
Open System Preferences > Print & Scan and add the printer again.

It was able to add the printer, and now the dialog box in @King Julian's post is not showing for me. Hope this works for others too.


Numbers shortcut to jump to next non-empty cell

use this AppleScript ▼

--finds next next blank (or non-blank) cell in column
--select starting cell, and run
property searchFor : missing value
tell application "Numbers"
  set t to front document's active sheet's first table whose selection range's class is range
  tell t's selection range
  set currentRow to its first cell's row's address
  set searchCol to its first cell's column's address
  end tell
  tell t's column searchCol
  repeat with i from currentRow + 1 to count cells
  if cell i's value is searchFor then --add not if want to find non-blank
  set t's selection range to cell i
  return
  end if
  end repeat
  end tell
end tell

from  →
how do I move/find the next non empty cel… - Apple Community_2019-09-25


Does "Full Disk Access” include access to "Files and Folders" Privacy settings?

The System Preferences screen is a bit vague (it says "Allows specified apps access to data like Mail, Messages, Safari, Home, Time Machine backups, and certain administrative settings for all users on this Mac.")
However the Apple developer documentation is more explicit - it says Full Disk Access (SystemPolicyAllFiles) covers all protected file locations including the new ones you mention.  From PrivacyPreferencesPolicyControl.Services :

SystemPolicyAllFiles Allows the application access to all protected files, including system administration files.

More fine-grained file locations are listed in the link, including those you asked about.  Specifically :

SystemPolicyDesktopFolder Allows the application to access files in the user's Documents folder.
SystemPolicyDocumentsFolder Allows the application to access files in the user's Downloads folder.
SystemPolicyNetworkVolumes Allows the application to access files on network volumes.
SystemPolicyRemovableVolumes Allows the application to access files on removable volumes.

Note that PrivacyPreferencesPolicyControl says "In the case of conflicting specifications, the most restrictive setting (deny) is used" but it doesn't seem to be possible to grant Full Disk Access and revoke another permission in Files and Folders through System Preferences.


How to turn off keyboard lights on MacBook?

F5 decreases keyboard brightness, F6 increases it.

For more information see the Apple KB article Adjust the brightness of your backlit keyboard. If you don't like that the illumination automatically adapts, you can turn it off in System Preferences → Keyboard → Adjust keyboard brightness in low light.


You can lower volume without playing the video.

from another answer:

The control center works (swipe up from bottom of screen and slide volume slider as desired).
In iOS 9 at least, you can also go Settings -> Sounds and under the Ringer and Alerts section, turn off "Change with Buttons", then use the volume buttons on the side of the phone to adjust the media volume. You can leave this option off to always have media volume control with the hardware buttons if you are OK with the ringer volume being just off or on at a preset level using the silent toggle switch on the side of the phone.


How to set topmost big contact entry in contact in iPhone 5C?

The contact displayed on top of the list with bigger font and icon is generally your own contact entry, i.e. the contact entry corresponding to logged in Apple ID.

You can tap to select and navigate to the details screen and edit the fields in the detail screen.

Update: As mentioned by @fsb in comment, Go to Settings app → Contacts and verify the contact selected for My Info is actually your own contact card. That's where Contacts app gets the name for the top of the list entry.


Why do I keep getting Recovered files in my trash after restarting?

Any file that isn't closed when the program terminates (or the mac crashes or is rebooted) gets flagged as a recovered file.

Usually these are temporary files and never intended by the program to be seen by you. Here are some links from Apple on this behavior:

http://support.apple.com/kb/PH7225
http://support.apple.com/kb/PH4205

It is only a problem if you lose work or feel the program should be exiting cleanly and not crashing. Have you looked into the console app to see if the programs are crashing or it's just a matter of shutting things down before the apps have a chance to clean up and quit in an orderly fashion.


How to rename a USB stick using disk number (via terminal and using diskutil)?

When you insert a USB drive it automatically gets mounted.  You can see the name of the device using the mount command:

$ mount
/dev/disk2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk7s1 on /Volumes/USB-NAME (msdos, local, nodev, nosuid, noowners)

Making the simplifying assumption that you only have one usb drive mounted at a time and it is always formatted with windows, you can then rename the drive like this:

$ diskutil rename $(mount | sed -n '/Volumes.*msdos/{ s/ .*//;p;}') NEW-NAME
Volume on disk7s1 renamed to NEW-NAME

now when you look at the mount output, the name is changed:

$ mount | grep '/Volumes.*msdos'
/dev/disk7s1 on /Volumes/NEW-NAME (msdos, local, nodev, nosuid, noowners)

You may need to adjust the search parameters based on different assumptions, but this is the general idea.


How can I monitor the users that are connected to my ad hoc wifi network?

Run the following to list all connections on your Mac through all interfaces.

arp -a

To limit to a single interface, use:

arp -a -i en1


Can't restore music to iPhone from iTunes

Note: This is all done on a Mac. Just look up the PC equivalent of the following steps if required.

How to recover past information:

Option 1 - Restore iPhone 4 directly from old computer:

Connect iPhone 4 to old computer, open iTunes, put the iPhone in DFU mode, (while holding alt/option key) select Restore after iTunes has detected the iPhone 4 in recovery mode, and select the most recent backup of that iPhone 4.

Option 2 - Copy iPhone 4 backup from old computer, and place on new computer to recover:

On the old computer, go to ~/Library/Application Support/MobileSync/Backup, and copy the most recent backup of the iPhone 4 and transfer it to the new computer.
Connect iPhone 4 to old computer, open iTunes, put the iPhone in DFU mode, (while holding alt/option key) select Restore after iTunes has detected the iPhone 4 in recovery mode, and select the most recent backup of that iPhone 4.

How to create the ability to sync all purchased/future purchases of music and apps:

Open iTunes.
Sign out any pre-existing AppleID/iTunes Account once iTunes loads.
Sign into desired account of individual (your relative's I'm assuming).
In iTunes, select Store -> Authorize This Computer...
Rejoice!
Have your relative use iCloud for backup to make life easier in the future.

Let me know if you have any more questions, or need any futher explanation. Enjoy!


Is it possible to remove the trash icon from the dock on macOS Catalina?

No.

Neither the Trash nor the Finder can be removed from the dock.


Yosemite Messages: Support for a separate speaker for notifications?

Looks like this is not possible after all.


External applications opening Safari links in new window rather than new tab

In Safari > Preferences > Tabs, there's a preference for setting when pages should open in windows or tabs.

Look here:

Open Safari > Preferences and select Tabs along the top
Under the option for "Open pages in tabs instead of windows:" select "Always" from the drop-down.

This will force every application to open links in tabs.


How can I trust a computer browser I untrusted for iCloud.com?

If you open a private browsing browser, you can determine if local storage or a cookie is responsible for this trust.

That's much easier than the sign out everywhere, and that might not invalidate the trust cookie as well as the auth cookie if they are distinct entities.


How do I find the model number on iPhone X or iPhone 8?

Since Apple removed the regulatory marks from the iPhone 8 and X the model number is now in the sim tray slot.


How to fix a Macbook Pro (late 2013 model) with liquid damage?

I would say that you would need to go ahead and use the Genius Bar option to repair your computer.

My reasoning is that water damage can cause errors in strange ways that, upon first glance, seem to be straight forward, but are in fact impossible to properly diagnose without professional diagnostic equipment. For example, in your case, I doubt that the problem actually lies in the battery. Rather, the water damage may have caused a part somewhere along the battery-charge monitoring path to fail rather than the entire battery, but that is simply conjecture.

For that $800, a trained technician will take apart the entire Mac and inspect each piece for corrosion and/or liquid damage. Each will be repaired and replaced and then the computer re-assembled and tested and a warranty will be issued for the work. Typically 90 days or the remainder of the existing warranty if any. Local regulations might extend these as well. The only reason this doesn't cost much more than the new Mac is that the parts are not all scrapped and some have repair / reuse value to Apple and they can pass the savings on to you.

Definitely not what you wanted to hear, but I hope this helps.

Caveat: if you can pinpoint that the battery - and only the battery - is the issue without a shadow of doubt, replace it yourself; it will be much, much cheaper.


How to evolve trade Pokemon on a MacBook Pro?

I have managed to find a solution on how to trade pokemon.
Prerequisites:
BACK UP YOUR SAVE FILES FIRST!
I have lost a few saves and sometimes the namespacing can change on a filename, so I would advise you save your files and find out where your saves are stored too so if you need to re name them afterwards, you can do.
See this on how to get your IP address https://www.hellotech.com/guide/for/h...
Here are the key steps in the video:
A - Before trading
1 - Download VBA - M from GitHub
https://github.com/visualboyadvance-m...
Install the right version for your system, I have installed the 64 bit.
2 - Copy VBA - M to Applications folder
3 - Copy VBA - M in the Applications folder so that you have 2 VBAs, in there as shown in the video.
4 - Make sure that the games actively run in the background first before any trading, so that you can have both Fire Red and Leaf Green active at not frozen if not selected.
5 - Always use a keyboard to control the VBA and not a Bluetooth controller - if you use a Bluetooth controller, it also controls the game in the background which is not what you want, so have the keyboard set up first.
B - Starting the trade
6 - Open both VBAs up, do not load the game, just open them
7 - Go to link, select link type as cable (not wireless)
8 - Start network link, set one as server with your IP address, and the other VBA as client.
9 - They should connect
10 - load the games
11 - Complete the trade
12 - Save the game afterward
13 - Check your saves and it should all be there
I have also shown how to achieve this in a YouTube video - https://www.youtube.com/watch?v=AdbJsnWkZVc


How to rename files by moving/shifting characters in file name (e.g. appended sequence to prepended sequence)?

I'm not familiar with either of the programs you've tried, but here's how to do it in A Better Finder Rename ($20), and I expect at least one of yours can do it in a very similar manner. See below the screenshot for instructions and an explanation.

First, I chose ABFR's "Re-arrange using regular expressions" feature. This will probably be named something similar in other programs. This requires a regular expression to match with, followed by a substitution pattern to create the new filename.

(.*)_(\d{3})\.mp4

The first capture group (.*) simply matches any number * of any character . necessary to make the filename match.
This is followed by a literal underscore, which in your case delimits the border between the filename and number.
Then, the second capture group (\d{3}) matches exactly three {3} digits \d. If some of the files have more or fewer than three digits, say a number between n and x, you would change it to (\d{n,x}).
Finally, the extension is matched with an escaped period \. and mp4. If your files have different extensions, you should change this to \.(\w{3}) — just like the number, but with characters \w instead of digits.

Then, we use those capture groups to make the new filename. The syntax for this part may vary more between programs.

$2_$1.mp4

This is perhaps more straightforward: our second set of parentheses surrounded the number, so we put that first with $2, followed by an underscore, the filename $1, and the extension .mp4. (If you used \.(\w{3}) earlier, write $2_$1.$3 instead.)

If you'd like practice and help with writing regular expressions, I recommend the website RegExr, which provides live syntax highlighting and tooltips.


Why won’t iPhoto open my iPhoto Library any more?

Unfortunately, I'm not super familiar with the inner workings of the library file.  You can copy the masters out and reorganize them into a new library so that your pics aren't lost:

open a terminal window
type mkdir ~/Desktop/RecoveredPicsEnter.  This creates a new folder on your desktop where your recovered masters will live.
type (but do not hit enter) find make sure to leave a space
drag the iPhoto library into the terminal window.  This has the effect of pasting the path to the library.
It also put an extra space at the end of the path, delete it.
type /Masters immediately after the path, make sure there's no spaces between them
NOW you can add a space and past the rest of this into terminal: -type f -exec cp {} ~/Desktop/RecoveredPics/ \;
Hit Enter
Now you can head over to the Finder and check out the contents of the RecoveredPics folder that's on your desktop.  If you're satisfied with the contents, you can drop the folder on iPhoto and create a new library from these.

Let me know if this is helpful!


Why is iTunes not shuffling songs but albums?

Controls → Shuffle → Choose your preference.

Screenshot:


On iPhone, you can download several different apps.

The one I found was free, quick, and simple called 'Recent Contacts' by Kyle Gorlick.

On Android there are also several apps, but I have not tried them myself.


unable to install Google's Droid Sans Mono font

I was able to install it from fontsquirrel on my mac osx version 10.13.3. Try it out


Adding "local" to the DNS Search Domains has no effect

Hostname resolution in Mac OS X (since ~10.3) has roughly spoken - i exclude various cache mechanisms - the following operating sequence:

'Files' (e.g. /etc/hosts) ->
mDNS ->
DNS (search domains) ->
DNS

Valid names for the different name resolution methods:

for 1: almost arbitrary names
for 2: name.local
for 3: name (+ search.domain in your network prefs) A Start Of Authority (SOA) record for the top level domain is obligatory.
for 4: fqdn

In your first scenario (myserver.local) you only use 'Files' and mDNS. 'Files' fails because there is no entry myserver.local in your hosts file. mDNS succeeds resolving it because it's a valid and resolvable mDNS name.

In your second scenario (myserver & search.domain local) you use 1, 2, 3 (and 4). 'Files' fails because you have no entry myserver, mDNS fails because it's no valid mDNS name. DNS (search domains) fails because you don't have a DNS-server with a SOA record for .local in your network (as well as DNS).

So just enter sudo nano /etc/hosts in Terminal and add the line:

 a.x.y.z      myserver

(a.x.y.z= IP-number of your server) and it should work. If you are really lazy even an 'a' as name might be sufficient. But don't use single numbers (like 1 or 123) because then ssh might try to connect to 0.0.0.1 or 0.0.0.123. At least ping connects to 0.0.0.1 or 0.0.0.123.


What is the real working method of making a bootable usb drive?

a) You can use the free and open source Mac Linux USB Loader app to make a bootable USB drive.

OR

b) Follow the instructions for How to create a bootable USB stick on OS X (it has a step to convert ISO files to IMG before writing it to the USB drive).


MacBook Pro OS X El Capitan clone to my MacBook air?

I maintain a similar setup, with a mid-2010 MBP on the home desk (using an external monitor, keyboard, and mouse) and a mid-2013 MBA for travel. To maintain a consistent user environment, both machines run the same macOS, currently Sierra 10.12.6.

Contacts, Safari bookmarks, Calendar, Keychain, and Find My Mac are synced using iCloud; I use no other iCloud service. My email is IMAP, and thus synched by my ISP's server.

The two computers are synched over an Ethernet connection using ChronoSync (on the MBP) and ChronoAgent (on the MBA). This synchs the computer's Desktop folders, my Documents folder, and Photos. I do this just before travel, and just after return. After the first synch, synching usually takes about two minutes.

I found ChronoSync clumsy to setup, but it does the job. I also use CS to each night create a bootable backup of my MBP's SSD boot drive.


Choosing Restore Date in Carbon Copy Cloner

There actually are no earlier dates. CCC creates snapshots/clone images of your hard drive, it doesn't create versions.


The file that you are looking to edit should be present in Homebrew installation directory, which generally is /usr/local/Homebrew.

From your shared locate output, the one matching the criterion is:

/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb.


Very large (out of core) image viewer for Mac?

I am also looking for the answer to this.

I tried Xee, as recommended on the linked post, but it could not open the 2.43 GB ~1.8 billion pixel image from NASA's Curiosity rover (88797 x 22958 pixels TIFF image)

I have also tried Phiewer and ApolloOne, but they did not work for me either.

XNViewMP worked for me, but opened the file slowly, and basically freezes when I try to interact with the picture.


Late 2011 13" MacBook Pro doesn't detect external monitor anymore on Mavericks

Seeing that this question has become popular, I will tell you how I resolved the issue...

I was using a fake adaptor, but it worked with Mac OS X flawlessly for two years. Strangely, it only works now when booting with other systems (like xubuntu live cd).

What I did to solve it was buying an original adapter from Apple.. I hope it will last until my Macbook becomes useless..


On the assumption that your laptop is as old as the last Snow Leopard OS (10.6.8) that makes it 7 years old, and well into the age where it can be expected to stop working without warning. Browsers that ran on Snow Leopard are no longer supported by many websites so if you want to keep using it, you will be limited to mail, documents and basic internet usage.

So yes, whoever said your laptop was ancient was correct. Time for new hardware.

Good news is performance is way up, and prices are down. For example, My Air boots in 8 seconds and runs for 12 hours on the battery.

Do you have a backup of your laptop? My guess is No. Go buy an external drive and run Time Machine before your 7 year old internal drive decides to quit on you.


Recover Files and Folders deleted from iOS Files App

The ‘files’ app have a recently deleted like ‘photos ‘ you can recover accidentally deleted files there.

Files -> Browse -> Location -> Recently deleted

I try it on my iPhone 6s,iOS 11.2.2.


I attack this problem by distributing the web app as a configuration profile. Rather than having people tap the mobile Safari button to add the app to the home screen, you have them download the profile file OTA from the web server.

They will need to approve the profile installation, but then you can control the icon and force the full screen attribute so that your users don't see Mobile Safari's chrome.

If your web content is getting opened in Mobile Safari (like the web content here, you may need to try playing with all links within the app to be relative to the site or program things to exist in an offline database rather than being full URL that cause the fullscreen safari to think it needs to open a linked page in the normal Mobile Safari view).

I also use this article on developing for iPad - perhaps you need to set the viewport and have a few other items to ensure that the touch interface is used to navigate rather than opening a new URL.

Technical Note TN2262: Preparing Your Web Content for iPad
Configuring Web Applications


Can I keep the MacBook Pro Retina's power-cord plugged in at all time?

Well, Apple does not recommend leaving your portable plugged in all the time, as for a lithium-based battery, it's important to keep the electrons in it moving occasionally. MacBook / Pro, though, are designed to deliver up to 1000 full charge and discharge cycles before it reaches 80% of its original capacity.

A charge cycle means using all of the battery’s power, but that doesn’t necessarily mean a single charge. For instance, you could listen to your iPod for a few hours one day, using half its power, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not two, so you may take several days to complete a cycle. Each time you complete a charge cycle, it diminishes battery capacity slightly.

Since 2009-2010 laptops carry a technology called Adaptive Charging which basically is a chip within the battery that talks to its cells monitoring everything from charge level to temperature. The chip relays this information to the computer, which uses an advanced algorithm to determine the optimal charging current. Adaptive Charging reduces the wear and tear on the battery giving it a lifespan of up to 5 years.

So, I'll actually won't worry that much about the battery. Just try not to keep it plugged all the time, and remember to do a full charge cycle at least once per month.


Telegram offers 2 official versions of their OSX app.

Version 1 is the official maintained version, both available as direct .dmg download on the Telegram website and in the Appstore.

Version 2 is also official, but it's the deprecated objective-c version, also offered as direct .dmg download.  While it's no longer supported, it does still run - and uses separate user credentials.  Newer features are not available, but otherwise it runs fine.