How can I run a YouTube video in Picture in Picture mode on iOS?

iOS enables PIP easily, there are standard ways to classify all video and unless the web site takes active measures to disable PIP it just works.
Youtube has continually taken steps to disable and remove PIP functionality on iOS, but there are a still few ways to bypass their efforts to control how you consume their video content and watch Picture in Picture:

Bite the bullet and subscribe to Youtube Premium (AKA Youtube Red). If you subscribe to Google Music, it is included. To watch PIP with Youtube Red, swipe down or diagonally across the video to minimize it. Plays in bottom right corner.

Use an app to open and process the links. I found links to two, but can't vouch for either one. Including name of developer in case the location of link changes at some point:

Cornertube by Tiny Whale Pte. Ltd.
https://itunes.apple.com/US/app/id1073199994?mt=8 costs $2.99

Pipifier, made by Arno Appenzeller, can be found at
https://itunes.apple.com/app/pipifier-pip-for-nearly-every/id1160374471?mt=12
free app

Scriptable.app with this YouTube PIP script - both are free

An alternative that needs no payment or extra apps is Safari in split view. This is a part of iOS and is documented at https://support.apple.com/en-us/HT207582.
How to use Split View:

Open an app. Swipe up from the bottom of the screen to open the Dock.

On the Dock, touch & hold the second app that you want to open, then drag it off the dock.

When the app opens in Slide Over, drag the dash icon down.

This question was answered a few years back at How do I play a YouTube video in the background on my iPad? but the solution doesn't work on iOS 10+.


Can't access /etc folder in OS X Mountain Lion

Hit ⌘+⇧+G (or select Go - Go to Folder... from the Finder menu bar) and enter /etc or any existing and readable path as the target location to browse it.

Given you enabled showing of hidden files, while double-clicking etc from Finder does not work, you can still right-click it and choose Open from the context menu.

The system-wide configuration files in /etc are best to be treated with caution just as all the other hidden system files and therefor I'd certainly not recommend changing permissions for them, but if you do need to view or edit them I would suggest doing it from the Terminal. This will also make it easier to gain the necessary root privileges for changing them by using the sudo command.


New MBP w/touchbar: How to change default brightness level?

That's not a standard macOS feature nor a feature of the laptop. Perhaps something's wrong with the SMC? Display backlight problems can be indicative of an SMC error.

  The display backlight doesn't respond correctly to ambient light changes.

You can reset the SMC. Shut down your Mac, then…

  After your Mac shuts down, press Shift-Control-Option on the left side of the built-in keyboard, then press the power button at the same time. Hold these keys and the power button for 10 seconds.

https://support.apple.com/kb/HT201295

The dimming when unplugging power can be controlled in System Preferences → Energy Saver → Battery:


How to identify the originator of an URL call under iOS/iPadOS?

If you have a jailbroken iOS/iPadOS device, you can use the command "lsof" to find out which process has that specific port open.

You would run it like this:

lsof -n -iTCP

It would list ports that the process has open with the mark "(LISTEN)" at the end. Outgoing connections would be marked differently depending on their state, typically "(ESTABLISHED)", "(CLOSED)" or various wait states.


Need help deleting multiple items from desktop

Open the Desktop in Finder, sort by Date Modified or Date Added, select desired files and delete.


Can't find login items in users and groups

System Preferences → Users & Groups → your user account → Login Items

You can't view the list of login items for other users, even if you are an administrator.


On iphone sync, can I skip transfer of purchases from iphone to computer?

Yes. You can disable app syncing.

To do this:

With your device connected to iTunes select the "Apps" tab.
Under the app listing, deselect "Automatically sync new apps".

New apps will no longer sync with iTunes. They will still backup to iTunes or iCloud, however, so you have no need to fear losing them should your device information be lost.

Note: all instructions provided work for iTunes 11.


Make sure deleted photos on an Ipod touch can never be recovered?

Deleting them should be good enough, but due to the iOS sandboxing restrictions, full deletion is not truly possible. However, recovering these photos would be extremely difficult and require extremely expensive software and a great deal of knowledge. After time, the picture files will be overwritten and then be truly inaccessible. Best advice: don't take/save pictures you'll later regret.


Ok I FINALLY got this to work!! The alias solution mentioned above actually really helped. I tweaked the process slightly and looked at other references to get this to work.  I'm using a WD My Cloud NAS drive to store iOS backups. Heres' what I did, step by step:

Create a new folder on the WD external drive and name it 'Backup'
Opened the Terminal app and typed in the following line:

ln -s /Volumes//Documents/Backup ~/Library/Application\ Support/MobileSync/Backup

*Be sure to use the name of your external hard drive where I've used the WD My Cloud drive.

What this ended up doing was to create a brand new Alias folder of the 'Backup' folder that I created on the WD MY cloud drive (alias folders have the arrow on them meaning they point elsewhere. In my case to the WD drive). It created this new Alias folder within the original 'Backup' folder on my computer. This is the new folder that I want iTunes to back up my iOS devices to, as it sends all the data to my external hard drive without taking up space on my computer. A few more steps to get this finalized

Now since the Alias folder resides within the original 'Backup' folder on my computer, we need to remove it from there and bring it up one level to be at the same level as the original backup folder. Before moving it, we need to rename the original 'Backup' folder to something like 'Backup_Old'.
So this is what things look like now: Library > Application Support > MobileSync > Backup_Old > Backup (this is the Alias folder with the arrow).  Now all we have to do is move the 'Backup' folder up to the same level and we're good to go!

Test it out by backing up your device through iTunes and you'll notice that the Alias folder on your computer takes up like 4kb while, the contents inside actually take up a whole lot more. Also to verify, check the folder on your external hard drive and it should be fairly large.

I used this site to help with the terminal syntax part: http://support.digidna.net/hc/en-us/articles/203504123-Storing-your-iPhone-Backups-on-an-Alternate-Location


Here are my recommended settings for locking down your Mac. I'm assuming you're running OS X Lion. If that's not the case, let me know and I'll try to adjust my answer for other versions of OS X.

Turn your Firewall on: System Preferences -> Security & Privacy Tab Settings -> Firewall tab. Make sure it's on and that you click the lock in the lower left corner to prevent changes without an administrator's password.

Turn off all sharing services: System Preferences -> Sharing Settings -> Make sure all the stuff in that window is unchecked. Make sure the lock in the lower left corner is locked to prevent changes without an administrator's password.

Turn off Bonjour (mDNSResponder): For OS Lion you don't need to completely disable mDNSResponder (which is good because if you disable it completely you lose DNS in Snow Leopard and newer OS X). Instead you can follow these steps to disable just Bonjour features in mDNSResponder (Note: do this carefully as a malfunctioning mDNSResponder service can prevent a Mac from booting. Make sure you have a TimeMachine backup before making changes and that booting to your recovery partition works.):

Make a back up copy of the mDNSResponder.plist file as a precaution.
Open the mDNSResponder.plist file in Terminal using your preferred text editor. Here is a sample command:

sudo nano “/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist”

Add <string>-NoMulticastAdvertisements</string> to the array in the ProgramArguments section. In other words:

<key>ProgramArguments</key>
<array>
<string>/usr/sbin/mDNSResponder</string>
<string>-launchd</string>
</array>

becomes…

<key>ProgramArguments</key>
<array>
<string>/usr/sbin/mDNSResponder</string>
<string>-launchd</string>
<string>-NoMulticastAdvertisements</string>
</array>

Save the file.
Restart your Mac.

You may also want to look at locking down BlueTooth on the system (System Preferences -> BlueTooth Settings). Specifically you may want to uncheck 'Discoverable' so your BlueTooth chipset doesn't advertise itself to other devices nearby. If you're not using any BlueTooth devices consider turning it off altogether.


determining Preferred Language in OS X via cli

The only difference is the comma.  Conditionally remove the comma if it's there.

defaults read -g AppleLanguages | sed -n "2p" | tr -d ,


Macbook Pro - bottom part of the screen partly mirrors the top

Wow - unless you’re sure it’s software, I would get it to Apple Service for a look. One method to perform a quick check is boot to recovery - hold option and R. If the firmware screen is broken, you know it’s GPU / CPU.
If the firmware screen is perfect, you would want to back up and then perform an erase install. It’s possible hardware failure could happen only when all graphic drivers are fully loaded and optimized / accelerated.


Apple Pages: Use a different header for odd an even pages

This is currently not possible with Pages, as it was with Pages '09.

If you need this functionality, you can still use Pages '09 if you have it, but opening a document from Pages '09 with different headers for odd and even pages will cause such headers to be removed (and a warning thrown in Document Warnings).

You can provide feedback to Apple here:

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


I used the native Mail app which did work while Gmail and Drive would not work.


Mac mode where you can see code on startup

Single user or Verbose mode.
Verbose mode start up

Restart the Mac
Immediately hold down the command + V keys

You have successfully entered verbose mode when you see white text appear on the screen.
See Apple Support


Grey screen apple logo prohibitory sign etc MacBook 2009

You can always just use your Snow Leopard installation discs, in order to reinstall OS X. If you can get on a copy of OS X El Capitan though, it would be better to have it installed on that Mac via a bootable USB.


What displays work with the Mac Pro (2019)?

The new Mac Pro can be configured with a range of graphics card options.

Regardless of the option chosen by the user, it can be connected either via HDMI 2 or Thunderbolt 3 to compatible displays, and also provides the option for DisplayPort connections*.

The various graphic card options also provide different combinations of these ports. For example, the base level AMD Radeon Pro 580X comes with two HDMI 2 ports and four DisplayPort connections that can support the following combinations of external displays:

six 4K displays
two 5K displays
two Pro Display XDRs

The AMD Radeon Pro Vega II, on the other hand, comes with one HDMI 2 port, four Thunderbolt 3 ports, and two DisplayPort connections that can support the following combinations of external displays:

six 4K displays
three 5K displays
two Pro Display XDRs

And finally, the AMD Radeon Pro Vega II Duo comes with one HDMI 2 port, four Thunderbolt 3 ports, and four DisplayPort connections that can support the following combinations of external displays:

