随着我的Firefox越来越庞大(因为用的扩展越来越多),这东西就好像I记的产品一样,大而全,然后就是大而慢。不得不到处搜索一下,看看有什么问题有待解决。结果就找到了这里:Problematic extensions,一堆有问题的Firefox扩展,其中还不乏一些我常用的东西例如Adblock Plus、IE Tab、Down Them All、Flashgot之流。内存泄露是出现得最多的,我也经常在用IE Tab的时候莫名其妙崩盘。最好笑的就是Fasterfox,居然有个问题是会Hangs or slows down Firefox,实在是太出众了!幸好我也早已不用这个所谓的“优化”软件了。
再次认证,只要是人做出了的软件就一定有bug,没有bug就不是软件了。May the troubleshooting be with you!
转自:http://initiative.yo2.cn/archives/640670
最近在豆瓣传播得很火。说明开复博士带领的谷歌中国团队已经把Google的本地化工作做到位了
谷歌翻译: 我认为中国足球是有希望的,
翻译成英语:
I do not think there is hope for China’s soccer
翻译成日语:
私は中国のサッカーへの希望だとは思わない
翻译成棒子语:
난 거기에 중국의 축구에 대한 희망이있다는 생각하지 마
德语:
Ich glaube nicht, gibt es Hoffnung für Chinas Fußball
法语:
Je ne pense pas que il ya de l’espoir pour la Chine de football
阿拉伯语:
لا أعتقد أن هناك أملا في الصين لكرة القدم
俄语:
Я не думаю, что есть надежда для Китая футбол
西班牙语:
No creo que hay esperanza para el fútbol de China
谷歌翻译: 我认为中国足球是没希望的 I think that China is no hope for football
同理可以得出结论:
我认为意大利足球是有希望的
I think that Italian football is a promising
我认为英国足球是有希望的
I think there is hope for football
我认为西班牙足球是有希望的
I think that the Spanish football there is hope
我认为法国球是有希望的
I do not think there is hope for France, the ball of
我认为德国足球是有希望的
I do not think there is hope for the German football the
我认为美国足球是有希望的
I think the United States there is hope for football
我认为日本足球是有希望的
I do not think there is hope for Japan’s soccer
我认为韩国足球是有希望的
I do not think there is hope for South Korea’s soccer
我认为阿根廷足球是有希望的
I do not think there is hope for Argentina’s football
我认为巴西足球是有希望的
I think that the Brazilian football there is hope
来自Sun网站的消息:
Sun and Oracle today announced a definitive agreement for Oracle to acquire Sun for $9.50 per share in cash. The Sun Board of Directors has unanimously approved the transaction. It is anticipated to close this summer.
甲骨文又撑肥了,IT业界从此又少了一个可以去的地方。
WebSphere会在配置文件(一堆的XML)当中存放各种密码(包括数据源、认证别名等等),例如在$WAS_Profile_HOME\config\cells\security.xml文件里面有类似”<authDataEntries xmi:id=”JAASAuthData_1238489272531″ alias=”myNode01/oracleDBA” userId=”oraadmin” password=”{xor}bm1sa2pp”/>”,就是存放认证别名为oracleDBA的用户名和密码。
可以看到在这里密码被重新编码(encode)了,编码的方式是XOR(eXclusive OR异或),很明显这种并不是一种强加密的算法,仅仅是一种编码而已,所以准确来说WebSphere为了避免密码被明文记录,只是很简单地“编码”(encode)而不是“加密”(encrypt)。
万一阁下一个不小心忘记了存放在WebSphere里面的密码,但是又想恢复过来的话,WebSphere这种只是编码而不是加密的存放密码形式,就帮助了你了。当然如果你想干坏事的话,WebSphere也算是给自己留下了一个“后门”了 -_-b。嘿嘿嘿,不要以为IBM那帮老爷子就是这么懒,如果阁下真的是要对存放在WebSphere配置文件里面的密码要加密的话(对于广大客户肯定是有这个诉求的),其实IBM也提供了一种自定义加密算法的插件形式去解决这个问题的,详情可以参考这个链接,在这里就不对这个问题进行展开讨论了。
好了,现在就对各个版本的WAS的密码编码和反编码进行讨论:
WAS 5.X的编码:
> cd $WAS_INSTALL_DIR/lib
> ../java/bin/java -cp securityimpl.jar:iwsorb.jar com.ibm.ws.security.util.PasswordEncoder 123456
WAS 5.X的反编码:
> cd $WAS_INSTALL_DIR/lib
> ../java/bin/java -cp securityimpl.jar:iwsorb.jar com.ibm.ws.security.util.PasswordDecoder {xor}bm1sa2pp
WAS 6.0的编码:
> cd $WAS_INSTALL_DIR/lib
> ../java/bin/java -cp securityimpl.jar:iwsorb.jar::ras.jar:wsexception.jar:bootstrap.jar:emf.jar:ffdc.jar com.ibm.ws.security.util.PasswordEncoder 123456
WAS 6.0的反编码:
> cd $WAS_INSTALL_DIR/lib
> ../java/bin/java -cp securityimpl.jar:iwsorb.jar::ras.jar:wsexception.jar:bootstrap.jar:emf.jar:ffdc.jar com.ibm.ws.security.util.PasswordDecoder {xor}bm1sa2pp
WAS 6.1的编码:
> cd $WAS_INSTALL_DIR/bin\ProfileManagement\plugins\com.ibm.websphere.v61_6.1.200
> java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordEncoder 123456
WAS 6.1的反编码:
> cd $WAS_INSTALL_DIR/bin\ProfileManagement\plugins\com.ibm.websphere.v61_6.1.200
> java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder {xor}bm1sa2pp
以上内容参考转载自robertmaldon。
当然,如果你觉得很麻烦的话,其实也有一个网站直接帮你解码:WebSphere Password Decoder
最新评论