2009-10-27

git 小结

官方网站 http://git-scm.com/
教程:

官方 教程
Windows 下推荐tortoiseGit ,一个和tortoisesvn一样的图形化客户端
安装:
  1. 下载并安装 msysgit
  2. 下载并安装 tortoiseGit
代码托管:github (推荐)unfuddle

2009-08-13

Google Reader Unleashes A Gaggle Of Nice Social And Feed Management Updates

Google Reader Unleashes A Gaggle Of Nice Social And Feed Management Updates: "

picture-37A few days ago, I sent out a tweet wondering how long it would be until Google Reader added a tweet button to the bottom of each feed item. My guess was that it would be very soon. I was quite right. Today, the Google Reader team has unveiled a bunch of new updates to the product, including, yes, the ability to easily tweet any item.


But that’s hardly all this update contains. You can also now easily send feed items to a number of places including Facebook, MySpace, Digg, StumbleUpon, Blogger, and others. To enable any of these, simply go to the “Settings” area of Google Reader and enable the ones you want to use. If the services you want aren’t listed, you can even customize the “Send To” feature to enable sending items just about anywhere.


Another new feature allows you to easily subscribe to feeds owned by people you are contacts with. This is an obvious, but nice addition, as it makes it easier to locate feeds you may be interested in — assuming, of course, that you’re actually interested in the people you follow on Google Reader. This feature also includes Twitter updates, so you can easily import all of those and see that person’s tweets through Google Reader if you don’t feel like scanning Twitter all day.


But the best feature of the bunch may be the ability to have more control over the “Mark all as read” functionality. We all use the “Mark all as read” button when we’re too far behind on our feeds to possibly catch up. But now you can just mark items that older than a day, a week, or two weeks as read, saving the newest ones for you to still be able to read. That’s a great idea.


Google Reader still has some social issues, but it’s hard to argue with any of these features.


picture-93


picture-64

2009-07-22

面试小结

上个月因为非个人能力原因被无情的从上个项目提了出来,很是不爽,不过在这个项目待了也有两年多了,换个环境也是好的。回到公司,面试了几个项目
M公司的开发:
1)write 2 tables: Book and Author, then write a sql query that find all books written by you; (based on what tables you wrote)modify tables to support multi authors for one book
2)write code to display all fileNames in a directory include sub directory
3)write settings to a XML file, read setting back from XML file
4)read message from message queue
5)Do you have some experience on creating a winform setup file(MSI) and deploy it? Detail steps of creating a setup project
6)what is inner join and left join

Give a mark or your c# ablity (out of 10)
Give a mark or your SQLablity (out of 10)
what is Polymorphism
what is delegate
Database design experience, how many table, how many row in a table
left join, inner join, outer join
You may have a sql query that have a lot of join, cause query very slow, what you can do to let query quick?
Thread,lock,double checked lock
WPF experience
unit test
mock test, mock object

M公司测试:
堆和栈的区别
win32下的堆和.net下的堆的区别
GC 在什么情况下被调用
写一个广度优先遍历二叉树的程序
网络协议相关
全球化和本地化的区别
Globalization is the process of designing and developing applications that function for multiple cultures. Localization is the process of customizing your application for a given culture and locale.

2009-07-18

总有些人需要被喊着回家吃饭

2009-06-30

MyEnTunnel - 劳永逸的翻墙方式

本文将提供一种一劳永逸的翻墙方式(ssh -D),实施之后,那道墙——对你来说——将从此透明。

本文面向的用户:使用Windows作为操作系统并且使用Firefox作为常用浏览器。

第一步:免费获取拥有SSH权限的帐号和密码。

默认的免费获取方式:将本文转载到你自己的博客上,将转载后的文章网址发送到f.ckgfw#gmail.com

注意:转载前请先确认自己是(或曾是)一名blogger(博客),否则将会浪费彼此的时间。

转载方式:拷贝文章代码至博客后台HTML编辑器中,直接发布即可,文章标题自拟,可在前后文插入自己的评论。

经过人工审核,你将收到一封附有五个拥有SSH权限的帐号和密码的电子邮件,你可以将它们赠与你信任的人。

更多获取方式将在今后陆续激活,请关注我们的最新更新:https://friendfeed.com/fuckgfw

