Wikipedia

2014年6月16日 星期一

lab39

網站現在我覺得有比以前好很多了,在首頁看得到大的動態時報還蠻不錯的
分類也還不錯  可是我覺得可以放一下電子系要求的學分數 ,核心系選有開哪些課等等這樣在校生有些不知道的時候可以找一下

lab38

                                                                          no proxy

proxy cycu







lab37



2014年4月28日 星期一

lab20

(Common Gateway Interface/CGI)是一種重要的網際網路技術,可以讓一個客戶端,從網頁瀏覽器向執行在網路伺服器上的程序請求數據。CGI描述了客戶端和伺服器程序之間傳輸數據的一種標準。



   
<html>
<body>


<form name="search" action="http://maps.google.com/maps" method="get"    onsubmit="return check()">
search:<input type="text" name="q"  value=""><br>
<input type="submit" value="search"id="exampleForm">

<script>


function check(){
  var floatReg = /^[-|+]*[\d]*[.|\d][\d]*[,][-|+]*[\d]*[.|\d][\d]*$/;

  if(!floatReg.test(search.q.value)){
  alert("錯誤");
  search.q.value="";
  document .search.q.focus();
 
  return false;
 }
}
  </script>

</body>
</html> 
search:

lab19

   
<html>
<body>


<form name="find" action="http://google.com/search" method="get">
find:<input type="text" name="q"  value=""><br>
<input type="submit" value="search">


</body>
</html> find:

lab18

   
<html>
<body>


<img onmouseover ="src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZtzo1M7Z6u8SBx_DaiLqVs7bqGc8rYlmdMkvQARpUeHreUexwDFlAXNnlCjkn9NuUh1qr89PmUqxPH4FTItVWe__fwdsmFXodGUIksnV3lq2HPmCXVHaerXEh16bkx7Tahd5eSag1luA/s1600/%25E8%2580%2581%25E8%2599%258E.jpg'"
 onmouseout = "src='http://i.imgur.com/yfrb2.jpg'"
src="http://i.imgur.com/yfrb2.jpg"
width="304" height="228">



</script>
</body>
</html>







2014年4月16日 星期三

lab17

第1張



第2張



第3張

lab16

<<!DOCTYPE html>
<html> <head> <title>lab16</title> <script> function mOver(obj){ obj.setAttribute("src","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZtzo1M7Z6u8SBx_DaiLqVs7bqGc8rYlmdMkvQARpUeHreUexwDFlAXNnlCjkn9NuUh1qr89PmUqxPH4FTItVWe__fwdsmFXodGUIksnV3lq2HPmCXVHaerXEh16bkx7Tahd5eSag1luA/s1600/%25E8%2580%2581%25E8%2599%258E.jpg"); } function mOut(obj){ obj.setAttribute("src","http://i.imgur.com/yfrb2.jpg"); } </script> </head> <body> <img border="0" src="http://pic1a.nipic.com/2008-09-11/2008911104157434_2.jpg" width="500" height="500" onmouseover="mOver(this)" onmouseout="mOut(this)"> </body> </html> https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZtzo1M7Z6u8SBx_DaiLqVs7bqGc8rYlmdMkvQARpUeHreUexwDFlAXNnlCjkn9NuUh1qr89PmUqxPH4FTItVWe__fwdsmFXodGUIksnV3lq2HPmCXVHaerXEh16bkx7Tahd5eSag1luA/s1600/%25E8%2580%2581%25E8%2599%258E.jpg phillysportslive.com
< lab16

lab15

<html> <body>
<button onclick="buildTable()">Try it</button> <script> function buildTable(){ docBody = document.getElementsByTagName("body").item(0) myTable = document.createElement("TABLE") myTable.id ="TableOne" myTable.border = 1 myTableBody = document.createElement("TBODY") for (i = 1; i <=9; i++){ row = document.createElement("TR") for (j = 1; j <=9; j++){ cell = document.createElement("TD") cell.setAttribute("WIDTH","50") cell.setAttribute("HEIGHT","50") textVal = i + "*" + j+"="+i*j textNode = document.createTextNode(textVal) cell.appendChild(textNode) row.appendChild(cell) } myTableBody.appendChild(row) } myTable.appendChild(myTableBody) docBody.appendChild(myTable) }
</script> </head> <body> </body> </html>






