In Chrome, tap to look up in dictionary: Placement not working properly I have a 2013 MacbookPro running OS X 10.9.2, and up-to-date Chrome (Version 35.0.1916.114).

When using three finger tap to look up a word with dictionary in Chrome (when chosen in the trackpad settings), the definition often pops up high above the placement of the word. Other times, it doesn't work at all, and sometimes it works like it should.

I have seen other questions here dealing with it not working, but not with its placement.

Pictured below is how it often looks. The word I looked up can be seen at the bottom.

The word needs to be in about 1 inch from top or bottom of the screen for pop up to work.

It wont work on all type of web pages.

Here is a example of the pop up relative to the position of the word on the sceen.

The word "Bittersweet" is Up most position for the pop up to work

Mid screen

Low, in this case you actually can see the word in the sentence and the pop up is above it.


Executables in /bin and /usr/bin are not found in path Somehow I can’t execute files in /bin or /usr/bin without providing the full path.

This isn’t happening when running from Terminal, but, for example, iTerm can’t run bash (only /bin/bash), OnyX can't run sw_vers.

.profile: export PATH=/opt/local/bin:/opt/local/sbin:/bin:/usr/bin:$PATH
.profile: export PATH=$PATH
.bash_history: export PATH="$PATH:"'/Users/gilstrauss/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin'
.bash_history: export PATH=/opt/local/bin:/opt/local/sbin:$PATH
.bash_history: export PATH=${PATH}:/bin
.bash_profile: export PATH=/bin:$PATH
.bashrc: export PATH=${PATH}:/bin:/usr/bin

Terminal.app correctly starting the shell does’t mean much: it runs /usr/bin/login (with the full path) by default, which invokes your default shell (again: defined with a full path) as an interactive login shell (which  will in turn read both .profile and .bashrc and leave you with a working $PATH). Your problem is non-interactive shells, which do neither, do not get any $PATH settings. That seems to point to OS X’ default path settings having somehow been clobbered.

To check this, run cat /etc/paths. The output should (at the very least) be

/usr/bin
/bin
/usr/sbin
/sbin

(these are the defaults on a pristine OS X install). If the first two are missing, you have your cause – and an easy solution:

mv /etc/paths /etc/paths.old # if you want to keep the current contents
def_paths=(/usr/bin /bin /usr/sbin /sbin)
for p in ${def_paths[@]}; do echo $p >> /etc/paths; done
cat /etc/paths.old >> /etc/paths # append previous contents

Note that as /etc/paths is owned by root, you will have to sudo su for this to work.


Celtx unexpectedly quits I am using Celtx for script-writing/movie production. Just earlier today, I used it with no problems at all. Now, when I open it, it bounces 2-3 times, then quits. If I open a Celtx file, the file will open and load, then quit. I can't do anything with Celtx at all. Please help me!

Presuming that you are using the latest version of Celtx, I think that it's most likely that one of the Celtx preference files have become corrupted. You'll find them in two locations:

Preference file:

/Users/username/Library/Preferences/ca.greyfirst.celtx.plist

Preference folder:

/Users/username/Library/Application Support/Celtx

I'd do the following to troubleshoot:

Quit Celtx. Not a problem, since you can't open it anyway.
Move the above listed files/folders to your Desktop.
Try to launch Celtx. If things work, great. Celtx will recreate the preferences. You will need to reset any user preferences you made.
If things don't work, I'd Trash the application, redownload it, and reinstall.
After reinstalling, restart your computer before you try to open the app again, just in case anything's being cached

Oh, and best of luck with your script!


Revert or reset permissions of extensions I accidentally approved the request of Weather extension to access my location info on macOS 10.14.6. I want to revert or reset this. How can I do that? Is there a way other than reinstalling macOS?

System Preferences → Security & Privacy → Privacy, Location services tab.


Is it normal for my MacBook Pro (unibody) to creak in some spots? I bought a new MacBook Pro 15-inch model with highest specifications in this June. I also installed Lion and have updated it.

Moreover, I would like to ask somebody who already has the same model, or any MacBook Pro, if it is normal to hear ticking sound when you push some spots on the bottom of the computer (beneath where the trackpad is).

That's not "ticking," that's a creak from the flex in the aluminum chassis. The MBP is not a brick of aluminum but a computer inside a hollow shell. While built solid, there is still play in the materials.

The sound you're hearing is likely the case pressing against the RAM, the battery connector, or the metal protector right beside the battery connector (or perhaps another component inside the machine).

If you are worried, take it into Apple. But they'll tell you the same thing.


How to reset trackpad after pinch to zoom stops working It seems like whenever I use a device that's not made by Apple (USB mouse, bluetooth speakers) invariably the pinch to zoom and rotate features on the Magic Trackpad will stop working after awhile in all apps. I tried to disconnect and re pair trackpad, disable and enable the features in settings, close all apps. The only thing that will make pinch to zoom come back is resetting the computer.

Is there any other way (terminal, etc) to make the trackpad work correctly without resetting the computer? I really dislike ruining my uptime.

This is on a recent iMac with Magic Mouse, Wireless Keyboard and Magic Trackpad on OS X 10.9.3.

Go into the trackpad settings in System Preferences and uncheck every single checkbox in all the tabs (pinch to zoom etc. etc.) , wait 5 seconds and recheck all the box you use. (sometimes I switch apps before rechecking the checkboxes and with more than 5 seconds).

You can also try

pmset displaysleepnow; sleep 5; caffeinate -u -t 1

Your screen will turn off for 5 seconds and then turn back on.


How can I upload Photostream pictures to Flickr I want to (automatically if possible) upload the content of my Photostream to Flickr. How can I accomplish that?

You can use a plugin to upload photos of your choosing to Flickr (albeit not automatically).

FlickrExport
FFXporter


iPhone 8 - Calendar lost items from early 2020 I have the correct settings on my phone to sync to the Cloud, and have it save all my calendar items, but the beginning of 2020 has lost all its entries.  Not sure why.

Check
Settings > Calendar > Sync
There are options to sync back from 2 weeks to 6 months, or 'all events'.


Hardware differences between iPad, iPhone, iPod models within a single family For Apple's mobile devices (iPod, iPhone, iPad):

Does Apple allow hardware differences among models of a single device family?

e.g. Do all iPad 3's have the same technical specs or is the Verizon iPad 3 technically different aside from the addition of LTE?

If there's any documentation on this (teardowns?) it'd be helpful for medical regulatory purposes so we don't need to buy 3 of each iPad/iPhone :)

For Samsung, individual carriers are allowed to customize each model of the S-whatever or Note whatever.

This leads to severe differences with components like the phone's mic sensitivity across the same device family. (eg. S3)

I want to know if Apple devices are susceptible to this kind of hardware fragmentation, or if Apple limits that.

While I can't find you documentation describing the exact hardware differences of each carrier's iPhones and iPads, it is to my knowledge that all Apple devices are relatively the same across the board, save cellular hardware.

However, Apple is known to source different components from different manufacturers, but there is nothing I can find to determine whether or not a certain carrier set of iDevices uses different hardware universally compared to another carrier.

An example of this was Apple's controversial sourcing of LG and Samsung displays for the first MacBook Pros with Retina Displays: https://www.youtube.com/watch?v=KdhIA8-UIRQ

Wrapping it up, Apple may use components from different suppliers that may be marginally different in some aspect, but there's no evidence to suggest that one carrier has a different hardware set compared to another, excluding cellular hardware.

And with Apple's philosophy of delivering a consistent and delightful user experience no matter what type of Apple device their using leads me to believe that the differences in those components are negligible (though there was anger regarding the aforementioned rMBP display snafu).


Macbook Pro headphones port won't pick up my microphone VIDEO EXPLAINER: https://streamable.com/1u1xdz
Proud owner of a Macbook Pro:
MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
Processor: 3.1 GHz Dual-Core Intel Core i5
Memory: 8 GB 2133 MHz LPDDR3
Graphics: Intel Iris Plus Graphics 650 1536 MB
I have a Rode Videomic microphone with a three pole 3.5mm jack on the end of it.
I plug this in. Nothing happens. This isn't TRRS, I'm not angry.
I plug the Rode microphone into a 4 pole splitter, microphone side, this then into my Mac. Nothing happens. This is attempting TRRS - but it isn't complete, I'm not angry.
I plug the Rode microphone into a 4 pole splitter, along with a set of speakers in the headphones side. This I believed would be TRRS, starting to get angry.
I plug the mic into the splitter with another set of headphones that work if they do not go through the 4 pole splitter, plug the whole complete connection into the Mac port. NOTHING HAPPENS. I'M LOSING MY MIND!
Why for the sake of saving 10g in weight and about a cm of side coverage would they make this ridiculously impossible to connect a microphone on its own?!
Please can someone guide me to a solution that doesn't require anything more than having a microphone plugged in. I need to use my microphone to speak and speakers to play music.
But even with a 4 pole splitter it is not possible.
Is it possible to use a usb-c to audio ports adapter so all I require plugging in is the microphone?
They cut all these ports off the laptop, but then you have to buy more, bulkier, uglier connectors and adapters. My desktop looks like a spider web of wires and adapters.
I'm a chill dude, & I look forward to seeing how you have managed to get around this huge inconvenience.
Thanks, Jason.

