Tips and Tricks

How to use mootools with jQuery in Drupal

If you have used Drupal for a while, you may notice jQuery in Drupal 5. If you visit www.ubuntu.com, you may also notice that it looks like Drupal right now. According to this post, Matt Nuzum confirmed that it is Drupal. This site looks very beautiful. The most interesting is that it uses mootools which is another javascript library. Actually, mootools should conflict to jQuery. So the question is how to use mootools in Drupal site.

How to use ntfs-3g on Ubuntu Feisty Fawn

I have upgraded to Ubuntu 7.04 Feisty Fawn for a week without problem. However, today is the first chance that I have to mount external HDD via USB. The external storage is automatically mounted via pmount by internal ntfs driver bundled with linux kernel. As a result, I was unable to make any changes to the device. In Edgy, I installed ntfs-3g using packages from external repositories. Anyway, Feisty provides more configurable approach.

wxPython - A Simple Application

A thread at Codenone has been discussing about how to programming with Button in wxPython. In conclusion, there were 2 questions.

  1. How to fire an event to a specific button whenever Return or Enter key is pressed?
  2. How to specify TAB order to TextCtrl?

In fact, I have never developed GUI program for so long. I guessed as follows.

  1. Set the button as default.
  2. Specify tab index.

Above answers are just partially correct.

Greatest Common Divisor

One of the most popular definition in mathematics is the Greatest Common Divisor or GCD. If i am not wrong, I studied about GCD in primary school or secondary school after I learned division. At that time, I don't know why I need to use GCD other than for calculating Fraction. Actually, GCD is used so often in high-level mathematics and computer sciences. Since it is very popular, there are many approaches for finding GCD of given numbers.

New theme for healthy eyes

According to my previous post regarding my eyes, I have already changed my desktop theme to Neutronium for a while. It works so great. As a plus, I get an hour battery life from my laptop without optimizing anything else. Cool! To promote this healthy eyes campaign, I have also changed theme of this site to be more eyes-friendly like you might see right now.

Save your eyes by dark theme

I guess that all of us may live all day all night with computer, e.g., desktop or laptop, and we are happy. Anyway, I have just found that this life style may be dangerous in some cases. Most of the problem will happen to our body especially one of the most important one, the eyes. Working with computer generally needs your eyes for recognizing things on screen. In contrast, your screen may be harmful to your eyes. For my case, I have lived with computers more than 12 years from CRT to LCD. Yesterday, I went to a hospital for checking every parts of my body and of course, the doctor informed me about my eyes.

« first‹ previous101112131415161718next ›last »