好久没用shell了,呵呵#!/usr/bin/env bashCOUNTER=1while [ $COUNTER -lt 1000 ];doecho The counter is $COUNTER cat>tmp.sqlINSERT INTO "wcdata" VALUES('`(printf.....
分类:
系统相关 时间:
2015-01-23 21:21:05
阅读次数:
263
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:
其他好文 时间:
2015-01-23 18:16:13
阅读次数:
236
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:
其他好文 时间:
2015-01-23 17:46:36
阅读次数:
121
SQL面试题(1)create table testtable1(id int IDENTITY,department varchar(12) )select * from testtable1insert into testtable1 values('设计')insert into testta...
分类:
数据库 时间:
2015-01-23 12:43:47
阅读次数:
193
今天在matlab仿真基于区域生长的图像分割的算法时,遇到了
??? Operands to the || and && operators must be convertible to logical
scalar values.
Error in ==> regiongrowing at 25
if Y(i+u,j+v)==0 && abs(I(i+u,j+v)-...
分类:
其他好文 时间:
2015-01-23 09:33:26
阅读次数:
248
使用Hibernate,SpringMVC出错语句为(自动生成的语句)insert into MESSAGE (CONTENT, TIME, FROM_ID, READ, TITLE, USER_ID) values('123', '2015-01-22', 1, 'no', '123', 2)原因...
分类:
数据库 时间:
2015-01-22 19:55:59
阅读次数:
221
Copied fromhttps://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/SELECT DISTINCT CategoryId ,ProductNamesFROM ...
分类:
数据库 时间:
2015-01-22 19:37:49
阅读次数:
178
用个例子来解释下最近遇到一个问题。在android sqlite3命令行中执行create table t(a)创建表。这里不指定a的具体类型。然后执行insert into t values(0)。如果我在sqlite3命令行中使用"select * from t where a = 0",能查询...
分类:
移动开发 时间:
2015-01-22 17:14:52
阅读次数:
149
res/drawable/图像型的资源文件;res/layout/可被编译成屏幕布局的xml文件;res/values/可被编译成多种类型的资源文件:(1)array.xml定义数组;(2)colors.xml定义颜色和颜色字符串值,分别用Resource.getDrawable()和Resource.getColor()方法获取这些资源;(3)dimens.xml..
分类:
移动开发 时间:
2015-01-22 07:10:16
阅读次数:
211
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:
其他好文 时间:
2015-01-22 01:34:22
阅读次数:
170