码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
mongoDB 基本命令
http://space.itpub.net/?uid-20498361-action-viewspace-itemid-7194911, 超级用户相关#进入数据库adminuse admin#增加或修改用户密码db.addUser('name','pwd')#查看用户列表db.system.use...
分类:数据库   时间:2014-11-07 12:56:06    阅读次数:252
mongoDB 使用总结
http://blog.chinaunix.net/space.php?uid=22270773&do=blog&id=19935171. 如果无特别用途,建议:表名,字段名 全部用小写字母。2. 尽可能的缩短字段名的长度,必要的时候,可以考虑建立一个key与实际意义的map表,尽量降低key的长度...
分类:数据库   时间:2014-11-07 12:50:47    阅读次数:217
Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:其他好文   时间:2014-11-06 16:53:40    阅读次数:145
linux sed命令详解
http://www.iteye.com/topic/5876731. Sed简介sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下...
分类:系统相关   时间:2014-11-06 16:48:07    阅读次数:258
Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:其他好文   时间:2014-11-06 16:34:26    阅读次数:183
LeetCode[string]: Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is defin...
分类:其他好文   时间:2014-11-06 14:57:52    阅读次数:150
用CSS实现超长字段用省略号表示的方法
用CSS实现超长字段用省略号表示的方法 html实例代码如下: <div style="width:150px;overflow:hidden; white-space:nowrap; text-overflow:ellipsis"> 用CSS实现超长字段被省略的方法</div> 注意:设置宽度,ove...
分类:Web程序   时间:2014-11-06 13:14:14    阅读次数:171
leetcode length of the last word
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:其他好文   时间:2014-11-06 07:04:33    阅读次数:220
LeetCode:Palindrome Number
题目描述: Determine whether an integer is a palindrome. Do this without extra space. 代码: bool Solution::isPalindrome(int x) { int a = x; int b = 0; while(a > 0) { b = b * ...
分类:其他好文   时间:2014-11-05 21:35:26    阅读次数:167
Oracle index unusable和invisible的区别
摘录自11g的官方文档:      UNUSABLE Specify UNUSABLE to mark the index or index partition(s) or index subpartition(s) UNUSABLE. The space allocated for an index or index partition or subpartition is freed...
分类:数据库   时间:2014-11-05 19:46:07    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!