css · geeky

Making Semantic Elements Behave Like a Table

CSS has properties to make any element you wish behave as if it was a table element. You’ll need to structure them essentially as you would a table, and it will be subject to the same source-order-dependency as a table, but you can do it. I’m not crapping on it either, it’s genuinely useful sometimes.… Continue reading Making Semantic Elements Behave Like a Table

chinese · love n family · personal

再看《滚滚红尘》

第一次看《滚滚红尘》时很小,还不懂什么叫少女情怀。三十出头再看心中别是滋味。在美国这么多年,但少女时期的初恋还是用中文描述的。那时写了三年的可以叫作情书日记吧。每天对着比自己大十四岁的初恋情人写一篇日记。做梦的年代。叫做梦的年代因为那时随手写就是散文。万物一切都有感情。天天都有时间静下心来,倾听自己的心声。再看《滚滚红尘》唤醒了我的少女情怀。这种影片是不是美在它能捕捉并保存这种情怀呢?无论时代或历史都无法改变有诗的心灵。一种浪漫,一种幻想,一种美好,藏在心底无法抹杀。很多音乐都可以唤醒那种感觉。那种感觉能让时间停留。当我处在那种心境中,我觉得我从未长大。虽然我已经许多年没有碰琼瑶的书了,也不再看以前的日记。可有过的情怀没有丢弃。看琼瑶的时候,家长们都警告看这种书会中毒。看来这就是我的毒,一生的毒。

geeky · javascript · php code

Twitter API 1.1 php get tweets script

I’ve been using a nice caching php script for getting my latest tweets. Recently twitter completely stopped support for API 1 and everyone must use API 1.1. API 1.1 requires authentication and therefore making it more complicated to use the original script. I’ve modified the script with the help of the codebird library to do… Continue reading Twitter API 1.1 php get tweets script

geeky · mobile

How to use the Google Chrome Remote USB debugging

Have chrome installed on your desktop and your android device. Download Android SDK, unzip, double click on the exe installer I installed the following: Add \sdk\platform-tools to your PATH environment variable Enable USB debugging on your device. On most devices running Android 3.2 or older, you can find the option under Settings > Applications >… Continue reading How to use the Google Chrome Remote USB debugging

child themes · wp themes

Child Theme for Twenty Twelve – Back to School

Live Preview Back to School is a child theme for Twenty Twelve. You may download it. It may also be used on wordpress.com if you have custom CSS purchased. To use this style on wordpress.com with custom css: Activate the Twenty Twelve theme Use the following custom css Copy everything after: here. Replace all image… Continue reading Child Theme for Twenty Twelve – Back to School