Skip to main content

Posts

迁出北京户口

用这篇博客记录一下我的没什么用的北京户口。 从家乡到北京读书工作,一晃就是9年,临出国的时候终于有了一个北京集体户口。户口放在中科人才,年年交几百块的户口档案管理费。 去年回国,又不得不开始和户口打交道。因为各种户口证明,档案证明,回国安置,子女落户之类的手续,人在上海工作,不得不往北京跑了几次。每次去办事都很顺利,不到一小时就可以办好的事,可是不得不请一天假,搭上上海到北京的来回机票,来回光机场建设费燃油税就四百,就为了一张盖红章的纸。 后来跑多了,发现北京的机场盖的可真乱。我出国的时候2号楼正在盖,好歹和1号连在一起。因为奥运,又在很远的地方盖了个有个乌龟壳的3号。几个航站楼把乘客彻底搞得晕头昏脑。开始打的去市里,后来发现机场大巴很不错。16元,直接到中关村。 终于受不了了,这样的异地户口简直太麻烦了,就算是北京户口也没用啊。按照海归迁户的复杂手续把户口迁到上海来。整个过程搞了有小半年。上海外服就去了N次。到中科人才找老师办事。人家说能不能下周什么时候来办,没给我气一跟头。还好, 知道我是从外地来的,加急一百,同意给我加急办。问了我句, “北京户口不要了?” 包里装着我的户口迁出证明和档案,离开了北京。 和北京这回是没什么关系了。

radio fan

I have bought quite a few Palm, PocketPC, MP3 players. They all end up the same. After just a couple of weeks, I sold them cheap on eBay or Taobao. Because they all have one problem: unless you keep feeding, syncing them, these gadgets are just boring and useless eventually. One gadget, very old fashioned, is very useful. It is radio. The device is cheap. The contents are always new. I listen to the radio at office (online one), lat kitchen, in the bed, on the road. Recently I bought a new one at Taobao. It can scan and store stations with one touch, show me the time and temperature as while.

a team

A multi-disciplinary team was formed to consider all aspects of the project: licensing, business models, governance, co-development procedures, source code analysis, source code management, tools, marketing, website application design, and community development.

Era - the intersection of time show

The show is well presented with the combination of traditional Chinese acrobatic and modern arts. Performers can bend like snakes, pretty much can put anything on the head, and, the stunning metal globe cage chasing scene from the movie Promise. It has been performed in Shanghai Circus World daily at 7:30PM. The ticket price ranges from 80 to 580 CNY. I heard the show will end by the end of this year. http://www.era-shanghai.com/2008/en/show.asp

ubuntu in nutshell 5

sudo apt-get install bzr $ bzr whoami 'Joe Doe ' sudo apt-get install subversion libapache2-svn svnadmin create /path/to/repos/project svn import /path/to/import/directory file:///path/to/repos/project svn co file:///path/to/repos/project sudo chown -R www-data:www-data /path/to/repos sudo htpasswd -c /etc/subversion/passwd user_name svn co http://servername/svn /path/to/repos/project/conf/svnserve.conf svn co svn://hostname/project project --username user_name svn co svn+ssh://hostname/var/svn/repos/project sudo apt-get install cvs sudo apt-get install xinetd cvs -d /var/lib/cvs init /etc/xinetd.d/cvspserver sudo /etc/init.d/xinetd start cvs -d :pserver:username@hostname.com:/var/lib/cvs import -m "Importing my project to CVS repository" . new_project start sudo apt-get install samba /etc/samba/smb.conf sudo mkdir -p /srv/samba/share sudo chown nobody.nogroup /srv/samba/share/ sudo /etc/init.d/samba restart sudo apt-get install libpam-smbpass sudo mount -v -o remount

ubuntu in nutshell 4

sudo apt-get install squid /etc/squid/squid.conf acl biz_network src 10.1.42.0/24 acl biz_hours time M T W T F 9:00-17:00 http_access allow biz_network biz_hours sudo /etc/init.d/squid restart sudo apt-get install tomcat6 sudo apt-get install tomcat6-admin sudo apt-get install tomcat6-docs sudo apt-get install tomcat6-examples sudo apt-get install tomcat6-user tomcat6-instance-create my-instance /etc/tomcat6/tomcat-users.xml sudo chgrp -R tomcat6 /etc/tomcat6 sudo chmod -R g+w /etc/tomcat6 sudo apt-get install python-moinmoin sudo apt-get install mediawiki php5-gd sudo ln -s /var/lib/mediawiki /var/www/mediawiki http://localhost/mediawiki/config/index.php sudo apt-get install vsftpd /etc/vsftpd.conf sudo /etc/init.d/vsftpd start sudo apt-get install nfs-kernel-server /etc/exports sudo /etc/init.d/nfs-kernel-server start sudo mount example.hostname.com:/ubuntu /local/ubuntu sudo apt-get install nfs-common /etc/fstab example.hostname.com:/ubuntu /local/ubuntu nfs rsize=8192,wsize=8192,ti

ubuntu in nutshell 3

sudo passwd -l root sudo passwd sudo adduser|deluser username sudo passwd -l username lock sudo passwd -u username unlock sudo addgroup|delgroup groupname sudo chmod 0750 /home/username /etc/adduser.conf /etc/pam.d/common-password sudo chage -l username sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 username /etc/event.d/control-alt-delete /boot/grub/menu.lst grub-md5-crypt sudo ufw enable|disable sudo ufw allow|deny 22 sudo ufw allow proto tcp from 192.168.0.2 to any port 22 sudo ufw logging on|off /etc/ufw/sysctl.conf /etc/default/ufw /etc/sysctl.conf sudo sysctl -p sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o ppp0 -j MASQUERADE sudo iptables -A FORWARD -s 192.168.0.0/16 -o ppp0 -j ACCEPT sudo iptables -A FORWARD -d 192.168.0.0/16 -m state --state ESTABLISHED,RELATED -i ppp0 -j ACCEPT sudo iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j LOG --log-prefix "NEW_HTTP_CONN: " /etc/syslog.conf sudo apt-get install apparmor-profiles sudo apparmor_status su