Archive for the ‘Uncategorized’ Category

12
how to write chrome only css Monday, 12th April 2010

Sometimes webkit renders differently in chrome and the best way to target it would be:

<code>
body:nth-of-type(1) [css selector]{
[css style]
}
</code>

For example, to target div#id, simply use:

<code>
body:nth-of-type(1) div#id{
display:block;
}
</code>

update
wrong, this affects also firefox 3.6 +

use this instead:

@media screen and (-webkit-min-device-pixel-ratio:0) {
[styles inside]
}

25
Reset System management controller on ur mac Thursday, 25th March 2010

Good tip from os x daily.

Reset the SMC of a MacBook or MacBook Pro’s with detachable batteries:

* Shutdown the MacBook/Pro and remove the battery
* Disconnect the power adapter, hold the Power Key for 10 seconds
* Release the power key and reconnect your battery and power adapter
* Turn your Mac on
* Let boot as usual.
Reset SMC of a MacBook or MacBook Pro’s with an internal battery:

* Shutdown your MacBook/Pro
* Connect the power adapter to your Mac
* On the MacBook/Pro’s keyboard, hold down the Shift+Control+Option keys and the Power button at the same time
* Release all keys and the power button at the same time
* Boot your Mac as usual
Reset SMC of an iMac, Mac Pro, Mac Mini:

* Shut down your Mac
* Disconnect the power cord
* Press and hold the Mac’s power button for 5 seconds
* Release the button
* Reattach the power cables and boot the Mac as usual

original post here: http://osxdaily.com/2010/03/24/when-and-how-to-reset-your-mac’s-system-management-controller-smc

25
Moving to OPERA 10.5! Thursday, 25th March 2010

Now I am ditching chrome, firefox, safari, to switch to opera!

It’s just simply fast, and it passes the acid 3 test, with 100/100.

The only thing I hate would be the strict rendering of the pages – if css is broken, it will break the page. But alas, it’s the dev’s problem.

Speedwise, it’s the best. Also native css3 support (anything that is standardized) is just awesome, check some special effects on chrome/opera/firefox, and you’ll see the difference.

All hail opera :D

11
A very good website about colors in design Thursday, 11th February 2010

http://www.smashingmagazine.com/2010/01/28/color-theory-for-designers-part-1-the-meaning-of-color/

Quoted from the link above:

Color in design is very subjective. What evokes one reaction in one person may evoke a very different reaction in somone else. Sometimes this is due to personal preference, and other times due to cultural background. Color theory is a science in itself. Studying how colors affect different people, either individually or as a group, is something some people build their careers on. And there’s a lot to it. Something as simple as changing the exact hue or saturation of a color can evoke a completely different feeling. Cultural differences mean that something that’s happy and uplifting in one country can be depressing in another.

11
the missing mac windows manager Thursday, 11th February 2010

http://www.irradiatedsoftware.com/cinch/
 looks really awesome, makes me wonder why it wasn’t included as a default windows manager in the snow leopard…

15
Adobe screen sharing Thursday, 15th October 2009

HAHA! it’s got the same problem as the app on mac!

This is what happens when u share with urself:

travel in time and space!

travel in time and space!

HAHA!

Alright, it’s still a decent product, and it’s free! I would definitely recommend it to any business user – just make sure you don’t show the dirty bits on your desktop, and don’t forget to turn it off before you go check youtube!

2
Opera 10 os x Friday, 2nd October 2009

I am now writing on opera… speed seems alright, menu is quite responsive (better than safari/firefox).

Haven’t noticed any difference in Javascript performance, will keep testing…

27
安装了sun input,不错的东西呢! Sunday, 27th September 2009

网站在这里:http://blogs.sun.com/yongsun/entry/sunpinyin_for_mac_leopard_updated6

可惜的是作者离开sun了, 不过他继续会支持这个输入法, 现在连snow leopard都支持的很好, 之前用Fun Input Toy会卡的地方, 用这个完全不会卡,而且整句输入非常快, 自定词库好像也不错。

和FIT一样, 色彩字体等等都是可以自定的,相当flexible.

27
iTunes 9.0.1 is out Sunday, 27th September 2009

Go update! It fixed a lot of things, including the maximum button, which used to take you to the mini player mode, but broke in 9.0, now it’s again bringing you to the mini player mode :)

Most importantly, it’s pwnage-tool safe! Tested and all good!

26
Added contact form Saturday, 26th September 2009

Just added contact form – now it looks a bit closer to a complete site ;)

Go go go!