Sunday, June 16, 2013

U S open today

Never saw a court so difficult such as merion. No one ever broke even. Justin Rose won with +1.  Tiger at +13, if I remember it right.


Sent from my Verizon Wireless 4G LTE Smartphone

Monday, June 10, 2013

哀大莫過於心死

哀大莫過於心死。 舉個例, 我的上司(華裔,較年長, 女的)叫我們提供一兩個改善效率的建議。好,我準備的PowerPoint還算圖文並茂,口頭的報告也還可以。本以爲還會要繳交執行方案。没想到後來變成我們改蓋“新的”核發印章。  結案。改善效率個頭。浪費我的時間。


Tuesday, June 4, 2013

Thursday, May 16, 2013

Problemas with exporting

1. Numbers are not recognized well. 5would become s. 6 would become b. 0 would become o
2. A space is inserted before the decimal point 
3. The 1of at the end of the number would get cut off, and carried over to the following number, causing the following number to be invalid.

Pdf text recognition & export again

It turned out that  I needed to export to docx and xlsx and see which out turned out better. Or i have to filter the data between excel and word.  This is for the contract: consumable parts for all city-owned v.


Sent from my Verizon Wireless 4G LTE Smartphone

PDF:Text Recognition + Export

It is that simple when it comes to grabbing information through a pdf file.





Tuesday, March 12, 2013

THE LATEST

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=windows-1252">
    <meta charset="UTF-8">
<title>Open Projects1</title>
<script language="JavaScript">

function ChangeItemAEvent1()
{
  document.getElementById("google").onmouseover = function() {

    document.getElementById("google").style.background = "white";
  document.getElementById("google").style.color = "blue";
  };
   }

function google1(){
        window.open("http://google.com/");
                  }
function sfgov1(){
        window.open("http://sfgov.org/");
                  }
function OCA1(){
        window.open("http://sfgov.org/oca/");
                  }        
function chap211(){
        window.open("http://www.amlegal.com/nxt/gateway.dll/California/administrative/administrativecode?f=templates$fn=default.htm$3.0$vid=amlegal:sanfrancisco_ca$sync=1");
                  }        
function account1(){
        window.open("http://sfcontroller.org/index.aspx?page=452");
                  }        
function phone1(){
        window.open("http://mission.sfgov.org/IntranetDirectory/#");
                  }        
function dox1(){
        window.open("http://mission.sfgov.org/doccenter/");
                  }
function csc1(){
        window.open("http://www.sfgov3.org/index.aspx?page=263");
                  }
function cmd1(){
        window.open("http://sfgsa.org/index.aspx?page=5356");
                  }


//password required group
       
function EIS1(){
window.open("http://budget.sfgov.org/cognos10/cgi-bin/cognosisapi.dll?b_action=xts.run&m=portal/cc.xts&m_folder=iE1B6654D9698474CBF316F6A921B9971");
                  }        

function famisweb1(){
        window.open("http://famisweb/FAMISWEB/");
                  }

function OCA2(){
        window.open("http://www.sfgsa.org/admin/login.aspx");
                  }        

function bid1(){
        window.open("http://mission.sfgov.org/OCABidMaintenance/");
                  }        

</script>

</HEAD>

<BODY>

<!-- first table to show lucky number header -->

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 >
<TR HEIGHT=10 >
<TD WIDTH=196  ALIGN=LEFT > <BR></TD><TD WIDTH=777  ALIGN=left  BGCOLOR=#FFFFFF ><B><FONT style=FONT-SIZE:28pt FACE="Cambria" COLOR=#1f0000> Today's Mega Number:</FONT></B></TD>
</TR>
</TABLE>

<!-- 2nd table to show mega number and lucky numbers -->

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 >
<TR HEIGHT=10>
<TD WIDTH=24  ALIGN=LEFT > <BR></TD><TD WIDTH=732  ALIGN=center  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:32pt FACE="Calibri" COLOR=#000000>

<script language="JavaScript">

var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds
var firstDate = new Date("03/01/2013")
var secondDate = new Date()
var diffDays = Math.round(Math.abs((firstDate.getTime() - secondDate.getTime())/(oneDay)))

document.write(diffDays)
</script>
<br />
</FONT></TD>
</TR>
</table>

<!--  lottery numbers start here   -->

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 >
<TR HEIGHT=24 >
<TD WIDTH=196  ALIGN=LEFT > <BR></TD><TD WIDTH=777  ALIGN=left  BGCOLOR=#FFFFFF ><B><FONT style=FONT-SIZE:28pt FACE="Cambria" COLOR=#1f0000>

Other Lucky Numbers:
<script language="JavaScript">

var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds
var firstDate = new Date("03/01/2013")
var secondDate = new Date()
var diffDays = Math.round(Math.abs((firstDate.getTime() - secondDate.getTime())/(oneDay)))

for (i=15; i<=167; i=i+37) {
    num = Math.floor(Math.random()*100);
var lott = (((i-3)*7 + diffDays*5 + num*7 + (i+3)*diffDays*44)%56)+1;
document.write("   -      " + lott);
}

</script>
                 </FONT></B></TD></tr>

<TR HEIGHT=10> <TD WIDTH=196  ALIGN=LEFT > <br></TD> </tr>

</TABLE>


<!-- 3rd table to show today's Date -->

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 >
<TR HEIGHT=14 >
<TD WIDTH=4  ALIGN=LEFT > <BR></TD>

<TD WIDTH=764  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:10pt FACE="Calibri" COLOR=#000000>

<!-- to show today's Date -->

<script language="JavaScript">
var today = new Date()

var month = today.getMonth() + 1
var day = today.getDate()
var year = today.getFullYear()
var s = '/'
document.write("Today\'s date:    "+ month + s + day + s + year)
document.write("<br/>")
</script>
</FONT></TD>
</TR>
</TABLE>


<!-- 4th table, for list of WEBSITE, CONTACT, FOLDERS AND DUE DATES. -->

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 >

  <!--Row 1 Regular Website, no passwords needed-->

<TR HEIGHT=40 >
<TD id="FirstRow" ALIGN=center colspan="5">

<button id="google" style="background-color:lightgreen" onmouseover="ChangeItemAEvent1()"
onclick="google1()">Google</button>
<script language="JavaScript"> document.write("~~~~");</script>

<button style="background-color:lightpink" onclick="sfgov1()">SFGov.org</button>
<script language="JavaScript"> document.write("~~~~");</script>

<button style="background-color:lightblue" onclick="OCA1()">OCA Main</button>
<script language="JavaScript"> document.write("~~~~");</script>  

<button style="background-color:lightpink" onclick="chap211()">Chapter 21</button>
<script language="JavaScript"> document.write("~~~~");</script>  

<button style="background-color:lightgreen" onclick="account1()">Accounting</button>
<script language="JavaScript"> document.write("~~~~");</script>  


<button style="background-color:lightpink" onclick="phone1()">Phone Book</button>
<script language="JavaScript"> document.write("~~~~");</script>  


<button style="background-color:lightblue" onclick="dox1()">Doc Center
</button>

<script language="JavaScript"> document.write("~~~~");</script>  
<button style="background-color:lightpink" onclick="csc1()">CSC - PSC#
</button>
<script language="JavaScript"> document.write("~~~~");</script>  
<button style="background-color:lightgreen" onclick="cmd1()">12B, 14B
</button>
 </TD></tr>

  <!--Row 2   Password protected functional websites-->
<TR HEIGHT=40 >
<TD ALIGN=center colspan="5">
<button style="background-color:lightred" onclick="EIS1()">EIS Portal</button>
<script language="JavaScript"> document.write("xxxxx ");</script>  
<button style="background-color:lightbeige" onclick="famisweb1()">Famis Web</button>
<script language="JavaScript"> document.write("xxxxx ");</script>  


<button style="background-color:lightpurple" onclick="OCA2()">Web Content</button>
<script language="JavaScript"> document.write("xxxxx ");</script>  

<button style="background-color:lightblack" onclick="bid1()">Bid Database
</button>

 
 </TD></tr>

   <!--Row 3 -->

<TR HEIGHT=70 >
<!--contact list starts here. -->

      <!--Row 3 d-1 -->
<TD rowspan="10" WIDTH=220 ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:12pt FACE="Cambria" COLOR=#1f0000>

Galen Leung</br>
Gloria Lucas-Davis</br>
Pamela Olivier</br>
                  </br>
Tony Pastrano</br>
Robert Skellen</br>
      </br>
Tom Croley</br>
Bob Bashaw</br>
      </br>
George Sharpe - Peterson</br>
Don Hildebrandt - Altec</br>
Bob Souza - C.C.</br>
Darron Kendall - Hansel</br>
Gavin Baugh - H.O.W.</br>
Tracy R. Pinkston - GCS</br>
Frank Ginotti - T. Ford</br>
Mike Carter</br>
      </br>
