码迷,mamicode.com
首页 > 其他好文
吸引力法则——屌丝变高帅富的神器
《吸引力法则》,一本神奇的书,屌丝变高帅富的神器。     很多看过的人可能会说它是歪理,我只想说:信则灵。阅历丰富的人,会更加深信其中的某些理论。因为他们的人生过程已经印证了。     社会已经发展了,不再是以前的奴隶社会,封建社会,少数权贵的永恒金字塔阶级。正如大家所见,现代社会的金字塔阶级依然清晰可见。只要资源是有限的,我相信金字塔永远存在。     根据经济学家的统计,地球上大约96...
分类:其他好文   时间:2014-11-21 12:37:08    阅读次数:311
Jetty实战之 安装 运行 部署
本文地址:http://blog.csdn.net/kongxx/article/details/72187671. 首先从Jetty的官方网站http://wiki.eclipse.org/Jetty/Starting/Downloads下载最新的Jetty,上面有两个版本7.x和8.x,7.x是...
分类:其他好文   时间:2014-11-21 12:37:44    阅读次数:180
中国黑客
中国黑客十大牛人NO.10网名:冰雪封情所属组织:邪恶八进制介绍:中国现役风云组织邪恶八进制站长,中国黑客界后起领袖人物。入选理由:现在如日中天的邪恶八进制在冰雪封情的正带领走向另一个新的高峰,在进入黑客界并不很久的情况下冰血封情以极快的速度发展自己和所在组织,并影响着其他黑客向着更高顶峰攀登,期待...
分类:其他好文   时间:2014-11-21 12:37:29    阅读次数:214
执行umount 命令的时候出现 device is busy
执行umount 命令的时候出现 device is busy ,有人在使用这块磁盘umount /dev/sde1umount: /u01/app/oracle: device is busyumount: /u01/app/oracle: device is busy使用fuser 命令查看哪个...
分类:其他好文   时间:2014-11-21 12:36:26    阅读次数:263
每日一测1(带命令行参数运行)
怎么让程序带参数运行以便适应不同的测试环境?命令行参数在程序中的配置位置是在项目-属性-启动选项-命令行参数里可以通过Main方法传入命令行参数(控制台程序本身就已带), 传入一个string类型的数组。也可以通过System.Environment这个类取出 static void ...
分类:其他好文   时间:2014-11-21 12:35:15    阅读次数:213
流水号获取的解决方案
流水号的获取在单机版的程序中只需要简单的递增就可以解决。但是在分布式系统中存在多个客户端同时请求同一个流水号的问题,如果处理不好容易导致多个客户端获得同一个流水号。解决方案一 在Oracle数据库中有专门的序列管理sequence,具体的介绍在网上可以找到很多。但是在实际使用中存在很多的问题:...
分类:其他好文   时间:2014-11-21 12:34:54    阅读次数:412
A monad tutorial for Clojure programmers (part 3)
Before moving on to the more advanced aspects of monads, let’s recapitulate what defines a monad (seepart 1andpart 2for explanations):A data structure...
分类:其他好文   时间:2014-11-21 12:33:18    阅读次数:129
stl::map
stl::map是个很危险的容器,因为当用[]访问map元素时不是只读,还伴随着写操作:当访问的key值不存在时会自动插入。以下引自:http://www.cplusplus.com/reference/map/map/operator[]/Ifkmatches the key of an elem...
分类:其他好文   时间:2014-11-21 12:32:47    阅读次数:139
RedHat不能使用ifconfig命令
安装RedHat后,使用ifconfig命令,结果报错command not found,解决方法如下:1.cat ~/.bash_profile 查看path2.vi /etc/profile 编辑profile文件3.在profile文件中添加以下内容: PATH=$PATH:sbin e...
分类:其他好文   时间:2014-11-21 12:30:46    阅读次数:120
POJ 2112: Optimal Milking【二分,网络流】
题目大意:K台挤奶机,C个奶牛,每台挤奶器可以供M头牛使用,给出奶牛和和机器间的距离矩阵,求所有奶牛走最大距离的最小值思路:最大距离的最小值,明显提示二分,将最小距离二分之后问题转化成为:K台挤奶机,C个奶牛,每台挤奶器可以供M头牛使用,已知每头牛可以到的挤奶机是哪些,问能否让所有奶牛挤上奶。这个问...
分类:其他好文   时间:2014-11-21 12:32:04    阅读次数:153
A monad tutorial for Clojure programmers (part 2)
In thefirst partof this tutorial, I have introduced the two most basic monads: the identity monad and the maybe monad. In this part, I will continue w...
分类:其他好文   时间:2014-11-21 12:32:50    阅读次数:165
笔记整理
平时遇到的一些可能会有帮助的东西,不定期整理。1、CSS Hack!important#content { height:960px !important; height:900px;}该代码IE6不识别提升优先级的!important指令,所以IE6下读的是height:900px;这...
分类:其他好文   时间:2014-11-21 12:31:32    阅读次数:131
a little summary of Django
url routing mechanismurl name/namespaceWe can name a url pattern in urls.py, and reference this name to generate a url in other places. This ensures n...
分类:其他好文   时间:2014-11-21 12:30:07    阅读次数:169
序列化和反序列化
/// /// 序列化帮助类 /// public class SerializeHelp { #region XML序列化 /// /// XML序列化 /// /// /...
分类:其他好文   时间:2014-11-21 12:29:07    阅读次数:159
The log or differential backup cannot be restored because no files are ready to rollforward.
The log or differential backup cannot be restored because no files are ready to rollforward.If you have found this page, it is likely that you encount...
分类:其他好文   时间:2014-11-21 12:28:46    阅读次数:224
无限循环+延迟执行来实现计划任务 转载
今天看到这么一段代码:do { $res = $this->tasks_db->get_one(array('taskid' => $taskid)); // 得到下次运行时间 $interval = $res['tasktime'] * 60; //检测本次任务开关,0为关...
分类:其他好文   时间:2014-11-21 12:28:17    阅读次数:157
A monad tutorial for Clojure programmers (part 4)
In this fourth and last part of my monad tutorial, I will write about monad transformers. I will deal with only one of them, but it’s a start. I will ...
分类:其他好文   时间:2014-11-21 12:28:03    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!