2014年4月7日 星期一

lab14

<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<input type="button" onclick="build()" text="click">
<title>lab14</title>
<script>
function build()
{
myImg=document.createElement("IMG")
myImg.setAttribute("id","imageOne")
myImg.setAttribute("src","http://airsnarf.shmoo.com/airsnarf.jpg")
docBody=document.getElementsByTagName("body").item(0)
docBody.appendChild(myImg)
}
</script>
</head>
<body>
<br>
</body>
</html>






lab14

2014年3月17日 星期一

LAB13

<html>

  <head>
  </head>
  <body id="body">
 <form action="javascript:void(0);" id="exampleForm">
 <input id="examplePass" type="text" />
 <input type="submit" />
 </form>
</body>
 <script>


document.getElementById("exampleForm").onsubmit =function() {
  var passwordRegex = /^[\d]*[.]*[\d]*[.]*[\d]*[.]*[\d]|*\w{1,}*[.]*\w{1,}*[.]*\w{1,}*[.]*(\w{1,})$/;

  if(!passwordRegex.test(document.getElementById("examplePass").value)){
  console.log("Regex didn't match");
   var notify = document.getElementById("notify");
   if (notify === null){
   notify = document.createElement("p");
   notify.textContent = "not 正確的。"
   notify.id = "notify";
 
   var body = document.getElementById("body");
   body.appendChild(notify);
   }
  }
 };

  </script>
</html>



lab 12



<html>
<title>lab12</title>
<body>
<form action="http://maps.google.com/maps" method="get" name="f" onsubmit="return check()">
<input name="q" type="text"  /><br />
<input name="send" type="submit" value="search" />
</form>
</body>
<script>


document.getElementById("exampleForm").onsubmit =function() {
  var passwordRegex = /^[-|+]*[\d]*[.|\d][\d]*[,][-|+]*[\d]*[.|\d][\d]*$/;

  if(!passwordRegex.test(document.getElementById("examplePass").value)){
  console.log("Regex didn't match");
   var notify = document.getElementById("notify");
   if (notify === null){
   notify = document.createElement("p");
   notify.textContent = "not 正確的。"
   notify.id = "notify";
 
   var body = document.getElementById("body");
   body.appendChild(notify);
   }
  }
 };

  </script>
</html>

lab11



<html>

<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="text" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>

document.getElementById("exampleForm").onsubmit =function() {
  var passwordRegex = /^[-|+]*[\d]*[.|\d][\d]*[,][-|+]*[\d]*[.|\d][\d]*$/;

  if(!passwordRegex.test(document.getElementById("examplePass").value)){
  console.log("Regex didn't match");
   var notify = document.getElementById("notify");
   if (notify === null){
   notify = document.createElement("p");
   notify.textContent = "not 整數 or 小數   逗號  整數或小數。"
   notify.id = "notify";
 
   var body = document.getElementById("body");
   body.appendChild(notify);
   }
  }
 };

  </script>
</html>

lab10


<html>

<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>

document.getElementById("exampleForm").onsubmit =function() {
  var passwordRegex = /^[-|+]*[\d]*[.][\d]*$/;

  if(!passwordRegex.test(document.getElementById("examplePass").value)){
  console.log("Regex didn't match");
   var notify = document.getElementById("notify");
   if (notify === null){
   notify = document.createElement("p");
   notify.textContent = "not 整數 or 小數。"
   notify.id = "notify";
 
   var body = document.getElementById("body");
   body.appendChild(notify);
   }
  }
 };

  </script>
</html>


