码迷,mamicode.com
首页 > Web开发
apache和nginx的区别
nginx相对apache的优点: 轻量级,同样起web服务,比apache占用更少的内存资源抗并发,nginx处理请求是异步非阻塞的,支持更多的并发连接,而apache则是阻塞型的,在高并发下nginx能保持低资源低消耗高性能。 配置简洁 高度模块化的设计,编写模块相对简单 社区活跃 apache ...
分类:Web程序   时间:2019-02-16 13:53:02    阅读次数:184
如何在html中引入jsx文件
不使用webpack工具做react项目 1.引入react相关js文件 2.引入jsx文件组件并使用 3. 备注 在jsx文件中定义组件内容 ...
分类:Web程序   时间:2019-02-16 13:51:18    阅读次数:450
23. Merge k Sorted Lists(js)
23. Merge k Sorted Lists Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: ...
分类:Web程序   时间:2019-02-16 13:49:26    阅读次数:197
20. Valid Parentheses(js)
20. Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input ...
分类:Web程序   时间:2019-02-16 13:42:21    阅读次数:237
vue 使用input file点击上传本地图片
upData(event) { var reader = new FileReader(); let fileData = this.$refs.InputFile.files[0]; reader.readAsDataURL(fileData); let _this=this; ... ...
分类:Web程序   时间:2019-02-16 13:39:44    阅读次数:283
ajax的使用
发送请求的方式: 1.form表单 post/get 2.地址栏直接输入URL get 3.a标签 get ajax 1.与服务器进行交互,是js技术,发送请求,传输数据是XML(json) 2.特点: 异步,局部刷新,数据量少 异步交互:客户端发送一个请求,无需等待服务器的响应结束,就可以发送第二 ...
分类:Web程序   时间:2019-02-16 13:39:04    阅读次数:232
19. Remove Nth Node From End of List(js)
19. Remove Nth Node From End of List Given a linked list, remove the n-th node from the end of list and return its head. Example: ...
分类:Web程序   时间:2019-02-16 13:35:00    阅读次数:191
22. Generate Parentheses(js)
22. Generate Parentheses Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n  ...
分类:Web程序   时间:2019-02-16 13:33:56    阅读次数:207
25. Reverse Nodes in k-Group(js)
25. Reverse Nodes in k-Group Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. k is a positive integer ...
分类:Web程序   时间:2019-02-16 13:32:52    阅读次数:205
21. Merge Two Sorted Lists(js)
21. Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of th ...
分类:Web程序   时间:2019-02-16 13:28:29    阅读次数:211
更改博客园js
https://www.cnblogs.com/shwee/p/9060226.html dingzhi10 https://www.cnblogs.com/shwee/p/9084535.html ...
分类:Web程序   时间:2019-02-16 13:25:46    阅读次数:159
JS 全选、全不选、反选
function checkReturn(obj) { var objIds = obj.value; //当没有选中某个子复选框时,checkboxall取消选中 if (!$("#subcheck").checked) { $("#checkboxall")... ...
分类:Web程序   时间:2019-02-16 13:22:09    阅读次数:184
18. 4Sum(js)
18. 4Sum Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all ...
分类:Web程序   时间:2019-02-16 13:21:01    阅读次数:149
24. Swap Nodes in Pairs(js)
24. Swap Nodes in Pairs Given a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list's nodes, onl ...
分类:Web程序   时间:2019-02-16 13:20:04    阅读次数:157
webpack基本操作
第一步:创建项目文件夹 第二步:使用vscode打开文件夹,经行npm初始化 第三步:下载项目需要资源包 npm install --save vue 开发环境 webpack 1. 他是基于nodeJs,所以要确保安装了nodeJs --save-dev工具类型加dev 2. npm instal ...
分类:Web程序   时间:2019-02-16 13:19:15    阅读次数:227
Netty 发送消息失败或者接收消息失败的可能原因
1. 消息发送失败: 检查通道是否建立成功 Netty中的通道建立采用的是异步方式,获取到的通道对象可能为空或初始化未完成; 2. 接收的消息有丢失 消息可能会粘包,是否有拆包机制 ...
分类:Web程序   时间:2019-02-16 12:09:00    阅读次数:274
npm run dev--The 'mode' option has not been set, webpack will fallback to 'production' for this value
npm run dev时报警告: warning configurationThe 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to ' ...
分类:Web程序   时间:2019-02-16 12:00:41    阅读次数:495
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!