Back my vimrc file:
Month: May 2010
Godaddy优惠券 0.99美元域名再现
Godaddy优惠券编码:
Godaddy优惠券类型:
- 在Godaddy注册或转入下列后缀的域名.COM, .US, .MOBI, .BIZ, .NET, .ORG, .CA, .CO.UK , .IN
Godaddy优惠券使用条件:
MOS Transistor Model
This is the basic model of MOS Transistor, memorize the size matters.
Google Pacman (吃豆子)
Google 前几天(5月22日)在首页上面放了 pacman 的游戏,是为了纪念 pacman 30周年。
如果你错过了,没有玩到google版的pacman,可以使用下面的地址:
取名字诗词选
同事转给我的取名字诗词选:
子奕 奕奕寝庙,君子作之。《诗经?巧言》
一诺 千金未必能移性,一诺从来许杀身。《上湖南崔中丞》
子衿 青青子衿,悠悠我心。《诗经)
子佩 青青子佩,悠悠我思。《诗经)
子慕 既含睇兮又宜笑,子慕予兮善窈窕。《楚辞》
一川 一川烟草,满城风絮。梅子黄时雨。《贺铸?青玉案》
志学 非学无以广才,非志无以成学。(诸葛亮)
猎头找人的地方:LinkedIn
和我一块学开车的一个师姐是Marvell的HR,她告诉我猎头喜欢在LinkedIn上面找人,如果你想倍挖的话,去LinkedIn上面注册一个吧。
LinkedIn网址:
- http://www.LinkedIn.com
- 可以加我哦
Drupal Theme Varaibles Used in node.tpl.php
Drupal Theme implementation to display a node.
Available variables:
- $title: the (sanitized) title of the node.
- $content: Node body or teaser depending on $teaser flag.
- $picture: The authors picture of the node output from theme_user_picture().
- $date: Formatted creation date (use $created to reformat with format_date()).
- $links: Themed links like "Read more", "Add new comment", etc. output from theme_links().
- $name: Themed username of node author output from theme_username().
- $node_url: Direct url of the current node.
- $terms: the themed list of taxonomy term links output from theme_links().
- $submitted: themed submission information output from theme_node_submitted().
Continue reading “Drupal Theme Varaibles Used in node.tpl.php”
Druapl PHP Varaibles Can be Used in page.tpl.php Theme Template
Drupal Theme implementation to display a single Drupal page.
Available Drupal PHP variables for theme template:
Drupal General utility variables:
- $base_path: The base URL path of the Drupal installation. At the very least, this will always default to /.
- $css: An array of CSS files for the current page.
- $directory: The directory the theme is located in, e.g. themes/garland or themes/garland/minelli.
- $is_front: TRUE if the current page is the front page. Used to toggle the mission statement.
- $logged_in: TRUE if the user is registered and signed in.
- $is_admin: TRUE if the user has permission to access administration pages.
Continue reading “Druapl PHP Varaibles Can be Used in page.tpl.php Theme Template”
Change Default Crontab Editor
The default crontab editor is nano on some systems. This is a pain. You can change the crontab editor by setting the EDITOR environment variable.
In BASH:
export EDITOR=/usr/bin/vi
In some system, you alse need to set variable VISUAL to vim:
export VISUAL=/usr/bin/vi
运动一下(图)
坐久了,让我们伸伸腰,动动胳膊,踢踢腿,你看下面的老兄也也耐不住长时间不动了。