Posts

Showing posts from 2009

Happy 5th Year Firefox! Would It Still Be The Best Browser In The Future?

Image
Happy 5th Birthday Firefox ! Glad to hear and celebrate a prospering success of an open source browser, Firefox, in 5 years in a row beating the Microsoft's Internet Explorer. Firefox was release on November 9, 2004 written by the Mozilla geeks which I would say, runs in a cross-platform (M$ Window$, Mac OS X, Linux/Unix) just like Sun Microsystem's Java programming language results in "software that is portable across multiple machine architectures, operating systems, and graphical user interfaces, secure, and high performance" . Due to Firefox innovative technology in the browser arena, many of the browsers that are up-to-date being innovative, and does alleviate its flaws to something more reliable User Experience , obviously, Internet Explorer 8 (I feel being cynical). Firefox still my best choice, not to mention the fast pacing Google's Chrome browser, compared to other browsers. Safari does a good job specially loading a heavy AJAX application. S...

Changing the Keyword Location Search Engine For Firefox

Image
If you might notice, installing Yahoo toolbars might override the settings in your Mozilla Firefox browser. I am not quite fan of Yahoo's search algorithm, as it seems quite naive to me, and I need to change the search engine using Google. To change it, just type (see image below) : about:config on the location toolbar of your Mozilla Firefox browser. Then search for keyword.URL then double click it or right click, and select Modify and paste this http://www.google.com/search?btnI=I'm+Feeling+Lucky&q= Try typing keywords on your location bar and hit enter, you will be redirected to a particular site, or else the Google's default search page. Happy Googling!!! ;-) If you're viewing this blog from a feed, click here to fully read this post =)

Pacquiao vs. Cotto bout on November 14, 2009

I just see the HBO's Episode for the fight of Manny "Pacman" Pacquiao over Puerto Rico's pride, Miguel Cotto in youtube.com. Most analysts, still favors Manny Pacquiao for his abilities in the boxing ring, with speed, strong punches, and a good training along with his coach, Freddie Roach . Miguel Cotto stands at 5'7 with with 34 winds, 27 knockouts, and 1 Loss. While Manny Pacquiao has 49 wins, 37 knockouts, 3 losses, and 2 draws. Both of them shares the prominence and noble respect with their respective country, Philippines for Pacquiao, and Puerto Rico , for Miguel Cotto, as heroes bringing forth the name of their country on their behalf in the sports entertainment. I both salute for these guys but only one can win on their match. I love Manny's speed and strong punches, and I love Cotto's stance, looks like a ferocious bull to me, and his devastating punches just like Manny too. We'll see what they can do in the ring, and of course, entertain us...

Skeleton Prank Riding on Bike and Taxicab - Very Funny

Image
I really love this very funny prank video from Brazil. It's about frightening the people, wittingly, with those skeleton props using a remote device to obtain manipulation over the vehicles had been used for this video. The first video, shows a skeleton--resembles like " Ghost Rider "--riding on a bike and yawping on those people walking alongside the cemetery. Watch it and, I bet no penny would be wasted on your time. It really scrumbles my stomach because of so much laughter. I can't imagine if I would be the victim, I might perhaps throw a heavy stuff I can grab on that Skeleton! LOL!!!! I put the translation on the first video below the video object. Note: For the translation on the first video, I just relay on one of the comments where the skeleton is saying, "Hey you, do you want a ride to hell muahahahaha, don't run I will get you one by one!", and on the drunk or the hobo part, he said "hey you drunk let me take you to hell muahahahahaha...

Higante of Ely Buendia and Francis "Kiko" Magalona

Have you heard of this song? Such a great composition! I was waiting for this album to be release and hearing this significant collaboration of two famous legendary music icon in the Philippines, Ely Buendia and Francis Durango Magalona . Their hit song entitled "Higante" (which means Giant) top at the Philippine charts at #20 in Myx and ended at #10 in the month of October. The lyrics of the song seems embodies some political views or power because of the abusive power that the "Higante" has, oppressing "Higante's" diminutives. Have a listen to their video, it's really a cool song! Here's the video of their gigantic song, "Higante" courtesy of Youtube : I posted the lyrics of the song below. Higante Lyrics (Ely Buendia) Narito palagi Di nawawala Ang bendisyon ng pari Laging nasakanya 'Sing taas ng ulap Ang kanyang tindig Nakaupo sa palad Ang buong daigdig Chorus: Ahhhhhh Siya ay dambuhala Siya'y nakakalula Dadalhin ka niya S...

Cloud Computing - What is it?

"Soon thereafter, everything we are using will stay in the cloud!" Well, what does really " Cloud Computing " means? Salesforce.com has a pretty decent explanation about cloud computing on how this operates between the user and within the Internet. Cloud means, the Internet. Conceptually, Cloud Computing is designed to make abstracted behind the users of the software, where no need for in-depth knowledge of some specific software. Actually, Cloud Computing will be far more adapted for so many years. Watch this movie from Salesforce.com: Well, why should I say that? Well, as we all know, globally, we are down with such crisis. Financially really hit many countries down, specially the United States of America (well, thanks God, this happens because alternatives are arising!). Cloud computing doesn't want you to buy or pay every applications you use. It does only counts every time you use your applications, basing on how much have you used or scaling your statistic...

Installing wpa_supplicant in Slackware

Ever since I'm connecting to my wireless router WRT54GL from LinkSys, I never thought of WPA and the wpa_supplicant for my Slackware Linux box. I do connect through WEP security mode for my encryption algorithm. I know it's just a basic authorization for my wireless, instead with wpa_supplicant for WPA, until I found out that my neighbors are abusing my connection, and don't want my stuffs to be exposed. It was funny actually when my neighbors approach me and ask me if I'm the owner of that connection that they able to detect, and say, "hey, don't put any password on that". Really, it sounds daring and hilarious but rude. I do connect from my Slackware Linux via shell using the commands: $> ifconfig wlan0 up $> iwlist wlan0 scan $> iwconfig wlan0 essid "myssid" key "8EEDEEFE41" $> dhcpcd wlan0 The first command will take my wireless LAN card to be up, which actually down during start up. Somewhat like, disable and enabl...

Prosperity - List of Countries in 2009

Image
In reference from the site of Prosperity.com , please see the image posted below for the list of country rankings for Prosperity in 2009. As far as I've read their downloadable PDF file , Legatum are basing their surveys from an objective data and subjective responses. These involve the status quo of every country in its stance. Prosperity embodies health, personal freedom, wealth or financial security, good fortune, as well as environmental living, success, and flourishing. My country, Philippines, is enlisted in the rank 55 th position. I'm just curious why USA is enlisted at the 9th position. I thought, the USA are much bogged with the global financial crisis, but well, President Barack Obama did aleviate its prosperity back astir. I've read the article from Yahoo, seemingly agreeing it's position. The country has it's economic boom, but their government and politics are too tight for me, to think of, when it comes to personal freedom. One thing I might, in my ...

It's Gonna Make Sense - Michael Learns To Rock

My first impression for this song was from a boy band, and I hate boy band. Never knew that this from MLTR ( Michael Learns To Rock ) band. I love MLTR, of course, back in my younger years playing with my guitars. Have a try to listening to their song. It's a pop song but it's actually a cool song. I have pasted also the lyrics, so if you wanna song feeling like in a karaoke bar (so do I?), have fun singing the song. It’s Gonna Make Sense Life comes in many shapes You think you know what you got untill it changes And life will take you high and low you gotta learn how to walk and then which way to go Every choice you make when you’re lost Every step you take has it’s cause Chorus: After you clear your eyes you’ll see the light somewhere in the darkness After the rain has gone you’ll feel the sun comes and though it seems your sorrow never ends someday its gonna make sense Tears you shed are all the same when you laughed ’till you cried or broken down in pain All the hours you h...

Trouble WIth BIOS After a Failure Update Is Just an Easy Fix

Image
Updating a computer BIOS is really trivial. Once you come up into trouble with your BIOS, like a failure during update, or an error that will cause it a failure update, might turn you into trouble by perhaps a total replacement of your motherboard, unless you are really prepared for things to do. In my experience, it's not that, it's actually easier than what I think before taking an attempt to update. My CPU's motherboard is PM8PM-V from MSI . I follow the guidelines I have read from MSI, using their live update, but it comes into trouble when it goes a failure update. Now, since I did skip the "Create a disk Recovery", where it needs a floppy drive (but who uses a floppy drive this days?), and now, I'm in trouble with my BIOS. Since I have my floppy, but have never used for almost more than 2 years, now it seemed my floppy drive is a little bit dusty inside because it always fails to ready any floppy disk I have. Luckily, I have a floppy disk cleaner I boug...

Geocities Marks it's Goodbye on October 26, 2009

Image
It's the mark of the end from the starter back on the early years of Yahoo. Founded by David Bohnett and John Rezner , the company is shutting down it's service effective this October 26, 2009. Maybe later, my time here is GMT +8:00. Geocities have been a massive users using it's service. It's actually cool back then, some of it's competitors like Angelfire which was also ceased it's opertion in 2002.

Make HTML a PDF via Internet

There are many tools in the internet built now these days. One of the tools I mostly used is to convert a page, an HTML page, to PDF because I like PDF format to read and and shared also with my friends. I use this tools in the net: http://www.htm2pdf.co.uk/default.aspx http://www.htmltopdf.co.uk/ And after I grab this pdf convert pages, I stored it via Google docs . When storing in Google Docs, I do always make my documents in order so that it would be easier for me to locate things I need to find or use. Try it, and it's really helpful to store your documents in PDF being centralized. PDF viewer from Google too is really awesome!

CCTV in Davao City Caught a Man Murdered

This video was caught on CCTV (Closed-Circuit Television) where a man, who was identified as Chris Anthony Togle, a City Hall employee of Davao City. Just watch the video below, and this guys are really exchanging bullets with the heat they feel without thinking they might be dead or they would kill their fellowmen. I hope there will be more CCTV's here in Davao. For the latest Philippine news stories and videos, visit GMANews.TV

libMagickCore.so.1 No such file or directory

ImageMagick is such a very cool tool for editing/modifying images through shell. However, when I ran out of trouble encountering the problem like, example running the "convert" (one of the ImageMagick tools)command: $> convert test.png test.pdf convert: error while loading shared libraries: libMagickCore.so.1: cannot open shared object file: No such file or directory and doing: $> locate libMagickCore.so.1 /usr/lib/libMagickCore.so.1 which means, it does exist. In order to fix this, just run: $> ldconfig and everything will solve the problem! Hope this helps!

Make Youtube or AVI Movies to DVD in Linux

Tools I did download: - ffmpeg - Dvdauthor - dvd+rw-tools - transcode - Mjpegtools - mplayer I installed library dependencies which are libdvdread, libdvdcss, libquicktime, amrwb, libdc1394, libgsm, x264, libraw1394, and libmpeg2. I use the online downloader http://online.movavi.com/ and enables me to download the "flv" file format of the file. Afterwards I use ffmpeg to convert the file from flv to avi with this command. $> ffmpeg -i video.flv -y -f avi -b 1150 -s 320x240 -r 29.97 -g 12 -qmin 3 -qmax 13 -ab 224 -ar 44100 -ac 2 -acodec libmp3lame -target dvd youtube_movie.avi Afterwards, I use transcode to convert my avi files to mc3 and m2v format where the audio and video are being separated. I use the command to convert it through: $> transcode -i youtube_movie.avi -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o movie -D0 -N 0x55 -s2 -m movie.ac3 -J modfps=clonetype=3 --export_fps 29.9 -f 3 The fps of 29.9 can be set manually. I set that since i was trying hard t...

Linux Using xargs to Copy All Files in Directory or Subdirectory

To copy all the files, for example, mp3 files in a directory/subdirectory to another directory in Linux, you can use the xargs command and the find but by using "sed" tool to also filter the quotes of file names. The command is pretty simple which is write down below. $> find . -name "*.mp3" | sed -r "s/'/\\\\\'/g" | xargs -t -I '{}' cp '{}' /media/disk/Music/ What it does, is that, it will find any files that ends with *.mp3 file extension from the current directory the command is being executed, and sed will will apply a regular expression to filter the quotes and replace it with "\'" (a slash and a single quote). After this, xargs command will catch the lines outputed by the find command but filtered with sed and executes a cp command and directs it to /media directory. find options: -name = specifies the name to find sed options: -r = will do an extended regular expression xargs options: -t = print the command l...

Explaining About Bittorrent Encryption

I remember I downloaded a torrent with KTorrent in my Slackware-Linux box, thinking that everything is alright, but that was in the office. After I downloaded that source, which is an ISO file, I told my boss to share that I did download an updated version of that file. Then he look at me and ask me disparagingly, "Are you downloading it securely or using encryption?". I ask myself, "dang, what did I do?" and stuck in a moment, geeze! We'll he told me to download anything since our internet is faster than a DSL. Okay, cut the crap! I'm not digressing here. So I did a research about encryption and other stuffs with Bittorrent and this will be explained! I read some articles " How To Encrypt BitTorrent Traffic ", " BitTorrent Encryption Confuses the BPI, ISPs and Journalists Who Don’t Research ", and " BitTorrent Encryption Myths " and learned that encryption doesn't do anything about hiding user's end information or even ...

Removing of Multiple Files with Exception Using "rm" command in Linux

Now I get into this point. I remember I did some simple command, back then, by using " rm " command in Linux. Try searching in the net but none of it provides me the answer. The goal was that, I have a directory named, "reports" with lots of files/directories/sub-directories inside it, and try to delete all of them but with exclusion of the files that starts with the word "report-" (ex. report-2009-10-19.html). I thought the command issued in my shell $> rm -rf $(ls reports/|grep -e '[^report-*]') would enable me to delete the files but it seems it doesn't work. My expectation was the files that does not start with "reports" word will be deleted. Then I read the manual of rm ("man rm" in bash), I found that the -v would select those non-matching lines. Now, issuing the commands in my shell $> cd reports $> rm -rf $(ls .|grep -v '[report-*]') enables me to delete the files that starts with the word "r...

Connecting Samba 3 from Linux to Mac OS X Leopard

I'm so befuddled yesterday until I figured it out that it works from Mac OS X to Mac OS X Leopard with Samba 3. I thought my smb.conf doesn't work. Now, Linux to Mac OS X was hard because I thought, I must ran smbpasswd to provide password for the username I have to used. I was thinking that Mac OS X's Samba configuration directs the use to able to check on the user's of the machine with it's account information (username and password of the Mac OS X Leopard machine). It does able me to authenticate and access my folder via that Mac OS X machine. I found this article also, seems we have the same issue faced. http://discussions.apple.com/thread.jspa?threadID=2086667

delete multiple files/directory with exclusion

I have multiple files in a directory and I was logged in thru my bash shell. Then I just issue the command below. rm -rf $(ls|grep -E '[^(^ext$)|(mootools)]') grep -E will execute an extended regular expression so ext and mootools will be retain or excluded upon deletion of files in the current directory.

eavesdropping in ssh

This happens when we are switching from old server to another server and assigned a different IP address from the specific domain name. bash-3.1$ ssh myname@example.com @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ The RSA host key for example.com has changed, and the key for the according IP address 198.2.1.1 is unchanged. This could either mean that DNS SPOOFING is happening or the IP address for the host and its host key have changed at the same time. Offending key for IP in /home/myname/.ssh/known_hosts:16 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host ke...

find and perl as alternative for sed

In continuation of my migration, some directories with HTML contents their are manually inputted by strings that would let a typical user to edit manually all the HTML files for just a sake of changing a text. However, Perl as an alternative for sed is quite helpful. The command goes like this: perl -e "s/www\.hawaiifsbos\.com/test\.hawaiifsbos\.com/g;" -pi $(find . -type f) -p = will do a loop sequence. For more info, read the page in " Using the -n and -p option " -i = will modify file in-place. providing after the "i" letter with a word, will be used as a back-up suffix of a file. (Ex. -pi.bak) -e = means execute This is the same thing as find . -name "*.*" -type f -exec sed -i 's/www.mysite.com/test.mysite.com/g' {} \; The above works in my Slack, but it seems weird it doesn't do in FreeBSD, but the perl is there as my alternative.

rsync: avoid overwriting of files

I was migrating this stuffs we have from an old FreeBSD 4.0 Server to a new FreeBSD 6.0 Server hosted at Verio. I was fumbled and tumbled when I use this rsync tool by migrating the files to our new server. The situation is that, in every directories we have being assigned in a virtual host and its DocumentRoot are having different owners and group assigned. The old server we have is having a version of an old Apache . Now, in order to achieve the exact ruling or permission, rsync is a tool that enables you to preserve ownership as well as its permission of the files/directories that you're going to copy--or shall we use the term "migrate". My mistake was that, migrating with files using rsync is a little bit tricky. Ending a copy like this, for example: rsync -r -e "ssh -l ahkmed" localhost:/home/ahkmed/documents /www/documents is a different story than rsync -r -e "ssh -l ahkmed" localhost:/home/ahkmed/documents/ /www/documents Note the ending has s...

Installing MySQL v6 in FreeBSD

FreeBSD places its packages under /usr/ports/. Now for databases, types this command cd /usr/ports/databases/mysql60-server Then issue make after make, issue make install You can even specify it's configuration options like --prefix by doing "make install --prefix=/usr/local" where it will install the mysql packages. This is applied also to the client package, just follow the steps how the server is being installed. Create /var/db/mysql if that direcotry doesn't exist, then " chown mysql:mysql /var/db/mysql " and " chmod 770 /var/db/mysql " for security. Run the mysql_install_db command which will create default tables that mysql will used on its server process. Run the mysql background process by issuing the command " /usr/local/etc/rc.d/mysql-server start " or perhaps it might be " /usr/local/etc/rc.d/mysql-server.sh start ". I think older BSD preserves the .sh suffix on the start up scripts. Don't forget to provide pass...

rsync using ssh via a sudo command

My main goal for this is, I was migrating from an old server to a new BSD server. In order to make preservation of user accounts, I manage it with this command below using rsync tool to transfer or copy the files. "rsync -p -o -g -r -a -v -e "ssh -l normaluseraddedviasudoers" --rsync-path "sudo rsync" --delete oldserver.com:/home . --log-file=/tmp/rsynclogs.txt " -p means to preserve the permission, -o means to preserve the ownership, -g means to preserve the group. -r means to recurse into ts sub-directories, -a means to archive them, -v means to use the verbose mode, -e specifies the remote login to use. With --rsync-path, it makes how to run rsync which this means like run the rsync via sudo or via root. Now, I am able to copy all the files under /home directories without prior chmod afterwards when you are on the new server. It makes the rsync set everything for you and not worrying if the files has been able to copy or not it's because you might...