javascript sleep function
I’ve been looking for the javascript sleep function for a long time. Unfortunately, although most programming languages such as C/C++, php, python, etc. have a sleep function, javascript has neither […]
I’ve been looking for the javascript sleep function for a long time. Unfortunately, although most programming languages such as C/C++, php, python, etc. have a sleep function, javascript has neither […]
Although this authority document talks about the porting issues arising from transferring from qtwebkit to qtwebengine, there are still a lot more to do to accomplish the porting. Porting from […]
The examples of declaration in C++: int i; int i=0; extern int i; int fun(); int fun(){ return 1;} class A; class A { int a; void fun(); }; The […]
Python indent seems an easy syntax. If you use the same number of spaces/tabs(don’t mix spaces and tabs) for code lines in the same block, you’ll have no problem. That […]
Since Instagram uses our privacy to make money, we’d better create some bots to fuck this bitch. To write an instagram bot, the first issue we’ll encounter is how to […]
requests library is a powerful python package for http. You can use it to fetch web pages, and do anything as the http verbs can do. To use requests, install […]
import can be used independently: import module import package It can be used to import a module, a package, or . concated module/packages. import package.module import package1.package2 import package1.package2.module So […]
I often got confused about JSON and JSON string. JSON is the code you write in your javascript script to represent an object, so the code is called JavaScript Object […]
If you use php curl to scrape web page, the retrieved content may be in compressed format,i.e., the Content-Encoding http response header may have the value “gzip”. How to uncompress […]
We know that we can customize http headers for php curl using CURLOPT_HTTPHEADER. But if we do not add additional headers, what http headers does curl send by default? In […]