v WebsiteSupport

July 01, 2012

Unicode support on viewing websites on normal phones

In normal mobile phones, there may not be support for unicode in default browser. Dont be worry here is a quick solution for this.

note: you need operamini browser for this. you can download operamini from m.operamini.com or click this link operamini from your mobile phone. After the download complete, install it and run it. then,

1. type config: on the address bar
2. scroll down and locate for Use bitmap fonts for complex scripts
3. change it to Yes.
4. save it
5. cheers you are done. Now enjoy the unicode .

June 21, 2012

Easiest way to install Linux Kernel 3.4.3

And here is the Latest release off Linux kernel 3.4.3 which comes with more and more bug fixes and extra new features for your awesome machine. Well, you can view the changes in kernel 3.4.3 from the  change log directories from official website kernel.org .
Now Here are some easiest steps to Install Kernel 3.4.3 on Ubuntu12.04.

Guys! please do install the kernel at your own risk. Installing or upgrading to a new kernel may break your system. Sorry for that

You need to do at first is to download all those necessary files.
1. open terminal by Alt+ ctrl+ T
2. you need to download the required header file of headersall.deb  so copy and just paste this command on the terminal
cd /tmp && wget -O linux-headers-3.4.3-030403_3.4.3_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4.3-quantal/linux-headers-3.4.3-030403_3.4.3-030403.201206171454_all.deb



3. now for downloading the header file
cd /tmp && wget -O linux-headers-3.4.3-030403-generic_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4.3-quantal/linux-headers-3.4.3-030403-generic_3.4.3-030403.201206171454_i386.deb

4. now you need to do is download the image file

cd /tmp && wget -O linux-image-3.4.3-030403-generic_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4.3-quantal/linux-image-3.4.3-030403-generic_3.4.3-030403.201206171454_i386.deb

5. now is the time to install all those downloaded files. So, lets install them one by one.

6. Install headersall.deb
 sudo dpkg -i linux-headers-3.4.3-030403_3.4.3_all.deb

7. Install headers file
sudo dpkg -i linux-headers-3.4.3-030403-generic_i386.deb

8. Install image file
sudo dpkg -i linux-image-3.4.3-030403-generic_i386.deb

9. Finally you are done!!
now you need to do is reboot your machine

sudo init 6

10. after the reboot of the machine you need to do is check the updated linux kernel 
so type this command
uname -r
Now you are done. cheers!! :D

June 19, 2012

Make your own docky theme

Wanna like to have your own themes of Docky, here is a very very very easy methods :)
Firstly you need an editor program like GIMP or Inkscape.
 Then go through this steps:

1. Press Alt + f2 or open terminal (ctrl+alt+T)
2. Type the command as gksu nautilus /usr/share/docky/themes
3. Type your password
4. Now you need to copy one theme folder  for reference theme take Glass theme for example.
5. Now just paste it there and rename to your own theme name.
6. Open the folder and change the color of inside content which suits you best with GIMP or Inkscape.
7. Now restart the docky and go to Docky settings.
8. Choose the theme you have just developed.
9. Now enjoy with doing lots of experiment. Cheers!!
10. You can compress it as .tar and upload it in artwork  of gnome-look.org so that other can download and use your nice Docky themes.

 You can download the Docky theme that I have created from this link.
http://gnome-look.org/content/show.php?content=151772

Here is screenshot of my desktop with the docky theme I have created :)




June 18, 2012

Understanding OAuth: What Happens When You Log In


Article by: WHITSON GORDON


Logging into another site with your Google, Twitter or Facebook account isn’t just convenient, it’s more secure than creating a new account or entering your Google, Twitter or Facebook password into a third-party site. That’s where OAuth comes in. Here’s how it works and how it keeps your passwords safe on third-party sites.


A Twitter app called Tweetgif was hacked, releasing user information for 10,000 Twitter accounts to the public. However, no Twitter credentials were compromised, because Tweetgif used something called OAuth. If you’ve ever logged into a third-party website with your Google, Facebook or Twitter account by granting the app permission to that respective account, then whether you knew it or not, you’ve used OAuth, and it’s a great way to dole out permissions.

