How to add twitter like button (with number of tweets) in your web page : HTML5

You can integrate twitter button in your home page as simple as below:

<a href=”https://twitter.com/share” data-url=”https://www.google.co.in/”>Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>

Changing the Mail View to Preview Pane View in Gmail.

For changing the mail view to preview pane view in gmail, follow the steps given below.

1. Open the settings page of the gmail.

2. Now select the Labs tab.

3. Here enable the ‘Preview Pane’ feature. The Preview Pane feature provides a preview pane to read mail right next to the list of conversations. This will make mail reading faster and will add more context to it.

Once enabled, we can always disable it by selecting the disable option for the Preview Pane option.

Putting condition to css for Internet Explorer and other browsers

You can use any of the following scripts to select css files for IE and other browser:

1. For all IE versions:

<!–[if IE]>
<link rel=”stylesheet” type=”text/css” href=”style_ie.css” />
<![endif]–>

2. For all browsers except IE:

<!–[if !IE]><!–>
<link type=”text/css” rel=”stylesheet” href=”style.css”>
<!–<![endif]–>

3. For a particular IE version use following code:

Syntax: <!–[if IE <version-code>]>

Example:

<!–[if IE 6]>
<link rel=”stylesheet” type=”text/css” href=”style_ie.css” />
<![endif]–>

More secured internet

Stephan Ritter and his colleagues at the Max Planck Institute of Quantum Optics, in Garching, Germany, have constructed an elementary quantum network with two nodes. They say it is a proof of concept that could one day be extended to create large-scale quantum information networks that guarantee the security of message transmission by encoding data using the quantum state of photons.Quantum information networks are a subject of scientific fascination because they are not susceptible to eavesdropping. First described in 1984 by Charles Bennett of IBM and Gilles Brassard of the University of Montreal,quantum cryptography—which relies on the transfer of information encoded in the quantum states of photons—is considered by many to be the ultimate unbreakable code.

visit :http://spectrum.ieee.org/telecom/internet/path-clears-toward-a-quantum-internet for more details

 

Adding Action/Handler to a Button in Sencha

The following code can be used to create a button and add a handler to the button.

{
	xtype:'button', // Setting the type of the object as button
	text:'Button Title', // Give the title for the button here
	align:'right', // Give the alignment of the button
	handler: function(c,event){
       	  // Add your block here. This block will be executed when you touch the button. Here event is the event which is being handled in this block.
	}
}

Firefox 4 to make browsing better for you

Features at a glance:
1. The Awesome Bar for easy and quick browsing.
2. Faster start-up times, rapid graphics rendering and improved page load speed.
3. Instant Web Site ID, Content Security Policy, Private Browsing, option for securing website connection, protects from viruses and spyware.
4. Themes and customizable interface
5. It included HTML5 ready parser, enhanced File API, WebM and HD Video, Multi-touch support for windows 7
6. Support for open font formats like WOFF, TrueType and OpenType.

Enable Private Browsing in Safari

Normally when you are browsing the internet, Safari keeps a record of things like the pages you have visited, the files you have downloaded and the searches you have made. In most circumstances this is great as it can save time and help you retrace your steps. However, in some cases you may prefer to leave no record of your browsing, for example when you are using a public computer.

Safari’s Private Browsing mode is great for this. Just go to the Safari menu and choose “Private Browsing.” Click OK in the dialog box that appears and then you are browsing privately. Safari won’t store the sites you visit in the History menu, and your Google searches won’t be added to the Recent Searches menu.

Safari Private Browsing

Enabling and disabling Private Browsing through the Safari menu can be a bit annoying, especially if you find yourself doing it often. Luckily there are a couple of ways to speed this up.
Continue reading