Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Monday, May 14, 2018

Solution for Chrome USB debugging remote devices doesn't appear

Today I was forced to inspect crashing chrome browser. To inspect that i needed to use desktop chrome.

To do that there is pretty good tutorial: https://raygun.com/blog/debug-android-chrome/

But after completing all steps. Nothing appeared in "remote devices" on desktop.

After few hours i have found solution.

To fix that:



  1. Download SDK Platform-Tools for Windows zip file. Extract..
  2. Launch cmd.exe ( command prompt ). 
  3. From extracted folder launch "C:\path_to_file\adb.exe devices" . You might get as i got - "List of devices attached: 9be86c14 unauthorized"
  4. Now unplug your phone and plug it back. 
  5. Check your phone that it allows PTP connection of USB debugging ( check raygun.com link ).
  6. Repeat #3 step - launch "adb.exe devices" command again. You might get same message in cmd.exe window. BUT now check your phone. There should be confirmation popup window for mac address. Accept that.
  7. Now just repeat same #3 step. As it shown from my screenshot i got success message "9a479b83 device".
  8. Done. Now you should be able to detect the device under "remote devices" in google chrome. 

To inspect url on device:

  1. On device open chrome and open desired url
  2. On desktop open remote devices 
  3. Click device
  4. Near appeared list of "opened" tabs with shown urls find your "last one" and on right side click "inspect" button.
  5. Done.

Happy debugging.

Let me know if it helped you. Or write where you stuck and how you solved it, so other people could save time. Thanks.

Monday, February 17, 2014

Experiment code missing the cookie domain name declared in tracking code

If you still dont know why you get the error:

Your google analytics code had "subdomain" enabled mode. for example www.igloro.info is main domain, and kambariokai.igloro.info is subdomain and it has enabled subdomain mode.
When I have tried to create experiment I got the error.

Solution:


  1. Open your google analytics code and copy _setDomainName.
  2. Open code which you have added into your . And add code before experiment code replacing domain name with your one:

Monday, August 5, 2013

Accidental noindex recovery

Story:
One big site had mistakenly became full noindex. After few days it effected visitors count from google. Webmasters search queries went down. And other not funny things happened.

Main questions:

  1. Recovering from noindex effects ranking?
  2. How to recovery
  3. How fast it will recover
  4. What to do to faster recovery

1. Recovering from noindex effects ranking?

No, recovery from noindex doesnt effects ranking. ( at the moment ).

2. How to recovery

Remove noindex tag from all pages you want to get back to index.

3. How fast it will recover

From results which we have seen your site will recovery less than a week. 

4. What to do to faster recovery

  • Resubmit sitemaps
  • Fetch as google from webmasters tools of google for main URL with "URL and linked pages submission"
  • Fetch as google from webmasters tools of google for other parts of your domain with simple "Submit to index"
  • Post some articles on blogs for robots to index your page faster
  • Share main URL on social circles.
Some source articles which might help you as they helped us:
The article might have titles:
  • How to go back from noindex to index
  • Mistake of noindex
  • Recoverying from noindex site
  • Going back to index
  • Going back from noindex


Thursday, June 20, 2013

Tracking redirects with google analytics

I have tried to use php headers, but no success. Google analytics cant track page with php header location.

meta tag is not good way for me... so i found fastest redirector with javascript.

