run process forever even if console window exit
forever start ./lib/index.js
check node process is running
rsync -avh --exclude-from 'exclude-filelist.txt' ./ 35.239.100.58:/home/apple/transfer-to-google-drive-ubuntu
docker rmi $(docker images | grep "^<none>" | awk '{print $3}')
curl --verbose --request GET -H "Access-Control-Allow-Method: GET" -H "Origin: <Your origin here>" -I "<Resource Server url here>"
* Trying (...)...
* TCP_NODELAY set
* Connected to (...) port 80 (#0)
> GET /vector-icons/MaterialIcons.ttf HTTP/1.1
> Host: (...)
> User-Agent: curl/7.54.0
> Accept: */*
> Access-Control-Allow-Method: GET
> Origin:(...)
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Content-Type: application/x-font-ttf
Content-Type: application/x-font-ttf
< Content-Length: 128180
Content-Length: 128180
< Connection: keep-alive
Connection: keep-alive
< Date: Sat, 06 Jan 2018 10:13:22 GMT
Date: Sat, 06 Jan 2018 10:13:22 GMT
< Access-Control-Allow-Origin: *
Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET
Access-Control-Allow-Methods: GET
< Access-Control-Max-Age: 3000
Access-Control-Max-Age: 3000
< Last-Modified: Mon, 02 Oct 2017 18:08:10 GMT
Last-Modified: Mon, 02 Oct 2017 18:08:10 GMT
< ETag: "a37b0c01c0baf1888ca812cc0508f6e2"
ETag: "a37b0c01c0baf1888ca812cc0508f6e2"
< Accept-Ranges: bytes
Accept-Ranges: bytes
< Server: AmazonS3
Server: AmazonS3
< X-Cache: Miss from cloudfront
X-Cache: Miss from cloudfront
< Via: 1.1 3840ddbf53ed0fbd82a039a96f23088b.cloudfront.net (CloudFront)
Via: 1.1 3840ddbf53ed0fbd82a039a96f23088b.cloudfront.net (CloudFront)
< X-Amz-Cf-Id: CJpKA6zY2b6zlkT_L1O9mjvVnZUMlU0wY5jIzWVaU6j-YAjf3RbZ_Q==
X-Amz-Cf-Id: CJpKA6zY2b6zlkT_L1O9mjvVnZUMlU0wY5jIzWVaU6j-YAjf3RbZ_Q==