jiaqidianbo 最近的时间轴更新
jiaqidianbo

jiaqidianbo

V2EX 第 101757 号会员,加入于 2015-03-02 13:34:57 +08:00
有没有类似 navicat 的 hive 工具
问与答  •  jiaqidianbo  •  2017-03-29 13:36:31 PM  •  最后回复来自 omygod
1
哪个预测算法比较准确
问与答  •  jiaqidianbo  •  2015-11-13 16:19:01 PM  •  最后回复来自 Khlieb
2
hive -e 导出文件要包含 title 怎么做
问与答  •  jiaqidianbo  •  2015-11-12 14:25:34 PM  •  最后回复来自 jiaqidianbo
3
hadoop 性能怎么调优
问与答  •  jiaqidianbo  •  2015-09-30 13:00:11 PM  •  最后回复来自 jiaqidianbo
2
如何将 csv 文件的格式在 Linux 批量转换成 utf-8 的编码格式
问与答  •  jiaqidianbo  •  2015-09-29 09:38:22 AM  •  最后回复来自 m3ng9i
3
如何写批量输入解压密码的脚本
问与答  •  jiaqidianbo  •  2015-09-29 08:46:40 AM  •  最后回复来自 znoodl
2
jiaqidianbo 最近回复了
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环境中灵活的发展性。因此,怎么推荐这个群?
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4013 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 01:02 · PVG 09:02 · LAX 17:02 · JFK 20:02
Developed with CodeLauncher
♥ Do have faith in what you're doing.