阅读leishao的编程日志

在安装visual studio 2008 的过程中遇到的三个问题

1、出现Invalid keyboard code specified
出现这个问题是由于默认输入语言设置不当引起的:
解决方法:【控制面板】【区域和语言选项】【语言】【详细信息】【默认输入语言】将其改为英语 (美国) – 美式键盘的输入,问题解决。

2、 Program too big to fit in memory
出现这个问题说明您的安装文件损坏了得重新下
当您试 图从 MSDN 网站安装 Visual Studio.net 产品安装文件时出现”太大,无法放入内存的程序”错误消息
文件损坏

3、Visual Studio Web 创作组件(Visual Studio Authoring Component)” 无法安装

使用Windows Installer 清理实用工具,清理Microsoft Office system即可。
Windows Installer 清理实用工具下载地址:http://download.microsoft.com/download/e/9/d /e9d80355-7ab4-45b8-80e8-983a48d5e1bd/msicuu2.exe
先清理调office 2003 的web创作组件
然后到光盘的 WCU\WebDesignerCore 把 WebDesignerCore.EXE 手动解压到一个地方,然后运行里面的
setup.exe,不要直接点击WebDesignerCore.EXE,依然会失败。

还是决定换回wordpress了

几次整改,还是最后把博客换回wordpress了。在gae上的micolog速度慢得让我写文章的兴趣都没有了。于是还是决定换回wordpress了。

我熟悉php并且有了属于自己的虚拟主机,暂时不怕被墙。嗯,那就开始新的征程吧。

在同一个机器上用github账号登录(一台机器多个公钥)

1、首先生成你要的公钥比如说id_rsa_github_codinlog
2、生成之后把id_rsa_github_codinglog里面的内容添加到github的accounts设置中
添加公钥
3、编辑~/.ssh/config 文件加入下面内容
#coding github 的认证
Host github-codinglog
Hostname github.com
User git
IdentityFile /home/kimi/.ssh/id_rsa_github_codinglog

第一行注释
第二行是名称
第三行是主机名(不可变)
第四行 用户 不可变一定要是git
第五行是私钥的地址

4、添加公钥给ssh- agent
a、确认下ssh-agent是否允许,ps ax|grep ssh-agent
b、添加私钥 ssh-add id_rsa_github_codinglog

5、验证是否成功
ssh git@github-codinglog
成功则返回
Hi codinglog! You’ve successfully authenticated,

but GitHub does not provide shell access
Connection to github.com closed.

6、从源中取出代码
a、如果是首次取出
mkdir ideacollector
cd ideacollector
git init
touch README
git add README
git commit -m ‘first commit’
git remote add origin git@github-codinglog:codinglog/ideacollector.git
git push origin master
b、如果源里面有代码了
直接git@github-codinglog:codinglog/ideacollector.git

参考:

http://github.com/guides/multiple-github-accounts