Our goal is to emulate what developers can do with native iOS apps: that is, use a single layout, based on units, to accommodate Retina displays (640x960) and non-Retina displays (320x480). All iOS devs need to do is supply two sets of assets, one for Retina and one for non-Retina, and design their layouts in relative terms called units. Provided devs follow a certain naming convention, iOS automa
First of all, nowadays I recommend using an ATOM feed instead of RSS. The specification of ATOM feed offers more value than the RSS one with internationalization, content types and other things and every modern feed reader supports it. More info about ATOM vs RSS can be found at: the Wikipedia ATOM entry PRO Blogger and Free Marketing Zone blog posts about the subject On to the coding: This exampl
Here's an example of a simple mock I did for a controller test in a rails application: before(:each) do @page = mock_model(Page) @page.stub!(:path) @page.stub!(:find_by_id) @page_type = mock_model(PageType) @page_type.stub!(:name) @page.stub!(:page_type).and_return(@page_type) end In this case, I'm mocking the Page & PageType models (Objects) as well as stubbing out a few of the methods I call. Th
I just compiled and installed mysqldb for python 2.7 on my mac os 10.6. I created a simple test file that imports import MySQLdb as mysql Firstly, this command is red underlined and the info tells me "Unresolved import". Then I tried to run the following simple python code import MySQLdb as mysql def main(): conn = mysql.connect( charset="utf8", use_unicode=True, host="localhost",user="root", pass
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く