WordPress Get the current post slug

Hi there, I have search the net and this person found a way to get the slug the easier way.

 

The common approach:

$post_obj = $wp_query->get_queried_object();
$post_ID = $post_obj->ID;
$post_title = $post_obj->post_title;
$post_slug = $post_obj->post_name;

His approach:

$slug = basename(get_permalink());
That's it. Just include it inside the_loop.
Source: http://www.joshstauffer.com/get-post-slug-in-wordpress/

 

Unlock that Undeletable File!

If you’ve ever been unable to delete a file in Windows, and can’t figure out what program’s using it, Unlocker is the solution. Have you ever seen these Windows error messages?

  • Cannot delete folder: It is being used by another person or program
  • Cannot delete file: Access is denied
  • There has been a sharing violation.
  • The source or destination file may be in use.
  • The file is in use by another program or user.
  • Make sure the disk is not full or write-protected and that the file is not currently in use.

Unlocker can help! Simply right-click the folder or file and select Unlocker. If the folder or file is locked, a window listing of lockers will appear. Simply click Unlock All and you are done!

Website

Living, he loved me. Dying, he saved me. Amen!

Hi guys, I would like to share this song. I loved its meaning and I pray you’ll love it too. Amen to our God!

httpv://www.youtube.com/watch?v=xODpgyqGCYM&feature=related

Casting Crowns – Glorious Day (Living HE Loved Me) Lyrics
c/o http://www.elyricsworld.com/glorious_day_(living_he_loved_me)_lyrics_casting_crowns.html 

One day when Heaven was filled with His praises
One day when sin was as black as could be
Jesus came forth to be born of a virgin
Dwelt among men, my example is He
Word became flesh and the light shined among us
His glory revealed

Living, He loved me
Dying, He saved me
Buried, He carried my sins far away
Rising, He justified freely forever
One day He’s coming
Oh glorious day, oh glorious day

One day they led Him up Calvary’s mountain
One day they nailed Him to die on a tree
Suffering anguish, despised and rejected
Bearing our sins, my Redeemer is He
Hands that healed nations, stretched out on a tree
And took the nails for me

One day the grave could conceal Him no longer
One day the stone rolled away from the door
Then He arose, over death He had conquered
Now He’s ascended, my Lord evermore
Death could not hold Him, the grave could not keep Him
From rising again

One day the trumpet will sound for His coming
One day the skies with His glories will shine
Wonderful day, my Beloved One, bringing
My Savior, Jesus, is mine

WordPress Themes 1

Hi there!

I have some HTML/CSS Website that I have converted to a WordPress template. Here are the templates try it!

Try it, its Free. All copyrights of the template remains of the owner. I just convert them to a WordPress Template.

PHP : How to remove a folder and its content?

If you are using PHP then you can use this function.

/*

@params

$dir – the full directory path of the FOLDER you want to delete

$DeleteMe – if you want to delete the said FOLDER or not.

*/

function rmdir_r ( $dir, $DeleteMe = TRUE ){

if ( ! $dh = @opendir ( $dir ) ) return;
while ( false !== ( $obj = readdir ( $dh ) ) )
{
if ( $obj == ‘.’ || $obj == ‘..’) continue;
if ( ! @unlink ( $dir . ‘/’ . $obj ) ) $this->rmdir_r ( $dir . ‘/’ . $obj, true );
}

closedir ( $dh );
if ( $DeleteMe )
{
@rmdir ( $dir );
}

}

Top 10: Creative Pencil Vs Camera Photos

He’s a visual creator out of Belgium and his name is Ben Heine. Combining his own drawings and regular photos, this skilled artist creates art in a wonderful mix of photography and illustration. And while there are bound to be more artists like him out there we were so impressed by Heine’s work we’ve decided to dedicate a whole list in his name.

Sample:


 

Visit this url to view all the photos : http://totallytop10.com/entertainment/arts-culture/top-10-creative-pencil-vs-camera-photos


Wow! LTE on SMART network!

Wow just read on my favorite forum this article regarding’s smart’s newest and fastest broadband ever. The LTE Mobile Boradband.

Here I have inserted some of its content:

SRC: http://symbianize.com/showthread.php?t=403813

Called Long Term Evolution (LTE), this latest advance in mobile broadband technology can deliver download and upload speeds of up to 50 mbps. In the near future, LTE will be able to provide speeds of up 100 mbps.

Recognized as the most advanced fourth-generation (4G) mobile broadband technology, LTE will enable individual users to download a movie in minutes rather than hours, download songs in seconds and easily watch high-definition video on Youtube with no buffering.

Smart has fired up its LTE network in the country and is rolling it out. To give mobile phone users a chance to experience the new service, Smart has set up a booth near Pats and Bombom (Station 2) in Boracay where interested people can use laptops equipped with LTE dongles. They can also use their WiFi-enabled mobile phones, tablets or laptops in the WiFi hotzone at the Smart booth which is powered by LTE.


 

To enjoy LTE, subscribers would need LTE-capable devices. For the Boracay demo, SMART provides LTE plug-it devices. In the near future, LTE-capable phones will also be available.

