post

How to show hidden files and folders in mac

To enable hidden files/folders in finder windows:

1.Open Finder
2.Open the Utilities folder
3.Open a terminal window
4.Copy and paste the following line in:

defaults write com.apple.Finder AppleShowAllFiles YES

5.Press return
6.Now hold ‘alt’ on the keyboard and right click on the Finder icon
7.Click on Relaunch

You should find you will now be able to see any hidden files or folders. One you are done, perform the steps above however, replace the terminal command in step 4 with:

defaults write com.apple.Finder AppleShowAllFiles NO

post

Embed iPhone Friendly Videos on your Website

It is pretty easy to embed an iPhone-optimized video in any website you are designing. Which can be a nice flourish to welcome the growing hordes of iPhone users who might be visiting your site soon.

All video format is not playing in iPhone or iPad. The most commonly used format is m4v and it is lightweight too. You have to convert your video into m4v format and then have to write a little chunk of html5, yes HTML5 code.

The code snippet is:

Don’t forget to start your html with . You also an use a poster using poster attribute and autoload option. Try html5 video in w3schools.com

Now, how you can convert into m4v:

  • Play your video in QuickTime Player
  • Go to File > Export for web

  • Select your choice

  • Then you will get your required m4v file

It’s interesting, isn’t it? This video will also play in iPad.