码迷,mamicode.com
首页 >  
搜索关键字:mongodb find    ( 33964个结果
ORA-12516:TNS:listener could not find available handler with matching protocol stack
应用程序连接测试数据库时报ORA-12516:TNS:listener could not find available handler with matching protocol stack 检查监听日志文件,发现大量的TNS-12516错误 cd /u01/app/oracle/product...
分类:其他好文   时间:2014-05-16 18:23:03    阅读次数:247
LeetCode OJ - Max Points on a Line
题目: Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.解题思路: 第一反应:枚举两个点组成的直线,然后看其他的点在不在这条直线上,在此过程中统计最大.....
分类:其他好文   时间:2014-05-16 05:54:57    阅读次数:193
初识Mongodb之[CURD]-PHP版
行动 在了实践之前,希望大家看一下上面的学习资源,了解一下基本操作. 数据连接初始账号密码 账号:admin 密码:admin   首先我们建立一个文件:mongodb.php,设置需要连接账号密码,连接数据库 php /** * Mongodb Test * * Tools: * Zend Studio 8.x * Eclipse Plug :Toggle Va...
分类:数据库   时间:2014-05-15 14:49:56    阅读次数:442
LeetCode-003 Longest Substring Without Repeating Characters
【题目】 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the len...
分类:其他好文   时间:2014-05-15 14:40:14    阅读次数:320
[LeetCode]Single Number
Given an array of integers, every element appears twice except for one. Find that single one....
分类:其他好文   时间:2014-05-15 07:20:39    阅读次数:264
MongoDB 学习笔记一 安装以及基础命令
MongoDB 学习笔记一 安装以及基础命令...
分类:数据库   时间:2014-05-15 05:07:59    阅读次数:371
【python标准库学习】re模块
1.什么是re         正则表达式一门相对通用的语言,在python中也有对正则表达式的支持,那就是的内置re模块。正则表达式就是一系列的规则去匹配字符串然后进行相应的操作,这些规则网上一搜一大片,而re则是运用正则表达式来提供一系列的功能强大的接口让我们来调用。通常我们在对日志文件进行操作的时候会对正则表达式运用的比较多来得到我们希望得到的数据。 2.python中的转义符...
分类:编程语言   时间:2014-05-15 03:58:49    阅读次数:465
LeetCode-005 Longest Palindromic Substrin
【题目】 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 【题意】 题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解 【思路】 原字符串用特殊字符#间隔,如下所示: #a...
分类:其他好文   时间:2014-05-15 03:31:25    阅读次数:299
60行R++代码实现Lisp解释器
还没有处理lambda、上下文等,有待完善。 main { for putsl(eval(getsl)) } rstr eval(rstr s) { s=tokenize(s) v=s.split(' ') if v.get(0)!='(' return v.get(0) next=find(v.sub(2))+2 switch v.get(1) case '+' r...
分类:其他好文   时间:2014-05-14 15:32:34    阅读次数:323
std::map中函数用法集合
1 STL的map表里有一个erase方法用来从一个map中删除掉指令的节点 2 eg: 3 map mapTest; 4 typedef map::iterator ITER; 5 ITER iter=mapTest.find(key); 6 mapTest.erase(iter...
分类:其他好文   时间:2014-05-14 09:19:03    阅读次数:319
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!