Saturday, December 31, 2011

Photoshop CS5 best features demo

Adobe Creative Suite (CS) is a collection of graphic design, video editing, and web development applications made by Adobe Systems. The collection consists of Adobe's applications (e.g., Photoshop, Acrobat, InDesign), that are based on various technologies (e.g., PostScript, PDF, Flash). The latest version, Adobe Creative Suite 5.5 (CS5.5), was released on April 12, 2011.

Creative Suite 5 and I thought I would share with you Top 5 Favorite Features in Photoshop CS5. There are certainly many more new features than you'll see here, but these are definitely among my favorites.

Photoshop Convert photo to sketch/line draw

This tutorial is just the first video of a multi video session that will show how to turn a photo into a drawing and adding a lil jazz to the image.

Friday, December 23, 2011

TOP 5 Sql Server Scripts

/* 1 -------------------------------Script------------------------------

This script captures CPU Utilization Percent using TSQL. It uses system functions @@CPU_BUSY and @@IDLE
to see what is the CPU Utilization % at a particular instant. You can then use this number in a table or variable
to trigger other events.

@@CPU_BUSY  shows the time SQL Server has been busy
@@IDLE shows the time SQL Server has been idle




WAITFOR DELAY '000:00:01'

(@@CPU_BUSY - @CPU_BUSY)/((@@IDLE - @IDLE + @@CPU_BUSY - @CPU_BUSY) * 1.00) *100 AS CPU_Utilization_Pct

Wednesday, December 21, 2011

2 Nodes RHEL6 Cluster Configuration

Step by Step 2 Nodes RHEL6 Cluster Configuration

Virtual Lab Environment
1.    Two Nodes
2.    SAN Storage Server (software iscsi-taget)

Two Nodes
1.    Rhelsrv1
      OS: RHEL6 Server
       IP :
Iscsi-initiator – iscsi-client

2.    Rhelsrv2
      OS: RHEL6
      IP :

3.    Client1
       OS: RHEL6 Desktop
        IP :

4.    Cluster Name: iscsicluster
        IP :

Required Software
Set up yum repo in all three nodes
From Vbox interface , attach rhel6 iso as cdrom and reboot the VMs.
Mount /dev/sr0 /media

Install Python3 on RHEL

One of my frined was facing trouble while installing Python3 on RHEL. I followed the following steps to install it on RHEL:

One thing i would like to say,It is very easy to install  manually:


1. To download python3 Download:


2. Now Unzip

bzip2 -cd Python-3.2.2.tar.bz2 | tar xvf -

3. Its time to Prepare compilation


4. Now start Build


5. start Installation

make install

Happy installing :)

Friday, November 11, 2011

Great business tips from Steve Jobs

1. Be innovative
Steve Jobs was committed and dedicated to technological innovation, Moaiyad Hossenally, senior industry manager for Asia-Pacific ICT practice at Frost & Sullivan, noted in an e-mail.
Pointing to one of Jobs' quotes, "Innovation distinguishes between a leader and a follower", he said the former Apple CEO worked at marrying art and science to bring about technological innovation. "This was the biggest difference in Apple as compared to other PC manufacturers."
Jan Dawson, chief telecoms analyst, said Jobs was not constrained by what has been done before, what is available in the market, or what consumers think they want. Under his leadership, Apple had been very good at reinventing categories in a way consumers could not have articulated "ahead of time" but responded to "enthusiastically", the analyst explained in an e-mail.
Bryan Ma, associate vice president of client devices at IDC Asia-Pacific, shared that even though Apple had not been at the "forefront" of technology, they were innovative in making the product easy enough to use and attractive enough for the mass market.
"Apple made technology cool by simplifying technology and making it cool," he said in a phone interview.
Apple customer Tan Dezhong praised Jobs' for daring to be different and challenging the status quo. "Jobs could tap his inner creativity to create products that change the world," said the banker. "If I could, I'd like to pick up that ability."
2. Have both foresight and confidence
In his tribute to Jobs, Frost & Sullivan Chairman David Frigstad wrote: "Many claim the title of a true visionary, but Jobs set the standard by which all others will be measured."
IDC's Ma noted that Jobs' most striking trait was that he did not get "too caught up" in corporate bureaucracy when making decisions. It was always an intuitive decision--Jobs knew what consumers wanted even if "data told him otherwise", he noted.
Van Baker, research vice president of retail and consumer technologies at Gartner, added that Jobs always knew where he wanted the company to go and was completely confident in the vision the company had.
The veteran also did not resort to outside polling to determine product directions, which allowed the company to deliver products to consumers that they didn't know they need until they saw them, the U.S.-based analyst told ZDNet Asia in an e-mail.
"The premise of the film 'Inception' is that it is possible to seed an idea within a person's dream to persuade them that the genius of a particular course of action stems from their own unconscious desires," Windsor Holden, research director at Juniper Research wrote in a blog post. "Jobs was the mobile industry's [version of] Cobb, the film's central character--the man who planted the seeds."

Wednesday, November 2, 2011

Deploy a web app linux / win

I work for a small company, which means that at any given time, we could have 3 or 4 different versions of code on developer machines that have not yet been committed to the repository. Nowadays, I would certainly go with a distributed version control system. Setup is faster since you don't need to set up a version control server and everything, all you usually need to do is initialize a certain directory within your development box for version control and you're good to go. They also seem like the way to go these days. If it were 2001, I would recommend a centralized system like Subversion. But it's 2011, everyone is moving to distributed systems and user interfaces and supporting tools tend to get better.

Some suggestions:
Git: Powerful. May take some time to understand but evolves rapidly
Tortoise svn: TortoiseSVN is an easy-to-use SCM / source control software for Microsoft Windows
Darcs: Easy to learn and has all the features you will usually need
Mercurial: Mercurial is a distributed version control system. Mercurial is dedicated to speed and efficiency with a sane user interface. It is written in Python.

Sunday, October 30, 2011

Google is retiring google Buzz

Google Buzz is a social networking, microblogging and messaging tool from Google. In a few weeks google is retiring Google Buzz .with google buzz  you start conversations about the things you find interesting. Share updates, photos, videos and more with your friends. At that time you won't be able to create any new posts, but your existing content will remain accessible in two ways:
I'm gonna miss you  google buzz..

    Monday, October 24, 2011

    Facebook tips: Secure Facebook

    As per, Facebook is the world number 1 most popular social networking site, and its world wide ranking is 2nd after It stores our personal data like contact info, images etc. and now it is your open ID, So it becomes necessary to secure our accounts.

    Facebook provides HTTPS secure browsing by default. If you use HTTPS browsing, all the data shared between your web browser and Facebook server will be in encrypted.

    How to enable https in facebook: ( in simple 4 steps )

    Aakash Tablet : Worlds cheapest

    Aakash is an Android-based tablet computer designed and developed by DataWind and work done by IIT Rajasthan.It is manufactured in India as a low cost and launched by the Telecom and Education Minister, Kapil Sibbal. The commercial version of the tablet will be retailed under the brand name UbiSlate 7. Aakash will be assembled at DataWind's new production centre in Hyderabad. Initially, the device will be sold to the Government of India at $50. It is expected to be sold for $60 in the retail stores.

    The tablet powered by Android 2.2 (Froyo) and comes with a 7-inch resistive touchscreen with 800x480 resolution and weighs 350 grams.It supports popular file formats like  video web conferencing facility, multimedia content viewer for example .pdf, .docx, .ods, .adp, .doc, .xls, .txt, .jpeg, .gif, .bmp, .odt, .zip, AVI, AC3, etc.; searchable PDF reader; unzip tool to unzip zip files; possibility to install suitable firmware upgrades; computing abilities such as Open Office, SciLab, cups (for printing support); media player able to play streamed and stored media files; Internet browsing, JavaScript, PDF plug-in Java; wireless communication for audio/video I/O; cloud computing option; remote device management ability; rendering YouTube and other online video services (open source Flash players, e.g., gnash or swfdec).

    Tuesday, October 18, 2011

    Adding Calendar control using jQuery

    The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages. You can customize the date format and language, restrict the selectable date ranges and add in buttons and other navigation options easily.
    By default, the datepicker calendar opens in a small overlay onFocus and closes automatically onBlur or when a date is selected. For an inline calendar, simply attach the datepicker to a div or span.
    You can use keyboard shortcuts to drive the datepicker:
    • page up/down - previous/next month
    • ctrl+page up/down - previous/next year
    • ctrl+home - current month or open when closed
    • ctrl+left/right - previous/next day
    • ctrl+up/down - previous/next week
    • enter - accept the selected date
    • ctrl+end - close and erase the date
    • escape - close the datepicker without selection

    DEMO: How to Add Calendar using jQuery.

    Click on textbox to select date

    Source code:

    <!DOCTYPE html>

    Thursday, October 13, 2011

    Siri : Apple’s voice control artificial intelligence

    Apple recently removed the Siri app from the App Store. In iPhone 5, one of the handful of new features has quite a few people talking and the internet buzzing.

    That feature is called Siri — Apple’s voice control artificial intelligence, which will allow users to speak to their phone to send text messages, check the weather, schedule meetings and place phone calls.

    feature of Siri is it’s ability to take dictation. So, instead of typing, the user can say what they’d like written and the iPhone 4S will listen. Siri will be able to take notes, search the web, send messages and update your Facebook status.

    This is a video demo of Siri running on the iPhone 4.

    Diagram Editor for Google+ Hangouts

    The Diagram Editor for Google+ Hangouts enables you to collaboratively create diagrams with your friends while you video-chat with them in a Google+ Hangout: Everyone can contribute to the diagram and everyone sees your edit in real-time. It feels like all your friends are hanging out in the same conference room editing the diagram on a giant whiteboard without the need for being in the same physical location.

    The editor enables you to collaboratively create diagrams with your friends while you videochat with them in a Google+ Hangout: Everyone can contribute to the diagram and everyone sees your edit in realtime. It feels like all your friends are hanging out in the same conference room editing the diagram on a giant whiteboard without the need for being in the same physical location. Currently, six different diagram types like UML class diagrams and business process diagrams are supported.

    Friday, September 30, 2011

    LightSwitch Tutorial

    Microsoft Visual Studio LightSwitch is a simplified self-service development tool that enables you to build business applications quickly and easily for the desktop and cloud. What can your business do with LightSwitch? Watch this brief introduction to find out.

    Step-by-step video series is focused on teaching you how to build data-centric business applications using Visual Studio LightSwitch will be available shortly ( videos/downloadable ).

    What is Google wallet?

    An app that makes your phone your wallet—with Citi, MasterCard, Sprint and First Data. With Google Wallet, you can tap, pay and save using your phone.
    We’ve been testing it extensively, and today we’re releasing the first version of the app to sprint. That means we’re beginning to roll out Google Wallet to all Sprint Nexus S 4G phones through an over-the-air update—just look for the “Wallet” app. Here’s a demo of Google Wallet in action:

    Google Wallet enables you to pay with your Citi MasterCard credit card and the Google Prepaid Card, which can be funded with any of your existing plastic credit cards.Google adding a $10 free bonus to the Google Prepaid Card if you set it up in Google Wallet before the end of the year 2011.

    You can get more information on Google wallet by following this link : Click Here

    Source : Google

    Friday, September 23, 2011

    ER Diagram for a College System

    The ER diagram refined to have an 'is-a' relationship. The simple conceptual tables can now be designed in such case as:

    STUDENT (st-id, dob)
    FULL-TIMEPROG (p-code, duration)
    PART-TIMEPROG (p-code, duration)
    REGISTERS (p-code, st-id)

    Please note that the design above is not complete; a complete design would require all types defined and constraints identified. All such information is made available by the detailed analysis document.Any how some points can be considered...

    In an educational institute, there are several departments and students belong to one of them. Each department has a unique department number, a name, a location, phone number and is headed by a professor.
    •  Professors have a unique employee Id, name, phone number. We like to keep track of the following details 
    • regarding students: name, unique roll number, sex,phone number, date of birth, age and one or more email addresses. 
    •  Students have a local address consisting of the hostel name and the room number. They also have home address consisting of house number, street, city and PIN. It is assumed that all students reside in the hostels. 
    • A course taught in a semester of the year is called a section. There can be several sections of the same course in a semester; these are identified by the section number. Each section is taught by a different professor and has its own timings and a room to meet. 
    •  Students enroll for several sections in a semester. Each course has a name, number of credits and the department that offers it. A course may have other courses as prerequisites i.e, courses to be completed before it can be enrolled in. 
    •  Professors also undertake research projects. These are sponsored by funding agencies and have a specific start date, end date and amount of money given. More than one professor can be involved in a project. Also a professor may be simultaneously working on several projects. A project has a unique projectId. 

    Wednesday, September 21, 2011

    Google APIs Client Library for Java developers

    Google APIs Client Libraries & Tools team making available a Beta version of the open source Google HTTP Client Library for Java. This is the common HTTP client library. It features a pluggable HTTP transport abstraction that allows it to work seamlessly on any of the supported Java platforms, support for efficient JSON and XML data models for parsing and serialization, and a pluggable JSON and XML parser so you can use whatever works best for you.

    Here is an example of how easy it is to use the OAuth 2.0 library to make a request using the library for the Google+ API:

    // Set up the HTTP transport and JSON factory
    HttpTransport httpTransport = new NetHttpTransport();
    JsonFactory jsonFactory = new JacksonFactory();

    // Set up OAuth 2.0 access of protected resources 
    // using the refresh and access tokens, automatically 
    // refreshing the access token when it expires
    GoogleAccessProtectedResource requestInitializer =
        new GoogleAccessProtectedResource(accessToken, httpTransport,
        jsonFactory, clientId, clientSecret, refreshToken);

    // Set up the main Google+ class
    Plus plus = new Plus(httpTransport, requestInitializer, jsonFactory);

    // Make a request to access your profile and display it to console
    Person profile = plus.people().get("me").execute();
    System.out.println("ID: " + profile.getId());
    System.out.println("Name: " + profile.getDisplayName());
    System.out.println("Image URL: " + profile.getImage().getUrl());
    System.out.println("Profile URL: " + profile.getUrl());

    Source: Google code

    Monday, September 19, 2011

    Sql Server : How to Point in time recovery

    SQL Server offers the ability to do point in time restores of your data in order to restore your database back to the point right before that detrimental command was issued. 
    Point in time recovery option which helped us to restore our database without losing a single record to a specific time.Process we followed was :
    • Must be in FULL RECOVERY MODEL
    • Must have a valid FULL BACKUP
    Check current recovery model of your database :

    SELECT name,recovery_model_desc
    FROM sys.databases
    1.You can change recovery model from SSMS by right click on your desired database. properties, on left, select options and change recovery model.
    you can do it with following tsql.
    USE [master]

    SQL Server Backup History Checkup

    DECLARE @db_name VARCHAR(100)
    SELECT @db_name = DB_NAME()

    SELECT TOP (50)
    cast(CAST(s.backup_size / 1000000 AS INT) as varchar(14))
    + ' ' + 'MB' as bkSize,
    CAST(DATEDIFF(second, s.backup_start_date,
    s.backup_finish_date) AS VARCHAR(4)) + ' '
    + 'Seconds' TimeTaken,
    CAST(s.first_lsn AS varchar(50)) AS first_lsn,
    CAST(s.last_lsn AS varchar(50)) AS last_lsn,
    CASE s.[type]
    WHEN 'D' THEN 'Full'
    WHEN 'I' THEN 'Differential'
    WHEN 'L' THEN 'Transaction Log'
    END as BackupType,
    FROM msdb.dbo.backupset s
    inner join msdb.dbo.backupmediafamily m ON s.media_set_id = m.media_set_id
    WHERE s.database_name = @db_name
    ORDER BY backup_start_date desc,

    Pakyow : Web framework for Ruby

    Web framework Pakyow follows the MVC design pattern, but the flow is a bit different than what you might be used to. When a request is received the views are assembled first (based on the URL). If a route matches the appropriate business logic is invoked. The business logic can then manipulate the view and bind data to it.

    Some Advantages :
    • In Pakyow, views define what the application will present. They are 100% HTML and no template language or special tags are needed to construct the view layer.
    • View construction begins with a root view, which usually defines the general view structure. Containers are created in the root view, which define the parts of the structure that are generated dynamically. Creating a container is as easy as adding an "id" attribute to any tag.
    • Pakyow provides several ways for the business logic of an application to easily interact with the views. In most frameworks the view logic is contained in the view itself, but Pakyow separates views and view logic. This keeps the roles for design and developer clearly defined and minimizes conflicts.
    • View construction happens before the business logic is invoked. The views can then be manipulated even easier than using a template language.
    • Data can easily be bound to its view.

    Friday, September 9, 2011

    VI Editor : helpful command reference

    VI is text editors which share certain characteristics, such as methods of invocation from the operating system command interpreter, and characteristic user interface features. 
    vi is a modal editor: it operates in either insert mode (where typed text becomes part of the document) or normal mode (where keystrokes are interpreted as commands that control the edit session). For example, typing i while in normal mode switches the editor to insert mode, but typing i again at this point places an "i" character in the document. From insert mode, pressing the escape key switches the editor back to normal mode.

    vi Modes
    vi has two modes:
    1. command mode
    2. insert mode
    In command mode, the letters of the keyboard perform editing functions (like moving the cursor, deleting text, etc.). To enter command mode, press the escape <Esc> key.
    In insert mode, the letters you type form words and sentences. Unlike many word processors, vi starts up in command mode. In order to begin entering text in this empty file, you must change from command mode to insert mode. To do this, type i .

    Some helpful commands in Insert mode

    i at the same cursor position
    Capital A
    To the end of the line.
    Capital I
    Begin of the line.
    Small a
    Next to the cursor position.

    Friday, August 5, 2011

    Javascript to get URL of page

    In my project, today i need to get the URL of the page, i used a small Javascript to implement it. In Javascript location object contains information about the current URL. It is supported by all the major browsers.
    The location object is part of the window object and is accessed through the window.location property. Quite simple script to do this is :

    <script language="javascript" type="text/javascript">
        document.write (document.location.href);

    Properties of Location Object
     hash  Returns the anchor portion of a URL
     host  Returns the hostname and port of a URL
     hostname  Returns the hostname of a URL
     href  Returns the entire URL
     pathname  Returns the path name of a URL
     port  Returns the port number the server uses for a URL
     protocol  Returns the protocol of a URL
     search  Returns the query portion of a URL

    Note : Please note that this won't work if you are using frames in your page.

    Monday, August 1, 2011

    Creating Cross-plattform Mobile Applications with Dojo Toolkit

    Dojo is an open source toolkit that helps you write robust and efficient JavaScript code. JavaScript is a language that runs within the Web browser, and there are various flavors of Web browser that interpret the JavaScript in slightly different ways. Toolkits such as Dojo, YUI, Prototype, and many others are designed to abstract away the browser idiosyncrasies so that you don't have to learn them all and handle them in your code.
    Some points about Dojo : 
    1. Dojo is JavaScript framework released as open source software. This JavaScript toolkit provides many components to develop rich internet applications.
    2. You can use Dojo toolkit to develop dynamic web applications. Dojo toolkit will put life in your web application and turn it into highly interactive application. You can turn your web application into desktop
    3. like web application.
    4. Dojo offers many widgets, utilities and ajax libraries to develop your application.
    5. Dojo is released under BSD or AFL license
    6. Dojo is free and can be used to develop free or commercial application.
    There are often several ways to code the same thing using JavaScript. Toolkits like Dojo provide functions you can use to do things in easier or more efficient ways. Using libraries from a toolkit can reduce the lines of code you write and make your JavaScript applications quicker and more stable.The Dojo Toolkit comes with many amazing modules which all are trying to make your life as a developer many times easier. This short introduction to UI Development will introduce you to the main Dojo layout and form widgets.

    Why use Dojo/Dijit? ( )

    One of the great features of dijit is the fact that it is all ready for a11y (accessibility) and i18n (internationalization). Imagine you are working on a new product, your current market is the one of your country and you are not too concerned about delivering your product in several different languages. Thinking about making your product accessible for people with disabilities is way down the list of your priorities.

    Sunday, July 31, 2011

    How to Install IIS on windows

    How to Install IIS on Windows XP and Windows 2000
    1. On the Start menu, click Settings and select Control Panel
    2. Double-click Add or Remove Programs
    3. Click Add/Remove Windows Components
    4. Click Internet Information Services (IIS)
    5. Click Details
    6. Select the check box for World Wide Web Service, and click OK
    7. In Windows Component selection, click Next to install IIS
    After you have installed IIS, make sure you install all patches for bugs and security problems. (Run Windows Update).

    How to Install IIS on Windows Vista

    1. Open the Control Panel from the Start menu
    2. Double-click Programs and Features
    3. Click "Turn Windows features on or off" (a link to the left)
    4. Select the check box for Internet Information Services (IIS), and click OK
    After you have installed IIS, make sure you install all patches for bugs and security problems. (Run Windows Update).

    Thursday, July 28, 2011

    Benefits Microsoft LightSwitch 2011

    Why use Microsoft LightSwitch?        ( Source

    Microsoft Visual Studio® LightSwitch™ 2011 is a flexible development tool that enables developers of all skill levels to quickly create and deploy great looking business applications for the desktop and the cloud. With timesaving tools and templates, and an intuitive development environment, Visual Studio LightSwitch helps speed the development and reduces the complexity of everything from UI design to Windows Azure Cloud Deployment. With Visual Studio LightSwitch it is finally practical to create affordable, scalable custom software solutions that bridge the gaps between existing systems and data and help provide comprehensive, user-friendly views of your business data.
    With Visual Studio LightSwitch 2011, you can dramatically decrease the time it takes to build a custom application that connects with existing applications, legacy systems and web services. Visual Studio LightSwitch 2011 automatically handles the routine code, letting you focus on developing the custom logic that makes your application unique.

    Flexibility for Today and Tomorrow

    Visual Studio LightSwitch 2011 gives you the flexibility to keep your technology and business options open, while building a practical, scalable application to match your current needs. With Visual Studio LightSwitch 2011 you can easily interoperate with your existing data systems and web services, choose from a wide range of hosting and deployment options – even add 3rd party plugins as needs change.

    Top ten benefits

    Build business applications like they
    were created by a professional designer Visual Studio LightSwitch 2011 comes with an extensible set of pre-built Application Shells that can give your application the familiar feel of popular Microsoft software.

    Build a better application faster
    Visual Studio LightSwitch 2011 includes templates for the most common types of business applications. It also contains predefined data types for commonly used fields, like phone numbers and e-mail addresses.

    Tuesday, July 26, 2011

    Inside Adobe Flash CS 5.5?

    "The new features in Flash Professional CS5 should bring smiles to the faces of both designers and developers. Two big improvements in the way Flash handles video are the ability to preview an imported video on the Stage and adjust its parameters on the fly."
    "Personally, I already have a project on the burner that the new tools and features in Flash CS5 will shorten development time and more than pay for the price of the upgrade from CS4."
    Cyndy Cashman, Layers Magazine, 
    April 23, 2010

    Adobe® Flash® Professional CS5.5 software is the industry-leading authoring environment for producing expressive interactive content. Create immersive experiences that present consistently to audiences across desktops, smartphones, tablets, and televisions.

    What's new in Flash Professional
    • Efficient workflows for mobile development
    • Content scaling when resizing stage
    • Enhanced layer control 
    • Symbol rasterization and better performance
    As a core component of the Adobe Flash Platform, Adobe Flash Player allows you to make your web content contextually relevant and reach more users across a wide spectrum of Internet-connected devices, including smartphones, tablets, netbooks, TVs, and PCs. New device-ready features take advantage of native device capabilities that include support for touch, gestures, input models, accelerometer, browser, and additional purpose-built hardware to bring unprecedented creative control and expressiveness to the device browsing experience.

    Deprecated commands Oracle 11gR2

    The most used to command "crs_stat -t" is deprecated on 11gR2. Instead you would use -
      crsctl status resource [the output will be status of all resources]

    You can still use the "-t" option to get a tabular report though ;)
        crsctl status resource -t

     Specify resource name "ora.mydb.test" to get the status of any particular resource -
       crsctl status resource ora.mydb.test

    In fact, quite a few commands have been deprecated in 11gR2; For the complete list refer to

    What is Orastack ?

    ORASTACK is an Oracle supplied utility specifically for Windows Operating system. It allows us to modify the default stack size of a thread/session when created in the Oracle executable. It should be run against a specific Oracle binary such as "sqlplus.exe", "tnslsnr.exe" etc. It alters the part of the binary header that defines the default stack size used by "the create thread API".

    By reducing the stack of every session created in the Oracle executable, it is possible to serve more users. In a system with a 1000 users reducing the
    stack from 1Mb to 500K would release 500Mb of the address space for other
    allocations or more users. However if its set too low then session might fail with ORA-3113 error.

    Friday, July 15, 2011

    Google+ and chrome extension

    Google+ is a social networking service operated by Google Inc. The service launched on June 28, 2011, in an invite-only testing phase.Google+ will be built as a layer that not only integrates different Google social services, such as Google Profiles and Google Buzz, but also introduces many new features including Circles, Hangouts, Sparks and Huddles. Google+ will also be available as a desktop application and as an application on Android and iOS operating systems.

    Already using Google+? Follow Mashable News for the latest about the platform’s new features, tips and tricks as well as our top social media and technology updates.

    While Google works on adding more features, some available Chrome extensions can fill the functionality gap. You want to get better notifications, enjoy improved sharing options, or scroll through your stream more quickly, there’s an extension available — for free — to help.

    There are some chrome extension listed below, will improves Google+
    Note: These extensions are available with chrome.

    Wednesday, July 13, 2011

    MySql Best Opensource Database for Ruby on Rails

    RoR is being highly discussed phrase in the realm of web development. Thinking why is it so? Ruby on Rails can be defined as a full stack framework which means that this framework covers everything which is needed to build a web application. It is an open source web application framework that can help you building web applications with an out of the box architecture. It is written in Ruby which is an object oriented language with clean syntax that can make programming enjoyable. Moreover Rails could help you creating a web application almost ten times faster than you do with regular java framework and that too without compromising with the quality. As it uses the MVC architecture pattern, it organizes the application programming that provides flexibility and simplicity. RoR is a great framework for them who have high timeliness and budget constraint.

    While SQLite3 is extremely convenient for development and testing databases, and PostgreSQL has powerful Generalized Search Tree indexes and is very close to being enterprise-ready, MySQL is the choice for many Web sites thanks to its excellent read performance, transparent support for large text and binary objects, and incredibly easy administration. Stored procedures, functions, triggers, and updateable views were added to MySQL in version 5, overcoming the largest technical objections to its deployment at many sites. MySQL also has a large, helpful user base, and some poster-child deployments including eBay, Yahoo, and Craigslist.
    You can download MySql module for ruby on rails from link given below.

    Tuesday, July 12, 2011

    Common ways to redirect website

    However there are many ways to redirect website's but here are simple ways by examples, This question often comes in-front of you when giving interview for web designer or developer.

    For this example I will use the website:
    Let’s say this site is build in the folder: /folder/ we need a redirect from

    META Tags:
    Create in the root of your domain an index.html and use a meta-refresh tag in the of your HTML.
    This way of redirecting is according to W3C not so nice, and it also will have a delay.
    You can set this delay, however I set it to 0.

    <meta http-equiv="refresh" content="0;URL=" />

    Link :
    Not so nice, but to most accessible way, is to just create an empty index.html with an hyperlink
    to your new folder.

    Tuesday, July 5, 2011

    jQuery Mobile

    Touch-Optimized Web Framework for Smartphones & Tablets

    jQuery mobile framework takes the "write less, do more" mantra to the next level: Instead of writing unique apps for each mobile device or OS, the jQuery mobile framework will allow you to design a single highly branded and customized web application that will work on all popular smartphone and tablet platforms, it supports
    • IOS
    • Android 
    • Black Berry
    • Bada
    • Windows phone
    • Symbian
    • Meego etc.
    Cross-platform & cross-device 
    jQuery mobile framework takes the "write less, do more" mantra to the next level: Instead of writing unique apps for each mobile device or OS, the jQuery mobile framework will allow you to design a single highly branded and customized web application that will work on all popular smartphone and tablet platforms.

    Touch-optimized layouts & UI widgets
    Their aim is to provide tools to build dynamic touch interfaces that will adapt gracefully to a range of device form factors. The system will include both layouts (lists, detail panes, overlays) and a rich set of form controls and UI widgets (toggles, sliders, tabs)

    Sunday, July 3, 2011

    Adobe Dreamweaver CS 5.5 New Features

    Adobe® Dreamweaver® CS5.5 is the industry-leading web authoring and editing software that provides both visual and code-level capabilities for creating standards-based websites and designs for the desktop, smartphones, tablets, and other devices.

    Support CSS3/HTML5
    Design using the panel CSS, which now supports the new rules CSS3. Presentation of Design now supports mediazaprosy and apply different styles if you resize the screen. Generate code for modern websites using technologies HTML5, with handy tips on the code and visualization presentation "Design".

    Thursday, June 16, 2011

    View in Ruby

    Use the Ruby command ruby script/generate controller Hello:
    ruby script/generate controller Hello

    Creating an Action
    //Edit hello_controller.rb under \app\controllers

    class HelloController < ApplicationController
                     def there...............

    //To establish a view template for the hello controller's there action, you can create a file named there.rhtml and store it in the
    //\app\views\hello directory.

    Ruby: Unit Testing

    Unit Testing is a great way to catch errors early in the development process, if you dedicate time to writing appropriate and useful tests. As in other languages, Ruby provides a framework in its standard library for setting up, organizing, and running tests called Test::Unit.
    There are other very popular testing frameworks, rspec and cucumber come to mind.
    Specifically, Test::Unit provides three basic functionalities:
    1. A way to define basic pass/fail tests.
    2. A way to gather like tests together and run them as a group.
    3. Tools for running single tests or whole groups of tests.
    Writing a UNIT TEST 
    require 'test/unit'

    class Person
    attr_accessor :first_name, :last_name, :age

    def initialize(first_name, last_name, age)
    raise ArgumentError, "Invalid age: #{age}" unless age > 0
    @first_name, @last_name, @age = first_name, last_name, age

    Facebook google : Wanna chat in Hindi?

    Here is a small script you can bookmark in your browser. After it Open facebook and then just clicking on the bookmark will enable you typing in Hindi... To disable typing in Hindi just click on bookmark again.

    javascript:(t13nb=window.t13nb||function(l){var t=t13nb,d=document,o=d.body,c="createElement",a="appendChild",w="clientWidth",i=d[c]("span"),,x=o[a](d[c]("script"));if(o){if(!t.l){"t13ns";o[a](i).id="t13n";i.innerHTML="Loading transliteration";s.cssText="z-index:99;font-size:18px;background:#FFF1A8;top:0";s.position=d.all?"absolute":"fixed";s.left=((o[w]-i[w])/2)+"px";x.src=""+l}}else setTimeout(t,500)})('hi');

    Ok , here i'm gonna tell you how to add a bookmark in Chrome and Firefox 4 in 3-4 easy steps.

    Wednesday, June 8, 2011

    How to add +1 button to Wordpress

    Google has made adding the +1 button fairly simple, but we wanted to provide self-hosted users with a quick walkthrough of the process of adding and enabling the +1 button to their site and their blog posts. We’re sure that dozens of +1 plugins will be available in the next few days, but in the meantime, this is what you need to do.

    Step 1: Add a Line of JavaScript to Your Theme Files

    The +1 button tool page lays out what webmasters need to add to their website. For users who have a standard XHTML website (or are using Tumblr), copying and pasting the following java scriptbefore the </body> tag on a website works just fine.
    <script type=”text/javascript” src=””></script>
    Simply Go to the Appearances section in the WordPress dashboard and select “editor.” Then find the footer.php file in your template listing. Scan through the file until you see the area marked </body>, then paste in the JavaScript line.
    Hit update and you’re ready for step two!

    Step 2: Add a Button to Your Sidebar

    After the JavaScript snippet has been added to your website, users can paste the <g:plusone></g:plusone><g:plusone></g:plusone> wherever they want a button to appear. Using the +1 button tool, you can configure the button size and include other advanced options.
    Another common use for the +1 button, besides on individual blog posts, will likely be in sidebar widgets on a homepage. This can act as a nice, generic hub for +1 activity.
    To add the +1 button to a sidebar in WordPress (assuming your theme supports sidebars), simply go to the Appearances section in the Dashboard and select “Widgets.”
    We’ll assume that you want to create a new widget for the +1 button, but other sidebar widgets can also be customized to display the button.

    Now Google +1 for Bloggers

    The button, will compete with the likes of the already ubiquitous sharing buttons offered by Facebook and Twitter (and more recently Tumblr and LinkedIn) for web page real estate.

    Google is taking its +1 feature beyond search results and launching a button that publishers can include on their own websites.
    As with most other sharing buttons, setting up the +1 button on your website is straightforward. Google has created a simple tool that lets you choose from a number of sizes and styles, and then provides the appropriate JavaScript code that you can cut and paste into your site.