How To Target Mozilla FireFox With CSS

How To Target Mozilla FireFox With CSS

Every web designer/developer knows about CSS rules even beginners know it so in this we are using as rule that targets only Mozilla FireFox. What I mean with targeting is, It's like the the style under this rule will only work on Mozilla FireFox. This rule is really useful because we can define what to show and what not to show. You can also target for Google Chrome and Safari I will write about it another time.

Code 



As you see in the code the H1 and H2 styles have been modified and that targets Mozilla Firefox(@-moz-document url-prefix()). So likewise you can add any style that you want to show up only with Mozilla Firefox.

A Phone Worth Considering – The Lenovo S820

A Phone Worth Considering – The Lenovo S820
Smartphones have moved over from being a craze as they have now moved to the category of necessities. Being able to provide computing and advanced networking facilities, the smartphones are liked by everyone. But with the availability of a plethora of smartphones from various companies, choosing the right one can be a little difficult. However, here is a simple, yet beautiful smartphone that would take your breath away.

You are an outgoing professional, who is always on the move and therefore require your phone to be ready to receive and send important messages any time. Since you do not want a bulky or a broad-frame phone, you can choose the Lenovo S820, Android smartphone. Loaded with some very good features, the phone is a real beauty.

As a successful professional, you have too many people calling you and therefore, having more than one SIM card is very essential. You do not need to carry two separate phones with you as you can have two SIM cards in your Lenovo S820. With a high performance MTK6589 quad-core 1.2GHz CPU, you get amazing speeds on your phone. You can make and receive calls and messages in no time, leaving you with enough time to enjoy a game or two on your smartphone.

Talking of games, the Lenovo S820 provides 4.7” capacitive IPS touch screen that has 1280x720 resolution, which provides a whole new gaming experience. You can run various Android based games on the Lenovo S820 as it has the Android 4.2 operating system. And if you are done with the games existing on your phone, you can download some new ones from the Android Playstore and save them on the external card that can be up to 32 GB.

As a professional or as a general user, there could be times when you need to upload and send important documents, images or pictures across to your colleagues, boss or to your friends. Integrated with Bluetooth support, you can surely share all the pictures, images and documents in no time. If you have been sent on a tour of an unknown area or city, you need not worry as you have Wi-Fi and GPS/A-GPS navigation support on your Lenovo S820. This would help you find your way out without getting lost.

The Lenovo S820 is a masterpiece and it offers so much. The dual cameras on the phone are another of these features that make the phone worth buying. You can click yourself with the 2 mega pixel front camera or get some one to click your photograph with the 13 mega pixel real camera. You are never alone with your smartphone as there are so many things that you can do with it. You can listen to music, watch movies and even play games. Supporting a wide variety of audio and video formats, your Lenovo S820 is your real pal.

The phone uses 2000mAH removable battery that provides it a long usage time. Nevertheless if you wish to charge your phone, you can simply use the US plug charger available with the phone. But you must really take care of your Lenovo S820 as it weighs only 106g. So, take care of your pal and be ready for a very good time.

For more information visit: buzzshop.co

How To Make a Line Break/New Line in Java

How To Make a Line Break/New Line in Java
Line Break or New Line : I hope you understand what it is, in HTML you use <br> tag to make a new line so in Java if you want to make a new line it's not that hard but it has several methods depends on the platform.

Coming to the point, most of the java beginners think this is the one and only way to make a new line : System.out.println("\n"); but It's not true.. let me tell you something you might think that whatever you program using java will work on other java supported platforms, YES! they will work on other platforms but there are few things that has to be changed in order to get the functions work.. for example this tutorial; this line of code : System.out.println("\n"); would make a new line only on Windows. As I said before there are few things that are different from platform to platforms.

If you want to make a new line on Mac you must use this : System.out.println("\r"); and for Linux you have to use this : System.out.println("\r\n");. So I came up with something that works on all the platforms, It's pretty simple and works perfectly.

First you need to make a public string and set the value to make a new line(You can also just make normal string and set the value)
Add this line of code before your main event
public static String breakline = System.getProperty("line.separator");

Whenever you need to make a new line just use this line of code 
You can add this wherever you want to
System.out.println(breakline);

Please comment if you have any doubts..!

Choosing between PPC and SEO

seo, ppc, pay per click, marketing, france, ppc advertising, french, multilingual, Choosing between PPC and SEO