How OAuth Works?


Lets say you want to use an app like Tweetgif to post funny, animated GIF files to your Twitter account. In order to do so, you need to give the Tweetgif app access to your account so it can get your info and post tweets on your behalf. In the old days, you would have to give an app like Tweetgif your Twitter username and password so it could log in and access those services. You not only had to trust them to use those credentials wisely, but also to keep them safe from hackers — that’s a pretty big leap of faith. It’s like giving your house keys to a stranger and trusting them not to make copies for all their friends and steal all of your stuff.

OAuth gets around this problem by only giving them access to the stuff you want them to access. Instead of asking you for your password, this happens:

In order to become a Twitter app, Tweetgif has acquired two tokens from the Twitter service: a “Consumer Key” and a “Consumer Secret”. These are what create a connection between the consumer (in this case, Tweetgif) and the service provider (in this case, Twitter).
When you visit Tweetgif and ask it to access your Twitter account, it will redirect you back to Twitter. If you aren’t logged in to Twitter, you log in now (remember, you’re giving your username and password to Twitter itself, not to Tweetgif).
Twitter then asks you whether you want to authorise this app, and tells you what permissions its giving to the app. Maybe it can view your timeline, or maybe it can view your timeline and post on your behalf. In some cases, you may only be giving it access to your username and avatar. When you click the “Authorize” button, it creates an “Access Token” and an “Access Token Secret”. These are like passwords, but they only allow Tweetgif to access your account and do the things you’ve allowed it to do.
Thus, instead of giving the keys to your entire house, you’ve given a special key that only opens the one room you want them to access. But in order to use this key, they have to go get it from the guard, and he can take it away from them at any time.


So Should You Use OAuth?

So why is this better than just entering your Twitter credentials? Obviously, this keeps third-party apps from doing shady things you don’t want them to do, but more importantly, it means that even if they get hacked — like Tweetgif was yesterday — your Twitter password is still safe. The hackers would still be able to post on your behalf, follow people or do whatever else you’ve given Tweetgif access to do, but all you need to do is go to your Twitter settings and revoke access to that app. That way, your tokens become useless and your account is under your control again, without even having to change your password.

The big downside with this new trend is that some sites might let you log in using Facebook or Twitter and will try to post to your profile, even if it isn’t really necessary. Some sites don’t let you just create an account — they make you log in with Facebook or Twitter. It’s convenient, since you don’t have to create an account, but then it tries to post to your profile about what you’re doing on their site. Similarly, Google doesn’t really tell you what permissions you give away when you use OAuth. To avoid problems, make sure you read the privacy policy of every app you link, and if you can, pay attention to the permissions each app is granted. If it does something you don’t want it to do, just don’t use the app. Or, alternatively, see if it has an option to turn that “feature” off in the app’s settings. And, as always, be sure to regularly prune your authorised apps so you don’t run into trouble — if you haven’t used one of them in a while, you’re probably better off getting rid of it completely.




March 23, 2012

CSS Layouts: The Fixed. The Fluids. The Elastic.

Which Cascading Style Sheet (CSS) layout is best? All have their quirks and their unique pros and cons. Is one more accessible than the other? More usable? What are the drawbacks and how are they dealt with? Is one easier to create than the other? Is there an evil, inaccessible layout? I suspect some will say yes to this, but I’m not going to. I like them all and feel all are suitable if steps are taken to ensure easy usability and equal accessibility. All are part of a web site’s presentational layer, so most of the accessibility relies on the extractable semantics and proper usage of the underlying mark-up. What follows is my take on the rigid fixed, the adaptable fluid, and the expandable elastic layouts.


Fixed Width Layouts

A fixed width site is one where the main wrapper is set to a specific immovable width independent of the user agent’s display resolution. A common and considerate fixed width is 760 pixels, a size that ensures users with 800×600 resolution monitors have close to full window viewing without annoying side-scrolling.

