码迷,mamicode.com
首页 >  
搜索关键字:mongodb find    ( 33964个结果
java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede/CBC/PKCS5Padding
最近在做3DES加密,在本地window下面运行ok的程序,放到linux环境上竟然报错: java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede/CBC/PKCS5Padding         at javax.crypto.Cipher.getInstance(Ciphe...
分类:编程语言   时间:2014-07-22 23:05:35    阅读次数:1021
POJ 2356 Find a multiple (dp + 鸽笼原理)
OJ题目:click here~~ 题目分析:n个数,从中取若干个数,和为n的倍数。给出一种取法。 因为只要给出其中一种方案就行,鸽笼原理可以求出取出的数为连续的方案。 关于鸽笼原理,点这里~ 直接贴过来: 有n+1件或n+1件以上的物品要放到n个抽屉中,那么至少有一个抽屉里有两个或两个以上物品。 如果你知道这个结论: a1,a2,a3...am是正整数序列,至少存在整数k和r,...
分类:其他好文   时间:2014-07-22 23:04:32    阅读次数:258
LeetCode - Best Time to Buy and Sell 3
这道题在前两个的基础上做稍微改进就可以。下面是AC代码: 1 /** 2 * Design an algorithm to find the maximum profit. You may complete at most two transactions. 3 * @pa...
分类:其他好文   时间:2014-07-22 23:01:13    阅读次数:251
mongoose 数据库操作2
mongoose 数据库操作2...
分类:数据库   时间:2014-05-02 23:00:32    阅读次数:429
LeetCode - Trangle
这道题,采用动态规划算法。from top to down,把到每个节点的最小路径和都求出来。下面是AC代码: 1 /** 2 * Given a triangle, find the minimum path sum from top to bottom. 3 * Each ...
分类:其他好文   时间:2014-05-02 12:19:23    阅读次数:382
nosql数据库MongoDB的用法
MongoDB常用命令1.启动命令 mongod 启动数据库进程 --dbpath 制定数据库的目录 --port 制定数据库的端口,默认是27017 --bind_ip 绑定IP --directoryperdb 为每个db创建一个独立子目录 --logpath 制定日志存放目录 -...
分类:数据库   时间:2014-05-01 21:09:19    阅读次数:451
Requirement-Driven Linux Shell Programming
Requirement-Driven Linux Shell ProgrammingRequirement-Driven Linux Shell ProgrammingTable of Contents1. Where can I find the basic Material about Linu...
分类:系统相关   时间:2014-05-01 20:40:05    阅读次数:678
LeetCode5:Longest Palindromic Substring
题目: 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 lo...
分类:其他好文   时间:2014-05-01 20:07:13    阅读次数:429
15个实用的Linux find命令示例
妈咪,我找到了! -- 15个实用的Linux find命令示例http://www.oschina.net/translate/15-practical-linux-find-command-examples?p=2#comments爹地,我找到了! -- 15个极好的Linux find命令示例...
分类:系统相关   时间:2014-05-01 19:41:30    阅读次数:429
(已解决)sublime text 写程序build后提示can't find '__main__' module in ' '
问题描述:                在sublime text里写最简单的python语句hello world:                     print  ('hello world')                      回车build后出错如下图:     解决办法:                  这个问题的原因说起来很幼稚,就是因为没有保存文件。所...
分类:其他好文   时间:2014-04-30 22:16:38    阅读次数:344
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!