If you’re entering a foreign marketplace like France, then choosing whether to use PPC (Pay Per Click) or SEO (Search Engine Optimization) to promote your business can be difficult.

This infographic gives some guidelines about when to choose SEO and when to choose PPC.  If you’re promoting your site in a language that you don’t speak particularly well, then PPC is obviously the easier route, as it means that you only need to translate your PPC ads and your site (yes, if you’re targeting France, then it’s still essential to have your site in French, even with PPC).

Let’s assume you speak the language fluently.  If so, then PPC generates immediate results on the day you place the ad, however if you stop paying for the ad then the results disappear just as immediately.  SEO on the other hand takes a while to start, but if done well will generate organic traffic for years to come with just a minimal top up.

If you go the SEO route, it’s essential to use a company that’s familiar with the latest Google algorithms.  These days links have to be high quality and relevant to be effective.  As the infographic shows, it’s not always necessary to choose between them and you can use SEO for some keywords and PPC for others.

The infographic was written by Martin Woods, the SEO Director of the French SEO Team at Indigoextra Ltd.  Based in the UK and Montpellier, France, the team offer SEO in English, French, German and Spanish.

When he’s not unravelling the ever-changing puzzle of SEO, Martin loves unravelling and creating cryptic crosswords and has written over 500 crosswords for The Big Issue in the North, a homeless charity.  He home educates his two boys and also enjoys skiing, reading and walks in the beautiful countryside that South France offers.

How To Get Response Headers From a HTTP Request in Java

With this Java program you can get the the response headers from a HTTP request. You may have seen HTTP headers in Google Chrome/Mozilla Firefox network feature in inspect element (it just automatically captures HTTP).

All you have to do is run the program from command-line or on eclipse (or any IDE you want), after executing the program you will be asked to enter an URL to get the response headers from HTTP request (Note : make sure you don't enter URL's without 'http://'). Within seconds you will get the HTTP request response headers one after the next line.

This program has 7 namespaces, of course you need them in order to compile/execute the program
import java.util.Scanner;
import java.net.URL;
import java.net.URLConnection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

and we are using a public string that helps to make a line break
public static String BR = System.getProperty("line.separator");

Okay let me put all the parts together, it uses Scanner(that to get the users input), Map, List, Set, Iterator, a while loop, String Builder and finally it prints.

Program Source Code
import java.util.Scanner;
import java.net.URL;
import java.net.URLConnection;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

/* 
Author : Mohamed Shimran
Description : Getting Response Headers From a HTTP Request
Blog : http://ultimateprogrammingtutorials.info
Facebook : http://fb.me/54j33dh4
Twitter : http://twitter.com/54j33dh4
 */
 
public class httpRequest {
public static String BR = System.getProperty("line.separator");
public static void main(String[] args) throws Exception {

  String Link;
     Scanner in = new Scanner(System. in );
     System.out.println("Enter Link To Get Response Headers From HTTP Request :");
     Link = in .nextLine();
   
System.out.println(BR);

 URL url = new URL(Link);
 URLConnection conn = url.openConnection();
 
 Map> HF = conn.getHeaderFields();
 Set HFS = HF.keySet();
 Iterator HFI = HFS.iterator();
 
 while (HFI.hasNext()) {

      String HFK = HFI.next();
      List HFV = HF.get(HFK);

      StringBuilder strbld = new StringBuilder();
      for (String value : HFV) {
   strbld.append(value);
   strbld.append("");
   }
      System.out.println(HFK + "=" + strbld.toString());
   }
   }
}

Process
javac httpRequest.java

java httpRequest
Enter Link To Get Response Headers From HTTP Request :
http://www.ultimateprogrammingtutorials.info

null=HTTP/1.1 200 OK
ETag="5064ad83-05c5-4cef-bbba-a3030b0727da"
Transfer-Encoding=chunked
Date=Wed, 15 Jan 2014 14:12:06 GMT
X-XSS-Protection=1; mode=block
Expires=Wed, 15 Jan 2014 14:12:06 GMT
Alternate-Protocol=80:quic,80:quic
Last-Modified=Wed, 15 Jan 2014 14:10:59 GMT
Content-Type=text/html; charset=UTF-8
Server=GSE
X-Content-Type-Options=nosniff
Cache-Control=private, max-age=0



