In My Name is Linux

As you know already, my full name is Subin Siby. What’s special about my name is that it’s connected to Linux. As you may have seen, executable files on a Linux system is in the directory /usr/bin, /usr/sbin and /sbin. If you look at it closely, you can see that sbin only misses the character u from my name. If you add “u” to the name, it’ll become /usr/subin. Creepy & Fun, right ?

[READ MORE]

Split Name in PHP and Javascript

If you have a user with a long name and want to short it because it won’t fit into the element that contains the name, you can either do it on the server or the client. In this post I am going to tell you how to accomplish this with PHP and JavaScript. Suppose We have a user named Paul Steve Panakkal (my cousin). To separate the first name, middle name and last name you can do the following in PHP :

[READ MORE]