rss

Featured Posts

Why Git Why Not SVN? Security The key difference between the two systems seems to be the model itself. Where Subversion offers a centralized model, Git provides a decentralized model. At the risk of over simplification, this means that Git offers each developer their very own, fully autonomous copy of the entire repository....

Read more

Fast-track your Web apps with Ruby on Rails Fast-track your Web apps with Ruby on Rails Ruby on Rails is a recent entry into the world of Web application development that is rapidly gaining mindshare, even while still in beta versions. Rails succeeds by automating the creation of the most common types of Web applications while not straightjacketing...

Read more

Mutable and Immutable Objects Mutable objects : 1)Mutable objects are objects whose state can change. 2)In Ruby, Mutability is a property of an instance. 3)Any instance can become immutable by calling the "freeze". Immutable objects : 1)Immutable objects are objects whose state never changes after creation. 2)Immutable...

Read more

Code Analyzers for PHP Code analyser functions:- Checks code for error Checks code for syntax  Show linkages between various modules Detects code duplication Doxygen Doxygen can be configured to render nice inheritance graphs with graphviz. It can help you in three ways: It can generate an on-line...

Read more

PHP forAndroid.apk HOWTO install and test The video shows how to install PHP on Amdroid and start building your PHP apps for Android PHPforAndroid.apk HOWTO install and test from irontec on Vimeo.

Read more

Dec
06

Code Analyzers for PHP

Posted (Amit) in Featured, PHP on 06-12-2010

Code analyser functions:-

  • Checks code for error
  • Checks code for syntax 
  • Show linkages between various modules
  • Detects code duplication

Doxygen can be configured to render nice inheritance graphs with graphviz. It can help you in three ways:

  • It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in ) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code.
  • You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. You can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.

phpCallGraph. is a tool to generate static call graphs for PHP source code. Such a graph visualizes the call dependencies among methods or functions of an application. Arrows represent calls from one method to another method. Classes are drawn as rectangles containing the respective methods. The graphs can be leveraged to gain a better understanding of large PHP applications or even to debunk design flaws in them.

PMDs duplicate code detection for PHP code. 

Yasca — Yet Another Source Code Analyzer, a plugin-based framework for scanning arbitrary file types, with plugins for scanning PHP and other file types. It integrates with other scanners, including FindBugs, JLint, PMD, and Pixy.

DMS

DMS Software Reengineering Toolkit — Supports custom analysis of PHP  and many other languages. Also COTS tools for clone analysis, dead code analysis, and style checking.

Fortify — Helps developers identify software security vulnerabilities in PHP as well as configuration files. 

Detects security flaws in PHP web applications

Analyzes PHP — reverse engineering of source, code navigation, and metrics tool.

Visualize and understand the application components & associations
Find way through the most complex code
Focus on coding, maximize your time 

Finds security flaws in application binaries and bytecode without requiring source.

Share
Oct
17

The Zen of Python

Posted (Amit) in Information on 17-10-2010

 

 

    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one– and preferably only one –obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea — let's do more of those!
 

 

Share
Oct
14

What is a QR Code

Posted (Amit) in Information on 14-10-2010

A QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The “QR” is derived from “Quick Response”, as the creator intended the code to allow its contents to be decoded at high speed. A QR code can be a URL, simple text, SMS message, Phone Number or a Business card. Many companies in Japan are using QR codes in there advertisements so that the people can easily access further information via there mobiles devices. The use of the QR Code is free of any license. The QR Code is clearly defined and published as ISO standard. QR Code can handle alphanumeric character, symbol, binary, and other kinds of codes. QR Code can hold up to 7,089 characters in a single symbol.

There are a lots of online QR code generator.
Here are QR codes for my website URL

QR code for my blog link

Share
Oct
12

Mac skin for Twitter Client Twhirl

Posted (Amit) in Information on 12-10-2010

I was searching for a mac like skin for my Twitter client Twhirl. I was not able to get a good looking mac skin, so i decided to put some effort to create one for myself. Here it is. I have not given much time to work on it but will keep you posted once i am done with it.

Download the skin here

Mac Skin for Twhirl

Share
Oct
10

Cebu Pacific FAs dancing

Posted (Amit) in Information on 10-10-2010

