Non multa, sed multum!

Now with octopress.

Resolution Comparison

| Comments

Retina is the best.

OS Width Height Diagonal Resolution
Smartphones
iPhone 3GS iOS 320 480 3.5 165
iPhone 4, 4S iOS 640 960 3.5 330
Acer Liquid A1 (S100) Android 480 800 3.5 267
Samsung Galaxy S Android 480 800 4 233
Samsung Galaxy S II I9100 Android 480 800 4.3 217
Motorola Atrix Android 540 960 4 275
Galaxy Nexus Android 720 1280 4.65 316
Galaxy Note Android 800 1280 5.3 285
Sony Xperia P Android 540 960 4 275
Tablets
iPad 2 iOS 1024 768 9.7 132
The New iPad iOS 2048 1536 9.7 264
Galaxy Tab Android 600 1024 7 170
Galaxy Tab 7.7 Android 1280 800 7.7 196

No Production for Old Man

| Comments

Final version of rails 3.1 was promised Aug, 30, but 3.1.0 rc8 have one special feature: there is no production!

iPhone!

| Comments

1
2
3
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++
 .>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.
 ------.--------.>+.>.

Супер-дупер «Джем»!

1
2
3
4
5
<iframe width="560"
      height="349"
      src="http://www.youtube.com/embed/hvsZgh-puwY"
      frameborder="0"
      allowfullscreen></iframe>

Command Line Clipboard Copy From File in Mac OS X

| Comments

1
cat ~/.ssh/id_rsa.pub | pbcopy

And more of public key ssh’ing

Nginx on Mac OS X

| Comments

Modified from Nginx on Mac OS X Snow Leopard in 2 Minutes post.

SSL Connect From RubyMine (Win32)

| Comments

SSL connection is used when using, for example, RubyMine integration with bugtrackers or Task servers, like Redmine or Jira.

If certificate is not installed to RubyMine’s keystore within jre, it fails with an error:

1
2
3
4
sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target

To avoid this:

1
2
3
rem Export certificate *.cer
cd c:\Program Files (x86)\JetBrains\RubyMine 3.0.1\jre\jre\lib\security\
keytool -import -alias myAlias -keystore cacerts -file c:\myCertificate.cer