Archive for the ‘MacBook’ Category
Posted by jpluimers on 2014/03/25
As a follow up on my recent rsync on ESXi 5.1 post, as – when rsync in ESXi terminates the hard way because of a lost SSH connection – rsync can leave “hidden” files behind.
A small script that recursively shows the hidden files (those starting with a dot) starting from the current directory:
find . -iname ".*"
More of those (including deleting them, filtering for only files or only directories, etc) are at Linux / UNIX: Bash Find And Delete All Hidden Files Directories.
Note: don’t try to outsmart using something like piping through grep "\/\." as that will also match files who’s parent directories are hidden.
–jeroen
via:
Posted in *nix, Apple, bash, Development, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, VMware, VMware ESXi | Tagged: hidden files, rsync | Leave a Comment »
Posted by jpluimers on 2014/03/24
Blast from the past, and happy I found back the original blog that pointed me to this: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.
A long while ago, I helped out a friend with a HDD that was partially working. He neede the bits of a file that had become unreadable by regular means.
dd to the rescue: it takes a lot longer, but gets the job done eventually. Eventually can be T+eternity.
Note that you always should copy such a file to another drive, like described in the above blog.
Something like this (the parameters are explained at the dd man page):
dd if=/mounting-path/directory-path/damaged.mp4 of=resurrected.mp4 conv=noerror,sync
Usually for creating disk images, dd works on *n*x, Mac OS X, Windows with for instance Cygwin, ESXi, etc.
See also: linux – Rescuing a hdd with bad sectors: dd vs gddrescue – Super User.
–jeroen
via: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.
Posted in *nix, Apple, Cygwin, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, SuSE Linux, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2014/03/24
Just had this occur on my machine: iTunes kept popping up like very 30 seconds (also resuming the radio channel I was listening to before), while I was watching some YouTube archived web casts.
After reading itunes keeps opening on its own: Apple Support Communities, I new what could cause it:
I remember bringing another set of headphones (the final Sennheiser from a bunch I bought a long while back also had diminished its sound volume by more than 70%).
The contact plug had been in the air for a while, so the connector had built up some thin corrosion on it making the connection flaky. Cleaning the plug fixed it.
Apparently, that simulates signals which your Mac uses to detect if your headset has a remote control on it, then automagically starts iTunes for you.
–jeroen
via: itunes keeps opening on its own: Apple Support Communities.
PS: Researching this issue I found how somebody modded his headset cable to allow for a good Mic/Headphone combination.
If your jack has gotten dirty on the inside, follow these steps to clean it.
And yeas, I know that liquids usually make corrosion go much faster, so be careful taking your device for a run.
Posted in Apple, Mac, MacBook, MacBook Retina, Power User | Leave a Comment »
Posted by jpluimers on 2014/03/06

Consolidation of HDD manufacturers (image from WikiMedia)
Earlier this year I wrote about Accessing Mac Hard Drives from Windows 7/8: Boot Camp Support Software 5.0.5033 and mentioned that there are also a few solutions for writing NTFS volumes from Mac OS X.
Thanks to dhardy03, I learned that Seagate now provides NTFS drivers for Mac OS X for Free. The installer name indicates it is an OEM version of the Paragon NTFS drivers for Mac OS X.
I’m not sure yet if it works only on Seagate drives, but since the only other HDD manufacturers left are Toshiba and Western Digital (Toshiba is a much smaller HDD manufacturer than WD and SD), it is a substantial part of the market.
I might try NTFS-3G as well, but that hasn’t been updated for a while and has been replaced by the commercial Tuxera product.
–jeroen
via:
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Uncategorized | Tagged: HDD, NTFS, Paragon NTFS | Leave a Comment »
Posted by jpluimers on 2014/03/04
Interesting commands around networksetup -setairportpower en0 : power off and on your WiFi.
–jeroen
via: [Wayback/Archive] Quick Tip: Automating your Mac’s wifi power – BrettTerpstra.com.
Posted in Apple, Hardware, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Network-and-equipment, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, WiFi | Leave a Comment »
Posted by jpluimers on 2014/02/25
Posted in Apple, Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.9 Mavericks, Power User, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | 3 Comments »
Posted by jpluimers on 2014/02/24
Last week, Apple fixed the so called #gotofail bug for iOS devices. Other devices (Macs with OS X 10.9 Mavericks, maybe earlier versions and I also suspect Apple TV to be vulnerable) will follow soon.
I thought that Old iOS devices would be in the dark as the updates are for iOS 6.x and 7.x only. So any device that can only run on iOS 5 or lower might not be supported.
So I thought these devices would be unsupported, but found out an iPad 1st generation would pass the gotofail.com test.
So if you have any of these, please let me know if they fail or pass:
- iPhone 3 or earlier,
- iPod Touch 3rd generation or earlier,
- iPad 1st generation: passes.
Please watch any security announcements carefully with using Apple equipment, as the bug can highly facilitate a man-in-the-middle attack.
Some other site with background information (it hit the news wildly): Read the rest of this entry »
Posted in Apple, Development, iOS, iPad, iPhone, iPod, iPod touch, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.9 Mavericks, Power User, Software Development | 1 Comment »