Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

Seo Master present to you:
By Doug Fritz of the Google Data Arts Team

Today we're sharing a new Chrome Experiment called the WebGL Globe. It’s a simple, open visualization platform for geographic data that runs in WebGL-enabled browsers like Google Chrome. The globe below shows world population, and we’ve created another globe showing Google search traffic.


The primary challenge of this project was figuring out how to draw several thousand 3D data spikes as quickly and smoothly as possible. To do this, we turned to Three.js, a JavaScript library for building lightweight 3D graphics. For each data point, we generate a cube with five faces – the bottom face, which touches the globe, is removed to improve performance. We then stretch the cube relative to the data value and position it based on latitude and longitude. Finally, we merge all of the cubes into a single geometry to make it more efficient to draw.

The second challenge of the project was animating the globe – we wanted it to be fun for the user to manipulate. Thanks to WebGL, we’re able to display thousands of moving points at high frame rates by using the user’s graphics processing unit (GPU) for 3D computations. Each state of the globe has its own geometry and we morph between them with a vertex shader, saving precious CPU resources. Additionally, to make the globe look nice, we took advantage of the possibilities of GLSL and created two fragment shaders, one to simulate the atmosphere and another to simulate frontal illumination of the planet.

Now that we’ve released the globe, we’re hoping that developers like you will create your own. What data will you show on it? If you’re feeling inclined, you can learn more about the data format (represented in JSON) and get the code here. If you create your own globe, please also consider sharing a link with us -- at some point in the future, we hope to post a list of interesting globes that have been submitted.

UPDATE 6:16 PM: Fixed link to the code in last paragraph.


Doug Fritz is a creative programmer in Google's San Francisco office. Doug says he likes "simplifying the complex and complexifing the simple, because in reality it's all somewhere in the middle".

Posted by Scott Knaster, Editor
2013, By: Seo Master
Seo Master present to you: When visitors are searching for content on your blog, you have the following options to display the search results: opening the results in the same window, in a new window or within your own site using an iframe.

But the best option is to display the search results in your own site/blog, mainly because you are not sending people off your blog and when they are taken to a new page of search results, so it could be confusing many times because it doesn't look anything like your site or Google. Therefore, displaying the search results within your site, could look more professional and could also increases your page views and your revenue from the ads on the search page.

A problem that many bloggers are facing is that the page which displays the AdSense for search results must be at least of 800 px wide, so the posting area must be of minimum 800px and there's nothing like that in most of the blogs.

So, what we will do in this tutorial is to set up the search results to be displayed in a static page (none of other posts or pages will be affected) where we'll remove the sidebar, so that we'll have enough space to make the post/page section of 800px wide. Also, we will create a static page specially designed for the search results, then create a new AdSense for search in our AdSense account and finally add a small snippet of code top in your Blogger template to hide the sidebar in that specific page.

Search results span the width of the page with the sidebar hidden:


Display AdSense For Search Results Within Blogger Page

Step 1. Create a new static page on your blog, you can give it the title 'Search Results' but leave the content section empty and then Publish the page.

Step 2. When you publish the page you have the option to add the page to a menu, choose the third option 'No Gadget Link To Pages Manually' click 'Save and Publish'. OR in case this screen will not appear, right click on View Page and select Copy Link Address. We will need this URL of the page when creating the AdSense for search.

Step 3. Go To Your AdSense account, then go to My ads tab, select the Search option and Create a New custom search engine. Follow the steps until you come to the Search results option.

Step 4. Select the 3rd method "on my website using an iframe", then Enter the URL of the page you created into the URL field and continue.


Step 5. Follow the rest of the set up process, at the end you will be given two pieces of code. The first piece of code is for the actual search bar that you can paste into a Html/Javascript gadget in your sidebar or wherever you want it. The second piece of code you must copy and paste into a new HTML/JavaScript gadget and after clicked on Save - drag it above the Blog Posts area


 Now that you have your page set up with the search results code and your search bar code in your sidebar, it is time to add a snippet of code to your template to remove the sidebar.

