码迷,mamicode.com
首页 > 2018年07月24日 > 全部分享
React学习(2)——action,reducer
action creator 是一个函数,格式如下: action 是一个拥有 type 属性的对象,用来描述发生了什么,然后按 type 决定如何处理 action。 举一个例子,获取数据是一个 action,一个点击是一个 action,一个 input 变化也是一个 action 等等。 下面 ...
分类:其他好文   时间:2018-07-24 19:21:00    阅读次数:217
QtNetwork 库文件添加
Qt应用程序默认没有加QtNetwork库。在开发过程中,根据业务处理需要添加QtNetwork库。 【1】若使用qtcreator开发程序 【2】若使用VS + QT开发程序 本地环境VS2017 + QT5.9.2 编译错误提示如下: 一般出现这个问题都是库文件没有添加造成的。 很明显,程序中使 ...
分类:Web程序   时间:2018-07-24 19:20:43    阅读次数:429
HashiCorp:为任何应用程序提供安全和可运行的基础架构
HashiCorp由MitchellHashimoto和ArmonDadgar于2012年创办,总部位于美国旧金山。HashiCorp致力于解决基础架构中的开发、维护及安全所面临的挑战。HashiCorp提供的Cloud和DevOps基础设施自动化工具,集开发、运营和安全性于一体,包括Vagrant、Packer、Terraform、Vault、Nomad和Consul六款产品,可以帮助开发和部署
分类:其他好文   时间:2018-07-24 19:20:20    阅读次数:182
构建-4 dependencies 依赖管理
官方文档Add build dependenciesThe Gradle build system in Android Studio makes it easy to include external binaries外部二进制文件 or other library modules to your... ...
分类:其他好文   时间:2018-07-24 19:20:08    阅读次数:499
WdatePicker日期控件使用与值获取,以及选择日期完毕触发事件
HTML: JS: ...
分类:其他好文   时间:2018-07-24 19:20:01    阅读次数:1332
Tomcat-上传文件路径填坑
Tomcat-上传文件路径填坑
分类:Web程序   时间:2018-07-24 19:19:35    阅读次数:1551
SpringBoot+Mybatis+redis实现二级缓存
对于查询比较多的项目可以考虑配置二级缓存,mybatis本身的二级缓存是缓存到本地,但是对于多个节点的项目来说,可能会出现数据不一致的问题,所以采用redis缓存,这样二级缓存的数据就可以缓存到内存,可实现多个节点项目的数据同步。 1、配置redis的连接 2、配置mybatis-config.xm ...
分类:编程语言   时间:2018-07-24 19:19:26    阅读次数:358
dashboard and reporting Interface analysis
dashboard and reporting Interface analysis System Log Interface : root@vpx# tail -f /var/log/ns.log root@vpx# tail -f /var/log/nitro.log 手动执行 nitro ap ...
分类:其他好文   时间:2018-07-24 19:19:18    阅读次数:306
dubbo-admin 出现警告(不影响使用)
<dubbo:application name="pyg-sellergoods-s" />、 <dubbo:application name="pyg-content-s" /> 把name改为一样 可以解决,但是 没啥意义(还是下图有警告看起来舒服) ...
分类:其他好文   时间:2018-07-24 19:19:07    阅读次数:131
Network Programming(1)
It is important to realize that clients and servers are processes and not ma- chines, or hosts as they are often called in this context. Data received ...
分类:Web程序   时间:2018-07-24 19:19:00    阅读次数:202
云服务器查看外网IP地址方法
#返回IP地址 curl ip.6655.com/ip.aspx curl whatismyip.akamai.com wget -qO - ifconfig.co curl icanhazip.com dig +short myip.opendns.com @resolver1.opendns.c ...
分类:其他好文   时间:2018-07-24 19:18:52    阅读次数:1044
代码模板
以前一直用bits库,后来学长叫我少用,就自己写了个板子,很粗糙 但还是挺好用的,嘻嘻 1 #include <iostream> 2 #include <string> 3 #include <cstdio> 4 #include <cstdlib> 5 #include <sstream> 6 ...
分类:其他好文   时间:2018-07-24 19:18:44    阅读次数:127
微信支付功能
js wx.request({ url: url + '/team!jfchongzhi.action?openid=' + openid + '&weibi=' + weibi, method: 'get', header: { 'Content-Type': 'application/json' ...
分类:微信   时间:2018-07-24 19:18:28    阅读次数:204
jquery如何根据多选框name来获得选中的值。
根据多选框name来获得选中的值可用如下 jquery代码实现 1 2 3 $("input:checkbox[name='test']:checked").each(function() { // 遍历name=test的多选框 $(this).val(); // 每一个被选中项的值 }); $( ...
分类:Web程序   时间:2018-07-24 19:18:17    阅读次数:251
awr报告生成
需要中文的需先执行: export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK" 1.以oracle用户登录到数据库服务器 2. sqlplus " /as sysdba" 3.执行脚本:@?/rdbms/admin/awrrpt.sql 4.设置生成报告 ...
分类:其他好文   时间:2018-07-24 19:18:11    阅读次数:190
苹果系统和安卓系统对时间的处理不一样这个坑你爬过吗
1) 首先new Date() 返回的时间与其他安卓,pc返回的时间是有差异的 在ios上返回的时间是当天时间的8点整,而安卓pc返回的时间是当天的0点; 解决方案就是判断所处系统,根据系统返回统一时间 2)new Date()传入时间参数 如new Date('2017-09-11')都能返回出时 ...
分类:移动开发   时间:2018-07-24 19:18:03    阅读次数:197
文本溢出
.textview{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap} 当然 有单行的省略 就有多行,不过多行的设置的有点复杂: .textview{ display: -webkit-box ; overflow: hi ...
分类:其他好文   时间:2018-07-24 19:17:54    阅读次数:143
1014条   上一页 1 ... 17 18 19 20 21 22 23 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!