how to command to get vlc latest version?

curl -O http://mirror.de.leaseweb.net/videolan/vlc/2.1.2/macosx/vlc-2.1.2.dmg
This is the official OS X build by Felix Kuehne, the main OS X VLC maintainer; I doubt 3rd party repositories host OS X / Cocoa specific builds like this one.


Parental Controls always asks permission when browsing websites

You can do this with your hosts file, if you are comfortable using terminal

Manually

Open Terminal
Type sudo nano /etc/hosts then hit return
Tap the down arrow to move your cursor below the line that says 127.0.0.1 localhost
Type in 127.0.0.1 and then the address of the site you want to block, making sure to keep a space between the numbers and the address. For example, 127.0.0.1 facebook.com will block Facebook, or 127.0.0.1 google.ca.
You must do this for any name it may resolve to, for example, if it was google, you must to 127.0.0.1 google.ca and 127.0.0.1 www.google.ca and every other resolver: 127.0.0.1 www.facebook.com and 127.0.0.1 facebook.com would need to be entered into the hosts file.
To exit nano, you must press control (^) + x then Y then return / enter
Type sudo dscacheutil -flushcache do restart dns services. This will activate your changes.

Automatic Blocking

You could do this at the DNS level instead, resulting in no bypass available unless they have the administrative password.
CleanBrowsing is one of many services that allow for blocking at this level. See IP address list and Setup Instructions for more info.

Basically, if the user goes to any site CleanBrowsing deems inappropriate, it will block it, and make it so it will not resolve (identify the domain to the correct IP address) to go to the correct website, and will instead display a page saying that "this address is blocked" or something to that result.

The DNS Addresses are as follows

  Family Filter

  Blocks access to all adult, pornographic and explicit sites. It also
  blocks proxy and VPN domains that are used to bypass the filters.
  Mixed content sites (like Reddit) are also blocked. Google, Bing and
  Youtube are set to the Safe Mode.

> IPv4 address: 185.228.168.168 and 185.228.168.169
> IPv6 address: 2a0d:2a00:1:: and 2a0d:2a00:2::

  Adult Filter

  Blocks access to all adult, pornographic and explicit sites. It does
  not block proxy or VPNs, nor mixed-content sites. Sites like Reddit
  are allowed. Google and Bing are set to the Safe Mode.

> IPv4 address: 185.228.168.10 and 185.228.168.11
> IPv6 address: 2a0d:2a00:1::1 and 2a0d:2a00:2::1

  Security Filter

  Blocks access to phishing, malware and malicious domains. It does not
  block adult content.

> IPv4 address: 185.228.168.9 and 185.228.169.9
> IPv6 address: 2a0d:2a00:1::2 and 2a0d:2a00:2::2

Setup for this is as follows:

1. Open System preferences
2. Go to Network > Select the interface being used
3. Click Advanced
4. Click DNS
5. Remove any old listings, as they are likely to be used for resolving first.
6. Press the ``+`` button located in the bottom left, then add the desired servers.

  Please note to use the servers listed above, both the IPv4 and IPv6 addresses.


In your open/save window, press Cmd-Shift-G to open a window where you can paste the path.

This also works in Finder.


I know you don't want to install a different PHP, but I've found using the Homebrew install method quite painless and robust.  Maybe give it a try.

brew install php


Scrivener app crashing on macOS Sierra because of growl.framework

I had the same issue with NetNewsWire (yea, yea, I know). Download Growl Version Detective (http://growl.info/downloads) and it allows you to update the version of the Grown framework within the app to a Sierra compatible version. Boom, it should start working again (hopefully). Give it a try :)


OS X equivalent of Windows keyboard commands to access in-application menus?

You can use Ctrl + F2, which moves the focus to the  symbol in the menu bar. Then use the arrow keys to move around, or just type the start of a menu name to highlight it. With a menu name highlighted, hit Space to expand it. In an open menu, you can type the start of a menu item to highlight it. Once highlighted, press Space again to “click” it.

So, to get to “Save for Web & Devices” in Photoshop, you could press Ctrl + F2, F, Space, Enter, S, ↓ until you focus “Save for Web & Devices”, then Space.

Of course, the built-in keyboard shortcut for that option is much easier to type: ⌥ + ⇧ + ⌘ + S.


Applescript or Automator service that automatically trusts certificates

Undesirable Behaviour

There is no intended way to add trusted root certificates without requiring authorisation from the user or an administrator.

Any method that manages to add a trusted root certificate without confirming, at some stage, the credentials of the user would be considered a serious security bug.

What is the Risk?

Once a root certificate is trusted, it provides an automatic degree of trust for other certificates, applications, and content.

If a script, process, or tool could add trusted root certificates without authorisation, then it opens the possibly to perform malicious actions on a Mac – without the user knowing.


MBP mid-2012 with SSD, does not hibernate

I've the same problem using late 2008 Macbook Pro running 10.8.3 and have decided to keep the HDD in the shock mounted area due to superior protection.

I've got a Sandisk SSD installed in the optibay and the original HD in the main bay. Deep sleep worked fine with just the hard disk installed. Now that I've cloned it and boot from the SSD instead, the Macbook refuses to go into deep sleep. Instead it sits there in normal sleep mode with the white light on the front of the machine flashing.

I tried moving the sleep image to the HD but got the same crash that you experienced. Mind you, the man page for pmset does state that it has to be on the root drive!

I'm reluctant to swap the disks round because the main bay offers better shock protection for hard disks with the rubber mounts. Looks like I'm stuck with the problem unless Apple fix things.

As it stands, you need to choose either sleep compatibility or shock protection when connecting a SSD and HDD to a MacBook Pro.


Java WebStart fails on Mac OS Mountain Lion

The oracle java version here (1.7.0_09-b05) is old and  is  blocked by Safari as a security risk a see this Apple note. Upgrade to the current JDK which is currently Java SE 7u21.


How to limit audio volume on iPhone for all apps?

iOS handles volume differently depending on the task at hand. For example, the volume for playing games is set differently to the volume for playing videos.

In your example, YouTube and VLC are both for playing videos. If you need the audio level for these types of apps to be lower (or off) you need to play a video and then lower the volume. Once you've done this, iOS remembers this for all video playing apps (i.e. turning it down on VLC will mean that it's also down for other video playing apps).

You just need to remember then that even if you turn your volume up while using the phone, that when you next play a video it will still be at the level it was at when you last played a video.

Hope this helps.


Failed "Unable to complete Touch id enrolment"

You've done all the software things you can do to make sure macOS is up to date and running, but the Touch ID runs on a separate computer and not the main system. This part is the T2 chip and your fingerprint gets registered in to the Secure Enclave - not on the main OS or storage. The T2 also controls the Touch Bar - so this procedure works to remedy issues there once you've verified it's not SMC or macOS causing the glitch.

I would make sure you have a good backup since one of these steps will guarantee everything is erased on the drive if you follow all the steps below. Nothing will be recoverable, not from vendors or undelete software - the data will be cryptographically erased / sanitized / destroyed.

https://support.apple.com/en-us/HT207054#setup

The above guide will walk you through the steps once you attempt to revive (or erase/restore) the Apple T2 Security Chip firmware. Revive just reloads the T2 and restarts it. Restore erases everything - all data keys, all fingerprints, everything - complete factory reset of your Mac. The first link us unlikely to change - search for the Apple Configurator user guide if these links change as the document gets updated (or you prefer a different localization / language than English).

https://support.apple.com/en-in/guide/apple-configurator-2/welcome/mac
https://support.apple.com/en-in/guide/apple-configurator-2/apdebea5be51/mac

If you are not comfortable loading your backup and reinstalling the Mac operating system, you might want to have a trained tech do the work in Apple Configurator and the person restoring / reviving needs a second Mac to connect and update your Mac firmware.

For your MacBook Pro - the steps to prepare it for the revive (which is less invasive - I would try that first) is as follows:

  Prepare the Apple portable computer to revive the firmware

  Press the wake/sleep button for about 5 seconds to shut down the Apple portable computer.
  Plug the cable into the right Thunderbolt port on the left side of the Apple portable computer.
  While holding down the power button, at the same time press all three of the following keys for about 3 seconds: Right Shift key +
  Left Option key + Left Control key

  Note: You won’t see any screen activity from the Apple portable computer.

Also, be sure you have the time to do this - I would set aside 35 minutes to get ready and then print out your steps, take a break and then allow an hour to try this the first time. When the instructions say 5 seconds - I would have a clock and be like someone defusing a bomb - precise, exact. If it says right key - the left one will not do, etc...

Once you've got Apple Configurator - all the exact cables, this can be done in 15 minutes for the first Mac and then 5 to 8 minutes for each Mac of the same type you need to work on, but give yourself time the first pass and be sure your backup drive is ready and tested. If you choose the wrong "r" command - you will not get a chance to stop the erase - it happens in an instant.


Hotkey to scroll other window without switching to it

I don't know any way to get the second frontmost application or window with AppleScript, apart from something like this:

delay 0.3 -- time to release modifier keys if the script is run with a shortcut
tell application "System Events"
    set p to process 1 where it is frontmost
    set visible of p to false
    delay 0.01
    key code 121 -- 121 = page down, 116 = page up
    set frontmost of p to true
end tell

It makes the hidden and activated windows flash though.

With browsers you could use window.scrollBy():

tell application "Safari" to tell document 1
    do JavaScript "window.scrollBy(0,(window.innerHeight-20))"
end tell

tell application "Google Chrome" to tell active tab of window 1
    execute javascript "window.scrollBy(0,(window.innerHeight-20))"
end tell

Another option would be to simulate pressing ⌃F4, page up or page down, and ⌃⇧F4 by for example using KeyRemap4MacBook:

<autogen>__KeyToKey__ KeyCode::CURSOR_UP, ModifierFlag::FN | ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::F4, ModifierFlag::CONTROL_L, KeyCode::PAGEUP, KeyCode::F4, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L</autogen>
<autogen>__KeyToKey__ KeyCode::CURSOR_DOWN, ModifierFlag::FN | ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::F4, ModifierFlag::CONTROL_L, KeyCode::PAGEDOWN, KeyCode::F4, ModifierFlag::CONTROL_L | ModifierFlag::SHIFT_L</autogen>

