Re-hashing Physics & Philosophy With Dr. Feyman’s Lectures & Book重新散列物理及哲學博士feyman的講座及預訂

July 1st, 2008 2008年7月1日

I am re-hashing my physics fundamentals with Dr. Feynman’s lectures.我重新散列我的物理學基本與博士費曼的演講。 Did I mention how I love reading his books?當時我提到如何我愛讀他的書? I have great admiration for Dr. Richard Feynman, next only to Dr. Albert Einstein & Dr. Jagadish Chandra Bose.我非常欽佩博士理查德費曼,僅次於愛因斯坦博士及博士jagadish錢德拉百色。

Read more (137 words) » 閱讀更多( 137字) »

5 Minute Guide To Selenium IDE and Selenium Remote Control (Java) Test Tools 5分鐘指南硒IDE和硒的遠程控制(爪哇)測試工具

July 1st, 2008 2008年7月1日
Selenium is a high quality open source test automation tool for web application testing . 是一種高品質的開放源代碼測試自動化的工具, Web應用程式的測試 Selenium runs in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh, Safari on the Mac, with plans to support Safari on iPhone soon.硒運行在Internet Explorer , Mozilla和Firefox對Windows , Linux和Macintosh上, Safari瀏覽器在Mac ,與計劃支持的Safari ,擁有很快。 Selenium test scripts are portable, can be run from browsers (using Selenium IDE) or from JUNit or NGUnit (using Selenium RC) etc..硒的測試腳本是便攜式,可從本機運行瀏覽器(使用硒的IDE ) ,或從junit或ngunit (使用硒區局)等。 For example, test scripts written using Selenium IDE in Firefox on Windows can run on Firefox in Mac or Linux, without changing any code.舉例來說,測試腳本的書面使用硒的IDE在Firefox在Windows可以運行的Firefox在Mac或Linux ,沒有改變任何代碼。 Selenium tests run directly in browsers and so matches the end-user experience closely.硒的測試運行,直接在瀏覽器和使比賽的最終用戶體驗的緊密合作。

There are three variants of Selenium, which can be used in isolation or in combination to create complete automation test suite for your web applications.有三個變種的硒,可用於在隔離或相結合,以創建完整的自動化測試套件,為您的Web應用程序。

  • Selenium Core - In Selenium Core the tests scripts (written in HTML) and the Selenium Test Runner (written in Javascript) are uploaded to the same web server that hosts the application you are trying to test.硒的核心-在硒為核心的測試腳本(寫在H TML)和硒測試亞軍(書面J avaScript中)是因為上傳到相同的W eb伺服器主機的應用您正試圖考驗。 It is a simpler form of Selenium, and suitable for non-developers, but it has some inherent limitations.這是一個簡單的形式,硒,適合非開發,但也有一些固有的局限性。

  • Selenium IDE - Selenium IDE is a Firefox plugin, which includes the entire Selenium Core, allows you to record, play back, edit, and debug tests in browser.硒的IDE -硒的I DE是一個F irefox的插件,其中包括整個硒的核心,讓您的紀錄,發揮回,編輯和調試測試,在瀏覽器中。 It provides the simplest introduction to Selenium and is highly recommended for beginners.它提供了簡單的介紹了硒和強烈建議初學者。 You can save the tests / test suite created in xml or html format.您可以儲存測試/測試套件中創建的XML或HTML格式。 However to run them in an automated fashion you need Selenium Remote Control which is described next.不過,他們在運行一個自動時裝您需要硒的遠程控制,其中所描述的未來。

  • Selenium Remote Control - The Selenium Remote Control allows you to develop test cases and test suites in Java (supports JUnit & NGUnit), PHP, Ruby, Python, Perl and even .NET.硒遠程控制-硒遠程控制讓您開發測試案例和測試套件在J ava(支持j unit& n gunit) , P HP的,紅寶石,使用P ython, P erl和甚至。淨。 It is the most flexible setup but requires some development knowledge to set up and use.這是最靈活的安裝,但需要一些發展的知識,設置和使用。

  • Selenium Grid - Selenium Grid allows several Selenium Remote Control servers to be accessed in parallel by Selenium Grid server.硒網格-硒的網格,讓幾個硒遠程控制服務器來訪問,在平行硒的網格服務器。 This is extremely useful for automated load and stress testing of web applications.這是非常有用的自動負載和壓力測試的Web應用程序。