eight 4K displays
four 5K displays
four Pro Display XDRs

Of course, with the expandability of the Mac Pro you also have the ability to use different graphics cards and therefore the types of displays compatible with it will depend on the card you're using.

Finally, with the use of adaptors you may be able to support other displays as well.

* DisplayPort connections are routed to the system to support internal Thunderbolt 3 ports


Why does my MacBook Pro take so long to go to sleep?

I recommend a nifty little utility called SmartSleep that allows you to control when the saving of your RAM contents to disk for the Safe Sleep / Hibernate feature Mac OS X has.

Alternatively you can disable Safe Sleep altogether by running: sudo pmset -a hibernatemode 0. To change it back to the defaults, change the value to 3.

0 - Old style - just goes to sleep.
1 - Only Hibernate
3 - Default - goes to sleep but writes RAM contents to disk just in case.
5 - Only Hibernate mode but if you use secure virtual memory.
7 - The Default but if you use secure virtual memory.


Uninstalling R and R Studio from the mac

From https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html:

1.3 How can R for Mac OS X be obtained and installed?
[...]
Further details, including uninstallation and building R from the sources, are in the ‘R Installation and Administration Manual’.

Said manual is at https://cran.r-project.org/doc/manuals/r-release/R-admin.html.


I can’t hear anyone and they can’t hear me iPhone 6

Have you tested the microphone using the Voice Recorder or confirmed the audio works when playing music? If neither of those work, sounds like you've got a hardware fault that needs an Apple diagnosis


Chrome's URL field prohibits some URLs from being drag-drop'ed into Finder for auto .webloc file generation. Why is this?

So after some trial and error, I could find out a working method, but not the problem.

Click the address bar once. Even if the site is https, it won't show on the protocol on the first click and the rest of the URL will get selected.
Drag and drop the selected part of the URL.
If you click again and the site shows https:// etc., drag and drop of that URL wouldn't work.


iTunes Connect - Contact Info form not working

I guess it worked after I tried it repetitively. Apple has forms that haven't been updated for a couple years, considering their extensive use of Lucida Grande as a font.


Can I add the 2nd monitor with Apple Cinema display

Yes this usually does work. Connecting another monitor with PD (Power-delivery) should not change the behaviour on your other ports. Your MacBook's specs specifically mention the ability to support two 4K monitors @60Hz, so one with a lower resolution will be no problem. I myself have been using a 4K PD (USB-C) LG monitor and a 2K monitor connected through a hub on a 2017 15" MBP.
However, your graphics card needs to push many more pixels, i.e. other graphics related tasks may slow down depening on your usecase.

Just to clarify:

Connecting another monitor [..] should not change the behaviour on your other ports

Of course your MacBook is limited at some point, i.e. connecting daisychained TB (Thunderbolt) devices and using an integrated USB hub in a monitor (many monitors using USB-C have this) will at some point lead to lower performance on these devices. However, you should only see decreasing speeds e.g. for external drives connected like that but the video output should generally be prioritized, i.e. not limited due to more connected other devices.


Testdisk show unusual media descriptor (0xf8!=0xf0) on hard drive

The best would be to simply stop running TestDisk and start using the drive for whatever purpose it was intended, and to the ask here for instructions, if that isn't working for you.

The TestDisk software is not reporting CRC errors, as your describe in your question. Instead it is simply telling you that it thinks the formatting is "odd":

I gather that you're dealing with a secondary, external drive and that it is probably a USB pen drive or similar of 8 GB size. The pen drive has been formatted as a hard drive, while the TestDisk software marks this is as "odd" as it believes it should have been formatted as a floppy drive instead.

In reality there's no real difference between the two for most, if not all, purposes that concern macOS.

If you really want to get rid of this TestDisk error, all you have to do is simply repartition and reformat the drive.


Some applications on MacBook Pro think Internet is not connected when it is

Just stabbing in the dark here - DNS? Or rather, the relation of Safari towards DNS (since you mentioned that Firefox was working fine).

I know that Safari takes on the system wide proxy settings and firefox has its own - another possible avenue why firefox works when safari doesn't.

Maybe you could try opening two new tabs when the issue occurs again and try accessing http://72.30.2.43 and www.yahoo.com on the second tab. Perhaps we could help eliminate DNS with that test.

Muck around the system proxy settings is another possible investigation route.


New Tab with ⌘-click in Sierra with sticky keys

I haven't found a way how to restore the old behavior however there appears to be a new (probably inconsistent) system:

For example, if you press command it is used only for one click (somehow not in browsers). A second press on command locks it and now it works in browsers too. The third press on command unlocks it and you are in the same situation as before.


Is there a way to simulate a numeric keypad on apple wireless keyboard in OSX?

Macworld explained the procedure for a unibody MacBook, but I imagine the procedure is similar for an Apple wireless keyboard:

In order to bring the MacBook’s number pad functions back from the dead you need do nothing more than install [Edit: software is now called Karabiner-Elements] and restart your Mac. If you’re running Snow Leopard you don’t have to remap anything or even open the Preference Pane. Just hold down Fn plus the letters you mentioned and your laptop will cheerfully produce numbers as did your old one.

Link to Karabiner-Elements
Despite the name, this app will also work happily with non-MacBooks, or even non-Apple keyboards. I haven’t used it specifically to simulate a numeric keypad on an Apple wireless keyboard, but I have used it for other things and it generally works well.
It’s also well-maintained: the developer has been releasing regular bug fixes and new versions for OS X releases since late 2006.


How to share files with coworkers via internet? Securely?

Why not use something like Dropbox?

There's also Sparkleshare which allows you to host files yourself.


How can I obtain app energy impact data from the command line or applescript?

As far as I know, the raw data used for the Energy calculations can be obtained using the powermetrics CLI:

*** Running tasks ***

Name             PID    CPU ms/s  User%  Deadlines (<2 ms, 2-5 ms)  Wakeups (Intr, Pkg idle)
kernel_task      0      41.14     0.00   267.46  0.20               2290.48 1533.24
WindowServer     186    99.50     73.47  54.93   15.58              73.51   67.31
Terminal         53513  105.38    88.85  0.00    0.00               12.78   10.99


Yosemite Install or post-install Boot-up Frozen

This appears to be a variation on the boot cache problem with initial upgrade installations of Yosemite.

The difficulty for solving it appears to be knowing precisely when to press and release the  Shift ⇧  key to enter Safe boot mode, which remedies the problem.

The procedure is explained in this Apple KBase article.

Shut down the computer by holding in the startup button until it powers down. Start the computer, and immediately upon hearing the startup chime (or when there’s any sign of life such as the sound of a fan, or hard drive, or lighting of the screen), press and hold  Shift ⇧ . When the gray apple appears, release  Shift ⇧ . After a few moments you will be prompted to log in, and the words “Safe boot” will appear in red letters near the top right corner of the screen.

Be sure to apply the latest OS X update before shutting down or restarting again if your version of OS X is older than 10.10.2. At the time I’m typing this, 10.10.2 is the current version. Having 10.10.2 should prevent the problem from occurring more than once.


How are Parental Restrictions Implemented?

The restrictions are a multitude of features and MDM/MCX controls that apple has for a long time delivered for corporate users and managers to control the OS. Since so many different restrictions can be configured, there is no one implementation. The code that enforces bed times and limits is implemented differently than changing finder to work in a restricted manner.


App or Service to Automatically Backup Photos in iCloud Photo Library?

Turn on automatic backups.
Whenever plugged in, locked, and connected to wifi, the device will backup.

Call Apple if you are not sure how to turn on backups.


Can I use a Time Capsule to share internet connection?

Yes, you can use either the Ethernet ports or WiFi (or both) to allow a Time Capsule to act as a router and share out your connection. Your ISP will, if you set it up in the default manner, have no way of knowing how many devices you have connected using the Time Capsule.

Internally a Time Capsule is actually an AirPort Base Station with a hard drive attached so it makes a great router and WiFi base station. Just connect the Time Capsule to your modem/router using the WAN port on the Time Capsule.


How do I compress a file into .xip format?

No, .xip files have nothing to do with .zip files - it's not the same format at all. .xip files are really a type of xar archive.
If you want to compress your own .xip file, you can do that with the xip command in macOS:
xip file1 file2 file3 archive.xip

However you cannot compress Xcode.app to a .xip file and send that to others and expect them to be able to just unpack it by double-clicking. The file will be verified to see if the .xip is signed by Apple - if it is not, it will not be automatically unpacked.


Using iTunes 12 you can select the playlists to copy with the following steps:

Connect your device to the computer.
Select the icon for your device, located at the upper-left.
Select the “Music” option on the left pane.
Ensure the “Sync Music” check-box is selected.
In the “Playlists” section, check the playlists you wish to sync with your iOS device.
Select “Sync” and your playlist should sync.

In the case your problem is related to the fact the you are not able to see any playlist this answer may provide a solution for you.


How can I repair a hard drive that Disk Utility and Disk Warrior can't fix?

Many problems can cause such a problem. SMART status is unreliable, but it's good that it's at least 'OK'.

If you don't care about data and just want to format and repartition your HDD then you can:

Check the disk for bad sectors. If it contains bad sectors it may be not a good idea to use such a disk at all. Here are some nice tools that can be used for this.
wipe the disk using dd (make sure that you wiping right drive):

dd if=/dev/zero of=[path to device] bs=1M
Partition it using Disk Utility


Change font color when posting new iCal events

The calendar app doesn't give you that level of flexibility. Apple has designed it to look a certain way, and that's the way it's going to look, bar some pretty serious hacking. Busycal is a calendar app that does use the calendar's color for the text, not just for the dot.
The "Birthdays" calendar is a special one automatically generated based on the birthday info you enter for your contacts. You can't edit it directly.


Show Downloads folder on the Dock as fan instead of opening immediately

Find the download folder you added to the dock. Right click on that folder and do get info. In the pane that opens there should be a line that says "Original" with the location of the actual downloadeds folder. Go to that downloads folder and drag it to the dock area where the other download folder is located. Remove that first download folder from the dock and place this new download folder there instead. Now you should be able to set it up as a fan.


