第82空降师第4旅级战斗队的Eric L. Jenner三级军士长他正在参加这周进行的年度士官/伞兵竞赛,图为他在进行地面导引测试那一天进行图上作业。

Staff Sgt Eric L. Jenner from the 4th Brigade Combat Team, 82nd Airborne Division, plots points on his map for the day portion of the land navigation test for the NCO and Trooper of the Year competition going on this week.

Enhanced by Zemanta
 

hangsen e liquids 腾讯的QQ空间在国内实在太流行了,弄的我也没办法,我不喜欢那个界面,尤其是很多的js加载起来太慢了,不过谁让人家用户群多呢,我就在想办法把这个博客和QQ空间同步起来。WordPress有个插件是利用了QQ空间的邮件发布功能来实现同步的,名字叫做Post2Qzone。不过这个插件貌似已经不再维护了,如果你现在用他,那么他会告诉你smtp服务器连接不上,这是因为原来的版本中他没有用ssl协议连接smtp服务器。所以我们来改一下参数就好了。首先进入编辑插件的界面,编辑那个叫做post2qzone.php的文件。找到那个名为sendPostByPhpMailer的函数。
QZone, developed by Tencent Inc., is a widely used web application in China. Many small web applications are integrated in it. Blog module is also one of them. After being tired of importing my posts from taubau.info to my QZone manually, I found the WordPress plugin called Post2QZone. It makes use of the function of posting via email(QQMail) supplied by QZone. That is to say, you should enable the smtp function of your QQMail. But it’s no longer maintained by its author. Several parameters have to be added before you can use it. Try to edit the main file of the plugin (post2qzone.php). Find the function with the name of sendPostByPhpMailer:


function sendPostByPhpMailer($qq, $qqpw, $bcc, $title, $body){
global $debug;
if ( !class_exists('PHPMailer') ) {
require_once ABSPATH . WPINC . '/class-phpmailer.php';
require_once ABSPATH . WPINC . '/class-smtp.php';
}
$mail = new PHPMailer();
$mail->SMTPDebug = $debug;

$mail->IsSMTP();
$mail->Mailer = "smtp";
$mail->CharSet = 'utf-8';
$mail->Encoding = 'base64';
$mail->IsHTML(true);
$mail->SMTPAuth = true;
$mail->Host = "smtp.qq.com";
$mail->Username = $qq;
$mail->Password = $qqpw;
$mail->From = $qq.""
$mail->FromName = $qq;
$mail->Port = 465;
$mail->SMTPSecure = "ssl";

// $mail->AddAddress($qq."");
// if(!empty($bcc)) {
// $mail->AddAddress($bcc);
// }

$recipients = array();
$recipients[] = $qq."";
$recipients[] = $bcc;

foreach ($recipients as $recipient) {
if(!empty($recipient)) {
$mail->ClearAllRecipients(); // remove previously set addresses.
$mail->ClearReplyTos();
$mail->AddAddress($recipient);
$mail->Subject = $title;
$mail->Body = $body;

 

if($debug) {
echo "标题: [".$title."]
";
echo "内容: [".$body;
echo "
]-------------------
使用账号:
";
echo $qq."抄送到:".$bcc."
";
echo "
发送结果:
".$mail->Send();
echo "
----------------------
Debug结束, 请检查内容是否发布到QQ或指定抄送邮箱";
exit();
}else {
$mail->Send();
}
}
}
}
?>

向这个函数里面加入两行代码,就是给两个参数赋值,复制下面的代码,具体的黏贴位置参照上面代码中粗体字的位置:
Add two parameters to the function (in bold font, above):

$mail->Port = 465;
$mail->SMTPSecure = "ssl"

这篇日志已经可以在我的QQ空间里面找到了吧:)
Then everything should work well.

Enhanced by Zemanta
Jian Yang liked this post
 

2011年3月16日 日本 仙台机场
在一架MC-130H战斗爪II型飞机成功着陆后,第320特种战术中队一名战斗控制员正在引导该机。该中队的乘员原本是驻守在日本嘉手纳空军基地的,此次被部署至仙台机场是帮助清理跑道并为固定翼飞机的航空管制提供支持。
美国空军 Samuel Morse中士拍摄

A U.S. Air Force combat controller with the 320th Special Tactics Squadron marshals an MC-130H Combat Talon II after a successful landing at Sendai Airport, Japan, March 16, 2011. Members of the 320th STS, stationed out of Kadena Air Base, Japan, deployed to Sendai Airport to help clear the runway and make it ready for fixed-wing aircraft traffic. (U.S. Air Force photo by Staff Sgt. Samuel Morse)(Released)

Enhanced by Zemanta
 

2011年3月23日 泰国
驻日嘉手纳空军基地的第44远征战斗机中队F-15 鹰式战斗机准备离开泰国Korat皇家空军基地,参加2011年度的Cope Tiger推演演习,演习从3月14日开始,25日结束。Cope Tiger的参演方有美国空军、美国海军陆战队和泰国皇家空军,泰国皇家陆军以及新加坡空军。
美国空军 Cohen A. Young 三级军士长

