Programming

BTQueue 0.1.4 is coming soon

Eventually, BTQueue is coming very soon. In addition to later information regarding the change of core engine to BitTorrent 4.20.9, I have just created a new branch for changing the core engine to BitTorrent 5.0.7. I am pretty sure that it is possible to add priorities support in short period.

How to let normal user run NWDS

NWDS stands for SAP NetWeaver Developer Studio. It is an extended version of the famous Eclipse aimed to help developing applications to run on SAP NetWeaver platform under Java stack. Anyway, it assumes that you installed and ran the NWDS on your personal computer. In other words, you should be the Administrator or is in Administrators group. As a result, you may not be able to run NWDS if you are not in either case.

How to install oci8 for PHP 5 on Ubuntu

OCI8 is an extension for providing APIs to Oracle database management system. However, installing OCI8 is not just easy like apt-get since it requires SDK offered by Oracle and its distribution license prohibits the inclusion to linux distribution. That means we have to download and compile it by ourselves. Fortunately, it is a little bit easy for Ubuntu.

How to insert an image into primary links in Drupal

Drupal normally provides powerful and secure menu system to all of us. We are able to manipulate primary links and secondary links seamlessly and easily with little effort. However, sometimes we would like to insert an image instead of text. I found a good snippet but it does not work for me. This snippet is just for menu item but actually, I am talking about primary links or secondary links. Starting in Drupal 5, primary links and secondary links are not formatted by the theme engine, instead, a list of arrays are passed to the theme directly. By default, all menus are passed to check_plain() to prevent unexpected security holes so we cannot insert HTML tag here include . Fortunately, this is Drupal. We can customize theme to let us insert just only img tag.

How to list the latest 11-20 nodes in Drupal (2)

According to the question and my snippets, the same one asked me again to extend the previous codes to show the author's name besides the node title. In addition, it would be nice to display node title and its author in a table form. Fortunately, this is Drupal. It is very easy.

How to list the latest 11-20 nodes in Drupal

I found an interesting question regarding Drupal at Codenone. One would like to list the latest 11-20 nodes in a block. He tried to use Views module with no luck. I think so. Listing the latest nodes in a block using Views is very easy but I don't see any clue to get the next 10 nodes. Anyway, it is possible to write a snippet code to fulfill this requirement.