2014年3月10日 星期一

Lab 8 Using browsers for programming II



<html>
    <head>
    </head>
 <body id="body">
    <form action="javascript:void(0);" id="exampleForm">
   <input type="password" id="examplePass" />
<input type="submit" />
    </form>
</body>
<script>

document.getElementById("exampleForm").onsubmit = function() {
    //R


var passwordRegex = /^[\D]+[\W_]+[A-Za-z\d]{4,}$/;



if(!passwordRegex.test(document.getElementById("examplePass").value)){
     console.log("Regex didn't match");
 var notify = document.getElementById("notify");
 if(notify === null) {
    notify = document.createElement("p");
notify.textContent = "Passwords need to >= 6 characters long and  a 小寫英文與非字母 排序第一個為字母第二個為符號."
notify.id = "notify";

var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
    </script>
</html>

Lab 9 使用Google Docs 下OX 棋


Lab 7 Using browsers for programming



<html>
    <head>
    </head>
 <body id="body">
    <form action="javascript:void(0);" id="exampleForm">
   <input type="password" id="examplePass" />
<input type="submit" />
    </form>
</body>
<script>

document.getElementById("exampleForm").onsubmit = function() {
    //R


var passwordRegex = /^[A-Za-z\d]{6,}$/;



if(!passwordRegex.test(document.getElementById("examplePass").value)){
     console.log("Regex didn't match");
 var notify = document.getElementById("notify");
 if(notify === null) {
    notify = document.createElement("p");
notify.textContent = "Passwords need to be between 6 and 8 characters long and consist of uppercase characters,lowercase characters, and digits only."
notify.id = "notify";

var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
    </script>
</html>

2014年3月9日 星期日

homework Amy Cuddy: Your body language shapes who you are

今天我看的是"Amy Cuddy: Your body language shapes who you are" 在她的演講之中我覺得最重要的就是"Fake it 'til you become it" 假裝你是直到你真的是。當你成績很差可是很努力考上一間很好的學校的時候,你可能會覺得我不配在這間學校, 但是就算這樣想也要"假裝"你真的在這間學校你很有power很有能力。持續的做直到她化到你骨子裡。 很小的動作也可能會影響你的一生,在面試等等之前做一個假裝你很有權勢的動作兩分鐘,或許在你面試當中你會真的變成那樣。 現在之後我想每天做一次她提供的意見。"tiny tweaks>big change" 小調整 大改變, 這句真的可能會改變你得一生

2014年3月3日 星期一

lab5

Using Chrome

cycu前3名: 1.http://s10026205.blogspot.tw/2014/03/using-chrome.html 2 m13.jpg 3 m10.jpg youtube前3名: 1engagement_wizard_ajax?feature=ew 2 mq1.jpg 3.photo.jpg udacity前3名: 1.seg?add=789705&t=2 2.fonts.css 3/pxj?bidder=172&seg=8027

破解網路大學排名DIY

網頁數 google yahoo score cycu(中原) (1,320,000+79,500) = 279900 yzu(元智) (1,030,000+61,000) = 218200 ccu(中正) (1,430,000+91,500) = 304300 ntu(台大) (31,500,000+528,000) = 6405600 link cycu 5,033 = 2516.5 yzu 4208 = 2104 ccu 9858 = 4929 ntu 32664 = 16332 檔案數 cycu filetype:pdf 16,200 = 2430 yzu filetype:pdf 14,000 =2800 ccu filetype:pdf 29,500 =5900 ntu filetype:pdf 427,000 =85400 Google Scholar cycu 11400 =1710 yzu 2210 =331.5 ccu 9530 =1429.5 ntu 266000 =39900 summary cycu 279900+2516.5+2430+1710 =286556.5 yzu 278200+2104+2800+331.5 =283435.5 ccu 304300+4929+5900+1429.5 =316558.5 ntu 6405600+85400+39900+16332=6547232 so ntu>ccu>cycu>yzu