Posts

Showing posts from March, 2008

Installing rar and unrar programs in Linux or Unix

Image
I recently notice that I got some visitors bump in this coder's talk blog , searching for How to create and extract rar files in linux and I do remember that I didn't put on how to install rar and unrar program in other distributions of linux. I'm so sorry, my mistake. However, I am a linux supporter and I don't want to make you upset while bumping into this blog and didn't really get what you need. So, here is how to install rar and unrar on other linux distributions... Under Debian Linux, you can use the same apt-get method as follows to install unrar program: $ apt-get install unrar If you are using Fedora core Linux then use yum command as follows: $ yum install unrar If you are using FreeBSD, you can use: $ pkg_add -v -r unrar If any of above, methods is not working, you can download binary package from official rarlab site and choose the right package for your machine... for example, i chose the latest (by the time i write this post): $ cd /tmp $ wget http:/

Libraries PC can use Ubuntu

Image
Do you know that you can install Ubuntu as your library's PC Operating System . It's FREE and It's not difficult install. Now, we don't have to rely on expensively licensed operating system like windows and their other expensive softwares... download Ubuntu and install it... Here's a video on how this librarian install Ubuntu on her library's PC. It's easy right? ... If you are still on Microsoft Windows and badly using the pirated version of it. Stop now, change to Ubuntu!! Another great news is, It is VIRUS FREE!!... currently, we haven't found any virus in Ubuntu yet!! believe me!

Debian SSH problem after upgrading Sarge to Etch?

Image
About 3 hour I've been strugling to figure it out... why my ssh keep closing the connection after I issued the correct password? Actually, I just upgrade the Debian on this TS-7260 board from the default Sarge to Etch. I search all the settings in /etc/ssh/sshd_config, nothing much different... i tried to check wether it is hosts.allow or hosts.deny problem but it wasn't... I keep on trying many times... thank god i can still access the board using serial console. I tried to restart the server but still, I can't get in. I've tried to ssh with -vv and this is what I got... apogee@apogee-persiasys:~$ ssh -vv raingauge@10.1.1.92 OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 10.1.1.92 [10.1.1.92] port 22. debug1: Connection established. debug1: identity file /home/apogee/.ssh/identity type -1 debug1: identity file /ho

DNS Domain Expiration Checker Script [Update for .my domain]

Image
Do you have more than one domain to manage? Have you ever failed to renew your domain before it expires? This simple domain-check script maybe your life saver. Originally, it was written by Ryan Matteson . Then Vivek Gite add up support to .org, .in, .biz and .info domain names. And now, I've updated the domain-check script to support Malaysia (.my) domain. I should call this DNS Domain Expiration Checker Version 1.6 In order to use the script, you can simply download the script and rename it to domain-check . Then chmod +x to be able to execute it. You can run it to parse a list of domain in a text file and send an email alert to you for any domain that about to expire. Command line code to download: $ wget http://coderstalk.googlepages.com/domain-check.txt -O domain-check Sample Usage: (in directory where you place the script) apogee@apogee-persiasys:~$ ./domain-check -d google.com.my Domain Registrar Status Expires Days Left -------

Create and Extract RAR Files in Linux