第二步:配置MyEnTunnel软件

下载并安装MyEnTunnel,该软件全名为My Encrypted Tunnel。

一键下载:https://dl.getdropbox.com/u/873345/download/myentunnel.exe

myentunnel


按照上图将第一步收到的帐号信息填写到相应的地方后,点击save按钮,再点击hide按钮。

第一次连接过程中会出现一个认证对话框,按照提示确认即可。以后的自动连接中将不再出现此认证对话框。

最后点击hide按钮,使对话框隐藏到系统任务栏中。

提示:

为MyEntunnel创建一个快捷方式,将其复制到系统的【启动】(C:\Documents and Settings\当前用户名(需要修改成你自己的)\「开始」菜单\程序\启动)文件夹中,今后开机便可自动启动软件,并自动连接服务器。

tray

绿色代表连接成功且稳定;黄色代表正在连接或重新连接;红色代表连接失败。

第三步:配置Firefox浏览器

假设你正使用Firefox浏览器阅读本文。

一键安装:http://autoproxy.mozdev.org/latest.xpi

xpi-offical

点击立即安装,安装后,重新启动Firefox。然后你会看到如下对话框,选择gfwlist (P.R.China)后,点击确定。

gfwlist

接着你会看到Firefox主界面右上角出现有一个“福”字图案,点击“福”。

fu

点击“代理服务器——编辑代理服务器”。

edit

随即出现如下画面,你会看到如GAppProxy、Tor和Your Freedom这样一系列代理服务器名称。

before

将GAppProxy一栏的参数修改为如下图所示。

after

修改完毕后,点击确定。至此配置已全部就绪。

获取更多帮助,请关注反馈中心:https://friendfeed.com/fuckgfw-feedback

第四步:支持fuckGFW

  1. 如果您翻墙成功,请大笑一声并用充满磁性地低音说出:Hello, world!

  2. 如果由于线路原因,始终翻墙不成,不要气馁,给我们发Email,咱们一起解决问题。

  3. 假如哪天突然无法正常连接,请先到反馈中心汇报,我们会及时做出反应。

  4. 目前您有如下几种方式及时获取我们的最新动态:FriendFeed | Twitter | Blog

  5. 保持默契,我们相信您一定可以做到。

版权信息:您可以自由复制、传播、演绎本作品且无需署名、无需注明原始出处。

2009-06-03

技术维护


抱歉,维护 (6.3-6.5)

2009-05-26

记一次折腾

    话说我的blog本来人气就不旺,blogspot又久被挡在墙外,疏于打理,都快长草了。更新一下
前天,也就是星期天晚上,想找个把itunes 正在播放 发送的 Twitter 的插件,我的基本需求:可以设置延时,比如一首歌播放30秒之后再发送,以防把那些手工跳过的歌推出去。于是就google了一个,下载,安装,设置twitter账户,听了一首歌,同步到了twitter,跳过了4首歌,就弹出了对话框,告诉我这是共享软件,每次只能听5首歌,当时我就震惊了,当时我就崩溃了,于是卸载。巨慢无比,期间发现进度显示unregister msxml3.dll,觉得不太对劲,卸载完了一切正常,这是也就过去了。

     第二天,也就是昨天,下班到家的第一件事,开电脑,上QQ,弹出"Initialization failure:0x0000005“的错误,google了一下说是msxml3.dll的原因,这才想起这个dll昨天被卸载了,本来想在本机搜一个替换,结果弹出错误,说需要的文件找不到,看来搜索也需要这个文件,想用360safe跟新一下,健康状况检查途中报runtime error。上网搜了个,替换,运行 “regsvr32 %WINDIR%\system32\msxml3.dll” ,无果,在微软网站看到有无数次的更新,不知道用那个版本,只好一个一个的试,都不行,正当我崩溃想放弃打算改天刻盘重装的时候,又google 了一次,发现了这个 ,原来还需要msxml3r.dll, 从dllcache里翻出一个,拷贝到 windows\system32 下,靠,这个文件根本就没了,被昨天那个软件删了。重新 运行 ”regsvr32 %WINDIR%\system32\msxml3.dll”,注册成功。开qq,成功。