How to make Chrome open a new window for external Links As some people might know, the default behavior for external links of Google Chrome is quite bad. I'm using Spaces, and opening a link in some application outside of Google Chrome while being on a different Space than the last used window of Chrome results in Chrome switching to the last focused window.

This behavior is just bad.

I want to change this behavior. On Windows, this is possible: How can you configure Chrome to open new browser instances in new windows rather than in a tab?

Sadly, I don't think this is possible on OS X Snow Leopard.

I'm already using a tool called RCDefaultApps. This is a system-control panel where I can specify default applications for different protocols. It just lacks the feature to specify additional command line arguments for the default application.

Can anyone help me there? Every hacks (aside from creating a custom Chromium build) are acceptable.

You can try using the AppleScript found on this page.

I just tried it out and it perfectly works fine in Chrome 12.0.742.122.

It's extremely easy to set up:

download the Bundle archive
double click it to unpack it
double click on OpenUrlInNewChromeWindow
open Safari and set the new "Browser" as the default browser in the Preferences.

The --new-window command option did it for me. ("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --new-window https://www.google.com)


Fixed tab-spacing for TextEdit on Mac Is there a way to set a fixed number of spaces for a tab indent? If not, can someone recommend a program that is simple like TextEdit, but also does have fixed tab spacing?

If meaning of 'tab indent' is 'tab stop' in TextEdit User Guide jargon then you can follow instructions in Set tab stops (short: while ruler visible manually drag tabs stop width)


Safari 8 leftbound URL with favicon In version 8 of safari the URL of a webpage is displayed centered in the adress-field, and the favicon (or apple-touch-icon) is invisible.

Only when I click into the adress-field the URL moves to the left edge and the favicon becomes visible.

What must I do to always have the URL displayed leftbound with the favicon visible?

This is what I've got now, but don't like:

This is what I want:

How can I get it?

btw:
Is there a way to display favicons in the tabs? sometimes its hard to navigate through many open tabs when there is nothing but text. Favicons in the tabs would be very helpful.

Edit:

If this is impossible, it would be nice to read this in an informed answer, just to have clarity.

You can show the full URL in the address field by going to to Safari > Preferences > Advanced and check the box "Show full website address." This won't, however, show the website favicon, but it's better than nothing in my opinion.


Emptying Camera Roll on iOS 6 I'm having a few issues with syncing pictures, which I haven't really nailed down enough to ask a question about exactly, but the rough version of it is that I think that my Mac running iPhoto has already downloaded most of my photos (but not any of my videos) using photostream before I get a chance to sync using a cable, and this results in the following behaviour:

iPhoto finds a lot of duplicates when I choose the iPhone device and choose to sync
iPhoto offers a chance to remove photos from your device that you just synced, but because it did not sync these particular photo duplicates over the cable because they already existed via photostream it does not offer to remove them
So it keeps finding the duplicates on my phone, and I have no easy way of removing the photos en-masse.

Now, the above is just background really, but any thoughts of a workflow for Photostream and cable syncing in tandem would be appreciated.

The issue for which I am raising this question is to do with my camera roll, and how to empty it on my phone.  I am aware that I can cable it up and use Image Capture to delete them all, but I was trying to find a more elegant solution.  I am aware also that I can individually (or in chunks by tapping on each and every one) remove them directly, but that's dumb.  So when I found this section in Settings > General > Usage > Photos and Camera I was pleased to see I could left swipe the items to delete the contents:

Yay!  Well, sadly not, as it appears to do nothing at all.  I have deleted the camera roll several times, and every time I go back it's right there, and indeed all my photos are still available.  Is this supposed to work, am I doing something wrong, or have I got some weird issue because it works for you?

Using the same method to remove podcasts from within the podcasts app works fine.

The easiest way to delete photos is to use Image Capture. That's how I've been doing it.

Connect your iPhone to your mac via cable.
Run Image Capture. It should bring up the pictures on your phone.
Select all images (or just specific ones).
Click the Delete button.

Edit 2 (Summary): I totally agree with the original post that the left swiping + Delete seems to do nothing at all; the images and thumbnails are still stored on the iPad after tapping Delete. In my case I had a huge thumbnail database on the iPad / Camera roll after deleting the original images via USB. I located the thumbnail database files via USB and deleted them manually, solving my problem. In the following section I explain how I did it.

I'm having the same problem, but not through using Photostream. The iPad 3 / iOS 6 reports a 727 MB large camera roll, even when it's empty, and left swiping and tapping delete does nothing to reduce this number. I have been taking a lot of pics, and have exported them to a Linux computer, and then deleted them (via USB / the afs protocol). A huge thumbnail database was still on the iPad.

Edit 1: When mounting the iPad in Linux, I got two afs:// shares. I found three database files under one of them in the subfolder PhotoData/Thumbnails. The files were named (and sized) - presumably - according to the resolution of the images within them (don't remember exactly, but something like 100x100blablabla.ithumbs). I deleted three such files, but left the fourth alone (an XML manifest with a different naming scheme). When re-entering the Photos app on the iPad, all thumbs were gone from all albums including the Camera roll, and under Settings -> General -> Usage the Photos app had flown down the list, now being about 10-20 MB. When tapping an empty thumbnail, the original (large sized) images showed up. I proceeded to do some testing by taking new pictures and verifying that they turned up in Camera roll with their thumbs correctly displayed, and they did.


Copy columns of tables on web pages In PDFs in Preview I can select individual columns of tables by pressing the option key while dragging. This selects individual columns like this:

However, pressing the option key while dragging in a web page doesn't work and dragging just selects all cells of a table like:

Is there a way to select individual columns of tables on web pages?

If you're OK opening the HTML page in Chrome, then just use the CopyTables extension in Chrome:

https://chrome.google.com/webstore/detail/copytables/ekdpkppgmlalfkphpibadldikjimijon?hl=en

In the Safari website those are (images).
You can not select individual column.

However if you download the Article in PDF format then open with Preview.

https://www.researchgate.net/publication/296692096_Waterbirds_in_the_UK_201314_The_Wetland_Bird_Survey


How do you put a variable in the middle of a pathway? (AppleScript) I am trying to write code that deletes files from a specified location and empties into the trash. If I use the direct string it works but when I try to add a variable it does not. Could someone help show me what I'm doing wrong?
When I tried to look up the error code number at the bottom, it didn't give me much insight.
Valid
tell application "Finder"
        delete (every item of folder "Macintosh HD:Users:sme0219:Pictures:Camera" whose name contains ".png")
end tell

Invalid
tell application "System Events"
    set userName to name of current user
    set compName to name of startup disk
end tell

tell application "Finder"
    delete (every item of folder compName & ":Users:" & userName & ":Pictures:Camera" whose name contains ".png")
end tell

Error Report

error "Can’t get {folder "Applications" of startup disk of application "Finder", folder "Library" of startup disk of application "Finder", folder "System" of startup disk of application "Finder", folder "Users" of startup disk of application "Finder", ":Users:", "sme0219", ":Pictures:Camera"} whose name contains ".png"." number -1728

You need to put parentheses around:
compName & ":Users:" & userName & ":Pictures:Camera"

Example:
(compName & ":Users:" & userName & ":Pictures:Camera")

This concatenates everything within the parentheses as the full path, otherwise Finder just sees:
delete (every item of folder compName & ":Users:" & userName & ":Pictures:Camera" whose name contains ".png")

As:
get every item of folder "Macintosh HD"

Not the entire path.
So, this works:
tell application "System Events"
    set userName to name of current user
    set compName to name of startup disk
end tell

tell application "Finder"
    delete (files of folder (compName & ":Users:" & userName & ":Pictures:Camera") whose name contains ".png")
end tell

Instead of relying on System Events to get that information, you can use the path to (folder) convention to ascertain its path, e.g.:
set targetFolder to (path to pictures folder from user domain) & "Camera" as string

tell application "Finder"
    delete (files of folder targetFolder whose name contains ".png")
end tell

Please take a moment to read the linked document as I believe you'll find it quite informative.
Also note that since you stated code that deletes files in the OP and your code had the potential to delete a folder having a .png extension that every item  has bee changes to files with the exception of the line after "otherwise Finder just sees:" in this answer as that line is part of explaining what the issue is that you are having.

This is what I ended up doing with 100% success:
tell application "Finder"
    set userName to do shell script "whoami"
    set compName to name of (startup disk)
    set trashPath to (compName & ":Users:" & userName & ":Pictures:Camera")
    delete (every item of folder trashPath whose name contains ".png")
end tell


How to disable frequently visited items and favorites under the address bar in Safari 8? I want to remove the following frequently visited items and favorites under the address bar in Safari 8. How can I do this?

Go to Safari Preferences → Search and disable Show Favourites.

You cannot disable the frequently visited annoyance. Yes, you can manually remove sites from it, but the annoyance is turned on by default and cannot be turned off, so sites will always continue to appear there.


Has the WiFi KRACK vulnerability been patched for iOS? There is a new vulnerability in WPA2 called KRACK (short for Key Reinstallation Attack), as described in The Guardian article:
 'All WiFi networks' are vulnerable to hacking, security expert discovers'

According to the article:

  The vulnerability affects a number of operating systems and devices,
  the report said, including Android, Linux, Apple, Windows, OpenBSD,
  MediaTek, Linksys and others.

Have there been any security releases for iOS fixing this?

Updates released 31 October 2017

Apple has released updates that include a fix for the KRACK vulnerability for macOS, iOS, tvOS and watchOS. To get the updates:

macOS High Sierra 10.13.1 and security updates for Sierra & El Capitan -
Launch the App Store and select the Updates tab.
iOS 11.1 -
Go to Settings > General > Software Update
watchOS 4.1 -
Launch the Watch app on your iPhone, then go to General > Software Update
tvOS 11.1 -
For Apple TV 4 (and 4K) go to Settings > System > Software Updates and Select Update Software.
For Apple TV (2nd/3rd generation) go to Settings > General > Update Software

It's Apple's policy to not comment on security vulnerabilities until they are patched, and even when they do, they are often quite vague about it.

  About Apple security updates

  For our customers' protection, Apple doesn't disclose, discuss, or
  confirm security issues until an investigation has occurred and
  patches or releases are available. Recent releases are listed on the
  Apple security updates page.

However, with a little detective work, we can gain some insight. Looking at the CVEs assigned to this particular vulnerability,* we can get listing of the issues that should be addressed by Apple when they decide to issue a security patch:

  CVE-2017-13077: Reinstallation of the pairwise encryption key (PTK-TK) in the 4-way handshake.
  CVE-2017-13078: Reinstallation of the group key (GTK) in the 4-way handshake.
  CVE-2017-13079: Reinstallation of the integrity group key (IGTK) in the 4-way handshake.
  CVE-2017-13080: Reinstallation of the group key (GTK) in the group key handshake.
  CVE-2017-13081: Reinstallation of the integrity group key (IGTK) in the group key handshake.
  CVE-2017-13082: Accepting a retransmitted Fast BSS Transition (FT) Reassociation Request and reinstalling the
  pairwise encryption key (PTK-TK) while processing it.
  CVE-2017-13084: Reinstallation of the STK key in the PeerKey handshake.
  CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup
  (TDLS) PeerKey (TPK) key in the TDLS handshake.
  CVE-2017-13087: reinstallation of the group key (GTK) when processing a Wireless Network Management (WNM) Sleep Mode Response frame.
  CVE-2017-13088: reinstallation of the integrity group key (IGTK) when processing a Wireless Network Management (WNM) Sleep Mode Response frame.

Also, this ZDNet Article - Here's every patch for KRACK Wi-Fi vulnerability available right now (Oct. 16, 2017) indicates that vendors are responding quickly and Apple has confirmed that patches are in beta.

  Apple confirmed it has a fix in beta for iOS, MacOS, WatchOS and TVOS,
  and will be rolling it out in a software update in a few weeks.

*Common Vulnerabilities and Exposures (CVE®) is a list of common identifiers for publicly known cyber security vulnerabilities. Use of "CVE Identifiers (CVE IDs)," which are assigned by CVE Numbering Authorities (CNAs) from around the world, ensures confidence among parties when used to discuss or share information about a unique software vulnerability, provides a baseline for tool evaluation, and enables data exchange for cyber security automation.

Considering vulnerability has been just published (at the time of this question asked) and I doubt that it was sent to any manufacturers first (as that would be very difficult considering number of parties to inform about this) - it will take awhile for Apple to bundle new update for all existing devices and release it.

As it has always been before Apple does not do urgent patch of iOS/Mac OS for only a single vulnerability, it bundles a few of the fixes/changes together into an update.

Also making a fix, testing, verifying, releasing etc takes time. So it won't be addressed instantly.


Is there any podcast App that allows to listen to episodes chronologically, starting at episode 1? I can not figure out what's the correct settings to be able to listen to podcast episodes from day 1, in the chronologically order, automatically.

Let's say that I've just discovered an interesting podcast. So nice that I want to listen to every episodes from day 1. What I want is to always have for instance 2 or 5 unread podcast episodes on my phone. I want to have 6,7,8 when I have already listen to 1,2,3,4,5. But not the freshly released 150th.

Can anyone help me with it? It's seems to be really basic, but I have not yet succeeded to set any podcast prefs right until now, and I've to add episodes manually...

EDIT : If there is no way to do it, is there an alternative App that does it ?

EDIT 2 : Since it's an old question that I'm still want an answer to : is there any new app that permit a chronological listening of the episodes?

In settings for the podcast .
Choose to sort and play the podcasts from oldest to newest

Do not limit episodes. You will end up with all episodes

If syncing from iTunes you should be able to choose the x oldest podcasts in iTunes settings but the syncing is unreliable

Unfortunately, I do not believe there is such a setting, and that the only way to do this is to do as you are currently, adding them manually. You may consider seeing if you can write an Automator script to do this for you though.


Might have accidentally change admin user to standard user So I tried deleting an app a few days ago and it requires admin name and password. I tried every single combination that i can think of and it wouldnt work. I then realize that I have a standard user instead of an admin. I tried the create a new admin user way but the permission is denied.
I got no idea how to proceed onwards. Help needed please.
Its a osx yosemite 10.10.5

To create a new admin user, you need to reboot into Single User mode once:

Boot to single user mode (⌘-S while powering on)
Run /sbin/fsck -fy
Run /sbin/mount -uw /
Run rm /var/db/.AppleSetupDone
Run reboot

After the reboot, the Setup Assistant should get displayed again (as for a new Mac) and prompt you to create a new user. This user will automatically have admin rights.

I have seen that in rare occasions an admin account has been degraded to a standard user.

Under normal conditions, there is a fairly easy fix on getting it back to admin status.

Here is how:

At startup, hold down Alt
Select "Recovery HD"
Once presented with the choice of options, choose menu "Utilities", then "Terminal"
Type in resetpassword Enter
In the resulting window, choose your startup volume (typically it is "Macintosh HD")
Select "System Administrator (root)" from the dropdown underneath
Give it a password in the fields below and click "Save"
Restart your system (menu "")
When logging in, choose "Other"
Type in root as the user and the password you just gave it
Once in the familiar environment, open "System Preferences" > "Users & Groups"
Unlock the padlock to the lower left-hand corner
Select your real user
Click the option Allow user to administer this computer

Effectively, this will get your user back to admin status.  Now, just log out and log back in with your user.

NOTE:
Keep in mind that the above requires that you have access to this volume.  If you use FileVault, you will need to unlock it first using Disk Utility.

For security concerns, you may want to do the following few clean-up steps as well:

Once back with your user, open "System Preferences" > "Users & Groups" again.
Click on Login Options underneath your list of users
Click on "Join" next to Network Account Server
Click on "Open Directory Utility"
Open the padlock here as well
From menu "Edit", choose "Disable Root User"


Remove unnecessary backups from TimeMachine to get space I know that oldest backups are removed automatically when there is no space for new ones on TimeMachine. I use TimeCapsule also for sharing files on WiFi, so I’d like to free some space by removing of unnecessary backups:

Large files which needen’t to be backed up (e. g. image previews of Lightroom over 1 GB). I have excluded them in TM preferences but they are already present in older backups keeping space forever.
Oldest backups I know I will not need. (So to trigger the same as TimeMachine does automatically but earlier than disk gets empty).

You can simply enter Time Machine and select folders, apps, and files and select to delete all backup copies of that item. The command line tmutil compare also gives exhaustive detail of what changed between backup intervals if you don't mind using the terminal and a UNIX shell. Even without shell tools, you can micromanage storage from the Time Machine GUI as follows - quoting Apple's article on Mac Basics: Time Machine:

  You can also enter the Time Machine restore interface and find files that can be removed from the backup drive itself to conserve space. To do this, select the file(s) and from the Action pop-up menu (gear icon) in the Time Machine Finder window choose "Delete All Backups of...". Be sure to only delete files you are sure you won't need or want to restore later.

Next, you can use a tool like BackupLoupe to analyze your Time Machine backups to identify how much space each interval used, how much space your average backup takes, how long it will be to fill the drive at the current rate, etc…

With that level of detail, you can curate your storage needs as little or with as much detail as the situation requires. This tool has helped me figure out problematic backup drives, Macs with filesystem corruption (when each backup is larger than it should, etc…) Once you have visibility on what's being stored, you can delete folders, entire snapshots and configure your backup exclusion lists to be in harmony with your available storage and backup needs.

Hi yep it was easier than I thought too
I just clicked on the time machine icon
then clicked on the hard drive where the time machine is
then selected the backups I don't want  (in the usual way  - hold cmd and select                                                  the backup dates you want to delete
then hit delete in the File toolbar and low, they're gone.
Then empty the trash. then check the space you have created on the Hard Drive where the Time Machine lives!


How to start Apple Hardware Test without Apple Software Disk (MBP13 mid-2010)? My question is very simple. I have some trouble on my MBP13 mid-2010 (MC375LL/A) and I want to diagnose it using the Apple Hardware Test.

I try to hold the D key down during restart of the MBP but nothing happens. I think it is due to the fact that I need to use the DVD 2 coming with the MBP. Unfortunately I don't have the DVD currently.

I try to use Internet Recovery (by holding "Option+D") but it seems that Apple Hardware Test does not support my MBP...

So I am looking for a solution to achieve this diagnostic without the original DVD.

Edit: My MBP is currently running on OSX Maverick (10.9.1).

By knowing your exact Model Identifier (MacBokPro?,?) you could look in to this data base for the correct version of AHT to download.

Examples:

MacBookPro1,1 3A106
MacBookPro1,1 3A107
MacBookPro2,1 Mac-F42189C8
MacBookPro2,2 Mac-F42187C8
MacBookPro3,1 Mac-F42388C8
MacBookPro3,1 Mac-F4238BC8
MacBookPro4,1 Mac-F42C86C8
MacBookPro4,1 Mac-F42C89C8
MacBookPro5,1 Mac-F42D86A9
MacBookPro5,1 Mac-F42D86C8
MacBookPro5,2 Mac-F2268EC8
MacBookPro5,3 Mac-F22587C8
MacBookPro5,4 Mac-F22587A1
MacBookPro5,5 Mac-F2268AC8
MacBookPro6,1 Mac-F22589C8
MacBookPro6,2 Mac-F22586C8
MacBookPro7,1 Mac-F222BEC8
MacBookPro8,1 Mac-94245B3640C91C81
MacBookPro8,2 Mac-94245A3940C91C80
MacBookPro8,3 Mac-942459F5819B171B
MacBookPro9,1 Mac-4B7AC7E43945597E
MacBookPro9,2 Mac-6F01561E16C75D06
MacBookPro10,1 Mac-C3EC7CD22292981F

Here we can find a list of AHTs:
https://github.com/upekkha/AppleHardwareTest


Can't add or change custom images of address book entries Sometimes I'm not able to change any of the custom images associated with contacts in the address book. If I quit and restart several times, it eventually works again.

What would cause this sort of thing to happen? I'm running on Snow Leopard.

Type in terminal:

chmod -R 777 /private/var/mobile/Library/AddressBook

chown -R mobile /private/var/mobile/Library/AddressBook

It worked for me

from: http://www.hackint0sh.org/f126/33674.htm

To change the picture

Open text edit, do command-shift 4 and place the cross hairs over the center of the white page, drag till you have an avatar-sized box and release.

Go to your desktop or wherever your screen shots are saved, rename and save the file somewhere useful, then go to system prefs/accounts and change the image to the "white" picture.


What exactly does "erase and sync" mean in iTunes? This is one of the scariest, vaguest warnings I've ever seen.

In my case I don't mind if it erases all of my songs and re-syncs with my new computer, but I sure as hell don't want it erasing everything on my iPhone. Why on earth would it need to do that? Why is this error so vague?

I'm definitely not willing to just try it and see what happens.

I finally found a tool that will let me transfer songs to my iPhone without iTunes, at least from my PC: CopyTrans.

iTunes can only be synced with one Apple device at a time.  You can also try Library Tunes, which gets around this restriction and guides you step by step.  It uses the library persistent method mentioned above.


How to properly use drag and drop with MacBook Pro on OS X 10.7? It seems extremely hard to be able to drag and drop files between two finder windows with a single move on the trackpad - as soon you reach the end of the trackpad you'll drop the files,… in the wrong place.

How can you solve the drag'n'drop problem without using a mouse and still be able to use gestures?

You can use your thumb to click on the lower part of the track and the index finger to move. As long as you keep the trackpad pressed with the thumb you can release the index finger.

Instead of using trackpad gestures for App Exposé and Mission Control -  it's more reliable to use hot corners instead.

The setting can be found under System Preferences → Mission Control → Hot corners...

If you want to avoid accidental tiggering of hot corners, you can add modifier-keys to them (i.e. trigger by ⌥+dragging to corner).


Is there anyway or work around to enjoy the dark mode feature of macOS Mojave without updating to it? I have an old iMac running macOS High Sierra 10.13.4 now it has many default extensions and services disabled to boost up the OS experience.

Every time I upgrade to a major OS release macOS changes everything to default and installs unnecessary things. These unnecessary things slows down my mac. But I love the new dark mode in macOS Mojave. I want the new dark colored dock with white outline and everything dark included in the latest update.

But, I don't want to fully upgrade to macOS Mojave. So, is there anyway or work around to enjoy the dark mode feature of macOS Mojave without updating to it?

Briefly, no.

Why not install Mojave on a second drive (or just maintain a backup) so you can test things out with the new feature that shipped so you can revert as needed to your old system or data?

The framework and app updates to support this new feature are widely baked into the OS so you would need to have a poor excuse for dark mode by inverting the entire display using accessibility on High Sierra and lower.

"Every time I upgrade to a major OS release macOS changes everything
  to default and installs unnecessary things. These unnecessary things
  slows down my mac."

Simply running the MacOS installer for a new version should not change any settings, defaults or options. (Maybe the Desktop image, but that's about it.) Unless you do a clean install, but that's nearly always unnecessary.

Secondly, merely having things installed on your disk (particularly OS-installed things) does not slow your Mac down.

Hopefully, this answers your question by assuaging your worries about installing Mojave.


How to recover from deleting Xcode CoreSimulator devices from disk? By mistake I deleted ~/Library/Developer/CoreSimulator/Devices from my Mac so all my Xcode simulators were deleted.

Now none of my Xcode projects run. When I try to, an alert shows that no simulator is selected in select device.

To get back to a vanilla state, quit Xcode, Simulator, Instruments, and any other CoreSimulator clients that you have and run:

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService 2> /dev/null
rm -rf ~/Library/*/CoreSimulator

Finally, I solve my problem by updating Xcode you can solve this problem..


Where does iTunes save iOS updates? When I choose to install a new version of iOS on my device via iTunes, the installation file is huge (e.g. 750 MB). Where does iTunes save this file, and does it get deleted after the installation is done?

On Windows XP
Documents and Settings\<User>\Application Data\Apple Computer\iTunes\iPhone Software Updates

On Windows Vista/Windows 7
Users\<User>\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates

On Mac
~/Library/iTunes/iPhone Software Updates

I believe that the updates do not delete after they are installed.

Via this iPhone FAQ article.


Damaged and can't be open app error message I bought the iBoostUp app when I was using Lion, and one day it suddenly stopped working, I uninstalled it, and yesterday I got Mountain Lion hoping that it would get magically fixed, but it didn't.
Any clues on how to restore the app?

  “iBoostUp” is damaged and can’t be opened. Delete “iBoostUp” and download it again from the App Store!

In Terminal, run "xattr -rc /Volumes/Application.app", that should fix it (naturally, replace "/Volumes/Application.app" with your actual application path. No need to disable GateKeeper.

I have had the same issue with an app today (Nov 12 '15) on El Capitan and it was caused by an App Store certificate issue.

See more details here.

In my case deleting and redownloading the app helped (but strangely I had to repeat this procedure 2 or 3 times...).


Terminal command to kick selected users off my network There are lots of ports in my small office but sometimes I want to kick out people who are accessing internet instead of doing their job. With arp -a i can look for all of the connected users. But how to kick them off a network. Please don't tell me Router's conf. I want to do this via terminal itself. There are ways to do that, i saw my friend doing that.

Unless your desktop is the central proxy server you will have to go through the router. Just because you can see other machines with arp doesn't mean you can do anything with them.

Kicking them off the network via the router will usually be total - does the office staff depend on the network do do their jobs?

A better way is running your own DNS server. You can then simply redirect any time-sucking service somewhere else in a manner that makes it look like the site is temporarily down, like this:

*.facebook.com IN A 192.168.1.252

192.168.1.252 runs an Apache vhost site named facebook.com, it serves up a clone of the FB maintenance page for any URL.

It will take a very network-savvy user to figure it out, and you won't be the demon boss (at least not right away). Turn it on and off regularly to maintain the illusion that it's the other service.

Or for more fun: Upside-Down-Ternet.

Get in CMD and writte:
net view (ENTER)
This command will show you all possible devices connected.
After that writte: SHUTDOWN/"the name of device that you want kick"
others commands:
Shutdown -s  Switch off the device
Shutdown -r  Reset the device
Shutdown -?  it shows you all other commands you can use.


What options exist for ad free web browsing on iOS? In OS X I can use extensions in most browsers to block ads. This offers an distraction free browsing experience.

For example: In Safari, Chrome and Firefox I can use Adblock or Adblock Plus. Both extensions use filter lists which you can find here. You can also manually add filters and add sites on which you accept to see ads (e.g. apple.stackexchange.com).

What options exists for ad free web browsing in iOS?

Try the Diigo Webbrowser. It recently added an Ad Blocking feature that's off by default.

You can try the cloud proxy service at http://www.safecloudproxy.com
It is free for 1 gb / month.


On iPad, is there a way to go to "end of list" or "end of page" -- besides going to "top of page"? There is a way on iPad to go to top of the page or list, in email's list of emails, or in iBooks's highlighting and notes, for example, by tapping on the top status bar of the iPad screen.

But is there a way to go to the end of page or list?  For example, on iBooks, when the highlightings and notes are shown, sometimes a user may want to see the last highlighting or notes, but in some cases, the list is 12 pages long.  In this case, is there a quick way to go to the end, or will a user just need to scroll the 12 pages to reach the end?

Unfortunately, there is no easy way to scroll to the end of a document other than by swiping repeatedly. It would be nice if Apple could add a specific gesture for this common action. If enough people request this feature at http://www.apple.com/feedback/ipad.html maybe they will add it into a future version of iOS.

HOW TO GO TO THE END OF YOUR DOCUMENT FAST WITHOUT SCROLLING THE SCREEN ON YOUR iPAD WITH YOUR FINGERS TEDIOUSLY
When you want to stop typing press two spacing to put in the period or full-stop sign (.), automatically。Then press two or more spacing again and type in another period or full-stop sign (.). You may also use other punctuation marks as you prefer.
Now touch the screen of your iPad.  A panel will appear like this:
Select   Select all   Paste   insert
Move the cursor to the second period sign and select it.
Next touch the iPad screen again.  The following will appear:
Cut   Copy   Paste   Delete   Define   New comment
Choose and touch the last one ie.  New comment
On the right-hand side bar/space your name will appear or you type in something like The end.
Now close the document by touching the save arrow on top of the left-hand corner.
When next you open your document press REVIEW on top of the screen panel.   After activating REVIEW look for the arrow pointing to the left just below the word HOME on your iPad.  Press this arrow.  Your document will rush to the end of it.  No need to tire your fingers scrolling down tens or hundreds of pages!  Be careful when you continue your typing of your document.  YOU MUST PUT THE CURSOR BETWEEN THE TWO PERIODS AT THE END OF YOUR DOCUMENT. What happens if you put the cursor after the second period sign?   You find out……….. Happy iPading.


How to convert AppleScript URL type to string? In AppleScript, I can cast some variables (e.g., the clipboard), to the built-in URL type:
set theURL to the clipboard as URL

If my clipboard contains an RTF link to https://temochka.com/, theUrl will be assigned a raw value like this (which can be seen in the Script Editor replies window):
«data url 68747470733A2F2F74656D6F63686B612E636F6D»

This last part (68747470733A2F2F74656D6F63686B612E636F6D) is a hex-encoded string that can be decoded as "https://temochka.com". Is there a way to extract just this value? Or maybe get the full URL value out?

If set theURL to the clipboard as URL returns:
«data url 68747470733A2F2F74656D6F63686B612E636F6D»

Then if you are set on working with that class, you need to first write it to a temporary file and then read it back, as in the following example AppleScript code:
set tmpFilename to "/tmp/theURL.txt"

set theURL to the clipboard as URL

writeToFile(theURL, tmpFilename, true)

set theURL to read tmpFilename

on writeToFile(theData, theFile, overwriteExistingContent)
    try
        set theFile to theFile as string
        if theFile contains "/" then
            set theOpenedFile to open for access theFile with write permission
        else
            set theOpenedFile to open for access file theFile with write permission
        end if
        if overwriteExistingContent is true then set eof of theOpenedFile to 0
        write theData to theOpenedFile starting at eof
        close access theOpenedFile
        return true
    on error
        try
            close access file theFile
        end try
        return false
    end try
end writeToFile

Notes:
The writeToFile(theText, theFile, overwriteExistingContent) handler is a slightly modified handler from Reading and Writing Files
The handler from the linked Apple support document was modified to handle both POSIX and HFS+ file paths.
When the clipboard returns what's show herein, it also can return https://temochka.com directly by using, e.g.:
set theURL to the clipboard as text

That's not what I get at all:
{class:URL, scheme:secure http URL, path:"https://temochka.com/", host:{class:Internet address, DNS form:"temochka.com", port:443, dotted decimal form:"159.203.68.102"}}


make textedit the default app for new file types Often I download files with funny extensions, like .wnd, .npy, .dat, etc. Is there some way I can make the default app for all files like these, as in files that the system does not already recognize, to be TextEdit?

Edit  Is there some way to at least let the "open with" prompt include TextEdit?

macOS is a derivative of Unix, in which all things are represented as a text file, and which program is used to open those files is determined by a "mime type". On macOS mime type associations are stored inside of the corresponding .app file. For example, the data that describes a Microsoft Word Document's (.doc) attributes (i.e. what type of file it is, what the default icon is, etc.) is stored in Word.app>Contents>Info.plist.

The problem this creates is that in order to make all unknown mime types associate with Text Edit.app you would have to manually add their attributes to the Text Edit.app>Contents>Info.plist file, and any new file types you hadn't added would continue to go unrecognized, and would still have no default app to open them.

The benefit this has is that since all things in Unix are represented as text files, you can simply Right Click>Open With>Other...>Text Edit.app, and they will always open as a normal text file, regardless of what extension it has. This is of course less convenient than the solution you asked for, but I'm afraid it is, to my knowledge, the closest thing you will be able to achieve.

Edit: For example, lets say the file type is .foo, you can use Get Info on file.foo, and under the Open With tab use the drop-down menu, and choose Other.... Select TextEdit.app in the Choose Application dialogue. After file.foo's default app has been set, click the Change All... button. From now on all files with the .foo extension will open in TextEdit by default. However, this method presents the same problem as editing the mime-type information directly, in that you will still have to do this for every unknown file type.

For TextEdit to show up in the Open With dialogue at all there has to be information about the file type in TextEdit's Info.plist file. When you open the Open With dialogue it reads "Fetching..." for a short moment. This is because the system is scanning the Info.plist files of all the apps it knows are installed (or rather, it is scanning the index of those files it made the first time each of those apps were run.) to see if any of them contain info about the type of file you clicked on. It then makes a link to each of the apps whose Info.plist files were found to contain that mime-type, which is the list in the Open With menu.

Unix systems do not have the ability to set all unrecognized file types to open with a certain app, because by its very nature this would include files with no extension at all. As previously mentioned in Unix all things are seen by the system as text files, meaning if you set all unknown file types to open with TextEdit.app this would include things like the system programmes stored in the /bin/ and /sbin/ folders, and even certain hardware like the HDD. Now suddenly whenever you try to do anything involving system programmes that don't have an extension at best it just opens a TextEdit window full of gibberish, and at worst the system outright stops responding to any input (locks up), stops booting at all, and has to be reinstalled.

Yes. If you select one of the types and do 'get info', cmd-i, you can set default for that file type. At bottom of get info window is an option for which app to use to open that file. You can select textedit from pull down menu. Directly under that is a button that says 'Change All'. If you click that button, textedit will open all files with same extension.  You'll have to do this for each different file type, in your case dat, npy, ...


How do I add all Tweets to the Mountain Lion Notification Center? I love the Notification center gesture and would love to be able to glance at my full Twitter stream that way. How can I put all of Twitter into that notification area?

You can get the home timeline from the Twitter API and display tweets using terminal-notifier.

#!/usr/bin/env ruby -KU -rubygems

require 'twitter'
require 'cgi'

Twitter.configure do |config|
  config.consumer_key = ""
  config.consumer_secret = ""
  config.oauth_token = ""
  config.oauth_token_secret = ""
end

timeline = Twitter.home_timeline
first = timeline.first.id
previous = `defaults read me.lri.scripts nctwitter 2> /dev/null`.chomp
minid = previous == "" ? 0 : previous.to_i + 1
`defaults write me.lri.scripts nctwitter #{first}`

timeline.each do |tweet|
  break if tweet.id <= minid
  system("terminal-notifier", "-message", CGI.unescapeHTML(tweet.text),
  "-title", tweet.user.screen_name)
  # system("/usr/local/bin/growlnotify", "-t", tweet.user.screen_name,
  # "-m", CGI.unescapeHTML(tweet.text))
end

growlnotify would stack multiple notifications and not clip the text in long tweets.

The Twitter library can be installed with sudo gem install twitter.

You can run the script every minute by editing the crontab with EDITOR=nano crontab -e and adding a line like * * * * * ~/bin/nctwitter.

A recent update to Tweetbot added an option to send notifications for all tweets:

You could also use the Growl app which will show all tweets you are interested in.


Configure HTTPS proxy on iPad I have a secure login page on my localhost. In my network settings on the iPad I can only change HTTP proxy setting to access insecure pages in localhost.

I have configured it this way:
Server: 192.168.1.5
Port: 80

but when I want access https://localhost/api, Safari warns:

  There was a problem communicating with the secure web proxy server (HTTPS).

How can I configure for HTTPS proxy?

to listen https request on your server,server need listening on port 443.for listening the traffic of 443 and 80 you need to perform routing and then for example listening on port 8080 after redirect all traffic on 8080.


How can I hide **some** birthdays in iOS Calendar? I have entered the birthday for several of my Contacts, and these birthdays show up in Calendar. I know that I can enable or disable all birthdays by selecting or deslecting "Birthdays" from Show Calendars in the top corner of the Calendar app.  But I only want to see some of my contact's birthdays in the Calendar; for example, personal contacts but not ex-coworkers.

How can I prevent the display of certain birthdays?

You could edit out the birthdate information from those contacts you do not want to see in the Birthdays calendar.

Another way to accomplish this would be by manually adding the birthdays you do want to see to a new or existing calendar and then disable the Birthdays subscription.

I modified the script to be as follows:

(*

This script iterates over your contacts. For each contact, it will delete the contact that has the birthdays
*)

tell application "Contacts"
    set peopleToChange to people whose (birth date) is not missing value
    repeat with thePerson in peopleToChange
        delete ((birth date) of thePerson)
    end repeat
    save
end tell


Is the blue button outline in dialog windows removed in Yosemite when using Tab (keyboard navigation)? Being a zealous user of keyboard navigation, I activated All controls in Full Keyboard Access (Preferences > Keyboard > Shortcuts).

In Mac OS X 10.9 Mavericks I was used to having a blue outline on the button/input box that was active, and I could see it move to the next one when pressing Tab.

After updating my OS to 10.10 Yosemite, the outline (now grey) is gone on specific button types and for the large part I cannot see which button is active anymore. When pressing Tab repeatedly in a "Save" window the text boxes and switch buttons highlight but drop-downs and regular buttons don't, even though they are active (i.e. pressing Space will act as if I clicked them with a mouse).

Do more users experience this behavior, or is it just me? If it's just me, does anyone know how to fix this? If it's not just me, where do I report this bug?

This seems to be indeed a bug; I reported it on bugreporter.apple.com, the openrdar is here: http://openradar.appspot.com/radar?id=5297887323881472

Also, the latest Photoshop CC 2014 seem to be working ok

Fot me the apple apps seems to handle the tabbing as expected, but other apps, creative suite for instance doesnt get it..


Is there a way to disable "Top Hits" in the Safari 6 address bar? The Top Hits section of the suggested results list that appears when I type in the Safari address bar proposes sites that are way off base.

Is there a way to remove Top Hits from the address bar's suggested results, or at least "demote" the Top Hits section so that it is not the default?

The Top Hits section uses the top two sites from your history, so if there are certain sites you don't want showing up in Top Hits, just press option-command-2, and delete the offending sites. (I don't know how to remove it though.)

Edit:

As noted in the comments below, the keyboard shortcut to access History is now Command-Y.

If you only want to remove the suggested search phrases, you can check Preferences > Privacy > Prevent search engine from providing suggestions. After that, there is only one item between the top hits and other results.


What does .ipa stand for? What does the .ipa file extension (used for iOS app bundles) stand for? I'm guessing that it has something to do with iPhone app, but I'm not sure.

Your guess was correct.

.ipa stands for iOS App Store Package

Each .ipa file is compressed with a binary for the ARM architecture that can only be installed on iOS devices. If you change the extension to .zip you will be able to unzip it and view the contents.


File sharing between two Catalinas - Finder cannot connect So I can screen share between the two Macs; I can ssh, rsync, and scp  the files between the two Macs; but having Finder try to “Connect As” always fails the login sheet using the same user and password as on the command line.

I tried switching between SMP, SMP encrypted, and AFP ... makes no difference. Authentication? Always fails. Shakes it head at User and password validated as above.

Both Catalina systems were upgraded from previous OS X / MacOS versions, but both client and server accounts are new.

Regrettably I have found no solution to this anomaly.
I was in the fortunate position to be able to erase and re-install Catalina.

The problem no longer exists for me. I have a “de-crufted “ system.

I’m always impressed by how OS X / MacOS has been able to upgrade this Mac successfully for about 6 years with very few of these kinds of anomalies encountered generally in upgrades over the last couple of decades and nearly a dozen different Macs.


Reinstalling Everything after HD Replacement I'm about to replace my iMac's HD (250GB to 1TB). I'm planning to create an image of my disk right in m Time Capsule, and after the transition I need to clone the HD back.

Unfortunately Lion has no DVD, and I'm not sure if I should create one. Can I use my Snow Leopard disk to boot, and clone the Image to the new HD? Will the Time Capsule (which is connected via ethernet) be visible, and what about the difference between the image and the new HD in size? So, I'm not sure if it will work.

Another option would be to use the Time Machine backup to restore, but I'm not sure if I would trust it.

You can do this with Time Machine, but there is another method, if you have the equipment. Instead of Time Machine, use a shareware disk cloning utility. I use Carbon Copy Cloner.

If you are paying someone to swap out the hard drive in your iMac, ask them if they can do the following for you.

Don't erase your main hard drive just yet. Take the new hard drive that you are going to install in the iMac and put it in an external enclosure that uses USB or FireWire, and connect it directly to the iMac. Use Disk Utility to make sure it is properly formatted to make it a bootable Mac OS X volume. Install Carbon Copy Cloner on Mac OS X on your main hard drive and us it to completely clone that drive to the external drive. Check the Carbon Copy Cloner settings to make sure that it will create a bootable duplicate drive.

Then you can remove the new drive from its enclosure and install the new drive into the iMac and boot it up.

You might also want to check out AppFresh, which connects to your iUseThis account and automatically downloads everything you've flagged as 'I use this.'  In some cases it can also install the software, plug-in, etc for you.


Finder closes after emptying trash or ejecting a disk Is it possible to change some Finder settings so that it doesn't automatically close the window when the Trash is emptied or a usb disk/hard drive is ejected?

You could probably write a script with grep and diskutility that opens finder whenever the count of disks changes?


Unable to reboot from USB on Snow Leopard I have an external hard disk, where I had stored my 10.5.8 image. The laptop had issues with keyboard and display, so I stopped using it. I have a relatively new(5 months old) Snow Leopard Mac book Pro.I also have a mini mac. When I reboot the mac mini with the 10.5.8 image, it works fine. But with MBP, when I reboot, it sits at the apple image and does nothing.

The image was created using SuperDuper. I basically have an option in superduper to copy the hard disk to a usb. I think it blindly copie the files.

It's because your new MBP has few hardware components that are not supported by Mac OS X 10.5.8. Just to be sure you can check where 10.5.8 chocking when booting MBP if you press and hold cmd+v during boot.

A MacBook Pro that shipped with Snow Leopard will not boot from any version of Mac OS X lower than the version that was installed when it shipped.


update ipad2 3G jailbreaked to ios 7 and it got stuck on error 14 I tried to update my ipad 2 3G jailbreaked to ios 7 and it got stuck on error 14 and it has been in "recovery mode" itunes screen ever since.

I have put the ipad on DFU mode 100x then try to restore it.
I have changed different ports and usb cables.
I have used many different OSs(Mac & Win).
I have tried using tinyumbrella and RecBoot to try to kick it out of recovery.
I tried changing, modifying the hosts files.
I have restarted the computer numerous times.
and I used latest versions of itunes.

and my log file is uploaded here

any idea?

Just connect your iPad to your PC and click on "Restore to factory". iTunes will download the latest version of iOS supported and install it, which in this case will install iOS 7 on your iPad.


Single click behaves like double click. Mousedown behaves like single click On my macbook, with a mouse plugged in (Microsoft Intellimouse Optical), a single click will sometimes behave like a double click, or pressing the mouse button but not releasing it will behave like a click.  This behavior is sporadic.  Sometimes it will happen with every click for a few clicks.  Sometimes it will be every other click.  Sometimes it behaves normally for a while.

I've been using this mouse with my macbook for weeks without incident until a couple of days ago.  This only happens at home.  I have an identical mouse at work that does not give me any trouble.  I'll work at home with my mouse behaving badly, go to work and have no issues, then come home and the mouse behaves badly again.  At work, my mouse is plugged into a USB hub.  At home, it's plugged directly into the usb port.  I've tried swapping USB ports, but the behavior did not change.  I've tried rebooting.  That didn't help either.

How should I further troubleshoot and resolve this issue?

The misbehaving mouse is surely having hardware issues. This behaviour is very likely not caused by software. Plug in the mouse to another computer to confirm. If the mouse is indeed having hardware issues, you should get it replaced replaced under warranty.

You need to reset you PRAM

Resetting PRAM and NVRAM

Shut down the computer.
Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.

https://discussions.apple.com/thread/4155496?tstart=0


Dell mouse triggering double-click on almost every single-click My generic Dell mouse behaves pretty strange compared to all other mice I have used with my MacBook. Almost every single-click is treated as if it were a double-click. Both the right and left button. The same mouse does not exhibit this behavior under Windows nor Ubuntu Linux.

I have searched and found hints that I should reduce the double-click speed setting in System Preferences: Mouse. But the setting is already as low as it can go.

I find this mouse very comfortable and want to continue to use it. I hope someone can offer another suggestion on how to correct this odd behaivor.

Unless this mouse behaves differently on a different computer, I would say that the mouse is bad.

I work for a company that uses Dell almost exclusively, and I can tell you that this is exactly what happens when the mouse starts failing. They begin intermittently processing single clicks as double clicks.

We throw them away when this starts happening.

My suggestion is that you avoid using a Dell, or any other Windows manufacturer's mouse, for that matter, on a Mac computer.


convert 30 pin docks for lightning devices I recently upgraded from an Iphone 4 to a 5s.

I have 4 different docks that worked with all my previous Iphones and Ipods - I just swapped out a cheap plastic holder around the connector that could hold my new device.

They sell two adapters for this in the Apple store, but it's useless for me since:

It costs £25 per adapter. That's £100 ($160) for the 4 docks, which is insane
The short one is an inch long and doesn't hold the base of the phone (the way every dock expects) which means that the phone will just fall over if I try to use it.
The long one also doesn't support my Iphone in a vertical position

I need an adapter that sits on an old Apple dock, but that holds the base of the phone so that it stays upright.

I can't find anything that does this online, and most of what I can find states that it can't support audio in the small print. When I ask in shops they look at me like I'm crazy and then try to sell me a USB cable.

90% of the Iphone docks sold still have the the (now obsolete) old Apple connector. It seems like a massive oversight that nobody makes a dock adapter.

Are there commercial sources of 30 pin dock adapters that:

Support audio function equivalent to apple’s 30 pin to lightning adapters.
Holds the phone upright (y'know, as if in a phone dock)
Optionally include the adapter so I don't need both a prop and a cable/dongle to replicate the old drop-in flip function of these docks.
(Ideally) is reasonably priced

My solution to your problem is to use the longer 30 pin to lightning adapter and lie the phone down rather than prop it up dock style, but I get the convenience of just dropping in a phone on any dock and not having to repurpose/recycle otherwise functional docks prematurely. I also just use one cable and bring it with my device rather than fixing all the docks (as I still use them with 30 pin devices more than I do with lightning devices).

If you don't mind the longer cable, get the Cradle with Audio port from Belkin - especially if you want the analog audio option or don't want to add height on top of the docking station.

If you need a commercial insert, the best one out is the Kickstarted project that ended funding 31 Jan 2013 that now sells the Flybridge insert commercially in packs of 1, 2 and 5 to save on both shipping and the per-unit cost.

Since these have been in the wild for more than a year, I've not heard of major problems and you might even find someone to fabricate a similar plastic insert if for some reason you don't want an injection molded piece or your docks aren't among the ones listed as compatible with the product.

You could fashion a makeshift dock out of matchsticks. I'd recommend removing the sulfer from the strikey end first to avoid any unwanted housefires but with some model glue, if you were really careful you could put together a decent support structure that would keep your phone upright when you wanted to dock it.


How do I delete a file from my desktop using keyboard I have tons of file on my desktop. I am using latest macbook pro.

After selecting the file using mouse I hit delete and then "command and delete" and none of them work.

So finally I hit ctrl + mouse click and then I chose "Move to trash".

Is there a way to delete the file using only keyboard?

command+delete works just fine. Highlight the file (single click or use your keyboard to select it), then hold command and without releasing it, push delete. This moves the file or folder to the trash.

Note that delete is in the same place as Backspace on a Windows keyboard.

highlight, then SHIFT + DELETE; click ok


.ibooks format on the iphone? I download a ".ibooks" file for this free book and tried adding it to my iPhone library but it doesn't show up. Manually dragging it over doesn't work either.

Is it because .ibooks isn't supported by iPhone?

It can't be done, because only the iPad can read the .ibooks format.  To let Apple know you want this expanded, tell them at

http://www.apple.com/feedback

what you need is .ePub format!

online Converter


iCloud, created @me.com email with wrong Apple ID, how to claim it with correct Apple ID? I logged into iCloud with an old Apple ID (abc@mac.com) because I was hoping I could use that old email address with iCloud.  However, it told me I had to create a new @me.com email address in the iCloud setup tool so I did (abc@me.com).

The thing is, my preferred Apple ID is actually different (abc@gmail.com), that's the Apple ID I've been buying iTunes music with for years, so I want to keep using it for iCloud too.

So I logged out of iCloud, and logged in with the "correct" Apple ID abc@gmail.com

Then I went to configure Mail for iCloud to use my newly created abc@me.com, but it's prompting me to create a "new" @me.com email.  It won't let me use the abc@me.com that I just created under the abc@mac.om Apple ID. :(

Since I already have and like abc@me.com, I want to use that one, but it won't let me.  It insists on creating a new @me.com

Is there any way to associate the newly created abc@me.com email address with a different Apple ID than the one I created it with?  Or am I stuck creating yet another @me.com email address?

If I understand correctly, you would like to change the primary email address associated with your apple id, this is not only possible but fairly easy to do if you have the right site.

Click "Manage your account" about halfway down http://appleid.apple.com and you should be presented with an option to edit "Apple ID and Primary Email Address".

I changed the email of my iTunes account and then logged into iCloud with a different Apple ID with the email address I wanted to use.


How do I remove Wondershare Video Converter from MacBook Air Mountain Lion? I have changed my mind about this app but when I try to remove it by dragging it to the trash and then try to empty the trash I get a message that the trash can not be emptied because the program is running. How do I stop it running so I can trash it?

Reboot, then move it to Trash.
Open Activity Monitor, find it in the list, then quit it, and drag it to Trash.

This is what I found online about how to remove Wondershare from Mac.

Click Start menu and move your mouse to All Programs.
Find Wondershare Video Converter for Mac 2.0.0 folder and click on its Uninstaller.
Follow its uninstaller and uninstall the program.

To run its uninstaller, you can also

Go to the folder where the program is installed.
Locate its uninstaller usually named as unins000.exe or uninstall.exe
Double click on its uninstaller and follow it to uninstall the program.


How to fully automate video conversion to mp4, iTunes friendly format? I am looking to implement a fully automated solution that will pick video files from an incoming directory, process them and put the result to iTunes special "Automatically Add to iTunes" directory.

Before starting to propose different products do read the requirements:

Command line interface, so we can use it with a cron
Do Pass Thru for video and audio streams if the source is already compatible with target format
Download subtitles from an external service (optional)
Embedding existing SRT files into the output video
Fixing metadata from an external service (optional)

Initially I would say that Handbrake should be able to do this, but I discovered that handbrake will never do Pass Thru for video (that's a statement that I got from the author).

z264

z264 will look at every file, but will only touch avi, flv, mpg, mpeg, wmv, vob, mkv and mp4 video files, copying video and audio streams and rewrapping if possible, transcoding just the audio if necessary, and transcoding only what video is necessary, and leave you with iTunes friendly, atom optimized mp4 files, leaving the originals in your Trash. It makes reasonably intelligent decisions for you about how to transcode files based on how you set its HandBrake variables (set at lines 312-333).

  check file for AVC encoding and flv, wmv, or mkv wrapper and rewrap in mp4 container otherwise, if not already am mp4, transcode to AVC mp4

  z264 has several dependencies (mediainfo, rmtrash, ffmpeg, SublerCLI, and HandBrakeCLI)

copy and paste binary install section into a new bash script and use it to download and install the dependencies into /usr/local/bin/ (create /usr/local and /usr/local/bin/ if not there already)
create 2GB ramdisk called 'Two' using command in ramdisk section

diskutil quiet erasevolume HFS+ 'Two' `hdiutil attach -nomount ram://4194304`

double-check command definitions (locations of dependencies), and correct locations (to "/usr/local/bin/")

change line 231 to read:  mediainfo="/usr/local/bin/mediainfo"
change line 236 to read:  rmtrash="/usr/local/bin/rmtrash"
change line 238 to read:  ffmpeg="/usr/local/bin/ffmpeg"
change line 239 to read:  SublerCLI="/usr/local/bin/SublerCLI"
change line 262 to read:  mediainfo="/usr/local/bin/mediainfo"
change line 263 to read:  rmtrash="/usr/local/bin/rmtrash"
change line 265 to read:  HandBrakeCLI="/usr/local/bin/HandBrakeCLI"

save as z264 in /usr/local/bin/
make executable

sudo chmod +x /usr/local/bin/z264
use Terminal to call z264 on single file, directory of files, or call it from a cron to crawl entire file systems periodically

z264 directory.full.of.mixed.video.filetypes/*

minor issues: user needs to be able to read, debug, and use bash. z264 does not yet count how many background_transcoder processes it spawns, meaning if there are a lot of transcodes, it will take awhile for them to complete, but they will complete. You also need a lot of memory (8GB is ok). Snow Leopard users will need to install purge command from xcode developer tools.

SmartConveter is Free in the App Store and it is faster than Handbrake.


Ability to set even below the minimum brightness on iPad In the night the lowest brightness setting on iPad (1st gen) is still too bright.

Is it possible to set it even lower somehow?

On iBooks it's possible but it works only on iBooks itself and not on whole iPad.

running the latest iOS 5.1

Many people use the black on white mode to invert the color mapping for applications that will not specify more of the LCD to be grey or black and less of it white. Some blog articles call this "night mode" but it's a typical adjustment for people that have different visual abilities.

Settings App -> General –> Accessibility –> Triple-click Home -> “Toggle White on Black.”

Even though you can't reduce the illumination of the lights in the iPad further without a jailbreak, you can use this system setting to increase the amount of light that gets blocked in many cases by triple clicking the home button.

Also, many apps are being programmed to only draw in night mode where only red pixels are used. This also cuts down on the transmission of colors that our eyes use to constrict pupils and preserve night vision. This isn't a general solution, but for apps like Star Walk - this works very well in practice.

There's no way to do that because the video driver has established limits in his firmware.


Using `rsync` as more advanced `cp` For copying large files (and/or large quantities of files), especially across disks, I prefer to avoid using the Finder as it often fails with some meaningless error message and/or complaint about permissions.

Instead I have been looking at using rsync -- or, more specifically, the latest version of rsync available from Homebrew, which, as of today, is:

rsync  version 3.1.1  protocol version 31

Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, no prealloc, file-flags

(Those are the default capabilities that Homebrew uses.)

The problem is that rsync is hopelessly complex, and I'm never sure if I am using the proper arguments, or if there are others that I should be using:

rsync \
    --8-bit-output \
    --acls \
    --backup \
    --devices \
    --exclude='.DS_Store' \
    --executability \
    --group \
    --human-readable \
    --inplace \
    --itemize-changes \
    --owner \
    --perms \
    --progress \
    --prune-empty-dirs \
    --recursive \
    --safe-links \
    --specials \
    --stats \
    --times \
    --update \
    --verbose \
    --xattrs \
    'foo' /path/to/destination/

Args I'm not sure if I should be using or not, mostly because I'm not 100% sure what they do:

(one of the other options for links instead of '--safe-links')
--relative
--sparse
--partial

Any other suggestions?

Unless you have some specific needs, I would throw out most of those options and keep it simple: rysnc -aEv (on the default OS X version) or rsync -aXv (on the Homebrew version).

Options

-a is archive mode, which essentially means preserve the metadata (timestamps, permissions, etc.) and do a recursive copy. This is what you want for your standard backup or copy operations.
-E/-X preserves extended attributes (a.k.a. resource forks). In the past the built-in rsync version had special functionality to cover HFS+ quirks in this regard, but newer default versions of rsync may be improved in that regard now. I would lean towards using the built-in version unless you have a specific reason not to.
-v is the verbose option, and simply makes it easier to track what's going on if you're running this in a Terminal window. If it's going to be running in a script, you can remove it.

Unless you know you need them, you can safely ignore most of those options you've got already. Some are duplicated by the archive command, and others (like --inplace, which can slow things down and leave the filesystem in an inconsistent state) are only necessary for specific edge cases. Do yourself a favour and keep things simple — if you run into specific issues with the options I've listed, perhaps enumerate those (in a separate question if need be).

As an aside, running into problems copying via Finder is a bit of a red flag IMO. While it may not always be as fast as some options, it shouldn't be throwing error messages. You may want to verify/repair your disk in Disk Utility.

you could use ditto which is a more advanced cp and was created by Apple.


How to save changes in a CSV file using Mac Numbers? I have a .CSV file, it opens well in Numbers ~4, but when i do changes in that file (editing row color, etc) i can't correctly save it. If i try to save it as .numbers - when i open that .numbers file, it gives me blank rows, everything is empty.

Try to keep it as a .csv file.

While you have numbers open go to the menu bar and click on file > Export to > CSV...

It seems like Numbers can't edit .csv files.
You can use this tool:
Free .CSV text file editor for Mac OS X?


Where does SFTPD log to? I have enabled logging in SFTPD by adding including the following in my /etc/sshd_config

subsystem       sftp    /usr/libexec/sftp-server -l DEBUG

But I can't find any log files. Where does sftp log on OS X v10.9.2 ?

On my machine, (10.9.2) changing the log level for the sftp server in sshd just makes everything spit out onto /var/system.log/ along with the rest of sshd's log output.

e.g. part of my system.log filtered for 'sftp' after a single connect

May  1 19:57:55 joes-imac.local sshd[50141]: subsystem request for sftp by user joe
May  1 20:01:09 joes-imac.local sshd[50199]: subsystem request for sftp by user joe
May  1 20:01:09 joes-imac.local sftp-server[50200]: session opened for local user joe from [::1]
May  1 20:01:09 joes-imac.local sftp-server[50200]: received client version 3
May  1 20:01:09 joes-imac.local sftp-server[50200]: realpath "."
May  1 20:02:31 joes-imac.local sftp-server[50200]: opendir "/Users/joe"
May  1 20:02:31 joes-imac.local sftp-server[50200]: sent status End of file

Use the log program. Look at its man page.


How do I play FLV and MP4 files on my jailbroken iPhone 4, without converting the files? I have a jailbroken iphone 4. Is there  way to play MP4 and FLV files without converting them? I'd like to play them straight on my iPhone,since it takes too spend time to use iTunes to convert the files.

VLC (google it) plays just about everything. Unfortunately, due to a strict interpretation of some open source licenses (that is, not Apple's fault), the iOS version was pulled from the App Store.

Fortunately, though, you can still install it by using Cydia. Or at least that's what I've read (I haven't done it myself), see the instructions for details.

Getting the video files onto your phone will be more of a hassle, but I think this might be your best bet. Can't hurt to try.

there is a nice flash to video converter i usually use http://www.macvide.com/Macvide_FlashVideo_Converter/, i'd recommend it!) but thanx for info)


Add RSS feeds to google reader from iPad When using iPad, with Safari or some other application, once I find an interesting blog with its RSS feed, how can I add it to my google reader feeds?

If you use an RSS reader like Mr Reader or Reeder, you can add new subscriptions using the + button on the main screen of each.

Google reader is being decommissioned at the end of June. Ironically, a google search can point you to many other RSS sync services to replace google reader with.


How do I get storedownloadd to stop? Judging by the Rcvd Bytes column in Activity Monitor, storedownloadd has been busy downloading. It downloaded 2GBytes while my computer was on today, and earlier this evening it downloaded 424.1MBytes.

I'm assuming this is macOS Sierra, but that's not terribly important - I just want it to stop! What options do I have to set to do this?

I've played with the App Store settings a bit:

But this didn't seem to make any difference. I've rebooted, and softwaredownloadd is still downloading. 320MBytes now. Wait... how big is this thing?

(I'm reluctant to disable the automatic update check. I like to know when new updates are available. However I do insist on being allowed to schedule the download and installation myself.)

(Macbook Pro retina 13" early 2015, OS X El Capitan 10.11.6)

You could try to unload the daemon

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.storedownloadd.daemon.plist

Or the best thing to do is pause the updates in the App Store


How to use iCloud Drive on iPhone and iPad? On the following screenshot from https://www.apple.com/icloud/icloud-drive/, it looks like I can use an iCloud app on iPhone and iPad.  But some webpage such as http://www.imore.com/how-set-and-use-icloud-drive-iphone-and-ipad says that there is no iCloud Drive app.

I hunted every where on the iPhone 5S and iPad Air which both have iOS 8 and has iCloud enabled, but I can't find such screen as in the screenshot below.

So how do I go to the screenshot as below?  I upload a PDF file, a picture, and an mp4 file on my Macbook using the Chrome browser on www.icloud.com, but can't access those files just like how I would use DropBox or Copy (which has 15GB free).

Those screenshots are from inside Pages, an app which contains support for iCloud Drive and allows you to select any Pages file inside any of your folders in iCloud Drive.

You can't just 'access' the files in iCloud Drive in iOS like you can on Dropbox. You need to use an app which supports that filetype and iCloud Drive to be able to open the files.

I believe those screenshots are of a third party app called "Cloud Drive Explorer."  It can be downloaded in the app store


How do I disable this message: "the disk was not ejected properly"? Is there any way to disable the "the disk was not ejected properly" message?

I use a KVM and need to switch between two systems and have a memory stick that is in the KVM. The problem is that it's very annoying to get the message every time I switch from one computer to the other. I know, I can unmount it (and probably should), but I switch all the time, so it's a inconvenience to unmount, and there is nothing sensitive on the memory stick.

This applescript will close them for you. Paste it into Script Editor and then Save as an application. Then grant access to that application in (System Preferences > Security & Privacy > Accessibility)
Then you can use an application like ControlPlane https://www.controlplaneapp.com/ to run the application on wake thus closing them all automatically!
** Note: You will need to grant Accessibility access to ControlPlane as well.

tell application "System Events"
tell process "NotificationCenter"
    set numwins to (count windows)
    repeat with i from numwins to 1 by -1
        tell window i
            set temp to value of static text 1
        end tell
        if temp contains "Disk Not Ejected Properly" then
            click button "Close" of window i
        end if
    end repeat
end tell
end tell

UPDATE!

OMG! QuantumG is a genius! Here is a hack (and I mean a real life hack) for disabling just this annoying message and leaving the rest of the notification system intact...

http://quantumg.blogspot.com/2015/04/disabling-os-x-device-removal-warnings.html

Warning: This is a pro-tip and not for the faint of heart! It requires hacking your Mac OSX system files and could result in you breaking your Mac.

Edited for clarity.

The issue with flash drives or other USB drives is this; whenever you write data to a drive... ANY drive on your system, the data is first written to a buffer in memory. Later, when the computer gets around to it, it will flush the buffers to the device (hard drive, SSD, or any USB device). That may be instantaneous (at least to us mere mortals) or it may take a few seconds. The possible delay means that if you yank a USB device before the buffers have flushed you may end up with a corrupted drive, or a set of corrupted files on the drive.

If you only read from a device, then there is NO NEED to flush the write buffers before you yank to your heart's content because they are empty and don't need to be flushed to the device.

So... The annoying MAC OS X warning is most probably NOT relevant. It is only important to do so if you have recently written to the device, and haven't given it enough time to flush the buffers (a few seconds, max). It is NEVER necessary to wait for the buffers to flush if you are only reading from the USB device.

Therefore Apple NEEDS to provide a way to disable individual messages for power users. Don't treat everyone as a n00b who can't be relied on to know how their computer works.

And to those who complain that I'm wrong, and there is a way to disable the messages by disabling the ENTIRE NOTIFICATION SUBSYSTEM are just plain wrong. Disabling the entire notification subsystem isn't an acceptable solution, just as removing the battery from your cell phone is NOT an acceptable solution to receiving too many telemarketing calls. The notification subsystem is important and shouldn't be disabled just because the OP finds one of the many myriad of messages to be annoying.

This is a problem that can only be adequately solved by Apple providing a way for users to opt out of specific messages.


Is it possible to send notification to Apple Watch but show alert on iPhone? I want to receive notifications for Messages.app on my Apple Watch (so that I can see the notifications in the control center), but I don't want my watch to vibrate every single time I get a message.

I do however want to be alerted of new messages. I also don't like the normal vibration that the iPhone uses (it's too long and distracting), so I made a custom vibration for Messages.app from notifications settings.

However, it seems like I can't simultaneously make alerts play on my iPhone and have notifications delivered to my Apple Watch. Is there any way to achieve this?

One possibility would be to have multiple apps for notifications. For example, for mail, I could use the custom vibration possible for the stock Mail.app to notify me on phone, and get notifications to my Apple Watch (without alerts) via the Gmail app. However, there is only one iMessage app and of course I wouldn't want to connect it to a third-party service.

If you want a solution specifically for the messages app, you could use the messages app complication on the watch. This shows you the number of unread messages you have. Although this is not completely ideal (you can't read the messages without marking them as unread), it does the job of 'notifying' you on your watch while allowing you to have alerts on your iPhone.

No only send messages to this phone no computer iPad iPhone or other devices been stolen


Apple Mail: Save Disk Space or only load some Mails I have a DiskSpace Problem on my SSD on my Macbook. So my Question is, is there any possibility to download only a few Mails (like on iOS - the first 200 Mails) or does have anybody of you out there a great Solution to prevent Apple Mail to download all my 19.000+ Google Mails and 5.000 iCloud Mails?

I would like to use the "native" Apple Mail Client.

What also would be a Idea (but i found nothing to solve this Problem) to redirect the mail to my Mailbox on my (uberspace.de) Account where i'm able to use qmail.

So it should be a nice Solution to help People with the same Problem here.

(btw yeah i'm searching for a long time for an "awesome" Solution ;)

I doubt that changing your Apple Mail settings is going to help with your disk space problem (I've got more mail items than you do in my IMAP accounts, but my Apple Mail folder in ~/Library/Mail/ is under 1 GB), but leaving that aside, here are some ways to address the question that you have posed.

If offline access to your email isn't important to you, you can simply not have Apple Mail store your email locally.  To do this, in Apple Mail, go to Preferences -> Accounts -> [your Gmail or iCloud account] -> Advanced, and select "don't keep copies of any messages" under "Keep copies of messages for offline viewing".

If offline access to your email is important to you, there are a couple of options.  There are a couple of options in the aforementioned "Keep copies …" dropdown menu which might help you, such as not keeping attachments or only keeping mails which you have read.

If you'd like to redirect mail from Gmail to your uberspace.de account, that is trivial.  In Gmail, open your Settings, select "Forwarding and POP/IMAP", and then select "add a forwarding email address".  Gmail will send a confirmation link to the email address that you provide.  After that, back on that same tab, select this email address to forward to and choose what you want Gmail to do with the forwarded email (keep it, archive it, delete it).  (Gmail's full instructions for this are here, which includes links to information about how to filter email that you forward.) In Apple Mail, you would then disable downloading new mail from Gmail and enable it for this new account after you've gotten qmail set up to your needs.

If you'd like to redirect mail from iCloud to your uberspace.de account, that is also trivial.  In iCloud, open the Settings (lower-left corner), and enter the email address to which you want your mail forwarded.  You can choose there whether iCloud should delete the mail it forwards, and I presume that you would thus not have Apple Mail downloading your iCloud mail.


Swipe to Archive instead of Delete in Mail.app on El Capitan OS X 10.11 (El Capitan) introduces the ability to swipe left on conversations in Mail.app in order to send them to trash:

However, judging from the available settings, it does not seem to be possible to make the swipe action "Archive" instead of "Trash", as it works on iOS.

Is there any way to change the action from "Trash" to "Archive"?

Open Mail > Preferences > Viewing and change "Swipe Left To" from Trash to Archive (5th line down).

For macOS Sierra, its a little different.

THERE IS A FIX IN THE GM - Change Trash to Archive!!! hard to find.... here are the instructions http://www.macobserver.com/tmo/article/el-capitan-beta-using-mail-gestures


Can you change the name of a network drive? I have a couple of network shares which all have the same name on different servers and I'd like to change the label of the mounted disk to tell me which server its on.

Can mounted network drives be renamed on mac os?

If you mount the share using terminal you can assign the mount point
to a local directory. Source: Macworld Mac OS X Hints: Ten different ways to connect to servers

  create a directory -- the mountpoint -- where the contents of the
  mounted server will appear.

$ mkdir /mnt/music
$ mkdir /mnt/movie

  The mount command should be more or less familar:

mount_smbfs //admin:stevie123@macmediaserver.local/itunesmusic /mnt/music ## for SMB shares ##
mount_afp afp://admin:stevie123@macmediaserver.local/mymovies /mnt/movie ## for AFP shares ##

The man pages for mount provide complete documentation.


Can an admin account on Mac access user's data? I am using a Macbook pro (Sierra 10.12.1),  under a non-admin account and I do not have the admin password. I was wondering how much of my data (passwords, files, etc) is accessible by the admin?

A user with administrator privileges can read all your unencrypted files. And you have to assume the access to your data can happen without you knowing it (an administrator can simply take backup of the system and access the backed up files offline leaving no trace on the system).

One exception is the keychain file (the one containing all your saved passwords). It is encrypted and, by default, protected with the same password as the one you use for login. An administrator cannot access the contents and cannot change the password to this file without knowing the current one. Thus the administrator cannot access your saved passwords, credentials, and other data which you store in the Keychain etc.

The above applies only to passive "attack". A rogue administrator can install a key logger and simply learn your password by  sniffing

The admin can't simply open up your files in finder and call it good. If the admin is using a finder window, they would have to actually change the file permissions to allow read and write to all users, under "get info". They can also change your password and then log in as you.

In terminal, the admin can access all the files as well as change your password with sudo.


iPhone: Show clean Camera feed without any on-screen controls Is there a way to show a clean feed of the Camera on iPhone screen? For example, if I go to the Camera app, I can see the record button, as well as the other controls and options.

I want to see nothing but what the Camera is seeing on the screen of my iPhone. Is this possible?

After testing and searching paid and free apps for hours. I found a free app that does this. TrueVisage. Tested with iPhone 8, connected to my MacBook with USB-C cable and recording into Quicktime. It has a minimal interface that disappears after a few secs. Leaving beautiful, HQ, controls-free, watermark-free views of front or rear camera. Also has a handy flip function. Winner!

This allows me to use my iphone like an external web camera, connected via USB-C, which looks much better than the icam native to my MacBook Pro.

Note: Notifications from other apps may still come on screen and show in the view. Disable notifications before going live.

Found an App that does exactly that. It's called Touch Camera.


Wireless 802.11ac and New MacBook Air Just bought the new MacBook Air, 13" and the new AirPort Extreme Base Station. I am curious as to how I get the max connection? Option + Click on my WiFi shows I am connected only using "n" and on the 2.4Ghz frequency. Why would it not be on "ac" and 5Ghz?

Operating at 5GHz means that (in the margin - there are other factors) 802.11ac will penetrate walls, ceilings, floors less well than 802.11n at 2.4GHz.

The AirPort Utility allows you to setup a separate Network Name for the 5GHz frequency (Wireless Tab / Click Wireless Options). This means that you can explicitly select whether to connect a device via n/2.4GHz or ac/5GHz.

If you do this you can use /System/Library/CoreServices/Wireless Diagnostics  (via Option+Click on WiFi) described here: How to troubleshoot 802.11ac bandwidth problems (note don't continue with the default assistant - select Utilities from the Window menu) to examine the relative performance of ac/n from different locations.

In my case I observed that with clear line of sight ac reported a Tx Rate of 867 Mbps compared to 145 Mbps for n. In contrast, several rooms away ac dropped off to the extent that n had better performance.

Reverting the changes above (so both 2.4GHz and 5GHz have the same network name) and repeating the tests, saw the connection automatically switch from ac to n as signal dropped off.

In contrast, I've not (yet) seen an automatic switch from n to ac at a location where powering Wifi off/on gets (and holds) the ac connection.

While less than perfect in terms of "just doing the right thing", this is perhaps understandable - triggering a switch when quality drops below some threshold rather than continuously looking for a "better" connection when what you've got (albeit n rather than ac) is rated as "excellent". Of course this is an OS X behaviour ... perhaps Mavericks will address it?

It seems to be a global problem affecting a lot of new MacBook Air. You may need to wait a software update.

On Cult of Mac


Batch copy time creation and modification date from files using OSX First of all, I have asked the same question at stack overflow, but I am not sure if it's right over there. That's why I decided to post it here, too.
t'm having a hard time trying to copy the creation and modification date of some files to other files.
I have converted some MXF files to MOV, but unfortunately the new MOV-files don't have the same creation date.
Now I had a look around for similar questions and found different answers, but this seems to be the simplest:

    #!/bin/bash
    for f in *.MXF; do
     touch -r "$f" "${f%MXF}mov"
    done

Unfortunately it doesn't work for me – neither with Terminal nor Automator.
I saved the Code with TextEdit. In Terminal I ran chmod+x to make the file executable and put it in the folder where my MXFs and movs are.
But I'm just getting the following error:
touch: *.MXF: No such file or directory
I have also tried mxf instead of MXF.
This is the output of ls- l from the test folder

-rwxrwxrwx  1 username  staff  258458160  5 Jan  2014 570_0301.MXF
-rwxrwxrwx  1 username  staff  241431870  5 Jan  2014 570_0301.mov
-rwxrwxrwx  1 username  staff  974595120  5 Jan  2014 570_0306.MXF
-rwxrwxrwx  1 username  staff  911745994  5 Jan  2014 570_0306.mov
-rwxrwxrwx  1 username  staff  667679280  5 Jan  2014 570_0308.MXF
-rwxrwxrwx  1 username  staff  624468526  5 Jan  2014 570_0308.mov

Because I managed to get the modification date copied it seems that all the files already have the same date, but this doesn't cover the creation date.
Maybe someone could help me out? Will it change the modification and creation date? Because both are important...
Thank you very much in advance and all the best!

EDIT: Got the script working thanks to user3439894.
But it still doesn't update the creation date...
MXF: created 05.01.2014 06:49, modified 05.01.2014 06:50
mov: created 23.06.2016 05:34, modified 05.01.2014 06:50
Is there any way to correct this?

Since this is not working for you I'm going to suggest you do as fd0 suggested and use SetFile.  This will be used in conjunction with GetFileInfo, both of which are a part of Command Line Tools for Xcode.

You do not need to install the Xcode.app which is ~3.80 GB, just ~160 MB for Command Line Tools for Xcode.

In Terminal: xcode-select --install

See How to Install Command Line Tools in OS X Mavericks & Yosemite (Without Xcode), which is also for OS X El Capitan.

Here is a bash script to use with SetFile and GetFileInfo:

#!/bin/bash

for f in *; do

    if [[ -f $f ]] && [[ ${f##*.} == MXF ]] && [[ -f ${f%.*}.mov ]]; then

        cDate="$(GetFileInfo -d "$f")"
        mDate="$(GetFileInfo -m "$f")"

        SetFile -d "$cDate" -m "$mDate" "${f%.*}.mov"

    fi

done

If you just need to copy modification date to creation date on same files you can use my modified script:

#!/bin/bash

for f in *; do

    cDate="$(GetFileInfo -d "$f")"
    mDate="$(GetFileInfo -m "$f")"

    SetFile -d "$mDate" "$f"

done


How to disable zoom-out in Safari in split-screen on El Capitan? In split view on El Capitan Safari zooms-out some websites, making them unreadable (and making split view unusable).

Is there any hidden setting to disable this?
I tried to use setting in 'Advanced' preferences that is called 'Never use fonts smaller than X' - it does not seem to make any difference. Also there is nothing in TinkerTool about that.

As an example, this is how Chrome and Safari behave in the same situations:

When Safari side takes minimum space, Safari completely "zooms-out" website and shows "overview" (?) of the web-page:

When Chrome side takes minimum space, it still shows normal font sizes without any special treatment. (Notice how this web page looks normally in Safari):

This effect looks cute, but is not very useful in my opinion.

Can this behaviour be disabled, so Safari behaves like it does when window is just resized?

Just scale it yourself with ⌘+. With the split in the middle, ⌘++ will scale it to 100%.

FWIW I much prefer Safari's scaling—it should be a preference.

Its their show all tabs view, which is available via the icon on the top right of the browser. So the only way to not have this happen is to use another browser such as chrome:

https://support.apple.com/en-gb/guide/safari/sfri11576/mac


Python path added to $PATH -- cannot find origin I just installed Python 3.6 from python.org on macOS Sierra.

Somehow, the path to python's bin is added to my every $PATH but I can't figure out how:

22:15 : echo $PATH
/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/Library/TeX/texbin

Now, /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin is the default value in my /etc/paths and the X11, git and TeX parts come from the 3 files in /etc/paths.d/. But I have no Python-related file in /etc/paths.d/.

And there is nothing related to Python in my ~/.zshrc.

Does anyone know where the Python bit of $PATH is coming from?

zsh reads from up to 4files on start up

  If ZDOTDIR is not set, then the value of HOME is used; this is the usual case.

$ZDOTDIR/.zshenv
$ZDOTDIR/.zprofile
$ZDOTDIR/.zshrc
$ZDOTDIR/.zlogin

You need to look in all of them.

.zshrc is read every time a shell or sub shell is started.
.zprofile is read when you start a login shell - ie the first shell you start through terminal, and this is where I would put the PATH changes


How do I record a screen cap video of the iPad? I'm looking for a method to record the video without actually filming the device. Does such a method exist?

Reflection (US$15) turns a (Lion or above) Mac into an AirPlay receiver that can handle mirroring.  Once you've got the mirrored display on a Mac, all you need is to capture that video, which is easy.

For example:

Start Reflection on the Mac.
Turn mirroring on (requires iPad 2 or newer or iPhone 4S or newer), selecting the Mac as the target.
Use a video screen capture program (Quicktime Player can do this, but there are lots of more advanced ones if you need more) to record the Reflection window.

No jailbreaking is required.

AirServer (also US$15) is another application that offers essentially the same functionality as Reflection (and was released slightly afterwards), but is also available for Windows, if you don't have a Mac to do the recording on.

In general, no.  You can buy the Apple iPad Dock Connector to VGA Adapter, but it will only work with applications designed to support it.  Most don't.

If there is a particular application you want to record, contact the developer of that app or check the documentation (if any) to see whether it supports video output.


Why am I getting "An internal error occurred while preflighting your volume for APFS conversion"? I have a Mac Mini 2014. I just installed a second SSD drive Samsung Evo 500GB and would like to use as the primary drive for OS.

I formatted both drives with disk utility to OS Extended Journaled and clicked install Mojave but got this error.

If I format the drive as APFS, the installation starts but after the restart, I get a blinking folder with a question mark. If I try to install from an external USB, instead of the folder with a question mark, I get booted into Recovery again instead of continuing the installation process.

Any ideas?

Try to install on the old disk first, to see whether there is a hardware issue with your new disk, for instance by copying a lot of files to it. You can also then install a second copy of your OS to the SSD and see where it fails.

Once both work, if you boot with ALT and press CTRL, it will save the ssd you are booting to as default.


How to configure 3G/4G dongle in macos 64bit version? I have faced this problem of not able to connect to 3G/4G dongles, currently the Huawei E3372 one. Was using Mobile Partner app & since the 64bit upgrade it has failed.

I found a quick work around using the default "Network" option.
I am using Airtel 4G & Huawei E3372 dongle.
Below are the steps followed:
 1. Open System Preferences > Network

Configure adapter HuaweiMobile-
Configuration: Default
Telephone Number: *99#

In the Advanced pane:

Vendor: Generic Model: GPRS (GSM/3G)
APN: Default (check for APN through your provided for other services)
CID: 1

Select "Show Modem in status bar" for easy toggle.

All,

Solution found and please see in the Link.

See full video for Better understanding":

https://youtu.be/oNRuZm2IB5A


How can I stop an iPod from upgrading the iOS once it has already started the download? I accidentally clicked to upgrade from iOS 7 to iOS 8.1.1. The problem is, I am a developer and want my device to remain at iOS 7 so I'm testing with the same OS and browser version that my corporate users are using in the field. However, there is no "Cancel" button (seriously, Apple? ...seriously? )

I tried shutting the device off and turning it back on, but it resumes the download after it's restarted. Same with turning WiFi on and off. I need to stop it permanently.

I read this macworld.com article that discusses how to revert back once you've upgraded, but at the top it specifies that it no longer works: "Update: The technique outlined here for reverting to iOS 7 no longer works as Apple has stopped signing versions of iOS prior to iOS 8."

I did read one "hacky" way to prevent the download from completing by leaving the video recorder on so space fills up and it can't finish. Is there a better way to do it?

(Hopefully this question is in the right place w/right tags - I haven't posted in this SE before)

Turn off wifi.  Reset All settings.  Phone reboots and download is canceled.


Photo Booth freezes for >30s whenever I open it I've had this problem ever since I upgraded from Mavericks. Whenever I open Photo Booth, the application seems to be stuck on startup and I have to wait for like 50 seconds for it to become useable. A few months ago, it used to be like 20 seconds but it seems like the waiting time gets higher all the time.

Im using a Macbook Pro Retina 15 inch Early 2013.

Do you have Dropbox? I found that if I quit the Dropbox app, most of these 'hangs' go away. Starting Chrome and Safari, Launching Mail.app all improved when I quit Dropbox. I still have Dropbox, and I restart it to get it to sync every so often, but I leave it off.

I have seen others with similar experience, but I don't use photobooth, so can not tell you if Dropbox is the cause.

Also, I found a noticeable improvement across the board from starting with a clean install of Yosemite. My 13" 2011 MacBook Pro was nearly unusable following an upgrade to Yosemite.


Resetting jailbroken device in settings caused boot loop I recently jailbroke my phone and for some reason my phone wasn't syncing my music from my iTunes library. I restarted my phone and lost my jailbreak tweaks. As my phone restarted the Cydia icon was still on my phone.

I went into settings and erased my iPhone. I saw the Apple logo and then it went into a black screen with a spinning circle. It's been on it for almost an hour. What can I do in a situation like this?

Resetting a jailbroken iOS device using the option in settings will cause no end of bad things, usually resulting in a device stuck in a boot loop, which appears to have been the case here.

You'll have to restore your device in iTunes. Connect your device to iTunes, then hold power and home until the screen turns off and back on with the Apple logo, then let go of power but keep holding home. Once the device appears in iTunes, restore it.

Yesterday I was stuck in boot loop after erasing my iPhone using  iCloud and it was going normally and it after that the screen of death appears.. I search a lot and I looking around I found nothing but restore and I didn't wanna upgrade to 8.2 IOS so I do hard reset several time like I do hard reset one time and it takes me to the homescreen and it give me the time between loading of springboard I tried many time to reset all settings I disable my pass code in first attempt and I tried again and again so atlast now at this time I got extreme fast and I just tried the option setting>general>reset>reset all settings .. And whoa after million time It resets and become alive.. (Sorry for English) well it worked for me.. Hope it helps..