上一页 1 ··· 136 137 138 139 140 141 142 143 144 ··· 155 下一页

2017年4月28日

linux下tomcat内存溢出

摘要: 有时候系统程序比較多,会出 outofmemory, permgen space等内存等问题 首先监控是否有流没有关闭。常见的如 inputstream ,connection等,最好在finally中关闭 其次建议用jcondole监控一下程序。在命令行直接输入jcondole,就能够监听内存和线 阅读全文

posted @ 2017-04-28 13:40 wgwyanfs 阅读(131) 评论(0) 推荐(0)

leetcode - Remove Duplicates from Sorted Array II

摘要: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3], Your function shou 阅读全文

posted @ 2017-04-28 12:29 wgwyanfs 阅读(101) 评论(0) 推荐(0)

HDU 4810 Wall Painting (位操作-异或)

摘要: OJ题目:click here~~ 题目分析:给n个数。从这n个数中选择i个数,共同拥有c(n , i)种情况。将每种情况中的i个数异或,将这c(n , i)个异或结果求和,就得到第i个输出结果,i属于[1 n]。 求x个数的异或,等于分别对x个数的同一二进制位进行异或,然后加权求和。于是将n个数表 阅读全文

posted @ 2017-04-28 11:10 wgwyanfs 阅读(139) 评论(0) 推荐(0)

J - MANAGER(2.4.5)

摘要: J - MANAGER(2.4.5) Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status Description One of the programming paradigm in p 阅读全文

posted @ 2017-04-28 09:54 wgwyanfs 阅读(167) 评论(0) 推荐(0)

怎样使用npm打包公布nodejs程序包

摘要: 作者:zhanhailiang 日期:2014-11-20 不论基于不论什么语言开发内部项目,我们常常会在内部封装一些极具通用性的功能模块。假设我们认为该通用模块对其他团队有可取之处,全然能够将其开源出去。npm就是公布nodejs程序包的最优工具。 1. 首先在npmjs.org注冊一个账号:(可 阅读全文

posted @ 2017-04-28 08:22 wgwyanfs 阅读(228) 评论(0) 推荐(0)

2017年4月27日

JQuery Jcrop—JQuery Jcrop 图像裁剪工具学习

摘要: options 參数说明:名称默认值说明allowSelecttrue同意新选框allowMovetrue同意选框移动allowResizetrue同意选框缩放trackDocumenttruebaseClass"jcrop"基础样式名前缀。说明:class="jcrop-holder",更改的仅仅 阅读全文

posted @ 2017-04-27 21:34 wgwyanfs 阅读(241) 评论(0) 推荐(0)

sharepoint 2013 自己定义列表查看页面附件打开新页面方法 dispform attachments open new page

摘要: 我们在sharepoint的列表中,打开某一条数据,假设那条数据有附件。打开附件的时候。总是会把当前的页面给替换掉。怎样在点击附件的时候,打开新页面。能够用一下一段脚本来处理。 <script> $(document).ready(function () { if ($("#idAttachment 阅读全文

posted @ 2017-04-27 21:01 wgwyanfs 阅读(141) 评论(0) 推荐(0)

linux no space left on device的解决的方法(iNode满导致)

摘要: 今天在腾讯云的server被攻击后,apache启动报错,查找原因发现是磁盘空间不够no space left on device, 诡异的是df命令磁盘占用仅55% 继续查找原因。发现是iNode已满。即没有索引空间 这就好办了,首先定位哪个文件夹占用iNode最多,命令例如以下: find */ 阅读全文

posted @ 2017-04-27 20:31 wgwyanfs 阅读(217) 评论(0) 推荐(0)

CString 按想法把字符串分为2半

摘要: CString strScale; strScale.Format(_T("1:%d"),m_pBlock->GetBlkScale()); int iIndex=strTitle.ReverseFind(_T('|')); if(iIndex> -1) { CString str1,str2; s 阅读全文

posted @ 2017-04-27 19:08 wgwyanfs 阅读(156) 评论(0) 推荐(0)

YY前端一面二面HR面总结

摘要: 此时此刻。还在忐忑的等着面试结果,一天就快要过去了,我非常想去相信自己。相信旁边的人的赞扬,但缺少那唯一证明的信息。还是有点提心吊胆,真希望明天一起床就能收到那梦寐以求的短信。祝我好运!然后我会激动的跟HR姐姐说,这是我这个月以来听到最好的消息,谢谢!真心希望我有机会说出去,期待。 不管结果怎样,我 阅读全文

posted @ 2017-04-27 17:29 wgwyanfs 阅读(1199) 评论(0) 推荐(0)

上一页 1 ··· 136 137 138 139 140 141 142 143 144 ··· 155 下一页

导航