web server
Convertional
- IIS
- Apache server
- AppServ
- XAMPP
- WAMP(Server)
Chrome app
- Web Server for Chrome
(ref. https://www.youtube.com/watch?v=XQAXIenQ3iw)
Julia
QA
- How to install Julia and Jupyter notebooks
https://www.youtube.com/watch?v=oyx8M1yoboY
nodejs - hello world
Node
1 | var http = require("http"); |
Node + Express
index.js file
1 | let express = require("express"); |
ES6
1 | const express = require('express'); |
nodejs - init
安裝node.js
建立node專案資料夾 (e.g. d:\server)
使用命令介面操作
3.1 Windows:命令提示字元(cmd)
3.2 Mac: 終端機
3.3 注意[工作路徑]切換到工作資料夾
4.1 切換磁碟機:磁碟機代號
4.2 切換資料夾:cd 資料夾路徑執行 Javascript 程式: node 程式檔案
使用 npm 套件管理工具
6.1 初始化 Node 專案:
1 | npm init |
- 安裝 express 架設網站套件
1 | npm install express --save |
撰寫第一支伺服器程式
安裝ejs
1
npm insall ejs --save
Refs padaLab@gmail.com
hello world - shiny app
1 | library(shiny) |
hello_world
python
1 | print('hello world') |
julia
1 | println("hello world") |
ruby
1 | p 'hello world' |
r
1 | print('hello world') |
matlab
1 | disp('hello world') |
c
1 |
|
c++
1 |
|
java
1 | public class hw { |
C Sharp
1 | using System; |
help
General
- https://hexo.io/zh-tw/docs/writing.html
- Good Ref! (for Linux?)
Image
Documentations
- hexo docs: https://hexo.io/docs/
- commends: https://hexo.io/docs/commands.html