recently I am using docker to learn redis, when I see that redis can be the master and slave, I use docker to deploy the service. In some businesses that need to be cached, there are some problems that I haven t thought clearly in my mind . redis is...
I ve been working on a project for a long time, but I m not very good at playing with git. Now I haven t submitted the local code to master for a long time, because the local code has changed too much. I don t want to push pull anymore. I want to del...
$res = json_decode (json_encode ($res), true); in the above code, encode is followed by decode, which is why ...
<script type="text javascript"> function Person(name,age,sex){ Person.prototype.name=name; Person.age=age; this.sex=sex; } var obj=new Person("lisi",18,"male"); console.log(obj.name); nameobj.namelisiage...
I implement preview pdf in web. As long as the href to the file link browser will preview automatically, but I add the download attribute under the a tag or just preview but not download. How to solve this? ...
Why can t window.location.reload be called back? function fn01 (fn){ fn && fn(); }; function callBackFn(){ console.log( ); }; fn01(callBackFn); ...