Posts

Showing posts from July, 2012

HTML Try It Editor

A simple HTML WYSWYG Try it Editor. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML>  <HEAD>   <TITLE> My Try It Editor </TITLE>   <script>  function change(){   document.getElementById("output").innerHTML=document.getElementById("input").value;  }   </script>  </HEAD>  <BODY>   <Table>   <caption>Try type something in html format on the left side pane and see the out put in the right side pane</caption>    <tbody>   <tr>    <td width="50%" align="left">    <textarea cols="50" rows="30" id="input" onkeyup="change()">     <html>      <body>      Type your html content here..      </body>     </html>   ...

SVN File Creation Date

SVN Find File creation date. @echo off  REM Thi batch files iterates over svn to print first verison of files REM that is exactly when a file is added into svn set file=%1 if [%file%] == [] (   echo Usage: "%0 <file>"   exit /b ) rem first revision as full text for /F "tokens=1" %%R in ('" svn ls -R %file%"') do ( IF NOT EXIST %%R\NUL (                 @echo %%R                 svn log -r 1:HEAD -l 1 %%R  -q                 ) )