Just came across this funny but informative video. Very limited people listen to the Flight Attendants instructions, but this is an innovative way to attract people attention.

Share
Sep
30

PHP forAndroid.apk HOWTO install and test

Posted (Amit) in Featured, PHP on 30-09-2010

The video shows how to install PHP on Amdroid and start building your PHP apps for Android

PHPforAndroid.apk HOWTO install and test from irontec on Vimeo.

Share
Sep
28

Celebrity Wax Museum Lonawala, Pune

Posted (Amit) in Information on 28-09-2010

5

 

Last weekend i got a chance to visit Lonawala & Khandla, which are near Pune. While being there i got a chance to see a celebrity wax museum. The artistic wax images of the celebrity were looking like they are real, really i appreciate the hard work that Mr Sunil Kandalloor has put in. In 1999 he experimented to make wax models. His first Wax Sculpture was the bust size model of Lord Krishna. He opened his first Wax Museum in Kanyakumari on 24 Dec, 2005 and in the year 2008, one more Wax Museum named "Wonder Wax" was opened at Thekkady, Kerala.
 
 

 

Share
Sep
28

Visit to Sikkim

Posted (Amit) in General on 28-09-2010

1

 

Sikkim (Lepcha: Mayel Lyang; Limbu: Yuksom, one of the fortified place;[1] Standard Tibetan: , bras ljongs; Denzong;[2] Demojongs; Nepali: About this sound सिक्किम , i.e. the Goodly Region, or Shikim, Shikimpati or Sikkim of the English and Indians…[3]) is a landlocked Indian state nestled in the Himalayas. It is the least populous state in India and the second-smallest state after Goa.[4] This thumb-shaped state borders Nepal in the west, the Tibet Autonomous Region of the People's Republic of China to the north and the east and Bhutan in the southeast. The Indian state of West Bengal borders Sikkim to its south.[5] Despite its small area of 7,096 km2 (2,740 sq mi), Sikkim is geographically diverse due to its location in the Himalayas. The climate ranges from subtropical to high alpine. Kangchenjunga, the world's third-highest peak, is located on the border of Sikkim with Nepal.[6] Sikkim is a popular tourist destination owing to its culture, scenic beauty and biodiversity.

Legend has it that the Buddhist saint Guru Rinpoche visited Sikkim in the 9th century, introduced Buddhism and foretold the era of the monarchy. Indeed, the Namgyal dynasty was established in 1642. Over the next 150 years, the kingdom witnessed frequent raids and territorial losses to Nepalese invaders. It allied itself with the British rulers of India but was soon annexed by them. Later, Sikkim became a British protectorate and merged with India following a referendum in 1975.

Sikkim has 11 official languages: Nepali (lingua franca), Bhutia, Lepcha (since 1977), Limbu (since 1981), Newari, Rai, Gurung, Mangar, Sherpa, Tamang (since 1995) and Sunwar (since 1996).[7] English is taught at schools and used in government documents. It is the only state in India with an ethnic Nepalese majority. The predominant religions are Hinduism and Vajrayana Buddhism. Gangtok is the capital and the largest town. Sikkim has a booming economy dependent on agriculture and tourism, and has the only open border between India and China.

Share
Sep
28

My GlobalLogic Days

Posted (Amit) in General on 28-09-2010

Share
Sep
28

Namazu with PHP5 on Linux

Posted (Amit) in Featured, PHP on 28-09-2010

1

Namazu is a full-text search engine intended for easy use is what the namazu site tells its users. I have already worked on namazu and it worked amazingly fast. Recently i started working on a project having tens & thousands of records and it was cumbersome for MySQL to work efficiently under that much load. I decided to use namazu for that but unfortunately i was working on a windows based platform and its very difficult to configure PHP5 with namazu on windows. I was able to install namazu easily on windows. One can use the CGI mode to use namazu on windows but installing namazu as a PHP extension is difficult at least for me at this time.

But i was able to install namazu on LINUX and was also able to install namazu as a PHP extension on LINUX. While stumbling though site searching for installing namazu with PHP5 i got this link which describes how one can install namazu on LINUX and its PHP extension also.

I will keep on searching how to get namazu as a PHP extension, meanwhile you can use this link to get namazu working on LINUX.

Share

Amit Yadav is Stephen Fry proof thanks to caching by WP Super Cache