Debug chrome on iOS on windows

Install scoop

set-executionpolicy remotesigned -s currentuser

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

Install ios-webkit-debug-proxy and libimobiledevice

scoop bucket add extras
scoop install ios-webkit-debug-proxy

npm install -g vs-libimobile

start the server

remotedebug_ios_webkit_adapter -— port=9000

inspectDevice.png

ref : https://github.com/lukesampson/scoop,

https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter,

View at Medium.com

[ netlify ] prerender.io

prerender is bundled with netlify

netlify_prerendering

testing prerender.io

way1:

git clone https://github.com/prerender/prerender.git
cd prerender
npm install
node server.js

Test

http://localhost:3000/https://www.google.com/

NOTE : Any javascript will be prerendered.

way2:

put the following part in the URL

?_escaped_fragment_=

 

Best Practice

https://prerender.io/documentation/best-practices

 

ref : https://prerender.io/documentation,

https://www.netlify.com/blog/2017/09/26/how-to-build-a-serverless-seo-friendly-react-blog/

[ git ] command

View current branch

$ git branch
version_1_0_11
* version_1_0_12

The one with the * is the current branch.

 

Git remove all files and directories in current directory

$ git rm -r *

 

Git log

$ git log

 

Git diff head

$ git diff HEAD

 

กู้ไฟล์ที่ถูกลบ

$ git checkout index.html

กู้ไฟล์ที่ถูกลบที่เผลอ commit ไปยัง stage

$ git reset index.html