函数: 1、从左开始截取字符串 left(str, length) 说明:left(被截取字段,截取长度) 例:select left(content,200) as abstract from my_content_t 2、从右开始截取字符串 right(str, length) 说明:right...
分类:
数据库 时间:
2014-07-03 09:58:51
阅读次数:
238
2014年7月1日 15:31:17第一次写css,见谅css: 1 /*form*/ 2 /*default*/ 3 .form-box .form-group .form-label {text-align: right; width: 200px; height: 33px; line-hei...
分类:
Web程序 时间:
2014-07-03 06:33:56
阅读次数:
422
background: -moz-linear-gradient(top, #8fa1ff, #3757fa); /* Firefox */background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff4f0...
分类:
Web程序 时间:
2014-07-01 17:55:21
阅读次数:
282
1 /* create an arrow that points up */ 2 div.arrow-up { 3 width:0px; 4 height:0px; 5 border-left:5px solid transparent; /* left arrow slant */...
分类:
Web程序 时间:
2014-07-01 16:53:30
阅读次数:
183
https://oj.leetcode.com/problems/path-sum//** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNod...
分类:
编程语言 时间:
2014-07-01 13:09:20
阅读次数:
198
题目:Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,...
分类:
其他好文 时间:
2014-07-01 12:44:09
阅读次数:
199
题目:Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For ...
分类:
其他好文 时间:
2014-07-01 12:26:07
阅读次数:
215
直接上代码
ZeroClipboard Test
.line {
margin-bottom: 20px;
}
/* 复制提示 */
.copy-tips {
position: fixed;
z-index: 9999;
bottom: 50%;
left: 50%;
margin: 0 0 -20px -80px;
background-color: rgba(0,...
分类:
其他好文 时间:
2014-07-01 07:04:53
阅读次数:
245
Android界面的坐标是以左上角为起始点,平行的为X轴,垂直的为Y轴,数值都是递增的。如下图所示:
Android的Rect类是形成一个矩形的区域,区域在Android整个界面中的位置由left,top,right,bottom数值来控制,下面的图介绍了这四个值的意思。...
分类:
移动开发 时间:
2014-07-01 07:00:24
阅读次数:
418
Consecutive Blocks
Time Limit: 2 Seconds
Memory Limit: 65536 KB
There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 to
N from left to right) which are lined up in a row. And the i-th b...
分类:
其他好文 时间:
2014-07-01 06:51:52
阅读次数:
218