Archive for the ‘ Google ’ Category


Using Google Code as a SVN repository

Although Google is branded as a searching company, now it has come into every corner of IT world. I just realized that without Google, I will be kind of in a situation that cannot live comfortable any more.  Using Gmail to send and receive mails, using Google Docs to create, edit and share documents, using Google Calendar to arrange weekly and daily schedule, using Google Reader to read the latest information and news around, using Google Map to discover and explore neighborhood and destinations, using Google Buzz and Wave to socialize, and more importantly for me, using Google App Engine to earn money.

Recently, I have a thought to take participant in the open-source world, as a result the first thing came into my mind is to create some small project on the Google Code, which is previously dominated by SourceForge. After some attempting, I have constructed a very small project with the name of “restfulhttpclient”. It is written in Java, with the IDE of Netbeans 6.8. Consequently, the checking out code will in the structure in Netbeans.

It is not difficult to adopt Google Code as SVN repository, since it provides the most basic functions to host code, and once you have an account and create a project there, you just need simply using your familiar SVN client to commit and check out your code.

However, I do have some questions here, the one that confused me most is that why should I name my project in all lowercase characters. Some one may argue it will be easier for lowercase letters to display in the address URI and for people to type in, but I believe a simple mapping and checking mechanism will not be that hard.

Another thing is actually for each of the project, there are two different URIs mapping to this project. One in the format of ***.googlecode.com, and the other is code.google.com/p/***. Whenever you try to upload your file, it is better to choose the first one, since the latter one will give you a 400 bad request response.

All right, if you have some interest, try to download my project in a while ( not finished yet).

http://code.google.com/p/restfulhttpclient

The reason why it is called restful http client is simply because of I have to use those basic functions as work. As developing a project full of Restful web services, invoking a http request will be the most common task. A handy GUI tool will be really nice if it can covers those most usual functions. Even a lot of similar products are out there, I cannot find one that most suits me. Either some of them have too many capabilities that made them extremely difficult to master, or some just ignores certain part of the function that I have to use. In this project, users can send GET, POST, PUT and DELETE request to server, you can add specific headers, and basic authentication informations. The response code and message will also be displayed on the panel once received by the client.

Download All Mails to Client Mail Box

After re-install my computer, I lost all the mail information. While I was a little unsatisfied with the character encoding with Foxmail, I decided to take a try with Thunderbird, which originally I found from Lars.

It is a great application with email receiving and sending. However, two problems blocks me a little while for configuration. One is each time you close the box, it will really exit but not minimize to the system tray. Actually this is pretty annoying that at first I just feel strange how can I not receiving any mails for half a day. OK, so what you need to do is download a plug-in to enable the minimize ability. Just Google it and you will definitely find it.

Another serious problem is I can only download those unread emails from GMail which always affects my working when I try to fetch those old mails. At first I thought it is a problem with the configuration of Thunderbird, and finally I figured out I owe an apology to Thunderbird. Yep, it is just one single click on the setting with GMail.

Log into your GMail account, in the setting panel and Forwarding and POP/IMAP tab,  you will see a POP Download option, select it to enable POP for all mails, then start your client to receive. Done.

I guess this solution will be suitable for all kinds of client applications.

  • Chinese Version

    • Wanna know me more? And you can read Chinese? Feel free to visit my Chinese site, more life records will be found there and wish you enjoying it.
  • Thanks for support

  • twitter

    facebook

    linkedin

    • You are currently browsing the archives for the Google category.

  • Categories