The Fixed Width Pros
The main readable content area is tightly controlled without having to set minimum-maximum width (which isn’t universally supported, anyway).
Fixed width layouts are sometimes easier to style depending on the effect you’re after. Some visual designs can only be achieved in a reasonable manner with a fixed width layout.
Based on the example width above — 760 pixels — the typical main content area will be in my opinion an ideal width for optimum readability.

The Fixed Width Cons
My precious “ideal width for optimum readability” pro-listing above can go bad if the text is enlarged greatly since the line-width-to-text-size ratio doesn’t increase along with text resizing. Do note, though, in a good design, this is only a problem if the text is huge.
People with small monitors (640×480 pixels) will end up with a horizontal scroll bar on a 760 pixel fixed width site. This is a very uncommon problem.
A 760px fixed width site can look too narrow on large screen displays.
The narrow width can limit the reasonable number of columns and content, but this may actually be a pro. Think forced moderation.

Some Fixed Width Advice
Place your fixed width content on the left hand side of the page so on a typical site 640×480 pixel monitor users won’t have to side scroll to read the site’s primary content.
Be sure to provide a handheld style sheet to accommodate smaller devices. Supplying projection and TV media-type style sheets may also be a good idea.

Fluid or Liquid Layouts



A fluid or liquid layout is created by not specifying a wrapper width at all or doing so using the percentage unit of measure. In other words, barring borders and padding screwing things up, a 100% width site will take up the entire view port width without producing a horizontal scroll bar.

GrayBit.com is an example of a fluid width site. It resizes to under just under 755 pixels before sprouting a scroll bar, but the use of the scroll bar isn’t required to access the content. In fact, the site remains perfectly usable down to about 560 pixels after which elements start overlapping, getting concealed, or dropping. Most fluid layouts have limitations like this and most that I’ve seen don’t perform well on handheld devices unless styles are removed or a handheld style sheet is furnished.


The Fluid Layout Pros
If done right, a fluid or liquid layout can adapt to just about any view port width making it quite universal. This is seldom a reality, but in theory, and if care is taken to ensure it, it is possible.
Fluid widths match the browser default layout method making this the “purist” of them all. But does a developer’s want of site purity sometimes stand in the way of usability? I think it may.
The fluid layout makes the most out of available screen real estate. More content should be above-the-fold (meaning it’s available without scrolling in any direction). But…

The Fluid Layout Cons
Too much available content and a strong desire to fill white space can be a detriment to usability. Too much content can confuse the user and make a site too congested or cluttered. There is an expression: “White space sells” and it’s a truthful statement, even on the web.
If width limiters using the CSS property max-width — which isn’t supported by Internet Explorer (IE) version 6 or older, by the way — aren’t supplied, you may very well, in your quest for layout purity, create a site that is at best difficult to use. Try reading a line of text that is over 1000 pixels wide and you’ll begin to see the problem.

Some Fluid Layout Advice
Use this layout method purposefully. Don’t do it because it’s “pure” and for no other reason. I suspect there has to be a better reason than this. If you do create a fluid width layout, make sure it fits in a large variety of view port sizes. Else, why bother?
If you’re making a fluid layout site and have fixed width content areas, you have essentially made a fluid/fixed width layout hybrid and can only be as narrow as the width defined by the fixed width content section or largest object. Be careful. If you’re going to make a site that is fluid, make sure it’s really fluid and not just in name only.
If you do create a fixed/fluid hybrid anyway, like that shown on my CSS tutorial, make sure it fits 800×600 view ports.

Elastic Layouts

An elastic site’s main wrapper and other elements are measured using ems as the unit of measure. Ems are relative proportionally to the text or font size. Thus, as the text size is increased, the sections measured in ems will increase in size as well.

An elastic width example can be seen in my CSS Zen Garden submission (limited elastic-fluid hybrid). To the best of my knowledge, this is the only CSS Zen Garden submission that is elastic and meant to be as accessible as the non-editable markup would allow. I’m proud of this project.