Today we will discuss on how you can easily create automatic test scripts using Selenium IDE and convert them to JUnit tests (which uses Selenium Remote Control) which can be added to your JUnit based automatic regression test suite.今天,我們將討論關於如何您可以輕鬆地創建自動測試腳本使用硒IDE和其轉換為junit測試(使用硒遠程控制) ,它可以被添加到您的junit基於自動回歸測試套件。
Read more (1116 words) » 閱讀更多資訊( 1116字) »

Firefox Download Still Sucks, At Least It Recovers Firefox下載仍然sucks為,但至少復甦

June 30th, 2008 2008年6月30日

Firefox download manager is still flaky, even after three major versions. Firefox下載經理仍是片狀,即使在三個主要的版本。 Often the download stops for no apparent reasons.往往是下載站,並沒有明顯的理由。 At least in version 3, you can safely stop and then resume the download, which works as expected.至少在第3版,您可以放心地停止,然後恢復下載,其中如預期般運作。

Read more (44 words) » 閱讀更多( 44字) »

Free WordPress Plugin To Remove Generator Meta Tag / Version Information From WordPress Blogs免費wordpress插件,以消除發電機中繼標記/版本信息從WordPress Blogs的

June 30th, 2008 2008年6月30日

WordPress, in recent versions, have forces the display of WordPress as the generator in meta tags along with the version information in the header of your WordPress blogs -在WordPress ,在最近的版本,有力量,展示的WordPress作為發電機在META標記隨的版本信息的標題,如此即可WordPress Blogs的- . Unlike previous versions there is not easy way to remove it.不像以前的版本有是不容易的方法,將它移除。 Unless WordPress is using that to provide support (which it doesn’t), I don’t see any good reason for providing that extra bit of help to hackers, do you?在WordPress ,除非是使用提供支持(這並不) ,我看不出有任何好的理由,提供額外的一點幫助黑客的攻擊,你呢? Here is a simple plugin which will remove the WordPress generator meta tag along with its version information.這裡是一個簡單的插件,其中將刪除的WordPress發電機中繼標記,隨著其版本信息。

Read more (171 words) » 閱讀更多( 171字) »

Free WordPress Plugin To Disable wlw_manifest & EditURI Link From WordPress Blog Header免費wordpress插件禁用wlw_manifest & edituri鏈接WordPress所博客標題

June 29th, 2008 2008年6月29日
Newer versions of WordPress (2.3.1 and above) adds two extra lines to your blog header.較新版本的WordPress所( 2.3.1及以上)增加了兩個額外的線路到您的博客標題。 They are:他們是:

You need them to use Windows Live Writer to write to your WordPress blog.您需要他們使用Windows Live作家寫信給您的WordPress博客。 However many, like me, do not use Windows Live Writer.然而,許多和我一樣,不使用Windows Live作家。 For them such headers are simply junk and add to the size of their pages (and download time) without adding any value to them or to their users.為他們這樣的標題純粹是垃圾,並加入到大小其網頁(下載時間)在不增加任何價值,他們或向他們的用戶。 For such bloggers (majority I presume) here is a simple WordPress plugin ( Angsuman's Windows Live Manifest Remover WordPress plugin ) which removes these two header links from your WordPress blog.這種博客(多數我假設)在這裡是一個簡單的wordpress插件( Angsuman的的Windows Live艙單器wordpress插件 ) ,其中刪除了這兩個標題的鏈接從您的WordPress博客。

Download Angsuman's Windows Live Header Remover Plugin下載Angsuman的的Windows Live頭器插件 , rename the file to angsumans-windows-live-header-remover.php, upload it to wp-content/plugins folder of your blog and activate it from Plugin Management screen. ,將該文件重命名為angsuman的窗口-生活-標題- remover.php ,將其上傳到wp-content/plugins文件夾,您的博客並激活它從插件管理畫面。 It requires zero configuration.它要求零配置。 It does one thing and does it well - remove these two useless headers from your WordPress blog.但這一件事,是否以及-刪除這兩個無用的標題從您的W ordPress博客。

Technical Note: There is a similar WordPress plugin which does the same thing.技術說明:有一個類似的wordpress插件,這是否同一件事。 This plugin works differently in that it doesn't add the code directly to the plugin body but to the 'init' hook.此插件工程不同,因為它不添加代碼,直接向插件機構,但以' init的'鉤。 This ensures that this plugin will remain compatible with future versions of WordPress as it doesn't depend on the relative order of execution of the plugins versus the default WordPress filters.這將確保此插件將繼續與未來版本的WordPress的,因為它不依賴於相對的順序執行該插件銀兩默認的WordPress過濾器。 Sounds complicated?聽起來複雜嗎? To put it simply - Install the plugin and then forget about it forever.把它簡單-在電腦上安裝插件,然後忘記它永遠。 It will continue to serve you (your blog) in the background for a very long time.它將繼續為您服務(您的博客)在背景中一段很長的時間。

You can get more你可以獲得更多 free WordPress plugins here免費wordpress插件在這裡 .

Java Application Security Through Static Analysis Java應用程式安全通過靜力分析

June 28th, 2008 2008年6月28日

Extendable (by延展( plugins插件 , ) Static Analysis tools like )靜態分析工具,如 FindBugs findbugs can enhance the security of your Java applications (web as well as standalone or client-servers applications) in several significant ways.可以提高安全性您的Java應用程式(網絡,以及作為獨立或客戶端-服務器應用程序)在幾個重要的途徑。

Read more (326 words) » 閱讀更多( 326字) »

5 Ways To Block A Spammer & Splogger By IP Address From WordPress Blogs 5種方法來阻止垃圾郵件及splogger由IP地址從WordPress Blogs的

June 28th, 2008 2008年6月28日

For regular spammers and sploggers, banning their IP address is a simple and effective way to get rid of them.定期垃圾郵件發送者和sploggers ,禁止其IP地址是一種簡單而有效的方法,擺脫他們。 I will describe three methods here with the simplest at the very end.我將描述三種方法在這裡與最簡單的在最後一刻。 Let’s take a simple case study.讓我們以一個簡單的個案研究。 ntoolz.net has been copying my posts with an automated content creation tool and then blessing me with a pingback for his splog content! ntoolz.net已複製我的職位與自動化內容創作工具,然後祝福我與pingback他splog內容! So I decided to ban him.因此,我決定禁止他。

Read more (693 words) » 閱讀更多( 693字) »

How To Safely Redirect /index.php To / Using .htaccess / Apache如何安全重定向/的index.php /使用。 htaccess的/阿帕奇

June 28th, 2008 2008年6月28日

Any PHP based software like WordPress, Mambo, Joomla, Drupal, MODx etc. will serve pages both from http://your-site.com as well as http://your-site.com/index.php .任何基於PHP的軟件一樣,在WordPress ,曼波, joomla , drupal , modx等,將服務的頁面都從http://your-site.com以及http://your-site.com/index.php This creates duplicate content for search engines, which may then decide to penalize your site for duplicate content.這將創建重複的內容為搜索引擎,其中可能,然後才決定要懲罰您的網站,重複的內容。 You can safely prevent duplicate content with the following apache code / directive added to your .htaccess file (or in httpd.conf):您可以放心地防止重複的內容與下列的Apache代碼/指令添加到您的。 htaccess的文件(或在httpd.conf ) :

Read more (215 words) » 閱讀更多( 215字) »

Warning: XML SiteMap Generator Plugin for WordPress May Report Fewer URL’s警告: XML的Sitemaps生成器插件的WordPress可能會報告較少網址的

June 27th, 2008 2008年6月27日

Arne Brachold’s popular XML Sitemap generator plugin for WordPress may report fewer URL than that exists on your website.阿爾內brachold流行的XML的Sitemaps生成插件的WordPress可能會報告較少的網址,比存在於您的網站。 This in turn means less URL’s which you are submitting to search engines for indexing.這反過來又意味著少URL的您提交給搜索引擎索引。

Read more (249 words) » 閱讀更多( 249字) »

Twitter Overloaded… Again and Again twitter超載…一而再,再而

June 26th, 2008 2008年6月26日

Twitter seems to be having serious scalability issues, a malaise which plagued the otherwise popular service since its early days. twitter似乎是有嚴重問題的可擴展性,其中的弊病困擾,否則流行的服務,自成立初期天。

Read more (94 words) » 閱讀更多( 94字) »