The scenario is to run the program inside of Ubuntu VPS. Input a URL the program will output the jpg file.
The solution is to use wkhtmltoimage, which is a part of wkhtmtopdf.
I used to use the old version wkhtmltopdf v0.12.3. Now it is not working anymore due to some reason I don’t know.
But the wkhtmltopdf v0.12.5 is OK.
The OS is Ubuntu 18.04.
Then I install wkhtmltopdf with the following command
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt-get -yq update
sudo apt-get install -y libxrender1 libfontconfig1 libx11-dev libjpeg62 libxtst6 fontconfig xfonts-75dpi xfonts-base libpng12-0 libjpeg-turbo8
sudo dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb
sudo apt-get -f install
After installation, run the command to show the help of the program.
Continue reading “How to take a webpage screenshot at terminal window”
It is a question, when I use a bootable CD to run it. It looks never stop.
Finally I got the answer from the forum of Memtest86+.
Memtest runs indefinately unless you stop it. It does however repeat the
same tests over and over again. Memtest86+ contains a number of different
tests which each take different approaches in trying to expose any errors
in your memory. In the top right of your screen you can see the progress of
each test in the lower of the two progress bars. The topmost progress bar
shows the progress of a pass, each pass consists of all the tests in the
Thus all tests are executed in one pass, so does that mean that no errors
will show after the first pass if that pass didn’t reveal any errors? Well
no, there are several reasons why errors might only show up after a number
of passes. Firstly as of this writing, the latest version of memtest also
includes a test which uses random test patterns, each pass these patterns
will of course be different. Secondly some types of errors simply don’t show
up until the system has been running for a while or are very critical on a
certain timing condition, are thermal in nature, or other such conditions.
To conclude, one successful pass of memtest will give you a pretty good
idea that your memory is ok, only in rare cases will there be errors
showing after the first pass. To be sure though simply have the test run
overnight or even for a couple of days depending on the level of importance
of the system.
Continue reading “How long does Memtest86+ run”