The Elastic Layout Pros
If done right, this is a very stable layout method because everything resizes at the same rate. The result is nothing changes disproportionally.
An elastic layout is challenging and cool as hell. The first time I saw one was Tommy Olsson’s site (which happens to be an exceptionally well done example of how an elastic site should be done). This blew my mind, made me laugh, and generally impressed the hell out of me. Elastic width sites are best enjoyed by enlarging the text using ctrl and mouse scroll wheel… let me hear you say “Zwoop.”

The Elastic Layout Cons
Aside from the cool factor, I don’t really see much of a benefit to this type of layout. This makes me wonder what the point is.
Unless limited, this layout method can be a usability disaster as it’ll get wider and wider and wider — without benefit.


Some Elastic Layout Advice
If you’re going to make an elastic layout, make sure it works on small monitors. Else, what’s the point?
Limit an elastic layout specifying a max- pixel or fluid width measurement (hybridize it). For instance: #wrapper { width:60em; max-width:98%; }. Purists may argue that it’s not a true elastic layout if it’s limited or hybridized, but I really must ask: who cares? Again, layout purity is all fine and good, but not when it’s at the expense of usability.
Remembering that IE 6 and older doesn’t support max-width, try to start narrow enough that the text can be enlarged to its highest IE setting without producing a scroll bar at 1024×768. You’ll see that is the case with my CSS Zen Garden submission. To step it up a notch, you can make it narrow enough that it’ll be enlargeable to it highest setting in IE on an 800×600 monitor as well. An example of this can be seen on my skinny elastic web hosting site (limited elastic-fluid hybrid). I do plan to re-do this in less than a year, but the link is good for now.

In Summary
As you can see, all of these layout methods have their pro and cons (can you think of others?). As far as which one is better I don’t know. It is just a site’s presentational layer as I noted previously, so with a little care and consideration, I think all of these methods are solid and usable when creating accessible, usable sites. That said, I do suggest not falling into the web purist trap of doing things because they’re more “pure,” sometimes at the expense of usability or accessibility. I’m not trying to criticize those self-proclaimed purists, they make us think and are a source of insight, but if you follow that route, do so cautiously. Have a purpose and a plan. “Just because” is not a reason — or so I tell my kids.




March 08, 2012

Fedora 17 Alpha Features


The Fedora Project proudly announced the immediate availability for download and testing of the Alpha version of the upcoming Fedora 17 operating system, due for release in May 2012.

Dubbed Beefy Miracle and powered by Linux kernel 3.3, Fedora 17 Alpha brings lots of new features, improvements and bug fixes.

Fedora 17 Alpha is distributed as an installable DVD and Live CDs with the latest development version of the upcoming GNOME 3.4 desktop environment and KDE Software Compilation 4.8, for both 32-bit and 64-bit architectures.

Some Features:
· Linux kernel 3.3.0 RC3;
· Move all to /usr;
· GNOME 3.4 Beta 1;
· KDE SC 4.8;
· Multitouch support;
· PackageKit integration;
· Automatic KDE Plasma dependency generation;
· SSSD AutoFS integration;
· SSSD-Sudo integration;
· The GIMP 2.8;
· Added Wallaby, a programmable semantic configuration service for Condor;
· Added "deny ptrace" for SELinux;
· systemd started services now run in private /tmp;
· Added Non-Uniform Memory Alignment Daemon (numad);
· OpenJDK is now the default Java Runtime Environment;
· Updated IPA to version 3, adding support for SELinux management, Active Directory domains, and SSH public keys management;
· Added new Font Configuration tool;
· ICC profile support for printing;
· Added English Typing Booster input method for iBus;
· Inscript 2 keymaps for Indic languages;
· Haskell Platform was updated to version 2011.4, with support for GHC 7.0.4;
· Boost was updated to version 1.48;
· DRI2 3D drivers only;
· Integration of libpinyin for better Chinese pinyin input;
· OpenStack now uses libguestfs and Qpid.




Fedora 17 Release Schedule:
February 28th, 2012 - Fedora 17 Alpha release
April 3rd, 2012 - Fedora 17 Beta release
May 8th, 2012 - Fedora 17 final release

