最近在做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
这道题在前两个的基础上做稍微改进就可以。下面是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
在批处理脚本中,操作文件与文件夹的方法,包括文件的复制、删除、移动等操作,并附有xcopy命令的详细用法。原文地址:http://www.jbxue.com/article/14535.html批处理中的文件、文件夹操作,xcopy命令的用法。一,建bat文件自动执行复制,删除命令。例1:复制cd....
分类:
其他好文 时间:
2014-07-22 23:01:12
阅读次数:
372
有关批处理脚本中,copy命令与xcopy命令在用法上的一些区别。原文地址:http://www.jbxue.com/article/14536.htmlCopy与Xcopy的区别一,copy不能在有子目录存在的文件中拷贝文件的同时重命名此文件名说明,这里C:为根目录,bat为子目录),而xcopy...
分类:
其他好文 时间:
2014-07-22 23:00:54
阅读次数:
293
以前做项目,不注意记录调试过程中遇到的问题,以后应该注意这一点。今天抽空总结一下PCI-CAN卡驱动与数据通信调试过程中遇到的问题,方便以后回忆和思考。 1.
中断服务之字节流报文组包状态机 这是一个典型的适合采用状态机来思考和处理数据的场合。报文一般分为这几个字段:报文头,长度,命令,数据,校验和...
分类:
其他好文 时间:
2014-07-22 22:59:36
阅读次数:
319
1, insert into test select * from
test;(造测试数据)2, create table b as select * from a;
(创建表结构一样的空表,数据可同上插入数据)3,linux系统下让sqlplus支持历史命令回调在linux中实现上述功能,需要.....
分类:
数据库 时间:
2014-05-01 21:33:20
阅读次数:
447
MongoDB常用命令1.启动命令 mongod 启动数据库进程 --dbpath 制定数据库的目录
--port 制定数据库的端口,默认是27017 --bind_ip 绑定IP --directoryperdb 为每个db创建一个独立子目录
--logpath 制定日志存放目录 -...
分类:
数据库 时间:
2014-05-01 21:09:19
阅读次数:
451
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
题目: 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命令示例http://www.oschina.net/translate/15-practical-linux-find-command-examples?p=2#comments爹地,我找到了!
-- 15个极好的Linux find命令示例...
分类:
系统相关 时间:
2014-05-01 19:41:30
阅读次数:
429