20161004_jeffrey - silenceuncrio/diary GitHub Wiki

Index

  • 0920 - monkeyjj 的雲端 server 目前先不考慮
  • 1010 - monkeyjj 應該用最省力的方式來實作後台
  • 1120 - PHP, MySQL and AngularJS CRUD Tutorial – Step by Step Guide!
  • 1140 - Modify openvpn.c: add support for following actions:
  • 1400 - PHP and MySQL CRUD Tutorial for Beginners – Step By Step Guide
  • 1600 - PHP, MySQL and AngularJS CRUD Tutorial – Step by Step Guide
  • 1810 - Modify openvpn.cgi: change the value of following key base on original openvpn design:
  • 1825 - PHP AngularJS CRUD with Search and Pagination Example From Scratch

0920

monkeyjj 的雲端 server 目前先不考慮

主要是 google cloud SQL 一個月最少就要 10 美金
再加上 node.js 最低 5 美金
每個月最少要 15 美金
目前先用家裡的 nas 吧

目前利用 ssh 登入家裡的 nas

node.js 的版本為

admin@DiskStation:/volume1/web$ node -v
v0.10.41

npm 的版本為

admin@DiskStation:/volume1/web$ npm -v
1.4.29

1010

目前在 m300 利用 angular 實作 web 前台也有一段時間了
m300 的 web 後台是用 C 語言寫的 CGI

不過從前台的角度而而言
在乎的只是資料

monkeyjj 目前若是使用 nas 的話
我應該用最省力的方式來實作後台
而不是拘泥於非得用 node.js 不可

1120

有時間要看這一篇 PHP, MySQL and AngularJS CRUD Tutorial – Step by Step Guide!

1140

Revision: 839
Author: jeffrey
Date: 2016年10月4日 上午 11:43:23
Message:
Modify openvpn.c: add support for following actions:
- create_serverkeys
- create_sharedkey
- create_client_key
- create_client_key_all

----
Modified : /fsl-release-bsp/proscend/prosrc/webcgi/openvpn.c
Revision: 840
Author: jeffrey
Date: 2016年10月4日 上午 11:45:43
Message:
improve "VPN" web page - add support for the following actions:
- create_serverkeys
- create_client_key_all
- create_client_key

----
Modified : /fsl-release-bsp/proscend/prosrc/www/app/feature/vpn.html
Modified : /fsl-release-bsp/proscend/prosrc/www/app/feature/vpn.js
Modified : /fsl-release-bsp/proscend/prosrc/www/app/services/icos.service.js

1400

參考 PHP and MySQL CRUD Tutorial for Beginners – Step By Step Guide!

跟著練習了一遍

可以參考家裡的 nas 連結如下

http://home.monkeyjj.idv.tw/php-crud-scripts/1-php-beginner-crud/php-beginner-crud-level-1/read.php

1600

參考 PHP, MySQL and AngularJS CRUD Tutorial – Step by Step Guide!

練習的成果放在家裡的 nas 連結如下

http://home.monkeyjj.idv.tw/php-crud-scripts/5-php-crud-oop-angular-js/php-crud-oop-angular-js-level-1/

1810

Revision: 845
Author: jeffrey
Date: 2016年10月4日 下午 06:13:05
Message:
Modify openvpn.cgi: change the value of following key base on original openvpn design:
- server_root_ca
- server_key
- server_cert
- dh
- server_shared_key
- server_shared_key_exist
- client_root_ca
- client_key
- client_cert
- client_shared_key
- client_pkcs12_cert

----
Modified : /fsl-release-bsp/proscend/prosrc/webcgi/openvpn.c
Revision: 846
Author: jeffrey
Date: 2016年10月4日 下午 06:14:31
Message:
improve "VPN" web page - add information base on the following key form CGI:
- server_root_ca
- server_key
- server_cert
- dh
- server_shared_key
- server_shared_key_exist
- client_root_ca
- client_key
- client_cert
- client_shared_key
- client_pkcs12_cert

----
Modified : /fsl-release-bsp/proscend/prosrc/www/app/feature/vpn.html

1825

這一篇也不錯 PHP AngularJS CRUD with Search and Pagination Example From Scratch