Download Fedora 17 Alpha Installable DVD 
Download Fedora 17 Alpha GNOME Live CD
Download Fedora 17 Alpha KDE Live CD 
Download Fedora 17 Alpha Xfce Live CD
Download Fedora 17 Alpha LXDE Live CD

March 01, 2012

Some Photoshop Tips for Developers


If you’re a die-hard coder who needs nothing more than coffee and Vim, perhaps web development isn’t for you. It’s varied. While you certainly need top-notch coding skills, you can’t avoid handling media and graphics. Yes, graphics. Probably in Photoshop.

Photoshop seems a little odd when you first use it. The interface isn’t quite standard on any OS platform and some features will confuse you initially. Persevere with it, though, and you’ll never want to use another graphics package again. Fortunately, there are several ways to make your life a little easier…


1. Quickly Select a Layer

If you’ve received a PSD from a designer, you’ll either find they’ve flattened it (yeah, thanks) or it contains thousands of layers. To locate the layer you need, switch to the Move tool (V), hold down Ctrl and click the element you want. Alternatively, right-click it to view a menu of all layers under the cursor.

2. Easier Layer Management

Navigating multiple layers can be painful. Photoshop offers several options to help you manage long lists:

Assign a name: double-click a layer’s name to change it.
Assign a color: right-click the eye icon and choose a color.
Group layers: click the folder icon (circled) and drag layers into it. Folders can have sub-folders and be re-arranged, renamed, colored, collapsed or hidden.

3. View a Single Layer

It’s often necessary to isolate a single layer. You can do that by switching off every unnecessary ‘eye’ icon but that can take a while if you have many layers. A quicker solution is to hold down Alt and click the ‘eye’ icon on the layer you want. Repeat the action to re-enable the other layers.



4. Apply the Same Style to Another Layer

You can move styles from one layer to another by dragging the “fx” icon on the right-hand edge of the layer block. Hold down Alt at the same time and it’ll duplicate the styles.

5. Create Snapshots

I often find myself undoing several actions to return to a previous state, e.g. when creating graphics in multiple sizes. Clicking undo or finding the correct historical state isn’t always practical. Snapshots are a great option; click the snapshot icon in the History palette and Photoshop will create a copy of the current state which you can return to at any time.

6. Accurate Guides

Guides are useful when you’re lining up elements and slicing images. To quickly add a horizontal or vertical guide, view the rulers (View > Rulers or Ctrl+R), click the ruler and drag the guide to your image.

You should be aware that Photoshop allows guides anywhere — even half way through a pixel. This can lead to inaccurate slicing or unwanted anti-aliasing effects. To prevent the problem, create a rectangular selection first then drag the guide to the selection’s edge where it will snap accurately into place.

7. Multiple Undo

Ctrl+Z performs a standard undo. However, pressing it again undoes the undo — it becomes a redo! If that’s causing you grief, select Edit > Keyboard Shortcuts then expand the Edit in Application Menus. Remove “Ctrl+Z” in Undo/Redo and add it to the “Step Backward” setting.




8. Pick Colors from Anywhere on Your Screen

For years, I used a color picking tool to grab a hex code, opened the color palette and copied it in. There’s no need. When using any of Photoshop’s color-picker tools, click anywhere on an image then drag the cursor off the Photoshop window to any part of the screen.

The only drawback with this method is that you can’t switch to a hidden application — you may need to make the Photoshop window smaller so more of your screen is visible.

9. Easy Ruler Rotations

You’ll often receive images taken by the photographer after they’d had a few drinks. Fortunately, it’s easy to rotate pictures to their natural orientation using the ruler tool (under the same toolbar icon as the eye-dropper).

Draw a line along the horizon in the direction you want to rotate, i.e. if it needs to be rotated clock-wise, draw from left to right. Now select Image > Image Rotation > Arbitrary from the menu — the dialog will show the ruler angle so you can simply click OK.



10. Personalize Your Work space

Developers are a pedantic bunch. We spend hours organizing our desktops and IDEs so we can save a few seconds on repetitive tasks! Photoshop is a complicated beast and it can take time to open and position palettes and windows how you want them. To ensure it can’t be messed with, click the chevron icon at the top-right and save a new workspace.

