Topic link: http://acm.hdu.edu.cn/showproblem.php?pid=1786
Meaning: Give a backpack with a maximum backpack of 1E9 and N (N < 10) items. Each item gives quality (not more than 100), unlimited quantity. It takes 3 seconds for each item to be taken. Seek the minimum time needed to fill the backpack.
Analysis: This problem seems to be a commo ...
Posted on Tue, 26 Mar 2019 14:15:29 -0700 by crazytoon
First, what is XSS?
XSS full name is Cross Site Scripting, that is, cross-site scripting. XSS occurs when unexpected scripting instructions are executed in the process of rendering HTML documents by the target web site's target user browser.
Here we mainly pay attention to four points: 1. target website users; 2. browser; 3. not expected; 4. ...
Posted on Mon, 25 Mar 2019 12:48:28 -0700 by BenMo
Using thinkphp framework to develop Wechat public numbers requires some functions of jssdk. Mark, how to solve deployment, module design, some small case.
Below are some ports for reference: https://my.oschina.net/superkangning/blog/368043 http://www.jianshu.com/p/dee2d998422e https://mp.weixin.qq.com/wiki/7/aaa137b55fb2e0456bf8dd91 ...
Posted on Mon, 25 Mar 2019 08:27:29 -0700 by river001
There are two ways to get authentication codes:
1. Get the source code of the page and extract the pictures of the verification code.
2. Use selenium to intercept the page, locate the location of the verification code elements, and use Image to process them to obtain the verification code part.
The following is an analysis:
1. Get the sour ...
Posted on Mon, 25 Mar 2019 07:24:27 -0700 by sone_br
There are many deployments of Zabbix under Ubuntu on the network, but most of the tutorials are deployed under Ubuntu 14.04, and Zabbix is not more than 3.0 version. So here's a recent deployment tutorial.
Zabbix is an enterprise-level open source solution based on WEB interface to provide distributed system monitoring and ne ...
Posted on Sun, 24 Mar 2019 06:42:27 -0700 by Exoon
We know that the earphone insertion/pull-out event must be handled through the interrupt notification system. With this understanding, we can analyze the process one by one.
1. Who interrupts the headphone event?
2. Which interrupt handler is it?
3. What operations are performed in the interrupt processing function to change the a ...
Posted on Sun, 24 Mar 2019 06:12:28 -0700 by onewaylife
set key value ex seconds px milliseconds nx xx
Mset multi set sets multiple key values at one time
mget key1 key2 keyn
setrange key offset value
append key value
getrange key start stop
getset key newvalue
incrby key number
incrbyfloat key floatnumber
decrby key number
setbit key offset value
getbit key offset
Posted on Sat, 23 Mar 2019 15:51:53 -0700 by realjumper
Throughput: In general, the number of requests processed by the server per unit time is used to describe the concurrent processing capability of the server in terms of "reqs/s".
By opening Apache's mod_status module, you can see the current server's running status and throughput.
How to open Apache's mod_status module:
httpd.conf fi ...
Posted on Fri, 22 Mar 2019 08:42:52 -0700 by AJW
———— In recent work, web pages use VOLT template engine written by C language. Compared with the previous dynamic loading page by js, it is faster and more conducive to the capture of Baidu data. Now, according to the document, I will sort out the idea of using it.
Volt is a super-fast and designer-friendly template lang ...
Posted on Thu, 21 Mar 2019 01:48:52 -0700 by shae marks
More and more projects need to use real-time message push and receive, how to use Ruby to achieve the most convenient? I recommend you to use GoEasy, which is a third-party push service platform, using its API can easily make real-time push!
Browser Compatibility: GoEasy push supports websocket and polling, which supports all versions of IE6 an ...
Posted on Wed, 20 Mar 2019 16:57:26 -0700 by surreal5335