Posts

Showing posts from August, 2013

[HTML5] HTML5 Quick Start Guide

Image
Introduction HTML5 is the fifth revision and the newest version of the HTML standards. Previous version (HTML 4.01) was released in 1999. In 2006, WHATWG (Web Hypertext Application Technology Working Group) & W3C (World Wide Web Consortium) came together to define the new version of HTML. Earlier, WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. They discussed and layed out HTML Design Principles . They were addressed towards better experience for user and easy adoption for developer which would be independant of device and plugins with a graceful fallback mechanism. HTML5 specifications were finalized on 17th December 2012 last year. Tools HTML5 is still a work in progress. Browsers are implementing HTML5 specifications as per their individual plans, thus we have various level of support on different browsers. In order to know what features are supported by a particular ...

[Windows] Script to remove spaces from filenames

This is the code for removing spaces from filenames. @echo off setlocal disableDelayedExpansion if /i "%~1"=="/R" (   set "forOption=%~1 %2"   set "inPath=" ) else (   set "forOption="   if "%~1" neq "" (set "inPath=%~1\") else set "inPath=" ) for %forOption% %%F in ("%inPath%* *") do (   if /i "%~f0" neq "%%~fF" (     set "folder=%%~dpF"     set "file=%%~nxF"     setlocal enableDelayedExpansion     echo ren "!folder!!file!" "!file: =!"     ren "!folder!!file!" "!file: =!"     endlocal   ) ) Copy the above code into a notepad file and save it as .bat extension in the same directory where you want to run the command.