If found the solution here https://superuser.com/questions/427163/altarrow-moving-between-words-in-zsh-and-iterm2

You have to adjust the keybindings for ⌥ ← and ⌥→ inside iTerm2


IPhone 6 Cell antenna works intermittently

The battery is right up against the antenna and some delicate ribbon connectors that connect to it. It is possible that in the swapping of your battery you might have mis-seated it (at best) or damaged something (at worst).

Did the antenna stop working after you changed the battery and that led you to bring it to a shop? Or was it already getting flaky before you opened it up?

Given that you said that it only worked for about 15 minutes, it is possible that it is either slightly out of place or the ribbon is damaged and the heat of the device is cause expansion/contraction which is causing the antenna to fail; i.e. after a few minutes of using the phone it heats up enough that the connection breaks. No guarantee that cooling it down would reestablish that faulty connection.

Assuming you're comfortable opening the device given that you've already attempted the battery, you could look at loosening and then carefully tightening the antenna screws and see if that helps anything. Step 14 on the iFixit teardown guide gives a closeup of the antenna.

The inside of the phone is delicate and very sensitive to static electricity, things getting bumped, etc. Sure, they're always around static electricity but they're designed to mostly keep that stuff outside of the case. Regardless, given that you mention intermittent behavior you might be able to get away with wiggling / reseating the antenna to bring it back to life. Just make sure to be properly grounded first!


After installing High Sierra, preferences do not stick: PhotoShop images default to open in Preview

You probably have a couple of issues. First, I would repair the home folder permissions. Unfortunately, not everything you’re likely to use respects your home folder permissions, and they can get messed up. First rule of thumb is that everything in the hierarchy of the home folder should be owned by the user who owns the home folder. Go to Eclectic Light downloads and get RepairHomePermissions. Perform that, then reset your launch services database. Most Mac helper tools such as Onyx provide that, but here’s a command line for Terminal that goes to the heart of it:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

You’ll get new app prompts for awhile, but it should help you get your launch services under control.

Unfortunately, we had to give up the default creator file properties in OS X some time ago, so unless the developer writes code of the sort I'm including below into the file saving process, your files open according to their name extension rather than according to what app created them. Part of your problem may be that you expect any file you create using a particular application to be opened in that application whenever you double-click that file. For that reason, you may want to enable viewing all name extensions in Finder (Finder>Preferences, then Advanced, “Show All Filename Extensions”) for awhile, until you get your defaults configured the way you want. Anyway, here’s a droplet source for AppleScript that will make Photoshop open individual files you drop on the AppleScript app you create from it. That is, it won’t change the app association for every file as you can if you use the check box in a file’s info window (which should work once your launch services are fixed). If you like, I’ll give you a longer one that provides the ability to choose between apps that you want to open the files by default.  I could also help you make a version to use in an Automator service that you could select from your contextual menu when you right-click a file or selection of files.

on open filelist
    repeat with theitem in filelist
        set filePath to theitem
        set target_file to POSIX path of filePath
        tell application "Finder" to set target_app to (get application file id "com.adobe.Photoshop" as text)
        tell application "System Events"
            set default application of file target_file to (target_app as alias)
        end tell
    end repeat
end open


