乐趣: February 2008 Archives

刚才在twitter上听到做完Project要写Pseudocode,不知道是什么东东,快快的去查了一下,才知道是要抛开LANG来写逻辑部分。

比如Hello World可以在pseudocode中这样写

output hello world

感觉上Apple Script应该是同一类的东东,但是能干活。

公司有几台服务器总是不能把自己的ssh-pubkey放上去,每一次输入那一长串的东东实在是无法忍受。看了一下expect像样的文档没有一个,倒是有一堆的例子,学习下,放在这里备忘吧。

#!/usr/bin/env expect 
set timeout -1 #设置超时的时间,单位是秒,-1是永不超时
set password ****  #设置变量
set host [lindex $argv 0] #设置一个变量是从命令行参数得到
spawn ssh guixing@$host #来来来,下个蛋
expect "assword:" #等的就是它了
send -- "$password\r" #发出去
interact #剩下的就是自己的了

MFC是什么东东?

| | Comments (0) | TrackBacks (0)
看到MFC的时候实然不知道是在说什么东东,查了一下原来是:
  • Memory Flow Controller
  • Merged From -CURRENT
  • Michael F. Cowlishaw
  • Microsoft Foundation Class Library
  • Multi-Function Center
不懂英文短写真可怕 。

春节的时候还是把以前用的Debian/Linux(lenny)桌面系统给换到了FreeBSD7上来了。基本没有什么大问题,而且还把在Debian下KDE无法工作的声卡也搞定了。

简单的记录一下安装的过程

About this Archive

This page is a archive of entries in the 乐趣 category from February 2008.

乐趣: March 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.21-en