USB Audio Port Adapters usually work well, but I'd look for "compatible with Mac" in the description just to be sure. Why your TRRS adapters are not working is kinda weird, possibly dust?
After seeing the video - doing exactly what you are doing (but with a lavalier mic) does work for me.
I can only recommend to check for dust or try to use a different adapter.
There are also adapters that are not splitters (they only do mic to 4pin), try getting one of that kind.
(Don't have enough reputation to comment, which is why this is an answer)


How to map a static external IP to static internal IP on Apple Airport extreme I am trying to enable external VNC access to a Mac mini on a small network. I have a static IP address (67.41.xxx.xxx) reserved through my internet provider and the Mac mini has a reserved IP 172.16.5.9. How can I setup Apple Airport Extreme through Airport Utility (software v 6.1) to route traffic from the external IP to the internal IP?

Thanks

I use a utility called Port Map to do this. It allows you to manually make the same calls things like Facetime and iChat do to map ports for file transfers, etc. It's free, simple, kid tested, mother approved.


What is the name of the small circuit board above the trackpad that the flex cable connects to on the MacBook pro retina 2015 13"? My keyboard and track pad are not working and I'm thinking it's neither the keyboard nor the track pad nor even the flex cable. When I was replacing the flex cable the circuit board that the flex cable connect to (from the logic board) short and sparked - somehow I'd forgotten to turn of the laptop.

This is the small board located below the battery above the track pad on the MacBook Pro Retina 2015 13". I guess I need to replace that board. But I don't know what it's called. Does anyone here know?

There are two places where the track pad connects - the logic board (red) arrow and to the track pad PCB (red square)

Image Source:  Ifixit.com

If what you're referring to is what's identified by the red square at the bottom of the image above, then it's the PCB. It's  not sold as a separate assembly (AFAIK) and you have to replace the entire track pad assembly (PN# 923-00518). If it's the top portion (red arrow), you have to get the logic board repaired/replaced.

It's possible you could buy a salvaged track pad from eBay just to get the PCB, but it's an "unknown."  You could end up getting a track pad with a bad PCB again, but if the price is good, it may be worth the gamble.

Finally, if you got a spark when connecting the flex cable, replace the flex cable as well.  When you see a spark, that means enough voltage passed through the cable to arc which could have permanently damaged the cable - it's cheap enough that you should just do it anyway and not try to salvage a cable of questionable function.


Why does my iMac take so long to go to sleep? Note: I have seen this question as well as this question, I don't believe that either pertain to this situation.

When I press the sleep button on my iMac it consistently takes 30-31 seconds to go to sleep. The computer is reasonably old, it is a early 2008 model and because of this, the hard drive is pretty full (only about 2GB left). When the computer sleeps there are no processes taking up a lot of CPU and most of the RAM is available. The computer wakes up reasonably quickly (1-2 seconds)

I would like to know why the computer takes so long to go to sleep, and if there is a solution to the problem.

Here are the stats of the computer:

OS X 10.6.8 (Snow Leopard)

2GB DDR2 SDRAM

2.8 GHz Intel Core 2 Duo

If anymore information is needed, just add a comment.

Edit:

Here is the console output when I put the computer to sleep.

8/20/14 11:58:36 AM kernel  PM notification timeout (pid 199, DashboardClient)
8/20/14 11:58:36 AM kernel  PM notification timeout (pid 199, DashboardClient)
8/20/14 11:58:36 AM kernel  hibernate image path: /var/vm/sleepimage
8/20/14 11:58:36 AM kernel  sizeof(IOHibernateImageHeader) == 512
8/20/14 11:58:36 AM kernel  Opened file /var/vm/sleepimage, size 2147483648,         partition base 0xc805000, maxio 400000 ssd 0
8/20/14 11:58:36 AM kernel  hibernate image major 14, minor 2, blocksize 512, pollers 5
8/20/14 11:58:36 AM kernel  hibernate_alloc_pages flags 00000000, gobbling 0 pages
8/20/14 11:58:36 AM kernel  hibernate_setup(0) took 0 ms
8/20/14 11:58:37 AM Apple80211 framework[113]   ACInterfaceGetPower called with     NULL interface
8/20/14 11:58:37 AM Apple80211 framework[113]   ACInterfaceGetPower called with NULL interface
8/20/14 11:58:37 AM configd[15] network configuration changed.
8/20/14 11:58:37 AM kernel  System SafeSleep
8/20/14 11:58:40 AM kernel  hibernate_page_list_setall start 0x25717000, 0x25728000
8/20/14 11:58:40 AM kernel  hibernate_page_list_setall time: 142 ms
8/20/14 11:58:40 AM kernel  pages 324460, wire 61471, act 103587, inact 609, spec 63, zf 3, throt 0, could discard act 88461 inact 32682 purgeable 14366 spec 23218
8/20/14 11:58:40 AM kernel  hibernate_page_list_setall found pageCount 165733
8/20/14 11:58:40 AM kernel  IOHibernatePollerOpen, ml_get_interrupts_enabled 0
8/20/14 11:58:40 AM kernel  IOHibernatePollerOpen(0)
8/20/14 11:58:40 AM kernel  writing 165142 pages
8/20/14 11:58:40 AM kernel  encryptEnd 73c9a20
8/20/14 11:58:40 AM kernel  IOPolledInterface::checkForWork[5] 0xe00002eb
8/20/14 11:58:40 AM kernel  PMStats: Hibernate write took 2552 ms
8/20/14 11:58:40 AM kernel  all time: 2552 ms, comp time: 552 ms, deco time: 0 ms,
8/20/14 11:58:40 AM kernel  image 0, uncompressed 410402816 (100196), compressed 197517516 (48%), sum1 1a4d5b57, sum2 0
8/20/14 11:58:40 AM kernel  wired_pages_encrypted 60968, wired_pages_clear 39229, dirty_pages_encrypted 0
8/20/14 11:58:40 AM kernel  hibernate_write_image done(e00002eb)
8/20/14 11:58:40 AM kernel  sleep

Your full hard drive could be a reason. Some space is needed for swap and sleepimages and whatnot, and OS X has difficulties operating when it only has so little space free for those tasks. Try freeing some space (at least 5GB is recommended by Apple if I recall, I'd try to free more just to try).


How to search files from command line under OS X? It seems that Apple doesn't want us to use locate, at it is making it so hard to setup.

If there a way to use finder database from the command line? Maybe I can make an alias.

I would appreciate solutions that would not require system reconfiguration, just because I don't want to repeat the process each time I upgrade the system of switch computers.

You could use mdfind, which uses the Spotlight database. More information on this man page.


Older ntfs drivers on Lion and latter There are a lot of options to make ntfs mountable for read and write like ntfs3g, tuxera, paragon but isn't it like rw support worked in some older OSX versions?

How to put drivers from older OSX in Lion (Mountain Lion) to make it read and write to ntfs with native drivers.

I've tried open-sourced packages NTFS-FREE and FUSE for OS X on Mac OS X Mountain Lion v10.8.2 and can read/write NTFS partition successfully, although NTFS-FREE only claimed to support OS X up to v10.7.

You must install both of the following packages to get things work.

FUSE for OS X:
http://osxfuse.github.com/

NTFS-FREE:
http://sourceforge.net/projects/ntfsfree/files/


How to Poll USB mouse through terminal in El Capitan I've been trying to view which devices are connected to my USB ports through terminal in El Capitan, in particular a USB mouse. I've read online that I can ls /dev/tty.* to view all connected devices. But each time I try this before and after connecting a device, the output does not change.

I've also tried ls /dev and do not see a change in the output.

I've also tried ls /dev >> before.txt, then, after plugging in a device (like a mouse), ls /dev >> after.txt', then vimdiff before.txt after.txt. And I still do not see any new devices.

Is this the correct location to be looking in for devices? (namely /dev)

If not, where should I be looking?

Note, there is not a location for /dev/input on my machine. Also, I'm doing this because I would like to practice reading the bits from a serial bus and I need access to the bits incoming from the USB port.

For any regular USB device, use:

diskutil list

This brings up the disk utility command line interface's "list" tool, which provides you with information on internal and connected disks, be it through USB, SATA or PCIe. It's much simpler than looking through /dev (which includes ttys and a lot of other stuff), and gives you much more information like capacity, partition tabling and the S.M.A.R.T. status (if supported) of your drive.

If you'd like to look through /dev though, try

ls /dev | grep disk

This will show only the entries with "disk" in them (disks and connected devices in OS X are mounted as /dev/disk[number]).


Command line tools to replace bytes in a file I need to write a script that patches a few bytes at a particular offset in a binary file. I know of textual tools for this task (sed, though I find it utterly hard to use) but can't find one for binary patching. Are there any?

If not installed by default, anything I can install with Homebrew would be acceptable as well.

You can achieve it with dd command. Here's an example:

$ hexdump StringComparison  | head -1
0000000 cf fa ed fe 07 00 00 01 03 00 00 80 02 00 00 00

$ printf '\x11\x11\x11' | dd of=StringComparison bs=1 seek=4 count=3 conv=notrunc
3+0 records in
3+0 records out
3 bytes transferred in 0.000293 secs (10238 bytes/sec)

$ hexdump StringComparison  | head -1
0000000 cf fa ed fe 11 11 11 01 03 00 00 80 02 00 00 00

Explanation:

of = input file
bs = block size
seek = position (offset)
notrunc = do not truncate the output.


Quick search in NAS. Which software for overview? We use a NAS in our small company to acces our files from different locations. Searching within the NAS does not work well due to the amount of data stored and slow internet connection. So if we're looking for a file, we need to know exactly where it is.
I do not need a NAS-side solution since the operating system of the NAS is very inflexible.
Is there a way to keep an up-to-date overview of the complete folder/file struture (as text, tree, table, whatever) in which we can quickly search for the files?

This solution is vexing and hard to solve generally.
We have had great success with one product and have tried many, none seem to work well as they don’t solve the remote index and then share that index out nail on the head.

https://cdfinder.de/

The marketing calls it the holy grail of media asset management, and I think that’s a little bit of an understatement. It does more than just that, it scales and is extensible and you can automate on top of it.
As you mention, the indexing would have to run on naps to be perpetually up to date, but periodic index scans by NeoFinder work well for us.


How do I get the Apple Music app to just play one song at a time, and not automatically go to the next song? How do I get the Apple Music app to just play one song and stop, without automatically going to the next song?

It appears the only way to play a single song is for it to be at the end of (or the only item on) a playlist when it's started. Otherwise, Music uses the current context to decide what to play next automatically, such as the rest of an album, song list, or playlist.


iPhone 5s Phantom Photos Will Not Delete I  have about 14GB of space taken-up by photos that aren't there.  I've seen the date reset to delete recently deleted photos, however that does not work for me.  I do not want to reset my iPhone to fix this problem if I don't have to.

I had the same problem.  iOS devices have a delayed delete function.  To solve the "phantom photo/video" issue, do the following:

Delete what you want deleted
Open Photos app on iOS device.
Open 'Recently Deleted' folder.
Delete items from phone permanently.
(Re)plug phone into laptop and Sync.

The photos/videos size drop to appropriately after I did this.

Cheers.


App to convert .h264 video on ipad to watch in "Photos" app? I have a video clip with extention ".h264" on my online storage, and i want to save it in "Photos" app on my iPad and watch it there... Is there an app for that? I think it might need to be converted to a playable format even before putting it in Photos. Thanks!

Uploading the video to your iPad will place the video in the app called "videos". I believe you don't have to convert the file because iOS supports .h264


What does the 2 temperatures mean in the Weather app? In the Weather app, there are 2 temperatures for each day. What does these mean?

That's the day's forcasted high and low temperature


Missing app icons on Apple Watch I've got a problem in that some app icons on my Apple Watch seem to be missing their artwork. This only happens to a few apps at a time, seemingly randomly and I haven't noticed a specific trigger. The apps otherwise work normally and the icons are present if I look at the list of apple watch apps on my iPhone.

If I uninstall and reinstall the app, that usually fixes it temporarily at least but I was wondering if there was a quicker/easier way to fix it or prevent it from happening in the first place.

https://www.google.com/amp/s/9to5mac.com/2017/06/07/how-to-switch-between-list-view-and-honeycomb-app-grid-on-apple-watch-with-watchos-4/amp/

I hope this help!................................


The app store download could not start because it has already been downloaded too many times I wanted to reinstall mac on my Apple Macbook Air 2017.
I restarted my Mac while holding down Command+R and Erased the disk in "Disk Utility".
I clicked on "Reinstall macOS" but I was having some internet issues yesterday so it failed a couple of times. I tried again and again but it was failing.
My internet is fixed today but I'm going back to the same section "Reinstall macOS" but it shows me an error:
"The app store download could not start because it has already been downloaded too many times"
Is there any way to download the original factory version of Mac or to fix this problem so that I can download it again from the internet.
I saw many options which suggest creating a bootable USB drive but unfortunately, I don't have access to any other mac system.

I finally installed MacOS Catalina.
Previously I was pressing Command + R during startup.
I Finally pressed Command + Option + R and it installed Catalina on my Mac.


Edit Contracts, Tax, and Banking details Can I edit or change/remove details in Contracts, Tax, and Banking ?

I have feel up the information in Contracts, Tax, and Banking section for the Bank details.Now contract's status is Contracts In Effect but I want to know that can I delete the bank info OR say disable, remove this contract from itunes.

I want to register my new bank account.

If so then when ?

Yes, you can edit your information in almost all instances without needing Apple's help.

Worst case, if you are locked out for more than a long weekend, open a ticket with Developer Support and you should have help to clear up your issues.


Make a specific tag the default window in OS X Finder I've got a tag in OS X which is labeled "To-do", and I want that Finder shows the files (and folders) that are labelled with this tag when I open a new finder window. So that the view that is shown when I click the tag in the sidebar to be set as Finders default view for new windows.

I have tried changing the option of default location in Finders settings, but I can only choose folders there. I have also tried using a smart folder with the tag as the only search condition, but smart folders are also not allowed to be chosen as default location in Finder. Right now I'm using "all my files" as default location, sorted by tag where I made sure that my "To-do" tag is at top, by naming it "1To-do". However, this is also unsatisfactory, since "all my files" does not show the folders that I've tagged.

As you have tried, Smart folders/Saved Searches by themselves can't be used as the default location.  However, they can be made into Canned Searches, which you can use for new windows.

Here is what you need to do.

Create a new folder called To-Do (which will become the Canned Search) into your Documents folder.
Switch back to your home folder
Run a search with the To-Do tag as the query and the Search value to either "This Mac" or your home folder.
Click the Save button in the upper right corner
By default, it will be showing the ~/Library/Saved Searches folder.  Instead, switch to the To-Do folder you created in step 1.
Save the search with the name search.savedSearch
Open your Documents folder
Select and Get Info on the To-Do folder
Expand the Name & Extension section
Rename the folder from To-Do to To-Do.cannedSearch and press Return
Enable the Hide Extension checkbox below, which should become available after renaming, then close the Get Info window.
Open the Finder menu and choose Preferences
Click the "New Finder window show" pop-up menu and choose "Other..."
Browse to your Documents folder and choose the "To-Do" entry
Close the Finder Preferences window

Now whenever you open a new Finder window, it will show your To-Do search results.

Hope that helps!


Can you pair Mac AND iPad with same Apple Wireless Keyboard? Can you pair both a Mac and an iPad 2 with the same Apple wireless keyboard, but not at the same time?  Or do you have to un-pair one, and then pair it with the other?

Yes you can.

First, make sure Bluetooth is turned off on your iPad. And enable it on your Mac (make sure the box that says "discoverable" is checked). Then turn on your keyboard and follow the steps to pair it using the Keyboard System Preference pane. Once the keyboard is paired, uncheck "discoverable" (which should remain off unless you wish to pair another device) and then turn off Bluetooth.

Next, head over to your iPad and enable bluetooth. Turn your keyboard off (hold the power button till the light glows and then dims). Turning it on again will get the iPad to pick it up and a prompt will ask you to enter a 4-digit sequence of numbers and the "ENTER" key. Follow the steps. Once that is done, it will be paired.

To use the keyboard on the iPad, make sure the device has bluetooth enabled and that your Mac has that service disabled (you should disable the service before trying to connect the keyboard to the other device).

I just tested it using my Mac and my iPhone 4 and it works perfectly. Sometimes the device takes a second attempt to locate the keyboard, but it does indeed work.


Restart OS X if an application has crashed/is not responding/beachballed? How can I automatically restart the machine if an application has crashed in any way? It might have cleanly exited, have a quit unexpectedly error, or be frozen with the spinning beachball.

I don't want to relaunch the app, but do a full restart.

Any Ideas?
Thanks.

Replace Shalalalala with the name of the process you want to monitor.

property NameOfVictim : "Shalalalala"

tell application "System Events"
    set ps to get the name of every process

    repeat while ps contains NameOfVictim
        set ps to get the name of every process
    end repeat

    restart
end tell


Installing MacOS via USB stick I have made a decision to install Mac OS from scratch so I have erased the disk part.(by cmd-r beginning of OS). Now, I'm using Windows(bootcamp). Is there any way to install Mac OS via USB stick and downloading, writing it into the USB on Windows?

Yes, you can create a bootable USB that can automatically install OS X. It would mimic the functionality of the Recovery Disk option when booting. Here's a link from Macworld about how to do it with the latest version of OS X, Sierra. It's less complicated than it sounds. When you start your Mac, hold down the option key to choose the USB drive that you've created.

http://www.macworld.com/article/3092900/macs/how-to-create-a-bootable-macos-sierra-installer-drive.html


Macbook air, 11 inches backlight not working after lcd replacement I just replaced the screen of my macbook air and now the backlight does not work. When I turn on the laptop, the screen works but the backlight does not turn on. I've tested with a couple of screens but no success.

Is the problem with the backlight LED, or fuse or logic board, is there any solution?

Model: Macbook air, 11 inches model A1370, 2011.

Any help would be highly appreciated.

You'll have a much better vantage point than us on the internet to guess.

First, reconnect all cables and hope it's that.

If not, you'll need to start replacing parts one by one. The odds of a new LCD being faulty are low - but the circumstances of the repair might help.

Was the LCD out the reason you swapped the panel?

You might need a second machine to isolate each part - test whether it's the cable, inverter, logic board LCD or something else.


Installing a specific iOS on a new iPad I've just bought a new 3rd Gen iPad as a gift.  I assume it comes with iOs 5.1 installed on it.  I want to install iOS 5.1.1 on it as I'd rather not use the Maps app provided in iOS 6.  I know that iTunes will only offer the latest version of iOS (6.0.1 at this time.)

How can I download and install iOS 5.1.1 to a new iPad?  I am not willing to jailbreak it.

There is a lot of information covering this exact topic in a question that I asked a while back:  https://apple.stackexchange.com/questions/65952/how-to-upgrade-iphone-3gs-to-ios-5-now-that-ios-6-is-out

The accepted answer provided me with this link: http://www.felixbruns.de/iPod/firmware/

Hope this helps!


Adding a new administrator account without password This has been answered repeatedly, but I keep running into a problem. I am trying to add a new administrator account to my computer via the single-user mode in the terminal.

The /sbin/mount -uw / command works fine. However, whenever I type in rm /var/db/.applesetupdone, it gives me an override prompt. I have typed in 'yes', 'y', and 'override'. 'Yes' and 'y' both give me this message: rm: /var/db/.applesetupdone: Permission denied. 'Override' does nothing.

Can someone help me with this?

I think you're missing a step, namely the /sbin/fsck -fy command. After logging into Single-User Mode, enter the following commands in the order listed:

/sbin/fsck -fy
/sbin/mount -uw /
rm /var/db/.AppleSetupDone

This should negate the need to override.


AppleScript: start/stop QuickTime Player screen recording on timer I would like to use an AppleScript which will tell QuickTime Player to start screen recording immediately and stop screen recording after a specified length of time (e.g. 60 mins).

In my search so far, I have come across this AppleScript:

tell application "QuickTime Player"
    set newScreenRecording to new screen recording
    tell newScreenRecording
        start
        delay 3
        stop
    end tell
    tell last item of documents
        close
    end tell
end tell

but I get an error message saying "the variable new screen recording is not defined". I don't know anything about programming as you can probably tell so I'd really appreciate any help you can offer with this.

It's not pretty, but if you click to start the video this will stop it.

tell application "QuickTime Player"
    new screen recording
end tell

--Pause for 10 seconds
delay 10

--Click the stop recording button in the top menu bar.
tell application "System Events"
    click menu bar item 1 of menu bar 1 of application process "screencaptureui"
end tell

Pro tip: Record yourself doing the action you want to automate in automator, drag and drop that operation into a new window and copy the line where it says click menu... (Remove the "\" escape characters) into a simple tell application "System Events" command. But unfortunately it doesn't work for everything.


Will a modern Time Capsule work with 10.5? While at home for the holidays, I noticed that the old iMac is probably on its last legs. I'd like to get a Time Capsule so that the documents are backed up when the time comes. However, the thought crossed my mind that the old iMac with OS X 10.5 might not be compatible with the new Time Capsule.

The new Time Capsules require OS X 10.75 and later:
http://www.apple.com/airport-time-capsule/specs/

Your best option is to upload your documents online (Dropbox, Google Drive, etc.) as your 10.5 backup on an external drive say, may not restore to the current version of OS X.


Differences between the three Ask to Join Networks settings in iOS 13? Before the release of iOS 13, when navigating to Settings/Wi-Fi/Ask to Join Networks there were two options listed: On/Off. The idea was that if this setting was enabled, if the iOS device in question was out-of-range of any known Wi-Fi networks but there were networks in range that hadn't yet been connected to, the OS would pop up a notification giving the user the option of joining these networks - some users may have found this useful if they travel a lot, for example.

In iOS 13, however, this simple switch has been replaced with three options: "Off" (which I assume behaves the same as it did in previous iOS builds), "Notify" and "Ask". To me, at least, these latter options sound similar and the tooltip displayed when either of these are enabled isn't too helpful.

Would somebody be able to explain the differences between these two latter settings?

What I commented above was almost correct.

the popover was very annoying to see when Wi-Fi is on and I am away from known networks. So maybe a notification comes when there's none. So that I can finish what I was doing and then try to connect to something.

The excerpt from an article:

Off ( This requires you t manually select a network if no known
networks are available)
Notify ( Known networks are joined
automatically. If no known networks are available you will see a
notification for available networks)
Ask ( Known networks are joined
automatically. if no known networks are available you will be ‘asked’
before joining a new network.

From https://appletoolbox.com/wi-fi-issues-after-updating-to-ios-13-or-ipados-check-these-10-tips/
The difference seems to be in the direct popup with list of networks vs the notification about available networks which won't interrupt your work.


How to get Apple Mail badge (n. of unread messages) from script? I'd like to know in a (applescript|bash|python|whatever) script, running on my Yosemite OS X, the sum of unread messages in all accounts of the Apple Mail application - in other words, the same number that appears in Mail's icon badge with the default Apple Mail Preference settings.

Is this scriptable via AppleScript or other means?

osascript -l JavaScript -e 'Application("Mail").inbox.unreadCount()'

This uses Mail's unified inbox to display the number of unread messages, thus, it's equal to the number on Mail's red icon badge.


Show selected folders size at bottom of finder - like you can in Windows In Windows, it's easy to grab a bunch of files up to a size limit.

Just keep selecting and look at the bottom of explorer where you can see the 'selected files combined size'

There appears to be no way to do this in finder except for option + cmd + I, which means you have to keep redoing it. You don't get it in the 'dynamic' style like you do in windows.

What's the workaround?

The Inspector has this functionality in Finder. Instead of Command-I for get info, add the option key to use the inspector and select multiple items to get a quick summary of space (Command-Option-I)

The inspector window is dynamic and summoned with these keys ⌘ + ⌥ + I

A brief history of the get info and inspector is maintained here.


Can you use the Apple Magic Keyboard with a Windows Machine as well? I just wanted to ask if it is possible to use Apple`s Magic Keyboard with a Windows machine (given that it has bluetooth). Is this possible?

Yes, the new Magic keyboard works just fine (the 2017 wireless extended one that is) with the supplied USB/lightning cable. In fact I'm using a third-party PUR braided cable, typing on the Apple keyboard right now. There's a tiny On/Off switch on the back right edge, that needs to be on even if you are plugged into USB. My cheesy Dell here at work doesn't have BT but I'll get a cheap dongle from Amazon and try it.

Next I will use KeyTweak and remap some of the keys. Right now Command is the Windows key and the tiny Option ket is ALT. Those need to b reversed so they are used to where we know them. I also like to to make F16 my Play/Pause button for iTunes, and F17 & F18 my Up-Down Volume keys and F19 my Mute. Oh, and F13 Print Screen, and the Clear button I make Num Lock. These are just my suggestions but for Windows it works. There's no way to program the Eject button to do anything but Optical is fading into the horizon anyway, lol. All This changes the registry in Win 10 so if you pop on a std keyboard, make sure to run KeyTweak again to reset the Registry back to normal!

Why go through all this for a Windows machine? Sanity. Got my first Mac in '90 (16lb Portable) and my SE/30 is sitting right next to me in my office. If I have to use Windows, at least my keyboard interaction is Apple. All my devices are, lol.

BTW, KeyTweak is downright confusing to use. Here's how you do it. It'll take a little time but worth it.

For EACH Key you want to change:

Click Half Teach Mode
In the windows that pops up, click Scan Single Key
Then press the key you want to change. For example, I clicked F19. You'll see a numeric ID for the key appear.
Then select, from the DropDown, what Function you want the selected key to do. In my example I selected Mute.
Then click the Remap button.

At that point you will see your choice in the Pending Changes Box. Continue on changing all the keys you need by REPEATING ALL THE STEPS.

Once done, click Apply. THAT will change the Registry and remap your keys! IMPORTANT: The app will ask if you want to reboot. Say NO. Instead, go to File-->Save Remap File As, and save your mapping. Then if you ever have to reinstall Windows, just open KeyTweak and load the file! Or if you put an Apple keyboard on another machine, do the same, and you won't have to redo all the tedious mapping.

NOW you can reboot for it all to take effect. ;-D


Notification Center: Sparrow notifications not removed automatically Since upgrading to Mountain Lion, Sparrow (email client) places notifcations in Notification Center.

I'm happy enough with that but when I read the email in Sparrow, the notification remains in Notification Center until I manually remove it which is a pain.

Does anyone know why?

Could it be on the Sparrow side not sending the API call back?

Is there a feasible work around?

You could just use temporary screen pop-ups, and disable the notification center:

You can set this per app.

Apple Menu -> System Preferences -> Notifications

Then, for Sparrow, choose Banners, not alerts.


How to delete emails instead of archiving them on iPhone & iPad? This summer Apple changed built-in mail app to support "archive" button (at least for GMail and GApps-based accounts), but I have found that I need to delete emails much more often than archive them. Right now the only way to delete them that I know is moving messages into Trash folder, which is quite cumbersome. Is there a way to bring back "delete" instead of "archive" button or any other way to quickly delete messages?

Simply go to Settings -> Mail, Contacts, Calendars -> Your Gmail Account and turn "Archive Messages" to "Off".


How can I transfer iPhone + iPad data to a new computer? I have iTunes installed on my old computer (Win XP) and all iPhone + iPad apps + all backups are done on this computer.
Now I would like to use iTunes on my new computer (Win 7) and retire the old one.

My experiments so far went really bad. If I do the obvious thing and install iTunes on the new computer, then try to sync the iPhone, it completely wipes the iPhone and all app data. That happens even though the iTunes account is the same as on the old computer.

My goal is simple: I want to be able to sync/backup both iPhone and iPad on the new computer without having to completely install all apps again and loosing all the app data on the devices.

This seems to be such an obvious thing - to switch to a new computer - am I just not seeing the easy way to do this?

There's an Apple guide to this process

There's also this guide on HowToGeek.com


Parallels VM process has high CPU on Macbook Pro Retina when running Chrome in Parallels 8 When I look in Activity Monitor in Mac OS X 10.8.3 on a Macbook Pro 15" Retina while running Chrome (Build 26.0.1410.64) in a Windows 8 Pro VM hosted in Parallels 8 (Build 8.0.18483) I see that the "Parallels VM" process is constantly showing 40-50% CPU usage, even when the VM is idle. At the same time the Win 8 Task Manager only shows 2-3% CPU usage for all running processes. Closing Chrome in the VM immediately drops the processor usage for "Parallels VM" on the Mac side down to 7-8% (Windows 8 Task Manager still shows only 2-3% CPU usage by all processes).

I can see this problem when Chrome is the only application running in the Win 8 VM.

This problem only happens when a web page is open in Chrome. Plug-in settings for Chrome are set to 'Click to play'. I am not clicking to play any plug-ins when I load a web page.

Some information about my setup:

My Parallels VM is set to use two CPU cores. This would explain why (when Chrome isn't running) I'm seeing about double the CPU usage for the "Parallels VM" Mac process as I see being used by all process when viewing Task Manager on the Win 8 side, since the Mac's activity monitor reports processor usage by all cores and combines those values for the display CPU usage value.

Parallels is running in full-screen (non-Coherence) mode.

Windows 8 Pro has all current updates installed.

Chrome 26 is a base install with default settings and no extensions are installed other than the default 'Google Docs' extension, which is disabled.

Does anyone else have this issue and, if so, have you found a fix?

I had a similar problem in Windows 7 guest OS under Parallels 8. This fixed it:

In Chrome, go to chrome://flags and set 'GPU compositing on all pages' to "Disabled". Restart Chrome

There is a bug report related to this with more details: http://code.google.com/p/chromium/issues/detail?id=172521


Can I safely delete from my iphone photos shared by friends? I would like to free some space on my iPhone 4S by deleting my local copies of photos from a friend's photo stream. Can I do that without affecting my friend's originals and without signing out from the stream? Ideally, I would like to do that selectively, i.e. delete some of the photos and keep others. Also, I would like to continue to receive my friend's newer pictures.

Photos of a shared stream can only be deleted by the owner thereof. Once deleted, this photos will be automatically deleted from any device of anyone subscribed to the stream.

The photos you've previously saved to the Camera Roll, for instance, won't be deleted, though.


Is there a way to where when my laptop lid is opened, to automatically press a key? I recently started using VLC as my background engine, however, when I shut the lid, the video stops. Pressing the play/pause key on the keyboard fixes it. Is there a way to where it will automatically press the play button every time the lid is opened?

If not, is there a way to stop VLC from pausing when the lid is shut? It would help greatly. The method of stopping VLC from pausing would be more... "legit" I would say.

There may be ways to stop your Mac from sleeping when you close the lid, but none of them are recommended, and I'm not even sure the old ways work anymore.

Option 1: sleepwatcher

As far as automating VLC on system wake, that may be possible with sleepwatcher. You ought to able to simulate a press of the spacebar with a bit of AppleScript:

tell application "System Events"
  key code 49 -- space bar
end tell

but you may need to add a slight pause (I'd start with 3 seconds and then adjust down until it failed) so that the system if fully awake before you send it.

That will also fail if VLC is not the front-most app. (Do you have to enter a password when you open the lid? If so, that's another consideration.)

Option 2: Keyboard Maestro

I would be much more likely to use Keyboard Maestro for this. For one thing, it does a lot more than just this one thing, and it can run that AppleScript I mentioned above.

It could also make sure that VLC is the active application and then press the Playback » Play menu item, which is probably more likely to work more reliably than sleepwatcher can.

The only downside is that Keyboard Maestro isn't free, but IMO it's one of the best purchases you can make for your Mac.


Is there an App compatible with the "Transfer on LAN" cross-platform program? I am running Transfer on LAN to kind of emulate AirDrop.

However, I am unsure as to how to access my PC running Transfer on LAN from my iPhone 6.

Here are three things I tried, none of which worked:

App store search for Transfer on LAN.  nada
With Transfer on LAN running, I pointed Chrome on my iPhone to http://172.16.0.2 just to see if a webserver is running.  (It may be the case that my PC's firewall blocked it without alerting me that it did so.)
With Transfer on LAN running, I pointed Chrome on my iPhone to http://172.16.0.2:2011 as 2011 is the default port used by Transfer on LAN.

Transfer on LAN is now defunct it seems so I cannot get support from them I don't think.

Would Dropbox do what I want without having to send files over the internet or be subject to Dropbox' filesize restrictions?  I have some GoPro mp4's I want to just slide over to my iPhone from a PC that are about 2GB each so DropBox isn't viable for me.

Also I tried Instashare but that seems sketchy because, although it works perfectly, to continue past the trial, Instashare wants some information that really feels like a phishing scam.  I'm not about to give up my paypal email or credit card number to some company I do not know.

Not sure about your question directly as I don't know that app. But look into Bit Torrent sync. It creates a Dropbox-like folder that exists only in your LAN, no syncing with outside servers.


Any iPhone free app could convert *.wmv file to *.MP4? I'm using mobile more often than notebook, so would like to have an app converting videos.

Try "The Video Converter," an iPad and iPhone app, that promises to convert files including .WMV files to formats like .MP4.

Download The Video Converter


Apple Mac Pro - reload OS for a beginner's new start? I'm a recent refugee from Windows and new to all Apple basics. I've bought a secondhand post-2013 Mac Pro and I've discovered (unsurprisingly) that I don't have Administrator's rights to load software. Looking at Forums it looks like quite a task to gain it. As my machine doesn't have any 3rd party programs or data on it, it seems to me that the easiest solution would be to reload High Sierra. Is that a good idea and can I do that without those Admin rights?

Yah, do it. Restart holding CommandR. Choose Internet Recovery and reinstall the operating system.

The only thing that will slow you down is the speed of your internet connection.


Sync Mac & Windows user profiles to OneDrive I'm running Parallels 11 with Mac El Capitan and Win 10, and Office 365 plus OneDrive installed on the Win side.   Am natively sharing my Desktop, Documents and Downloads folders between Mac/Win thru Parallels but I'd also like to sync them both with OneDrive.

I don't want to use symlinks as OneDrive can't accept these, and if possible want the ability to shutdown my Win and run Mac on its own - so I'm thinking I need to customise the Win locations of each folder to OneDrive, and then use Offline Files or similar to sync with the Mac.

Am not wanting an external sync program because from what I've seen they're not real robust unless its a service and watching for changes at a low level like OneDrive does, and I don't want scheduling.  Also need to run a large search index on the Win side as I have over 0.5m files including 50Gb email, and need this native to Win - so I can't run OneDrive on the Mac.

A tough one.!  . . . . . . . any suggestions.?

OneDrive allows you to sync to whatever folder you desire. In your case, point it to a OneDrive folder in the shared Windows document folder. The Mac will simply have this folder in its Document folder as well. Whenever Windows is running, it will sync with Onedrive and populate the shared folder. Of course, since you don't have OneDrive on the Mac, it won't sync. You could always put OneDrive on the Mac, and point it to the same folder...


Start time in Calendar I have OS X 10.9.5, and my Calendar (version 7.0) will not let me change the "Days start at:" and "Days end at:" in Calendar general preferences. It will allow me to change the times inside the actual preference box (in the scroll menu), and it will stay to the specifications I set it at. However, it does not change on the actual calendar: every day in the weekly view starts at 1am and ends at midnight, no matter which time it is set to.

The "Show: ... hours at a time" option works still; it's only the "Days start at:" and "Days end at:" options that don't work.

There appears to be a misunderstanding about what the "Day starts at" and "Day ends at" settings do in Mavericks. The underlying idea is that these are your work hours.

Back when it was still called iCal, this caused portions of days outside that range to be shaded, to show they were off-hours. Now, however, the only effect these settings have (from what I have been able to find) is that they are used to determine which address is the starting location, for estimating travel time to an event. During work hours, your "work" address is used, and during other hours, your "home" address is used.

This is overridden by Calendar if there is an event (with a location) within the three hours prior to an event's start time, in which case the starting location is assumed to be the prior event's location. If you don't have work and/or home addresses set in your contact card in Contacts, Calendar will use your computer's current location (if available).

Regardless of the "Day starts at" and "Day ends at" settings (and even prior to Mavericks), the entire day will always be shown.


Demo account for Sign in with Apple for App Store Review? Does the Apple App Store review process require a demo account for signing in via a "Sign in with Apple" button? For example, if that is the only sign-in method, how would one create a demo account?
The App Store Review Guidelines state to "include demo account info [...] if your app includes a login."

Apple can use their accounts for Apple sign in.
If you didn’t rely exclusively on Apple for app identity, you would want to provide an account of your issuance so you can see what the testers hit. Not giving them an account makes you miss getting feedback. (imo)
As you stated, you can’t issue an AppleID to testers, they must do that themselves.


How to downgrade iOS 11 beta to iOS 10 without PC? I have iPad and I recently installed iOS 11 beta 1 on my iPad. Now I see some battery issues and I want to downgrade to iOS 10.3.2. But I checked on the internet and shows that a PC is compulsory. I don’t have a PC.

It's impossible without a PC or a Mac to initiate the wipe and also host the reinstall image download and USB control during the downgrade.

In addition to the "computer" - you need an Apple tool like iTunes (Mac or PC) or Xcode or Apple Configurator (or a third party one like Ground Control) to reload the older OS, since there is no OTA bundle for downgrading.


When syncing books on iPad, library shown in iBooks also contains books no longer in iBooks I add and remove books en PDFs to en from iBooks. When wanting to sync my books and PDFs on my iPad, through iTunes, the list of books and PDFs available for my iPad (from iBooks) shown under 'Books', gets larger and larger, as it does show the books and PDFs in and added to iBooks, but does not remove from that list the ones removed from iBooks. So, the list gets larger and larger. Very annoying... Does anyone know how to solve my problem?

Open iBooks, go to File and select 'Move Books from iTunes…'. This should fix the problem.


Manage and update many machines with the same settings I have a small renderfarm of mac minis and they should all have exactly the same settings, get the same updates, etc. etc. I'm sure there is a solution for this and I would love to stop repeating myself :). How does this work at the enterprise level?

EDIT:
Sorry for being vague. I have just four computers currently but may expand, though likely staying below ten. I frequently have to install software upgrades, configure licenses, update network mount points, etc.

I've done some rudimentary google searches but am having trouble finding the terminology.

For that level of computers, your best bet is to get a license of Apple Remote Desktop to manage them.

https://www.apple.com/remotedesktop/

Since it's Apple software, you can leverage AppleCare to get technical help and guidance. It scales very well for situations under 50 computers. Even managing thousands of Macs is possible, but I'd put my money on a different horse when crossing 100 Macs under management.

Seriously consider trying out bushel as well as osquery along with ARD to get started.

https://osquery.io
http://www.bushel.com

You get free support from bushel and can stick with the free plan to see if it suits you while learning about MDM options. ARD is a no brainer to help install and manage without messing with setting up screen sharing one by one. Your call if OS Query is worth learning - if you don't want to know SQL like languages, there are other free solutions like Munki and AutoPkg to explore.

https://www.munki.org/munki/
https://autopkg.github.io/autopkg/


What do these Bluetooth icons shown in iOS status bar mean? I have two Bluetooth speakers from the same brand. They both have a mic and a call answer button as well as media playback control.

When I connect to one of them I see the following icon in the status bar:

The other speaker when connected, shows the following in the status bar:

Why is a speaker represented by a headphones icon?
Why do the icons differ?
What are their respective meanings?
Does the absence of a battery indicator mean that the speaker doesn't report battery status?

I am using iOS 10.3.3.

Refer to the Apple Support document, Status icons and symbols on your iPhone:

  The battery level of your paired Bluetooth device.

  Your iPhone is paired with a wireless headset, headphones, or earbuds.


How to install memcache on Mavericks? (MAMP) I have MAMP on my machine, and I would like to install memcache for php, because one of my project throws errors like Fatal error: Class 'Memcache' not found.

I installed X-Code from appstore, and libevent, memcached, libmemcached with homebrew.

Then..

cd /tmp; pecl download memcached
gzip -d < memcached-2.2.0.tgz | tar -xvf -
cd memcached-2.2.0; phpize
./configure; make
sudo make install

Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20100525/

After that I copied memcached.so and memcache.so to my extension_folder:

  /Applications/MAMP/bin/php/php5.5.10/lib/php/extensions/no-debug-non-zts-20121212/

and added extension = memcached.so to my php.ini.

I still get fatal error.. what's the problem?

It seems there are 2 memcache extensions.
There is memcached and memcache the latter one does not seem to be maintained anymore last stable from 2012.

It looks like your code depends on Memcache since you are using brew, you could just do:

brew install php55-memcache

or

pecl install

Install brew by issuing:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


Macbook battery runs flat while "charging" with nearly full USB Brick Road warriors buy Macbooks for untethered working and at times find themselves in a place without a powerpoint.  So charging a Macbook from a USB Brick is a fundamental operational requirement.  I thought I'd just plug my 2018 Macbook Pro into a USB Power Brick and it would just "work".  How wrong I was...

The USB Brick charged at such a poor rate my Macbook's battery would run flat despite having almost a full 26800 mAH Brick connected to it via the USB-C/Thunderbolt port to charge it. Something was badly wrong.  Was it the USB brick I was using?  Was it the cable?  Was it a combination of these things?  Much head scratching...

Since this is an issue I feel of broad interest for all mobile workers, I'll give a thorough treatment of the issue and how I resolved it in my answer below.

SHORT ANSWER:

The non- Apple cable I was using with the Anker USB brick WAS killing charging performance as proven by the testing I did which is documented in the "Long Answer" section which follows

The Apple USB-C/Thunderbolt cable would require a USB2.0-to-USB-C adapter to work with my Anker USB brick, so I just bought a brick with native USB-C support which works great:

Zendure X6 45W 5 Ports USB-C Hub Portable Charger 20000mAh PD&QC 3.0 Power Bank

HOWEVER: I remarked in the comments in the Apple store that the Apple USB-C/Thunderbolt cable received many 1-star reviews; not robust. Coiling & uncoiling this cable seemed likly to damage it, so I did some searching on Amazon and found the following cable, which works well with the Zandure X6 Brick from my (short) experience of it:

Anker USB-C to USB-C Thunderbolt 3.0 Fast Charging and Data Transfer Cable

Now my brick runs flat first before the Macbook's battery begins to run-down.  Problem solved.

Do remember to shut-down any unnecessary CPU-intensive tasks while running on a USB brick or you will watch it drain fast. And I do mean "FAST"

If you want to see how I arrived at my results, please continue reading "Long Answer" section.  Lots of pictures to support my analysis

LONG ANSWER

Since my Macbook charged correctly using the supplied 87 Watt Power Adapter and USB-C/Thunderbolt cable, I needed to assess the charging properties of this connection to obtain a baseline of what "normal" performance was.  But how?

Task #1: Identify Appropriate Power Meter:

I'm not an electrical engineer, but searching in Amazon I found the tool for the job:

Jokitech USB Type C PowerMeter tester

Task 2: Identify baseline performance of a correct power connection

Armed with the Jokitech tool, I measured the properties of the stock Apple 87 Watt Power Adapter and USB-C cable that ships with my Macbook Pro 2018:

Stock Apple 87 Watt Power Adapter using Apple USB-C Thundebolt Charging cable

The voltage fluctuated between 19.7-19.9 volts, so we'll use the median number 19.8 as a baseline for assessing performance of other USB cables.

Task #3: Determine charging performance using a USB Brick with non-Apple cable

This test I swapped-out the Apple 87 Watt Power Adapter with an Anker USB brick to power my Macbook

Anker 26800 mAH USB Power Brick and USB 2.0-to-USB-C cable

The voltage of the USB Brick's cable is barely 1/4 of the correctly charging connection using stock Apple Power Adapter & USB-C/Thunderbolt cable.

But is it the USB Brick or the Cable- or both?!?!

Task #4: Compare Apple USB-C cable with non-Apple cable

The Anker Brick I had been using had no USB-C interface, so I found the Zendure X6 45W (5) Port USB-C Hub Portable Charger 20000mAh PD&QC 3.0 Power Bank which enabled me to test both the non-Apple cable reporting low voltage and the Apple USB-C/Thunderbolt cable with the same USB brick.

The first test shown below with the non-Apple cable reporting low-voltage, still demonstrates same poor 5-ish volts performance with the new brick when connected to the USB-C port via an adapter:

Now, if I connect the Apple USB-C Cable which was known to work correctly with the Power Adapter and it continues to operate at about 19.8v (or thereabouts), then that cable I was using with the Anker was causing me the pain.  Let's see how tha Apple USB-C cable behaves:

Note that there's no issues with low voltage with the Apple cable.  The original cable I had tried with both the Anker & Zandure X6 USB bricks performed 5-ish volts consistently. As you can see, the USB cable you use to charge from a USB brick can have a HUGE effect on charging performance


How does one a base a podcast playlist off of release date? I'd like to be able to make a playlist that is all recently released podcasts.

Unfortunately release date is not a field available for selection in a smart playlist in iTunes.

Similar-ish dates like date added and modified date won't be close to release date when downloading the back-catalogue of newly added podcast.

The best solution I've come up with is to close itunes, truncate the iTunes Library.itl file, copy the release date field values in the iTunes Music Library.xml file into the date added field, and then relaunch iTunes, and letting it rebuild the itl file from the xml file.

However, my library file is large enough that the rebuild takes 20-30 min, and even with no hacking of the xml, fails more often than not.

Is there a method for me to either or both of:

hack the itl file to set the date added to the release date?
be able to select the release date either in rules for a smart playlist or the "limit to... selected by" dropdown of a smart playlist?

I'm not much of an AppleScripter, so this is modified from some scripts at Doug's AppleScripts website, but it's GPLed, so derivative works are allowed as long as they're also GPLed.

My idea was to make a script that could take the release date, which can't be used in smart playlists, and store it in the last skipped date, which can be used in smart playlists. If you just want to do this for podcasts (not for songs, for which you might actually use the last skipped field), just select your podcasts before running this script.

Once you do that, you can create a smart playlist selected on the "Last skipped" field to get the recently released podcasts.

So here we go:

 (*
 You can rename this script to whatever you want
 but please keep this information intact. Thanks.

 This program is free software released "as-is"; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

 Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

 or visit http://www.gnu.org/copyleft/gpl.html

 *)

 tell application "iTunes"
set sel to selection
if sel is not {} then
    set ofi to fixed indexing
    set fixed indexing to true
    repeat with thisTrack in sel
        set reld to release date of thisTrack
        tell thisTrack to set skipped date to reld
    end repeat
    set fixed indexing to ofi
else
    display dialog return & "Select some tracks first..." buttons {"Cancel"} default button 1 with icon 0 giving up after 15
    return
end if -- no sel
 end tell


macOS keyboard shortcut for correcting misspelled words? In a Mac OS X native textfields, misspelled and typo'd words are underlined with a red squiggle.
Is there a standard keyboard shortcut that will correct a mispelling by selecting the most-likely correction?
This should work in all native textfields. The solution should not be limited to a single app.

It's already possible to Right Click a misspelled word. I'd like a keyboard shortcut to bring up a similar feature, so that I don't have to manually Right Click each word individually.
The feature could correct each word, one-by-one, allowing you to select each correction. Or, it could use the best guess for all misspelled words in the document.

You can't correct them in a single click, but you can make it start to go though them in bulk, correcting each on the way.
 Cmd ⌘   :  [which on a UK keyboard is actually  Cmd ⌘   Shift ⇧   ;  ] will pop up the Spelling & Grammar checker, allowing you to select each error in turn & correct it [or ignore, learn etc]

Alternatively ... Edit Menu > Spelling and Grammar > Show Spelling and Grammar


How can I get DNS resolution on-line and offline for virtual machine and local app using dnsmasq or similar I have read all the answers I can find about setting up dnsmasq as a local DNS server for development.  But I can't make it work for my case.  Most out there want 127.0.0.1 to be resolved for names in the .dev domain.

In my case I have a VirtualBox virtual machine running windows in my MacBook Air.  This Windows runs SQL server express. It is set up with two interfaces - a network bridge - to share the external wifi interface and be a peer on my local network when I am on line. I also have VirtualBox set up a host-only network. The subbnet is 192.168.56.0/24 with my Mac being .1 and the Windows virtual machine being .2.

dnsmasq running on the MacBook support this and from a Windows perspective it does everything perfectly, on-line and off. Using its ability to assign complete domains an address it gives .rab to 192.168.56.1 and .tig to 192.168.56.2

On the Mac itself I am developing a nodejs application, which is a web server (so it needs a domain name - lets say abc.rab - my Mac is called Rabbit) and to acccess the Windows machine's database (called abc.tig - Windows machine is called Tigger).  Here things don't seem to work.

I wrote a small nodejs program to test DNS lookup

'use strict';
const dns = require('dns');
dns.lookup('abc.tig',(err,add,family) =>{
    console.log('addresses:',add);
});

and it can't find the address. Yet on the terminal this DNS lookup works

alan@rabbit:~/Documents$nslookup abc.tig
Server:     127.0.0.1
Address:    127.0.0.1#53

Name:   abc.tig
Address: 192.168.56.2

alan@rabbit:~/Documents$

In a web browser abc.rab also tells me it can't find the domain name.

As I said, I had set up dnsmasq to run on all interfaces.  In the network properties for my Wi-Fi interface I have set nameservers as  127.0.0.1 and 8.8.8.8

In /etc/resolver I created a file called literally 'whatever' (the answer that I read about this didn't make it clear if it literally had to be called that or it was just an example) with

nameserver 127.0.0.1
domain .

in it

Obviously there are two name resolution processes in place.  The mDNSResponder and dnsmasq are both shown running in my activity panel.  I presume different ones are being used by the terminal and by my application

What am I doing wrong here?
(writing and testing this I am currently online)

(PS I have a similar setup working on my home development machine running linux working perfectly - I just want to be able to develop on the move).

mDNSResponder and dnsmasq have to run both: dnsmasq is the lightweight DNS-server (and DHCP/Router) and mDNSResponder is responsible for all local queries.

To set up dnsmasq in OS X in your environment properly do the following:

Remove any DNS-server in the network preferences of the dnsmasq host (your MacBook Air) except 127.0.0.1.

Remove any DNS-server in the network preferences of the VMs in use and replace them by the IP-address of the VM-host (your MacBook Air).

Remove any file in /etc/resolver/. Usually they aren't necessary.
You may keep them but then they probably should have this form:

/etc/resolver/rab with the content

nameserver    127.0.0.1

/etc/resolver/tig with the content

nameserver    127.0.0.1

The logic behind this is mentioned in resolver(5):

  domain
           Domain name associated with this resolver configuration. This option is normally not     required by the Mac OS X DNS search system when the resolver configuration is read from a     file in the /etc/resolver
       directory.  In that case the file name is used as the domain name.      However, domain must be provided
       when there are multiple resolver clients for the same     domain name, since multiple files may not exist
       having the same name.  See the SEARCH     STRATEGY section for more details.

Then edit /usr/local/etc/dnsmasq.conf and add/modify

server=/rab/192.168.0.2 #your main IP-address or 127.0.0.1
server=/tig/192.168.0.2 #your main IP-address or 127.0.0.1
server=8.8.8.8 #forwarder
addn-hosts=/usr/local/etc/hosts/hosts.conf

Now add the hosts.conf file in /usr/local/etc/hosts/ with the content:

127.0.0.1   localhost
192.168.56.1    abc.rab
192.168.56.2    abc.tig

Then restart dnsmasq with launchctl to load the new conf files.

Since your Windows VM already is in the bridged Wi-Fi network you can completely dump the host-only network and modify /usr/local/etc/hosts/hosts.conf:

127.0.0.1   localhost
192.168.0.2 abc.rab #IP-address of the MacBook Air Wi-Fi interface
192.168.0.3 abc.tig #IP-address of the Windows bridge interface


SSD on OSX Mountain Lion says it's almost full but isn't So, first things first, my mac is a hackintosh so my issue may be some weird issue due to that. However, I was wondering if what I'm experiencing is signs of ssd failure. I have a 128gb ssd in the rig for the os, applications and active projects. Over the past 2 months the drive has been slowly losing free space. I first chalked it up to filling it with projects but all of a sudden it has 100gb used so I check how big my projects and applications are and they are 30gb. I know the os isn't 70gb so I was wondering if this may be a sign of a failing ssd or if it may be something else.

TRIM isn't enabled on non-Apple OEM SSDs in OSX.  Perhaps garbage collection is not happening.  You can find a lot of sites that explain how to enable TRIM in OSX.  I haven't provided a link as they are plentiful and you may wish to use a site you're more comfortable with.  Use keywords: "enable trim support OSX terminal"

This link explains it but you should not need the freeware tool that the article mentions.  You can enable it from terminal with a few commands.


Unable to disable SIP on BigSur I'm trying to disable System Integrity protection on BigSur 11.1 OS which is a VM on Fusion 11.x. I'm trying to boot machine in recovery mode, however VM is unable to get cmd + R keys and  booting ends up with normal booting.
I have Catalina 10.15.7 installed and SIP is disabled in it, in case I upgrade to BigSur, will SIP still be disabled?
If not, any other way to disable the SIP on BigSur?

Last time I updated my Mac from macOS Catalina (10.15.5) to Big Sur  Beta 1, SIP was enabled again.
But I can't ensure you that it will work.
I found this on Google :

'Power on to firmware' from the Virtual Machine menu

Select 'Enter Setup'

Boot from the file

Arrow down to Recovery HD

Hit Enteruntil you can pick boot.efi

Select boot.efi

Hit Enter and you should now be able to disable SIP.


How to add ImageJ to list of apps that can access system's camera (or other USB wecams)? I would like to add a program to the list of apps that can access my laptop's camera.  I have a MacBook pro with OS 11.1.  Specifically, I want to use the ImageJ's webcam plugin to control a USB endoscope.  I can get the endoscope to work with PhotoBooth, but I want to use the features in the webcam plugin.  ImageJ just says "No webcam detected" and I can't find a way to add programs to the list of allowed apps in the Security & Privacy settings. I looked through some previous threads and didn't see a solution.
Thanks!

There is not a process to "request" camera access–instead, applications simply try to access the camera. ImageJ need not know about the approval process to try to access the webcam.
You cannot add an app that has never tried to use your camera to this list.


How to check if a USB hub supports USB 3.0? I recently bought a USB type-C hub for my MacBook Pro. I found the data transfer speeds to be quite low (from my USB 3.0 external hard disk). I suspect that the USB hub doesn't support USB 3.0 data transfer speeds. How can I confirm this?

Open System Information app before you plug in your hub.
Navigate to "USB" in the list and click.
Note which information isn’t about the device you’re about to test.
Then plug in the hub and refresh the window contents.

Here is an example of mine. You can see it is identified as USB 3.0 capable, speed up to 5Gb/sec:


Need some basic enlightenment about using PHP Actually I have been programming in PHP for a while, but my experiences about PHP is through VPS or some local environment like XAMPP.
I was trying to install xDebug/homebrew when I come across this

It says "if you are on PHP 5.3", only after reading this did I realize I already had PHP "installed" on my Mac（I think it comes with Mac OS) and this is where I got confused. I need something clarified:

1）I have XAMPP on my Mac, does its PHP interfere with what comes with Mac?

2) If I install Apache on my Mac, does it have its own PHP too? And after installing it, I will be able to use my Mac as a server right? What does this have to do with the server that is already running through XAMPP?

3)Back to what I was doing (installing xDebug), I think I need to install xdebug on xampp's PHP, but following this instructio, it seems to me that I will only install it to Mac's PHP. If this is true, how do I install xDebug to XAMPP?

To figure out whether you have several PHP installed, you may try to run from shell:

$ which php -a

If you got one - then you are fine.

If you discovered, that the first line goes not the one which you installed, ensure that you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:

PATH="/usr/local/bin:$PATH"
and questions #3: it seems you are confused. XAMPP already includes Apache, so you don't need to install anything separately. XAMPP is an Apache distribution containing MariaDB, PHP, and Perl. You may add xdebug to XAMPP package, by reading one of tutorials for OSX.


How do I automatically open a subfolder on a SD card when mounted? My camera has a complicated path to the video files, and I'm constantly plugging it in, and then digging to get the videos.  I just want find to automatically popup to the specified subfolder when the card is mounted.

I've install DSW (Do Something With from Azarhi), but I'm not sure how to set up Automator to open a new finder window with the specific location?

Any thoughts?

With automator you can do this. It'll open a Finder window with the specified folder selected :

You could also make an alias of the folder, and when you plug the SD card in you just need to open the alias and it'll bring you to the desired location. Right click on the original folder and Select Make Alias and put the alias somewhere easily accessible.


iTunes playlists won't sort by Name anymore I have recently had to upgrade to Windows 10, and with the 2 subsequent downloads of iTunes, I can no longer sort playlists by Name (Song title), which is what I prefer on my iPods. They USED to sort like the Songs list does (just click on Name and voila). Now I get fancy, multi-coloured lists I can't read or manipulate in any way. Not user-friendly at all. Help!

If I hadn't just had to completely re-create all playlists; all ratings, and reinstall all music into iTunes with the change, I'd be a lot more patient, but this is already a 6-month project to get back to where I was before.

Found here:

  When displaying your playlist, hopefully you see something like this.
  If you do not, while viewing the playlist, use iTunes' menu to choose
  View > View As > Songs

  Then in the header row that says "Name ... Time ... Artist ...",
  choose the field you wish to sort on and click that header button.


Interfacing to Arduino over Bluetooth? How can I connect an iOS device to an Arduino device over Bluetooth?

I have a hardware device I would like to control with my phone.

Does it make a difference if the hardware is a commercial product and I provide the app via the app store?

I found a answer for you on our sister site.

Connect an iPhone to Arduino over Bluetooth

  There are several ways to connect Bluetooth LE devices to the Arduino.
  One I've used is the RedBearLabs BLE Shield.


Accidentally ran command to erase volume with "no format", how can I get it back? I accidentally ran this command and now I am missing 100gb of space, how can I get it back? All help appreciated!!

diskutil eraseVolume free %noformat% disk0s2

Terminal gives this diskutil info:

And this corestorage info:

Partitioning will only allow me to change the 68gb and not the full 250gb.

The proper command to resize your main volume to completely fill your disk is:

diskutil resizeVolume disk0s2 0

Usually you have to enter a size like 249g but 0 acts as a magic number and resizes to full size (fit to fill) while moving Recovery HD automatically.


Can you run Samba on Snow Leopard workstations? it appears that Samba functionality is restricted to the server edition of OS X 10.6 - is there a workaround or third-party solution?

File sharing is available on the client under System Preferences>Sharing>File Sharing.

You can then select what to share. Once you've done that click the options button. And select the third option shown in the image below.


MacOS El Capitan icon change I having a big question with some icons i change. I managed to move into rootless by restarting and CMD + R to boot into Recovery, then utilities and terminal. On terminal i wrote

  csrutil disable

to disable S.I.P. , after that , regular boot and opened Iconlite.app to change the icons, i changed almost all xd then i repeat the process but this time with

  csrutil enable

this time to get S.I.P. and the system normal. Well, i'd change a lot of them included that HD icons that appears on Boot + OPT/ALL to select in which SO i want to start.
The question is that in my user some icons still being the same BUT on guest user that icons are actually changed, i just wanna know why or how i should get that change on my user as well.
The next image shows what i mean on the Finder, Safari, Calendar are different
**I just forgot and i didn't change the System Preferences icon

Thanks in advance for any answer :)

Sounds like the icon cache may need to be cleared. The terminal command you'll want to run is:

sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;

..and then log out and back in.


Simplest way to audit and monitor my home network and deal with intruders (while leaving it all open) Please don't give me a suggestion that you haven't tried and approved yourself. Also please feel free so skip and not read anything below. I trust the title is already summing up pretty good.

What I've got

Strong passwords, updated system, some log monitoring with Who Is Connected and nothing else. Just the passwords and updates have been enough until now. But that's probably only because I have no presence online, random IP and, on the wifi side, I'm in a spot that not many people get close enough to get the signal. Which makes this a good sandbox environment.

I've tried about all tools listed in links from this question, and they're either not working, too complicated or have some bug.

What I'm looking for

What you say? What are the simplest things that can be done on the mac to keep it stable, open and free within an open wireless network (and the already open internet)? That is, other than buying the fonera, which I'm waiting to arrive back from warranty - I want to know only mac-wise.

Adding to that, I'd want the same thing when connected to any other network. But I believe that's nearly irrelevant as I don't care if data is being spoofed. I'm not trying to secure any data out of my machine / network.

And yes, the question is a bit misleading on purpose. I do ultimately want to secure my whole home network, but I also know it can only be done starting on the router and applying strong policies in every machine within it.

For Instance

Just the other day I've realized my mac is constantly being attacked over the web through SSH - and looks like there's nothing I can do fast enough to prevent a big harm in case someone could break in. I can barely knows if someone brute forced my password, even while highly unlikely, and does nothing else after that for whatever reason.

So, in this instance, I'd like to be able to first block the attacker with some smart firewall rules, then to send back a message "I'm watching you" or anything like this, just to intimidate. It could also be changing any welcome message specifically to the attacker. Changing SSH port is the most suggested measure, but I'd really want to avoid doing that.

There's another instance where the attack were through AFP, which I also want to leave open. Someone added a "Pamela" folder to my dropbox, which is perfectly fine. But if I don't go there and see it's there, I don't get any notification about it and don't get to see who did it and when. Ideally I would see the exact moment and even get to interact with the user somehow.

Summing up

The solution would probably be enough if it were one software able to: get me notified of any user connection anywhere (but just once per user / attack / minute or something), take a preventive automatic measure, give an automatic response and give me options to take action if needed.

And

Sorry for such a big and long question!

Mocha

  Mocha is a tool that monitors your network activity and keeps a record of Ip / Mac address pairings and firewall logs. It will give a warning when it notices any suspicious activity, like any changes in Mac address or any connection attempt to the firewall.

I hope that helps! :)


Updating to iOS 8.1 from computer I want to update my iPhone 5s which now has iOS 7.1 to iOS 8.1.

My question is: If I update it from iTunes is the 5.1 gb iOS 8 going to remain on my computer or it will be deleted after the update is done?

iOS software updates are stored in ~/Library/iTunes. If it remains there after the upgrade you can easily delete it yourself.


Preview Version 8.0 (859.21) How to extract images from PDF I have found that there was an option to extract images from PDFs via "Save to iPhoto" option of Preview.

Unfortunately, I don't see this option in Version 8.0 (859.21).

Is there still an option to export images from this Version of Preview? Any other ways native to Yosemite?

scrshot of Preview Print Options

thanks

File > Export... can save any Preview-compatible file in any other Preview-compatible file format. Save your PDF as a picture file, such as JPEG or PNG, and then open that file and crop it until it's just the image you want.


Is it possible to hook automator to the "before download" event in Safari? I find that I desperately NEED Safari to ask me where I would like something saved (and allow me to rename it) (you know.. a Save As dialog) before it is downloaded - on an individual, download by download basis.  This MUST be the default action for downloading a file; Modifier keys and right-clicks are unacceptable.

Safari does not appear to have this option available to me.

So, I am open to suggestions.  Is there a way to do this with Automator?  Is there a file system trick to accomplish this?  Safari Extension?  Anything?

Perhaps an http/s proxy program that accomplishes this?

You can hold down the control key or click with your right mouse button and select save as...
But I must admit that doesn't work always because some downloads aren't clicked on.
I personally dislike this solution because you have to click more ( but save as already gives you more to click then needed in my opinion ;) )

You can do this with this workaround using automator:

  Open the Automator tool
  Create a new "Folder Action" type document.
  Assign the Folder Action to the Downloads folder.
  Add these actions (in order): Move Finder Items, Reveal Finder Items,
  Name Single Item.
  Set the "Move Finder Items" action to use the Downloads folder as it's
  default (or whichever folder you are most likely to move things to - I
  use Downloads because most of the time I'm moving files into an
  archive structure and want it to be easy to skip this process by just
  hitting Return and leaving the file in Downloads when I don't do
  that.)
  Open the options for the "Move Finder Items" action and tick the
  checkbox for "Show this action when the workflow runs."
  Open the options for the "Name Single Item" action and tick the
  checkbox for "Show this action when the workflow runs."

As quoted from: https://superuser.com/questions/201298/to-prompt-a-folder-location-when-safari-downloads-a-file


iCloud Mail has stopped working on all devices including web interface My iCloud email has stopped working on all my devices including the iCloud web interface. I can log in fine, and all other aspects of iCloud are working well.

I've tried signing in and out on both mac and iPhone, and changed my password to see if that would reset things, but none of it has fixed the problem. My gmail account is functioning just fine, so I don't think it is just an issue with the Mail app either.

Any ideas what could be causing it? I use iCloud for my main work email so I'm really keen to fix it asap.

There were iCloud Mail issues today and you were probably in the group that was affected.

When issues with any Apple service occur, the first place you should check is Apple's System Status page.

From the screenshot below, you can see they've resolved two issues affecting users with Mail.

You can try again and see if your problem is resolved.


Is there a way to get gnome-terminal on Lion? Is there a port of gnome-terminal, or a way to compile it, or some other program that is typographically comparable, under Lion?

There is a typographic difference, and I can't duplicate it in Terminal; I can't even get Terminal to serve up anti-aliased text.

The easiest way to install Gnome Terminal would be to use MacPorts. Once MacPorts is installed, run sudo port install gnome-terminal.

HomeBrew is a newer alternative to MacPorts that is growing in popularity, but Gnome Terminal isn't available in the base repository yet.


How am I supposed to register my company on the Apple Store? Am I? I need to buy an iMac for my company. Both me and my company are located in Italy.

I've noticed that on my personal account it doesn't let me enter my full company details (in particular the VAT number), so I guess I have to register a company account.

I've noticed there is supposedly a "business site", but when I try to register a new account it brings me back to the normal site where I enter personal data, without company name, VAT n. etc.

So, what am I supposed to do to buy something for my company, receiving a proper invoice?

You need to go to: https://ecommerce.apple.com to register as company and buy for company.


Mac connects to anonymous wireless networks randomly I have my own router and it has a strong signal full bars, but sometimes when I leave my macbook for a time and come back I notice that it connects other random anonymous wireless networks.

how can I disable it, so it only connects to my router?

Go to System Preferences > Network > Wifi
Click on Advanced
Remove the preferred networks from the list by using - button


My favorite edit button of safari is missing Click on the Side bar icon in the upper left corner of Safari.
Select the bookmarks icon.
Open the Favorites section by clicking on the arrow.
Click Edit.

Where is the "EDIT" button?

Help me please!

You may be a victim of Apple changing functionality of Safari features. Something they do all the damn time. Which can be frustrating when you are used to that functionality. Trying to figure out why Apple does something like this is an exercise in frustration. However...

You can edit your Bookmarks/Favorites under the Bookmarks menu option "Edit Bookmarks"


How do you disable the autofocus of a Razer Kiyo webcam on Mac? The Razer Kiyo is not officially supported on Mac, but works anyway. Problem is: autofocus is not convenient, with the camera often jumping in and out of focus. Is there a way to disable it?

This thread How do you disable the autofocus of a webcam in OS X?
, on SuperUser, had a similar question, but the answers did not help.
The only way I found to work requires access to a computer running Windows and is this:

Connect the webcam to a computer running Windows. I did this in Bootcamp.
Windows will detect the webcam and then offer to install Razer Synapse.
Install Razer Synapse (it has an option to sign in as Guest to avoid being forced into creating an account.)
In Synapse, find the Kiyo and open its advanced settings, then:

Disable autofocus (tick off the 'auto' checkbox.)
Set the focus value by hand. A value around 190 seems to do it.
Apply the settings.

The new settings are saved into the webcam itself, so they'll work in macOS. Reboot into macOS.
(Between four Windows updates, installing and testing, this took me fifty minutes. Sigh. But you might have better luck.)
Some websites recommend using OBS to do this, but:

In Windows, it'll offer the exact same configuration modal as Synapse;
In macOS, OBS will not offer any configuration modal.

EDIT: Webcam Settings ($7.99) did work for me on Mac.


Possible to Hide Mac Partition When in Windows? I've found out that if I install Windows 7 and use the Snow Leopard Boot Camp drivers (Which I need for the graphics chipset drivers.), the Mac partition appears and is read-only. I'm quite concerned about this, because if my Windows partition is infected with malware, it could be a possibility that the hackers could take data from my Mac partition, even if it was read-only.

Is there any way to turn off Mac partition support while booted in Windows?

I'm not a windows guy, so the steps are probably different but this SuperUser question asks how to disable a partition under Windows XP. The steps may be similar under Windows 7:

  You could remove the drive letter
  assignment for the specific
  partition(s):

  Go to Control Panel > Administrative Tools > Computer
  Management
  Expand Computer Management (Local) > Storage > Disk Management
  Right click the specific partition you like to hide and select "Change
  Drive Letter and Paths"
  Select the drive letter shown, click "Remove" and click "OK"


How do you set the iPhone to play music/audio while asleep? Is it possible to set the iPhone to play music/audio while asleep? If so, how do you configure it?

EDIT:

I don't mean locking the phone or turning the screen off. When I play an audio file (for instance, http://m.insightforliving.ca/current-broadcast) and the phone goes to sleep (I think it's called deep sleep), the audio stops playing. Is there a way of setting it up in iPhone that the audio keeps playing even in deep sleep?

EDIT:
In this case it sounds like we want to disable auto-lock. This can be done by opening Settings.app, going to General, then scrolling down to "Auto-Lock". Set this to "Never".

It is possible use the speakers on iPhone to play even when the device is locked. This is possible by:

Opening Music.app
Select song/album/playlist
Lock the device. The music will continue to play.

You can also double tap the home button when the device is locked to show play/pause controls for the last-played music.

Also, other apps continue to play when the device is locked such as Voice Memos.

Note: all audio will shut off when the phone is powered off.


How does the sudo key symbol work? I'm trying to write a script that requests the user password for some sudo-related commands. My goal is to emulate the default method that OS X uses to obtain the user's password, Password: followed by a key-like symbol, as seen in the screenshot attached below:

I tried the answer from How to get a password from a shell script without echoing over on Stack Overflow that uses read -s, but that results in Password: without the key symbol when run from a script, but displays the symbol when run from the Terminal itself . What is this key symbol, and can I find it under the Characters menu?

I get the key symbol when running read -s in Terminal.

As this seems to work the same for read -s as for sudo, I assume this is a feature of Terminal (to display a key symbol whenever input is requested in silent/hidden mode).


iPhone can't access internet/iMessage My wife's iPhone 5 is exhibiting strange behavior:

It isn't receiving iMessages.
It can't access the internet.
It can send texts, but they come across as plain SMS instead of iMessage.

I'm sitting next to her with an identical phone on the same plan, and mine is working perfectly.

What's causing this?  (Or, what should I google to find more information?  My searches so far have proven fruitless.)

Try rebooting the phone by holding both buttons simultaneously until the Apple logo appears.

Restarting iOS will fix a lot of problems (as does restarting any computer) and should usually be tried as a first resort.


No Keys Repeating on New MacBook Pro After Changing Key Repeat Speed I just opened my new Retina Display MacBook Pro and everything worked fine, but when I tried to go into System Preferences to make the key repeat speed faster, none of the keys repeated, not even numbers and symbols.

If I type defaults write -g ApplePressAndHoldEnabled -bool false into terminal, it works, but it disables the accented key popup when holding down keys such as A and E, which I use often.

This worked perfectly on my old 2009 MacBook Pro that was running 10.7.4.  I have restarted this computer and reset the key repeat speed, but have still had no luck.  Any help would be greatly appreciated.

It probably wouldn't help, but you could try changing the keys directly in ~/Library/Preferences/.GlobalPreferences.plist or ~/Library/Preferences/ByHost/.GlobalPreferences.*.plist.

defaults write -g KeyRepeat -int 2
defaults write -g InitialKeyRepeat -int 15
defaults -currentHost write -g KeyRepeat -int 2
defaults -currentHost write -g InitialKeyRepeat -int 15

2 and 15 are the fastest settings shown in System Preferences. The changes aren't applied until you log out and back in.

The file in the ByHost folder doesn't normally have keys for the settings, but it has precedence over the normal .GlobalPreferences.plist.

You can remove the keys with the delete subcommand:

defaults delete -g KeyRepeat
defaults delete -g InitialKeyRepeat
defaults -currentHost delete -g KeyRepeat
defaults -currentHost delete -g InitialKeyRepeat


I can not login to mac book pro When i turn on my MacBook and select user and then enter password , it does not accept my password, after 3 or 4 times entering password it works, i do know how to solve this problem.

This is a very strange issue. However check for the default keyboard, and also try changing your password to just numbers. That way you can confirm if its something to do with the keyboard language.

However, its better to create a new user account and confirm. If you have the issue take it to an AppleStore or just try to reinstall the OS on top. That way it will fix if there are any issues due to a malware.


I have a MacBook (2008) that sleeps as soon as you put in a battery This MacBook runs perfectly without a battery. Putting in a genuine new and aa genuine used battery does the same thing. The screen goes dark, you can still see the screen for a second and then it's asleep.

Taking the battery out doesn't work after that. To reboot, the battery must come out. ONCE using the old battery that came with it (not the two I've been talking about), it booted up to a gray window with a thermometer bar as if it was waking from sleep. Then it died.

This is a fresh install of ML, so it's not software related. I tested both batteries in another macbook and they both are charged up.

Had similar problem, so took it to Genius Bar for investigation. Turned out to be the battery charger sensor module, which is built into the battery level indicator on the side of the Macbook (the 5 green light thing). It was malfunctioning, basically telling the Macbook that any battery was dead, even if the battery was good. YMMV.