Posts RSS Comments RSS 137 Posts and 271 Comments till now

Archive for the 'Tricks' Category

SODEVE’s WP-Translate, Blogger Edition

Larry Keiler asked me whether the Sodeve’s WP-Translate works on Blogger. The answer is no. This is because Blogger doesn’t use PHP (frankly, I’m don’t know. My hunch tells me it’s running on Python.)

I actually have written the JavaScript version of the plugin. You could see it running here.

Basically it consists of two parts, the JavaScript, and HTML. You could host the images in your own blogs, but it would be tedious to add the flags one by one. So I put them up at PhotoBucket. This way you can just copy and paste into your Blogger layout.

Javascript Part:


HTML Part:

Back to English English to German English to Spanish English to French English to Italian English to Portuguese
English to Dutch English to Greek English to Nippon English to Korean English to Russian English to Simplified Chinese

So now how to add it to Blogger? Please follow this steps:

  1. Login to Blogger
  2. Go to Dashboard, then click Layout
    Blogger's Dashboard
  3. At the sidebar location. Click “Add a Page Element”
     Blogger - Add a Page Element
  4. A new window will pop-up. Select ‘HTML/Javascript’, click ‘Add to Blog’
  5. You now will have a text box and a text area. Leave the title blank. Copy the code described in the ‘Javascript Part’, then paste it in the text area. Then copy the code from ‘HTML Part’, and paste it also in the text area. Inside the text area, separate the Javascript and the HTML with one line.

You are good to go. If you like this tips, I would be grateful if you link-back to this blog. Thanks.

Good luck with your Blogger (^_^)/

List of Bloggers that use Sodeve’s WP-Translate, Blogger Edition:

  1. My Demo Site
  2. Your Blog?

How To Setup VPN In Your Office and Access It From Home.

VPN stands for Virtual Private Network. Why do we need VPN in our office? Most of the time, because people have their file server in the Office. And they want to retrieve their files to enable them to work from home.

Isn’t that dangerous?Well, with a sufficiently strong password, the VPN should be difficult enough (too expensive in terms of time and effort) to crack.

OK, what are the requirements? Basically if you have Windows XP, you are good to go. Please note that Windows XP SP has limited connection. Check this article on how to remove the limitation. It would be better if you use your Windows 2000 Server/Windows 2003 Server as the VPN server since they are optimised for concurrent network access.

Since most companies that has Windows Server (be it 2000 or 2003) is likely to employ someone with network knowledge to maintain the network, I’ll dedicate this guide to those small/medium company that using Windows XP/2000 Professional as their File server.

Assuming you are using Windows XP. Follow the following steps:

  1. Go to New Connection Wizard (Start - Settings - Network Connections - New Connection Wizard), and then click Next.
  2. Select ‘Setup an advanced connection’, and then click Next.
  3. Select ‘Accept Incoming Connection’, and then click Next.
  4. Un-select any selected connection, and then click Next.
  5. Select ‘Allow virtual private connections’, and then click Next.
  6. Select the user(s) that have access to VPN. PLEASE make sure they have a STRONG PASSWORD. What is strong password? The length should at least 8 characters. It has small caps character(s), capital character(s), numeric character(s) and non-alphanumeric character(s) such as #,$,@,&, etc.
  7. Click Next. By default the TCP/IP address will be using DHCP. It means any computer connected through VPN will receive IP address automatically just like any other computers in your network. Please make sure your network router has DHCP server running.
  8. Click Finish

Wait, don’t celebrate first (^_^). The VPN is now up and running, but how will user from home discover it? I will assume you’re not using static IP. To check whether you’re using static IP or not, please go to your router (192.168.0.1 or 192.168.1.1) and look for ‘Status’ or ‘Network Status’.

So what to do if we have non-static IP? I suggest you to register and download those Dynamic DNS forwarding service. You can search google for ‘Dynamic IP’. Basically these services will give you a domain name, and program to be run inside your network. I recommend it to be installed in the VPN server. The program will periodically update the IP address in the ‘Dynamic IP’ server. Thus, whenever users request for the domain you’ve registered, they will be transferred to your IP address (i.e. your office).

Next is to open your firewall port. Login to your router, look for ‘Port Forwarding’ or ‘Application and Game’ menu (usually they are located in the advanced settings). Forward TCP port 1723 to your VPN server.

Basically that’s all the steps to set up VPN in your Office. Questions?

How To Access VPN from Home

Now that your office has VPN service up and running, it’s your turn to set your computer to connect to your office network. Please follow the following steps:

  1. Go to New Connection Wizard (Start - Settings - Network Connections - New Connection Wizard), and then click Next.
  2. Select ‘Connect to network at my workplace’, and then click Next.
  3. Select ‘Virtual Private Network connection’, and then click Next.
  4. Type something for the connection name, and then click Next.
  5. Select ‘do not dial the initial connection’, and then click Next.
  6. Type the address that you’ve registered for your company, and then click Next.
  7. Click Finish

So now how to connect to the office? Go to Start-Settings-Network Connections - My Office. It should open the following window:

Type the username and password, the username should have been given access to the VPN service
There you go. You should be able to connect to your office and access the fileserver using the usual ‘\\fileserver’

Troubleshooting

  1. I manage to get connected, but I am unable to access the network. Answer:Check your VPN Server’s Network TCP/IP settings. Make sure the Gateway, DNS and WINS points to your router IP address.
  2. You have trouble setting your VPN? Post comment and I’ll try my best to answer it.

Make Your Browser Lightning Fast

Found this on YouTube.com



Initially I was sceptic about the effect, but after modifying Firefox’s about:config, it run really fast.

I suspect that it will works if you have Broadband connection.
Any fellow Dial-Up users able to confirm?

How to Create a Cool Firefox’s Bookmark Toolbar

I was lurking on Slashdot reading article about software bug that became a feature. Someone mentioned a bug in the Firefox’s bookmarking name. Then another person suggested a Firefox Extension to make your bookmark Toolbar looks Cool.

OK, so here are the steps:

  1. 1. Download this Firefox Extension HERE
  2. 2. Blank out the name of your bookmarks in the Bookmark Toolbar
  3. 3. If the websites in your toolbar doesn’t have icon, visit that particular website, get its logo URL, and then visit this PAGE to convert the logo into icon.

As a teaser, here is how my Bookmark Toolbar looks like:

cool-bookmark-toolbar.png

Source: Slashdot

Pages (2): « 1 [2]

Close
E-mail It
Socialized through Gregarious 42