Computer And Internet, Miscellaneous, Personal, Tips & Trick

Good morning, I wish everybody have a great day. In this short articles I will write about making an simple “watchdog” application. 14 days ago I need to stabilize an bug application. The bug is really annoying , My application have memory leak each seconds timer fired. This is a bug from VbMySql direct and ODBC MySql Connector, My options to raised physical memory is not approved because application will consume more and more memory without limitation. My second options is writing a new application but it will take more than a month working so I stay with this buggy application and prevent it from error.

I found out when programs closed windows releases all memory this application used, I try to make something to kill an application each 1 hours to release the memory, It’s works!.. Now I need to make an application to auto restarting my program each time it’s killed. Searching on Google then I found sample interesting code.

[to_plus]

Dim objWMIService, colProcesses
Dim Process As String
Process = “YOURPROCESS”
Set objWMIService = GetObject(“winmgmts:”)
Set colProcesses = objWMIService.ExecQuery(“Select * from Win32_Process where name='” & Process & “‘”)
If colProcesses.Count Then
MsgBox (“Process is Running”)
Else
MsgBox (“Process is Not Running”)
End If

It was basic watchdog application, It will check when the process not running on computer background. You can be more creative by adding timer or when this code will fired. With this application I got my buggy application running 99,9% from 100%.

That’s share for today, Have a nice day 😀

[/to_plus]

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Miscellaneous, Personal, Tips & Trick

In this short article we will learn how to created an custom google translate tools. Google translate tools is free translate service provided by google. This tools really help people to translate some website/page to any language people want.

Google translate tools standards is not really interesting in style *lol* So why we don’t created a simple good looking translate tools our own, but of course we have to credited google as this service provider? Alright let’s created it, I want everyone be creative as possible.

First we have to know how translate tools format working. Example:

http://translate.google.com/translate?hl=en&sl=en&tl=pl&u=http%3A%2F%2Fwww.istanto.net

This is standard format when google translate try to translating my blog from English to Polish. There is some rules we can manipulate it. Example, I try change tl=pl with tl=id:

http://translate.google.com/translate?hl=en&sl=en&tl=id&u=http%3A%2F%2Fwww.istanto.net

The result is I got id translation page (Indonesian). When I try change sl=en to sl=id I got result:

http://translate.google.com/translate?hl=en&sl=id&tl=id&u=http%3A%2F%2Fwww.istanto.net

So the answer is we can manipulate this format if we know country code! That it! Standard format would be like this:

[to_plus]

http://translate.google.com/translate?hl=en&sl=[YOUR PAGE ORIGINAL LANGUAGE]&tl=[LANGUAGE YOU WANT TRANSLATED TO]&u=[PAGE SOURCE]

HL = Hidden Language? *lol* I Don’t know! This properties maybe the language setting on each computers or from where google page country we coming from.

SL = Source Language

TL = Translated Language

U = User

Okay we already know and understand this format, our next goal is created a custom html code to follow this format. This is a simple code I created, if you can please use CSS to make this code clean.

<style>
.translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
padding-left:0px;
}

.translate:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.50;
opacity: 0.50;
border:0;
}

</style>
<div style=”text-align:center”>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”English” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cen&hl=en’); return false;”><img alt=”English” border=”0″ align=”absbottom” title=”English” height=”24″ src=”http://www.istanto.net/flag/uk-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”French” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cfr&hl=en’); return false;”><img alt=”French” border=”0″ align=”absbottom” title=”French” height=”24″ src=”http://www.istanto.net/flag/france-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”German” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cde&hl=en’); return false;”><img alt=”German” border=”0″ align=”absbottom” title=”German” height=”24″ src=”http://www.istanto.net/flag/german-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Spain” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Ces&hl=en’); return false;”><img alt=”Spain” border=”0″ align=”absbottom” title=”Spain” height=”24″ src=”http://www.istanto.net/flag/spain-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Italian” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cit&hl=en’); return false;”><img alt=”Italian” border=”0″ align=”absbottom” title=”Italian” height=”24″ src=”http://www.istanto.net/flag/italy-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Dutch” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cnl&hl=en’); return false;”><img alt=”Dutch” border=”0″ align=”absbottom” title=”Dutch” height=”24″ src=”http://www.istanto.net/flag/dutch-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<br/><br/>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Russian” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cru&hl=en’); return false;”><img alt=”Russian” border=”0″ align=”absbottom” title=”Russian” height=”24″ src=”http://www.istanto.net/flag/russian-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Brazil” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cpt&hl=en’); return false;”><img alt=”Brazil” border=”0″ align=”absbottom” title=”Brazilian” height=”24″ src=”http://www.istanto.net/flag/brazil-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Japanese” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cja&hl=en’); return false;”><img alt=”Japanese” border=”0″ align=”absbottom” title=”Japanese” height=”24″ src=”http://www.istanto.net/flag/japan-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Korean” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Cko&hl=en’); return false;”><img alt=”Korean” border=”0″ align=”absbottom” title=”Korean” height=”24″ src=”http://www.istanto.net/flag/korean-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Arabic” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Car&hl=en’); return false;”><img alt=”Arabic” border=”0″ align=”absbottom” title=”Arabic” height=”24″ src=”http://www.istanto.net/flag/arab-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<a class=”translate” href=”#” target=”_blank” rel=”nofollow” title=”Chinese Simplified” onclick=”window.open(‘http://translate.google.com/translate?u=’+encodeURIComponent(location.href)+’&langpair=en%7Czh-CN&hl=en’); return false;”><img alt=”Chinese Simplified” border=”0″ align=”absbottom” title=”Chinese Simplified” height=”24″ src=”http://www.istanto.net/flag/china-flag.png” style=”cursor: pointer;margin-right:8px” width=”24″/></a>

