2009年6月19日 星期五

Lab Web Traffic Stress Test

1. Download Stress Test
2. Take a look at the user manual.
3. Test a static page.
Try combinations of stress levels and stress multipliers to simulate 10 users and 100 users.
4. Test a dynamic page.
Try combinations of stress levels and stress multipliers to simulate 10 users and 100 users.
5. Compare the response time of both pages and explain why.

這裡可以改stress level
偵測網站為系上網站
結果報告

Read more...

Lab Packet Sniffer

1. Install Protocol Analyzer Ethereal at http://www.wireshark.org/
2. Capture the packets at your Ethernet interface card.
3. Enter a login required website that you often go to, such as web mail. Don't use the real account or password.
4. Try to catch the packet that contains the password.

先利用wireshark過濾ptt.cc的封包

帳號密碼打入後123 123
全部都可以再封包紀錄
不論輸入任何字都可記錄下來

換成加密過的ssh
利用pietty這套軟體

帳號打入bbs就可切換去bbs模式

在wireshark中經過加密的資料
無法讀出來

Read more...

期末報告首部曲

雛型(半成品),網站建議書繳交日期 6/19/2009

請以Google Docs 填寫,將網址放在以下意見欄。

期末網站作品初稿網址,請一併填寫。

ps: 關於期末報告


計劃書
目前網站還在規劃中
網址晚點再出來

補一下網址:
http://cycuel-web2.blogspot.com/

Read more...

2009年6月12日 星期五

Lab Drag and Drop

1. Go to Laszlo and enter (Laszlo in 10 minutes).
2. Study and play around the "drag-and-drop" example.
3. Use this method to control movie playing as in the previous lab.
4. If you drag and drop the photo to the "play" area, the movie plays.
5. If you drap and drop the photo to the "pause" area, the movie pauses.

Read more...

Lab Movie Player

1. Go to Laszlo and enter (Laszlo in 10 minutes).
2. Study and play around the "scripting" and "video" examples.
3. Use this script to control movie playing.
4. If you push the "pause" button, the movie pauses.
5. If you push the "resume" button, the movie resumes.

Read more...

Lab Speed Test

測試中原大學與中央大學對外頻寬速度。

Tool: Speedtest
cycu proxy: proxy.cycu.edu.tw:3128
ncu proxy.csie.ncu.edu.tw:3128

1.中央大學區網中心proxy:proxy.csie.ncu.edu.tw:3128
國內速度(東海大學測試點)


國外測速(LA USA)


2.中原大學proxy: proxy.cycu.edu.tw:3128
國內速度(東海大學測試點)



國外測速(LA USA)



3.教育部proxy:proxy.edu.tw:3128
國內速度(東海大學測試點)


國外測速(LA USA)


以前測過
國際頻寬最快的是
國家高速網路中心的proxy
但是現在只開放給有申請的
所以無法測試~

Read more...

2009年6月11日 星期四

Homework 6.5.2009

1. Please use the blog clouds to render your own blogs, not others.

Example: 電子三丙 邱拓堯



2. 在你的部落格加上手機版

Example: 手機版


我的blog mobile version

Read more...

2009年6月5日 星期五

Lab Form Rewriting

課程綱要查詢



電子系課程

*查詢學年期:


*部別:






註:


1.課程時間沒有輸入時,則會顯示該類別的所有課程

2.課程時間格式(比如: 2-EFG 或 3-C )





Read more...

Lab navigation bar


1. 進入你的部落格,登入,選擇自訂
2. 新增小工具
3. 選取
HTML/JavaScript 新增
4. 撰寫或貼上所需連結(範例)


Read more...

Lab Syndication with RSS 2.0



1. 進入你的部落格,登入,選擇自訂
2. 新增小工具
3. 選取
資訊提供 新增
將 RSS 或 Atom 資訊提供的內容加入您的網誌。

Blogger 製作

4. 撰寫或貼上所需連結(範例)









我連結到另外一個紀錄一些ubuntu的blog

Read more...

Lab blog cloud


Build a blog cloud for your blog.

Read more...

Lab Google Analytics

1. Enter Google Analytics
2. Put the code provided by Google Analytics in your own blog.
2. Check the results to see the daily traffic chart, the recent visitors by locations.

Google Analytics 之前code已經放入一段時間
目前有三個blog在分析
流量來源分析
連入網站的國家分析

Read more...

2009年5月15日 星期五

Lab DOM

[Lab]
1. Open NVu
2. Based on the code as in http://www.scottandrew.com/weblog/articles/dom_4 ,
write a code to generate the table of 9*9 products. (九九乘法表)

Hint: The javascript code should be enclosed by script tags.

sourcecode
結果

Read more...

Lab Create Image using DOM

1. Open Nvu
2. Hand code a javascript that loads an image from Internet based on
the DOM model.
3. Take a look at the sample code that shows how window.onload to load the image.
4. Use a button to load the image. Try how onclick works.


source code
結果

clickclick

click

Read more...

2009年5月14日 星期四

Homework 5-8-2009


ps: 5-15-2009 小考


Ans:

Read more...

2009年5月8日 星期五

Lab XML (2)

1. Register and Download Xray, an XML, XSLT editor and processor.

2. Given the
Listing 1. An XML document representing the results of a soccer tournament

Listing 2. A basic style sheet for the soccer results

use the XSLT as in the Listing 2 to transform the XML file as in the Listing 1.
(archive)

3. View the formatted HTML file.



4. Given the
Listing 1. An XML document representing the results of a soccer tournament
Listing 3. A style sheet that computes team standings


compute the team standings in a table.

5. View the formatted HTML file.

Read more...

Lab XML

1. Register and Download Xray, an XML, XSLT editor and processor.
2. Given the the XML file and XSLT file ,
use Xray to do the transformation of the XML into HTML.
You have to replace [ with <.
xslt

xml
3. View the formatted HTML file.

Read more...

Lab Hand code a form

Hand code a HTML or use Nvu to edit an HTML so that the webpage can send a request to Google like
http://maps.google.com/maps?q=24.9586,+121.24114

Use Form CGI that includes action, input, and submit.
Try a few different coordinates.
原始碼:
搜尋頁面
搜尋結果

Read more...

Lab Form and Action

"logic will get you from A to B - imagination will take you anywhere"

How to use Form to invoke a remote service through CGI.

1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your Nvu HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.
剛開始會有亂碼問題
將他改變語系
就可以解決

5. Use Nvu to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.
6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)

7. Save your file on your computer. Run your HTML by Firefox. What do you get?


8. Set method as "post"

9. Run your HTML by Firefox. What do you get?
無法使用 無法顯示網頁

Read more...

  © Free Blogger Templates Blogger Theme II by Ourblogtemplates.com 2008

Back to TOP