good summary of front end dev technologies

in Chinese
http://blog.csdn.net/csdnedu/article/details/78394430?utm_source=home2

Advertisements

Play around with chrome headless

source code

https://github.com/lwpro2/ChromeHeadless

1. get the chrome remote interface package
npm install chrome-remote-interface

2. run the code

cdp({
..
    },
    async client => {

    let {data} = await Page.captureScreenshot({
        format: 'png',
    });

});

and even easier if using puppeteer

    const browser = await puppeteer.launch();
    const page = await browser.newPage();

    await page.goto('https://lwpro2.wordpress.com');
    await page.screenshot({ path: 'blog.png' });

Not able to query on geode server

using gfsh to query, always returned me “could not create an instance of class xxx”, or some serialization/deserialization error.

while from client side, both persist and retrieving worked fine.

hope it’s not a bug of the compatibility, but not sure what’s the reason at the moment.

=============================

finally sort out the issue, need to configure

read-serialized 

on the server side before starting the server