<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java never die</title>
	<atom:link href="http://www.javaneverdie.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javaneverdie.com</link>
	<description>Java modern frameworks. But not only.</description>
	<lastBuildDate>Sun, 07 Mar 2010 11:15:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Want to show &#8220;mobile&#8221; or &#8220;phone&#8221; site version &#8212; check user agent</title>
		<link>http://www.javaneverdie.com/gwt/want-to-show-mobile-or-phone-site-version-check-user-agent/</link>
		<comments>http://www.javaneverdie.com/gwt/want-to-show-mobile-or-phone-site-version-check-user-agent/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 19:14:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[GWT]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=456</guid>
		<description><![CDATA[So, you (i, we) want to show to our site phone  visitor &#8220;mobile&#8221; (intended for phone users) version of the site.
First of all we must detect &#8220;mobile&#8221; request. To do this we must check user agent header from request.

in Java (withing relevant servlet method ):


          String [...]


Related posts:<ol><li><a href='http://www.javaneverdie.com/mysql/mysql-on-windows-access-denied-for-user-rootlocalhost-using-password-no/' rel='bookmark' title='Permanent Link: MySQL on Windows Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)'>MySQL on Windows Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</a></li>
<li><a href='http://www.javaneverdie.com/java/the-plugin-does-not-exist-or-no-valid-version-could-be-found/' rel='bookmark' title='Permanent Link: The plugin does not exist or no valid version could be found'>The plugin does not exist or no valid version could be found</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So, you (i, we) want to show to our site phone  visitor &#8220;mobile&#8221; (intended for phone users) version of the site.</p>
<p>First of all we must detect &#8220;mobile&#8221; request. To do this we must check user agent header from request.<br />
<span id="more-456"></span></p>
<p>in Java (withing relevant servlet method ):</p>
<pre name="code" class="java">

          String userAgent = request.getHeader("user-agent");
</pre>
<p>in PHP:</p>
<pre name="code" class="php">
      $user_agent = $_SERVER['HTTP_USER_AGENT'];
</pre>
<p>in JavaScript (in this case its not really from request but directly from browser)</p>
<pre name="code" class="javascript">
      var userAgent  = navigator.userAgent;
</pre>
<p>in GWT (the same note as above)</p>
<pre name="code" class="javascript">
          String userAgent = Window.Navigator.getUserAgent();
</pre>
<p>The next step is to search in user agent string for some mobile specific substring. Lets call it MOBILE_SPECIFIC_SUBSTRING. What values can be treated as mobile specific?</p>
<p>1.  &#8220;iPhone&#8221; &#8211; all iPhone models contain string &#8220;iPhone&#8221; in their user agent properties.<br />
2.  &#8220;Android&#8221; &#8211; same note as above with some exceptions.<br />
3.  &#8220;MIDP&#8221; &#8211; many mobile devices contain string &#8220;MIDP&#8221;. Some of this devices can have screen  big enough to properly display regular version of your site. So think..<br />
4.  &#8220;Opera Mobi&#8221; &#8211; some of mobiles contain this string detecting mobile version of Opera.<br />
5.  &#8220;Opera Mini&#8221; &#8211; some of mobiles contain this string &#8230;<br />
6.  &#8220;BlackBerry&#8221; &#8211; one of most popular smartphones.<br />
7.  &#8220;HP iPAQ&#8221; &#8211; Hewlett Packard smartphone?<br />
8.  &#8220;IEMobile&#8221; &#8211; microsoft IE mobile version.<br />
9.  &#8220;MSIEMobile&#8221; &#8211; the same as above.<br />
10.&#8221;Windows Phone&#8221; &#8211; microsoft mobile OS detection.<br />
11.&#8221;HTC&#8221; &#8211; sometimes htc phones contain nothing specific but this.<br />
12.&#8221;LG&#8221; &#8211; LG.<br />
13.&#8221;MOT&#8221; &#8211; Motorola.<br />
14.&#8221;Nokia&#8221; &#8211; just Nokia.<br />
15.&#8221;Symbian&#8221; &#8211; Symbian OS detection.<br />
16.&#8221;Fennec&#8221; &#8211; mobile Firefox.<br />
17.&#8221;Maemo&#8221; &#8211; linux version from Nokia. Is it may be used only on phones?<br />
18.&#8221;Tear&#8221; &#8211; some mobile browser from/for Nokia?<br />
19.&#8221;Midori&#8221; &#8211; it seems like Nokia gays have nothing to do. For what so many browsers?<br />
20.&#8221;armv6l&#8221; &#8211; some string detecting Nokia phones.<br />
21.&#8221;armv7l&#8221; &#8211; .. above. &#8220;armv&#8221; can be used as generic version.<br />
22.&#8221;Windows CE&#8221;.<br />
23.&#8221;WindowsCE&#8221; &#8211; variant of above.<br />
24.&#8221;Smartphone&#8221; &#8211; some smartphones (why not all?!) contain this string.<br />
25.&#8221;240&#215;320&#8243; &#8211; .. above. I see the future: soon (already?) web designers will take these parameters directly to their site width and height.<br />
26.&#8221;176&#215;220&#8243;, &#8220;320&#215;320&#8243;, &#8220;160&#215;160&#8243; &#8211; same as above.<br />
27.&#8221;webOS&#8221; &#8211; Palm webOS detection.<br />
28.&#8221;Palm&#8221; &#8211; just Palm.<br />
29.&#8221;Sagem&#8221; &#8211; more less known phone.<br />
30.&#8221;Samsung&#8221;.<br />
31.&#8221;SGH&#8221; &#8211; Samsung.<br />
32.&#8221;Siemens&#8221;, &#8220;SIE&#8221; &#8211; Siemens.<br />
33.&#8221;SonyEricsson&#8221;.<br />
34.&#8221;MMP&#8221; some phones contain this string in their user-agents.<br />
35.&#8221;UCWEB&#8221; &#8211; just another mobile browser.</p>
<p>That&#8217;s may be not all, but i think that is enough. (First time in my life i typed word &#8220;inaf&#8221; without mistakes <img src='http://www.javaneverdie.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ).<br />
I take all values <a id="v00b" title="from this great research" href="http://www.zytrax.com/tech/web/mobile_ids.html">from this great research</a>.</p>
<p>The code below is for GWT</p>
<pre name="code" class="javascript">
static final String[] MOBILE_SPECIFIC_SUBSTRING = {
      "iPhone","Android","MIDP","Opera Mobi",
      "Opera Mini","BlackBerry","HP iPAQ","IEMobile",
      "MSIEMobile","Windows Phone","HTC","LG",
      "MOT","Nokia","Symbian","Fennec",
      "Maemo","Tear","Midori","armv",
      "Windows CE","WindowsCE","Smartphone","240x320",
      "176x220","320x320","160x160","webOS",
      "Palm","Sagem","Samsung","SGH",
      "SIE","SonyEricsson","MMP","UCWEB"};

...

if (checkMobile()){
      buildMobileSiteView();
} else {
      buildRegularSiteView();
}

...

private boolean checkMobile() {
      String userAgent = Window.Navigator.getUserAgent();
     for (String mobile: MOBILE_SPECIFIC_SUBSTRING){
           if (userAgent.contains(mobile)
             || userAgent.contains(mobile.toUpperCase())
             || userAgent.contains(mobile.toLowerCase())){
                  return true;
          }
     }

     return false;
}
</pre>
<p>Above code will caught 99% of all mobile devices. imho. o_~</p>
<p>None of known browsers or bots contains above strings. No warranties of any kind.</p>


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/mysql/mysql-on-windows-access-denied-for-user-rootlocalhost-using-password-no/' rel='bookmark' title='Permanent Link: MySQL on Windows Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)'>MySQL on Windows Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</a></li>
<li><a href='http://www.javaneverdie.com/java/the-plugin-does-not-exist-or-no-valid-version-could-be-found/' rel='bookmark' title='Permanent Link: The plugin does not exist or no valid version could be found'>The plugin does not exist or no valid version could be found</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/gwt/want-to-show-mobile-or-phone-site-version-check-user-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free online SEO content (article) spinner</title>
		<link>http://www.javaneverdie.com/seo/free-online-seo-content-article-spinner/</link>
		<comments>http://www.javaneverdie.com/seo/free-online-seo-content-article-spinner/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 20:09:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=447</guid>
		<description><![CDATA[freeseospinner.com finished and deployed
Finally after week or something of coding, debugging, testing and localizing (still not finished) english version of FreeSEOSpinner ready to use at freeseospinner.com.
Congratulate ourselves!
So, what is the hell application FreeSEOSpinner?

Promotional part.
FreeSEOSpinner is free online SEO (search engine optimization) content (article) spinner (generator) that allows to create infinite number of various kind of [...]


Related posts:<ol><li><a href='http://www.javaneverdie.com/seo/all-blog-services/' rel='bookmark' title='Permanent Link: All blog services'>All blog services</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>freeseospinner.com finished and deployed</p>
<p>Finally after week or something of coding, debugging, testing and localizing (still not finished) english version of <a id="ycq." title="FreeSEOSpinner ready to use at freeseospinner.com." href="http://freeseospinner.com/"><strong>FreeSEOSpinner ready to use at freeseospinner.com.</strong></a></p>
<div id="no2d">Congratulate ourselves!</p>
<p>So, what is the <del datetime="2010-02-23T19:57:04+00:00">hell </del>application <a id="fbbo" title="FreeSEOSpinner" href="http://freeseospinner.com/">FreeSEOSpinner</a>?</p>
<p><span id="more-447"></span></p>
<p><strong>Promotional part.</strong></div>
<p>FreeSEOSpinner is free online SEO (search engine optimization) content (article) spinner (generator) that allows to create infinite number of various kind of online (offline too) content: articles, posts, status messages, titles, links etc.</p>
<p>FreeSEOSpinner unique dissimilarity that this is whole javascript application, that runs on user browser (all online spinners that i know works on server, sending content over http). User information does not go away from his computer. More confidence is unachievable <img src='http://www.javaneverdie.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>FreeSEOSpinner is really free. Free of charge, free from registrations, submissions, etc.</p>
<p>Generation time for 1000 spuns from 1000 symbols template &#8212; 11 sec.</p>
<p>Promotional part  finished. o_~</p>
<p><strong>Technical part.</strong></p>
<p>FreeSEOSpinner is a client-side javascript application created using GWT (<a id="qclq" title="Google Web Toolkit" href="http://code.google.com/webtoolkit/">Google Web Toolkit</a>). Google Web Toolkit, by the way, is amazing tool which (together with <a id="q4fd" title="Android" href="http://android.com/">Android</a>) makes <a id="uu.l" title="Java" href="http://java.com/">Java</a> deathless.</p>
<p>The irony with FreeSEOSpinner that, as javascript application, it is not itself SEO enabled. It&#8217;s content can&#8217;t be indexed by google (bing, yagoo) bots. The solution was to create alternate, bots friendly (plain html) site especially for bots. Common opinion is that, so far as content of two sites is the same, Google does not protest. Great chance to check it!</p>
<p>With some respect to robots (robots are humans, too) i used <a id="v:eq" title="Wordpress" href="http://wordpress.org/">Wordpress</a> to create alternate SEO friendly site. For those who still use something different installing wordpress and creating three simple pages takes about several minutes. And last but not least: wordpress has great <a id="m7ed" title="sitemap.xml plugin" href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">sitemap.xml plugin</a> that automatically creates sitemap (after each post) and submit it to google, yahoo, bing and ask.</p>
<p>So, after wordpress installation and deploying javascript application we have two important files in public html folder: index.php (wordpress) and home.html (javascript application).<br />
How to do motion control: robots &#8212; left and humans &#8212; right? At the beginning, all together friendly come to index.php. And there face control occures. Implementation is obvious. </p>
<pre class="javascript" name="code">
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$http_host = $_SERVER['HTTP_HOST'];

if (    eregi('MSIE',$user_agent)
    || eregi('Firefox',$user_agent)
    || eregi('Chrome',$user_agent)
    || eregi('Opera',$user_agent)
    || eregi('Safari',$user_agent)
    || eregi('Maxthon',$user_agent)
    || eregi('Flock',$user_agent)
    || eregi('Avant Browser',$user_agent)
    || eregi('Deepnet Explorer',$user_agent)
    || eregi('PhaseOut',$user_agent)) {

    //HUMANS GO HOME!
    header( 'Location: http://'.$http_host.'/home.html' ) ;
} else {

    //ROBOTS YOU WELCOME!
    define('WP_USE_THEMES', true);
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
}
</pre>
<p>Technical part finished too.<br />
Good luck!</p>


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/seo/all-blog-services/' rel='bookmark' title='Permanent Link: All blog services'>All blog services</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/seo/free-online-seo-content-article-spinner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top internet languages ISO codes</title>
		<link>http://www.javaneverdie.com/web-statistics/top-internet-languages-iso-codes/</link>
		<comments>http://www.javaneverdie.com/web-statistics/top-internet-languages-iso-codes/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 14:04:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web statistics]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=441</guid>
		<description><![CDATA[


Language
ISO 639-1
ISO 639-2


English
en
eng


Chinese
zh
zho


Spanish
es
spa


Japanese
ja
jpn


French
fr
fra


Portuguese
pt
por


German
de
deu


Arabic
ar
ara


Russian
ru
rus


Korean
ko
kor



So, to do localization of your program (application, site etc.) you, probably, decide to begin from above displayed. Exactly in displayed order.
more languages&#8230;


Related posts:Compare programming languages with Google Trends



Related posts:<ol><li><a href='http://www.javaneverdie.com/programming-languages/compare-programming-languages-with-google-trends/' rel='bookmark' title='Permanent Link: Compare programming languages with Google Trends'>Compare programming languages with Google Trends</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<table id="knhp" style="height: 253px;" border="1" cellspacing="0" cellpadding="3" width="352" bordercolor="#000000">
<tbody>
<tr>
<td width="33.333333333333336%"><span style="color: #993366;"><strong>Language</strong></span></td>
<td width="33.333333333333336%"><span style="color: #993366;"><strong>ISO 639-1</strong></span></td>
<td width="33.333333333333336%"><span style="color: #993366;"><strong>ISO 639-2</strong></span></td>
</tr>
<tr>
<td width="33.333333333333336%">English</td>
<td width="33.333333333333336%">en</td>
<td width="33.333333333333336%">eng</td>
</tr>
<tr>
<td width="33.333333333333336%">Chinese</td>
<td width="33.333333333333336%">zh</td>
<td width="33.333333333333336%">zho</td>
</tr>
<tr>
<td width="33.333333333333336%">Spanish</td>
<td width="33.333333333333336%">es</td>
<td width="33.333333333333336%">spa</td>
</tr>
<tr>
<td width="33.333333333333336%">Japanese</td>
<td width="33.333333333333336%">ja</td>
<td width="33.333333333333336%">jpn</td>
</tr>
<tr>
<td width="33.333333333333336%">French</td>
<td width="33.333333333333336%">fr</td>
<td width="33.333333333333336%">fra</td>
</tr>
<tr>
<td width="33.333333333333336%">Portuguese</td>
<td width="33.333333333333336%">pt</td>
<td width="33.333333333333336%">por</td>
</tr>
<tr>
<td width="33.333333333333336%">German</td>
<td width="33.333333333333336%">de</td>
<td width="33.333333333333336%">deu</td>
</tr>
<tr>
<td width="33.333333333333336%">Arabic</td>
<td width="33.333333333333336%">ar</td>
<td width="33.333333333333336%">ara</td>
</tr>
<tr>
<td width="33.333333333333336%">Russian</td>
<td width="33.333333333333336%">ru</td>
<td width="33.333333333333336%">rus</td>
</tr>
<tr>
<td width="33.333333333333336%">Korean</td>
<td width="33.333333333333336%">ko</td>
<td width="33.333333333333336%">kor</td>
</tr>
</tbody>
</table>
<p>So, to do localization of your program (application, site etc.) you, probably, decide to begin from above displayed. Exactly in displayed order.<br />
<a id="wk2a" title="more languages..." href="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">more languages&#8230;</a></p>


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/programming-languages/compare-programming-languages-with-google-trends/' rel='bookmark' title='Permanent Link: Compare programming languages with Google Trends'>Compare programming languages with Google Trends</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/web-statistics/top-internet-languages-iso-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>alexa.com global page views number</title>
		<link>http://www.javaneverdie.com/seo/alexa-com-global-page-views-number/</link>
		<comments>http://www.javaneverdie.com/seo/alexa-com-global-page-views-number/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 00:37:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[seo]]></category>
		<category><![CDATA[web statistics]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=438</guid>
		<description><![CDATA[alexa.com global page views number is : 608,940,380,000 (~609 billions) in month (~30 days).
Below is the calculation.

Number of wikipedia.org monthly pageviews : 10,909,000,000 (10,909 mln).   Taken from here.
% wikipedia.org in global page views monthly: 0.5582   Taken from here.
So, global page views number
10,909,000,000 * 0.5582 * 100  =  608,940,380,000 (~609 billions)  in month [...]


Related posts:<ol><li><a href='http://www.javaneverdie.com/web-statistics/indexed-size-of-global-web/' rel='bookmark' title='Permanent Link: Indexed size of global web'>Indexed size of global web</a></li>
<li><a href='http://www.javaneverdie.com/web-statistics/unknown-search-engine-pretend-to-be-the-biggest/' rel='bookmark' title='Permanent Link: Unknown search engine pretend to be the biggest'>Unknown search engine pretend to be the biggest</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2><a href="http://alexa.com">alexa.com</a> global page views number is : 608,940,380,000 (~609 billions) in month (~30 days).</h2>
<p>Below is the calculation.</p>
<p><span id="more-438"></span></p>
<p>Number of <a href="http://wikipedia.org">wikipedia.org</a> monthly pageviews : 10,909,000,000 (10,909 mln).   <a id="rt8b" title="Taken from here" href="http://stats.wikimedia.org/wikimedia/squids/SquidReportPageViewsPerCountryOverview.htm">Taken from here</a>.</p>
<p>% wikipedia.org in global page views monthly: 0.5582   <a id="b3ai" title="Taken from here" href="http://www.alexa.com/siteinfo/wikipedia.org">Taken from here</a>.</p>
<p>So, global page views number</p>
<p>10,909,000,000 * 0.5582 * 100  =  608,940,380,000 (~609 billions)  in month (30 days)</p>
<p>20,298,012,600 (~20 billions) in day</p>
<p>Secondary calculations and results:</p>
<p>Average pages number viewed by average internet user (1,733,993,741 &#8212; global internet users number in 2009):</p>
<p>20,298,012,600 / 1,733,993,741 = 11.7 pages in day  (i view many more <img src='http://www.javaneverdie.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>Now i can (very approximately) define absolute page views number of any site using alexa relative page views.</p>
<p>for example <a href="http://twitter.com">twitter.com</a> 0.3753   percent of global page views</p>
<p>20,298,012,600 * 0.3753 * 1/100  =  7,617,844 pages views in day.</p>
<p>Go further: absolute coefficient to calculate absolute site pageviews/day is : 202,980,126 (~203 mln.).</p>
<p>Relative pageviews of spinprofit.com by alexa is 0.00009 % of world global pageviews</p>
<p>So, spinprofit.com pageviews/day 202,980,126 * 0.00009 = 18,270 .</p>
<p>Lets try something else. pdf-search-engine.com by alexa is ~0.001%  so  202,980,126 * 0,001 = 202,000</p>


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/web-statistics/indexed-size-of-global-web/' rel='bookmark' title='Permanent Link: Indexed size of global web'>Indexed size of global web</a></li>
<li><a href='http://www.javaneverdie.com/web-statistics/unknown-search-engine-pretend-to-be-the-biggest/' rel='bookmark' title='Permanent Link: Unknown search engine pretend to be the biggest'>Unknown search engine pretend to be the biggest</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/seo/alexa-com-global-page-views-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to center DIV using only css</title>
		<link>http://www.javaneverdie.com/css/how-to-center-using-only-css/</link>
		<comments>http://www.javaneverdie.com/css/how-to-center-using-only-css/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 19:32:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=432</guid>
		<description><![CDATA[Below css center &#60;div&#62; block with class=&#8221;rootPanel&#8221;.


.rootPanel {
  width: 60% ;
  margin-left: auto ;
  margin-right: auto ;
}


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Below css center &lt;div&gt; block with class=&#8221;rootPanel&#8221;.<br />
<span id="more-432"></span></p>
<pre class="javascript" name="code">
.rootPanel {
  width: 60% ;
  margin-left: auto ;
  margin-right: auto ;
}</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/css/how-to-center-using-only-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL on Windows Access denied for user &#8216;root&#8217;@&#039;localhost&#8217; (using password: NO)</title>
		<link>http://www.javaneverdie.com/mysql/mysql-on-windows-access-denied-for-user-rootlocalhost-using-password-no/</link>
		<comments>http://www.javaneverdie.com/mysql/mysql-on-windows-access-denied-for-user-rootlocalhost-using-password-no/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 22:04:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=429</guid>
		<description><![CDATA[I use MySQL 5.1 &#8216;on localhost&#8217; commonly for wordpress development. Today started new project and attempted to design database using MySQL Control Center, Navicat, command line mysql client and all time get this fucking annoying
Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)
Who is fault? No matter. Probably, because of my root user doesn&#8217;t  have [...]


Related posts:<ol><li><a href='http://www.javaneverdie.com/mysql/how-to-copy-content-from-one-database-to-another/' rel='bookmark' title='Permanent Link: How to copy content from one database to another'>How to copy content from one database to another</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I use MySQL 5.1 &#8216;on localhost&#8217; commonly for wordpress development. Today started new project and attempted to design database using MySQL Control Center, Navicat, command line mysql client and all time get this <del datetime="2010-02-10T21:39:45+00:00">fucking</del> annoying</p>
<h2>Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</h2>
<p>Who is fault? No matter. Probably, because of my root user doesn&#8217;t  have password.</p>
<p>What to do? Finally i did next:</p>
<p><span id="more-429"></span></p>
<p>1. Stopped mysql server: i simply found mysqld process in windows task manager and stopped it.<br />
2. Created <strong>init.txt </strong> file with next content:</p>
<p><strong>UPDATE mysql.user SET Password=PASSWORD(&#8217;mypassword&#8217;) WHERE User=&#8217;root&#8217;;<br />
FLUSH PRIVILEGES;<br />
grant all privileges on *.* to root@localhost identified by &#8216;mypassword&#8217; with grant option;<br />
grant all privileges on mydatabase.* to root@localhost identified by &#8216;mypassword&#8217; with grant option;<br />
</strong></p>
<p>3. Run mysql server from command line as:</p>
<p><strong>mysqld &#8211;init-file=F:\mysql\bin\init.txt</strong></p>
<p>voila</p>


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/mysql/how-to-copy-content-from-one-database-to-another/' rel='bookmark' title='Permanent Link: How to copy content from one database to another'>How to copy content from one database to another</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/mysql/mysql-on-windows-access-denied-for-user-rootlocalhost-using-password-no/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get More Twitter Followers, Facebook Friends and LinkedIn Connections</title>
		<link>http://www.javaneverdie.com/seo/get-more-twitter-followers-facebook-friends-and-linkedin-connections/</link>
		<comments>http://www.javaneverdie.com/seo/get-more-twitter-followers-facebook-friends-and-linkedin-connections/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 20:17:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=426</guid>
		<description><![CDATA[Using Twitter Search
1. Use FlashTweet (http://flashtweet.com/) to find people talking about your topic (use the keyword &#8220;wine&#8221; if you sell wine, &#8220;link building&#8221; if you offer link building services, etc.) FlashTweet has a great video that explains how to use their service.

2. Follow the people you find (FlashTweet can auto-follow all these people for you).
3. [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Using Twitter Search</p>
<p>1. Use FlashTweet (<a rel="nofollow" href="http://flashtweet.com/" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://flashtweet.com/" target="_blank">http://flashtweet.com/</a>) to find people talking about your topic (use the keyword &#8220;wine&#8221; if you sell wine, &#8220;link building&#8221; if you offer link building services, etc.) FlashTweet has a great video that explains how to use their service.</p>
<p><span id="more-426"></span><br />
2. Follow the people you find (FlashTweet can auto-follow all these people for you).<br />
3. Unfollow people who don&#8217;t follow you back within 2 weeks (again, FlashTweet can do this automatically for you).<br />
4. Voilá! Now every time you tweet about a new wine you have, 1000s of wine enthusiasts will be reading your news! (I hope you realize the potential of reaching thousands of highly-targeted potential customers for free.)<br />
5. If you&#8217;re only interested in wine enthusiasts in your city, FlashTweet allows you to find Twitter users in any given location.</p>
<p>Using the &#8220;I&#8217;m An Expert Too!&#8221; Tactic on Twitter</p>
<p>1. Find on Twitter the authorities in your market. For example, if you sell wine, find the most recognized wine critics, sommeliers, wine blogs and websites.<br />
2. Find out who&#8217;s following them and follow those people.<br />
3. They&#8217;ll follow you back. Un-follow those who don&#8217;t.<br />
4. Now, all the people who were following the wine experts are also following you. Knock their socks off with great content.<br />
5. FlashTweet can automatically do all this for you.</p>
<p>Finding People that Share the Same Interests on Facebook</p>
<p>1. Go to Facebook groups.<br />
2. Search for your keyword:<br />
3. Join relevant groups:<br />
4. Go to the Wall and invite the most active users (the ones that post messages) to become friends with you.<br />
5. Don&#8217;t forget to include a personalized message. For example, if I were to add Ron Clive (from the screenshot above) as a friend, I&#8217;d say &#8220;Hey Ron, I loved your quote about wine, women and singing! I gave up singing a long time ago! I was looking to get in touch with other wine fans. Have a great day!&#8221;<br />
6. Now, every time you post a wine article to your profile, your &#8220;wine&#8221; friends will see it in their timelines.</p>
<p>Getting LinkedIn Connections<br />
LinkedIn is a lot better for B2B than it is for B2C. If you sell to consumers, you can still find some very valuable contacts here, but if you sell to businesses the potential is much greater.</p>
<p>Here&#8217;s a search for the keyword &#8220;wine lover&#8221; (187 results):</p>
<p>Here&#8217;s a search for &#8220;restaurant owner&#8221; (966 results):</p>
<p>You can also try &#8220;restaurant manager&#8221; (12,380 results).</p>
<p>People don&#8217;t fill out their LinkedIn profiles with as much personal info as they do with their Facebook profiles, so you&#8217;re not very likely to get a lot of search results when you enter a hobby (like &#8220;wine lover&#8221;) as the keyword instead of a job position (like &#8220;restaurant manager&#8221;).</p>
<p>If you&#8217;re getting too many results and want to filter them, try LinkedIn&#8217;s Advanced Search (<a rel="nofollow" href="http://www.linkedin.com/search" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://www.linkedin.com/search" target="_blank">http://www.linkedin.com/search</a>). It rocks.</p>
<p>Use LinkedIn Groups</p>
<p>1. Go to LinkedIn Groups (<a rel="nofollow" href="http://www.linkedin.com/groupsDirectory" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://www.linkedin.com/groupsDirectory" target="_blank">http://www.linkedin.com/groupsDirectory</a>).<br />
2. Use the search feature (use broad keywords; if you get too specific you won&#8217;t get accurate results).<br />
3. Join the groups that look appealing to you. Most groups require membership approval, so just apply and wait.<br />
4. Go to the Discussions tab and start connecting with the most active members of each group:</p>
<p>The Most Important Secret of Growing a Successful Network<br />
It&#8217;s about QUALITY of relationships, not quantity. Add no more than 10 LinkedIn connections, 20 Facebook friends and 50 Twitter followers per day. But, make sure you start a conversation with all of them. Don&#8217;t just add people to your lists. Take the time to say hi and make a comment about their profiles. Show them that you took the time to learn who they are.</p>
<p>Create Your Own Group<br />
If you have the energy for it, you can create your own community. If you sell wine to restaurants, don&#8217;t call the group John Winery Inc. or you&#8217;ll turn people off. Call it Restaurant Owners Networking Group, provide great content for restaurant owners (don&#8217;t just talk about your wine) and invite restaurant owners and managers to join.</p>
<p>These are some platforms to host a community:</p>
<p>* Facebook Groups (<a rel="nofollow" href="http://www.facebook.com/groups.php%29:" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://www.facebook.com/groups.php%29:" target="_blank">http://www.facebook.com/groups.php):</a> very easy to set up and great for B2C markets.<br />
* LinkedIn Groups (<a rel="nofollow" href="http://www.linkedin.com/createGroup?displayCreate=&amp;trk=anet_creategrp%29:" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://www.linkedin.com/createGroup?displayCreate=&amp;trk=anet_creategrp%29:" target="_blank">http://www.linkedin.com/createGroup?displayCreate=&amp;trk=a&#8230;</a> easy to set up and great for B2B markets.<br />
* Ning (<a rel="nofollow" href="http://www.ning.com/%29:" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://www.ning.com/%29:" target="_blank">http://www.ning.com/):</a> a little bit harder to set up but not too complicated either. This is great if you don&#8217;t want your social network to depend on LinkedIn or Facebook.</p>
<p>If you liked this article, please tell your friends about it. If you really liked it, feel free to publish it on your blog or website (please don&#8217;t forget to mention <a rel="nofollow" href="http://www.theoutsourcingcompany.com/blog" target="_blank"><img src="http://www.xing.com/img/outlink.gif" border="0" alt="" width="13" height="10" /></a><a rel="nofollow" href="http://www.theoutsourcingcompany.com/blog" target="_blank">http://www.TheOutsourcingCompany.com/blog</a> as the original source).</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/seo/get-more-twitter-followers-facebook-friends-and-linkedin-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>html Dollar (baks, green) sign</title>
		<link>http://www.javaneverdie.com/html/html-dollar-baks-green-sign/</link>
		<comments>http://www.javaneverdie.com/html/html-dollar-baks-green-sign/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:44:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[dollar]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=423</guid>
		<description><![CDATA[html Dollar (baks, green) symbol:
$
&#38;#36;




Related posts:html Yen  sign
html Cent sign
html Pound sterling sign



Related posts:<ol><li><a href='http://www.javaneverdie.com/html/html-yen-sign/' rel='bookmark' title='Permanent Link: html Yen  sign'>html Yen  sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-cent-symbol/' rel='bookmark' title='Permanent Link: html Cent sign'>html Cent sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-pound-sterling-sign/' rel='bookmark' title='Permanent Link: html Pound sterling sign'>html Pound sterling sign</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>html Dollar (baks, green) symbol:</h2>
<h2>$</h2>
<h2>&amp;#36;</h2>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/html/html-yen-sign/' rel='bookmark' title='Permanent Link: html Yen  sign'>html Yen  sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-cent-symbol/' rel='bookmark' title='Permanent Link: html Cent sign'>html Cent sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-pound-sterling-sign/' rel='bookmark' title='Permanent Link: html Pound sterling sign'>html Pound sterling sign</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/html/html-dollar-baks-green-sign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>html Registered trademark symbol</title>
		<link>http://www.javaneverdie.com/html/html-registered-trademark-symbol/</link>
		<comments>http://www.javaneverdie.com/html/html-registered-trademark-symbol/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:33:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[reg]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=421</guid>
		<description><![CDATA[html Registered trademark symbol:
®
&#38;reg;




Related posts:html trademark, TM symbol:
html peace symbol
Html copyright symbol



Related posts:<ol><li><a href='http://www.javaneverdie.com/html/html-trademark-tm-symbol/' rel='bookmark' title='Permanent Link: html trademark, TM symbol:'>html trademark, TM symbol:</a></li>
<li><a href='http://www.javaneverdie.com/html/html-peace-symbol/' rel='bookmark' title='Permanent Link: html peace symbol'>html peace symbol</a></li>
<li><a href='http://www.javaneverdie.com/html/html-copyright-symbol/' rel='bookmark' title='Permanent Link: Html copyright symbol'>Html copyright symbol</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>html Registered trademark symbol:</h2>
<h2>®</h2>
<h2>&amp;reg;</h2>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/html/html-trademark-tm-symbol/' rel='bookmark' title='Permanent Link: html trademark, TM symbol:'>html trademark, TM symbol:</a></li>
<li><a href='http://www.javaneverdie.com/html/html-peace-symbol/' rel='bookmark' title='Permanent Link: html peace symbol'>html peace symbol</a></li>
<li><a href='http://www.javaneverdie.com/html/html-copyright-symbol/' rel='bookmark' title='Permanent Link: Html copyright symbol'>Html copyright symbol</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/html/html-registered-trademark-symbol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>html Cent sign</title>
		<link>http://www.javaneverdie.com/html/html-cent-symbol/</link>
		<comments>http://www.javaneverdie.com/html/html-cent-symbol/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:26:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[cent]]></category>

		<guid isPermaLink="false">http://www.javaneverdie.com/?p=417</guid>
		<description><![CDATA[html Cent symbol:
¢
&#38;cent;






Related posts:html Yen  sign
html Dollar (baks, green) sign
html Pound sterling sign



Related posts:<ol><li><a href='http://www.javaneverdie.com/html/html-yen-sign/' rel='bookmark' title='Permanent Link: html Yen  sign'>html Yen  sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-dollar-baks-green-sign/' rel='bookmark' title='Permanent Link: html Dollar (baks, green) sign'>html Dollar (baks, green) sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-pound-sterling-sign/' rel='bookmark' title='Permanent Link: html Pound sterling sign'>html Pound sterling sign</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>html Cent symbol:</h2>
<h2>¢</h2>
<h2>&amp;cent;</h2>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />


<p>Related posts:<ol><li><a href='http://www.javaneverdie.com/html/html-yen-sign/' rel='bookmark' title='Permanent Link: html Yen  sign'>html Yen  sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-dollar-baks-green-sign/' rel='bookmark' title='Permanent Link: html Dollar (baks, green) sign'>html Dollar (baks, green) sign</a></li>
<li><a href='http://www.javaneverdie.com/html/html-pound-sterling-sign/' rel='bookmark' title='Permanent Link: html Pound sterling sign'>html Pound sterling sign</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.javaneverdie.com/html/html-cent-symbol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
