How to access a virtualbox guest machine like ubuntu via SSH with NAT

This post is about how I use port forwarding to connect ubuntu in the virtualbox via SSH. Now I run Ubuntu 10.04 LTS in the virtuallbox like a guest machine, and my host OS is MAC OS X. By default, the … Continue reading

Posted in linux | Tagged , , , | Leave a comment

How to use web.py in the google app engine

There are some tips for using web.py in the google app engine 1. Install web.py : For mac os x and linux, just run : sudo easy_install web.py 2. Put ‘web’ folder into your google app’s folder. For mac os … Continue reading

Posted in python | Tagged , | Leave a comment

How to Share a 3G Internet Connection of SFR over wifi on macbook

I use a french mobile operator named SFR and I want to share the 3G connection with my macbook. So I have installed a software called WMWifiRouter on my mobile samsung i900, and turn the mobile into a wifi hotspot, … Continue reading

Posted in mac, web | Tagged , , | 2 Comments

Some notes on hosting wordpress on VPS

Now I use VPS for my blog hosting. So I want to take notes of knowledge about VPS. 1.Connecting VPS using an SSH client on Mac OS X or Linux Once you have a terminal open, type: [cc lang="bash"]ssh username@hostname[/cc] … Continue reading

Posted in web | Tagged , | Leave a comment

Tips for fortran programming on mac os x

1.Installation of gfortran: Download gfortran file from http://hpc.sourceforge.net/ , chose the right binaries according to your CPU and the OS version. Then cd to the download folder gunzip gcc-bin.tar.gz sudo tar -xvf gcc-bin.tar -C It installs everything in /usr/local 2.Installation of … Continue reading

Posted in fortran | Tagged , | Leave a comment

A new blog

Once again I have abandoned my ancient blog, and now I want to start a new blog written in English. I will write something about physics, mathematics and programming, to record my thoughts, or just take notes of something useful. … Continue reading

Posted in blog | Leave a comment