Filipino Programmer | Philippines

Just another Filipino Programmer’s blog by Nick Fernandez III, on web development using PHP in LAMP framework and random information about everything I would tought interesting on and off the IT world.

Random Bytes:
Windows isn't a virus, viruses do something.

Archive for May, 2007


Shippuuden First OP/ED Downloads

If you are looking for the current Opening and Ending songs of Naruto Shippuuden namely:
Opening Title: Hero’s Come Back by NobodyKnows
Ending Title: Nagareboshi ~Shooting Star~ by HOME MADE Kazoku
(Note: links for the mp3 are provided by Whispered.Hope)

If you are looking for the lyrics like me, here it is:
(more…)

Bookmark This!

del.icio.us Digg Google StumbleUpon Technorati

Regular Expression on PHP

One of the good point of choosing PHP as your language in creating dynamic web applications is its versatility on string processing, like PERL which is the leading language for string processing, PHP provides a powerful functions and capability in dealing with string. I decided to do a collection of useful regular expressions used on web for certain string matching.

Here are the collections of regExpr:
Domain

"/^(http:\/\/)?([^\/]+)/i"

This will extract the host name from the URL
Example implementation

$url = "http://www.knicks49.com/aboutme/";
preg_match("/^(http:\/\/)?([^\/]+)/i",$url, $result);
$host = $result[2];
print $host;

The output is www.knicks49.com. Alternatively you can also use this expression to extract the last two segments of the domain name.

preg_match("/[^\.\/]+\.[^\.\/]+$/", $host, $result);
print "domain name is: {$result[0]}";

The output will produce domain name is: knicks49.com
(more…)

Bookmark This!

del.icio.us Digg Google StumbleUpon Technorati

Hotmail Programmer

In late 90’s web based email service has been increasingly popular. And one of the names that branded Webmail and made history is Hotmail. I still remember how popular Hotmail was, and how people able to communicate very easy and fast using email on browsers. Hotmail was first launched commercially on US Independence Day of 1996, representing the freedom from ISP’s. This was founded by two brilliant minds Sabeer Bhatia and Jack Smith on 1995. Smith had the idea of incorporating email on web browsers which basically promotes easy access anywhere from a computer. Sabeer came up with the business plan for the mail service and tried all kinds of names that ends with “-mail”. The final name was Hotmail because it included the letters HTML which is the mark up language used to write the base of web pages.
(more…)

Bookmark This!

del.icio.us Digg Google StumbleUpon Technorati

Sasazuka

Today, my officemate Jeda and Chaq, went to Sasazuka. I had my first hair cut on Japan on this place, a 15 minute drive by bus from Honancho. Sasazuka is where our office was first situated after moving to Kugayama where it is today.
Crepe in sasazuka - Filipino ProgrammerCrepe in sasazuka - Filipino ProgrammerCrepe in sasazuka - Filipino Programmer

After the haircut, we tried to buy some crêpe. This is also my first time to eat this. It was delicious. I will definitely come back and buy this.

Useful Informations
en.wikipedia.org/wiki/Cr%C3%AApe

Bookmark This!

del.icio.us Digg Google StumbleUpon Technorati

BitTorrent Programmer

Among the popular applications used on internet are peer-to-peer type of softwares, such as Napster, eDonkey, winMX, Limewire share their respective popularity. Today, a new breed of p2p method has caught the interest of internet users, the problem with the later p2p methods, distributing large amounts of data requires an original distributor. This posts costing, hardware and bandwidth problems. In early 2001 a new protocol for p2p was designed, this was named BitTorrent (BT).

Data distributed on BT protocol supplies new data to each recipients, reducing the costs on source clients. This provides repeated data outsource thus eventually providing reduced dependence on original distributor.

Bram Cohen, is best known as the author of this popular protocol as well as the first file sharing program to use the protocol. He is also the co-founder of CodeCon, organizer of the San Fransico Bay Area, P2P hackers meeting and co-author of CodeVille.

(more…)

Bookmark This!

del.icio.us Digg Google StumbleUpon Technorati


Filipino Programmer | Philippines
The views expressed here reflect the views of the author alone.
HOME SUBSCRIBE WORK EXPERIENCE ABOUT ME



Filipino Programmer | Philippines © 2007 All Rights Reserved. Using WordPress Engine
Entries (RSS) and Comments (RSS).

Creative Commons License