Tips and Tricks
How to calculate equation with summation in Python
Most modern mathematics might have summation in some parts of equation. Implementing this kind of equations in Python is very easy and straightforward. Python already provides built-in functions to help us, e.g., sum()
and map()
.
- sugree's blog
- 1 comment
- Read more
- 6301 reads
How to play RMVB using Mplayer
Even though Mplayer is able to play RMVB by binary codec, sometimes it may not work as expect due to something weird as follow.
mplayer: symbol lookup error: /share/apps/codecs/drvc.so: undefined symbol: pthread_mutexattr_init
Fortunately, it has a workaround for this issue.
- sugree's blog
- Add new comment
- Read more
- 9621 reads
How to install Subversion on CentOS 4.5
I was assigned to find out how to install Subversion on CentOS. It is a good version control system right now, especially for development teams in any enterprises. Installing Subversion on CentOS is quite easy as follows.
- sugree's blog
- 10 comments
- Read more
- 23802 reads
How to rip subtitle from DVD using Mencoder
I have a mission to rip a subtitle from a DVD. My laptop is Ubuntu Feisty Fawn and my favorite tool is mencoder. In fact, I have never done something relating to subtitles before. However, mencoder should be able to satisfy me as always.
- sugree's blog
- Add new comment
- Read more
- 5444 reads
How to drop all tables in MySQL
I would like to drop all tables in a database of MySQL but I don't want to drop the database itself. The reason are that the created tables seemed to be incorrect and I would like to recreate or import it again. However, I am so lazy to create the database and grant the user/pass again. Fortunately, I found a workaround trick.
- sugree's blog
- Add new comment
- Read more
- 2563 reads
How to reset mysql root password in RedHat
My friend posted about reseting mysql root password long time ago. It still works but you have to know how to change root password properly. Since I have to do it by myself, I will explain more detail in this post.
- sugree's blog
- Add new comment
- Read more
- 2972 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 36 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago