1、查看当前数据库中的所有用户:selectusernamefromdba_users; 2、查看当前会话登录的用户:show user或select username from user_users;3、查看某用户的所有表:select * from dba_tables where own...
分类:
数据库 时间:
2014-10-07 21:01:14
阅读次数:
212
偶然下载一种类型的资源,发现好多翻页,右键另存什么的,不胜其烦。决定用python写几句代码搞定。核心代码如下:from urllib import urlretrievefrom urllib import urlretrieveurlretrieve(url,save_to_path,show_...
分类:
编程语言 时间:
2014-10-07 20:25:53
阅读次数:
195
#include
typedef int* int_ptr;
typedef unsigned char* byte_ptr;
void show_bytes( byte_ptr start, int len ){
int i;
for( i = 0; i < len; ++i ){
printf( " %4.2x", start[i] );
}
printf( "\n"...
分类:
其他好文 时间:
2014-10-07 13:34:43
阅读次数:
164
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2014-10-07 12:03:03
阅读次数:
231
Writing-a-Kernel-in-C++Write a Kernel in C++ToolsExamples will show hot to use :-GJGPP - a complete 32-bit C/C++ development system for INtel 80386(an...
分类:
编程语言 时间:
2014-10-07 04:15:53
阅读次数:
294
实验的方法有 nmtui, 编辑ifcfg-*文件,ip addr 指令,子连接配置文件。一、nmtui手工添加IP看一下当前网络设备的IP,为了精简指令输出,指令就要复杂一些了:[root@centos7 ~]# nmcli -t -f IP4.ADDRESS dev show enp0s3IP4...
分类:
其他好文 时间:
2014-10-07 01:39:32
阅读次数:
566
第一集:准备
http://v.youku.com/v_show/id_XNzk1NzQxMjU2.html
第二集:从main开始创建
http://v.youku.com/v_show/id_XNzk1Nzc0Mjky.html
第三集:EassyCocosGame 3 创建一个游戏主菜单。
http://v.youku.com/v_show/id_XNzk1Nzk2...
分类:
Web程序 时间:
2014-10-07 00:47:01
阅读次数:
237
用过jquery的一般都知道在jquery中可以链式调用,代码简洁优雅。比如$(“a”).addClass(“test”).show().html(“foo”);。
在redis-py中的pipeline中也可以链式调用,比如pipe.set('foo', 'bar').sadd('faz', 'baz').incr('auto_number').execute() 。
那么究竟怎么实现的呢?...
分类:
编程语言 时间:
2014-10-07 00:27:11
阅读次数:
278
java总结文章原创地址:http://www.cnblogs.com/Alandre/(泥沙砖瓦浆木匠),须要转载的,保留下! ThanksTalk is cheap. Show me the code.Written In The Font 图能抵过一切,喜欢咖啡喜欢...
分类:
编程语言 时间:
2014-10-06 22:40:41
阅读次数:
173
So far we have seen stack diagrams, which show the state of a program, and object diagrams, which show the attributes of an object and their values. T...
分类:
其他好文 时间:
2014-10-06 20:39:30
阅读次数:
117