The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘MacBook’ Category

*nix: recursively listing “hidden” files from the current directory

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: , | Leave a Comment »

How to copy a file with I/O errors? (via: Not a complete failure » Blog Archive)

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 »

itunes keeps opening on its own (via: Apple Support Communities)

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 »

Apple Tips: Setting-up a new Mac from an old one or its Backups Transferring files from one User Account to another

Posted by jpluimers on 2014/03/24

Time consuming, but works:

Apple Tips: Setting-up a new Mac from an old one or its Backups Transferring files from one User Account to another.

–jeroen

Posted in Apple, 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, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

TheBookYard : UK Apple spare parts specialist

Posted by jpluimers on 2014/03/16

Interesting: TheBookYard : UK Apple spare parts specialist.

via: Macbook white thingy below keyboard button is broken – Ask Different.

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Power User | Leave a Comment »

NTFS Driver for Mac OS | Seagate

Posted by jpluimers on 2014/03/06

Consolidation of HDD manufacturers (image from WikiMedia)

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: , , | Leave a Comment »

Quick Tip: Automating your Mac’s wifi power (on off through script) via: BrettTerpstra.com

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 »

4K / UHD televisions are getting quite cheap. $500 for 39″ (via: Jean-Luc Aufranc – Google+)

Posted by jpluimers on 2014/02/26

Jean-Luc Aufranc – Google+ – 4K / UHD televisions are getting quite cheap. $500 for 39″,….

Interesting as a Retina MacBook Pro should be able to drive 4K displays.

–jeroen

Posted in Apple, Mac, MacBook, MacBook Retina, MacBook-Pro, Power User | Leave a Comment »

The OS X 10.9.2 (Mavericks) fix for the SSL issue is out; Apple’s #gotofail weekend – Ashkan Soltani.

Posted by jpluimers on 2014/02/25

As a follow up of When using Apple Hardware, be prepared for security updates. iOS already there, OS X and others will follow. #gotofail:

This is a must read: Apple’s #gotofail weekend – Ashkan Soltani, and cortesi – Exploiting CVE-2014-1266 with mitmproxy.

especially since the OS X Mavericks fix is out:

–jeroen

via Norbert Rittel and Kristian Köhntopp.

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 »

When using Apple Hardware, be prepared for security updates. iOS already there, OS X and others will follow. #gotofail

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 »