V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jiaqidianbo  ›  全部回复第 1 页 / 共 1 页
回复总数  18
2016-01-19 11:36:30 +08:00
回复了 ericwang0717 创建的主题 推广 送 10 本《第一本 Docker 书》能刷出存在感吗?——实现网
实现网为了提高接单率,可以丰富您的技术顾问资料,展示作品,让充分聘用方充分了解你的工作实力。或者适当调低您的价格,获得好评后再调高价格。这个很不错啊。抽奖算法也很独特。
2015-11-12 14:25:34 +08:00
回复了 jiaqidianbo 创建的主题 问与答 hive -e 导出文件要包含 title 怎么做
@junphe 谢谢,成功了,但是第一行每个字段都包含了文件名 temp_training ,比如 temp_training.y_85 ,而我实际上数据库中表的只有 y_85
2015-09-30 13:00:11 +08:00
回复了 jiaqidianbo 创建的主题 问与答 hadoop 性能怎么调优
@c742435 IO 没有满,所以有提升的空间啊,但不知道怎么调
2015-09-23 09:38:43 +08:00
回复了 qq459969411 创建的主题 PHP 求 DESede 的解密方法。
/**
* 解密算法
* cryptograph:密文
*/
public static String decrypt(String cryptograph) throws Exception{
/** 将文件中的私钥对象读出 */
ObjectInputStream ois = new ObjectInputStream(new FileInputStream(PRIVATE_KEY_FILE));
Key key = (Key) ois.readObject();
/** 得到 Cipher 对象对已用公钥加密的数据进行 RSA 解密 */
Cipher cipher = Cipher.getInstance(ALGORITHM);
cipher.init(Cipher.DECRYPT_MODE, key);
BASE64Decoder decoder = new BASE64Decoder();
byte[] b1 = decoder.decodeBuffer(cryptograph);
/** 执行解密操作 */
byte[] b = cipher.doFinal(b1);
return new String(b);
}
public static void main(String[] args) throws Exception {
String source = "火车";//要加密的字符串
System.out.println("要加密的字符串:"+source);
String cryptograph = encrypt(source);//生成的密文
System.out.println("生成的密文:"+cryptograph+"==================");

String target = decrypt(cryptograph);//解密密文
System.out.println("解密密文:"+target+"------------------------");
}
}
@vmebeh 对的,没错,只要包含关键词就行,不管是在字符串首位还是中间还是尾部。
@shoper 不一定的,可以在中间出现,比如大公司,只要能匹配到就是。
2015-09-21 16:39:46 +08:00
回复了 jiaqidianbo 创建的主题 问与答 如何反编译 war 包
@fwrq41251 对,就是想导入 eclipse 修改源代码,怎么做呢
2015-07-23 00:14:15 +08:00
回复了 jiaqidianbo 创建的主题 问与答 免密码登录有的成功,有的失败是怎么回事儿
@kaneg

[root@newmaster .ssh]# ssh -v newnode3
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to newnode3 [192.168.1.25] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/identity-cert type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'newnode3' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_0' not found

debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_0' not found

debug1: Unspecified GSS failure. Minor code may provide more information


debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_0' not found

debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: password

root@newnode3's password:
2015-07-20 10:11:28 +08:00
回复了 jiaqidianbo 创建的主题 问与答 新手接触大数据学 spark 还是 hadoop?
听说spark马上要取代hadoop,所以应该从spark开始学,是这样吧。
2015-06-23 09:38:16 +08:00
回复了 zhangxiaobao 创建的主题 程序员 常用 XMPP 群推荐?
XMPP是一种基于标准通用标记语言的子集XML的协议,它继承了在XML环境中灵活的发展性。因此,怎么推荐这个群?
2015-06-16 11:25:01 +08:00
回复了 jiaqidianbo 创建的主题 问与答 java.lang.NullPointerException 异常怎么解决
@hcymk2 应该怎么改呀?能详细讲一下在哪个文件中哪一行应该改成什么?O(∩_∩)O谢谢
2015-06-15 16:45:58 +08:00
回复了 jiaqidianbo 创建的主题 问与答 java.lang.NullPointerException 异常怎么解决
@bravecheng
@reeco
@duoglas 项目在网盘中http://pan.baidu.com/share/link?shareid=1042416859&uk=805774074

可以导入java web项目后,在页面中可以打开,可以看到一共有三个输入框。

举个例子:可以在第一个框中输入4,第二个输入框中输入 2,3,4,5 第三个输入框中输入24

MyPoint项目是可以正常运行
而另一个TwentyFour项目就会报错。
2015-05-27 23:52:00 +08:00
回复了 lock522 创建的主题 程序员 UPYUN CDN 降价送福利:“顶”我拿奖领红包!
我想要书~~~
2015-05-27 10:37:21 +08:00
回复了 jiaqidianbo 创建的主题 问与答 数据库 SQL 语句问题,请大家帮帮忙
@wmttom 我想问一下,代码中的@表什么意思,还有c.Name种的c表示什么?
(SELECT @did:='',@rn:=0,@ss:=null) AS vars 这句语句我也没懂,冒号的作用。。
本人mysql初学者,感谢解答~~
2015-05-13 12:36:04 +08:00
回复了 jiaqidianbo 创建的主题 问与答 Foxmail 的已发送的邮件不能同步到网页端怎么办
@ge2009 对,其他邮箱没有问题的,就新浪不行。
斌桑,我猜3月25日的上证综指是3716,所以回复16
2015-03-13 11:10:02 +08:00
回复了 yy001 创建的主题 MacBook Pro 写代码是买 13 还是 15 寸好
买一台15寸的放单位,再买一台13寸的随身携带
2015-03-12 22:43:23 +08:00
回复了 jiaqidianbo 创建的主题 Java 请用 java 实现数组中输入的每个元素出现的个数
@Bitex 非常感谢,答案很完美~

同时也非常感谢所有回复的朋友们,都值得参考。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1122 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 23:26 · PVG 07:26 · LAX 16:26 · JFK 19:26
Developed with CodeLauncher
♥ Do have faith in what you're doing.