Here is code:

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-******-*']);
_gaq.push(['_trackPageview']);
_gaq.push(function() {
      setTimeout(function() {
        window.location = "http://pilotaz.blogspot.com";
    }, 250);
});
(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
It is a simple google analytics script with window.location method in function. 

Friday, February 22, 2013

How to clean Gmail fast

If you didnt deleted mails from your gmail for ages, and you want to delete some of them and archive other ones than you came to right place.

Here is how to do it.

Sing up on mailstrom ( https://mailstrom.co )

You need to use the great tool.
With the tool I deleted / archives 16000 emails ( something like ~1 hour... work )

Here how it works
You give access to your gmail. The tool scans for titles and mails names and groups them.

Here is some suggestions how to clean.
1. Delete all social mails ( junk, right? )
2. Check mails grouped by size ( More than 10 mb ).
3. Finally go to section group by Time and delete / archive everything
3.1 My method: After click certain time label , i unckeck mails which ill archive., after i press delete button. Once mails sent to delete i double press on "uncheck/check all" checkbox to select all mails which are left. Once they are selected i archive them. It takes about 5-15 secs per Time label. ( +5-30 extra load )

So if you have like 40 time labels, it will take you like 40 x 1min = 40 minutes to delete everything.

My mailstrom history:


Result:

Wednesday, June 13, 2012

Blockly - Google's programming language

Blockly is a web-based, graphical programming language. Users can drag blocks together to build an application. No typing required.
Blockly is currently a technology preview. We want developers to be able to play with Blockly, give feedback, and think of novel uses for it. All the code is free and open source. Join the mailing list and let us know what you think.
You can try to programm with Blockly by your self.
  • Maze - Use Blockly to solve a maze.
  • Code - Export a Blockly program into JavaScript, Dart, Python or XML.
  • RTL - See what Blockly looks like in right-to-left mode (for Arabic and Hebrew).
 
My result for Maze:

Wednesday, April 25, 2012

New google service - Google drive

So if you haven't heard about it yet. Today launched new google service - google drive. Which provides storage service.

At the moment you will get 5 free gb storage for files, 10 gb for your gmail which you already have and one more gb for picasa images.


Url of the google service google drive:https://drive.google.com .

P.S. I didnt got access at first. All i could do is to request "Notify me" when my google drive will be ready.

Tuesday, February 21, 2012

Saulės elektrinės

At the moment working with company which wants to increase their visitors count and so on... to their page. So all i did at the moment created blog, facebook account, wrote many articles on the blog about sun energy.
Articles about sun energy or Saulės elektrinės can be fount here - http://sauleselektrines.blogspot.com.
Articles i created supposed to be matched for these keywords:

saules baterijos, saules energija, saules elementai, saules baterijos, Saules baterija, saules elektrines, saules energetika, saulės energija, saules jegaines, saules elektrine, alternatyvi energija, saulės jėgainės, saulės elektrinės, saulės energijos sistemos, saulės elektrinė, saules energija uab, saules jegaines kaina, saules vejo energija, saules jegaine, sun energy, saules energijos supirkimo kaina, saules enerģija, saulės energija lietuvoje, grid tie saules elektrines, Fotomoduliai, Saules fomotomoduliai.

And finally facebook page - http://www.facebook.com/pages/Saul%C4%97s-Elektrin%C4%97s/345288302172587?sk=wall



Friday, December 30, 2011

Count emails on gmail.com

As the app says they will generate report in which you will see various information about your year using of gmail.com.

I disappointed a bit after i couldn't login into the site on chrome.
And finally it will take up to 72 hours to generate report. So i still didn't got mine yet :)

We’ll scan your emails, and email you a private link when it is ready. Due to the overwhelming demand for these reports, we're advising everyone that it may take up to 72 hours as we get through everyones Emails.

Anyway i think that its cool tool too found out how effective was your gmail account.

Source: https://yearinreview.toutapp.com

Wednesday, August 24, 2011

Simple Google Weather Unofficial Api



Hey guys. If you are searching for very simple google weather Unofficial api, so here is the code for it.

<?php                   
//Created by Roman Losev 2011
//http://pilotaz.blogspot.com/
//email: pilotaz@gmail.com
//Thanks for feedback.

$url = "http://www.google.com/ig/api?weather=Vilnius+Lithuania&hl=lt";

ini_set("user_agent","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0"); 
ini_set("content_type","text/xml; charset=\"UTF-8\"");                                      
ini_set("accept_charset","utf-8;q=0.7,*;q=0.7");
ini_set("max_execution_time", 0);
ini_set("memory_limit", "1000M");

$xml = simplexml_load_file($url);   

$image_size = "80";
$count = 0;
echo '<div id="weather" align="center">';
$img = IMG_URL."me/hero_bg.gif";
echo "<table border='0' width='400' style=\"background: url(".$img.") bottom left repeat-x #FFF; border: 1px solid #EEE; padding: 20px\">";
foreach($xml->weather as $item) {  
echo "<tr><td colspan=\"4\" align='center'>Vilniuje šiandien: ".$item->current_conditions->temp_c['data']."° C, ".$item->current_conditions->humidity['data'].", ".$item->current_conditions->wind_condition['data']."</td></tr><tr>"; 
    foreach($item->forecast_conditions as $new) {  
         echo '<td style="padding: 4px;" align="center"><div class="weatherIcon">';
         echo '<img src="http://www.google.com/' . $new->icon['data'] . '"/ width="'.$image_size.'" height="'.$image_size.'" style="border: 1px solid #a1a1a1"><br/>';
         echo $new->day_of_week['data'].": ".$new->low['data']." - ".$new->high['data']."° C";
         echo '</div>';
         echo "</td>";
    }
}
echo "</tr></table>";
echo '</div><br>'; 
?>

Monday, July 11, 2011

Pagerank counter

All websites has their own pagerank. And you can check your website's page rank on various pagerank counter's pages.

One of the pagerank counter pages is: http://www.igloro.info/en/pagerank.html

Description of the page:
Check your site's pagerank here. Igloro pagerank counter is one of methods which calculates and determine what your site's google page rank ( Google PR ) is. Important pages receive a higher PageRank and are more likely to appear at the top of the search results. Google Pagerank is a measure from 0 to 10. Google Pagerank is based on backlinks. More good quality backlinks you have, better for your site. Improving your Google page rank (building quality backlinks) is very important if you want to improve your search engine rankings.
Function of the page is easy.

1. enter website url
2. press check.

My outcome:

2011-06-10: http://pilotaz.blogspot.com Page Rank was: 0 

Wednesday, July 6, 2011

Web development - seo keywords optimization tools - my new blog


So, few days ago i created my new blog for my new project - igloro.info ( You are all welcome to visit my new blog here: http://seokeywordstools.blogspot.com/ ). I write update's news there and description about all tools we are created.

Saturday, July 2, 2011

Seo keywords optimization tools.


Currently working on my own new project. In the project im trying to create tool for monitoring seo keywords of other projects.

I have a lot fun and im trying to use most newest tools to create it. There already is some good tools, like keywords searching, google pagerank counter, urls counter, google analytics monitoring and much much more coming!

Hope to see some testers there and ill would like to hear some suggestions from your side if you are very interested in it.

It is a bit bugged for now but ill fix everything very soon.

Also it will be multi language project. But for beggining there will be only 2 languages - Lithuanian and English.

Source: http://www.igloro.info

Monday, May 16, 2011

Google chrome Program too big to fit in memory [ Solution ]


Today for first time i meet the problem.

I was browsing as always... many tabs - like 10. Most of them are text. Suddenly my pc showed BSOD. After restart google chrome want start. And shows cmd windows for a second.

With cmd.exe ( start > cmd.exe ) , you can run same google chrome to see error message. It was - "Program too big to fit in memory".

After some google searches i read nothing interesting but only complains and questions about the problem.

I was not worried about my bookmarks because im using google sync.

1. So i just opened firefox.
2. Went to Google Chrome download page.
3. Downloaded / Ran setup
4. After installation all came back to normal.

Also last session was saved... and i could see pages which was opened before BSOD.

In worst situation you can lose your bookmarks. So its up to you...

Leave a comment if your bookmarks haven't erased after install. If you didn't used google sync. Cheers.

Hope it will help you guys. 

Thursday, March 31, 2011

Page speed checker by Google



Here you go... google launched Page speed online analyzer. While it analyzes, it gives you lots of suggestions after completeing them, you website speed will improve!
There is 2 methods of analyzing - Desktop and Mobile. After analyze you will get number from 0 till 100 which describes your result of website speed.

URL: http://pagespeed.googlelabs.com/

Thursday, January 6, 2011

httpd.exe apache cpu 100% load


I had the problem today. When i started Apache from Xampp control panel, CPU usage became 100%. Nothing changed after apache restart and PC restart. Same.. - 100%.

So to understand what is happening you need to 
1. go to: C:\xampp\apache\logs
2. open  access.log with text editor

if file is too big to open ( bigger than 5 mb ) do this:
1. just delete access.log and error.log
2. start apache and stop it after it will start loading your CPU to 100%.

In access.log, you will be able to figure out what is happening with your apache ( httpd ).

In my situation was some kind of apache virus ( which affects my files with new scripts called webdav and webalizer ).
So if you have the folders in your xampp folder, that means you have same problem..

i solved it by this way:
1. -> Control Panel\Network and Internet\Network and Sharing Center
2. -> Windows Firewall
3. -> Allow programs to communicate through Windows Firewall
4. Removed Apache HTTP Server with checked under Public ( To do that press Change settings button on top )
5. Close everything.

It might not help you. So here is one more idea what you could do in the situation:
After finding out what IP requested execution of the script in part with error.log just Block it! Google for answer..

Sunday, September 12, 2010

Google Chrome 7 URL bar weird auto complete

If you are using 7th version of Google Chrome, and you don't like how it changes your first letters of url you trying to write to complete url. Than here is easy follow guide how to disable it.

1) Key -> Options
2) Under and Bonnet
3) Uncheck -> "Use a suggestion service to help complete searches and URLs typed in the address bar"
4) Close
5) Done!

Happy URL writing.

Newest version of Google Chrome can be downloaded here:
http://www.filehippo.com/download_google_chrome/

Tuesday, March 30, 2010

Android Weather Problem ( Current ) [Solved]



So, if you are so newbie as i was a minute ago than this should help you if you have problem with weather shower.. which shows not your town as current while you are in other town.
1. Anyways all you need to do is to remove weather and time widget from desktop.
2. Press "+" to add widget
3. Add time widget which you like
4. It should ask you about City selection, after you selected Clock design.
5. Select your town
6. Add weather widget. 
Done.

Solution was fount here ( post by Marshal ): http://androidforums.com/htc-hero/8157-current-city-issues.html

Thursday, October 29, 2009

Google Story

Very cool video about Google.

Googlers in our London office put together this quick look at the history of Google for our 11th birthday in September 2009. Originally featured on the GoogleChannelUK.


Wednesday, October 7, 2009

What is browser

One guy from Google was pissed off by his mother when he was trying to explain what is a browser. So he decided to ask some of his friends. He figured out that his mother is not only who don't knows what browser is. So he was so pissed off that he created web site and even a video for the people who don't knows what browser is.

Learn what a web browser is by watching this 1 minute video.




Page the guy created:
http://www.whatbrowser.org/