using System;using System.ComponentModel;using System.Windows.Forms;using System.Threading;namespace WindowsFormsApplication1{ publicpartialclass Form... ...
分类:
其他好文 时间:
2017-05-25 13:30:18
阅读次数:
193
1、OOM for Heap=>例如:java.lang.OutOfMemoryError: Java heapspace【分析】 此OOM是由于JVM中heap的最大值不满足需要,将设置heap的最大值调高即可,参数样例为:-Xmx2G【解决方法】调高heap的最大值,即-Xmx的值调大。2、OO ...
分类:
编程语言 时间:
2017-05-25 11:45:10
阅读次数:
195
Android 开发过程中,我们需要写大量的findViewById()和setonclicktListener()等事件, 那么现在有一个框架可以很好的解决这个问题 BufferKnife。BufferKnife可以大量精简代码,而且不影响性能,可以通过查看Butter Knife了解到,其自定义 ...
分类:
移动开发 时间:
2017-05-24 17:37:03
阅读次数:
292
opacity:0.2;图像的透明度 设置文本域无法拉伸textarea{resize:none;} display:none;隐藏当前元素不保留位置 visibility:hidden 隐藏当前元素 但是保留位置 filter:alpha(opacity=20) margin:0 auto;按钮居 ...
分类:
Web程序 时间:
2017-05-24 16:12:57
阅读次数:
281
linux中在lo上绑定vip比较简单,windows也不难。首先打开运行——>输入hdwwiz会弹出添加设备:在lo中绑定好vip地址以后,还需要做一项工作,至关重要!!!编写脚本:test.bat@echooff
netshinterfaceipv4setinterface"realserver"weakhostreceive=enabled
netshinterfaceip..
数据库EER图 数据库表、字段、约束解释 users 用户: id 标识符,email 邮箱,password 密码,name 姓名,sex 性别,enabled 启用 ,role 角色 id primary key categories 类别: id 标识符,name 名称,description ...
分类:
数据库 时间:
2017-05-23 22:41:53
阅读次数:
250
“此主机支持IntelVTx 但IntelVTx处于禁用状态”,报错原因:电脑未开启虚拟化 解决方案: 电脑关机(是关机不是重启)--开机,进BIOS --选择 configuration --再选择intel virtual technology --回车--将状态由disabled修改为enab ...
分类:
系统相关 时间:
2017-05-23 00:27:56
阅读次数:
864
一、简介 最近在看Spring Cloud微服务,接下来的时间和大家一起分享我所看到的,公司现在用的是dubbo ,之后有时间也去了解了解dubbo的源码。与dubbo相比较,Spring Cloud 在微服务方面有很多全面的实践。今天主要和大家简单介绍一下其中的一个组件Eureka注册中心。Eur ...
分类:
编程语言 时间:
2017-05-21 01:07:08
阅读次数:
466
迁移数据库时遇到错误: Error Code: 1418. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you ...
分类:
数据库 时间:
2017-05-20 12:30:28
阅读次数:
247
1.sqoop2-shell进入shell2.showconnector显示支持的连接方式3.showlink-all查看已有连接的信息inkwithid1andname.168.1.188-1464317401319(Enabled:true,CreatedbyAdministratorat5/27/1610:50AM,UpdatedbyAdministratorat5/27/1610:50AM)UsingConnectorgeneric-jdbc-connector..
分类:
其他好文 时间:
2017-05-20 00:06:28
阅读次数:
239