It also causes a visual glitch, and ⌃F4 sometimes selects windows from hidden applications.


OSX Yosemite Finder sort by date modified wrong?

Modification dates for folders are only updated when the folder's contents are edited, not the folder's contents' contents. In other words, you probably edited something in the DES folder, which changed the modification date for the DES folder, but you didn't create, remove, or edit anything directly inside the blog folder since 2015-01-06.


I have a Magic keyboard with the numeric keypad, how do i use it in bootcamp with windows 10?

I'm writing this with my new Magic Keyboard on my Windows 10 (64 bit) PC. I connected with a Logitech 'Dual Mode' Bluetooth V4/BLE dongle, which I installed first. Note I do not have bootcamp (I don't even know what that is/for)

There are a few differences to a normal windows keyboard:
- ALT key renamed 'option'
- I have have to use the 'command' key for the Windows key
- BACKSPACE is named Delete (there's a separate forward Delete key too)

Apart from these it seems completely normal so far, supporting all other keystrokes like F2, Control-Home, Conttrol-ALT-Delete (i.e. Control-option-Delete)

The only niggle = I can't tell the current charge level of the rechargeable battery. But even if the battery gets too low I can just plug in the USB-Lightning charge cable provided, and keep typing while it's charging.

All these minor shortcomings are well and truly outweighed by the appearance and feel of the beautfully styled keyboard

Hope this helps ...


Why is "Find My Mac" still complaining about "Wake for network access" being inactive, although I just activated it?

In reality this is just a refresh issue as I as a tech-savvy user later realized. But average Mac users won't, as everywhere else on macOS you typically do not have these kind of refresh errors, but the software objects update each other quite reliably.
Step 4 in the question now shows the solution: Simply quit and then restart System Preferences. Then the status of "Find My Mac" in preference pane "Apple ID" shows updated correctly.


Just read the comments and see that you're looking for a general solution, rather than that specific example. I'll leave my previous answer in case it helps someone, but here's a more general solution.

My first piece of advice: leave /usr/bin alone. There's no reason to mess with it and there are many reasons not to mess with it. Instead, add a directory somewhere else, put you scripts there, and add it to you $PATH variable. If you want this just for your user, you could create a scripts or bin directory in your home directory, or if you want it globally available you could put it under /usr/local, e.g. /usr/local/scripts or /usr/local/bin. Then, in the .bashrc file in your home directory, add the following:

export PATH=$PATH:~/scripts:/usr/local/scripts

If you would rather have your commands override a system command (should they have the same name) then you could do the following, instead:

export PATH=~/scripts:/usr/local/scripts:$PATH

If you want this set for all users, then there is a global /etc/bashrc file that you can add the above to.

In order to edit the global bashrc or modify /usr/local you need root/admin privileges.


How to Tell Siri to Send a Text Message with Special Characters Such as Enter (Newline or EOL) - Dictation Commands

This is a question?
  End of text.

Was generated by me saying
"this is a question question mark new line end of text full stop"
 though I did have to then manually fake it into SE's markdown format

SE isn't great for formatting tables, so this is really just in case the link ever disappears

Original Source [& far easier to read] - Siri User Guide : Dictation Guide

Command                         Action                                          Before                                                                  After
New line                        Move to the next line
New paragraph                   Start a new paragraph
Cap                             Capitalise the next word                        I like 'cap' sunshine                                                   I like Sunshine
Caps on ... caps off            Capitalise a section of text                    'caps on' twenty types of flower 'caps off'                             20 Types of Flower
All caps                        Make the next word all uppercase                I 'all caps' love summer                                                I LOVE summer
All caps on ... all caps off    Make part of what you say uppercase             I 'all caps on' love summer 'all caps off'                              I LOVE SUMMER
No caps                         Make the next word lowercase                    I like 'no caps' Capitals                                               I like capitals
No caps on ... no caps off      Make sure part of what you say is all lowercase We like the cities 'no caps' London and Sydney 'no caps off' the most   We like the cities london and sydney the most
Space bar                       Prevent a hyphen from appearing in a normally hyphenated word
No space                        Prevent a space between words
No space on ... no space off    Prevent a section of text from having spaces between words
"Period" or "full stop"         Place a "." at the end of a sentence
Dot .                                                                           The number pi is three 'dot' one four                                   The number pi is 3.14
Point   .                       The 'point' number pi is three 'point' one four The point number pi 3.14 (note the subtle difference between saying 'point' and 'dot' dot works between words)
"Ellipsis" or "dot dot dot" ...
Comma   ,
Double comma    ,,
"Quote" or "quotation mark" "
"Quote ... end quote" or "quote ... close quote"    Place quotes around a section of text   She said 'quote' see you next week 'end quote'  She said "see you next week"
Apostrophe  '
Exclamation point   !
Inverted exclamation point  ¡
Question mark   ?
Inverted question mark  ¿
Ampersand   &
Asterisk    *
Open parenthesis    (
Close parenthesis   )
Open bracket    [
Close bracket   ]
Open brace  {
Close brace }
Dash    -                                                                       This dash is dash my dash cheese                                        This - is - my - cheese (note the difference in spacing between this and when saying hyphen)
Hyphen  -                                                                       This 'hyphen' is 'hyphen' my 'hyphen' cheese                            This-is-my-cheese (note the difference in spacing between this and when saying dash)
Em dash —
Underscore  _
Percent sign    %
Copyright sign  ©
Registered sign ®
Section sign    §
Dollar sign $
Cent sign   ¢
Euro sign   €
Yen sign    ¥
Degree sign ∘
Caret   ^
At sign @
Pound sterling sign £
Pound sign  #
Greater than sign   >
Less than sign  <
Forward slash   /
Back slash  \
Vertical bar    |
"Smiley" or "smiley face" or "smile face"   :-)
"Frowny" or "frowny face" or "frown face"   :-(
"Winky" or "winky face" or "wink face"  ;-)
E.g. (pronounced as "e g")  e.g.    'e g' when you learn to ride a bike E.G. when you learn to ride a bike
i.e. (pronounced as "i e")  i.e.    'i e' when you learn to ride a bike I.e. when you learn to ride a bike


Installing extended offline dictation fails without error

Please follow the instructions to remove a ?.plist file (it will be recreated automagically once you restart the system).

Press these keys simultaneously: shift+⌘+G
In the dialog box that appears after step 1, copy and paste the following

  ~/Library/Preferences

Hit return/enter
You will be presented with a ton of files, but you should be able to find the

  com.apple.assistant.plist

Move it to the Trash and Empty your Trash
Open Dictation & Speech preference panel and turn off dictation
Restart your computer
Open Dictation & Speech preference panel, turn on dictation
Select Enhanced Dictation
Download should begin and install correctly

I hope this helps.

The file you are downloading is 750 meg, so it might take a while.


Best video encoding to preserve Macbook Air battery life?

You can measure the best for yourself by trying a few settings.

In general, you want the encoding to play without stretching or pixel doubling (and no pixel shrinking) so make sure to pick something that fits your screen naturally. H.264 is by far the best since the GPU does the decoding and it's more power efficient than the CPU for processing video. The data rate can be too high - but most people choose a rate to make the movie small so that's not usually an issue.

Fire up activity monitor from the Applications/Utilities folder and see the CPU usage graph while you are playing various movies. The terminal command pmset -g pslog is also nice to have running while you are testing so you can see the battery estimates over time. If there are no spikes in CPU use the estimate will move down linearly - so you could measure the same 10 minutes or so of a movie and convince yourself you have a good compromise.

The default handbrake settings are probably just fine, so start there and play as needed.


Move a full screen app to second monitor

You can use Mission Control (formerly known as Exposé) to move full screen apps across monitors. Mission Control initially shows lists of workspaces across the top of all monitors, and when you move the mouse cursor up into that area they change into thumbnails. If you drag one of the thumbnails from one monitor to another, the workspace corresponding to that thumbnail moves to that monitor. A thumbnail for a primary desktop can be rearranged within its own monitor, but it can't be dragged to another monitor.

To clarify what I mean by primary desktop, each monitor initially has a workspace without full screen applications, and additional workspaces for full screen applications (which, in El Capitan, can contain one or two applications apiece). What I'm calling a primary desktop is that initial workspace. The + in the upper right corner of each monitor while Mission Control is active can create a new desktop, and a desktop created that way can be moved across monitors, but the desktop which was not created that way remains on its own monitor.

Keyboard shortcuts and trackpad gestures are available for Mission Control.


When should I try to get ACMT certified?

I'll adapt my general advice for people looking to start working or consulting.

Don't pay for certification or education until it makes business sense.

Business sense means you can incorporate that cost in a quote to one or more paying customers. I would treat any non-budgeted expenditure as something you need to run by your investors formally. If you are the investor in your company, then you owe yourself the same level of service as you would expend if you took money from relatives, friends or even an external investor.

The condition above is relaxed a little if you are undergoing formal education and have budgeted for that or taken on loans. Then you'll want to check in with your life coach / student advisor to again make the case for that expenditure of even more limited resources (typically students operate at very low cash burn rates) and time.

So, in your specific situation - the advice the ASP gave you is good, but in their favor. Of course they want to hire someone that already has invested all the time and money to become certified. Follow up with them and ask for a written job offer outlining the hours they would employ you and the rate they would pay for someone that shows up with a valid cert.

If they balk - you'll know that the advice was general and not specific. If they don't have an open position, you probably shouldn't pay for training as specific as ACMT. It's a great exam, extremely hard for someone who hasn't worked 6 months in a computer repair shop as an apprentice.

Ask first if you could be hired as an apprentice and lower rate and then have a clause for a raise if you can study and pass the exam once you are working. Either way - best of luck and let us know how things go over the summer in the comments or [chat] room.


Control iMac and LED Cinema Display Brightness Simultaneously

I just started using Dimmer Than Dim, a free app in the App Store. I only have one display (iMac), however.


How do I restrict a novice user from installing configuration profiles on their devices?

As this key is a ‘supervised only’ key, the device must be in supervision for this key to be functional, otherwise it will have no effect.