GSA-IT (Neil)</br>
Adpics Helpdesk (Diane)</br>
DTIS Helpdesk (Arlene)</br>


</FONT></TD>
      <!--Row 3 d2,  -->
<TD rowspan="10" WIDTH=300  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:12pt FACE="Cambria" COLOR=#1f0000>

(415) 701-2465</br>
(415) 554-3266</br>
(415) 701-4706</br>
              </br>
(415) 550-4604</br>
(415) 550-4651</br>
      </br>
(415) 273-5032 </br>
(510) 608-6886</br>
      </br>
(510) 393-5307</br>
(530) 219-3373</br>
(408) 869-4706</br>
(707) 396-6482 - cell</br>
(650) 222-4860</br>
(530) 681-1752 - cell</br>
(650) 562-2267</br>
(510) 713-7368</br>
      </br>
(415) 554-6599</br>
(415) 554-7878</br>
(415) 581-3990</br>
</FONT></TD>


      <!--Row 3. d3, r1  padding -->
<TR HEIGHT=25><TD colspan="3" WIDTH=100  ALIGN=LEFT > <BR></TD></tr>


      <!--Row 3 d3 r2,d1  -->
<!--lists start here. -->
<TR HEIGht=25>
<TD WIDTH=350  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:12pt FACE="Cambria" COLOR=#1f0000>  


<ul>

<li><a target="_blank" style="text-decoration: none" href="G:\New Drive Organization\Department Folders\Fleet Team">Fleet Folder</a></li>
<li><a target="_blank" style="text-decoration: none" href="G:\DOCS\Sole Source\2013 Sole Source">Sole Source Folder</a></li>
<li><a target="_blank" style="text-decoration: none" href="G:\New Drive Organization\Term Contracts (THIS IS LIVE NOW)">Term Contract Folder</a></li>
<li><a target="_blank" style="text-decoration: none" href="G:\DOCS\Technology Store 2009\Reports">Tech Store Extract Folder</a></li>
</ul>
</FONT></B></TD>

      <!--Row 3, d3, r2,d2  -->
<TD WIDTH=250  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:12pt
<ul>
<li><a target="_blank" style="text-decoration: none" href="G:\Scans">Scan</a></li>
<li><a target="_blank" style="text-decoration: none" href="G:\DOCS\IT Group\Purchase Orders\ComputerLand\ComputerLand 2013">Computerland 2013</a></li>
<li><a target="_blank" style="text-decoration: none" href="G:\DOCS\IT Group\Purchase Orders\En Pointe\En Pointe 2013">En Pointe 2013</a></li>
<li><a target="_blank" style="text-decoration: none" href="G:\DOCS\IT Group\Purchase Orders\Xtech\Xtech 2013">Xtech 2013</a></li>
</ul>
</FONT></TD>

      <!--Row 3, d3, r2,d3  -->
<TD WIDTH=320  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:12pt FACE="Cambria" COLOR=#1f0000>    
<ul>
        <li><a target="_blank" style="text-decoration: none" href="G:\DOCS        \Jason.Li">Jason's G drive</a></li>
       
        <li><a target="_blank" style="text-decoration: none" href="G:\New Drive         Organization\Department Folders\Fleet Team\Individual Purchaser Folders        \Jason">Jason's Fleet Folder</a></li>

        <li><a target="_blank" style="text-decoration: none" href="H:\">Jason's         H Drive</a></li>
       
        <li><a target="_blank" style="text-decoration: none" href="C:\Users        \JasonLi\Documents">Jason's Documents</a></li>

        <li><a target="_blank" style="text-decoration: none" href="C:\Program         Files (x86)\IBM\Lotus\Notes\">Lotus Notes</a></li>

</ul>
</FONT></B></TD>

</tr>

      <!--Row 3, d3, r3,   padding -->
<TR HEIGHT=10><TD colspan="3" WIDTH=100  ALIGN=LEFT > <BR></TD></tr>



<!-- row 3, d3, r4-5, to show Tech store Req header -->


<TR HEIGHT=25 >

<TD colspan="3"  ALIGN=LEFT  BGCOLOR=#FFFFFF ><B><FONT style=FONT-SIZE:24pt FACE="Cambria" COLOR=#1f00ff>Tech Store Orders Due Date:</FONT></B></TD>
</TR>