How To Get Response Headers From a HTTP Request in Java

Final Words
What can I say? It's just another simple java program by me(of course got help from many resources). I hope you really like it or found it useful, share it if it deserves and PEACE!.

Android Terminal Emulator

Better Terminal Emulator Pro : android, android terminal emulator, terminal emulator,


  •  Overview of the Android terminal emulator:
 The world of computers is witnessing a change, just as it witnessed in the 90s. In the early 90s microprocessor became cheaper and terminal based dumb computers got replaced by powerful workstations. Today we are noticing that these powerful workstations are running out of trend and are being replaced by equally powerful but more portable mobile computers. When we say mobile computers we are explicitly referring to the handheld devices. Today handheld devices have become powerful enough to host almost any application that was traditionally meant for large desktop computers. This has been a result of the revolution in the manufacturing processes at the nano level. Today even smaller but more powerful chips are being developed that will one day surely render the large desktop computers useless.

One such application that desktop computers were extensively used for is that of terminal emulators. But since now mobile and handheld devices are equally powerful, it was only a matter of time that someone developed a mobile terminal emulator. The first such emulator to hit the market is the android terminal emulator. It has been specifically designed to run on hand held devices running on the android operating system and emulates VT-100. For those who are not familiar with the VT-100, it was a terminal based computer that was very popular in the 70s. Most of the terminal emulators target VT-100 since it has the largest customer base.
  • Various features of the android terminal emulator:
As already stated, the android terminal emulator targets VT-100. It is also possible to access the entire file system of the hand held device itself. It also allows the user to perform an installation of the command line applications based on the Linux shell.  It provides the user with a full screen QWERTY keyboard. However some users have reported problems while using these keyboards, for them it’s best if they downloaded and installed Hacker’s keyboard IME.

Another very important feature is that with the android terminal emulator a user can send command line parameters to communicate with the sites that do not support the modern FTP or World Wide Web protocols. One of the features that is absent from the android terminal emulator is that it has no support for the Telnet and SSH. Even though in the current version it is lacking, but such features are expected to be included as an inherent part of the application in the near future.
  • How to get the android terminal emulator:
The android terminal emulator can be downloaded directly on the handheld devices that support Google play. If you have a mobile device that doesn’t supports Google play then you can download it from the official website i.e. github.com

One of the misconceptions about the android terminal emulator is that it can help in gaining access to root or in other words to hack a mobile device. Please note that no such features are neither supported nor encouraged by the android terminal emulator.

The author of this article has worked on the development team of the android terminal emulator; he also provides support for the same and is also involved in its documentation. He writes regular tips on Terminal emulator on www.rocketsoftware.com

Ways to Improve Search Engine Ranking

SEO, seo tips, search engine optimization, keywords, website, technology, internet,
If you are reading this article then it is safe to assume that you have a website and you are looking to improve its position on the search engine results pages. If this is the case then the first thing you need to do is perform an SEO audit. You will have to research into a current template/plan and follow it to check your SEO.

An SEO audit is a set of checks that you can do to see how well your website is optimized. It involves checking things such as keyword relevancy and broken internal links. Once you have completed your SEO audit, it is time to start fixing your website’s SEO. If you fix the SEO problems then you will rise higher and faster through the search engine results pages. Here are a few tips to help you fix the things you highlight in your audit.

Is your internal website navigation good, usable and bug free?

Your websites navigation needs to easy to use. Your navigation system must be intuitive and must be easy to see. For example, you should make sure that the search bar is at the top of the page, and that any small sitemaps are on the footer.

You must have at least three internal links coming from every page, and the anchor text to the internal links should be optimized. For example, you could have a link back to your homepage on every page, and you could call the link “home page”. But why not vary it a little on each page, such as having “back to our Home page” or “Go back to home page”.

The navigation should be bug free. In other words, you should be able to click a link and have it take you to the page it describes. The link should be clickable and should never lead to the web page freezing.

Are your pages too heavy?

Every web page that a person looks at must be loaded onto their computer. Thanks to broadband Internet, your web page should take less than three seconds to load. If it does not then there may be too much to load, and you are going to have to lower the weight of your page. You may have to make images smaller, lower the weight of elements, or spilt certain parts of one page so that it makes two. The longer it takes for your web page to load then the lower you will rank on the search engine results pages.

