摘要: A List Apart: alistapart.com UX Booth: uxbooth.com 52 weeks of UX: 52weeksofux.com UX Mag: uxmag.com UsabilityPost: usabilitypost.com The IxD Library: theixdlibrary.com Boxe... 阅读全文
posted @ 2013-02-23 13:10 AngeloQ 阅读(377) 评论(0) 推荐(0)
摘要: 英文原文:http://robots.thoughtbot.com/post/159809241/whats-the-deal-with-rails-polymorphic-associations 1 class Person < ActiveRecord::Base 2 3 has_one :address, :as => :addressable 4 5 end 6 7 class Company < ActiveRecord::Base 8 9 has_one :address, :as => :addressable10 11 end12 13 class A 阅读全文
posted @ 2013-02-22 17:35 AngeloQ 阅读(933) 评论(0) 推荐(0)
摘要: Chrome.exe通过MainDllLoader加载chrome.dll,然后获取chrome.dll中的ChromeMain函数指针开始运行chrome.dll中的代码:1 DLLEXPORT int __cdecl ChromeMain(HINSTANCE instance, 2 sandbox::SandboxInterfaceInfo* sandbox_info) { 3 ChromeMainDelegate chrome_main_delegate; 4 return content::ContentMain... 阅读全文
posted @ 2013-02-18 16:21 AngeloQ 阅读(1720) 评论(1) 推荐(3)
摘要: Variable: The symbolic name of a quantity of data so that the name can be used to access the data it refers to throughout the scope of the code where it is defined. In C++, “variable” is generally used to refer to instances of scalar data types, whereas instances of other types are usually called “o 阅读全文
posted @ 2013-01-30 16:45 AngeloQ 阅读(449) 评论(0) 推荐(0)
摘要: 我们知道一般的Windows程序都会有一个WinMain函数,Chrome的这个函数在chrome\app\chrome_exe_main_win.cc这个文件中: 1 int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) { 2 3 // Initialize the commandline singleton from the environment. 4 CommandLine::Init(0, NULL); 5 // The exit manager is in ch... 阅读全文
posted @ 2013-01-28 16:31 AngeloQ 阅读(2595) 评论(4) 推荐(4)