<div style=”font-size:10px; padding:8px 0px 0px 0px”><a href=”http://www.istanto.net/how-to-creating-custom-google-translate-tools.html” target=”_blank”>Custom Google Translate Tools</a> – <a href=”http://www.google.com” target=”_blank”>Provided by google</a>

</div></div>

The result will be like this:

That’s looks beauty right? 🙂 You can add more translated language if you want. All you need to do is preparing the country flag pictures and edited the code. I wan’t someone created wordpress plugins for this custom translate, you’re free to use code in here.

That’s the lesson for today, have a nice day. 🙂

[/to_plus]

 

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Miscellaneous, Tips & Trick

Do you have any wallpaper site or photos site which get lot of traffic but there is no conversion? I know you might get frustrated to solve this problem. The problem is usually image search traffic from google search engine will bring visitors on a frame, this frame should have to be removed to get full page attention.

Using this trick it should can break any frames coming to your website. The risk behind this code already known and confirmed by some webmaster. This code can bring down your your SERP in time, also your site might got penalties. The good side, people already try using this code get more accurate data from analystic.

<script language=”JavaScript” type=”text/javascript”>

if (top.location != self.location) top.location = self.location;

</script>

Put this code in your page code it should works like magic removing frames, usually people will put it on header files. Please note, I’m NOT recommended you to use this code because you already know the risk of using this code. If you still using this code that mean you’re using it at your own risk.

Have a good day 😀

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Miscellaneous, Tips & Trick

Having automatic renewed sitemap like google sitemap plugins for wordpress is really needed when you want to get indexed faster on top 5 search engine. Anyway if you’re not using wordpress CMS then how to build your sitemap manually? Lucky you, there is a lot free sitemap generator out there. Small sites are easy and fast to generated sitemap in just minutes, but how if the situation is your sites big and…. said it have at least 1,000 static URL inside it. You will get crazy on waiting sitemap generator working for it and of course the problem will coming back again when you want to renew your big sites sitemap.

Wasting time and of course it will make you bored managed it. Anyway I just found out the beta google sitemap generator working on my VPS machine. If you’re on shared hosting sorry this might not used unless your hosting provider want to help you. Now every time I updated my sites it’s will automatically renewed my sitemap without needed to work on it manually again. Just update the content and let sitemap generator created and submitted my sitemap to search engine automatically.

There is 2 beta version for google sitemap generator for windows and linux, In this article I will write for linux version only, because I didn’t try windows version.

Requirements:

  • Operating system. Google Sitemap Generator has been tested with the following types of Linux systems:
    • CentOS 4.6 (I run on CentOS 5 it has no problem at all)
    • Fedora 7
    • Debian etch r0
    • Mandriva 2007
    • Red Hat Enterprise Linux 3 (32 bit or 64 bit)
    • Red Hat Enterprise Linux 4 (32 bit or 64 bit)
    • SUSE Linux Enterprise Server 10.0 (32 bit or 64 bit)
    • Ubuntu 6.10 (32 bit or 64 bit)
  • Web server. Google Sitemap Generator has been tested with Apache web server versions 1.3, 2.0, and 2.2.
  • Disk space. You’ll need between 100MB and 1GB of free disk space; the number of unique URLs on your website determines the actual disk space needed. One million URLs require approximately 1GB of disk space.
  • Web server access. You’ll need administrative access to the web server.

Setup Your google Sitemap Generator:

Open this download list and downloaded files you need. Then following installation guide here just following it if you meet problem (usually in the last step I meet problem too but I fixed it) just try another package, if it still failed then you might try to install it with command option (look on number 3), Lastly if all fails the try to communicate in their groups and asking about your problem.

Once installation completed you have to setting your server SSL (for remote only, not needed if you managed it from local) then setting your port, normally 8181 but for security you might need to changed it, the restart your web server.

Configure/Manage Your google Sitemap Generator:

Just open http://<yourwebiphere>:<yourporthere> (local) or https://<yourwebiphere>:<yourporthere> (remote)

You will see something like this

ist-sitemap-1

Then just configure it, if you meet problem take a look on here. Now after you configure it just sit back and waiting the result if it not fit your need then must be there something wrong on your configuration, fix it then sit back again.

Done, Have a nice day! 😀

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Make Money Online, Personal, Tips & Trick

Alright, because I’m happy today I will share this tips to all of you 😛 We all know there a lot of link sale business out there and with good website pagerank we can make some $$$$ very easy. The problem is, when google found out (don’t know human or robot, probably robot 😛 ) we sale link on our website, google will punish it by droped it’s pagerank.

Fine, no problem for that. We still can make money by sale link without get punished by google. How to do this? basically if you know when pagerank update you might can make a lot money from this trick. example: said you know google update pagerank each 3 month, you buy one website (with PR) for $10 and sale link on it for 3 month, you made $160 your total profit is $150 once google drop it’s pagerank leave that website or you might can parking that domain. ****LOL****

Where to buy cheap website with PR? there is lot in digitalpoint forums and some in other webmaster forums, find it out yourself. Where to sale link? there is TNX,Linkworth,Backlinks,TLA and other, find it out yourself.

That is the trick, very simple and easy to follow right? hehehe. Many people doing this but not many know it, so I think i should share this with my blog reader. Have fun, earn some money! 😀

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS