node js里面的一些东西 nvm 是 nodejs version manager 的简称,即:nodejs版本管理 npm 是 nodejs package manager 的简称,即:nodejs模块管理 npm比较好用,基本上都会 nvm在linux,mac上比较好用,在windows上好...
分类:
Web程序 时间:
2014-10-27 12:58:13
阅读次数:
217
drop table test purge;
create table test
(
id number(2),
name varchar2(60)
);
insert into test values(1,'aaa');
insert into test values(2,'bbb');
insert into test values(3,'ccc');
insert...
分类:
数据库 时间:
2014-10-27 12:52:52
阅读次数:
382
(以下基于C#)1.对方法修饰的区别An abstract function can have no functionality.You're basically saying, any child class MUST give their own version of this method, ...
分类:
其他好文 时间:
2014-10-27 12:39:45
阅读次数:
194
最近新做了一个项目,项目的界面好多的控件,然后在进入界面的时候会刷新好多次,而且每次操作都有不必要的刷新,研究发现了需要配置双缓冲才能避免闪屏,代码如下。 1 //获取当前系统的环境版本,不同的环境对应不同的属性。 2 Version v = System.Environment.Vers...
这是使用libdlna0.2.4与ffmpeg2.4.2搭配遇到的问题
解决方法是使用ffmpeg2.2.9版本(更久的版本没测试过),
或者坚持要使用ffmpeg2.4.2版本的话,只需将
…/ffmpeg-2.4.2/libavformat/version.h文件中一点点内容进行修改:...
分类:
其他好文 时间:
2014-10-27 11:01:02
阅读次数:
375
题目意思:
求一个数的所有humber bunber的约数的个数
http://acm.hdu.edu.cn/showproblem.php?pid=1492
题目分析:
求出2,3,5,7的所有个数,用他们能组合出多少的数,就是n的Humber number数
AC代码:
/**
*类似求素数的个数每一个数都可以表示成一些素数的乘积
*...
分类:
其他好文 时间:
2014-10-27 10:51:39
阅读次数:
148
今天使用数据库查询工具DBvis链接mysql数据库时, 发现执行如何sql语句, 都报如下错误:后来想着应该是mysql驱动包的版本不对导致的, 如何你和我一样, 也是这个问题困扰,那么现在就知道怎么回事了。我的版本如下:解决办法:去mysql官网下载最新的jar驱动包 然后更新就行.url:ht...
分类:
数据库 时间:
2014-10-27 10:50:07
阅读次数:
238
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
编程语言 时间:
2014-10-27 08:10:18
阅读次数:
196
一、cast函数cast函数的作用是对用户输入的数据进行数据类型转换,比如用户数据的数据时number类型,小数位数是3位,我们可以将用户数据转换成整形数据int类型。cast函数的格式是cast(数据源as待转换的数据类型)比如我需要将number数据类型的13.658转换成int类型的整数类型SQL&..
分类:
数据库 时间:
2014-10-27 07:04:44
阅读次数:
222
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2014-10-27 06:54:01
阅读次数:
203