先上写干货,几个开源网站:
github.com
launchpad.netgitorious.orgsourceforge.netfreecode.com
今天介绍一下python函数和文件读写的知识。
函数
def print_two(*args):#That tells Python to take all the arguments to the function a...
分类:
编程语言 时间:
2014-06-08 10:37:23
阅读次数:
277
一、自定义视图类继承View或者View的子类
All of the view classes defined in the Android framework extend View.
Your custom view can also extend Viewdirectly,
or you can save time by extending one of the exist...
分类:
移动开发 时间:
2014-06-08 10:11:27
阅读次数:
342
1、到官网下载poco-1.4.6p4-all.tar.gz,地址为http://pocoproject.org/download/index.html2、同时下载说明文档3、根据说明文档执行安装3.1
make --version,查看make编译器版本3.2 tar -xvf poco-X.Y....
分类:
编程语言 时间:
2014-06-08 07:14:54
阅读次数:
288
Oracle在9i引入了merge命令,
通过这个merge你能够在一个SQL语句中对一个表同时执行inserts和updates操作.
当然是update还是insert是依据于你的指定的条件判断的,Merge into可以实现用B表来更新A表数据,如果A表中没有,则把B表的数据插入A表.
MER...
分类:
数据库 时间:
2014-06-08 06:32:19
阅读次数:
238
今天写代码遇到这样一个问题,先上代码 1 2 function textout(obj){ 3
if(opac==60){opac=0;return;}; 4 opac+=10; 5 if(document.all){ 6
obj.style.filter=...
分类:
Web程序 时间:
2014-06-08 06:23:46
阅读次数:
277
POP动画[2]1:定制控制器间的转场动画.源码有点多-_-!!////
RootViewController.h// Animation//// Copyright (c) 2014年 Y.X. All rights
reserved.//#import @interface RootVie...
分类:
其他好文 时间:
2014-06-08 01:13:36
阅读次数:
735
PathsumDescription:Given a binary tree and a
sum, determine if the tree has a root-to-leaf path such that adding up all the
values along the path equa...
分类:
其他好文 时间:
2014-06-08 01:11:46
阅读次数:
395
Spiral MatrixGiven a matrix of m x n elements
(m rows, n columns), return all elements of the matrix in spiral order.For
example, Given the following ...
分类:
其他好文 时间:
2014-06-07 22:57:31
阅读次数:
236
题目链接 Given a m x n grid filled with non-negative
numbers, find a path from top left to bottom right which minimizes the sum of
all numbers along its p...
分类:
其他好文 时间:
2014-06-07 21:59:08
阅读次数:
344
题目:Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the or...
分类:
其他好文 时间:
2014-06-07 20:35:55
阅读次数:
236