Some people create very good web pages that are very attractive and very salable, but the trouble is that some people (especially those with 3G) are going to have to wait longer for it to render (appear) and load. Some people simply do not have the patience for such things, and why should they? The Internet is so bogged down with crappy content that most pages people visit will be abandoned within seconds.

Does your website have relevant keywords within it?

This is a tricky subject, which is why it is a good idea to do a lot of keyword research. You need to find out what sort of keywords your target audience are using to search for your web pages. You should also check to see what keywords your competitors use, because they too are aiming to attract your target audience. You should research the correct keywords for each of your pages, since each page is most likely going to differ from all the others.

You should use keyword tools to check to see if a keyword is used a lot, but you should also think about keywords that come to your mind. What would you type into a search engine? You also need to be aware of what you would write and what your target audience would write. For example, you may choose keywords such as “X for sale”, but remember that as a buyer, you may actually search for “Buy X” or “Where to buy X”. Try to put yourself in your target audiences shoes and use a little bit of common sense and gut instinct.

Where can you get your information from?

For a start, you should never take the word of things you read from articles and websites online (an odd thing to say within one of those very articles). The fact is that a lot of online content has not been created by true experts. A large portion of it has been created by people who are making up plausible lies. The rest of it is created by well meaning (but misinformed) fools.

There is some very good advice to be found online, but you must take it all under advisement (with a pinch of salt). Your best place to start is with Google itself. They have a lot of tutorials on their Google webmaster section, and even some forum answers from their staff which are very handy.

Books are an okay place to look, but you really (really) need to get a book from a company that is highly respected for being correct. There are some books out there that look like they know what they are talking about, but that are filled with misinformation. Try an updated version of the “For Dummies” books. Make sure you go for the updated versions, because the version they printed around three/four years ago is already out of date. For example, social media is hardly mentioned.

John Kravz is a representative of proessaywriting.com that provides excellent help on your writing assignments such an critical essay.

Top 5 Twitter Tech Experts You Should be Following

technology, technology and gadget, expert, experts, twitter, social networks,


Millions of people around the world are interested in technology. The great thing about the technology industry is that there are so many different strands to it.

People who are interested in the development of the latest smartphone can discover exactly what features they can expect to find on their next handset, while we can also look at the latest computers, innovations, medical technology and so many more different things.

The big question is where can you go to get all your key information? Many people use Twitter, which is understandable, but with so many experts present on the social network, what do you do? Following thousands of tech minds is hardly practical, which is why our infographic of the top five technology experts to follow on Twitter is such a valuable resource for users. Get following now and never want for your fix of global tech news ever again.

Mark loves apps and can’t decide which app he likes best on his Android device.  He is considering taking out web hosting with JaguarPC so he can start a review site for apps across a variety of platforms.

Why You Need To Get Above The Average Typing Speed

typing, typing tips, typing skills, infographic

The average adult types somewhere around 40 words per minute. By comparison, a hunt and peck typist can usually max out around 20 wpm, and someone writing with a pen on paper will usually top out at around 15 wpm. Learning to properly touch type can be one of the most important things you learn in 2014.

Why?

Because the world is run by computers. Gone are the days of being able to apply for a job with no typing or computer skills, or just being able to 'get by' with some basic hunt and peck typing. Even a basic cashier's position in a grocery or department store is going to require some basic typing and computer skills. They may not be as stringent as the requirements for say, a programming or secretarial job, but they are still there.
Learning to touch type properly may be one of the most important things you ever do. It's proven that touch typists are more efficient as well. Just look at the math.

A touch typist who types 60 words per minute for 60 minutes will type approximately 3600 words, not accounting for breaks or any accuracy discrepancy.

A hunt and peck typist, typing at 20 words per minute for the same amount of time, will only type 1200 words. That is a 66% loss of efficiency.

There is a little section on a resume template that many people overlook: the applicant's words per minute typing speed. Try applying for a few computer or office jobs with a listing of 20 or 30 words per minute. Keep track of how many times your resume is overlooked, passed over, or simply thrown in the trash. With the abundance of free online training tools and games, there is no excuse for anyone over the age of 6 to not learn proper touch typing techniques and skills. It is, without a doubt, the most important skill you can learn to make you valuable in the job market.

Adam Fort is an education enthusiast. Adam's goal is to help kids areound the world to improve the typing skills.