勞動
如果
Just Created: New Drupal Module "Gallery Archive"
I just created my second open source software project (for Drupal), Gallery Archive . This is the first Drupal module I've created, and I'm excited to be able to dive into many more APIs I've not yet interacted with. Drupal has been a great adventure in my life, and I'm finally getting good enough with 'drupal-fu' (like kung-fu, but in Drupal-speak) that I can come up with solutions to my own problems :)
The
利用 PEAR 製作 Excel 檔案 (Use PEAR to create an Excel file)
是一種以 PHP 物件導向的設計的程式庫
PEAR is the abbreviation of PHP Extension and Application Repository
安裝 PEAR
Install PEAR
開啟 Terminal 輸入
Open the Terminal and type
sudo apt-get install php-pear
安裝 PEAR 及其相對的元件
To install PEAR and its relative package
開啟 Terminal 輸入
Open the Terminal and type
sudo gedit /etc/php5/apache2/php.ini
上了賊船之後
A module that I want in the standard library: Parsing
Given what I've written before , it willprobably not surprise you that I have a little list of modules thatI think should be in the standard library. The first one of them isa decent parsing or parser generator module.
There are two reasons in combination for this. First off, various sortsof parsing is an important part of the work that a decent number ofprograms do. Full bore language parsers are somewhat uncommon, but (atleast in my work) it's reasonably common to be
The cache eviction death spiral
Here's a cache behavior I've touched on in passing several times butI feel like covering explicitly now. It's what I've taken to call thecache eviction death spiral, where cache evictions start you down a pathto grinding death.
Cache evictions of useful data have an obvious problem; they slow downthe program when you have to pull the needed data back into cache. Butin a contended cache under pressure from multiple sources, they have asecond effect as well; because your program
廣告之 inception
是咁的,日前在街等人,聞得背後一對母子對話,談及男孩的小學同學,提起一女同學,男孩突然一句:「我有小小鍾意左佢!」母親地說:「咁你就要讀好 D 書啦!」「點解?」「女仔鍾意 d 叻架嘛!」
母親固然機警轉得快,
Tabbing Between Fields in Google Chrome (vs. Tabbing through everything)
For some users, being able to tab through all clickable elements on a page is a blessing. For most, though, it's a curse (at least, in my experience). The default behavior of a browser should be to allow users to tab through form elements only (textfields, textareas, search forms, submit buttons, etc.).
For some time now, Google Chrome has only allowed users to tab through every. Single. Element. on the entire page. Luckily, there's
