move to ionic3

1、update every things to ionic3 uninstall, install , update npm….etc 2、use ionic 3, create new project, run, sure can run on android. 3、copy old config.xml data to new config.xml 4、change new project src -> src1, then copy old project src. 4.1、 code have any ionic-native change @ionic-native/xxxxxxxxx 4.2 、src/app/app.module.ts .top add import { BrowserModule } from ‘@angular/platform-browser’; .import、providers same 4.1 4.3、copy new project src/index.html 、 src/service-worker.js then try ionic cordova android –emulator ...

2017-11-10 · 1 min · 72 words · Me

[轉]在大陸來往近10年定居5年,而去年我回台灣了。

https://www.mobile01.com/topicdetail.php?f=651&t=5310046 https://www.mobile01.com/topicdetail.php?f=651&t=5310046#10 https://www.mobile01.com/topicdetail.php?f=651&t=5310046&p=2#11 https://www.mobile01.com/topicdetail.php?f=651&t=5310046&p=2#14 https://www.mobile01.com/topicdetail.php?f=651&t=5310046&p=2#15 https://www.mobile01.com/topicdetail.php?f=651&t=5310046&p=3#26 https://www.mobile01.com/topicdetail.php?f=651&t=5310046&p=4#40 https://www.mobile01.com/topicdetail.php?f=651&t=5310046&p=18#176

2017-11-08 · 1 min · 8 words · Me

nginx proxy pass [ best practices ]

1、/etc/nginx/nginx.conf worker_processes 1; #auto; events { worker_connections 3000; #786; # multi_accept on; } http { server_tokens off; #open this line resolver 8.8.8.8 8.8.4.4 valid=300s; #resolver dns server proxy_cache_path /var/cache/proxy-nginx levels=1:2 keys_zone=proxy-cache:10m max_size=3g inactive=1d use_temp_path=off; add_header X-Cache $upstream_cache_status; #讓Header顯示是否有Cache:HIT命中 MISS失敗 BYPASS略過 proxy_headers_hash_max_size 51200; #add this line proxy_headers_hash_bucket_size 6400; #add this line log_format main ‘$remote_addr $status $request $body_bytes_sent [$time_local] $http_user_agent $http_referer $http_x_forwarded_for $upstream_addr $upstream_status $upstream_cache_status $upstream_response_time’; access_log /var/log/nginx/access.log main buffer=1m; #or maybe note # because disk space ...

2017-11-03 · 4 min · 669 words · Me

Port Forwarding Gateway via iptables on Linux On AWS

Better way is Amazon Linux and Enhanced Networking on Linux C3、C4、M4 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sriov-networking.html I think is better for performace.

2017-11-02 · 1 min · 18 words · Me

iptraf

Better way is Amazon Linux and Enhanced Networking on Linux C3、C4、M4 http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sriov-networking.html I think is better for performace.

2017-11-02 · 1 min · 18 words · Me