F-15 Eagle pilots assigned to the 44th Expeditionary Fighter Squadron at Kadena Air Base, Japan, prepare to depart Korat Royal Air Force Base, Thailand, March 23, 2011, to participate in an exercise scenario during Cope Tiger 2011, which runs from March 14 through 25. Participants of Cope Tiger include the U.S. Air Force, the U.S. Marine Corps, the Royal Thai Air Force, Royal Thai Army and the Republic of Singapore Air Force. (U.S. Air Force photo/Master Sgt. Cohen A. Young)

Enhanced by Zemanta
 

Now, here it comes the second post about my new year traveling… ^_^

After you go through the bridge of Széchenyi Lánchíd, you will reach the Buda part of the Budapest. It’s different from the Netherlands because there are mountains. So, they also have the funicular for taking you up to the peak. But we think the ticket price is a little expensive, and there were many people waiting for getting on the cars. So we decide to climb up on our feet.

Here is a picture of Mátyás-templom, due to the construction site around it, the lower part is cut.

The Halászbástya is just around the above church.

You can get an overview of Budapest on Halászbástya. Due to the bad weather, the pictures are not good as expected.

The parliament building in the fog.

Overview of Budapest from Halászbástya

Overview of Budapest from Halászbástya

You can also get a scale model of the Halászbástya and the Mátyás-templom.

A scale model of Mátyás-templom and Halászbástya

A scale model of Mátyás-templom and Halászbástya

There were several lovely stores for tourists, such as lovely dolls.

Lovely dolls on the side of the road

Lovely dolls on the side of the road

Another place of interests is the Buda Castle, the Matthias Fountain is one of the most photographed objects in the palace.

Matthias Fountain

Matthias Fountain

[to be continued...]

 

在对利比亚的作战中,联军的第一则受伤事件不是那么恐怖:F-15鹰式战斗机的乘员因为在利比亚东北部上空遇到设备故障于周一深夜弃机逃生。
The first allied casualty over Libya turns not to be so dire: the crew of an F-15 Strike Eagle ejected over northeast Libya after their jet experienced an “equipment malfunction” late Monday night.

美军非洲司令部发言人Ken Fidler说,“营救飞行员的行动仍在进行当中,但他们是安全的”。
Ken Fidler, a spokesman for the U.S. Africa Command, tells Danger Room that recovering the pilots “continues to be an ongoing operation, but they are safe.”

需要说明的是,卡扎菲的地对空导弹并没有击中这架F-15战斗机。在飞行员被联军营救之前,Fidler也不会透露关于营救行动的细节,但是他说这两名飞行员当时是在利比亚东北方上空“针对卡扎菲政权的防空系统进行打击”。
To be clear, Moammar Gadhafi’s ground-to-air missiles didn’t shoot down the F-15. Fidler wouldn’t elaborate on much about the recovery effort until the F-15’s crew is back in allied hands, but he said they were flying “a strike mission against Gadhafi regime air defense systems” over northeast Libya.

F-15发生一些机械故障也不是什么新鲜事儿了。2007年就有一架F-15 C战斗机在国内训练过程中神秘地在空中解体,空军方面紧急将700架F-15停飞。但是John D.W. Corley上将,即后来的空军空战司令部指挥官说,最新型的攻击鹰式战斗机(F-15E)“面临的压力更小”,比原型号的设计缺陷更少。
The F-15 is no stranger to mechanical error. In 2007, after an F-15 C model mysteriously disintegrated during a stateside training exercise, the Air Force took the drastic step of briefly grounding the entire F-15 fleet of 700 planes. But the Strike Eagles, the newest models, were found to be “exposed to less stress” and had fewer design flaws than its predecessors, according to Gen. John D.W. Corley, then commander of the Air Force’s Air Combat Command.

英国每日电讯报的记者称在Benghazi叛军国会大厦附近拍到了失事战机的残骸。Fidler称他不能透露取回失事飞机是营救任务的一部分。
Reporters for the British Daily Telegraph ran a photo claiming to show the wreckage of the crashed jet, discovered in a field near the rebel capitol of Benghazi. Fidler said he couldn’t say if retrieving the junked aircraft is part of the recovery mission.

al-Jazeera在Twitter上发布消息说失事飞机上的两名乘员都落在了利比亚的土地上,而且战机的武器官已经被“叛军解救”。
al-Jazeera tweets that both crew members are “off #Libya soil” and that the jet’s weapons officer was “rescued by rebels.”

当奥德赛黎明行动进行到第4天的时候,这是第一次确认有联军飞机失事。美国军方官员并未确定是否是卡扎菲军队向联军飞机发射了导弹,因为轰炸机、战斗机以及巡航导弹从周六开始就在攻击其防空系统。Carter Ham上讲,非洲司令部参谋长周一在五角大楼告诉记者说,自空袭开始“卡扎菲政权的远程防空雷达那里没有检测到任何的信号发射出来”。
That’s the first confirmation of a downed allied plane as Operation Odyssey Dawn enters its fourth day. U.S. military officials haven’t specified if Gadhafi has fired any missiles at allied planes since bombers, jets and cruise missiles began taking out his air defenses on Saturday. Gen. Carter Ham, chief of Africa Command, told reporters at the Pentagon on Monday that he’s “detected no emissions from regime long-range air defense radars” since the strikes began.

照片来自:美国空军
Photo: Air Force

Enhanced by Zemanta
© 2012 TAO Ke's Blog Suffusion theme by Sayontan Sinha
Sitemap