Once your device is supervised, you can create and install a profile with the key set. You can create such a profile with Apple Configurator. Choose Restrictions as the payload, then under Functionality, uncheck ‘Allow installing configuration profiles’.

Complete the mandatory General payload, then save this profile and install it on your now-supervised device for the payload to function.


How to modify the transmit queue length (buffer) of the network interface

To set the default transmit queue: (e.g to 150 packets):

sysctl -w net.link.generic.system.sndq_maxlen=150

and default receive queue: (e.g to 260 packets)

sysctl -w net.link.generic.system.rcvq_maxlen=260

To check the system defaults queue sizes for send and receive (current defaults on MacOSX10.4 are 128 (send) and 256 (recv) respectively):

sysctl net.link.generic.system.sndq_maxlen
sysctl net.link.generic.system.rcvq_maxlen

It's unclear if it is possible to set a per interface queue length. The output queue length's default is set in the [xnu] kernel: bsd/net/if.h:#define IFQ_MAXLEN 128

On older kernels (OSX10.7) you could to set the maximum input queue length on OSX as follows (e.g. to 100 packets) - which can be useful for tuning performance with incoming packets flows - it's the internal queue that packets are put when they come off the incoming interface:

sysctl -w net.inet.ip.intr_queue_maxlen=100


Unfortunately, it doesn't appear to, no: the Reminders app has neither its own  pane in the Settings app, nor any settings accessible in the app itself, and its entry under Notifications doesn't have an option to turn on Badges.

So, at least as of iOS 5.0.1, Reminders doesn't seem to support that feature.

I'm not seriously suggesting you switch apps, but if Badges in a todo app is a killer feature, I've also been a fan of Things.


Restoring the Keychain Access menu bar item

I eventually tracked the issue down to an issue whereby the extended attributes (xattr) of the copied Keychain.menu item had were not identical to what they had originally been. Once I rectified that, the issue disappeared and the “crude method” does, indeed, work as advertised.


Unknown Admin Password on New/Used IMac 2011

In short, you don't.
That's the entire point of having a secure computer.

The long answer is you have to wipe the machine & start over. Nothing on there belongs to you, not even the OS itself, & you would have to provide the old owner's credentials for any updates.

See Apple KB - What to do before you sell, give away, or trade in your Mac

If you are no longer in touch with the previous owner, you'll have to start from step 6. Fortunately you can actually just start from there on an old Mac. On a new one, you would need to get the original owner to release it first.


Is there an app to control preferences/desktop/dock based on an environment

I'd just create a new user, and just sign on to whichever one depending on where you are.


How to periodically run a script/command when a specific application is being used?

This runs say a if the time since the last HID (pointing device or keyboard) event is over 3 seconds and if the frontmost application is iTerm:

while sleep 10;do [[ $(ioreg -c IOHIDSystem|awk '/HIDIdleTime/{print $NF/1000000000;exit}'|awk '$0>3') && $(lsappinfo visibleProcessList|cut -d\" -f2) = iTerm ]]&&say a;done

Different ways to get the name of the frontmost application:

lsappinfo visibleProcessList|cut -d\" -f2
lsappinfo find ASN=$(lsappinfo front)|cut -d\" -f2
osascript -e 'name of app (path to frontmost application as text)'
osascript -e 'tell app "System Events" to name of process 1 where frontmost is true'


As I’d said on Winehq, the only way to enable gtk themes required that wine-staging is built from source with this library available.
As you didn’t provide the version of macOS your running there’s little more information that can be provided, also from what was posted on Winehq you seem reluctant to compile wine from source making this impossible to achieve.


2019 Update: Where does Chrome store cookies on Mac?

After some searching, I located them here:

~/Library/Application Support/Google/Chrome/Profile 1/Cookies

and, to view the contents concisely, DB Browser for SQL Lite still works. Just load the cookies file into it.


Text editor to search/replace newlines and tabs

Text Edit which is available out of the box supports searching for special characters:

Access "find" functionality with Cmd-F
Click the small magnifying glass at the beginning of the entry field and select "Insert Pattern" (last entry)
Pick your pattern (and repeat if necessary)

Move the cursor to the replacement field to select a pattern there (or just copy/paste from the search field)

If you do a lot of text-based file processing it might help to spend some time to learn about basic Unix tools like awk, sed and friends. This would make thinks a lot easier on the long run.


You should be able to choose any of the login users either with an arbitrary arrow key (if the user name is somewhere in the middle more than one hit is necessary) & enter or by entering the first letter of the user name (or the first two if you have several names starting with the same letter) & enter.

Then enter the password.


macOS Sierra Spotlight search does not find Numbers but Number

I would start by rebuilding the Spotlight index.

From: How to rebuild the Spotlight index on your Mac

  Choose Apple menu () > System Preferences, then click Spotlight.
  Click the Privacy tab.
  Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the
  Add (+) button and select the folder or disk to add.
  To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help
  from the Finder menu bar, then search for “permissions.”
  From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the
  list.
  Quit System Preferences. Spotlight will reindex the contents of the folder or disk.

Or via Terminal:

sudo mdutil -i off /
sudo mdutil -i on /
sudo mdutil -E

See the man page for mdutil or type man mdutil in Terminal.


How can I change the language for dictation on the fly?

You could either edit property lists that store the setting and reopen the DictationIM process:

#!/bin/bash

k="com.apple.speech.recognition.AppleSpeechRecognition.prefs DictationIMLocaleIdentifier"
if [[ "$(defaults read $k)" == en-US ]]; then
  defaults write $k fr-FR
  defaults write com.apple.assistant "Session Language" fr-FR
else
  defaults write $k en-US
  defaults write com.apple.assistant "Session Language" en-US
fi
killall -HUP DictationIM

Or use UI scripting:

tell application "System Preferences"
    reveal anchor "Dictation" of pane "com.apple.preference.speech"
end tell
tell application "System Events" to tell process "System Preferences"
    tell pop up button 1 of tab group 1 of window 1
        click
        if value is "English (United States)" then
            click menu item "French" of menu 1
        else
            click menu item "English (United States)" of menu 1
        end if
    end tell
end tell
quit application "System Preferences"

Both scripts are copied from my answer to How to use applescript to toggle the language setting of new dictation tool (10.8) - Stack Overflow.


The Oracle installer for MySQL puts the mysql binary in /usr/local/mysql/bin. You either need to call it with the full path:

/usr/local/mysql/bin/mysql

Or put /usr/local/mysql/bin in your PATH by adding the following to end of your ~/.bash_profile:

export PATH=/usr/local/mysql/bin:${PATH}

And then reloading your shell.

See my answer to this question for why I think you should install these things with Homebrew instead of dmg-based installers. Ultimately, it lets you manage what's in your PATH with less hassle.


No web tab on the OS X Lion Server interface

My guess is that you are using the wrong app: in Lion Server, you no longer set up web in Server Admin, you set it up in Server app.

Either this, or you are using a display with a very low resolution and the Server app window is too small to display all its services.


Microphone not working on third party apps only (iPhone 6)

Under Settings > Privacy > Microphone you'll be able to allow/deny each app that require the microphone to use it.


rails error on macos mojave 10.14.5: config/load_config.rb:5:in `require': cannot load such file -- configurate (LoadError)

That guide is very polished and super close to getting you an install, but I fear it isn't sufficient to get rails running.

The two things I've been able to reproduce is the rbenv isn't calling the proper version of gem to get rails installed and even after you rehash things, rails is still being called from /usr/bin and not where homebrew and rbenv are stashing the non-system version of these tools.

To check which location in your PATH the key tools are being called:

which ruby gem rails rbenv

On a clean system, you would see this:

$ which ruby gem rails rbenv
/usr/bin/ruby
/usr/bin/gem
/usr/bin/rails

After following that instructions, your gem is still not calling the /usr/local version so you're installing rails against the system framework and not the intended one. I don't have a full solution yet, but this might help someone that knows how to search for the gem command to get us both other this error in the install guide and not have to pick apart the scripts to figure what other steps are needed.


I don't know the problem with homebrew but there are other ways to load git. This link lists several ways to load git. If you've loaded the Xcode comand line tools git may already be installed. Type git --version to see if git is already installed.  It was on my machine. The link also lists ways using MacPort.


How to synchronize QuickTime video playback with 3 different Macs?

I don't know how well synchronized it would be, but you could try using at (or launchd or cron) to run an osascript command at a specified time.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
at 16:12 <<< 'osascript -e "tell app \"QuickTime Player\" to play document 1"'


What is the year and model of your MacBook Pro? There is a known graphics failure in the 2011 models of MacBook Pros that is now leading to a class-action lawsuit .

I would also try resetting just the SMC by pressing Shift+Control+Option+Power button at the same time while the computer is off and plugged into power. (You only reset the PRAM according to the steps you have done above.)


some apps are not in settings app on iOS

Not every app needs separate settings. In order to have settings in the app developer would need to implement separate Settings.bundle in the app.
More about Settings.bundle on the Apple Site.


What is the real world minimum HFS+ journal size for a 4TB hard drive?

In the last 4 months, an 8M HFS+ journal size gives us a stable result for 4TB drives.


How to disable thermal policy for the icloud photo process?

While the error messages are still present in Console, the Photo app is able to sync changes in the Photo library in iCloud after upgrading maxOS to version 10.15.6 (19G2021).
I find out that the real reason is not the upgrade itself. Actually it is due to the fact that I disconnect my external monitor during the upgrade.
I typically use my MBP with both of its primary monitor and an external monitor turned on. It triggers the thermal throttling which stops the iCloud photo sync from happening.
Whenever I disconnect my external monitor, the icloud sync will succeed.


Can't share the boot drive root dir with authorization for "everyone" set to "no access"?

It's not innocuous. The permissions you're seeing (and controlling) in the Sharing preference pane are the regular filesystem permissions, not some separate sharing-only permissions. Setting the permissions here to Everyone: No Access would deny all users (other than root) access to the entire volume, thus rendering your Mac unbootable. This seems like a good enough reason to prevent you from doing it.

You could ask why the Finder does allow you to do this, but I don't think there's any particularly deep answer. It's impossible to block all possible destructive actions, so inevitably Apple will have chosen some to block and not bothered with others.


Keyboard Fn Function key switchUsing language

Using Fn to switch keyboards is new with Big Sur.  Buggy behavior has been reported by many users in the Apple discussion forums.  Until Apple fixes it, probably best to use the traditional shortcuts found in System Preferences/Keyboard/Shortcuts.
I understand MacOS 11.2 should fix this problem when released.


You most likely need an active HDMI to VGA adapter.  There is a bunch of signaling conversion that goes on with an adapter, especially when it goes from digital (HDMI) to analog (VGA).  An active adapter will reformat the signals so it's a true VGA signal rather than just supply the correct pin outs.

Take a look at this answer, Passive vs. Active adapters - I talk about the difference and why it's important.


Have TM treat a clean install as a new machine (keep the old backup)

You've already done it. By erasing the disk you changed its UUID, so TM already considers the new disk completely unrelated to the old one.

The only problem you may run into is that if you ever do a full-disk restore from one of your old backups, TM will patch things up so that the restored disk (which now has yet a third UUID) is considered the one that all the old backups were from. It will now be the new backups that it won't ever erase.

Which come to think of it is probably exactly what you want.

In case that's confusing, let's take a specific example. You have a disk with UUID#1, and in March you begin letting let TM make a bunch of snapshots with it. TM remembers that they're snapshots of UUID#1. Then in June you erase the disk, so that it now has UUID#2 and let TM start taking snapshots of it. TM regards your snapshots from June onward to be snapshots of a different disk from a different computer. It won't touch the March-April snapshots.

Then in August you do a full-disk restore from one of your April snapshots. Part of a full-disk restore is to erase the disk, so it now has UUID#3. But at the end of the restore, TM will patch up the backup so that the March-April snapshots now appear to have been of the disk with UUID#3. The May-June snapshots, of the disk with UUID#2, are now the protected ones that TM will not touch.

Personally, though, I'd let TM start backing up to a new disk. That makes it easier for you to keep track of which backup is of which disk, and reduces the risk that you'll lose the old backups to a drive failure. Drive failure seems to be the biggest threat to a TM backup. If you aren't using the old backups, you don't need to have them mounted all the time.


Automatically shrink existing Time Machine Backup to a fixed size

Time Machine will respect a size determination - but only when you make the container. This functionality is all that Apple provides for native backup so you'd need a custom setup to do what you ask, and you can't limit things once you've started backing up to a container.

Going forward if you want to make a new restricted container, the concept isn't hard to map out though.

make a new container on the synology and be sure to enforce the size constraints when you start the process.

Server.app does that easily - I'm not aware of synology code that reverse engineered that feature, but would be surprised if it's not on GitHub or published somewhere public.

At that point, you could delete all backups of user folders that are large and then block by block copy the old backup data to the new destination and then inherit the backup.

You can also thin backup intervals from the command line or script this automation as well.

Lots and lots of work, but it might be worth it as a project if someone is inclined.

When I'm in your shoes, I just copy off the old "too large" backup to an offline hard drive and put it on a shelf and start over with new backups of the size you like. In 6 months or a year - wipe that old drive unless you really feel you need that older history.


4K 60Hz over DP with Late 2013 Macbook Pro 15" + Dell P2415Q?

Okay so I got 60hz working at 4K. Despite the fact that I swear I already tried this, the key was turning off MST.

Unfortunately, I can't recall why I turned MST on in the first place. Did I create my own problem? I will say that I was unfamiliar with what Multi-Stream Transport was when I read the Apple support doc that I linked to in my question, and the doc was written in such a way to suggest that it was necessary for me to have on to get 60Hz on my MacBook Pro model.


2 Safari.app's exist in the system on macOS 10.15.5 19F101

In the Finder, navigate to the Safari you don't want, drag it to the Trash, and empty the Trash. During the process, you'll probably be asked to authenticate yourself as an administrator.


How can I "automatically" get a reminder that day is done?

Go to the built-in Clock app and add an alarm for the time you want to go home or log off your computer. Select repeat and choose the weekdays that you want it to go off. You can choose a ringtone or song (We Gotta Get Out Of This Place) instead of one of the standard tones if you want.

The Timer tab in the Clock app can sound an alarm after 8 hours if that's what you want instead.


/usr/local doesn't exist in fresh install Yosemite

/usr/local does not exist on a standard plain OS X install

You need to create it by

sudo mkdir /usr/local

In some odd cases e.g. for Homebrew you need to change permissions


How can I purchase Mountain Lion on a computer and install it on a different computer?

If you dropped your computer and it stopped booting right after that, you may now have a defective hard drive. I do not recommend attempting to re-install the operating system (Mountain Lion), as this may cause data loss.

My current recommendation is to confirm that you have a good backup of the data that is on your computer. If you do not have a backup, it may be necessary to attempt data recovery from the drive that is in the machine.

If you do have a current/valid backup of your data, I would recommend attempting to boot from another disk (CD/DVD, USB flash drive, etc.), and attempting to open Disk Utility to see if the software is reporting SMART failures with the drive. Alternately, very poor performance or clicking sounds while attempting to view/access the drive may be indicative of a defective drive.

Regardless, at this point, a system re-install is not likely to help with your issues (based on the problem description). If you are at all concerned about data loss, or are hesitant to attempt diagnosis/troubleshooting of your machine, I would recommend taking the machine into an Apple Authorized Service Provider or Apple Store for further assistance.


Where are / are the "counting hand" cursors used in macOS

They're probably leftover
Origins and Classic Mac OS
The gloved hand icon, designed by Susan Kare, has been with us since the first version of Mac OS. However, it looks like the counting version didn't appear until System 6.0.4. System 6.0.4 introduced a new installer version—3.0—designed to support customizable multi-disk installations. As part of this, we get a few new loading icons! This includes the hand in question, which plays a counting-up animation during installation.

Fun fact: if you type "ski" on the setup screen, you get a little Easter egg: an alert box which allows you to choose from one of five different idle cursors!

You'll notice that (among others, including what looks to be the precursor to the current idle "busy but clickable" icon) is the classic watch. However, notice the hands; this isn't quite the same version. System 6.0.4 didn't include an animated watch—only a static one—but the one in this installer includes an animated one. We can confirm this by using ResEdit to inspect the installer.

Even after installation, the animated icons aren't copied over to the system.

This means that there's no way for other programs (or even the system) to use it, short of manually copying the icon from the installer and using it themselves. Different icons came and went between installer versions (7.0 and 7.1's installers do away with the Easter egg and cut the icons down to the animated wristwatch and hand), but they remain exclusive to the installer. I would say this was an intentional decision to have exclusive icons to the installer, but the animated icons (including the famous animated wristwatch) were later added to the System installation (I'm not sure by exactly which version, but sometime between System 7.1 and Mac OS 9.)

So if they were added intentionally, surely something must have been using them. The watch certainly gets used plenty; however, I haven't been able to find anything that uses the hand outside of the installer. Further, there's no option I could find in the Control Panels (Appearance, General Controls, Mouse, Screen, Text, etc.)  to switch to use the hand over the wristwatch, so it's not an optional extra.
OS X
The wristwatch was replaced by the blue waiting animation during the jump to Mac OS X (though it wasn't respected in all conditions, such as the standard cursor displaying in response to the CSS cursor: wait; as recently as macOS 10.13.6 High Sierra), but stuck around regardless and all the way until macOS 10.15 Catalina with the deprecated Carbon interface (and occasionally some other apps for no clear reason, though it may have something to do with system resources or other GUI frameworks). Just like with Classic Mac OS though, there's no way to swap out either the old wristwatch or the current blue-spinny-ball for the counting hand through any "normal" settings. The hand, including the counting version, has also received updated artwork throughout the years, so it's not just like they've been left unattended.
So, if it's not being used as an alternative to the waiting cursor, could it be used for something else?
Digging a bit deeper, we find that the cursor is represented using an NSCursor object under macOS. Here we can see all the different types of static cursors available to developers—including the hand, in three of the six positions: closed, open, and pointing. No animated cursors though, and we're still missing two of the positions.
Unfortunately, I couldn't find Apple's source code for the NSCursor. However, GNUstep, an open source GUI framework that tracks pretty closely to the official Apple Cocoa framework has an NSCursor class. Unfortunately, still no direct mention of the other hand positions. There is a count method, but there's no clear documentation for it nor code usages I could find, let alone anything to tie it to the hand. The only macOS application I was able to think of that  features a regular countdown is the Screenshot application; however, it doesn't use the hand, and neither does its older counterpart, Grab (despite the name.)
So, my guess? They needed three of the six positions, someone ported all of them for sake of completeness, and no one has seen any reason to remove them. As far as I can tell, without manually including the assets or work by the end user, they're pretty much inaccessible to developers since macOS's sole remaining native GUI framework provides no clean way to access them.


There will be no problem.  A SATA SSD has the same connectors as a SATA HDD drive so the connectors are identical.

To use you SSD in the optical bay, a optical bay drive kit is required.  You simply need to remove the SSD from the kit and replace it with the HDD into the same optical bay kit.

To answer your question...

  Does it even matter?

Nope.  It makes no difference.


Move 1Password vault from old Mac to new Mac?

Yes, there's a much simpler way. In fact, you have a number of options, but based on your question I recommend the following:

On your new Mac

Do as follows:

Install 1Password on your new Mac
When it launches the first time you'll see a screen similar to the one below:

Select the More Options... option to reveal the Restore from Backup option.

Click on the Choose Backup... button
Navigate to where 1Password has saved its automated backups on your old Mac (if your Macs are not networked, then copy the backup onto a Flash drive first and use this for the new Mac)
Click the Restore button

NOTE: As mentioned above there are a number of ways you can do this. You may want to read the How to move your 1Password data to a new computer or device for other options.


Native Foreign Exchange Trading Software

Based on this, it seems that your best choice may be some cross-platform Java app. Another site has reviews of other products.

Everything I've seen from those sites and others in this Google search reeks of marketing and astroturf, so it may behoove you to be wary.


How to change group owner on a large directory containing locked files

The following is an example of how I would workaround the issue by creating a wrapper script for the chgrp command to act upon a target directory having issues with locked files.

Using a bash script, named chgrpld, I'd pass it the same command line arguments (options, operand and directory) I would if executing chgrp on a directory. Note that my naming convention was simply to add the letters ld to it representing locked directory, in that it works on directories that are locked, or not, and or containing files/directories that are locked too. So where I'd normally use, e.g., chgrp -R staff foo, where foo is a directory, I'd use chgrpld -R staff foo instead. The script is also coded to work on a directory that is not locked and or does not contain locked filesystem objects as well, thus allow the use of chgrpld as a regular replacement for chgrp when targeting a directory, if I don't want to check for locked filesystem objects first or have chgrp fail first to then have to use chgrpld anyway.

Note: This script employes a limited amount of error checking, enough to work under limited testing conditions. It is not coded to handle an embedded newline in the name of a filesystem object, which IMO doesn't belong there in the first place! Feel free to modify as needed/wanted to suite your needs, adding additional error checking if/when wanted/needed.

The testing environment was OS X 10.11.5 in a temporary directory, as shown in the listing below, having two directories, each with one file in it and one of the files locked. One directory/file set is in the admin group and the other set is in the staff group and I'm wanting everything to be in the staff group. (See Testing Note at end of answer for additional testing information.)

The Terminal output shows:

A recursive directory listing.
An attempt to use chgrp, showing its error output.
Using chgrpld, executing without error.
Another recursive directory listing, to show the group has changed.

$ ls -lRO
total 0
drwxr-xr-x  3 user  staff  - 102 Aug  9 2:00 bar
drwxr-xr-x  3 user  admin  - 102 Aug  9 2:00 foo

./bar:
total 0
-rw-r--r--  1 user  staff  - 0 Aug  9 2:00 foo

./foo:
total 0
-rw-r--r--  1 user  admin  uchg 0 Aug  9 2:00 bar
$ chgrp -R staff foo
chgrp: foo/bar: Operation not permitted
$ chgrpld -R staff foo
$ ls -lRO
total 0
drwxr-xr-x  3 user  staff  - 102 Aug  9 2:00 bar
drwxr-xr-x  3 user  staff  - 102 Aug  9 2:00 foo

./bar:
total 0
-rw-r--r--  1 user  staff  - 0 Aug  9 2:00 foo

./foo:
total 0
-rw-r--r--  1 user  staff  uchg 0 Aug  9 2:00 bar
$

To create the chgrpld bash script and have it available at the command prompt:

In Terminal:

Type, touch chgrpld and press enter.
Type, open chgrpld and press enter.

From the Browser:

Copy and paste, the code below into the opened chgrpld file and save it, then close the file.

Back in Terminal:

Type, chmod +x chgrpld and press enter.
Type, sudo mkdir -p /usr/local/bin and press enter. Note that on a clean install of OS X 10.11.5, the bin directory at /usr/local did not exist even though it's already in the PATH.

Type in password and press enter.

Type sudo cp chgrpld /usr/local/bin and press enter.

Type in password and press enter. (If necessary.)

chgrpld should now be available to use, just like the chgrp command.

Source code for chgrpld:

#!/bin/bash

o="${@:1:$(($#-1))}"
d="${@: -1}"
if [ -d "$d" ]; then
    f=".locked_files_list_$(date "+%s")"
    find "$d" -flags uchg > "$f" 2>/dev/null
    if [ -s "$f" ]; then
        while read -r l; do
            chflags nouchg "$l"
        done<"$f"
            $(chgrp $o "$d")
        while read -r l; do
            chflags uchg "$l"
        done<"$f"
        rm "$f"
    else
        rm "$f"
        $(chgrp $o "$d")
    fi
else
    echo "  \"$d\" is not a directory!..."
    exit 1
fi
exit 0

Synopsis: chgrpld [−fhv][−R[−H | −L | −P]] group directory

See man chgrp in Terminal for description of options and group operand.
directory is the name/pathname of the target directory that is locked, or not, and or containing files/directories that are locked too. Note that unlike chgrp which allows multiple objects, e.g. group file ... to act upon, chgrpld is coded to act upon one target directory, and recursively with the -R option, at a time.
Note: The user invoking chgrpld must belong to the specified group and be the owner of the directory and locked filesystem objects, or be the super-user.
As expected in SIP versions of the OS, this will not work upon SIP protected filesystem objects if SIP is enabled.

The image below shows syntactical highlighting of the code with spaced and indented comments for easier reading to help explain a little about what the code is doing.

Testing Note: Note that even though the testing environment shown above is limited nonetheless I did test it under a more complexed hierarchal directory structure with many more locked nested directories and files, with names containing spaces, and or backslashes within the filename, without issue. Obviously for demonstration purposes, I'm only showing a bare minimum structure for proof of concept. Again, as noted above, "It is not coded to handle an embedded newline in the name of a filesystem object, which IMO doesn't belong there in the first place!".


How do I update macOS App Store apps to the latest compatible version?

Xcode can be updated by downloading the appropriate release from the Additional Downloads section of https://developer.apple.com/ - for Mojave, the latest compatible version is 10.3.1, or consult this Xcode compatibility table for other macOS versions (as suggested by aMike—thanks!)
It can be installed simply by uncompressing the downloaded .xip file and then dragging Xcode.app to /Applications/.


In iTunes, click on your device. Scroll down a little and click Manually Manage Songs. Then go to music (on the side) and add your song.

If you have the iTunes sidebar enabled, you should be able to drag your song on top of your iPod, and it should sync.


Why is the Recovery HD mounted when running Software Update?

Software Update checks and updates both your running Lion and your recovery partition, so that in the event of a significant security issue booting to the recovery partition won't instantly open you up to attack.  (Compare booting unpatched Windows XP from DVD or a vendor recovery partition for recovery purposes; it has severe security issues fixed by service packs.  I'm not picking on Windows here; XP's quite old at this point, and was the biggest target out there for years, and security is a rapidly moving target.)  Given the recent growth in Mac malware, this is a good thing.


It honestly seems like you have already tried everything a genius bar would try themselves. However I think I might have some attempts here to help you out.

All boot-up key combinations can be seen from here:
https://support.apple.com/en-us/HT201255

Remove all connected USB, HDMI, or other plugged in devices including power cable. Try booting again with holding option to select a disk. I recommend doing this after steps 2 + 3, but remove cables first.
Lets ensure you are indeed resetting the SMC. This works best without 100% battery, because the light will be orange when charging and the computer is off. While off and the light is orange, hold down shift+control+alt/option and then after holding those three keys hold the power button a moment and release and watch the light change from orange to green to orange again. Volume should also get reset from this. (This can be done without any issues involving firmware password)
Clearing NVRAM by holding Command-Option-P-R. NOTE: This will require your firmware password to clear it, but I don't think it will clear with one as I've noticed it doesn't for my MBPr mid 2012. So if you can, remove the firmware password and then try this. But from a command-line terminal the following command will also clear your NVRAM.

Requires Administrator privileges! This is also funky with MacOS Sierra due to new restrictions with their attempts for a new secure system meaning it'll require you to be in safe mode to run it.

sudo nvram boot-args -c

I have more info on boot-arguments if necessary. Just ask.

Boot into Internet recovery by holding Command+option+R (Differs from normal recovery because this downloads your original factory release OS recovery rather than using the partition of your current OS on disk.)
If it is hardware, lets try Apple's Intel CPU check by holding down 'D' while booting up. This is a hardware test and takes a while.

Let me know how you make out.


iPhone battery life is awful even after replacing it

It is a common issue for an iPhone to have premature battery life draining, I can't speak to the self replacement, but generally the fastest and best course of action is to follow the steps for syncing your information to a personal information management software(address book, ical, etc) and restoring the device as new.

The step by step instructions are listed in:
 How to back up your data and set up as a new device

Again just to reiterate, you do not want to restore from a backup in iTunes, but restore the device into a factory default state. If it isn't fixed by that, it's likely a permanent hardware problem.


How can I move junk emails on my iPad without displaying the message body?

A spammer could validate reception by inserting an image which is hosted on a remote server in a HTML email. A unique code per recipient could be appended to the URL of the image, at which point the remote server can know which addresses recieved and opened the email.

While the default setting on iOS is to load remote images automatically (and hence makes your email address vulnerable to this kind of tracking), you can change this to Off in Settings - Mail, Contacts, Calendars - Load Remote Images.

Please note that this will prevent any remote images in any email to be loaded automatically, and therefor possibly breaking the layout of HTML emails, but you can always manually load the images in an email by tapping the appropriate button at the bottom of the email body.


Where are you getting your version of pgrep from?

The version I have from MacPorts is coded such that if you do not supply a pattern it will match all processes even if you have qualifiers such as the -P option.

When I issue pgrep -P<ppid> I get a full list of processes.  If add a pattern as in pgrep -P<ppid> \. then it works as expected only providing processes with the given ppid.

As to the behavior difference, maybe you have a couple versions of pgrep on your machine and the jenkins jobs have a different PATH so are finding a different version?

From terminal window you can look for multiple versions with:

mdfind -name pgrep

I also suggest you compare the PATH variable used in the job vs. interactive.

To view which file the shell will use, you can use type -p pgrep and type -a pgrep will show all places in the PATH where pgrep can be found.


How do I use/enable Tor when using Terminal?

Running Tor provides a standard proxy you can connect to at localhost:9050 with anything that supports the SOCKS protocol. Just search online for something like "SSH over Tor", or if that fails, "SSH through SOCKS proxy".

Two examples:

SSH:

ssh -o ProxyCommand="nc -X 4 -x localhost:9050 %h %p" example.com
curl:

curl --socks4a localhost:9050 example.com


Will smoking around my apple products void their warranty?

Apple warranty doesn't cover damage caused by (d) to damage caused by accident, abuse, misuse, fire, earthquake or other external cause so it's really a matter of how much nicotine, tar and smoke gets ingested into the product.

I have seen iMacs brought in for repair that were stained the color of a cigar and there were inches of dust and residue coating the blowers, vents and the internal temperatures were significantly above normal due to exposure to cigarette smoke. I've never seen an iOS device so coated with nicotine that it would be a problem since they don't have blowers / fans and need airflow to function properly, but I have faith that someone is capable of getting enough coating on anything to cover up any size gap large or small with enough effort.

It's really up to Apple whether they cover each repair based on how they train their service staff and common sense shows that most devices won't be affected enough by smoking to matter. It's not so much as voiding a warranty as the warranty is designed to cover defects in manufacturing and not problems caused by operating environments that are extreme or prolonged.

If your product were placed in a sealed plastic bag and you took it to a smoke free room and had a child sniff it - you probably wouldn't be denied service for something that wouldn't make someone recoil from the amount of nicotine and tar that permeated the air left in the bag after a few hours of being removed from the environment where it normally is stored and used.


Can Not Unblock Application on High Sierra

Magic Prefs is the issue. Get rid of that.

see:

https://www.uninstallmacapp.com/magicprefs-removal.html

and

https://github.com/tekezo/Karabiner-Elements/issues/1017


Combine powerpoint presentations without changing template/background?

Unfortunately, this feature is not currently available in PowerPoint 2016 for Mac. If you would like to request this feature, please leave us your feedback at the PowerPoint for Mac User Voice Forum. This will help us prioritize new features in future updates.

https://support.office.com/client/Can-I-compare-and-combine-two-PowerPoint-2016-for-Mac-presentations-fc614567-0939-4842-aa24-5eca01a356a5?NS=MACPOWERPOINT&Version=16&AppVer=MPP160

The link in the help article goes to the general PowerPoint UserVoice page. The specific feature request on UserVoice can be found at:

https://powerpoint.uservoice.com/forums/288925-powerpoint-for-mac/suggestions/10966962-please-add-the-ability-to-compare-and-combine-two


Most likely this is down to the fact that your OS is not updated.  The current version of Keynote requires macOS 10.12.  You can confirm this by deleting Keynote from your applications folder, starting AppStore and installing Keynote.  You will get an error message that a later version of your operating system is required.


How do I restore the previous "Command-Space" search?

To limit what Spotlight shows

Open System Preference > Spotlight

Disable Spotlight Suggestions..or anything you do not want to see.


CS6 Illustrator on Mac OSX 10.15 Catalina - anyone managed to run it?

I was able to get Photoshop CS6 to work with the following. Might work for Illustrator.

package contents > contents > MacOS and launch the executable

(to find the package contents, find the file "Adobe Photoshop CS6.app" in the Apps folder, right-click and select "Show Package Content")


Bluetooth tethering between Android device and MacBook

I had to install a system extension called HoRNDIS in order for it to work.

Link: HoRNDIS on GitHub

UPDATE: macOS will be disabling system extension in the 10.16 version, so I have no idea what the solution will be then.


Block a built-in keyboard in macOS 10.15.6

I've checked Karabinier once again and I found a solution that will block build-in keyboard without messing QMK's OSM.

Disable a built-in keyboard when external is plugged. For me it's Planck EZ.

Be sure to also uncheck events modification in the "basic configuration" tab for the same keyboard.

That configuration seems to work for me.


What Windows 7 Product Keys will work for Bootcamp!

At least the following versions of Windows 7 will work find on bootcamp.

Home Premium
Professional
Ultimate

all work. In order to obtain a key for one of these versions, You will need to find an ISO and a Matching Product Key for the same version of windows.

Microsoft offer downloads of Windows 8 from the Microsoft Store. If you're set on Windows 7, then your options are limited.

If you have a MSDN account, you can download an MSDN ISO from there.
You can purchase Windows 7 from a reseller (Amazon, NewEgg, ) and borrow a USB optical drive to use a retail CD/DVD.
Download the Relevant ISO directly here (Content hosted on Digital River), and then use the Windows 7 USB/DVD download tool to install.

Home Premium SP1 (English, 64-bit)
Professional SP1 (English, 64-bit)
Ultimate SP1 (English, 64-bit)
Home Premium SP1 (English, 32-bit)
Professional SP1 (English, 32-bit)
Ultimate SP1 (English, 32-bit)

I'd wager that each of these methods would work for Windows 8, except the direct downloads, which link to Windows 7 only.


Unable to restore a deleted app from App Store Connect

You want to contact Apple Developer Support in order to get the issue resolved. They can help you getting the right attribute's value changed.


How do I prevent someone from switching off mobile data from control center in iOS 11 while the iPhone is locked?

Do not worry, it is still possible.The way is a little long. Just follow these steps:

Go to Settings > General > Restrictions
If you have setup Restrictions, enter your Restrictions passcode. If you have not set it up yet, enter a password (twice) and enable Restrictions. Make sure you will never forget this passcode; it is required even when resetting the phone. If you forget it, not only will you be disallowed from entering the Restrictions section, you will also not be able to reset your iPhone.
On Restrictions page, go down to the “Allow Changes” section and click on “Mobile Data”.
Set “Mobile Data” to “Don’t Allow Changes”. Leave the “Data Plan” to “Allow Changes”.
Open control center once and close it.

Now, the control center widget will not toggle mobile data and you can still go to settings and disable it while the iPhone is unlocked; just like you were doing till iOS 10.3


Can I delete my iPhoto themes folder (/Library/Application Support/iPhoto/Themes)?

I found if you leave all the folders starting with Printing... and the Assets folder that are in the /Library/Application Support/iPhoto/Themes folder, you can still print.

Just delete all the other folders and you will regain a chunk of disk space.


I can't add/resize a partition with more than 36 GB - there is plenty of free space

For create a 600g free space from the terminal, the command is
sudo tmutil deletelocalsnapshots /

or
tmutil thinlocalsnapshots / 9999999999999 4

then
diskutil ap resizecontainer disk1 1.4t


Permanently enable to show hidden/system files when searching in Finder

To see hidden files

defaults write com.apple.finder AppleShowAllFiles YES

Then re-launch the Finder.


Macbook Pro detects the screen, but external screen stays black (mini dp to hdmi)

When connecting an external display to a MacBook Pro (MBP), sometimes you'll get lucky, and both electronic devices will recognize each other and adjust their own settings properly, and the laptop will be displayed on the TV.  However, this doesn't always happen.  When it doesn't...

First, always check and make sure the external display (TV in your case) is powered on and all its cables and connections are properly seated.  In order for the TV to sync, a few things need to happen, the MBP has to recognize that a TV is connected (which you say is happening), the TV has to recognize that a video source is present (unclear if this is happening), the TV has to be set to the proper Input or Source (Input numbers on the back and sides of TV don't always correlate to the Input number in the TV Menu), and the format of the video coming from the laptop must be supported by the television.

It sounds like the laptop is doing everything it should, so focus your attention on the TV.  Cycle through all the different inputs in the TV.  Try different HDMI ports.   If that doesn't work, it could actually be the Mini DP to HDMI adapter.  Try and connect the laptop and adapter to another HDMI device.  If it still doesn't work the another device, then the adapter may be bad.  If it does work with another device, then either the TV has an issue with HDMI inputs, or the settings in the TV are preventing it from working properly.  Possibly try and reset the TV back to its default settings.


Hope this isn't too late, or that at least it is useful for others.

I tried http://support.apple.com/kb/ht1194 several times to no avail. I was simply unable to authenticate with the diradmin account.

An Apple support person recommended:

Archive the OD from the Server.app → OD panel → action menu → Archive Open Directory Master…
Select the server in the list and click on the minus button Once the OD has been destroyed, You will see the OD is now Off.
Create the OD by switching back to ON and create the OD again with the same information as before (including the DirAdmin)
Create a BackupDirAdmin account with WGM to have a backdoor, just in
case
In terminal restore the archive you saved in step 1 using

  sudo slapconfig -restoredb < archive-path >
  Retest the authentication after the directory has been restored.

  Try as I might I couldn't get this to work, and then I noticed that in Mountain Lion server the slapconfig command had lost the -merge option so restoring the database was dumping both the new DirAdmin and backdoor account....

Bizarrely, after a lot of digging around I saw that mkpassdb has a -setadmin flag, so I tried to use this to elevate another slotId to admin rights. This worked, and then I was able to reset the password for the DirAdmin account.


No, according to Apple on this list. It does not contain H.265.


Fill an area selected using 'Instant Alpha' with a specific color in Photos

To fill color using instant alpha:

Select the area with instant alpha.
Press delete. If asked to save as png click yes. This makes a picture with the instant alpha areas transparent.
Selection all (entire picture) and copy.
Paint a rectangle of desired color over instant alpha areas.
Click paste. This puts back in the picture with transparent instant alpha areas over the color background.


AirPort Extreme is disconnected from the internet when in bridge mode

This is not a real solution, but it might help if you have the same issue.

I still get the problem, and every time I get it, I restart the AirPort Extreme (by unplugging it from the outlet, waiting a bit, and plugging it back), and it works (until it stops working again). This happens around once a month or every other month, so it is not a big deal for me now.


There is a default key binding to perform this function: shift +  ⌃ (control) + →.

If this won't serve, you may be interesting in Jacob Rus: Customizing the Cocoa Text System which provides instructions for creating your own keybindings dictionary.

See also:
Apple Mac OS X Developer Library:Text System Defaults and Key Bindings
Ask Different: DefaultKeyBinding.dict - old-style NeXT format vs XML plist format


osx-display-positioner is a command line tool which lets you save and restore the position of multiple displays. The description of the tool doesn't discuss using it to set the display position, but if the settings file is readable and editable, you might be able to use it to accomplish your goal.


How to resolve rejection on App store with In-App purchase, free trial and links of web application

Remove Indirect Links

You need to remove every link from the privacy policy and terms of conditions pages. Any link from these pages can indirectly lead to your alternative payment methods.

The key phrase in Apple's response is:

  …that could indirectly provide access…

Any link in or from your app should be carefully checked for ongoing links.

Multiple Payment Methods

A service accessed non-exclusively through an iOS app can support multiple payment methods. From within the iOS app, the only method of payment can be through Apple.


Finder's "Date Added" vs. "Date Created"

Put simply:

Date Added refers to when the item was added to the directory in question.
Date Created refers to when the item was actually created.

The best way to explain this is to use the example of a screenshot. If you took a screenshot at exactly 12:05pm on 1 March 2018 it'll have a Date Created of 1 March 2018 at 12:05 pm. 1

Now, let's say you move that screenshot at 8:00am on 10 April 2018 to another folder (e.g. you move it from the desktop to your Documents folder), then the Date Created is still the same, but the Date Added will show 10 April 2018 at 8:00 am. 1

Depending on what the item's history is, it can have the exact same date and time in both columns.

1. Note the actual format will depend on your macOS configuration


Outlook 2011 reports incorrect font size

As far as the difference in versions of outlook, MS actually has an official statement about that:
http://support.microsoft.com/kb/2783553

Summary
Email messages that are sent from Microsoft Outlook for Mac 2011 to
other operating systems may have with a different font size than the
original email message font size. For example, when text that has
Calibri font size 14 is sent from Outlook for Mac 2011 to Microsoft
Outlook or Outlook Web App, the text may be displayed as a font size
other than 14 when the message is received on the other operating
system.
More information
This is caused by the pixel-to-point or
point-to-pixel conversion that happens between the Mac and Windows
operating systems.

In other words they're using points in OSX and pixels in Windows.


I have suspicion a Mac user has visibility to my text messages

The short answer to your question is: No.

The actual longer answer is that if that guy with the Mac happens to work in, infiltrate or hack your cell provider or one of it's suppliers, and work their way into the SMS message system - then yes, it could be theoretically possible.

The cost of doing so, the risk of getting caught, the punishments connected with getting caught and the extremely low return of being able to read your group text messages means, that this is probably not the case.

You would probably have to be just as crazy as the guy actually doing this to be able to think that this is the case.


If you don't like all the #*# and *~ files floating around in your working directory, put the following elisp code in your .emacs file.

;; Put autosave files (ie #foo#) and backup files (ie foo~) in ~/.emacs-backups/.
(custom-set-variables
  '(auto-save-file-name-transforms '((".*" "~/.emacs-backups/autosaves/\\1" t)))
  '(backup-directory-alist '((".*" . "~/.emacs-backups/backups/"))))

;; create the autosave dir if necessary, since emacs won't.
(make-directory "~/.emacs-backups/autosaves/" t)

Reference: http://snarfed.org/gnu_emacs_backup_files


How to fix Right-click issue in WebStorm on Mac

After I got the 1.5 update of BetterTouchTool, and upgraded WebStorm to 11.0.3 the problem vanished.


Yes–but you'll need a hardware upgrade and some third party software.

Continuity relies on two pieces: Bluetooth and Wi-Fi. These need to be "correct" to work.

Check your iMac to see what Wi-Fi chip you have. To do this, open up System Profiler and look under Wi-Fi. If you have an Atheros chip like this teardown by iFixit shows, you'll need to replace it with a Broadcom BCM94360CD chip. If, however, you have a Broadcom Wi-Fi chip, you can choose to either replace it with the same board, or you can simply install a Bluetooth 4.0 dongle. If you do decide to use a dongle, note a few things:

Bluetooth 4.0 dongles based on the Cambridge Silicon Radio CSR8510 A10 chip  won't work. Try to use dongles based on the Broadcom BCM20702 chip, which are similar to the ones used by Apple, such as the Asus BT400, IOGEAR GBU521 and GMYLE
Instant Hotspot currently doesn't work reliably when using a dongle.

Once you've done that, use the Continuity Activation Tool to activate Continuity with your upgraded Mac: just run the app! Note, as always with third party hardware that works on a low level, you should use this with some caution. Make sure you have a backup (just for good caution), and nothing is 100% guaranteed. With that said, it's a very reputable tool, so I wouldn't be too afraid.


Make an external monitor from broken MacBook Pro

I couldn't find anything about that specific mac, but the instructions for doing so are all the same:
Instructables, old laptop screen monitor conversion
 I hope this helps you creating your monitor.


I cannot see Time Machine in Finder to eject it

If you want to be safe, power down your Mac and then disconnect the drive. If something is stuck, the os will alert you to the specific program so you can decide to wait. Most drives can be repaired in disk utility over night, but time machine drives can take days to "repair" so I would recommend not pulling the drive if you are uncertain that it ejected cleanly.

The restart also fixes 95% of the cases where thing should like this happen and your Finder sidebar should be accurate again.


ssh-askpass on Mac OS 10.9/Mavericks broken?

Problem solved! When in doubt, read the source...

ssh-agent won't call ssh-askpass unless the DISPLAY env variable is set.
Most likely it has been working on earlier installations, since I had X11 installed. Not on this box (yet).

Workaround:

Patch the ssh-agent LaunchAgents file:

--- org.openbsd.ssh-agent.plist.orig    2014-05-22 09:55:53.000000000 +0200
+++ /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist    2014-05-22 09:56:31.000000000 +0200
@@ -9,6 +9,11 @@
        <string>/usr/bin/ssh-agent</string>
        <string>-l</string>
    </array>
+   <key>EnvironmentVariables</key>
+   <dict>
+       <key>DISPLAY</key>
+       <string>:0</string>
+   </dict>
    <key>ServiceIPC</key>
    <true/>
    <key>Sockets</key>

Then restart your computer.

Or reload it by force, however SSH_AUTH_SOCK will be invalid in all new terminal sessions:

launchctl unload /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
launchctl load /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
export SSH_AUTH_SOCK=$(launchctl getenv SSH_AUTH_SOCK)
ssh-add -c ....

Problem solved!

Note: the ssh-agent plist file will probably be overwritten on upgrade... Might be cleaner ways to ensure DISPLAY is set.


Is the 30 inch apple cinema display supposed to feel hot to the touch after an hour?

The clue is in the wattage rating of the power supply: 150W. Yes, those displays do create a lot of heat. They are hot 'to the touch', so that the heat can dissipate through the exterior surfaces.


Testing an iPhone 5C without a battery or screen

I think on iPhones the 3 second vibratíon indicates a screen problem


How can I assign "middle click" to a button on my mouse?

Install the Logitech Control Centre System Preference Pane

You het a new Preference Pane "Logitech Control Center"
You will get show attached Logitech Mice etc. Choose the one you want and then you will get a screen to assign buttons to actions


Calendar won't let me add new events on my iPhone

I had the same problem, went into the calendar, tapped on "Calendars" in the bottom center, here there were two calendars listed - holidays, and birthdays.  I pulled down on these items (like scrolling, the screen refreshed then showed 5 calendars.  From some reason I-cloud was not selected, I selected this and all the calendars listed became active.

I went back to the calendar view (by month) and am now able to add events.

BTW, none of the other options I have tried worked, only this method.  Under general settings both my iCloud and Yahoo calendars were active, but under the actual program they were not.  Don't waste your time in the general settings change it from the program.


This is a limitation of find. The POSIX standard specifies that the return status of find is 0 unless an error occurred while traversing the directories; the return status of executed commands doesn't enter into it.

You can make commands write their status to a file or to a descriptor:

find_status_file=$(mktemp findstatus)
: >"$find_status_file"
find … -exec sh -c 'trap "echo \$?" EXIT; invalid_command "$0"' {} \;
if [ -s "$find_status_file" ]; then
  echo 1>&2 "An error occurred"
fi
rm -f "$find_status_file"

Another method, as you discovered, is to use xargs. The xargs commands always processes all files, but returns the status 1 if any of the commands returns a nonzero status.

find … -print0 | xargs -0 -n1 invalid_command

Yet another method is to eschew find and use recursive globbing in the shell instead: **/ means any depth of subdirectories. This requires version 4 or above of bash; macOS is stuck at version 3.x so you'd have to install it from a port collection. Use set -e to halt the script on the first command returning a nonzero status.

shopt -s globstar
set -e
for x in **/*.xml; do invalid_command "$x"; done

Beware that in bash 4.0 through 4.2, this works but traverses symbolic links to directories, which is usually not desirable.

If you use zsh instead of bash, recursive globbing works out of the box with no gotchas. Zsh is available by default on OSX/macOS. In zsh, you can just write

set -e
for x in **/*.xml; do invalid_command "$x"; done


You might have an old version of iTunes which does not support folders. The current version is 10.0.1 so I would highly recommend upgrading. If you have the latest then try to reinstall it. This should fix your app/playlist issues.

As for the applications being randomly added ... uncheck the "Automatically sync new apps" box if it is checked. If it is already unchecked, then hopefully reinstalling iTunes will fix this too.


Error “Not authorised to send Apple events to Terminal.” when starting Maxima

I ran into the same issue, tried the things in the link.  Eventually this is what worked for me:

Open Terminal.app
Navigate to the `Maxima.app/contents/MacOS/ folder:
% cd /Applications/Maxima.app/Contents/MacOS

Run the applet binary:
% ./applet

This finally triggered the pop-up requesting access.  Click to allow access.


Yeah, that installer is from 2011 so it may not work anymore... The following site suggests they dropped support for it in 10.10:

http://www.dell.com/support/article/us/en/19/SLN294375/EN

That being said, does it work if you select a generic driver?

Looks like people have used the SAMSUNG ML-191x 252x SERIES driver with success previously:  http://en.community.dell.com/support-forums/peripherals/f/3528/t/19450382


How to change some information in a shell prompt.

Add the following line to the end of your ~/.bashrc:

export PS1='\u:\W \$ '

Your prompt should now be voloda2:~ $, which is your username, a colon, the current working directory, and a $ if you are a regular user, or a # if you are root. For more prompt customization options, type man bash or visit here for a full list of options.

If you just want to change john to alex, then use export PS1='alex:\W \u \$ '. john is the name of your computer, so if you have appropriate administrator privileges open System Preferences, select Sharing and change the name to whatever you want, and your prompt will automatically update. However, if you are on a network, at work, or using a shared computer, talk to your local system admin before doing this.


How can I find out what is deleting my ~/.Trash folder?

Open Terminal.app
Type in (or better copy-paste ;): curl https://raw.github.com/gist/1043757/9b55d3ae174ea40a1ff3b031fec7f87c5a58aa0d/gistfile1.d > usage.d
Execute sudo dtrace -s usage.d

This will display every file deletion on your system. If you want to only display the deletion of "~/.Trash", add | grep .Trash to the last command.


How can I clean a MagSafe power port on my MacBook Air

Start with a pencil eraser or small wooden dowel / tool to gently dislodge the debris. As the magnets are very strong, you may need to use tape with a strong adhesive to grab the foreign material. Clear packing tape strikes a good balance between not leaving residue and getting the crud out. Duct tape also is nice, but a bit more sticky and may grab the plastic covering if it is wearing or the adhesive is warm from internal heat.

So:

Power off the mac
Let the connector cool
Be gentle - don't tear the magsafe covering
know you can get it serviced with a new connector if needed for approx $40 in labor and the part might run you between $10 and $40 depending on the model.

And I know Apple recommends a toothbrush and a cotton swab. The first will get off huge easily removed debris, but not staples and highly magnetic items that are small. The latter is actually quite nice in many cases as it will grab items with a sharp edge. Usually when things are gunked up enough to displace the adapter - you'll have many fine pieces accumulated and need tape or stronger tools than a q-tip.


How do I copy files from the photo library (not the Camera Roll) to a PC

Note - it's not entirely clear which photos you mean, I'm assuming you're talking about photos in albums created by apps like Hipstamatic, LINE camera, PhotoToaster, etc.

I think the official answer is iTunes somehow (on the app screen, the data section, bla bla bla), but I've found that not every app works well with it. Some apps are designed specifically to make it hard to get pictures or moves without some sort of online social experience being involved (Smule, for example).

I've found the one tool that always gets things out of my iPhone is iPhone explorer - http://www.macroplant.com/iexplorer/

I don't work for them, this isn't an advertisement - I've just used it to extract all kinds of things from my phone, and I've never had a problem with it.


Lion doesn't support that. It wasn't supported in Spaces under older versions of OS X, either.


/usr/sbin/uninstall? What is it/what does it do?

0942v8653's guess is right, /usr/sbin/uninstall is a command line uninstaller for Mac App Store apps.

The file URL must be specified as parameter. In my tests the path to the application did it:

$ sudo /usr/sbin/uninstall /Applications/Reeder.app
Preparing Uninstall...
Uninstall Began...
7%...
15%...
(...)
92%...
100%...
Uninstall Ended...

while non-Mac App Store apps couldn't be uninstalled:

$ sudo /usr/sbin/uninstall /Applications/Seashore.app
URL is not uninstallable: /Applications/Seashore.app

Interestingly, although I ran the command with sudo it still asked me for administrator credentials:

/usr/bin/uninstall uses the Uninstall private framework:

$ otool -L /usr/sbin/uninstall
/usr/sbin/uninstall:
(...)
    /System/Library/PrivateFrameworks/Uninstall.framework/Versions/A/Uninstall (compatibility version 1.0.0, current version 202.0.0)
(...)

just like the Dock:

$ otool -L /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock | grep Uninstall
    /System/Library/PrivateFrameworks/Uninstall.framework/Versions/A/Uninstall (compatibility version 1.0.0, current version 202.0.0)

That makes sense, because my tests showed that when an application is uninstalled inside Launchpad (by clicking the app’s delete button that appears when icons wiggle) uninstall is not used, but the Dock.


Offline installation of El Capitan from a Windows machine?

If there is an Apple Store near you, you can go in and they will allow you to download the installer.

You may also be able to find someone who can create the installer for you.


How to update from OS X El Capitan 10.11.6 to OS X Sierra 10.12?

I'm afraid your 2008 MacBook Pro can't update to 10.12. That OS doesn't support your hardware.

You'll need to find an older version of the NI software.


It seems the seller has a decent understanding of things and what you wrote smells of no bull.

Apple warrants goods in the country of purchase (which sets obligations on the warrantee and the warrantor). Do keep in mind that the original purchase date of the phone sets the warranty. A replacement phone would have the remainder of the original one year warranty and a 90 day warranty from the date of the exchange - whichever is longer on it's own (the 90 days isn't stacked / it runs concurrently with any remaining warranty).

Possession means you can register the phone and seek all service as if you were the original purchaser with a few exceptions. You probably can't return it and you would need a notarized bill of sale and original receipt to do things like bypass activation lock.

You can check your phone warranty status at https://selfsolve.apple.com/agreementWarrantyDynamic.do

You can add AppleCare just as the original buyer could. You can seek any and all other warranty services as if you were the original buyer without needing any proof of ownership or purchase.


Late 2009 MBP 15" battery drain on sleep after putting SSD and ram upgrade

You probably have one of the following enabled that could explain the power drain.

Power Nap or Wake on WiFi, disable them,

or read the small print that says what it will do in sleep :)

Also as said earlier, open the Console and type "Wake" in the search window of the Console.

Now look who and what is waking it up and what is it  for what reason and what is it doing about it.

As for your question why is it consuming more power, well you added more lights to the Christmas tree.

For example when HDD sleeps it does not consumes any power. The cussing SSD does consume power since it reshuffle it self from time to time, that is normal for SSD to refresh its memory cells.

UPDATE:

according to apple, you computer does not support the Power Nap mode settings thus enable/disable activity during the sleep.

So back to the Console reports:

Type "Wake" and look what is waking it up or keeping it awake based on time stamps.

Going on a limb, I would say it is your Trim support for the SSD, that you will find in the Console.

The TRIM command is an important disk command for SSDs that keeps your flash memory appropriately cycled so that you can achieve faster read and write speeds, as well as a longer lifespan for your SSD.


How can I know the top dowloaded apps in my country

How can I know the top downloaded apps (by category, say games, messaging, etc.) from the App store in my country?

Open the App Store app on your iPhone, iPad or iPod touch, navigate to the Apps tab and scroll down to access the section where you can see the overall Top Free Apps and Top Paid Apps as per the recent download statistics across all the categories.

The data is shown for the country associated with your iTunes and App Store account and it differs between the App Stores from different countries.
You can further scroll down to access the Top Categories section and can tap on the See All link to see all the major app categories.

You can then tap to navigate into a desired category to view the Top Free Apps and the Top Paid Apps in that category. The below example shows Top Free and Top Paid apps from the Education category.

How can I access Apple's Kid's App Store?

There is no separate Kids App Store, but Kids is available as one of the category within Top Categories. You can browse to the Kids category to see curated kid friendly apps.


I cannot open Safari, when I did open -a Safari error -10810 appeared

When opening an application with the open command, you should use the -a option, e.g:

open -a "Safari"

From the man page for the open command:

  -a application
       Specifies the application to use for opening the file

Note: If you use the -a option, you typically do not need to specify the pathname or even use the .app extension. Just the format as in the example shown above should work.

In Terminal, the executable permission (and others) output of:

ls -l /Applications/Safari.app/Contents/MacOS/Safari

Should be:

-rwxr-xr-x

If not, then in Terminal, run the following command:

sudo chmod 0755 /Applications/Safari.app/Contents/MacOS/Safari

This will ensure the proper permissions on the Safari executable and should stop you from getting the error you've got.


Why do symlinks sometimes vanish in Xcode?

Symlinks are often destroyed by some archiving tools, especially by those built into some versions of PHP, for example. Try to pack and unpack an archive and check if symlinks are still alive.
Also, symlinks won't be saved on NTFS or similar non-mac filesystem.
Please check if symlinks get broken after you access the drive from Windows computer.


iPhone 7 - cannot obtain IP address from home WIFI

Reset network settings on the iPhone

Go to Settings.
Tap General.
Scroll down to and tap on Reset.
Choose the option to Reset network settings.
If prompted, enter your passcode to proceed.
Then tap the option to confirm that you want to reset network settings on your iPhone.

When the reset is finished, your iPhone should restart on its own and then loads up the original network configurations. Don’t forget to reconnect to your Wi-Fi network to get back online and use online services.


.profile is not loaded on non-login /bin/sh

This is expected sh only loads ~/.profile when it is a login shell.

From Bash reference manual

  If Bash is invoked with the name sh, it tries to mimic the startup behavior of historical versions of sh as closely as possible, while conforming to the POSIX standard as well.

  When invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first attempts to read and execute commands from /etc/profile and ~/.profile, in that order. The --noprofile option may be used to inhibit this behavior. When invoked as an interactive shell with the name sh, Bash looks for the variable ENV, expands its value if it is defined, and uses the expanded value as the name of a file to read and execute. Since a shell invoked as sh does not attempt to read and execute commands from any other startup files, the --rcfile option has no effect. A non-interactive shell invoked with the name sh does not attempt to read any other startup files.

Of you want bash running as sh to use ~/.profile when not a login shell (e.g. keep current environment) use

env ENV=$HOME/.profile /bin/sh


Are you saying that the sleep/wake (top-most) button is not functioning/responding?  If so, you can access Assistive Touch in the iOS settings to give yourself a touchscreen method of mimicking many of the iPhone's hardware buttons.


Issues with iPhone 4 with music, apps, photos, etc.

There's absolutely no problem in syncing your iPhone with your new computer: your data will just get copied onto the desktop, but will stay intact on your device.


I encountered that bug again and solved it with the following Terminal command:

sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`

Within 5 secs Siri works, no need to log out / reboot.

Can somebody please check whether this solution works for you as well or not. And maybe someone can come up with a clue of what to do with audio drivers to stop this from happening in the future?


Internet Sharing Issues (WiFi to Ethernet)

I don't have a definitive answer, but I've got some ideas to start, and perhaps we can narrow it down as you try some things and provide more information.

For starters, check the lock status of the Sharing Preferences. The lock icon in the bottom left corner should be open when you make changes. I've run into some problems where the interface would allow me to make changes, but they wouldn't save because it was locked.

If it is open, set up sharing as you would, then lock it after. See if that makes the configuration stick.
Try removing /Library/Preferences/SystemConfiguration/com.apple.nat.plist (you may want to make a backup copy just in case). Then try re-enabling Internet Sharing (which should regenerate that plist file). It's possible something got corrupted in the configuration file.


"Mount" network share as a volume via SSH?

Use HomeBrew to install fuse4x and sshfs

The commands to install are:

brew install sshfs

when you run it, it gives two other commands that I needed to run in order to install the fuse4x kernel extension. Run them.

Then, to mount the ssh filesystem

mkdir ~/mymountdir
sshfs username@hostname:/home/thedir ~/mymountdir

it will ask you for your password.