码迷,mamicode.com
首页 >  
搜索关键字:could not find sdl-config    ( 28961个结果
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
Yii 丢失controller ID问题
用YII很久了今天看老代码发现了一个致命又气人的bug: “'SiteController cannot find the requested view "index". ” 在这个项目里对应的views/site/index.php文件都有,但是为什么还报了这个错呢, 于是开始看内核代码: public function getViewFile($viewName) { if(($t...
分类:其他好文   时间:2014-05-01 21:59:39    阅读次数:454
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
jQuery获取Select选择的Text和 Value
jQuery获取Select选择的Text和Value: 语法解释: 1. $("#select_id").change(function(){//code...});   //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected").text();  //获取Select选择的Text ...
分类:Web程序   时间:2014-05-01 17:38:42    阅读次数:420
ORA-15025: could not open disk 处理
刚才下班回家的路上,接到客户的电话:"回家了吗?我们这边的一套RAC库有个节点有问题哦,一直刷异常,一下子就把磁盘弄满了,我现在停掉了那个节点了。从日志上看好像跟权限有关,现在还有个实例跑着,暂时不影响业务。一会你帮看看?“ 回到家以后,通过QQ客户传来日志过来,一直刷的异常如下: ...
分类:其他好文   时间:2014-05-01 09:30:43    阅读次数:487
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-05-01 08:35:40    阅读次数:443
(已解决)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
hdu 2141 Can you find it?
Can you find it? Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 9863    Accepted Submission(s): 2587 Problem Description Give you...
分类:其他好文   时间:2014-04-29 13:33:20    阅读次数:300
Velocity在web项目中生成模板
需求:后台(指管理员后台)上传一个html模板到文件服务器上,前台(商家操作的平台)读取到模板,并填充数据,生成新的vm页面到webapp/WEB-INF/view目录下,用于预览、保存、打印。 最开始的代码: @Test public void test() throws Exception{ String templateUrl = baseServic...
分类:Web程序   时间:2014-04-29 13:11:21    阅读次数:465
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!