thyecust / cs-practice Goto Github PK
View Code? Open in Web Editor NEWTeam cooperating work, with teammates from cs practice 101, directed by Prof. Zhang.
Team cooperating work, with teammates from cs practice 101, directed by Prof. Zhang.
@L-Future , @kalaxy9 ,
欢迎加入这个项目,这里有一个简单的小任务:
Deadline:2019-10-25 14:53
Honor Code:
The Honor Code is an undertaking of the students, individually and collectively:
This is an aid for the course, just a script. Do not learn from this.
If you get any questions, Google it.
下载两个编辑器,比如Sublime Text,了解:语法加亮,语法提示,支持的语言。
使用浏览器的开发者工具查看https://www.baidu.com
的请求头和响应头。
下面是使用Chrome浏览器的示例:
https://www.baidu.com
打开页面Ctrl + Shift + I
,打开开发者工具Network
,Ctrl + R
,Record network logbd_logo1.png?where=super
General
> Request URL: https://www.baidu.com/img/bd_logo1.png?where=super
> Request Method: GET
> Status Code: 200 OK (from memory cache)
> Remote Address: 182.61.200.6:443
> Referrer Policy: unsafe-url
Response Headers
> Accept-Ranges: bytes
> Cache-Control: max-age=315360000
> Content-Length: 7877
> Content-Type: image/png
> Date: Sun, 13 Oct 2019 14:18:42 GMT
> Etag: "1ec5-502264e2ae4c0"
> Expires: Wed, 10 Oct 2029 14:18:42 GMT
> Last-Modified: Wed, 03 Sep 2014 10:00:27 GMT
> Server: Apache
Request Headers
> Provisional headers are shown
> Referer: https://www.baidu.com/
> Sec-Fetch-Mode: no-cors
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
http://localhost
,看到管理界面,安装完成%WAMPSERVER_HOME%\hello\index.html
<!DOCTYPE html>
<html>
<head>
<title>Hello, World</title>
</head>
<body>
<h1>Hello, world</h1>
</body>
</html>
http://localhost/hello/index.html
查看页面ipconfig
得到IPv4地址172.24.26.80
%WAMPSERVER%\bin\apache\apache2.4.39\conf\extra\httpd-vhosts.conf
,增加内容:ServerName 172.24.26.80
DocumentRoot C:\web\wampserver\www\helloworld
<Directory "C:\web\wampserver\www\helloworld">
Options + Indexes + Includes + FollowSymLinks + MultiViews
AllowOverride All
Require all granted
</Directory>
在`<VirtualHost>`标签内部。
http://172.24.26.80/helloworld/index
,可以访问我在稍后解决这个问题。
Homework list
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.