Open Source on Github: Your First Contribution (Repost)

August 22nd, 2013 by JasonLe's Tech 1,284 views

As a senior Computer Science student, I am constantly hearing about how great it is to contribute to open source projects on github. Many job listings list it as a qualification or a “plus”, and it is casually thrown around in conversation at all kinds of seminars and events at school. Sounds great, I should do that! The only problem is: I’m a huge noob! I’ve done well in my computer science classes at school, sure, and I’ve built some projects that my family and friends think are cool, yes, but surely I can’t contribute in any meaningful way to a project with real users, right? Right?
» Read more: Open Source on Github: Your First Contribution (Repost)

github 换行符自动转换

August 20th, 2013 by JasonLe's Tech 1,045 views

今天小心翼翼地 Fork 了一个项目,本地改好提交,同步到服务器,怀着激动的心情发出 Pull Request……这时发现问题了。我发现 diff 图表显示的更新并不仅是我修改的那几行,而是整个文件都显示为已修改。 » Read more: github 换行符自动转换

error LNK1123: 转换到 COFF 期间失败

August 16th, 2013 by JasonLe's Tech 944 views

原来机器上安装了VS2010非常正常,安装VS2012后,出现提示
错误 13 error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏,如图:

1345426628_5950

出现的具体原因是微软的链接文件的格式变了(让人无语的微软)
微软官方给出的具体解决方法是给VS2010打SP1补丁。

下载地址是:http://www.microsoft.com/en-us/download/details.aspx?id=23691

统计单词出现数目(更新)

August 13th, 2013 by JasonLe's Tech 1,229 views

这里有一个大文本(一些经典英文小说的集合),文件在解压后大约有20m。
文本中都是英文单词,空格以及英文的标点符号: [.,;-~”?’!] (句号,逗号,分号,破折号,波浪号,双引号,问号,单引号,感叹号)
» Read more: 统计单词出现数目(更新)

Qt学习之路——QFileSystemModel&QStandardItemModel

August 12th, 2013 by JasonLe's Tech 2,041 views

今天学习了QFileSystemModel,这个Model与QStringListModel类似,但是更加灵活。 » Read more: Qt学习之路——QFileSystemModel&QStandardItemModel