<!-- row 3, d3, r4-5, this is to show actual date -->


<TR HEIGHT=72 >

<TD colspan="3"  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:32pt FACE="Calibri" COLOR=#000000>

<script language="JavaScript">
var m_names = new Array("December", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November");
var today = new Date()
var dueDate = today.getDate()
today.setDate(dueDate + 14)
var month = today.getMonth()+1
var day = today.getDate()
var year = today.getFullYear()
var s = '/'
document.write(m_names[month] + " " + day + ", " + year)
</script>
</FONT></TD>
</TR>


<!-- row 3, d3, r6-7 this is to show Vehicle POs header -->


<TR HEIGHT=25 >

<TD colspan="3"  ALIGN=LEFT  BGCOLOR=#FFFFFF ><B><FONT style=FONT-SIZE:24pt FACE="Cambria" COLOR=#1f00ff>

LP Vehicle Orders on Term Contract:</FONT></B></TD>
</TR>


<!-- row 3, d3, r6-7, this is to show actual date -->


<TR HEIGHT=22 >

<TD colspan="3"  ALIGN=LEFT  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:32pt FACE="Calibri" COLOR=#000000>

<script language="JavaScript">
var today = new Date()
var dueDate = today.getDate()
today.setDate(dueDate + 90)

var month = today.getMonth() + 1
var day = today.getDate()
var year = today.getFullYear()
var s = '/'

document.write(month + s + day + s + year)
document.write("<br/>");

</script>

<br />
</FONT></TD>
</TR>

<!-- row 3, d3, r8, this is to show actual date -->
<TR HEIGHT=20 >

<TD colspan="3"  ALIGN=left  BGCOLOR=#FFFFFF ><FONT style=FONT-SIZE:15pt FACE="Calibri" COLOR=#0000ff>

<script language="JavaScript">

document.write("Tire taxes are:");
document.write("<br/>");
document.write("5 -- $8.75");
document.write("<br/>");
document.write("6 -- $10.5");
document.write("<br/>");
document.write("7 -- $12.25");
document.write("<br/>");
document.write("<br/>");
var rate = 1.75
var s = '/'
var t = '$'

for (i=4; i<=8; i=i+1) {
var tax = i*rate;
document.write(t+tax);
}

</script>

<br />
</FONT></TD>
</TR>

</TABLE>

<!-- This is random garbage -->

<script language="JavaScript">

<select name="_ctl0:cp_BODY_CONTENT:NameSearchBody:dl_NAME_SEARCH_AGENCY_NO" id="_ctl0_cp_BODY_CONTENT_NameSearchBody_dl_NAME_SEARCH_AGENCY_NO" style="width:590px;">
                <option selected="selected" value="ALL">All Agencies</option>
                <option value="70">311 Customer Service Center</option>
                <option value="191">Access Appeals Commission</option>
                <option value="13">Adult Probation Department</option>
                <option value="26">Aging and Adult Services, Department of</option>
                <option value="27">Airport (San Francisco  International - SFIA)</option>
                <option value="76">Animal Care and Control</option>
                <option value="28">Arts Commission</option>
                <option value="62">Asian Art Museum</option>
                <option value="1AAB">Assessment Appeals Board</option>
                <option value="2">Assessor-Recorder</option>
                <option value="707">Back Streets Business Advisory Board</option>
                <option value="37">Board of Appeals</option>
                <option value="1">Board of Supervisors</option>
                <option value="19">Building Inspection, Department of</option>
                <option value="60">California Academy of Sciences</option  

</select>


<input type="submit" name="_ctl0:cp_BODY_CONTENT:NameSearchBody:btn_SUBMIT_NAME_SEARCH" value="Submit" id="_ctl0_cp_BODY_CONTENT_NameSearchBody_btn_SUBMIT_NAME_SEARCH" title="Enter your searech arguments above and press to search the directory." style="width:90px;" />
</script>


        <script language="JavaScript">
//timer vars
var startTime;
var timer1:int;
var texture1: GUITexture;
function Update(){TimerStart();}
function TimerStart(){
startTime = Time.time; //time starter
timer1 = Time.time;  //Set time
if(timer1 > 5){ //<-------the number here are the seconds you want
Debug.Log ("Time is over, render texture now");
//Here we just enable a GUI texture on the screen (create a GUItexture and disable it)
texture1.enabled = true;
}
}
        </script>


</BODY>
</HTML>