Adding The Code In Blogger To Change the Results Page Layout

Step 1. In Your Blogger Dashboard, go to Template > Edit HTML - then click Proceed 


Step 2. Select the "Expand widget templates" box



Step 3. Find (CTRL + F) the following piece of code

]]></b:skin>

Step 4. Just below it, paste this code:

<b:if cond='data:blog.url == &quot;PAGE-URL-HERE&quot;'>
<style>
.main-inner .columns {
padding-left: 0px !important;
padding-right: 0px !important;
}
.main-inner .fauxcolumn-center-outer {
left: 0px !important;
right: 0px !important;
}
.main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
display: none !important;
}
</style>
</b:if>

Note: Replace PAGE-URL-HERE with the url address of the page where the search results will be displayed (the one you have added at the step 4)

Step 5. Now Save Template and you're done!

This simple trick allows you not only to hide the sidebar in the search results page, you can, as well, hide it in any page you want... just create your page and follow the same steps. It is also good to hide the sidebar in Privacy Policy Pages, Contact Pages and in all the non-content-based pages with little content or no content at all.

Make sure to check out other interesting AdSense Tutorials.
If you need more help, leave your comments below.

2013, By: Seo Master
Seo Master present to you:

Top 5 Ways To Save Money On Your Cell PhoneTop 5 Ways To Save Money On Your Cell Phone


Cell phones are a part of essential everyday life for most people, but they come with a cost - the cost of the phones, the plans, apps you want to download, and more. Fortunately, there are plenty of ways you can save money on your cell phone. Here are just a few ideas.

1.) Buy your next cell phone cheap:

Getting a new phone can be an expensive process. If you're getting a contract phone, don't go for the newest and biggest right away. You can get some great phones for under $50 with a new contract - sometimes even free. If you can't take advantage of that offer, do some research on good budget phones, or buy a used or refurbished phone for significantly less. This helps eliminate the huge upfront cost of a new phone.

2.) Ask about an employee discount:

Many businesses will have deals with the major cell phone companies that offer discounts to their employees. The catch? They're not always advertised. If you're looking to save money on your phone bill, contact your business's HR department and ask if they offer an employee discount for your particular carrier. Are you a student who's not working full-time? Ask your college. Many of the larger colleges partner with the cell phone providers as well to provide discounts. Sometimes to get these discounts, all you have to do is ask.

3.) Use free texting apps:

If you're on a plan that charges you for texting, you can cut that expense out of your budget by using a free app to do the exact same thing. Textfree and Heywire are two examples, but there are plenty more. It's a little bit more work, but by cutting texting charges out of your plan, you can save a significant amount on each month's phone bill. Most free texting apps even let you send picture messages, so you can still send everyone the photos you're taking.

4.) Use a family plan:

You don't have to be related to someone by blood to include them on your family plan, so take advantage of that. Include your roommates, your neighbors, or close friends. As long as they're reliable to pay their portion of the bill on time, you can all save some serious money on your phone plans. Select one person to be responsible for paying the bill, and they can collect everybody else's share.

5.) Get rid of the cell phone extras:

You may not even realize all the paid extras you have on your bill. Take a moment to look over your bill carefully and notice any extra charges. Mobile insurance, ringtone subscriptions, monthly games, GPS navigation, and roadside assistance are just a few of the features you may be paying extra for, even if you're not using them. Trim costs by trimming the extras. Bear in mind that you may have to call your cell phone provider to take them off your account.

You don't have to pay an arm and a leg to enjoy all the joys of owning and using a cell phone. Just follow these tips and you'll start seeing the difference!




Author Bio:
David Johnson writes about smartphone reviews and deals. He is a frequent contributor to a number of online coupon blogs. To start saving money on your next cell phone click here and use promo codes from at&t, Verizon Wireless, Sprint, and T-Mobile.
2013, By: Seo Master
Powered by Blogger.