Image
I've been sharing mp3s with my close friends for years. We share mp3 files within our same interest in music. As I'm now a total Linux desktop user (I didn't use windows anymore ), I have to find way to create and extract RAR files in Linux since we share the files in compressed RAR files in less than 5MB split. I always think that my findings in my Linux journey can also help others... So, here is the way to create RAR file in Ubuntu Linux . First, make sure you have already install unrar and rar which you can get it by issuing this command in your terminal ( Application > Accessories > Terminal ) ... $ sudo apt-get install rar unrar In order to create RAR file, you can just right click on the selected files and click on "Create Archive...", select .rar on the archive dropdown and click on "Create". But, if you wanna extra control, you can use your great powerful terminal to do so. Here's what I do to Create a RAR file splitted to less than

mp3 Support for Rhythmbox Music Player

Image
I just download some mp3 songs. I haven't opened Rhythmbox Music Player in my office PC since I don't have any speaker here ... After grabbing my mate's headphone, I noticed my Rhythmbox Music Player don't have mp3 support yet but I can play them well in VLC media player anyway. Yes, by default, there is no mp3 support in Rhythmbox Music Player in Ubuntu Gutsy Gibbon 7.10 . If you search in google, you can find some blogs saying you can install gstreamer-0.8-plugins. However, when you type them on your terminal, you'll find out that the package isn't there anymore... Don't panic, you just have to install something else in gstreamer package. My lucky day maybe, I choose the right package in my first try without further reading about it... here's what I do... I typed.. apogee@apogee-persiasys:~$ sudo apt-get install gstreamer then press TAB twice, and the list come out... So I choose to install the one that have mp3 in its name... apogee@apogee-persiasys:

Malay translation code

Image
Long time ago, I've been interested in creating an application to translate English to Malay, and Malay to English . However, up until now, I'm still here, sitting with nothing comes out of my tiny little brain. No single code... Hopefully, if I have time to spent on this "personal" non-profit project, I want to share it with all of you. Maybe I'll create a page like Babel Fish or Google Translate to help you in translating English phrase or website to Malay and vice versa. Babel Fish is using SYSTRAN , while Google Translate use their own translation software. I always interested in what google is doing, because maybe I'm crazy about how google have done in revolutionize this information technology world as we already know. Many thanks to people in google for helping me out with this FREE technology. They make my self-learning journey become easier from day to day. Uh, I do get money from Google Adsense too... Back to the story, I did look after what tech

Malicious Content on my new wordpress blog... WTF?

Image
Duh... I'm playing around with my 000webhost.com cpanel and my wordpress ... then I got some problem where I tried to point my sub domain of other domain I have to this blog. I got error page for a while and then manage to get it fixed... Lol, I changed the wordpress URL to my other subdomain and then redirect the subdomain to the wordpress blog... the blog goes crazy for a while. I can't reset the domain until I log on to cpanel and modify the database. All is OK then... but after a while, I end up getting redirect page which says, the admin is checking my website for malicious content.... WTF? here's what you can read on the blog now... Demmit!... better go home and sleep coz I can't do nothing now... Anyway, instead of this broken heart story, thank god I managed to get my PPTP on my debian TS-ARM running ... heheh... Look at the ps aux output It's up and connected... I can ssh my gprs board now... hohohoho...

My Wordpress Blog is up and running...

Image
Yes, I've made it... since I told you about the superb free hosting site as my PHP testing ground, I download wordpress and install it within minutes... Now I have made my wordpress blog up and running on this free host. Hope the host will last long. Here's the screenshot of my new wordpress blog. Nothing much to code yet, I just install it by following the installation steps on wordpress.com. Feel free to visit the blog and add your comments at my ApOgEE 890m Blog

000webhost.com My New PHP testing ground

Image
I found a new free web hosting plan without ads or anything... It's really great to share it with you. before you talk back to me, please note that this is not a so called 'paid article' for them... I'm sharing this for free. Because they are so good. You can check it out yourself at http://www.000webhost.com . So, what's good about this host? Actually, I just register and see the features... I got total access to my cpanel and host. they give me a free domain http://apogee.890m.com . I can have up to 5 sql databases and up to 5 email accounts. I also got an ftp account and can have up to 5 ftp accounts. You can have PHP and MySQL too... Hey, who's gonna give you 250MB free web space?... Isn't that great? Then, What I'm gonna do? So, currently I've planned to install wordpress and play around with PHP and MySQL on this account. I'll call it my online PHP-MySQL code testing ground. Wow, it could be my adsense source too... heheh. Here's their

PageRank Code... What's wrong?

Image
Today, I notice something wrong with my pagerank at one of my scrap blog, The Rojak Blog . As a loyal Firefox user, I also use google toolbar to access my google bookmarks and I do wanna know pagerank of certain page because I'm also google's loyal fan... heheh Then, what's wrong with the code anyway? I see my pagerank icon on the blog from http://pr.blogflux.com/ shows zero (0/10) while my google toolbar shows 3/10. Which one do you think is more accurate? Obviously, the toolbar is from google and the pagerank value is also from google. The Verification... So, I go to pr.blogflux.com to verify the rank and blogflux still says that the pagerank of http://jerungkun.blogspot.com is 0/10. Then I go to another pagerank checker page at http://www.prchecker.info and it says 3/10 for that same scrap blog . Now, I can verify that there might be something wrong on pr.blogflux. Maybe they have to fix their code to keep people link to their site. The Solution... Instead of emailing pr

XSS on maxgames.com

Image
I got bored tonite... found and try these (actually noted by a friend)... XSS on maxgames.com XSS means Cross Site Scripting . Be careful if your site having these vulnerabilities. Update: one more maxgames site got xss too... maxgames.com.my it is maxis hotlink's maxgames site... * credit to z4w3p for the alert... hehehe