Signing up for an Apple Developer Account under 18 I am looking to launch an app within the next few days on the store. I have done this before in the past under a parents name but as I am 17 and will be 18 in a few months wandered whether it would be worth signing up to the program with my own account now.

I have read other posts on the min. age being 18 but is there anything that could feasibly happen as a result of this? Or am I just better off doing it under my parent for another year?

Launch the app through your parent's name, you are still under 18 and this will ensure your legal obligations are met.

When you turn 18, you can create a new Apple Developer account in your name and transfer your apps from your parent's account to your new account.

I believe the transfer will include your statistics and other meta-data associated with each app.

This approach is common practice for consultants who develop and manage apps for clients, before handing them over when their role ends.

With regard to choosing the bank account, so long as your parents agree this should be fine.


Copy entire user profile to new device with different username My work MBP has been set up as a standalone device, but now needs to join the corporate network.

Is there a way to copy my entire user profile (apps, config, terminal settings etc) to a new device (the same device, having been wiped) with a different username? (e.g. domain\dunc)

The new user account will already be created on the "new" device, and I don't have the ability to change this.

I have done the same thing a number of time for the same reasons.

In what follows I assume you are running macOS High Sierra or later. If that were not the case, some paths and preference pane options might be different.

What I have found is that using the same Apple ID on both the old and the new machine/install already goes a long way. Just make sure to select Mail, Contacts, Calendars, Reminders, Safari, Notes and especially Keychains in System Preferences/iCloud on both machines. If desired you can enable the other items as well like iCLoud Drive, Photos etc.

This way you will be able to migrate your passwords, Safari bookmarks & history etc. Using the same Apple ID you will be able to re-download all apps you bought from the App Store as well.

If you are using Dropbox or similar, install those as well on the new machine/install. This way any file stored there will be available on the new box as well.

What's still missing is:

Documents (the ones not in iCloud Drive, Dropbox etc.)
Preferences
SSH keys
Any app not bought from the App Store
Any system-wide extension, VPN profile and the like.

To bring those over, what I suggest is the following. Log onto your old machine/install and backup (to an external drive or USB stick):

Your home directory (/Users/"username")
/Library
/Users/Shared (if not empty)

A Time Machine backup would be more complete and definitely preferable.

On the new machine/install, under your new account:

Re-install your old apps (re-download them if necessary).
Copy the directories Application Support, Fonts and Preferences from  "your old home directory"/Library/ to "your new home directory"/Library/
Do the same with any app-specific directory you find there.
Display hidden files in your old home directory using the Finder (Command + Shift + .) and copy .ssh, .local and any app specific files and directories over (e.g. .vim/ and .vimrc).
Copy the content of the old /Users/Shared to the new machine.
Copy any file or directory over from the old /Library folder to the new one. This typically involves looking inside Application Support, Extensions and Fonts in there.

Application-secific configs are typically stored in your home directory, inside Library/Preferences and/or Library/Application Support. To copy those over you have two choices:

Copy the whole Library/Preferences and Library/Application Support directories from your old home to the new account.
Selectively copy the files and directories from those two locations over to the new account.

My preferences is for the latter option as I like to keep things clean.

Some notes and warnings: messing with /Users/Shared and especially /Library/Extensions is not usually necessary. Please do it only if you know what you are doing as you could mess up your new machine.

For the next time, you might want to look into automating the setup of a new macOS machine. There are a number of ways to do that. One I use if having your own dotfiles.

Most of the files you will be copying over using the procedure outlined above are not tied to your username. There are a handful of exceptions however (mostly your shell config and history).

If you are familiar with the Terminal you can use grep to find them (e.g. find $HOME -exec grep $USER {} \; -print on the old machine when logged in as your old account).

Finally, the list above is probably not complete. However you should be able to adapt it to cover your needs.

Good luck!


Set parental controls on an Admin account So this is a strange question, but I'm starting to get really organized and stuff, and I want to make sure my computer shuts off at 10:00 (I'm in high school). The problem is, being the only admin on my computer, I would be able to get around it. Is there any way I can have my parents choose a password to enter, without me knowing it, and make it so I can't bypass it?

No - the admin user is the way that the system detects which accounts can modify a parental restriction either once or permanently.

You'll need to not use or (have) an admin account or come up with some other social contact like setting up a recurring alarm that you voluntarily obey when the time comes to cease computing.

Scheduling an automatic shut down would also work to give you some notice that it's time to be done and the system would take action unless you over ride the power down.

Just head to the energy saver preference pane and establish a schedule for the system to shut itself on and off would be my recommendation for a user with admin privileges yet wanting a reminder to keep certain hours.


iPhone 'steals' email from OSX mail I'm having an odd problem with my Comcast emails. I have 2 comcast emails. Messages are received "theoretically" on both my mac(Mavericks) and iphone (ios 7).

On one of the emails (named: "Comcast2") sometimes emails only go to my iphone. 75% go to both the iPhone and the mac, but some get stolen by the iphone and I often miss them.

Has anyone experienced this before? and hopefully found a solution?

What I have tried
I have set both my mac and iphone emails to never delete emails from servers.

You should switch to using IMAP protocol instead or POP. IMAP has better support for multiple devices, and leaves the messages on the server by default. For more info on POP vs. IMAP here's a good link.

Note that you shouldn't just change the protocol, since a part of your messages has been downloaded to your device and deleted from the server. If you change the protocol, you may experience data loss. Instead, create a new account with IMAP and the same logins, and move the missing emails to the new account. After this, it's safe to get rid of the POP account and start using the IMAP version. For mote info, check this guide.


How can I force Dropbox to Sync files I have several files in my local Dropbox directory which Finder shows with the blue "in progress" indicator, some have been there for days.

How can I force Dropbox to Sync the unsynced files?

Check for the Dropbox icon in the Menu Bar. While the files are syncing, the icon is shown overlaid with a pair of arrows. Once the Sync is complete the overlaid arrows are no longer shown on the icon.

There is apparently a long standing bug in Dropbox client where even after files have Synced, Finder shows files as being synced with a blue sync arrow shown.

To make sure that files have Synced properly, relaunch the Dropbox client (click on the Menu Bar icon and select Quit Dropbox), and check on the Sync progress by looking at the Menu Bar icon. This is the most definitive test. Clicking on the Menu Bar icon also shows the current download and upload speeds along with the number of files to be synced and estimated time remaining.


To install applications in Developer view of iPad I would like to install Amazon's Kindle application to my virtual iPad on my Macbook Air's Xcode.
However, the developer view is very limited.
I can only connect iCloud which shares some details such as emails but not programs.

How can you install Kindle to your virtual iPad in XCode?

You can only install apps that you have built yourself in the Xcode emulator.

One reason is that the emulator runs x86 code whist production uses a ARM processor


I want to backup my Mac partition, including the OS, so that I can use the backup to restore my hard drive to its current state I want to dual-boot Ubuntu (14.04) of my Mac running OS X 10.10.3. I want to make sure that I can use my backup to fix any issues I might have dual-booting. I have a bootable USB with Ubuntu on it, and a partition on my internal hard drive to install it on, but I want to back up that Mac partition, including the OS, so that I can use that to get everything back to how it is now, no matter what error happens during dual-booting.

What is the best way to do that?

Simply connect external hdd with enough storage and use Time Machine application (which is included in OS X)

Here's tutorial from Apple


Speed up Mission Control Preview Animation Once in Mission Control, I like to able to preview the contents of each the Desktops in the larger preview section instead of only relying on the thumbnail view.  You can accomplish this by entering Mission control and then hittingCTRL+Shift+left/right arrow.

However, the animation for switching between desktops in the main preview screen is so slow that it because unbearably useless for as fast as I like to work.  Is there a way to actually speed that animation up?

Not sure why you're using ctrl-shift to do this. This exits Mission Control, but selects the desktop you clicked on. The reason the animation is so slow is that you're held shift (which slows down many OS X animations). Holding ctrl does nothing.

I think what you want to do is switch the preview area of Mission Control to show the contents of another desktop.
This is accomplished by option clicking on the Desktop you want to preview.


Can I redeem EUR iTunes vouchers in any EUR country? Can I redeem a 50 EUR iTunes gift card purchased in Germany in any other country of the Euro zone?

No. You can only redeem a gift card purchased in Germany in Germany. See this Apple doc, the section called "GESCHENKGUTSCHEINE, ITUNES KARTEN, GUTHABENKONTEN UND CONTENT CODES". Google translate does a very nice job (the doc is in German).

Anyway, here's the (translated) quote:

  Gift certificates, iTunes Cards, Content Codes and credit accounts that were purchased in Germany can be redeemed through the stores only in Germany.

It appears that this is the case for most countries.


Purge synced documents from iCloud Drive I'm using iCloud Drive to sync my Desktop and Documents folders to iCloud.

In theory this is good, but it's finished uploading every single file, and the files still take space on my HD. It doesn't seem that macOS makes space when needed, as when I try creating a large file with mkfile or try to copy a bigger file through the Finder it fails saying there's no space left.

I know that if I'm sure all files are syncronized I can switch iCloud Drive off and back on to free up space, but is this really the official and/or best way to free up space after syncing is finished?

I assume a "Free up space" button would be an obvious addition to the UI? What's the best way to remove files that are already synced?

After years, iCloud still seems like a half-baked product to me.

It works as intended, I’m afraid. “Your Mac keeps all of your recent files on your computer, but keeps your older ones only in iCloud, ready for you to download when you need them again”, Apple says. So as long as you still have enough free space on your hard disk the files will stay there.

Please see Apple’s article Free up storage space on your Mac for tips on how to free up more space on the Mac using iCloud.


Applescript to compare two lists of domains and eliminate duplicates I tried to do this with Automator and found it...lacking. I have tried to look for solutions everywhere else I can think of, but my searches keep pointing me to Applescript as the only available answer.

I need to automate this daily task that's very time consuming and have no idea how to do it in Applescript since I only started "learning" about it two days ago.

Hopefully someone here can help me out.

Here's what I want to do:

