概述: 操作系统版本:CentOS release 6.3 (Final) 64位 nagios版本:Nagios Core 4.0.6 pnp4nagios版本:pnp4nagios-0.6.22 mk-livestatus版本:mk-livestatus-1.2.5i5p2 check...
分类:
移动开发 时间:
2014-08-13 12:35:46
阅读次数:
1808
;;?learning?The?Little?Schemer
(def?car?first)
(def?cdr?rest)
(def?cons?clojure.core/cons)
(def?eq??=)
(def?list??clojure.core/list?)
(defn?atom??[x]
??(not?(list??x)))
(defn...
分类:
其他好文 时间:
2014-08-13 10:44:55
阅读次数:
303
链接:http://poj.org/problem?id=3469
题意:有一个双核CPU,有n个模块需要在cpu上处理,在两个核上运行的耗费分别是Ai和Bi,m对模块需要共享数据,如果它们运行在同一个cpu中,共享数据的耗费可以忽略不计,否则需要额外的费用。求最小总耗费值。
思路:将两个cpu视为源点、汇点,模块视为图中顶点,对于每个Ai和Bi,可以从源点连一条容量为Ai的弧到i,从...
分类:
其他好文 时间:
2014-08-13 05:56:05
阅读次数:
371
5.1、下载JSTL
http://jstl.java.net
5.2、JSTL类库
类别
下属功能
URI
前缀
Core
变量支持
http://java.sun.com/jsp/jstl/core
c
流向控制
URL管理
...
分类:
Web程序 时间:
2014-08-12 19:01:43
阅读次数:
315
使用BeanFactory从xml配置文件加载bean:importorg.springframework.beans.factory.xml.XmlBeanFactory;importorg.springframework.core.io.FileSystemResource;publicclas...
分类:
移动开发 时间:
2014-08-12 18:39:04
阅读次数:
257
This shows you how to create the main window with the book’s application framework and how to render simple graphics into it.In shaders,we use #versio...
分类:
其他好文 时间:
2014-08-12 18:19:24
阅读次数:
229
一、简介 Core Data是iOS5之后才出现的一个框架,它提供了对象-关系映射(ORM)的功能,即能够将OC对象转化成数据,保存在SQLite数据库文件中,也能够将保存在数据库中的数据还原成OC对象。在此数据操作期间,我们不需要编写任何SQL语句,这个有点类似于著名的Hibernate持久化框架...
分类:
其他好文 时间:
2014-08-12 16:36:44
阅读次数:
272
由于系统没有设置core文件大小 [828][@zw_52_72 iproxy]# ulimit -a core file size ? ? ? ? ?(blocks, -c) 0 data seg size ? ? ? ? ? (kbytes, -d) unlimited scheduling priority ? ? ? ? ? ?...
分类:
其他好文 时间:
2014-08-12 14:00:33
阅读次数:
299
在WinForm程序中用Graphics类生成图片文字,而WPF功能类似的类是System.Windows.Media下的DrawingContext.虽然在WPF中可以使用Graphics类,但这会涉及到Bitmap与BitmapSource之间的转换.虽然不是很麻烦,但就是很不爽.而且Graphics是GUI的操作,明显不适合WPF.在System.Windows.Med..
imageview一般情况下为矩形,如果需要现实为圆角或者圆形还需要进行一番处理,这里自定义了一个imageview,可以修改角度来显示圆角图片 1 import android.content.Context; 2 import android.graphics.Bitmap; 3 impo...
分类:
其他好文 时间:
2014-08-12 12:47:24
阅读次数:
263