def make_change(amount, coins): """Return a list of coins that sum to amount, preferring the smallest coins available and placing the smallest c...
分类:
其他好文 时间:
2015-07-12 00:03:57
阅读次数:
165
一、首先使用Yum list available xxx命令罗列出远程仓库里面可以安装的包 1、列出可以安装的java包 yum list available java* 输出如下: 2、列出可以安装的tomcat包 yum list available tom...
分类:
数据库 时间:
2015-07-11 20:02:52
阅读次数:
179
df - report file system disk space usage 显示文件系统磁盘空间使用情况 语法: df [OPTION]... [FILE]... 描述: df displays the amount of disk space available on the file sy...
分类:
其他好文 时间:
2015-07-10 18:49:14
阅读次数:
138
numactl --hardware
结果如下
available: 2 nodes (0-1)
node 0 cpus: 4 5 6 7 12 13 14 15
node 0 size: 28663 MB
node 0 free: 25761 MB
node 1 cpus: 0 1 2 3 8 9 10 11
node 1 size: 20480 MB
node 1 free:...
分类:
其他好文 时间:
2015-07-10 16:42:28
阅读次数:
92
The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist.Use Ribbon.MakeTabAvailable().使用SharePoint自带的弹窗,有时候会...
分类:
其他好文 时间:
2015-07-09 11:00:03
阅读次数:
256
//CA_EXTERN NSString * const kCATransitionFade//__OSX_AVAILABLE_STARTING (__MAC_10_5, __IPHONE_2_0);//CA_EXTERN NSString * const kCATransitionMoveIn//...
分类:
其他好文 时间:
2015-07-07 22:23:32
阅读次数:
145
AIX Study之--AIX网卡配置管理(ent0、en0、et0)
1、查看AIX系统网卡信息
[root@aix211 /]#lsdev |grep et
en0 Available 1L-08 Standard Ethernet Network Interface
en1 Available 14-08...
分类:
其他好文 时间:
2015-07-07 19:37:41
阅读次数:
140
在IOS8之后,UIAlertController替代了UIActionSheet和UIAlertView。UIAlertController的使用主要分三个步骤:一、初始化UIAlertController *alert = [UIAlertController alertControllerW....
分类:
移动开发 时间:
2015-07-07 18:41:55
阅读次数:
246
Swing类包中有一个很有用的流过滤器,ProgressMonitorInputStream,它可以自动弹出一个对话框,监视已经读取了多少流。进度监视器流使用InputStream类的available方法来确定流中的总字节数。不过available方法只报告流中可访问的、未中断的字节数。进度监视器...
分类:
其他好文 时间:
2015-07-07 00:57:07
阅读次数:
108
update update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched...
分类:
系统相关 时间:
2015-07-06 21:39:02
阅读次数:
169