Tutorials By:  




February 28, 2012

Free And Open Source Alternatives To Flash For Linux


A dedicated Flash player is not the only way to view Flash content. Here are two of the major open source alternatives that offer Flash access to Linux users.


 If you prefer to stay away from Windows and support the open source Linux platform then Adobe's Flash might create troubles for you now. With Adobe announcing plans to discontinue its standalone Flash Player for Linux, its updated versions will be available to Linux users only through Google's Chrome browser.


It would also be interesting to note how much longer Flash will be important to Adobe as HTML5 grows. Till then, do not lose heart! A dedicated Flash player is not the only way to view Flash content. A report by PCWorld lists down two of the major open source alternatives that offer Flash access to Linux users. 



Gnash:
It is a free and open source Flash movie player based on GameSWF. The best part of this tool is that it is available both as a standalone player and as a browser plug-in for Firefox and all other Gecko-based browsers. The latest version Gnash 0.8.10 can be downloaded from GNU.org site. According to its developers, Gnash flawlessly plays videos from popular video sites such as YouTube, Vimeo and others.

Lightspark:
Apart from Gnash, another free and open source alternative is Lightspark. It is a Flash player and doubles up as browser plug-in too. According to its developers, it "supports YoutTube well enough for daily use". The latest release of Lightspark, 0.5.4.1, was just launched at the beginning of February. It can be downloaded free of cost from the Launchpad site.


February 09, 2012

Integrate jQuery in HTML

jQuery simplifies building rich, interactive web frontends. Getting started with this Javascript library is easy, but it can take years to fully realize its breadth and depth. In this excerpt from jQuery Cookbook, the authors quickly get you up to speed by showing you how to quickly and efficiently add the jQuerry library to your HTML


There are currently two ideal solutions for embedding the jQuery library in a web page:

Use the Google-hosted content delivery network (CDN) to include a version of jQuery (used in this tutorial).
Download your own version of jQuery from jQuery.com and host it on your own server or local filesystem.

Including the jQuery Javascript library isn’t any different from including any other external Javascript file. You simply use the HTML <script> element and provide the element a value (URL or directory path) for its src="" attribute, and the external file you are linking to will be included in the web page. For example, the following is a template that includes the jQuery library that you can use to start any jQuery project:

===========================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<span class="strong"><strong><script type="text/Javascript"</strong></span>
<span class="strong"><strong>src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script></strong></span>
</head>
<body>
<script type="text/Javascript">
alert('jQuery ' + jQuery.fn.jquery);
</script>
</body>
</html>
===========================================================


Notice that I am using—and highly recommend using for public web pages—the Google-hosted minified version of jQuery. However, debugging Javascript errors in minified code is not ideal. During code development, or on the production site, it actually might be better to use the nonminified version from Google for the purpose of debugging potential Javascript errors. For more information about using the Google-hosted version of jQuery, you can visit the Ajax libraries API site on the Web at http://code.google.com/apis/ajaxlibs/.

It’s of course also possible, and mostly likely old hat, to host a copy of the jQuery code yourself. In most circumstances, however, this would be silly to do because Google has been kind enough to host it for you. By using a Google-hosted version of jQuery, you benefit from a stable, reliable, high-speed, and globally available copy of jQuery. As well, you reap the benefit of decreased latency, increased parallelism, and better caching. This of course could be accomplished without using Google’s solution, but it would most likely cost you a dime or two.

Now, for whatever reason, you might not want to use the Google-hosted version of jQuery. You might want a customized version of jQuery, or your usage might not require/have access to an Internet connection. Or, you simply might believe that Google is “The Man” and wish not to submit to usage because you are a control freak and conspiracy fanatic. So, for those who do not need, or simply who do not want, to use a Google-hosted copy of the jQuery code, jQuery can be downloaded from jQuery.com and hosted locally on your own server or local filesystem. Based on the template I’ve provided in this recipe, you would simply replace the src attribute value with a URL or directory path to the location of the jQuery Javascript file you’ve downloaded.

Thanks adfm for sharing this article.


Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes

HTML Hit Counter