Data Query in MongoDB
Preparing data
db.stu.insert({name:'Guo Jing',hometown:'Mongolia',age:20,gender:true})
db.stu.insert({name:'Huang Rong',hometown:'Taohua Island',age:18,gender:false})
db.stu.insert({name:'Yang Kang',hometown:'daikin',age:20,gender:true})
db.stu.insert({name:'Mu Nianchi',hometown:'Song',age:18,gender:false})
db.stu.insert({name:'evil east',h ...
Added by zeropaid on Mon, 10 Jun 2019 01:56:14 +0300
Form form submission using ajax method (with source code)
Written in front
When using form form form, once clicking submit triggers submit event, it will generally make page jump, the control of jump between pages is often in the back end, the back end will control page Jump and data transfer, but sometimes do not want page jump, or want to control the front end, through js to manipulate page Jump or ...
Added by danc81 on Sun, 09 Jun 2019 22:12:02 +0300
[Cao Cao] [js-sequence-diagrams] Front JS Draw Time Series Diagram
Background description:
Because Cao Cao has recently been leading the development of a new project, codenamed Cao Cao, many related development technology blogs may be updated in the future, witnessing the Cao Cao project from 0 to online to the final product, and also witnessing his development dog from java background to front stack to the fi ...
Added by aclees86 on Sun, 09 Jun 2019 20:43:00 +0300
Server Data Parser
Server Data Parser
_In the process of client development, one of the key content is to parse server data. Perhaps the first thing you will think about is which json to use to parse libraries.Yes, data transfer via json format is the mainstream at present. Indeed, different json parsing libraries have some differences in performance.Although t ...
Added by macinslaw on Sun, 09 Jun 2019 19:36:36 +0300
Logstash in more detail - filter module
The second component of the Logstash three components is also the most complex and painful component of the real Logstash tool, and of course, the most useful one.
1. The grok plug-in grok plug-in has a very powerful function, it can match all the data, but its performance and the depletion of resources are also criticized.
filter{
grok{
...
Added by mb81 on Sat, 08 Jun 2019 20:50:32 +0300
Web pack development and production environment configuration
Preface
The author started using webpack last year, and the first contact came from vue-cli. At that time, the main focus of work was also the use of vue. Little was known about the configuration of webpack. During that time, some questions were also asked about Daniel @Lv Dabao. By the way, for children's shoes with confused front-end knowledg ...
Added by think-digitally on Sat, 08 Jun 2019 03:47:45 +0300
app Request Server Data Method 1-HttpUrlConnection
1. Instantiating URL objects
The first step is to instantiate a URL object and pass in the address whose parameter is the requested data.
URL url = new URL("http://www.imooc.com/api/teacher?type=3&cid=1");
2. Get the HttpURLConnection object
Calling the open Connection method of the URL object returns a URLConnection object, and the URLConn ...
Added by waltonia on Fri, 07 Jun 2019 22:17:17 +0300
How to write a public NPM package yourself
with markdown-clear , create process as an example, explain the entire NPM package creation and publishing process
1 How to create a package
1.1 Create and use a project
Create a new warehouse on GitHub named markdown-clear
clone This project goes local
1.2 Add toLICENCEorLICENSEFile describing the corresponding open source protocol
reach SP ...
Added by jonez on Fri, 07 Jun 2019 20:04:13 +0300
Hand-in-hand teaches you a vue2.0 bullet window assembly
Hand-in-hand teaches you a vue2.0 bullet window assembly
Before you start, you need to know the pre-knowledge of developing vue plug-ins. It's recommended that you take a look at it first. Introduction of plug-ins for vue official website
Preview address http://haogewudi.me/kiko/inde...
Source address https://github.com/rascalHao/...
Construc ...
Added by hyeteck on Fri, 07 Jun 2019 00:40:56 +0300
python Crawler Initial Practical Warfare (7) - - Climbing and Flashing Baidu Cloud Resources in Wechat Group
(Statement: This article aims at exchanging technology. I hope you will support the original version and the courtyard line)
Demand Background:
Recently, I mistakenly entered a free (daoban) resource sharing group (decent face), which brushes resource links every day. But as we all know, Baidu cloud sharing links are very easy to be river crabs ...
Added by xX_SuperCrazy_Xx on Thu, 06 Jun 2019 23:24:37 +0300