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.
- sugree's blog
- Add new comment
- Read more
- 5704 reads
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.
- sugree's blog
- Add new comment
- Read more
- 2188 reads
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.
- How to fire an event to a specific button whenever
Return
orEnter
key is pressed? - How to specify TAB order to TextCtrl?
In fact, I have never developed GUI program for so long. I guessed as follows.
- Set the button as default.
- Specify tab index.
Above answers are just partially correct.
- sugree's blog
- Add new comment
- Read more
- 2232 reads
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.
- sugree's blog
- 2 comments
- Read more
- 3055 reads
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.
- sugree's blog
- 4 comments
- Read more
- 1973 reads
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.
- sugree's blog
- 2 comments
- Read more
- 1853 reads
Recent comments
2 years 47 weeks ago
3 years 1 day ago
3 years 4 days ago
3 years 1 week ago
3 years 1 week ago
3 years 3 weeks ago
3 years 3 weeks ago
3 years 3 weeks ago
3 years 4 weeks ago
3 years 4 weeks ago