I have a master list of domains.
Compare the secondary list of domains I create everyday and have the duplicate entries removed (duplicates when compared to the master list).
Then after I have had a chance to copy the left-over (non-duplicate) domains, have them be added to the master list for tomorrow.

It seems simple enough for this non-programming mind of mine, but I can't seem to find an easy way of doing this anywhere.

If you can think of an easy way that I'm not thinking of, please do let me know. Or if you have that gifted touch with Applescript, please tell me how to do this.

Thank you kindly in advance.

Thomas

It would be easier to use shell scripting:

grep -vxf master.txt today.txt > today2.txt; cat master.txt today2.txt > master2.txt


How do I get rid of the Notificationexec error in OS X Lion? I made the mistake of attempting to run the Maxtor Hard Drive Manager Installer on OS X Lion. It doesn't run because it is a PowerPC app. I uninstalled it but I still get a popup alert every 10 seconds which makes the Mac impossible to use. I looked up forums but nothing helped. Best suggestion was to go to the Library folder and remove the relevant files under Driver Support folder. Unfortunately I don't have such a folder. I removed a dmg file with Maxtor name but it still didn't help.

I would truly appreciate any on this matter as it seems that I am stuck.

Thanks.

OK. Here is the solution I found, which is terrible but it works. Basically, I went to the Finder, opened the Search Criteria and searched for anything with named Maxtor and Seagate. After deleting several files, one of which had the word notification in it, I don't see the popup anymore. Most other solutions on Apple support site refer to removing files from Library -> Driver Support but I had no such folder. So if no other solution works for you, I suggest that you go to the finder and delete everything as I described above.


iTerm2 Supply PWD to coprocess in capture output trigger How do you supply PWD to a coprocess script?

For instance, given the below trigger:

When I double click the captured output, it runs the script: ~/rerun_test.sh supplying the filename that was matched: \1.

However, the application I work with does not output the present working directory (PWD) so I need to have it available to me as a variable that I can supply somehow or the other.
For semantic history when you run a command the PWD is \5 for instance:

  Command runs when you activate Semantic History on any filename. Use \1 for filename, \2 for line number, \3 for text before click, \4 for text after click, \5 for pwd. You can also use interpolated string syntax.

Is there anything equivalent that I can resort to? Obviously in this context: ~/rerun_test.sh \1 \5 does not work.

Confirm - I guess that's a bug in iTerm2.
IMHO, the sub-shell in which your command is executed should point to the same working directory as your main shell (at that point). It doesn't, and it actually happens to be / - which is bad, and prevents your script/any editor from finding the file.
Just as a side note in case someone is using "capture output" in combination with clang or clang++: there is an ugly workaround... one can force the compiler to print absolute paths only, even if the inputs were given as relative paths:
`-fdiagnostics-absolute-paths`


How to initiate VPN conection from command line? I would like to save some mouse clicks and keystrokes by initiating VPN connection from command line. Is there tool for this in Mac OS X? Ideally, it should accept VPN connection name and password and start VPN connection.

Update: I'm talking about builtin VPN client for Cisco IPSec VPN.

Your best bet seems to be AppleScript:

tell application "System Events"
   tell current location of network preferences
       set VPNservice to service "VPN (L2TP) 2" -- name of the VPN service
       if exists VPNservice then connect VPNservice
   end tell
end tell

(from http://macscripter.net/viewtopic.php?id=22992)

As for entering a username and password, I'm not sure how you could do that. Further scripting could get you the frontmost window and input the username and password, then submit the dialog, but as I don't have a Cisco VPN to test I couldn't tell you how to set that up.

If you have the actual Cisco VPN client installed (which afaik is not necessary), you could just use this command:

open /Applications/VPNClient.app --args -c -user <YourUsername> -pwd <YourPassword> <ProfileNameToConnect>


nginx config set up/ Local setup I try to setup custom nginx config for site. Local setup. I use vmware virtual machine Mac OS X EL capitan 10.11. and use this tutorial

It's my nginx.conf

enter code here

#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
   worker_connections  1024;
}

http {
   include       mime.types;
    default_type  application/octet-stream;

#log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
#                  '$status $body_bytes_sent "$http_referer" '
#                  '"$http_user_agent" "$http_x_forwarded_for"';

#access_log  logs/access.log  main;

sendfile        on;
#tcp_nopush     on;

#keepalive_timeout  0;
keepalive_timeout  65;

#gzip  on;

server {
  root /Users/myfolder/Documents/folder/project-folder/;
  index index.php index.html index.htm;
  server_name project.dev;
  index index.php;
  client_max_body_size 2000M;
  location / {
    try_files $uri $uri/ /index.php?$args;
  }
  # Add trailing slash to */wp-admin requests.
  rewrite /wp-admin$ $scheme://$host$uri/ permanent;
  # Directives to send expires headers and turn off 404 error logging.
  location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
      access_log off; log_not_found off; expires max;
  }
  location ~ \.php$ {
      fastcgi_pass 127.0.0.1:9000;
      fastcgi_buffer_size 128k;
      fastcgi_buffers 4 256k;
      fastcgi_busy_buffers_size 256k;
      fastcgi_index index.php;
      include fastcgi.conf;
  }
 }

project.dev configuration:

enter code here
server {
root /Users/myfolder/Documents/folder/project/;
index index.php index.html index.htm;
server_name project.dev;
index index.php;
client_max_body_size 2000M;
location / {
  try_files $uri $uri/ /index.php?$args;
}
# Add trailing slash to */wp-admin requests.
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# Directives to send expires headers and turn off 404 error logging.
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
    access_log off; log_not_found off; expires max;
}
location ~ \.php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_buffer_size 128k;
    fastcgi_buffers 4 256k;
    fastcgi_busy_buffers_size 256k;
    fastcgi_index index.php;
    include fastcgi.conf;
 }
}

host:

 ##
 # Host Database
 #
 # localhost is used to configure the loopback interface
 # when the system is booting.  Do not change this entry.
 ##
 127.0.0.1    project.dev
 255.255.255.255    broadcasthost
 ::1

I try to setup http://project.dev - it's not working. This site can’t be reached.  What did I miss?

Your nginx.conf and your project.dev are somewhat hosed. And in my opinion your hosts is "non-standard".

I propose a different method - using a virtual hosts configuration with no standard site.

I assume nginx is already installed with brew. Instead of using the sudo brew services nginx start/stop command (which creates/loads and unloads/removes a launch daemon all the time) I use a permanent launch daemon here.

Stop nginx!
Copy the nginx' launch daemon to /Library/LaunchDaemons and modify the permissions:

