Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions liscott327/Helloword.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Helloworld!");
11 changes: 11 additions & 0 deletions liscott327/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 練習總整理

### 練習測試檔案
* helloworld.js

### node.js練習
* server.js
* server2.js
* function.js
* function1.js
*
10 changes: 10 additions & 0 deletions liscott327/function.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function say(word) {
console.log(word);
}

function execute(someFunction, value) {
someFunction(value);
}

execute(say, "Hello");

6 changes: 6 additions & 0 deletions liscott327/function1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function execute(someFunction, value) {
someFunction(value);
}

execute(function(word){ console.log(word) }, "Hello");

1 change: 1 addition & 0 deletions liscott327/git/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### GIT練習用資料夾
7 changes: 7 additions & 0 deletions liscott327/git/document.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
first line
second line
【星島日報報道】香港天文台表示,今年首個熱帶氣旋「尼伯特」已增強為颱風,預測在周五會進一步增強為超級颱風,屆時將在香港800公里附近略過,吹向呂宋以東至台灣一帶。

香港天文台表示,現時驟雨正影響廣東沿岸及南海東北部。在正午12時,颱風「尼伯特」集結在雅蒲島之西北偏北約760公里,預料向西北移動,時速約28公里,移向呂宋以東至台灣一帶。預料「尼伯特」會在未來數天逐漸增強,並移向呂宋以東至台灣一帶。周五氣溫將最高達35度,天晴酷熱。


3 changes: 3 additions & 0 deletions liscott327/server2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var http = require("http");
var server = http.createServer();
server.listen(8888);
6 changes: 6 additions & 0 deletions liscott327/sever.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var http = require("http");
http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/plain"});
response.write("How are you?");
response.end();
}).listen(8888);
4 changes: 4 additions & 0 deletions liscott327/test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Intern tutorial


### 這是一個測試資料夾
1 change: 1 addition & 0 deletions liscott327/test/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello World");