码迷,mamicode.com
首页 > 其他好文
酷我秀场 去掉水印的方法
firefox 40 + Adblock Plus 2.6.9.1 + Execute JS 0.2.4.1Adblock Plus 过滤规则里添加-----------------------------------------------------------kuwo.cn##.topkuwo...
分类:其他好文   时间:2015-07-20 10:28:12    阅读次数:155
LeeCode-Majority Element
Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume that the arr...
分类:其他好文   时间:2015-07-20 10:29:23    阅读次数:100
技术之路也要懂得理财-------林左鸣:建设军工强国的5条锦囊妙计
出差的时候不经意看到中央2台对林左鸣的专访,他的谈话不仅对自身职业有着透彻的理解,而且对整个国内经济也有着清晰研判,当时就把他的名字记了下来,下边的文章是从网上摘抄下来的,希望能作为以后技术之路的借鉴! 美俄两国在军工产业发展改革走上了截然不同的两条路,一个商办官助,一个官办无助。两条不同之路,留....
分类:其他好文   时间:2015-07-20 10:27:12    阅读次数:268
LeeCode-Sort Colors
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:其他好文   时间:2015-07-20 10:27:23    阅读次数:109
hdoj 1564 Play a game
Play a gameTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1805Accepted Submission(s): 1445Problem...
分类:其他好文   时间:2015-07-20 10:26:23    阅读次数:106
LeeCode-Contains Duplicate
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr...
分类:其他好文   时间:2015-07-20 10:27:15    阅读次数:121
PNG怎么转换成32位的BMP保持透明
32位BMP位图的格式是XRGB,就是X8位 R8位 G8位 B8位,当中的X8可以作为Alpha值用于透明,只需要搜索一下PNG转32位BMP位图的软件就可以了,另外用PhotoShop下载插件打开PNG图后也可以保存为32位带透明通道的BMP位图零度软件园:http://www.05sun.co...
分类:其他好文   时间:2015-07-20 10:26:15    阅读次数:259
安装DRBD的一些问题
安装DRBD,建议用源代码包先生成rpm包来安装,不要用直接download的rpm包,有可能会用不了,因为这跟系统内核版本有关系,在2.6.33版本以前内核没有集成drbd,A.先安装一些其它的工具包yum install gcc* flex kernel-devel rpm-build libx...
分类:其他好文   时间:2015-07-20 10:28:12    阅读次数:124
VC如何得到一个文件夹的路径
VC中没有现成的函数来选择一个文件夹,但这是经常会用到的,怎么办?自动动手,丰衣足食!使用SHBrowseForFolder,代码如下:#includeint SelFolder(HWND hParent, CString &strFolder){ strFolder.Empty(); LPMALL...
分类:其他好文   时间:2015-07-20 10:24:43    阅读次数:131
BASH操作环境的一些笔记
首先,登陆的shell分为login 与 non-login shelllogin shell:取得 bash 时需要完整的登陆流程的,就称为 login shell。举例来说,你要由 tty1 ~ tty6 登陆,需要输入用户的账号与密码,此时取得的 bash 就称为『 login shell 』...
分类:其他好文   时间:2015-07-20 10:25:57    阅读次数:110
#29 Divide Two Integers
题目链接:https://leetcode.com/problems/divide-two-integers/ Divide two integers without using multiplication, division and mod operator. If it is overflow, return MAX_INT. int divide(in...
分类:其他好文   时间:2015-07-20 09:19:59    阅读次数:99
Piggy-Bank
L - Piggy-Bank Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status Description Before ACM can do anything, a budget must be prepared and the necess...
分类:其他好文   时间:2015-07-20 09:19:16    阅读次数:136
leetCode(45):Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get ...
分类:其他好文   时间:2015-07-20 09:16:26    阅读次数:96
bestcoder 47# wyh2000 and a string problem (水题)
wyh2000 and a string problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 484    Accepted Submission(s): 232 Problem Description ...
分类:其他好文   时间:2015-07-20 09:18:51    阅读次数:101
PDF如何转换成word文档
PDF如何转换成word文档 工作闲暇之际想将报刊、纸质文件这些文本资料上的文字变成自己的“东西”,但苦于文字资料太长,工作时间又紧,加上自己的打字速度太慢而不像花钱找专业打字员,有没有更好的方法来解决?答案是肯定的,那就是在网上下载一个迅捷PDF转换器软件,只需几分钟就能搞定,为你的编辑文档省钱....
分类:其他好文   时间:2015-07-20 09:16:26    阅读次数:122
TOMCAT在POST方法提交参数丢失问题
昨天在解决一个BUG时发现一个奇怪的问题,一个AJAX提交数据在之前都是木有问题的,突然提交出错影响其他处理流程。 检查时发现页面处理数据较多,起初以为是提交顺序不正确修改后发现不是由此问题引起。于是删除掉一部分数据进行提交,较少数据能够提交成功。 恢复较多数据后跟踪提交FORM DATA ,发现数...
分类:其他好文   时间:2015-07-20 09:15:12    阅读次数:118
十五天精通WCF——第三天 client如何知道server提供的功能清单
原文:十五天精通WCF——第三天 client如何知道server提供的功能清单 通常我们去大保健的时候,都会找姑娘问一下这里能提供什么服务,什么价格,这时候可能姑娘会跟你口述一些服务或者提供一份服务清单,这样的话大 家就可以做到童嫂无欺,这样一份活生生的例子,在wcf中同样是一个道理,只有clie...
分类:其他好文   时间:2015-07-20 09:16:29    阅读次数:116
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!