sudo cp -v /usr/local/opt/nginx/*.plist /Library/LaunchDaemons/
sudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.nginx.plist

Create following folders (if they don't already exist)

mkdir -p /usr/local/etc/nginx/logs
mkdir -p /usr/local/etc/nginx/sites-available
mkdir -p /usr/local/etc/nginx/sites-enabled

Replace the content of the current nginx.conf by

worker_processes  1;

error_log  /usr/local/etc/nginx/logs/error.log debug;

events {
    worker_connections  256;
}

http {
    include             mime.types;
    default_type        application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /usr/local/etc/nginx/logs/access.log  main;

    sendfile            on;

    keepalive_timeout   65;

    index index.html index.php;

    include /usr/local/etc/nginx/sites-enabled/*;
}

Create your project folder:

mkdir -p ~/Development/project-folder/project.dev

Add at least a simple index.html in ~/Development/project-folder/project.dev (to be able to test nginx)
Create a file project.dev in /usr/local/etc/nginx/sites-available/ with the following content:

server {
  listen                *:80;
  server_name           project.dev;

  location / {
    root  /Users/your_username/Development/project-folder/project.dev;
    try_files  $uri  $uri/  /index.php?$args;
    index  index.html index.htm index.php;
  }

  location ~ \.php$ {
    root  /Users/your_username/Development/project-folder/project.dev;
    try_files  $uri  $uri/  /index.php?$args;
    index  index.html index.htm index.php;

    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_intercept_errors on;
    include fastcgi_params;
  }

}

Now link project.dev to sites.enabled:

ln -s /usr/local/etc/nginx/sites-available/project.dev /usr/local/etc/nginx/sites-enabled

Modify you hosts file with sudo nano /etc/hosts to:

127.0.0.1   localhost
127.0.0.1   project.dev
255.255.255.255 broadcasthost
::1             localhost

Test the nginx config:

sudo nginx -t

Start nginx with:

sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist

Test the website with:

curl -IL http://project.dev:80

To manage nginx easily create some handy aliases in ~/.bash_profile like:

alias nginx.start='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist'
alias nginx.stop='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist'
alias nginx.restart='nginx.stop && nginx.start'

Source the modified .bash_profile with source ~/.bash_profile afterwards.

After setting up a working basic website, add all necessary additional directives/locations. Check the error logs for errors afterwards!

To reach the OS X VM's website with a client (e.g the VM host - your physical computer), add an entry for project.dev in the client's hosts file:

127.0.0.1   localhost
ip_address_of_osx-vm    project.dev
255.255.255.255 broadcasthost
::1             localhost

The most simple set up for the VM is to attach the network interface of the VM to a bridged network:

VM > Settings > Removable Devices > Network Adapter > Bridged Networking > Ethernet (or Wi-Fi)

In the Network preferences of the VM configure an IP in the same network as the VM-host's network interface. Example: if the bridged interface is Wi-Fi and the IP address of the VM host's Wi-Fi is 192.168.0.15/255.255.255.0, choose a unique IP in the same network for the OS X VM's network interface (e.g. 192.168.0.115/255.255.255.0).

A (website) client's hosts file should look like this then:

127.0.0.1   localhost
192.168.0.115   project.dev
255.255.255.255 broadcasthost
::1             localhost


How can I make an external drive behave as an internal drive? My question is pretty much summed up by the title, I have an external drive which I'd like to have recognized as an internal drive. How can I do that? Thanks for looking at my question. By the way I am running 10.11.3 on mbp

I just found this answer, sorry I tried looking first but couldn't find it....

You should be able to do this with dd by setting Removable to False.

Unmount your disk, then run…

dd if=/dev/zero of=/dev/disk2 bs=1 count=1

Don't forget to replace disk2 with the actual disk identifier.

This command will erase the contents of the disk. Untested, be careful, usual 'not responsible if stuff goes wrong' applies :)


Font display issue with 2018 Macbook Pro on External Monitor (2016 MBP is fine) I have a Dell Ultrawide u3417w. I recently bought a 2018 Macbook Pro and the fonts display considerably different than the 2016 Macbook Pro with the same software. Both laptops are running OSX 10.13.6. Fonts on the 2018 Macbook Pro have an orange/yellow hue around the fonts. Almost like a strange chromatic aberration.  Please see images below.

Is there anything I can do here. The fonts are pretty difficult to read. Thanks!

From the photo you posted it looks like the Dell is running wrong (low) resolution. Check that.

Also
Check what Profiles is used for the Dell.

In Color Sync Utility, in the Utility Folder.

In there you can run verify and repair function.

and verify what profile is used for the Dell.

Some background:

Apple's ColorSync Utility is built in to OS X. ColorSync profiles are used in image-rendering devices so colors will match across different devices. For instance, if you have two monitors attached to your system that are of different makes or models, then it is likely their pixel response ranges are slightly different. As a result, reds may be more vivid on one monitor than on another one, or the blues may be deeper. These variations can be allowed for by creating a color profile for each device, so when image data is passed between them they will display it accurately.

In my case, I do not have Dell to show you its profile.

Some more reading material.


Mystery Box in Expose (or what I think is expose) For some reason I have a mystery box when I go to expose (or w/e f3 is).  It'll show my other open apps, but once space will be transparent until I mouseover it.

It isn't horrible, but annoying so any help would be great.

Thanks

If it's not the web browser, and you're sure you've quitted it (I'm sure you know on a Mac closing the window doesn't usually quit the application), then try this when you see another floating window:

Search Spotlight for Activity Monitor
Change the drop down menu to Active Processes or if not available choose My Processes
Sort by Real Memory Usage
File>Print the list and post it somewhere where we can see it

That will tell you every application and active daemon that is running actively so that we can check if anything is out of the ordinary.


Could iCloud be replaced by a personal WebDAV server? I like to run all my own data services (for security and confidentiality).
I'm wondering whether anyone has tried to replace iCloud with a personal server.

I presume that a combination of server side WebDAV plus jabber might do the trick together with some client side scripting and sculpting of the hosts file.

The aim would be to as completely as possible replace Apple's services but still use the OS X and iOS integration for documents and messages between a single user's devices.

Simple answer: No

More exact answer: Maybe.
You would need to have a inside knowledge of the internal processes of the iCloud. The iCloud is not just one server, but many of them with different parts (Key Value Storage, Document storage, ....)
I don't think it's possible to replace them without extreme inside knowledge.

For more info about what exactly the iCloud is (much more than just a file server) you could read this Mountain Lion Review from John Siracusa

Of course there are other services which provide the same tools for managing reminders, todos, ... But there isn't a direct replacement for the iCloud and I can't imagine that there will ever be one. That would fundamentally contradict with apples philosophy of a closed and controlled environment.


Is it possible: Automator workflow for date based file import? I'd like to know if the following is possible with Automator.

I want to be able to move any files, but in my special case videos and photos, from any possible device ( iPhone, iPad, SD card, but perhaps also from other directories) to my NAS, ordered by date.
Each file type should have a separate directory, eg.

NAS://imported/video
NAS://imported/photos

What it should also do: within those separate directories, there should be a folder for each date a photo or video will be moved to(and it would also be important that you can customize the date format to yy-mm-dd , dd-mm-yy or the like, before you run the workflow )

NAS://imported/video/2014-11-04
NAS://imported/video/2014-11-05

Now every video made on november the 5th should be moved to NAS://imported/video/2014-11-05/video_file1.mp4

I know that it is no problem to move files by type into certain folders, but I dont know how to create date-specific folders for each file before the move-command....

I'm on MacOS 10.10 (Yosemite)

This will be difficult with Automator but it is possible. You will need to augment your Automator workflow with Run Script steps involving some other scripting language. That language can be shell script, AppleScript, or another command line capable tool such as perl.

Alternatively, you may find a third party tool like Hazel is able to help:

  Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create. It features a rule interface similar to that of Apple Mail so you should feel right at home.


Hiding/Unhiding a slide in Keynote for iPadOS How can one hide/unhide slide(s) in Keynote for iPadOS?

I find my self very often having to edit keynote presentations (stored in iCloud) while I have no access to my MacBook and I can say that working on iPad is pretty nice and all, but I cannot figure this one thing out.

Has anyone ever come across this and has a way of doing it?

I guess you mean skipping a slide during a presentation, i.e., the slide will be present, but will not be shown during the presentation. Here is how to do it in Keynote for iPadOS/iOS:

In the slide navigator: Tap the slide to select it, tap it again, then tap Skip Slide (or Unskip Slide to include it back again). You might need to tap ▶, or rotate your device to see the Skip Slide/Unskip Slide command.
In the light table view: Tap to select a slide or select multiple slides, then tap the  (the Skip button) or  (the Unskip button) at the bottom of the screen.

The directions have been taken from the Apple Support pages for iOS and iPadOS


Unable to transfer files from external hard drive Problem:

I'm trying to transfer about 168 GB of files from an old Windows XP machine to a newer MacBook Pro running OS X 10.6.8.

I successfully copied the files from the XP machine onto a 2TB Seagate drive, formatted as NTFS.

I opened the Seagate drive on the Mac and started copying the files. Though the drive is read-only because it is NTFS, all I need to do is copy files off of it.

About 15% into the transfer, a message pops up saying "The operation can’t be completed because an unexpected error occurred. (Error -8084)" and the transfer stops. This has happened multiple times.

What I've tried to fix the problem:

I tried transferring one of the sub-folders of the backup, also resulting in an error, though this one was different. It was something like: "The process has been stopped because a file is in use." It then said the name of the file. I tried this second process twice; each time it gave a different file name.

In both cases, some of the files transfer properly, but most don't.

I have tried disabling Spotlight for the drive, but that didn't help.

Even reading with NTFS can be an issue with the OS X system. Assuming you don't have any individual files that are greater than or equal to 4GB, I would switch to a more OS X - compatible format like FAT32. This is both readable and writeable to/from OS X and Windows systems. I would reformat the drive to be FAT32, retransfer your data, and then try the transfer onto the OS X system.


Connect two VGA dell displays to my macbook? I want to buy two 17 inch dell displays to use them with my mackbook pro 13 inch with one thunderbolt port but I dont want to buy them until I know that I can use them haha

I want to know which adapter I have to buy (I live in mexico so it might be difficult) or if I can use the normal thunderbolt to vga that I have and this one: http://mlm-s2-p.mlstatic.com/cable-adaptador-convertidor-usb-a-vga-tarjeta-video-externa-14810-MLM20090514678_052014-O.jpg.

You can use multiple displays with MacBook Pro. Retina version have two thunderbolt ports that you can use simultaneously to two external displays along with MacBook's LCD panel.

There are also USB cables which comes with internal display card attached, so it will not have the same speed the MacBook's integrated display card, but if it is compatible with your OS version, should work without any issues.


How do I get rEFInd working with OS X 10.11 El Capitan? I noticed that I could not install and use rEFInd after upgrading to OS X 10.11 El Capitan. This restricts me to OS X so I cannot boot my Linux partition.

I get the following error: error "Could not set boot device property: 0xe00002bc"

You must disable System Integrity Projection.

Restart the computer, while booting hold down Command-R to boot into
recovery mode.
Once booted, navigate to the “Utilities > Terminal” in the top menu bar.
Enter csrutil disable in the terminal window and hit the return key.
Restart the machine and System Integrity Protection will now be disabled.

source: http://mattjanik.ca/blog/2015/10/01/refind-on-el-capitan/


Some apps don't open, how can I fix it? I have iPhone 5S and about two days ago updated to IOS 8.3 but now there are some apps that don't open like "youtube", "doulingo" or "Line" ( when I want to open youtube it is jumping out ).

Now it is appreciated if you help me to fix this issue.

Generally, if apps quit right after they are opened, the two steps YOU can do are:

Go to the multitasking environment and quit the app(s) entirely (swipe the app window up and out of the screen), then try again
If 1. does not help, you can see about uninstalling and then re-installing it/them using iTunes on your computer.
IMPORTANT: Uninstalling and re-installing an app will also remove its own user data (e.g. documents or messages)

If both steps do not work to get the app(s) working again, you may want to contact the app developer(s) since there may have been some changes introduced in iOS 8.3, with which the app(s) cannot cope with and need updating as well.  Once an update is released addressing this issue, you will need to update those apps and then try again.


Converting Unmanaged to Managed devices in iOS 7 OTA iOS 7 introduces the concept of enrolling Apple devices with MDM providers out of the box, so when the iPads are being sent out by Apple to companies, they can be enrolled into an MDM program and the device can be managed through out by the MDM provider right from when the iPad is unboxed, but the documentation is not clear on devices that already are out there.

Is there a way to convert unmanaged unsupervised devices to managed devices? …and I don't mean app level management (i.e I know it is possible to use Configurator to push certain apps that can then be managed, but the rest of the apps cannot).

Is it possible to completely convert an unmanaged device to a managed device such that all the apps, config, settings are controlled by MDM OTA ? The OTA(over the air bit is important too since I am looking to implement it that way).

If all you care about is enrollment - you should be fine. OTA supervision isn't yet being provided according to all the information I've seen as of late October 2013.

There is great confusion out there as Apple did promote the idea that OTA Supervision was coming with iOS 7. That feature was dropped from the public list of features about a week before release and there is no official word if or when it may come back.

There is a difference between iOS supervision and iOS MDM enrollment. The latter item is easy - most all MDM can enroll devices over the air on iOS 6 and that ability continues on iOS 7.

Over the air supervision is not possible on iOS 6 and requires Apple Configurator to supervise devices before you choose to enroll them into MDM.

Over the air supervision is not possible on iOS 7.0.2 and even the
"streamlined MDM enrollment" that is still listed is either not working or waiting on the MDM providers to update their software to take advantage of those new settings.

I would expect by late November, there would be good indications that we will or will not get OTA Supervision with iOS 7 this fall as well as which MDM providers (if any) work with the "streamlined" enrollment methods.

And a footnote, there are several reports that a bug in iOS 7 upgrade has caused a portion (but even a portion of 7,000 iPads could run into a hundred devices) where supervised iOS 6 devices were removed from supervision as part of the upgrade process to iOS 7. Anyone affected should contact AppleCare for assistance if you don't want to simple re-supervise the devices.


Why does my mac not have free space even after I delete files? Today I want to install Catalina but it requires 17 GB of disk space, and I only have 8 GB. So I started to delete files but only found out that the disk space was unchanged or even shrinked more after deleting.

I just delete files either by moving the files to Trash and empty it, or rm -rf. The files are both on local and iCloud.

I deleted at least 40 GB files but the available disk size is still about 8 GB. Why is it happening and how can I gain the disk space?

I restarted a few times but it didn't work...

(This question is not about the external drive.)

I found that there are awkward files under ~/Library/CloudStorage/iCloud Drive, and how many times I delete them these files show up again under this directory.

All of them seem to just a few bytes files according to the Finder information, but deleting them takes a few minutes per one file.

On the assumption that you have APFS file system, macOS 10.14 Mojave, and local snapshots -  the system might take some time to purge the space.

The way to know this would be to open the system information and give it several minutes to catalog all the space into buckets.

Second - check for local snapshots

tmutil listlocalsnapshots /

There are command line options to force a purge of APFS snapshots:

tmutil thinlocalsnapshots / $(echo "10 * 1000000000" | bc) 2

How do I know if a time machine backup is running?
How to delete all local TimeMachine snapshots

If you don't have these, I would suggest making sure you have a good backup and restart to recovery mode and run a disk check to be sure the accounting / filesystem are in good shape.

The next thing to do would be to turn off iCloud and let all those files exist only in the cloud. This will prevent a local storage taking space.

Once you install the upgrade, you can turn on iCloud again and only download the files you need locally.


Add Lyrics to iTunes with a program I've been looking for a program ,or a widget, that could search for lyrics, download them and add them to iTunes (or display the lyrics while I'm playing a song).

All those I could find were outdated and didn't work correctly.

There are other program that can search for the lyrics but do not add them to iTunes, others that display lyrics already in iTunes but not both.

iTunes version : 12.3.0.44

OS X version : Yosemite (10.10.5)

You should try jwzlyrics. It picks up songs changes in iTunes (and Spotify), finds lyrics and displays them in a window.

It's dependent on https://lyrics.wikia.com/ for it's lyrics, and works quite well for me.


Restoring Missing iPhone Messages A friend of mine has an iPhone 3G and around September his phone seemed to lose all of his SMS messages, and now only messages received since then are visible. I have found some sources saying that this can happen when the message database becomes corrupt (or there is a message which is corrupt somewhere and it's breaking things). I understand that the database archive is an SQLite DB and that somebody with similar symptoms solved this by deleting the offending message from the database manually. I'm happy to do this but the iPhone is not jailbroken and I assume I won't have write privileges on the device.

I've tried backing up the iPhone via iTunes and extracting the messages using a tool but it only found the messages that the device can see, and there are no backups from before the issue occurred.

Is it likely that the messages still exist on the device and can be extracted? Is it possible to restore them so that the device can read them again?

Edit in response to mankoff's reply:

I've now performed a backup of the iPhone in iTunes and have analysed the SQLite database dump and the message with the earliest timestamp is as follows:

INSERT INTO "message" VALUES(2,NULL,1315907872,NULL,131,0,NULL,1,0,0,0,0,NULL,NULL,NULL,NULL,1);

For reference the table schema is:

CREATE TABLE message (ROWID INTEGER PRIMARY KEY AUTOINCREMENT, address TEXT, date INTEGER, text TEXT, flags INTEGER, replace INTEGER, svc_center TEXT, group_id INTEGER, association_id INTEGER, height INTEGER, UIFlags INTEGER, version INTEGER, subject TEXT, country TEXT, headers BLOB, recipients BLOB, read INTEGER);

This corresponds to Tue, 13 Sep 2011 09:57:52 GMT which is the earliest message that the phone can also see. I'm not sure how a NULL sender could occur and the database seems to contain no instances of this.

Given this information is there any way that the data could still be on the phone and extractable (short of forensics)?

Edit 2
I'd also like to ask: what could have caused this problem?

You should try accessing the SMS db from the command line. Some explanation is here: How can I export SMS text messages from my iPhone?

If you see old messages, you can find the corrupt one and retrieve them. If the Sqlite dump command doesn't show them, and the size of the DB implies they are not there, it is likely they are gone.

If you can find old copies of that file in backups, look there, otherwise I think the messages are permanently gone.


Recover Deleted Files on Mac OSX [External NTFS] I have accidentally deleted some files on my Mac OS X Mavericks. Actually, I was trying to burn an .img file to my flash drive which was located at /dev/disk1 (at the same time I had connected a NTFS External Hard disk to my Mac). So I used dd command to flash these files and don't know how, but the flash drive was now located at /dev/disk2 and at disk1 the hard disk was mounted. So I accidentally flashed that .img file to my hard disk and lost around 100gb of data.

Now I scanned my hard disk with Disk Drill v1 Enterprise and found some lost partitions (there are around 5 partitions around 10mb each). When I deep scan the hard disk with Disk Drill, It displays all the files but with lost file name and directory structure. But I badly need that.

So guys please help me to recover these files properly based on its file structure (Like Recuva do in Windows). Also recommend me some kind of utility (free preferred) that can recover my files while keeping original directory structure.

You'll want to decide to use a Mac based program like Data Rescue which offers a free preview to see if your data is retrievable:

What should I do after I lost my MacBook data?
Recovering files from Time Machine backup disk after wrong dd
Accidently formated my external 1TB hard drive!

Alternatively, you could take the external drive and connect it to Windows based software and use that OS and tool to try to effect a recovery:

I may have used Disk Utility to erase my drive - is there hope?

Worst case, you can seek professional help from various services, but since you asked for free that will limit severely the quality of the software as well as potentially the experience of the assistance available to you.

If you know the exact dd command, that will inform you as to how much of the NTFS data was overwritten and whether or not some tools will be better suited to help recover files from the unwritten portion of the drive. I would say you might have better luck with tools designed for NTFS as opposed to the Mac software as the erasing OS has less to do with recovery than the OS that created the files and filesystem in the first place.


Is it bad to stop the Mountain Lion installer halfway through an install? I already have Mountain Lion.  I started installing it again (it warns you that you already have it).  I realized I don't need to install it again.  The install is halfway finished.  Can I just quit the install, or is it actively overwriting files?

Hmm it appears from a screenshot I received Mountain Lion was only downloading and not actually installing:

The solution is to:

Check for unfinished downloads
It will reload everything telling you it's all installed already
The download will reset

Done!


Problems when trying to delete/uninstall Xcode I'm trying to uninstall Xcode. I dragged the application to the trash and tried to delete but it hung for a while and then said it couldn't be deleted because some of its files were in use. However, now the icon looks like this:

I searched and found another answer here that says to run:

sudo <Xcode directory>/Library/uninstall-devtools --mode=all

I just want to confirm that this won't cause any issues with my existing Xcode projects. I'm really just trying to uninstall Xcode to free up space on my hard drive in order to download the newest version of Xcode (I don't have the free space to simply download the new version/update).

Thanks for any help.

I just want to confirm that this won't cause any issues with my existing Xcode projects.

It won't.

As long as you don't delete any project files and data you'll be fine. Also make sure to keep you projects backed on.


How to unlock iPhone after completing the contract without jail breaking? My iPhone 3G contract was completed a while ago. I have the 3GS now. I would like to give it to someone else who is not on AT&T. I called AT&T and they wouldn't do anything about it. I heard it can be unlocked after jail breaking. Is there an alternative? What happens if I jail break, unlock and then restore? Would it still be unlocked?

Official iPhone unlocking can be done and is handled by Apple. You need to call your mobile phone operator, ask for the unlock, and they contact Apple (or have a special application, I don't know) where they will send your phone's IMEI.

After a few days, when you sync your iPhone, iTunes will show you a screen telling you your iPhone has been unlocked.


connecting display with only usb-c ports to macbook pro 2014 (no usb-c ports) I'm inspecting a 4K monitor that has USB-C port only. I'd like to connect it to macbook pro 2014, which doesn't have an USB-C type of port.

I found some adapters that can convert between ports, but I am sceptic whether signal can be upgraded from older usb-3 port to usb-c? Is there any data loss?

Background:
As you might know, issues with external displays and Apple devices are quite common. For this particular model, Apple has an official site in where it explains that this particular monitor is not compatible with devices that are older than 2015.

I am curious, if this is just because port incompatibly and whether this can be solved by using adapters.

No, you cannot connect the monitor to an USB A port (i.e. for example the non-USB-C USB 3 port you mention).

The monitor uses the so called "Alternate Mode" part of the USB-C connector. Essentially it means that the USB-C cable in addition to USB carries a seperate signal - for example DisplayPort as in this case.

Older USB connectors and cables do not have support for "Alternate Mode" and thus no adapters can be made.


Where are the root CAs stored on OS X? I need one of the root CA certificates, as a filename, to pass to a command-line program.  I could download it from DigiCert (and convert it to the required format, .crt) manually, but I figure it's easier to just use the CA that OS X must already have.  It's a common certificate, and all my Linux servers already have it, for example.

In the "Keychain Access" app, the correct certificate does exist, but I can't find anything that says where it lives.

Do these CAs exist in the filesystem, or only in an opaque proprietary format for OS X APIs?

The root CAs are stored in:

/System/Library/Keychains/SystemCACertificates.keychain
/System/Library/Keychains/SystemRootCertificates.keychain

Yes, these are OS X keychain files which are opaque, though not necessarily proprietary. You could theoretically use OS X's Keychain Services APIs to get at the certificate data inside the keychain file, but that might be overkill.

If you want a tangible copy of any of the root CA certificates, just select it in Keychain Access, and drag them to the Desktop to make a copy of them in .cer format.

(You can also use Quick Look in the Finder to preview the certificate info).


Typing the tilde '~' character on a PC keyboard I'm using my macbook pro with an international Spanish PC keyboard and am trying in vain to find the tilde '~' character. I've tried the layouts "British - PC" and "U.S. International - PC" but cant figure out how to get that tilde to show.

On the U.S. layout, when I press the key between left-shift and Z, I get the back tick '`'. When I use shift, I get '˜'. With the option key I get a back tick as well.

On the British layout, when I press the button below escape I get the back tick, but with shift I get "¬". With the option key I get '¦'.

Anyone know what I need to press?

In response to the possible duplicate:

The answer given for the question about the tilde with a Spanish keyboard does, indeed mention that you can use alt+n and then / to type the tilde on English layouts, but as Tom Gewecke pointed out, that is not true for all English layouts as the other question seems to suggest. The answers here are more specific and helpful.

On U.S. International - PC layout, press Alt-N and then Space

How to find keys in General

Go to Preferences->Keyboard Preferences
Input Sources
Check "Show input menu in menu bar"
Click on the flag in the top menu bar
Show keyboard viewer
Look for "~"
Press Shift, look for ~
Press Alt, look for ~
Press Shift+Alt, look for ~


Are there any apps on Cydia specific to AppleTV? Just wondering are there any apps specifically for AppleTV on Cydia. I have jailbroken my AppleTV 2 and am looking to install XBMC to get 1080p playback, as well as a browser. Are there any other apps out there? Please let me know.

Thanks!
Thomas

Perhaps pedantically, I'd like to point out that while you can play back 1080p video through an Apple TV 2, you will still get 720p output. From the XBMC FAQ:

  At present, though the ATV2 can decode
  1080p video (using Apple's private
  VideoToolBox API for
  hardware-accelerated decoding), it is
  limited to 720p output. The 1080p
  video is decoded, then down-scaled in
  hardware to 720p.

Slightly off-topic, but I find Plex to be a superior Apple TV client to XBMC. I prefer the Plex interface to XBMC. You will, however, need to set up a Plex server, as Plex for iOS is a client that needs to hook up to a server, which does media management and transcoding as needed.


Adding Line Break to Email Body Content of Mail.app Message Generated in AppleScript I'm currently using the below script to send out an email with a specified subject, attachment, and body message:

on run argv
    set theSubject to (item 1 of argv)
    set theAttachmentFile to (item 2 of argv)
    set theContent to (item 3 of argv)

    tell application "Mail"

        set theAddress to {"test@gmail.com"} -- the receiver
        set theSignatureName to "Test" -- the signature name

        set msg to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}

        tell msg
            repeat with i from 1 to count theAddress
                make new to recipient at end of every to recipient with properties {address:item i of theAddress}
            end repeat
        end tell
        tell msg to make new attachment with properties {file name:theAttachmentFile as alias}

        set message signature of msg to signature theSignatureName

        send msg
    end tell
end run

I have been executing the script in the Mac Terminal using:

osascript /Users/dwm8/Desktop/email.scpt "Test" "dwm8:test.pdf" "Test Message Here"

However, I would like to make a small change in regards to the body message of the email I send out. Instead of sending out the message

Test Message Here

I would like the body of the email to say

Test
Message
Here

where I am able to specify where I want a line break. Does anyone know how I can implement this into my existing script? Thanks for the help!

If you interactively type the message, then your shell should allow you to continue a string on a newline, as long as you don't close the quote.

For example, type this and the outgoing message will have three lines.

osascript /Users/dwm8/Desktop/email.scpt "Test" "dwm8:test.pdf" "Test
> Message
> Here"

You can do the same thing in a .sh script,

#!/bin/sh
osascript /Users/dwm8/Desktop/email.scpt "Test" "dwm8:test.pdf" "Test
Message
Here"


Can "ld" add the rpaths automatically to an executable if it can find the needed dylibs at link time? The question is in the title, but anyway, let me explain it a bit more:

The most accepted way for correctly defining the install name for a dylib in MacOS is by making it relative to the rpath. For example:

otool -L ./LLVM/7.0.0/lib/libomp.dylib
./LLVM/7.0.0/lib/libomp.dylib:
   @rpath/libomp.dylib (compatibility version 5.0.0, current version 5.0.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.50.2)

Here, libomp.dylib has @rpath/libomp.dylib as its install name. So far so good.

The problem is when you create an executable linked to such a dylib. Even if you pass the correct -L/path/to/libomp.dylib flag at link time, so that ld can successfully link the executable, then you try to execute it, and obviously you get the following:

dyld: Library not loaded: @rpath/libomp.dylib
  Referenced from: mydumbexecutable
  Reason: image not found
Abort trap: 6

This of course can be fixed by using install_name_tool on either the dylib (changing its install name so that it doesn't depend on the rpath, and linking the executable again, but this is not considered good practice), or, the recommended way, to use install_name_tool on the executable, adding to it the proper rpath so that the dylib can be found.

But... just wondering... isn't there a flag in ld that automatically adds the rpath for you? I mean, if ld is able to link the executable because it did find the dylibs, why cannot automatically store the proper rpath in the executable?

I understand this should be optional behaviour, as sometimes you prefer to define the rpaths yourself, but... a flag for doing it automatically would make my life a lot easier.

The answer to your question is: no, it cannot.

Your question sounds a lot like an XY problem, so first I would recommend going back and reexamine if this really is your main problem, or there's some higher level problem that is actually the problem, you're trying to solve.

First off, I would note that you do not have to use install_name_tool to set these values after the fact. You can set these while compiling the library and the program. If you're using clang/gcc, you can use the -install_name option. Similar exists for other compilers.

The reason that ld doesn't automatically add rpaths according to where it found the dylibs is that this would in general produce a binary that runs on your machine, and your machine only. I.e. it is tailored for your specific installation. This is normally not what you want. You want to produce a binary that others can take and run on their computers.

If you're making a "standard project" (i.e. like from an Xcode template) with shared libraries, you won't have to fiddle with rpaths or install names. I.e. usually you have the shared libraries placed at standard locations that are search by the dynamic linker by standard, so that you won't have to define anything special.

However, it seems you're wanting to create something very customized for your usage. If you really want to specify that the dylib is at a specific place (because you only want to run it on your own computer, or computers set up like yours) - you can do so by simply specifying an absolute path for it.

If you want to create something that can easily be copied to other computers without needing seperate installation of dylibs, you often want to bundle your dylib with the application itself. Then you can use a path relative to the executable by using @executable_path instead of @rpath.

In my view @rpath is most helpful when you have multiple applications that are "loosely connected" that you would like to share a library that you do not want to place in a system-wide standard location.


printtool keeps requesting admin to modify admin settings Im running OSX 10.13.x. Using a standard user account (not admin).

If i have a printer window open, i keep getting a popup that asks for administrators privileges to "Printtool is trying to modify the printer settings" (see attached screenshot).

If i close this popup i can still print fine, but it keeps popping up every minute or so until i close the print window.

Any ideas why this is happening and what i can do to stop it ?

The screenshot in question is for an HP laser jet printer, but i get the same
issue for a range of different printers, so believe its something to do with OSX rather than the printer/s.

from https://discussions.apple.com/thread/7269124:
Terminal
sudo dseditgroup -o edit -n /Local/Default -a USERNAME -t user _lpadmin
GUI

Open spotlight (cmd-space) and search for Directory Utility
Click the lock to make changes, then select Directory Editor, then select Groups from the Viewing popup menu.
Type print in the search field to quickly access Print Administrators. Select Print Administrators, then GroupMembership.
Click the very subtle “+” at the right side of the GroupMembership line, then type the name of the user overwriting “new_value” which is already selected, just waiting on you to type.
Save and quit Directory Utility. I’m not sure if it takes effect immediately or if you need to log the user out and back in.


What are some good open source text editors on Mac OS X? I just recently switched from Windows and I must say that as much as I'm satisfied with the whole OS, I'm disappointed by the text editors so far (I've tried TextMate and BBEdit). So I figured I would check specifically into open source editors.

I'm currently checking out MacVim, but are there any other good, maintained text editors for OS X?

There is Aquamacs that is a version of Emacs that has been customised to be more OSX like.

Apple supplies the source for TextEdit as an example with Xcode.


Macbook Pro 2007 Crashes I have a macbook pro 2007 . 4gb of ram 320gb. i bought this macbook off eBay over the summer. it came with leopard , 2 months later then i upgrade to snow leopard, then to mountain lion. i currently have mountain lion 10.8.2 . the screen is kind of flickers and i don't know if its the graphics card or its just the screen. but one day i was using my computer and all of sudden it just turns gray and the screen starts flickering and it just kept going. i don't think its the screen because this flickering shuts down my computer and kernel panics comes up . when you restart it the computer, the apple logo that comes up looks like it has spots on it but doesn't boot. it stays and it freezes and restarts my computer. what to do ?

It very well may be the graphics card in your MacBook Pro. Apparently during the manufacturing process (of this generation) too much thermal paste was applied to the heatsink on the GPU, thus cooking it. If this is the case for you, Apple might replace it or reimburse you for repair, if they are still doing this.

A few good links:
http://support.apple.com/kb/HT4132?viewlocale=en_US&locale=en_US
https://selfsolve.apple.com/agreementWarrantyDynamic.do


iPhone pictures won't delete and keeps "restoring" after deletion using iTunes sync I'm having trouble with deleting my pictures.

The initial problem is that after updating to iOS7 all my Photo Albums are stuffed up. There are like 2-3 instances of the same albums with different number of pictures. For example "Album A will have 200 pictures" and as I scroll further down I see another instance of "Album A" but this time it only has 197 pictures.

I thought that this could be the iPod Photo Cache issue as I use iPhoto to sync some albums onto my iPhone and iPod Touch. I followed the steps to remove the iPod Photo Cache from iPhoto (Show Package Contents) but this has not helped.

So I decided to do a clean restore of all my photos. I unsynced all albums and removed all pictures. And then I resynced it again with the albums which I wanted. This seemed to fix the problem temporarily. The albums will sync properly at first but I see a "Restoring" at the bottom of my photo album after clean up.

After about 30-60mins the Photo Albums will revert to the old way with doubles and triples of my albums.

I'm not sure what this error was and I keep trying to go to settings and see if there are any backups of my Photos. But I have switched off iCloud sync of photos etc.

If anyone could help me and point me in the right direction to fix this I would greatly appreciate it.

I was looking further into this and I found out that on my Macbook Pro's System Preferences. In the iCloud settings, the "Photos" setting was checked and in the Options next to that, the "My Photo Stream" and "Photo Sharing" was also checked.

I think this was the main problem. After I used iTunes to sync with the photos maybe there was some cache settings or something residual left on the iPhone which let to it being continuously restoring.

This is the fix which I used. It is fine now.

Check in System Preferences for - iCloud >> Photos is unchecked.
Check in System Preferences for - iCloud >> Photos >> Options >> "My Photo Stream" and "Photo Sharing" is unchecked.
Temporarily delete account for iCloud settings on iOS device - Settings >> iCloud (This didn't affect my main iCloud account only deleted my information on the device)
Re-sync iOS device with iTunes.
Set up your iCloud account on iOS device again.

Hope this helps for anyone having this problem.


Is there a great text editor for iPhone and/or iPad with BBEdit-style text filters and PCRE search/replace? Overwhelmingly, the reason I turn to my computer instead of using my phone with an external keyboard and the reason I gave up using an iPad is to be able to use BBEdit. Is there a reasonably full-featured text editor for iOS so that reshaping a chunk of text, whether it is code or data or my grocery list doesn't make me boot my MacBook Pro?

Critical features:

Great PCRE (Perl-Compatible Regular Expression) search and replace (with long history) (and keyboard shortcuts equivalent to bbedit's ⌘F and ⌘G)
The ability to write and easily apply Perl (language negotiable, but that's my default) text filters – even better if I can bind keyboard shortcuts to user-written filters
Syntax highlighting for a variety of useful languages and ability to define others
Pressing return gives next line with same tab indentation
Easy indent/outdent lines or blocks (like ⌘[, ⌘])
Great visualization of balanced brackets, parens, etc.
Great folding (on brackets, parens, etc., AND manually)
Ability to turn on and off soft wrapped text
save and load from ftp server
Preview HTML in Safari (or a WebView within the app)

The iOS Text Editor roundup is an interactive table with about 70 current text editors for iPad and/or iPhone. You may click on the features you desire at the top of the table and only the editors that have your selected features will be displayed. The table also lists the cost of each editor. If you don't see the feature you're looking for, download a free editor from your list and give it a try.


what is the filesize limit for ota ios app distribution? i'm trying to deploy an ipad application ota, however i am getting the error:

unable to download application
"appname" could not be downloaded at this time.

the ipa file itself is 1.8gb and the server is on the same wifi network as the ipad (ipad 2 wifi-only, ios 5). is there a filesize limit?

According to Apple an over the air download (mobile network) is 20MB. I don't think there's any limit for a WiFi based download although it's likely more reliable to download via iTunes and sync back to the device.

Overall app size limit is 2GB.


Macos Mojave restart got stuck I was trying to update my Mac to Mojave but when it was restarting it got stuck and all I see is apple logo. I am not sure what happened and how can I get back to start m Mac. Any help please.

This is what I see in photo below.

I assume that you didn't shut the lid down while updating it or basically didn't put it to sleep through anyway.

if you didn't, I just recommend waiting.

if still stuck, try reinstalling using recovery mode. which is holding CMD-R just after power up during restart . Apple support for reference


Will FaceTime perform better with IPv6 enabled? I find FaceTime works much better on 4g than my home wifi despite good upload bandwidth. I suspect variable latency is the cause. My router and Orbi does not have Ipv6 enabled. If I can get V6 working will I see significantly better video quality?

It could be a case of the two parts of the conversation not being able to make a direct connection to each other because of NAT, CGN or similar, and therefore falling back to an intermediary proxy server. That will introduce latency, and could potentially cause lower perceived quality.

Enabling IPv6 could solve that - if it’s not encumbered by the same problems by your ISP or equipment. IPv6 is usually much better in this respect though.

You could also try to make sure that hole punching is possible on your IPv4 setup.


Active Directory Network Account does not have login keychain? I just bound my MacBook Pro to my Active Directory domain, so when I opened Mail and set up my email account, it asked if I'd like to remember in the keychain. Doing this on my other Mac on a local account, I said sure. It could not find nor create a login keychain using my network password. I have tried to make keychains, and they do not show up in Keychain Access.

In Directory Utility edit your Active Directory settings, under Advanced Options, check "Force local home directory on startup disk". I know this is disappointing as you probably want your documents folder to be your AD user folder, but it doesn't work.


Mac Mini has slowed to an unbearable crawl! I've read a lot of other questions about speed, but my question does not seem to be answered anywhere.  My Mac Mini is running so slow that I cannot see what I am typing. It takes up to 15 seconds to see the text I just wrote. Any process on the computer runs so slow that I see the spinning beachball all the time.

I've looked in the Console and Activity Monitor, and cannot figure out what is wrong. No single process is taking up more than about 10% of the processor and memory is not maxed out.

I should note this is not a very old computer. It is not the most current, but it is fully capable of running Mountain Lion and has a decent amount of RAM.  Please help, I'm about to jump outta my window!

Before I even saw your DropBox Link, I was about to say it's DropBox Syncing the Files ON your Computer (MacMini) with your Online DropBox Account. This happened to me, as well. I emailed DropBox and they said it is normal during File-Sync. I went into DropBox Settings in the MenuBar and UnChecked All the Folders, so that the Files don't have to be on my Local Computer AFTER they have been Uploaded to DropBox.com (So, they were only needed locally to initially upload to DB without uploading via the website/browser. This is helpful if you have many Folders and Files inside other Folders.) Since the Upload was successful, I also turned-off DropBox Opening at Computer Startup.


iPhone 5 hanged and now cannot be entered Was using Chrome and WhatsApp on my iPhone 5 when the two apps hanged. Since I was unable to activate multitasking, such as to restart those apps, I tried to lock the phone. However, upon locking my phone, I was unable to unlock the phone. The phone is still switched on, since I can still activate Siri, but the lock screen is pitch black, so I am unable to access my passcode lock screen to unlock the phone. Essentially, my phone is switched on, but is effectively a brick. I am unable to do a hard reset on my phone, since my switch does not work (as a result of being used too often, the wire in the switch has come out of place and renders the switch obsolete).

I connected my phone to my MacBook Air so as to backup and then restore the phone, but the backup has failed a few times, so I cannot restore the phone yet. Does anybody know how I can troubleshoot my phone to get it working properly again?

Drain your phone battery to 0% by leaving it on its own (or as suggested, play music using Siri or make a phone call that you can leave running, if that's possible).


files not appear on Desktop and Drag & Drop is not working on Desktop I am using 10.11.4 OS X. I don’t know when exactly these are not working - files don't appear on desktop. Drag & Drop and popping up context menu with right click are not working on Desktop. -
I’ve googled this problem and found no solution. Does anyone have any suggestions to fixing this?

Just in case it's your preferences that have got corrupted somehow, you could try the following two commands in the Terminal:

$ defaults write com.apple.finder CreateDesktop true
$ killall Finder


MacOS 10.15 Catalina asks "AMPDevicesAgent wants to use your confidential information stored in iOS backup in your keychain" I have just updated to MacOS 10.15 Catalina, and it asks "AMPDevicesAgent wants to use your confidential information stored in iOS backup in your keychain" when I try to backup my iPhone.

It is a bit unexpected to see a requester like this without any explanation why, and whether it is legitimate. Mac users who are less technical may be confused by this, and others may also be susipicious as to whether this is a legitimate request from MacOS itself and should be permitted or not.

How can I tell if this alert is legitimate?

The process name is a legitimate process running as part of an iOS device local backup. Enter your login Keychain password to proceed.

To check that the prompt is actually on behalf of the right process, open Activity Monitor, search for the process name, select Sample Process and confirm the path is within

/System/Library/PrivateFrameworks/AMPDevices.framework

The real fix to stop the error message from appearing is to add AMPDevicesAgent access to iOS Backup in Keychain, which you can do from Keychain Access as usual (link to my blog post has steps if you need, I think it’s a bit off topic for this Q&A).


Mysql process takes 500 mb of primary memory I have a MBA 2013, and its not more than few days that I installed MySQL. I have not created any database in mysql yet, but still it takes a lot of memory on RAM. I have configured it to start automatically on boot up. So i would be glad if anyone can help me out with understanding why is that MySQL takes so much of memory and what is the solution to tune it?

You can get exact memory allocation of any process with a quick command:

sudo sysdiagnose PID

(Where PID is the process ID of the mysql binary or the name of the mysql process you want to inspect deeply). There is a manual page and you will want to start with vmmap.txt and all memory files. I'm not certain that 500 mb of allocation is a problem or even of concern without understanding the options you have configured for the database and what the rest of your workload is.


Firmware Upgrade of Apple Mac Pro (Early 2009) from 4.1 to 5.1 Apple Mac Pro (Early 2009) running El Capitan OS 10.11.6
Connecting to the internet via a D-Link DWA-131 WiFi USB Dongle

Hello, I am trying to carry out the infamous 4.1 to 5.1 firmware upgrade so that I can upgrade my existing 10.11.6 OS up to Sierra 10.12. I have established that I need to carry out the following steps:

Boot into recovery mode and disable SIP since I'm running El Capitan
Reboot
Mount the MacProEFIUpdate dmg (for 5.1)
Run MacEFIRom's utility.
Shutdown and power back up by holding the power button until light flashes and beep sounds
Verify Boot ROM Version: MP51.007F.B03
Boot into recovery mode and enable SIP
Reboot
Reset PRAM

The problem comes at step 4. As far as I can see, the act of disabling SIP, also disables my internet connection. This causes a road block because the MacEFIRom utility will only run if the internet is active. So I cannot run step 4 and beyond. I might investigate the possibility of running and Ethernet Cable to the front room where my WiFi Router is, thus bypassing the wireless aspect of the connection. Other than that I'm out of ideas.

Can any anyone tell me how I can achieve all 9 items on the list? Or indeed, if my list of steps is incorrect please can you correct me?

I ran an ethernet cable and was able to progress through the list of tasks. It took two attempts to pass step 5. The trick was to keep the power button pressed well past the flashing of the power light and only releasing it again after the continuous tone has sounded. Long story short, I now have the 5.1 firmware installed, and have upgraded to Sierra 10.12.5.


Why does Yosemite want to throw away all my backups? Huh? “To improve reliability, ... will remove your existing backup history”
Doesn't that kind of miss the point of having backups??

Time Machine is set to use a network share dedicated to that purpose.  It claims to have 7T free, which would be true only if the volume in the sparse bundle automatically expands (does it?).  The bands files total 118G which sounds like the size I created the volume for initially.  I think the initial full backup consumed about 25G.

Thinking the volume might have been corrupted, I restored it from a snapshot of the host storage's volume that was made just before Yosemite was installed.

What's going on?  I can't imagine that Apple is serious about casually throwing away all backups.

When I posted, I suspected that this was specifically related to the Yosemite update, as I'd seen a few hits in Google with similar things (but no fixes), especially since I had already restored the meta-backup meant to address exactly the issue discussed in the older Q's of generic network disk corruption.

After reading the Troubleshooting post referenced by the older Q, I learn that this message is produced by a verification (fsck) that's run once a month.  This means that whatever anomaly it found was not something that occurred in the previous backup, but could have occurred any time in the last month!  Now, I think the correlation with this “happening” right after the Yosemite upgrade may be that the last-check-date gets lost or it intentionally performs a check right away after installing.  So, any problem that occurred in the last few weeks suddenly is brought to your attention.

If this is checked on purpose, I think it would be better to check before installing the update, to give people a chance to get a working backup of their system before the update.

I rolled back the NAS volume another week, and all was well.  Just let it finish “finding” and then checking the disk.


Connecting 2 monitors and peripherals to a 2017 MacBook Pro I have a 2017 MacBook Pro (13 inch with two Thunderbolt 3 ports). I wanted to connect 2 monitors as well as a mouse and keyboard to it for work. I was wondering if this would be too much of a workload for the Mac  or if this is a normal thing to do with such a device.
I was looking at either buying a Henge dock or a cheaper option such as this 14 in one USB C hub  I found on Amazon.
Does the adapter make a difference for this too?

I was wondering if this would be too much of a workload for the Mac  or if this is a normal thing to do with such a device.

What is "normal" is very subjective. What you actually intend to do with your Mac is what determines if it's capable of handling the processing load.
This model is capable of handling two external displays up to 4K each but that doesn't mean you're going to be driving high intensity graphics apps like gaming or video production with this configuration.

There's no discrete GPU meaning it utilizes your CPU display chipset and up to 1.5GB of system RAM for video memory
There's only one Thunderbolt chip so, your video bandwidth is limited.

Also, just because a computer can do something (it has the capability) doesn't mean it's sized appropriately for doing that thing long term.  Example:  just because you have the ability to plug in two display's to your MacBook Pro without a discrete GPU doesn't mean you that you've sized it right - you probably should have purchased the 15" with 4 Thunderbolt port model with Radeon GPU.  It's even possible you should have gone with a desktop.

External Monitor Blurry text and Sluggy Mouse on MBP 2020
A1398 2015 - inadequate fan behaviour/noise
Adjusting graphics cards settings in Mojoave to reduce overheating with external monitor (MacBookPro2018)

I was looking at either buying a Henge dock or a cheaper option [USB Hub] .... Does the adapter make a difference for this too?

Yes! That device you linked to is a USB Hub.  Meaning, all the benefits of Thunderbolt will go unused.  If you want to get the best possible performance out of your machine, you need to use the components that will make the best possible use out of the resources you have.  Get a proper Thunderbolt Dock instead.
The Henge dock, does nothing more than take your TB ports and move them so you can have the Mac "in an upright and closed position."  Other than being slick, it gives you no audio, video, Ethernet, USB...nothing. IMO, it's a waste of money.


Is is possible to go invisible in iChat? I want to be able to go invisible in iChat, like I can via Gmail. How can I do this?

When using Gmail in iChat before 10.7 you can't go invisible. I'm using Adium to be able to go invisible when I login via Gmail.


MacBook Pro mid-2012 turning on only without battery connected My MacBook Pro mid-2012 is barely 5 months old and it just won't turn on one day. MagSafe Adapter doesn't show green or orange LED while charging. LED display did not show any lights either.

Following online instructions, when I opened it up and removed the battery connector and plugged the MagSafe adapter. Adapter started working well and LED lights too.

I heard it boot up but nothing on screen. Puzzled, I hooked it up with a monitor and I could see my login screen but my keyboard and trackpad were not working as well so I could not do anything. I tried doing SMC reset from there that did not work either.

As soon as I put the battery connector back, it stays on only until I remove the MagSafe adapter even if battery is fully charged.
Has anyone encountered a similar issue and solved it?

It’s almost certain the battery is the failure here, but if you had access to a replacement part or didn’t mind spending money on a new MagSafe connector, you could try replacing that first.

The battery is almost certainly the cause dragging the voltage and/or current too low for the system to start. The chance the sensors that check the voltage and current are correct and it’s actually a low current and/or low voltage situation and swapping the battery with a good one would remedy that fault.


Hard drive partitions destroyed by FileVault Short summary: User attempted to decrypt FileVault protection and got impatient; now can't get hard drive working at all. No file recovery needed (good backup, thank God), just need to get the hard drive to the point where I can actually work with it.

I have another system with a similar 1 TB drive, and used gpt to manually copy its partition scheme to the problem drive; it won't mount (from klanomoath's assistance to another user).

Also tried initializing the disk using Windows (NTFS); partially successful. It almost looks like FileVault somehow still has hold of the drive, even though everything, including the partition map, has been overwritten. Can't figure out how to just write enough of a format onto the drive so that Disk Utility has a place to start.

I just need to get this drive working, and don't care what data is destroyed. Can anyone tell me what I'm missing?

I would highly recommend using Disk Maker X to create a bootable USB disk to reinstall OS X/macOS. Here's what you'll need:

Another Mac with access to the App Store (if the one you're trying to fix doesn't function enough to complete the following steps.
A USB drive/stick with a capacity of at least 8 GB. Also be sure it has absolutely no data on it, since it will be formatted.
An internet connection in order to download Disk Maker X.

First, download macOS Sierra on whichever Mac you're using by searching for it on the App Store, but don't install it! Next, download and install Disk Maker X on whichever Mac you're using. Then, open Disk Maker X and follow the steps listed. After that, make sure the Mac you're trying to fix is off. Plug in the USB Stick, then press Option and press the power key. Select the USB disk in the window that loads, follow the setup process, and you should be good to go! Let me know if you have any questions.


About to sell my 2013 rMac. Is 3 pass zero enough? I plan on selling my late 2013 rMBP  soon. I was wondering what your opinions are on me using a 3 pass zero on a SSD? Is it enough? I do have some sensitive data on there (bank info, passwords to important things at work, etc.). I also don't want to damage the SSD because I hear these passes can hurt the hard drive. Apple said that I don't even need to do that because SSD are just that great. Is that true?

Thank you.

I believe Apple's position is a standard erase is good enough on SSD. In the article on secure erasing, they recommend enabling FileVault before you ever introduce any sensitive data to the drive so that you can just throw away the encryption key and not need any passes of erase to be secure.

http://support.apple.com/en-us/HT201949

That being said, in your situation, I wouldn't do a 3 pass erase on an SSD and I also wouldn't do a simple erase with no passes.

Instead, I'd turn on FileVault 2 (Assuming you have a newer OS) and then boot to recovery mode and repartition the drive. Be sure to not unlock the drive but simply repartition it to an empty HFS+ partition, no passes needed.

That ensures that each writable block is totally encrypted and randomized so that it's impossible to tell what was free space and what was files, let alone do data recovery.

The passes are a marginal hit on the drive's life (they are rated for hundreds to thousands of passes), but one complete wipe might be as much wear as three months of heavy use. What makes the passes worthless is they waste your time and are un-necessary additional wear on a consumable part (the SSD).


You have updates available on another account I received this Mac as a gift. Everything worked fine, now in the App Store the default applications GarageBand, iMovie and iPhoto refuse to update, since it asks for the Apple ID of the previous owner.

So this is not like a bug other people perceive, who ever had only one AppleID its really changed ownership. When we did that, I also created a Account for me with Admin escalation, and deleted the account of the previous owner to safe any personal data.

So now how can I update these default apps that came bundled with the device? Can I deinstall'em and reinstall with my AppleID?

Its not like I want any Apps that the previous owner bought (all deinstalled and installed my ones), only those that are tied to the device.

I had a similar issue when I first got my Mac.  The first thing you want to try is going to the "Purchased" tab in the App Store and seeing if it gives you the option to "accept" the iLife apps at the top of that page.  If not, then you should contact the App Store support team using this website: http://www.apple.com/support/mac/app-store/contact/ .  They will most likely email you back asking for your serial number to confirm that you are eligible for the apps.  For me, they validated my serial, verified that I was eligible for the apps, and issued me redemption codes for all of the iLife apps.  After that, no problems.  If they issue you codes, make sure you uninstall the three iLife apps through Launchpad before using the codes and redownloading them.


What did the 10.8.2 update do to break an AMP stack's vhosts? I updated from 10.8.1 to 10.8.2 last week and since then I have yet to get certain vhosts working on my local sandbox. Some of them work fine while others just don't work at all now when they did previously. Is there anything I can do to get those working again?

Working Vhost:

<VirtualHost *:80>
    DocumentRoot "/Users/reindeerdev/Sites/patron-social-club-v2-old/app/webroot"
    ServerName pscv2.local
    ErrorLog "/private/var/log/apache2/pscv2-error_log"
    CustomLog "/private/var/log/apache2/pscv2-access_log" common
    <Directory /Users/reindeerdev/Sites/patron-social-club-v2-old/app/webroot>
        Options All
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Problematic Vhost:

<VirtualHost *:80>
    DocumentRoot "/Users/reindeerdev/Sites/Patron_Intranet/app/webroot"
    ServerName intranet.local
    ErrorLog "/private/var/log/apache2/intranet-error_log"
    CustomLog "/private/var/log/apache2/intranet-access_log" common
    <Directory /Users/reindeerdev/Sites/Patron_Intranet/app/webroot>
        Options All
        AllowOverride All
    </Directory>
</VirtualHost>

Finally saw something in my Apache configs:

[Tue Oct 16 10:52:03 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Logans-iMac.local for ServerName
[Tue Oct 16 10:52:06 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Oct 16 10:52:09 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 16 10:52:09 2012] [notice] Digest: done
[Tue Oct 16 10:52:09 2012] [notice] Apache/2.2.22 (Unix) PHP/5.3.15 with Suhosin-Patch DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8r mod_perl/2.0.5 Perl/v5.12.4 configured -- resuming normal operations

I know for a fact that I have Include /etc/apache2/other/httpd-vhosts.conf in my httpd.conf file and that I have confirmed that that is the correct vhosts file that I'm using.

Determined there was a very odd user permissions change on the ~/Sites folder that was causing these errors. Fixed.


iPhone making no noise except ringtones My wife's iPhone is playing up.  It won't make any noise except for when it revceives a call.  Messages, etc. only vibrate.  Just now it made the unlock sound when I unlocked it, but I can't get it to make the sound again.   When you press the volume keys, the ringer icon appears with no volume bar:

The lock button was also playing up for about 12 hours.  It would randomly press itself, causing the power off slide to appear or the phone to lock randomly.  That problem went away by itself.

Also:

iPhone 4 with iOS 5.0.1
Tried power off and hard reset
Silent switch is off
Silent switch mutes all sounds when on
Bluetooth is off
I've cleaned the dock and headphone ports
The water damage indicator is red in the dock port and white in the headphone port (caused by baby drool)

Is there anything else software based I can try to fix this phone, or do I have to pay for repairs?

It's clear that it's not a hardware issues since the sound works in certain scenarios. It seems to be a software based issue. I would suggest backing up and restoring the device using these steps. Make sure you set it up as a new device so as not to transfer any old software back to the phone after the restore.


How do you disable an application specific hotkey, for example, "Command-P"? In many applications, Command-P is used to print.
My fingers are accustomed to emacs settings and reflexively press Command-P not for printing but for browsing history. It's annoying to see the print pop-up window every time when I press Command-P. I don't need a shortcut to print.
How do you block a shortcut globally?

This can be achieved by remapping the Print shortcut to a different shortcut that is out of the way, unused and unlikely to be pressed.

Open System Preferences → Keyboard → Shortcuts → App Shortcuts.
Click + to add a new shortcut.
Application: All Applications

Menu Title: Print… (that's a 'proper' ellipses by the way, use copy-paste if necessary)

Keyboard Shortcut: Set it to something out of the way.

Click Add.

Now, the Print command is set to a random keyboard shortcut, freeing up ⌘P.


status line in iterm integrated with tmux I was trying to set the iTerm and tmux integration and found that panes could be displayed as iTerm2 window splits, if I run tmux -CC. But there is a problem, this 'simulation' of tmux does not have the status line, at least I was not able to find manual how to accomplish that.

If you know the way to do that, please, tell me how, thanks!

Showing a status bar is currently not supported on iTerm2. A version of the status bar is coming to iTerm2 3.3.

But I am not sure if it will pick up the powerline-status bar instead of its own during tmux sessions.


Is there any keyboard shortcut to send an email in iOS 9.2? I have an iPad mini with iOS 9.2 and a physical keyboard. The keyboard allows me to use several shortcuts when using some apps (for instance I can use Cmd+T to open a new tab in Safari or close it with Cmd+W).

I was wondering if there is any shorcut to send an email from the default app using a keyboard.

I did not test this myself, as I do not have a Bluetooth keyboard, but I've seen a few article stating that to send an email you could type CMD - Shift - D.


Issues booting mac from ssd I had been trying to install samsung 850 evo ssd on my 2012 Macbook pro. I tried using CCC, installed a fresh copy of el captain using bootable usb; but for each of these, i was able to boot from ssd when connected through USB but when i install it in the HD bay it won't boot. I read a lot of articles regarding this and there are people facing issues like mine but again there are people who have successfully installed the samsung 850 evo ssd in macbook pro 2012 (without retina).

I have already wasted a lot of time on this, any help will be greatly appreciated.

I hope you still ready this - it has been a while.

I spent my whole Chrismas and new year holidays fighting with similar situation.

I found out the main issues are:

MBR vs GPT (please google)
disk letter ID (e.g. C: - D: ....)
use some third party software to deal with partition and disk address
use some third party software to Clone the disk.

Good luck !


Mac OS X Yosemite using too much RAM... Why? I think its a problem probably because of this CleanMyMac 3 app that says i have got only 100mb from my 8gb and when I click on "Free Up" I get more than 3gb free RAM only to fill it again after a while. The only thing feels slow on my system is when I enable the Transparency effects the minimizing and dragging the apps windows seems utterly slow (lagging).

I tried to install fresh copy of Yosemite and it was smoother and the lag was gone but I have to use this system so restored it. That's why I think some apps are causing this issue?

As you can see only 100MB of RAM is free!

My Mac specs:

EtreCheck report as advised:
http://pastebin.com/rxuGqef6

Free RAM is wasted RAM. It is electrically powered regardless of its contents.

Your screen shot shows 2.52gb of cache[1], 0.375gb of compressed memory and 0.574gb of swap.

The 2.52gb of cache will be assigned to processes that ask for more memory. The difference between the "new" way and the "old" way is that the contents of "freed" memory is tracked.

Apps that "free up" memory just flush the cache - meaning they cause the operating system to forget what was in memory (the actual contents are not cleared) and all requests for the previously cached items have to wait for the data to load from disk. You won't usually notice this penalty in a big way, but the system will feel slower.

Less than a gb of swap is nothing, but if you see this number increasing while cache memory is near zero (which should show yellow or red memory pressure) it is a sign that something is making heavy demands for memory.

As for compressed memory, CPUs are so fast now that its actually faster to compress and decompress data than it is to wait for data to load from disk. As memory pressure increases, the OS will compress the memory to meet demands instead of swapping.

For more information on understanding what Activity Monitor shows, see:

Activity Monitor: Determine if your Mac could use more RAM
Activity Monitor: View memory usage

1 https://en.wikipedia.org/wiki/Cache_(computing)


How to make the scrollbars appearing on demand on Lion This is very neat to not always have the scroll bars displayed over every windows. I might be facing an edge case though: when opening a vnc session I sometimes need to scroll the window displaying the remote display but as expected it does not scroll when the cursor is inside the window as the mouse events are handled by the remote system. This means that to scroll I either toggle the show scroll bars to always or resize the window to make the scroll bars appearing a few moments.

My question: is there a way to make the scroll bars appearing without having always as  show scroll bars setting or resizing the window?

You should be able to grab the invisible scrollbars. Just click and drag near the edge of the window where the scrollbars should be and they should appear. I can't say if this works correctly for all types of windows though.


QuickLook process has a file open multiple times I was cleaning up my Mac (on El Capitan 10.11.2), and I tried to delete some obscure old Word file. When I clicked on "empty trash", it gave me the message that the file was being used. I didn't know what was using it, and didn't want to cause problems, so I used lsof | grep /Users/myusername/.Trash and found that the QuickLook process had it open 12 times! Should I delete the file? Why on earth does Quick Look have it open at all?

PS: I quick-looked the file again and ran lsof | grep -c /Users/myusername/.Trash, which told me that it was then open 18 times, in case that helps.

Try running qlmanage -r. This should reload QuickLook and make it so it's no longer focused on those files. You can also try using something like Trash It! if after restarting and relaunching/killing Finder and QuickLook does nothing.


Using different passwords for usual login and for admin-requiring actions I use Mac OS X 10.9.3.

Background: I log into my profile very frequently (e.g. after closing lid) and often do it in public. Someone definetely should be able to see it, and no matter if I make it 10+ special symbols long or not. I presume this password to be known for anyone.

Also my Mavericks by default whenever I need to change system settings or so, asks the same password as I use for login. Which is known for anyone as I said before. So, I want to discontinue this vulnerability.

Question: What's the best way to set different passwords for significant actions and for logging in? What if I i.e. create second profile with administrative rights, then set rights of a user on my current profile and expect Mavericks to ask that newly-made admin's password every time I attempt to do something significant? Aren't there any more convenient ways to achieve my goal? Thanks in advance.

The way I achieve this is what you suggested:

Make a secondary Admin account and then take away your admin privileges.

I'm almost certain that it is the only way to achieve this.


How to fix keyboard layout bug in Sierra? Yesterday i had updated El Capitan to macOS Sierra on my Macbook Air 2015. But i had found a bug with changing keyboard layout. I have two keyboard layouts: US and Russian.

When i'm pressing CMD + Space shortcut, it is visually changing of keyboard layout, but actually sometimes keyboard layout is not changing, while not press ALT or CTRL or FN or SHIFT button, for example. How to fix that?

I found a possible solution to this problem, I am not sure if it will work for you.

Instead of using the "next input source" shortcut, I use now the "previous input source" shortcut, and of course I swapped the keyboard bindings.

Hopefully this will work for you too.