PPTP VPN Service

I have been travelling around China last month, as you know, you cannot access most of the social network website in China.

In order to update my facebook, tweet about my travel in twitter, read my local newspaper during travel, I have created a pptp server. Which means I can access any websites, applications in China.

The setting is easy,
For Iphone user
1. Settings -> General -> Network -> VPN
2. Add VPN Configuration
3. Select PPTP
4. Type in the Server and authentication info. (Encryption Level Sets to Auto)
5. Turn on VPN
After you successfully connected to our server, you will see the vpn icon on the top, and you are able to access any websites you want.

Here you can subscribe the PPTP VPN Service with USD 2 / Month


Which Client Software is Best for MSN in Mac?

Tagged:  

There are several softwares provided for MSN chatting in your mac. But not all of them work very well in mac environment. Let's look at some of the softwares I tried and see which one fits you best.

iChat

iChat are software that come along with your mac OS. However, the software does not designed for MSN users (probably due to the relationship between apple and microsoft). So a little work is needed in order to let your MSN account available for this software. We need to use the jabber protocol for this. Video and audio chat are not available for MSN users here in iChat. But fancy layout is the advantage.
Details setup for MSN with iChat, please refer to this
http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/

Using Jquery in Drupal 7

Tagged:  

Different from previous version of Drupal, you cannot use the jQuery directly in your own code.

This is probably due to some other javascript library added in this version.
But the solution is simple, just replace the dollar sign $ to jQuery and it works.

Here is the sample code

drupal_add_js('
jQuery(document).ready(function(){
jQuery("#show_content").html("content");
});
',array('type' => 'inline', 'scope' => 'footer', 'weight' => 5)
);

Besides jQuery, the api makes some changes, so you cannot directly use your previous version code into this version.

Snake Battle

Tagged:  


The gameplay is similar to classic snake -- collect as much food (cash in the game) as possible.
But it is much more exciting when it becomes multi-player.
When you collect a cash, you will send obstacles (walls) to your opponent.
Similarly, your opponent will send lots of walls to your map too!
You (or your opponent) will be KOed when your snake crash into a wall.

Tips:
COMBO is very IMPORTANT.
Single cash is worthless unless you collect numerous of them in a short period of time to perform combos.
You will be sending a lot more walls to your opponents.
Plus, you will also gain a much higher score.
Good combos ensures you will win.

Snake Battle is now available on Facebook
http://apps.facebook.com/happysnake

And Android
https://market.android.com/details?id=air.snake

140 Godfather, Twitter Based Mafia Game

No.1 social game in Twitter

list-style-type Not Working in inline (horizontal) List?

Tagged:  

The html list is quite a useful tool for writing your website. However, if you put your list in inline mode (which is adding your ul tag with display:inline), you will find the list bullet will be gone.
No matter what list-style-type you add, it just wont show up.

If you really want to add some bullets in each list item, you can do it in 2 ways.

1. Adding Border (left)
In each list item, add css
border-left: 1px solid #000

2. Add a background image
css as follow
background: url(../images/border-dot.png) no-repeat 0px 8px ;
This method is more just the original bullets display.

Customize and Edit iWeb Theme

Tagged:  

Are you working with iWeb? Are you tired of the themes provided?
This link provide the way to edit and customize the themes from iWeb.

Cannot Launch iTunes in Old Windows XP (Solved)

One of my friend just bought an iPad, he was so excited to become a trendy geek. But he found that his computer was too old to launch the iTunes, it should be over 5 years. His computer is running XP service pack 2, with many trojans running in background.

He seek my help to get the iTunes running on his old machine.

It's a tricky problem, I tried run the iTunes, but it showed error while launching. I googled for the solution, but seems not much resources about this situation. And I tried launch the Quicktime, the same pop up showed. So I noticed this might related to the Quicktime.

Yes, the Quicktime is the main reason for not able to launch iTunes.

Old Quicktime Not Properly Updated

The cause for this is due to the old Quicktime installed in the XP. Even you run the installer successfully, the old Quicktime is still there. You have to manually remove the Old Quicktime files located in C:/windows/system32/

Here is the walkthrough

HK Girl Models Print Tee

This site sells the girls print tee. There will be 100 models in this site.

Released on 1st Sept, 10 models added.

iWeb Conflict with Jquery - Solution

Tagged:  

Jquery is probably the easiest way to add fancy javascript functions to your website. Also, iWeb is also the fanciest tool to build your web in Mac.

It's a good idea to use both in your web development. However, they are not compatible by default, since the iWeb output source code contains many javascript files that might conflict with the jquery syntax.

However, jquery has provided a solution to solve the conflict between Jquery and other javascript library.

You can simply add
jQuery.noConflict();
and the conflict is solved and you can successfully use the jquery functions in iWeb output source code.

Further details can be found in the following link:
Using jQuery with Other Libraries

Syndicate content