Comparison of HSPA+ vs LTE
LTE is the fastest mobile broadband technology in the world with the fastest speeds and minimal latency

HSPA+
Theoretical Data Rates (DL): up to 42 Mbps
Latency: 50 microseconds

LTE
Theoretical Data Rates (DL): up to over 100 Mbps
Latency: 10 microseconds

For mobile broadband fans, this is definitely something to get excited about!

 

PHP: Just got into mysql_insert_id() is very useful.

Long ago I have been programming with PHP but I am having problem in getting the inserted key for the new record that I have just inserted to my database.

 

My turn around was to query the same data that I have inserted. Recently, it just to  my head if there is a function on the net that perform the said task. And poof there it is. mysql_insert_id();

Usage

1. Perform an insert query. ea. INSERT INTO name(`name`) VALUES(‘NAME’)

2. Use the function to get the primary-auto-increment key. $id = mysql_insert_id();

Thats it you have get the key of your inserted record.

 

Hope it help you.

WEBSITE : Transportation Method Using Modified Stepping Stone

WEBSITE : http://transpomodi.tk

During my school days, I, together with my co leagues, had develop one website for Operational Research.  The said website was develop as part of their finals for the said subject.

Its main goal is to easily compute optimized number of items to be delivered to a particular location. Or what ever the purpose of using the transportation method using modified stepping stone in the area of Operational Research.

Again you are free to use the website for any purpose. Hope it help you.

The said website were developed by:

  • Thomie Jose San Agustin
  • Calbin Montalban
  • Kevin Stephen Muñoz

 

GAME : MouseAttack v1.0

Download: TJSAsMouseAttack

During my OJT I have experimented on the .Net Framework to develop some games during our free time.

One the games I have develop is the MouseAttack. Its a game were you need to avoid some falling objects in order to get more points. The game was developed for a little time, but I hope you like it.

Want to have an Extra Yahoo Email Address but the save login details?

If that’s what you want. Yahoo is give you one (1) extra email that you can change every year. Yahoo extra Email address put an extra email address on top of your current email.

For an example, your email is myemail@yahoo.com and you avail an extra email address maynameisone@yahoo.com. When you login using maynameisone@yahoo.com, you will be having the same inbox you have on your myemail@yahoo.com.

It means you have two email account having one inbox.

What is the benefit?

  1. Have your the same account but different email.
  2. Set the extra email as your main email.(For those person who had non-nonprofessional email address yet want to maintain the said email)
  3. Changing the email once a year.
  4. Can use also in logging in to Yahoo services.

That some of the benefits. So if you haven’t get your extra email address, then create yours now by logging in to your yahoo account and going to this URL http://edit.yahoo.com/config/list_alias

The index.html, What is it?

Have you ever wonder what is an index.html?

 

An index.html, in some cases default.html, is the main page of our website. It is the default file that our browser/server look for to view our website. The file extension(.html) also varies to what programming language we are using.

  • PHP -> index.php
  • ASP -> index.asp
  • ASP.Net ->index.aspx
  • JSP -> index.jsp
  • HTML ->index.html

It can also be set on some programming language on what specific file should the browser/server look for.

 

So be reminded that if you are developing a website that you should set the main page’s file name of your website to index.

Your Nokia’s IMEI(International Mobile Equipment Identity) Meaning

Have you ever wonder what is the meaning of your IMEI (International Mobile Equipment Identity). In most cases, we all know that taking note of this number is very important especially when your mobile phone got lost so that you can report it to the NTC so that it will get blocked.

On the other hand some articles on the web said that this IMEI can tell us the quality and origin of our phone we have. Let read this article:

Continue reading

Had a hard time with Joomla 1.5’s tutorial

I had a hard time yesterday on working the given tutorial of Joomla to create a component. I did follow each step and tried copying and pasting the code. Still the code is not found after installation.

Fortunately, I got into a Plugin Tutorial for CB that did the work. I hope that I can search for a better tutorial other than the available at docs.joomla.org and bend Joomla.

RockMelt Your Social Web Browser

If you are a facebook and/or a twitter user. You might wanted to surf and at the same time be connected to your friends.

Now the wait is over, RockMelt gives you the power to surf the web while you can still be update with your social network.

 

Here’s a video of what RockMelt can do:

httpv://www.youtube.com/watch?feature=player_embedded&v=bAPKPhoTqFY

Blessed with God today.

I was blessed today by God.

 

I leave home late but still I was enable to arrive at school 8am.

I was able to get my alumni ID few minute before the line number distribution start.

Sir Tadeo passed by the line were I was stuck for more than an hour and help me get my line number at ease.

I got my toga in just a few minutes and I was first in line.

I was able to fix the network for the CompSci Advising in less than an hour without any problem.

I have seen my friends again at school.

 

Thank you God!

Dropbox: Put your files to the cloud

Dropbox is a free application that let you select a folder and synchronize it to your online account. At first you will be given 2GB of space and it will increment up to 8GB for every referral you make.

 

Visit Dropbox.com and create your account today!

By the way that link will make you additional 250MB because you will be considered referred by me.