Is the app still in the Downloads folder? If so, try moving it to the Applications folder and see if that fixes it. If that doesn't work, then try running the following commands in Terminal:
sudo chown $USER ~/Library/Caches/com.microsoft.VSCode.ShipIt/*
xattr -dr com.apple.quarantine /Applications/Visual\ Studio\ Code.app

https://github.com/microsoft/vscode/issues/7426#issuecomment-277737150
Also See Visual Studio Code docs page under "Common questions" → "VS Code fails to update"


How to change "display name" for email contact in mac mail?

It looks like this is the display name associated with that email address, as set by the email owner. You have no control over this unless/until you add it as a contact and override the display name. This is why when you get an email from a brand new address you typically see a display name instead of the raw email address.


How to prevent Mac from changing the order of Desktops/Spaces

System Prefs > Mission Control
Uncheck Automatically rearrange Spaces based on most recent use.

This will fix the order of all your regular Spaces - but not Fullscreen spaces, which always go to the right of existing numbered Spaces.

From comments: Note this cannot fix the Mac confusing which external screen is which. That's not user-controlled at all, & seems to occur mainly [though not always] when the external screens are identical.


Multi-Monitors: Locking machine moves windows to different monitors

I had the same issue and changing the cables / adapters fixed it.
My 2 monitors were plugged through an hdmi-hdmi cable going in an hdmi-usbc adapter. Changing one of these to an hdmi-usbc cable fixed the problem.


Why does Safari display the letter combination 'fi' as 'if'?

This is probably a problem with Safari font rendering engine with Merriweather Sans font. It has something to do with ligature I suppose. You can check typecast.com and see that when You insert fi it automatically is changed to if as You type.


how to stop iphoto from organising photos (physically relocating)?

Go to iPhoto → Preferences → Advanced  and uncheck Copy items to the iPhoto Library.

Note that iPhoto will still copy files to its library if you import photos from an SD card, etc. Instead, copy them where you want first then import them.

Also, changing this setting on an existing library will not relocate media that has already been imported. You can create a new library by holding ⌥ whilst opening iPhoto.


I just did the same thing the other day. Works fine. One thing I would note is that the memory that came preinstalled was in slots 1 and 3 so I just put the new memory in 2 and 4. It wouldn't startup! So I removed the memory and tried again. Put the original 2 x 4gb into slots 1 and 2 and the new 2 x 8gb into slots 3 and 4. All worked fine and have had no problems since.


How can I protect Single User Mode to require a password?

You can add a firmware password, which will need to be entered before the Mac can be booted into Single User Mode (or from external media). Boot with ⌘R to enter Recovery, then select Firmware Password Utility from the Utilities menu to set it up.


Apple support requesting an id to activate the Apple Developer Enrolment

This is 100% normal and expected since enrolling in an Apple Developer is a legally binding - super high stakes event. You are about to be approved to sign code and push code to the App Store that will be ready to run on 1 billion devices world wide. You also will have banking and legal documents signed that could run into 10,000 dollars a month or even higher.

I would call Apple Developer Support if you don’t understand why that organization is asking for legally binding information.

https://developer.apple.com/support/
https://developer.apple.com/contact/phone/

Also, if you haven’t completed the sign up or payment, dev support can’t help you (yet). In that case you need to call Apple online sales support to determine if they can cancel the purchase - let you purchase again since you have money on the line or about to have $100 on the line to pay for a year of service, privilege and access to software and Apple’s marketing and development pre-release documentation. Much of that is covered by non-disclosure agreements that will get you sued if you steal and banned if you abuse the access.

Apple needs to know who you are and the details have to match to get to be a developer as the stakes are quite high for both parties. This could be your job or the careers of 10 people that can’t get paid if you publish apps as part of a company. Same for you, you could get sued if you publish apps with content you don’t own or license.

I’ve moved twice in 2 years and had to send them my driver’s license each time and other documentation just to get my address changed. Being asked for photo ID / banking information / and being called back and checked is par for the course for a developer.

I would recommend you get legal advice if you aren’t comfortable with signing these documents that are about to come your way once your purchase is set. Also, you don’t need to be a paid developer to run Xcode and install code on your personal devices. As a student - you can do almost all the learning you need without even paying to be a developer. Good luck whether or not you join as a paid developer this month.


Your only option is to replace the offending hardware.  Unfortunatley, if you were able to hack a solution together, it would be removed after subsequent updates.  With El Capitan and later, SIP would prevent you from doing this.

You have two options:

Replace the logic board - very expensive  ($700 to $1000 USD)
Replace the RAM modules - less expensive ($300 to $500 USD)

There are shops that will do this type of repair like Rossman Group in NYC.  (Disclaimer:  I am not affiliated with this company in any way, I am just a satisfied client).  They can do board level repairs like this for half of what it would cost to replace the logic board.

That said, you may be able to find a functional (used) logic board on eBay as well.


Will it work well to use a .dmg as an encrypted folder?

Your use case is exactly why encrypted DMG were created. The external file name can be different than the actual name of the filesystem can be obfuscated while the drive is not mounted.

The only con (which kind of is a Pro) is that spotlight can't search within an unmounted image and you may want to disable spotlight entirely on that volume just in case you don't want any extra caches / extra access that isn't necessary.

Alternatives to this is storing text in a keychain secure note, especially if you keep alternate keychains for more secure information. I also find myself storing more things in 1Password when I don't need a self-contained archive for things like certain client data or certain data I wish to be doubly encrypted. (I use FileVault on most Mac these days so that everything is encrypted at least once.)


Is there a way to view one's iTunes Match content online?

No. The clients that access the data are iTunes on the Mac and Windows OS as well as the music app on iOS.

I've seen some desktop iTunes libraries get messed up and not ask to delete a song from the cloud. In that case, set up a new user account on the same computer and sign in and try the delete again.

iTunes Store: How to delete songs from iCloud


What are my (hardware) options from migrating an account from an MBA?

The best way to migrate is to make sure you have a current Time Machine backup and just restore from that volume to the new machine. I have restored from a Time Machine backup to an empty formatted hard drive and it worked perfectly, including my custom FTP, HTTP, and git configurations. It took about 10 hours for a 1TB backup.


Going back to basics : Ubuntu is a GNU/Linux, OS X is a FreeBSD : Different systems, different way to work.

On OS X you can use lsof to see the open files.

$lsof -p 68180

would show you every files opened by the process with pid 68180.


You need to remove the backslash (\) from: cDock\ Helper.app

You do not need to escape spaces in a path filename when it is in quotes.

Only escape spaces in a path filename when it is not in quotes.

Never do both, (in this use case).


Number : calculate percentage using two cells

Percentage of D1 out of total units is D1/SUM(D1:E1). Replace with E1 for night units.


Sync Safari tabs but not history between devices

Please check out this article. It explains how to set up iCloud Tabs (So a way to access open tabs across all your Apple devices that have Handoff enabled. It's basically a way to open a tab on one Apple device that is currently open on an different Apple device)


Do I have to wait days for my library to upload again after accidentally logging out of iTunes?

It all depends on what service you have, be it iTunes Match or Apple Music. This looks more like you have iTunes Match therefore all of you music is accessible from any device.  This would mean that Apple matches what's in your library with what apple already has in it's vast library and any music in your library that Apple doesn't have they upload to the cloud with some exceptions.  If this is the case then I don't think iTunes is actually uploading because you've already got everything in the cloud. I think it's just matching things up.

  Do I need to wait for iTunes to finish?

    If I quit iTunes, what does that mean for the other devices in the meantime?

      If I quit iTunes and then launch it again, will it start uploading from the beginning again or will it continue form where it was?

No need to wait for iTunes to finish. Your music should be accessible from your devices if you've already had the service.

Same goes for if you quit iTunes.

iTunes will continue from where it left off when you quit it. So don't feel like you can't shut it down or turn off the computer.


iPhone cannot be synced because there is not enough free space to hold all of the selected items

When you start syncing your iDevice in iTunes and then you get this annoying message (especially when it tells you it needs like 1.4MB and there is 300MB available?!): 'The iPhone/iPad “iPhone(insert name)” cannot be synced because there is not enough free space to hold all the selected items'. What do you do?

Basically the problem, in many cases, seems to be that iTunes thinks it has too many updates to install on your iPhone/iPad and it isn't smart enough to load them one at a time when there's not enough space to do them all??

Fortunately it can often be side-stepped by just taking your iPhone/iPad and clicking on the App Store app,  then tapping on the Updates tab, and then tapping on 'Update All' at the top right. If that  complains that there's not enough space you can let do some updates then try again (and again) and will update the rest of the apps. Then the sync should be fine with iTunes.


Delete storage in 'Other Volumes in Container'?

‘Other Volumes in Container’ are other volumes independent from your currently booted operating system and its data volume.
In your case diskutil list shows disk1s5 and disk1s7 as additional Data volumes. Check the contents of these volumes in Finder (or with OmniDiskSweeper pointed at these volumes instead).


There are two options for files that came from a Windows drive:

Right click on the file and select "Get Info" (or mark all files and press command + alt + i) to get the file information. There in the "General"-tab you can find and opt-out the "Locked"-option. Trash and delete them.
Open /Applications/Utilities/Terminal.app and type cd /Volumes/YourDrive, then rm -r thefile.exe. If that fails, try sudo rm -r thefile.exe and enter your password.

Mac has other steps if you can't unlock the file - see this article - TS1402 for details on immutable flags and if the directory permissions won't let you modify a file. The two above steps handle the vast majority of locked files on the mac.


First - take a backup of your file system. Even though it is already corrupted, it is possible to further corrupt it by trying to fix it. Make sure you have a copy before this.

Then I would suggest simply trying multiple times to check and fix the file system in single-user mode. It sounds counterintuitive, but really you sometimes need to do this multiple times to clear all errors.

You would run a check like this:

fsck -fy

Note that even though you're "repairing" the file system, it is really just fixing data structures to be internally consistent. You might (and probably will) loose data and files in the process.

As you have a RAID-0 drive, there's no redundancy in the RAID that can help you rebuild the drives while keeping all your data intact. If the data on the drive is important enough for you that you won't be happy if you loose it, then you shouldn't run RAID-0 - but rather a RAID-level with redundancy. And always create backups!


Number one, backup immediately. At least if it dies you got all your data. I would recommend using a drive scanning utility to check your drive for hardware issues. S.M.A.R.T is useless, its pretty good that telling you that your drive is already dead.

All the really good utils aren't free. Techtool Pro has been my tool of choice, however its not cheap.

While you're at it install Disk Drill to get temps for your drive make sure its not over heating and also get some recovery mechanism in place (other than time machine). The basic edition is free. You can grab it from here: http://www.cleverfiles.com/


Being an app developer myself, I know that it is possible to store data on the cloud, or in the phone's keychain. Either way, the data is not deleted even if you delete it and reinstall it. Deleting the app makes the data inaccessible, however it is still there. Reinstalling it just makes it accessible to the user once again. Hope this helped:)


ZSH: .zprofile, .zshrc, .zlogin - What goes where?

This is an attempt to write a canonical QA for this issue, as per the Meta post:  Where is the list of canonical questions stored for Ask Different? I expect it to be periodically edited with the goal of becoming a comprehensive information resource.
What should be used in ZSH on a Mac
I posted a more narrowly scoped question on Unix & Linux and got some clarification on how these files "work."  Here's the summary of that answer and what I've learned in my research as to what, in my opinion should be used in a ZSH environment on a Mac.

.zprofile
.zlogin and .zprofile are basically the same thing - they set the environment for login shells; they just get loaded at different times (see below).  .zprofile is based on the Bash's .bash_profile while .zlogin is a derivative of CSH's .login.  Since Bash was the default shell for everything up to Mojave, stick with .zprofile.

.zshrc
This sets the environment for interactive shells.  This gets loaded after .zprofile.  It's typically a place where you "set it and forget it" type of parameters like $PATH, $PROMPT, aliases, and functions you would like to have in both login and interactive shells.

.zshenv (Optional)
This is read first and read every time.  This is where you set environment variables.  I say this is optional because is geared more toward advanced users where having your $PATH, $PAGER, or $EDITOR variables may be important for things like scripts that get called by launchd.  Those run under a non-interactive shell so anything in .zprofile or .zshrc won't get loaded.  Personally, I don't use this one because I set the PATH variable in my script itself to ensure portability.

.zlogout (Optional)
But very useful!  This is read when you log out of a session and is very good for cleaning things up when you leave (like resetting the Terminal Window Title)

For an excellent, in-depth explanation of what these files do, see What should/shouldn't go in .zshenv, .zshrc, .zlogin, .zprofile, on Unix/Linux.

Some Caveats
Apple does things a little differently so it's best to be aware of it.  Specifically,  Terminal initially opens both a login and interactive shell even though you don't authenticate (enter login credentials).  However, any subsequent shells that are opened are only interactive.
You can test this out by putting an alias or setting a variable in .zprofile, then opening Terminal and seeing if that variable/alias exists.  Then open another shell (type zsh); that variable won't be accessible anymore.
SSH sessions are login and interactive so they'll behave just like your initial Terminal session and read both .zprofile and .zshrc
Order of Operations
This is the order in which these files get read.  Keep in mind that it reads first from the system-wide file (i.e. /etc/zshenv) then from the file in your home directory (`~/.zshenv) as it goes through the order.
.zshenv → .zprofile → .zshrc → .zlogin → .zlogout


FileVault1 with no master password but root+user password

A while back, I wrote up a guide for enabling FileVault 1 which included ways to recover in case of a problem. That said, you really will need your account password or the Master Password in order to recover your data from the FileVault-encrypted account.

The guide is available in Word and PDF format via the link below:

Guide to enabling FileVault


There are a lot of possibilities.

Firstly, you can try to press the undo keys: cmd + z (this probably will not work).

Otherwise you can try to use the Terminal, in the particular case you don't want to delete photos one by one. From the Terminal if you can run the following command: rm ~/Desktop/*.extension where extension stands for the extension of your pics. So for example if all the photos are JPEG you can run: rm ~/Desktop/*.jpg.

Please note that the use of this command will delete all the files in the desktop with the .jpg extension. So if you have even only one photo that you want to save from the desktop, you can't sue this tool.


Constant flickering on my external display

If the issue potentially has to do with corrupt files, you can try booting from the OS X disk and running disk repair to see if that fixes the problem.


How to erase data from Macintosh HD - Data - Data?

Apple shows how to completely erase the disk here.

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

You have to boot to internet recovery since the system can’t erase itself while running, but you can sometimes script a reboot that then performs the erase...

https://github.com/grahampugh/erase-install

Or connect to a different Mac over target disk mode (or even a PC could format the disk and you would need internet recovery or external installer to reinstall the OS).


What's a recommended setup of accounts on Mac OS X?

All actions taken on a non admin account that would need admin privileges require the user to enter the name of an admin account and the password before continuing.

So if you download software on a standard user account, when you come to install it you will be asked to enter the admin user name and password.

I use the admin account and my girlfriend has a standard user account. She can import music, photos download apps from the app store, she can change system preferences in the settings panel but not alter the status of my admin account, create accounts, etc, etc.

I have not heard of this procedure of using a non admin account as to do anything that will change the system as you are required to enter the password anyway.


How can I determine plist changes while changing System Preferences to automate them next time?

Apple stores most relevant preferences in a database now, so your best bet is to ignore plist files on the filesystem and focus on the output of defaults read com.apple.whatever for the things you change. Unfortunately, there isn't a good Rosetta Stone that says if you are in preference X - look for changes in these seven preference domains. Where Apple stores iCloud or security information doesn't map to each visual icon in system preferences so you'll need to issue more than one defaults read to capture the entire state of most preference panes since most panes write to more than one setting domain.

Alternatively, you could just use MDM and configuration profiles and scripts to make all changes so that you just push the changes to all machines from your management tool and skip the whole reverse engineering process entirely.

https://support.apple.com/profile-manager
https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/MobileDeviceManagementProtocolRef/3-MDM_Protocol/MDM_Protocol.html
https://www.jamf.com
https://www.jamf.com/jamf-nation/discussions/15362/learn-mcx-and-configuration-profile

In the past MCX was the path to managing enterprise configurations and that's the equivalent of your wanting to look at the .plist files that stored those settings initially at the dawn of OS X - but the current system of configuration profiles, scripted changes and MDM hooks has left MCX and .plist to just the dusty corners that haven't been updated for the new central database to store user and system defaults.


Terminal backslash input repeated in output

The problem is the $ in the first awk statement in the chain:

awk -F $'\t' '{print $8, $9}'

The -F option for awk sets the record separator for your input. If you're really expecting the separator to be a dollar sign followed by a tab character you should move the dollar sign in to the single quotes like so:

awk -F '$\t' '{print $8, $9}'

Leaving the $ outside the single quotes means it's being interpreted by the shell as a variable reference. This is what's leading to your weird output. If you aren't expecting a dollar sign in the field separator, only a tab, change the awk call to:

awk -F '\t' '{print $8, $9}'

Based on what you've said, the above appears to be what you want.


Is it easy to boot a from external drive with Snow Leopard on it?

Very easy : Push the option key at boot chime and select the external drive on which you want to boot.

You may want to use a FW enclosure for more speed (in comparaison with USB2)


How, if possible, can you chat using talk or write in the app Terminal?

The command is just talk. It's disabled in OSX by default. See the comment at the end.

eg.

talk alex

It will then open a split screen and ping the other person to chat to you. They have to be logged into your computer at the same time though. Given that most Macs are single-user, this is unlikely, but possible. Have a friend connect in via SSH or screen-sharing and give it a go.

write allows you to write straight onto the other users console. By default though users have it disabled. You can turn it on with 'mesg y'.

write alex

Then type away to irritate the other user.

These are pretty old unix commands. Been around on linux/UNIX for years and years.

The man pages will help you too:

man write
man talk
man mesg

You can test this on one computer by creating a different ID and opening up Terminal with two windows. In the first window log back into your box with the other ID:

ssh otherid@localhost

Then write to the main users Terminal:

write mynormaluser

eg:

write alex

You'll see the text appear in window 2 of the Terminal

To get talk to work on OSX you need to enable it first. As root run this:

launchctl load -w /System/Library/LaunchDaemons/ntalk.plist

or, as a super user:

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


Does "brew install gcc" installs GNU C++ compiler on macOS?

Yes, installing gcc using brew install gcc will install GNU C++ compiler.

The compiler is installed by default in /usr/local/Cellar/gcc/8.2.0/bin.


Would and SSD or RAM be the better upgrade in this situation?

Your logic is sound. Just something to keep in mind is that while yes swap is much faster on a SSD, it is still much slower in respect to RAM and both should probably be upgraded. But yes she would see the most improvement by going to a SSD

Just as a side note 10.10.1 will try to pre-cache as many things as possible in RAM so apple uses 'memory pressure' to reflect the systems demand for RAM.


This sounds like you have messed up your permissions.

To restore them  use the

  Make sure that all the permissions are correct on your home folder.
  You can use the ACL tool on the Recovery HD to do this:

  Boot into the Recovery HD using ⌘R.
  Run resetpassword in Terminal (available from Utilities → Terminal).
  Select your account from the drop-down list.
  Click the Reset button for Reset Home Directory Permissions and ACLs.

Source: grgarside: https://apple.stackexchange.com/a/110346/

Unfortunately this method does require reboot.


After uninstalling Oh-My-Zsh, my terminal is messed up

Because you are checking the "default login shell" option, Terminal will start your default login shell, which is apparently zsh. What you enter in the box below makes no difference, because you do not check that option.

You do not state what your goal is, but I will assume that it is to return to bash, which is the default in macOS.

To change your login shell back to bash:

Open Settings (from the Apple menu).
Select "Users and groups"
Unlock it, if necessary, by clicking the padlock icon at the lower left and entering your password.
Control-click your username in the list at the left, and select "Advanced" in the menu that appears.
In the dialogue sheet that appears, change your login shell to /bin/bash.


Yes, you can exclude a specific application from Spotlight search results from its Privacy pane in OS X Yosemite.

Along with TextEdit I have TextWrangler and Sublime Text 2 installed under OS X Yosemite.  If in Spotlight I type text the listed order is:

TextEdit
TextWrangler
Sublime Text 2

If I go to System Preferences > Spotlight > Privacy and drag and drop the TextEdit application bundle onto the list area of the Privacy pane and close System Preferences and go back to Spotlight and type text the listed order is now:

TextWrangler
Sublime Text 2

So, just do as I did and it solves your issue.


Have you tried downloading a DICOM file locally and then right clicking -> open with -> Other and then choosing Osirix and checking always use this app? I've had to do this before once; somehow OS X file associations got overwritten after an upgrade.


User update needed after updating to Mac OS X Yosemite

I got this message too and solved it easily:

Go to System Preferences;
Users and Groups;
Select the Admin User and click the padlock to make changes; enter the Admin's password;
Click on the picture of the Admin; the word 'edit' should appear;
Select Camera;
Take a new picture of yourself and save it;
Lock the padlock again;
Restart the computer.  You could probably take a different option instead of 'Camera' but I didn't try that.


Spotlight in upper right screen corner in Mountain Lion

It used to be the realm of the first menu-bar item to start the got the prized first (last?) slot in the menu bar.  But since Spotlight, it's always had the prime location to itself.  Now it's been usurped.  That's not to say that some command line hack won't turn up that can change things, but as things stand there is no officially supported/provided way of doing this via a preference pane.

But I wouldn't actually go looking - the whole point of the spotlight button is to allow you to type in some search criteria.  As such, why click the icon, then move to the keyboard - just use the provided keyboard shortcut instead - command+space is not only the easiest to remember (for me) it's also the easiest to pull off even if you are terrible at remembering shortcuts.  I use it as my command launcher these days, just command+space+"sa"+return starts Safari up faster than mousework for me.


Want to start a new Castleville account on my iPad

This is likely because her Apple ID is being used for Game Center.  To fix will require that you have your own Apple ID.

Go to Settings
Tap Game Center
If you see her Apple ID, change it to yours

If that doesn't work, This is because the game either stores game data in iCloud or somewhere other than just in Game Center.  To fix will require that you check with the developer on which Apple ID affects game status.

If signing out of Game Center doesn't fix things, then delete the app and all of its data. Then re-download the app. Lastly, before launching, use your Game Center account/Apple ID.


It would appear the issue is with compatibility, it is a Mid-2011 27 iMac so no longer supports Mojave or Catalina

https://eshop.macsales.com/guides/Mac_OS_X_Compatibility

Damn.


Dashboard Widget for Outlook:Mac2011 tasks

I have not found one.  While I might prefer a widget, there is the "My Day" feature of Office 2011 for Mac, whose hide/show hotkey is Ctrl-M by default.  This will open an Agenda-like window for the day, with a snapshot of your calendar events for the day, as well as a short list of Outlook tasks.  What is shown is, of course, mildly configurable for both Outlook and local content.


Can't enable File Sharing under OSX Lion

It turns out it's not only me, but following this amazing tutorial everything whent smooth and worked out nicely...


Downloaded a torrent of cracked software – think my Mac is now infected

You are not safe. Your personal documents, contacts, and private information are at risk.

The behaviour you are seeing is not part of Apple's Final Cut Pro. The odd terminal like behaviour suggests you do have a rogue process or application on your Mac.

Search for a guide about how to remove malware and viruses from your Mac.


How do I update my iPad to iOS 5 without losing data without the original computer?

The Macroplant family of programs for Windows and Mac, including the free iExplorer, permit you to mount an iPad in Windows Explorer or the Mac Finder and copy files out from the iPad's directory structure to your local hard drive.

I use the free iExplorer a lot. I don't have any experience with Macroplant's other paid apps with additional capabilities.

This could provide you with an inelegant but effective solution that would enable you to retrieve most of your media.


How do I print an email from Mail.app without mail headers?

It's a workaround. But when you select the text you want to print. Right click and select under services the option 'New Text Edit window containing text'

This opens the selected text in a new text edit file.. From there you can print.

How to turn it on

If this option is  not visible.. you can turn it on at

System Preferences -> Keyboard -> Shortcuts -> Services

Scroll to the text section and turn on 'New Text Edit window containing text'

Automator Action

I've made an automations..

selected text -> right click -> services -> print email

Instructions and download are here...


Download multiple videos at the same time in the iCloud Drive iPhone application

I don't know a way to download multiple file at the same time with iCloud Drive.
But you can maybe solve the problem with AirDrop. If you have multiple files, for example in Finder on your Mac selected, you can send them all with only one click to your iPhone. The same works also from iOS-Device to iOS-Device.


Open CD/DVD tray when connected via remote-desktop and no eject key?

You can do it from the Terminal by entering the following command:

drutil tray eject


The photos are actually fine (they are JPG) but the videos are of the .exe format (well not really). If one opens the .exe files with (for instance) the VLC player, they play fine.


Which cryptographic method does iTunes use to encrypt Backups?

I do not think Apple is using a standard encryption, as the FBI demonstrated for us,  its so far, uncrackable, it contains your used passwords, and other sensitive information, how are you planning on decrypting this data?


This worked for me, credit to this answer:

https://superuser.com/a/1220526/454133

  Play around with moving the "top" bar between screens in the Arrangement window. Assign it to different screens and you will notice it will solve your issue once you find the "right" screen.

So, monkeying with the menu bar in the arrangement settings will reset your displays proper. I even got screenshots.


Short term, you can turn off Gatekeeper to allow the application you corrupted to run.

Open system preferences
Select Security & Privacy
Select general
Select Anywhere

The system should have protected most of the command line tools, but I would see if you can make one last back up of the system and then restore the OS if applications installed by the system are messed up.

Specifically, my Macbook has 60 million files - so had I run that command, I would have a lot of work to do to ensure everything is correct and staring with deleting all apps I can easily reinstall and then reinstalling the system if I broke any system apps is far shorter a path to recovery.

Luckily - all your personal files were already owned by your user, so this exercise in recovery will be to get copied of apps that are not unique to your system and at worst, you'll need to delete preference and configuration files and re-create them if they need permissions different than what you enforced on your system.


macOS: MacBook goes hibernate during night and does not restore all windows after turning on

Ok, I see here: https://support.apple.com/en-us/HT201635

  OS X Mountain Lion v10.8.2 supplemental update 2.0 introduced a feature that lets your Mac enter safe sleep after four hours of being connected to AC power. This complies with European Energy Standards (ErP Lot6) and happens when there's no network activity and no activity from connected devices like external hard drives.

that my Mac could have hibernated after four hours of inactivity. But would not that restore all of my work.


Dock icon not refreshing when icns file is changed on Yosemite

Try to delete the icon cache:
rm /var/folders/*/*/*/com.apple.dock.iconcache; killall Dock


How to have ctrl-left/ctrl-right move over words in Lion

Turns out that Mission Control(in Lion) has the same key combination to Move left a space and Move right a space - which I particularly don't have use for. Disabling this in Settings -> Keyboard Shortcuts did the trick for me.


How do I use cmd+1 as a keyboard shortcut? cmd+2, cmd+3, etc, work

The problem is that iterm2 uses cmd+1, cmd+2 ... etc for switching between tabs by default. As long as you have first tab, cmd+1 is binded to switch to the this tab.

Workaround is to change Keys -> Navigation shortcuts -> To switch tabs: value to alt or any other except cmd.


As far as I know this is a default behaviour of Google Mail.
On Android there is a fairly hidden way to select more groups but not on iOS or other normal cardDAV clients.

You may find fruux an alternative that works fine for me in this case.
If there is a single addressbook at fruux with a default name like “contacts”, iOS will attempt to interpret vcf-Groups as contact groups. E. g. eM Client will create contact groups for each new assigned category simultanously.


How to make executable .py file (for non-programmer)?

You can simply rename the file and make it file extension "command" instead. Plus, you have to make it executable (like you do before with chmod +x). Simply name it "jinja.command", instead of "jinja.py" for example.

Then, you will see terminal window opened with text output (if you have one in your application), as far as the "program terminated" string.


Kernel_task is not just one process, but a representation of all the kernel's input and output. High k_t usage can be a symptom of problems, rather than a cause in itself that needs to be corrected.

Causes could include third-party kexts, Spotlight indexing, or other background processes. One of its functions is to use up CPU as a means of restricting other processes, in order to prevent overheating.

I had that model of MBP and did not observe it becoming 'unusable' ever, so it may be some issue relating to your installed software or preferences.

There is little need or benefit to re-installing the OS on a regular basis.


How does Xcode communicate with an iOS device?

When you connect iPhone to Xcode and you click 'Use for Development', Xcode will download and mount DDI(Developer Disk Image). This image has DebugServer.app along other utilities that permit Xcode to perform development actions.


How to enable 3G for an Indian iPad on Airtel?

I found the answer myself and I thought I should put it out there for another hapless (recent iOS) convert drawn like a moth to the flame that is these beautiful yet quite flawed iOS devices, so that they may continue make the most of their devices in good network coverage or poor.

So, how do you get an iPad Air 2 LTE (running iOS 8.x) to the ability to use 3G on Airtel India in Bangalore, Karnataka?

Without much further ado, I present to you the answer ....

... do a factory restore using an IPSW file.

Its really simple to do this. I'll give you the general outline.

Backup your iPad or iPhone using iTunes or iCloud. You should already know how to do this.
Download the IPSW file for your device onto your computer. This link is a good place to start. There are other websites which provide the same service.
Connect your iOS device to iTunes and select restore device. This link has more details.
Keep your device connected to the computer throughout the restore process.
When the device has booted up after the reset, iTunes will ask you to check for the carrier settings check. Allow it do so... and you will have 3G working on your iOS device.

I hope this helps someone else.


read creation date from file name and change - batch

You're lucky because the numbers in your file names are in just the order touch -t needs.

This command in the terminal will work. You just need to make sure your working directory is set to the folder you want to do:

for f in *; do
    t=$(echo $f | sed -E 's/([A-z]*-)|([ ,;])|(\..*)//g' | sed -E 's/(.*)(..)/\1.\2/')
    touch -t $t "$f"
done

To break it down:

for f in * sets the variable f to the name of each file in the directory, in turn.

do puts everything until the done into the for loop.

t=$(…) sets the variable t to the output of the commands in the parentheses.

The first sed command matches any letters before a - symbol, the - ; and the space symbols, and the file extension, and deletes them.

The second sed command inserts a period between the mm and ss values, as touch requires.

touch -t $t $f changes the file modification and creation times to the value of t on the file f.

Tested on some dummy files with whatever version of sed ships with Mavericks.


How can I fix things when LaTex issues a package minted error for "Pygments" or pigmentize?

First, Locate the folder where pygmentize is saved

$ which pygmentize
/Users/ggautier/anaconda/bin/pygmentize

Add the path i.e. /Users/ggautier/anaconda/bin in the "texpath" field

// Platform settings: adapt as needed for your machine
// ------------------------------------------------------------------

 "osx":  {
  // Path used when invoking tex & friends; MUST include $PATH
  "texpath" : "$PATH:/Users/ggautier/anaconda/bin:/Library/TeX/texbin:/usr/texbin:/usr/local/bin:/opt/local/bin:"
  // Path to PDF viewer, if needed
  // TODO think about it. Also, maybe configure it here!
 }


AppleScript to make the preview image become the master in Aperture library?

In the case that your library has SOME structure left to it, press and hold the command and option keys, then open Aperture. A window will appear that says, "Photo Library First Aid". Tick the "Rebuild Database" option. I would recommend duplicating the library in case something goes terribly wrong.


USB Keyboard on MAC: \ and < characters inverted

This can be caused when the OS mis-identifies the keyboard. To get that back, clear the preference that saves which device is which layout.

How to reset the mac keyboard

I made as described in the post:

Delete the file /Library/Preferences/com.apple.keyboardtype.plist
Disconnect the keyboard
Reconnect the keyboard
Restart the os

After doing these steps, the keyboard had to be recognized again, and it fixes the issue.

The correct keyboard for Italian is ISO (Eur).


Mac Rechargeable Battery - 13-inch Serial Number

The battery serial number is recorded in 4 places I have seen:

Physically on the battery (and optionally on the box if you purchased the battery in a box as a separate item)
In system profiler when the battery is installed in a running mac.
I have asked at the genius bar from time to time for them to look and see if there are records from when the mac was built in the factory. From time to time a client needs to know what hard drive or what battery came with a specific mac and that information is sometimes available.
Saved to the filesystem - use spotlight to look for files that have the mac's serial number. System profiler will save all hardware as a text/rtf/xml file if asked to. Some crash reports squirrel away a copy of that information so if you look, it might be there even if you didn't save it explicitly.


Microsoft Store button disabled in Word 2016 for Mac

Found user had read only document open when attempting to use store. Opening an editable document enabled all buttons under addins.


Can't install Xcode Command Line Tools on Mountain Lion

You can install the command line tools within XCode.

Open XCode and navigate to the preferences.

  From here you have to go to the Downloads-Section. Here you can see
  the ability to install the command line tools:

EDIT: I can see the right command line tools on the download-page from Apple:


How do I assure that all files from a shared HFS+ drives are always writable by all users?

Get Info on said drive and checking Ignore Ownership might help you.


iOS Developer Account With VISA Debit Card

According to Apple iOS Developer website, only valid credit cards are accepted. Googling suggest attempted purchase using debit card didn't work, unfortunately.
It’s up to your bank to code whether the card is valid for Apple to charge in the region it decides to charge you for this product. Globally, many (if not most) debit cards will work for any Apple transaction, but some will not if your bank establishes a limit for transactions in the regional online store Apple uses for your transaction or otherwise restricts your card to local or country-specific ATM only. There are debit cards with very strict terms that will not work with Apple.


Screen Zoom is a system-wide feature. In Lion, this is part of Universal Access.

The short version is:

Visit System Preferences->Universal Access->Seeing

And set "Zoom" to on.

You'll then be able to scroll using the control key and the scroll gesture of your input device.

Follow the instructions here for more detailed instructions.


There is no way to completely remove an app from your history. The closest you can get is deleting it and hiding it.

From this Apple Discussion:

  You can not nor do you need to. Apple wants you to have the app
  available should you ever decide you have changed your mind. You can
  hide it from the purchase list if it irritates you.


Regarding SATA I, II and III and getting the best speeds speeds — it really depends on what specification your machine is, and what adapter you get.

I would suggest you install the SSD in place of your original HDD, that way you don't lose out on the SSD's potential because of an adapter:

MacBook Pros from Early 2011 and onwards do have SATA III (6 Gbit/s) connectors for their main HDD compartment.
But ones from Mid 2010 and before have SATA II (3 Gbit/s).

In either case, I would install the SSD there, and then install the HDD in the optical bay, because:

From what I know, newer MacBook Pros support SATA III in their SuperDrive bay — so to take advantage of it, you'll need to get an optical bay adapter bracket that supports it too.
MacBook Pros from around 2011 (and older) have SATA II in the optical bay.

To find out what you have, go to Spotlight (the magnifying glass in the top-right of your screen), and type "System Information", open that app, go to Hardware > Serial-ATA > Link Speed and it should say there.


Can I save my data before Force Quitting an Application?

Unfortunately when an application is not responding, it is generally not possible to rescue any of the data. The exception to this would be applications that save a recovery file at regular intervals e.g. Microsoft Office suite of applications.

Your options are either to wait and hope that the application responds or the Force Quit.


How do I exit python in the Mountain Lion Terminal?

As Control + D works for me on multiple Macs, I'll presume something is amiss with your installation, keyboard or keyboard handler. (Your difficulty with the pager also lends credence to this theory.)

You can use the alternate quit() to exit the interpreter until you have looked at how Python was installed or think of some modifications you might have on the key mapping on your Mac.


If the photos were in Photo Stream, then you can go to System Preferences → iCloud, log in and check the box for Photos. Then, open iPhoto/Aperture and let it download the photos.

If the photos were added to iCloud by a specific app, go to System Preferences → iCloud, log in and check the box for Documents & Data, then open the app that you used to back up the photos.

If the photos were manually backed up to the Mobile Documents folder, go to System Preferences → iCloud, log in and check the box for Documents & Data, then wait for your files to sync.


Is there a built-in way to both save and copy a screenshot to the clipboard at the same time?

According to man screencapture one can only save to the clipboard or to a file: there doesn't seem to be any way around this as designed.

The description of the command uses the word 'or' to indicate that only one action is possible: save the screencapture to a file or to the clipboard:


Showing ios app store comments from different country

Not sure if there is a "main" webpage to browse from directly, but if you do search for the name of an app and then "itunes.apple.com" or "Mac App Store" you will get to visit the app's page in your browser.

Take Reeder for example:

Mac
iPhone/iPod
iPad

You can change the country by using the country flag on the bottom right of the page, or directly on the URL if you know the country code.


Disabling the software escape button on touchbar

You can't remove it, it's permanent (unless viewing expanded touch bar view).


"openssl sha1" broken on Mac OS X Lion, or is there a maximum file size?

This was a faulty memory chip.

I downloaded a program to test the memory, experimented with which chips it might be, and ended up removing one, which made the memtest program stop complaining.

When I execute the "openssl sha1" command now, multiple times, it produces the same digest every time. Sadly, it's the wrong digest (as compared to the one posted on the web site), so I guess I have to redownload the file.


Open Settings → General → Keyboard → Keyboards.
Choose Add New Keyboard… and select Gboard under Third-party keyboards.

To set Gboard as default, tap Edit, then drag Gboard to the top of the list.


Deleted Bootcamp partition through disk utility and messed up everything

After you delete all of your partitions except your main OSX one you need to reclaim all the extra space for your main partition and then run bootcamp again to split your drive up again to install windows.


Try disabling firewall in Security & Privacy settings, try adding rule to accept all internet traffic for desired application in Firewall Options.

When I start steam the first time of the day it crashes due error you describe, when I start steam 2nd time everything works just fine.


Why is it required to have your MacBook Pro plugged-in in closed-clamshell mode with an external display attached?

Why? Why not allow or require it in both cases?

The default behavior when you close the lid on your MacBook is to put it to sleep.  According to Apple:
To further expand on this point, let's look at the default behavior when the lid is open(ed) - the MacBook is awake.  This makes sense as this is the generally accepted method of using a notebook.  The external display, and USB ports are also, by the inherent nature of the computer being awake, functional.

You can save energy by putting your Mac to sleep when you're not using
it. When your Mac is sleeping, it's on but consumes less power. And
waking your Mac from sleep is quicker than starting it up after it's
been shut down. To put your Mac to sleep immediately, do one of the
following:

Choose Apple () menu > Sleep.
If you use a Mac notebook computer, close its built-in display.
Press Command (⌘)–Media Eject(⏏).
Tap the power button on your computer.

(Emphasis mine)
Having the AC adapter connected is just one of the components needed to override the default behavior; you need to have the AC power, keyboard and mouse connected, as well as a monitor. See Use your Mac notebook computer in closed-display mode with an external display for more details.
Why did Apple do it this way?  Ultimately, only they can give you the official answer, but a little deduction tells us that if closing the lid puts the machine to sleep, how would it know to stay awake if the user wanted to operate in closed-clamshell mode?  Answer:  attach a monitor and the AC adapter.
Can you override the default behavior
Yes.  Using pmset
To disable wake/sleep on lid state:
sudo pmset -a lidwake 0

To undo the last setting
sudo pmset -a lidwake 1

Though you can do this, I don't recommend it, because disabling this feature means when you close the lid on your laptop it remains awake; even when you pack it in your laptop bag and put it in the overhead compartment.  It (the battery) will most likely be DOA, plus it tends to get quite hot in that scenario, shortening the life of the battery.


I think what you are looking for is available as...

  brew install gnu-time

Which you can then call as...

  gtime ...


How do I permanently delete data from a game when I delete it from my iPhone/ipad

If the game is saving game data via iCloud, the data might have not been deleted when you removed the app from your iOS device.

Go to Settings > General > Usage

There will be a section called iCloud with a Manage Storage option. Tapping this will load all your data stored on iCloud.

Under the Documents & Data section, check to see if your game has data saved to iCloud. If it does, simply tap on it and tap on the edit button in the top right hand corner to bring up the Delete prompt.


How is `cp -R` different from CTRL-C/CTRL-V?

When copying and pasting via Finder there is certain meta-data that is maintained that when using cp -R it's not.

An example is when copying and pasting via Finder the created/modified date/time stamp of individual files are maintained to that of the existing meta-date vs. using cp -R where both the created/modified date/time stamp are set to the date/time of the copy operation.

On directories when copying and pasting via Finder the created date/time stamp is maintained to that of its current value and the modified date/time stamp is set to the date/time of the copy operation. vs. using cp -R where both the created/modified date/time stamp are set to the date/time of the copy operation.

Now if you use cp -aR the created date/time stamp is set to the date/time of the copy operation and the modified date/time stamp is maintained to it value it had at the time of the copy operation.

In essence copying and pasting via Finder maintains all meta-data attributes that are supported by the destination filesystem and to get the most possible meta-data attributes maintained using cp then additional options must be used.  Have a look at the cp man page for additional command line options.

FAT32 does not support all of the file attributes that HFS+ does, however copying via Finder preserves more then cp regardless of the options implemented.


Terminal move cursor with mouse in any way?

Try option-click, that is, click with option pressed.

This works on the command line and also in screen editors, such as vi and nano.

option-click just sends the appropriate escape sequences to move the cursor to anywhere in the terminal screen. (To see this working, try it with cat.)


App Store won’t let me update from 10.13.4 to 10.13.6 - why?

It is odd that the App Store app does not show you the update, not sure what is happening there. BUT You can manually download that update. The link is here.

That is what is referred to as a "Combo Update" which is a larger update that Apple provides that has the full size changed files rather than just a "delta" or changes. Combo updates are generally found to be a good repair for what ails macOS.


Firefox & Safari - always show horizontal scrollbars if needed

Could you post a link to the site? Does the behavior differ in Chrome or Safari? It could be a problem from the site programmer.


If you buy a mobile phone that is locked to a carrier (as is common practice in the US), then you can only use it on that carrier. If you buy an unlocked mobile phone, then you can use it on any carrier. This is true for all mobile phones, including the iPhone.

It sounds like getting an unlocked iPhone in Japan might be difficult, but other Asian countries only sell phones unlocked, as it is illegal for a carrier to lock them in those countries. (This is certainly the case in Thailand, where I live.)

Hong Kong and Singapore also sell all their iPhones unlocked.

It sounds like you might be better off sourcing a phone from one of those countries. It might be possible to buy an iPhone on the 'grey market' in Japan also, but if you do, make sure that you test that the phone works with SIM cards from two different carriers, and that it is not jailbroken, before you buy it. This is because a jailbroken iPhone can be 'software unlocked' to use with any carrier, but doing an OS update in the future would then return the phone to its previous locked state.

My recommendation is to buy an iPhone from a reputable dealer in a country that does not lock its phones (e.g. Hong Kong). Note that unlocked phones are much more expensive than locked phones.


Automatic Deployment of 802.1x profile for Wi-Fi

So the solution I came up with isn't perfect but it beats a lot of the stuff I was reading online. I decided to use Ansible to remotely config the mac computers. Ansible uses ssh which most macs in our environment have turned on by default. I would recommend deploying an Ansible service account user to macbooks in order to do the following tasks. I want to iterate that this task is because we are using a Windows CA and the profiles need to be reloaded IF the Windows CA cert expires. The issue that we have had is that the laptops will not connect to 802.1x without said mobile config. The solution here is to have the macbooks connect to the network through a guest wifi and then vpn into the network. Preferably a guest network that your company has that is separate from internal resources.

We will use the following Ansible playbook to make sure we remove the old profile and then transfer over the old profile. Apple does allow you to install mobile configs via the command line but I could not get it to work so a manual install of the profile is necessary post transfer but the hard steps are done.

Here is the playbook and the remove profile script.

# Remove mac Profile

- name: Transfer and execute a script
  hosts: all
  user: USER
  sudo: true
  tasks:

     - name: Execute the script
       script: /home/USER/ansbile-play/removeProfile.sh

     - name: Execute transfer of mobile config
       copy:
         src: /home/USER/MacMobile.mobileconfig
         dest: /Users/Shared/
         mode: 0644

 #!/bin/bash
sudo /usr/bin/profiles -P | grep com.apple.mdm | awk -F'profileIdentifier:' '{print $2}' | awk '{sub(/^[ \t]+/, ""); print}' > test
testvar=$(cat test)
sudo /usr/bin/profiles -R -p $testvar
sudo rm test

After having this config you will need to have a hosts file with the hosts you would like to deploy to. Manually doing this is a pain so I suggest dynamically creating it off Active directory or however you manage computers.

Here are some resources I used to solve this proble https://docs.ansible.com/ansible/latest/index.html
https://serversforhackers.com/

This is not a perfect solution and my code is also not perfect. Feel free to edit or change in anyway you see fit but this worked for me and was a pretty good quick fix to an issue.


Try uninstalling Adobe Flash. Flash doesn't work well on Macs. Flash games and Flash content in the Internet pages require a lot of processing power, which causes the CPU to go to the extremes and as a consequence heat builds up inside the Macbook. MacBooks (especially Air models) are known for poor inside ventilation.


Internet, screen and file sharing over USB between two Macs

Best solution would be to either upgrade the iMac to 10.8+ and get WPA2 wifi sharing, or just get any cheap router.
You can't use any sort of regular USB cable for a host-to-host setup, solutions do exist but are definitely a lot more expensive, and much more fiddly software-wise, than either a cheap router or simply a thunderbolt to firewire adapter for your Macbook, which might be your best bet since Macs have native support for sharing internet over firewire.


The icon size slider is still there when Finder is set to show the status bar. You can do that in "View" -> "Show Status Bar".


Different "Preferred Networks" for different Network "Location"

Each of your Locations will show WiFi.

To differentiate by location you have to rename them.

To do that click on the Gear box icon at the bottom of the location screen and choose rename service.

Now you can get creative in naming the service to your liking in each of the Locations. The WiFi function will remain.


Outlook for Mac - only sync calendar not emails

Short answer is no. When you add an account on Outlook it will add everything in the account that it has access to without a way of disabling one component.
Getting back to your question though, you could potentially add the Google calendar onto your Outlook web app (visit outlook.com and follow steps to add a shared calendar) - however that would only give you read access to the calendar.
So you have a lot of options of where to go from here:

You can export the Google calendar contents into an Outlook calendar and find a method of importing the events.

You can add the Google calendar as a read-only shared calendar inside the Outlook web app which will then sync to your Outlook desktop and Mobile clients.

You can add your Outlook Exchange account AND your Google calendars on the Apple Internet Accounts section and use the Built in Calendar app instead of the one inside Outlook.

You could go on your old Google Apps/G Suite account and move all your inbox items and sub folders into a Old Email folder of some sort, then at least it's out of your line of sight.

Keep in mind when IT decides to cancel the G Suite accounts your old calendar will be gone! So plan ahead.. it costs around $6/month per account, so it's only a matter of time before they decide the cost is not worth keeping it around.


Why doesn't SMS spam go to the Unknown Senders tab on iPhone Messages?

From Apple documentation:

You can filter iMessages from people who aren't saved in your
Contacts.

There is difference between iMessages and SMS/MMS. You can read about it in Apple documentation: About iMessage and SMS/MMS
Based on that it is relatively safe to assume that if you have SMS (text in green bubbles) then filtering doesn't apply.


How can I activate iPhone without a SIM card?

You can activate a iPhone without a SIM card by jailbraking it.
Search YouTube for “jailbraik iPhone 8bitguy”
If you use  redsn0w, when it has a checklist of things it can do (like ”Install Cydia”), just uncheck them all and click continue.


Is there a way to change iPhone backup location?

It looks like you can if using Windows.

Is OS X the backups seems to be stored in the following location ...

~/Library/Application Support/MobileSync/Backup

... but I don't think you can change that location.


Is Grapher able to display values in the x-axis as (π/2), (π), (3π/2), (2π) rather than 1,57, 3,14, 4,71, 6,28 (and so on.. )?

Double click on the axis and choose π from Units.


How can I make You Tube full screen on my iPad when using Safari?

Use the 'desktop' mode instead: it's found at the end of the YouTube menu (click on the logo at the upper left).


Issues with /usr/lib/libcups.2.dylib. x86 applications will not execute

From the INSTALL.txt file:
At lines 101–104:

On OS X, use the "--with-archflags" option to build with the correct set of architectures:
./configure --with-archflags="-arch i386 -arch x86_64" ...

Just type in these commands:
./configure --with-archflags="-arch i386 -arch x86_64"
make
sudo make install


Alternative to CTRL + C of macOS Terminal in Sublime Text 3

Open Key Bindings from Preferences of Sublime Text or short cut is (cmd ⌘ + ,) and add like:

[
    { "keys": ["ctrl+c"], "command": "cancel_build" },
]


Find My Friends and Podcasts Bug in OS X iTunes

Delete them from iTunes, but keep them on your phone. They're built into iOS 9 anyways so having them in iTunes is pointless


Is the iOS image saved by iTunes for restoring the same for all iPhone models?

Each individual model requires its own restore file, known as an IPSW [iPhone software] file.

That also applies even to slightly different versions of the same model,. such as the US SIM & non-SIM versions of the same phone.

You can see them listed at sites such as https://ipsw.me - which is just a list of redirects to the actual Apple downloads.

If you have a poor connection, or need the exact same download for more than one iPhone on more than one computer, you can get them via these links, then manually drop into place. They live in ~/Library/iTunes/iPhone Software Updates


Have the MacBooks Pro in 2011 and 2012 still shipped with installation disks?

Mac OS X 10.7 Lion was released to manufacturing on July 1, 2011 and was the first Mac OS that was not made available on optical media. I believe that the last MBP to ship with optical media were the Early 2011 models which were introduced in February 2011 shipping with Mac OS X 10.6.6 meaning that the Late 2011 MBP introduced October 2011 and shipping with Mac OS X 10.7.2 would have been the first to ship without optical media.


You can use Keyboard Maestro with a macro such as this:


Have you installed Mono and added the configuration to CodeRunner to enable C# support?

I found a solution if you have installed Mono over at MacRumors forums posted by user David Sheeks outlined below:

Configure CodeRunner

Open the CodeRunner Preferences dialog, go to the "Languages" tab, click the "+" icon and and specify "C#" as the Language name.

On the right you have fields where you can populate the language settings. Check the "Language uses compilation script" check box, enter /usr/bin/mono $compiler for the Run Command and set the File Extension to cs

Click the "Edit Script..." button and append the following to the compile.sh script (this will open in the CodeRunner editor):

file=$1
/usr/bin/mcs "$file"
status=$?
if [ $status -ne 0 ]
then
exit $status
fi
echo $file | sed -e "s/\.cs/.exe/"
exit 0

Mono installs it's compiler and runtime executable in /usr/bin and this is verified with the current version of the Mono SDK.

If you have done part of the above, and not setup the path's correctly, I would assume that the missing path it's complaining about is the fact that you either a) haven't installed Mono and the config can't find the compiler or b) youve installed Mono and the config in CodeRunner is invalid.


Finder folder icon showing items count when empty

You must have a Folder Action script that does that, but it is not working correctly.

Right Click on the Folder "Ref"

Scroll down in pop up to Services,

new pop shows up

Click on the Folder Action setup

again a new window will pop up showing the scripts

This is what they look on 10.9.2 without any modifications by me

If you have any other script, just simply uncheck it or use Edit if you know what you doing.


I use a standard VNC client. Once you have Screen Sharing enabled on the System Preferences you can access your remote Mac with any VNC viewer/client application.

More precisely, on my Mac I use the outdated Chicken (still working fine on El Capitan, though) and for the iPhone/iPad there are also plenty of choices on the App Store.

NOTE: Make sure that you set a password on the Screen Sharing preferences.


The problem is that you have two Java Runtime Environments (JREs) installed on your system, Apple's 1.6.x and Oracle's 1.7.x. As evidenced by running java -version JRE 1.6 is the default JRE on your system.  You likely want to change the default JRE to Oracle's 1.7 JRE.

You are correct in that there used to be a System Preference for setting the default JRE. Apple removed that as part of the Java Mac OS X 2012-006 update. The new way for selecting the default JRE is to use the /usr/libexec/java_home command. Read the java_home man page as well as the Determining the Default Version of the JDK section of this Oracle page for more info on how to specify the default JRE.


How to open port 9150 on a Mac so external devices can connect to it?

By default, your Tor client only listens for applications that connect from localhost (i.e. lo0 - 127.0.0.1). So the proxy is not bound to other interfaces like en0 or en1.

To set up a Tor proxy for apps on other hosts in the network you should follow the how-to:

  I want to run my Tor client on a different computer than my applications.
  By default, your Tor client only listens for applications that connect from localhost. Connections from other computers are refused. If you want to torify applications on different computers than the Tor client, you should edit your torrc to define SocksListenAddress 0.0.0.0 and then restart (or hup) Tor. If you want to get more advanced, you can configure your Tor client on a firewall to bind to your internal IP but not your external IP.

  Can I install Tor on a central server, and have my clients connect to it?
  Yes. Tor can be configured as a client or a relay on another machine, and allow other machines to be able to connect to it for anonymity. This is most useful in an environment where many computers want a gateway of anonymity to the rest of the world. However, be forwarned that with this configuration, anyone within your private network (existing between you and the Tor client/relay) can see what traffic you are sending in clear text. The anonymity doesn't start until you get to the Tor relay. Because of this, if you are the controller of your domain and you know everything's locked down, you will be OK, but this configuration may not be suitable for large private networks where security is key all around.

  Configuration is simple, editing your torrc file's SocksListenAddress according to the following examples:

  SocksListenAddress 127.0.0.1

  SocksListenAddress 192.168.x.x:9100

  SocksListenAddress 0.0.0.0:9100

  You can state multiple listen addresses, in the case that you are part of several networks or subnets.

  SocksListenAddress 192.168.x.x:9100 #eth0
   SocksListenAddress 10.x.x.x:9100 #eth1

  After this, your clients on their respective networks/subnets would specify a socks proxy with the address and port you specified SocksListenAddress to be.

  Please note that the SocksPort configuration option gives the port ONLY for localhost (127.0.0.1). When setting up your SocksListenAddress(es), you need to give the port with the address, as shown above.

  If you are interested in forcing all outgoing data through the central Tor client/relay, instead of the server only being an optional proxy, you may find the program iptables (for *nix) useful.

Source: Tor FAQ
Location of the torcc file: ~/Library/Application Support/TorBrowser-Data/Tor

I didn't get this to work properly!


Macbook air mid-2011 visual glitch problem

Based on our discussion and some fact finding above:

I would say your hardware is fine /the Intel HD3000, but it could be on its way out!, means it could be dying the slow death.

You can double check and run a stress test for the GPU using this little program, or look for your OSX version.

GpuTest 0.6.1 is a bugfix release for Mac OS X only. The CSV file (for benchmark scores) was no longer generated at the end of a benchmark. This CSV file is stored in the root folder of the current user (_geeks3d_gputest_scores.csv).

However, I still think you have a software (programs) interference issue.
Remember the Intel GPU uses shared memory, so that could lead to a problem you are having.

Finding out which program is interfering could be tricky, but you had to just turn them completely off one at the time.

In your case I recommend:

Use an external monitor (or LCD Television) to:

1-see if it is a problem with the build in display

2a problem with the flat band cable to the build in display

3-actual problem with the GPU chip


How can I install os on a mac mini with a mac os x install DVD

A Mac Mini OSX Install DVD supports the particular release of Mac Mini with which it was released, not all Mac Minis. The fact that your Mac Mini does not have a DVD slot suggests that it likely did not ship with that install DVD. Additionally, in general, Apple hardware does not support installing versions of Mac OS X older than the version current when the hardware was released.

This may be the source of your problem.


1) No. Safari requires libraries and frameworks that will only be found in Mavericks. You can potentially snag the Safari.app from someone runnin v7 on OS X 10.9, but I'm fairly certain it will simply crash on launch due to the requirements mentioned above.

2) Yes you can still install Mavericks provided you have purchased it from the Mac App Store. It will be listed under your Purchases tab.

3) No. You will likely suffer the same discrepancies mentioned in 1) with a version mismatch.