Tag Archives: Thomie Jose San

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


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 [email protected] and you avail an extra email address [email protected]. When you login using [email protected], you will be having the same inbox you have on your [email protected].

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

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.

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!

tjsa.info now officially lunched!

I am officially lunching my website. http://tjsa.info

I’ll be updating this site as frequently as I can. I’ll be sharing some of my discoveries in programming, tips, tricks, and even tutorials.

I will not share programs that are counteracting the Piracy Policy. In contrast, I will share the trial version of the said programs if they are not free.

Hope you visit my site. Thank you and God Bless.

I will be supporting advertisement later this year.

 

Thomie Jose San Agustin
Web Developer

My 20th Birthday with my classmates

First time ko pong mag celebrate ng birthday with my classmates at sa isang swimming resort po noong March 6. Nagcontribute ang bawat isa para sa resort at kaming birthday ng March ay nagabagan para naman sa pagkain. Sina Dop yung nag plano para maging masaya yung araw na iyon.

Ako naging masaya din, dahil nakasama ko ang mga kaibigan ko sa isang araw na mahalaga sakin. Nagbonding ang bawat isa sa pamamagitan ng hinandang games nina kuya Dop, ate Gigi, at Mam Trish.

Nag laro kami ng best cheer, picture that,group paper dance, arrange yourself, pabilisan ng punuan ng timba, at ang huli ang parang pawnshop. Tulong tulong kami nun, may nasugatan pero ok lang kasi sports tayo.

Nawa maulit uil. Muli mga kaibigan ko ingat kayo.

 

The CS WebTeam Day Today and Nihongo Fair yesterday.

Kanina, kakatapos lang ng cumulating activity namin ang last at pinaka huli. Nagkarun ng tournament sa Dota at CounterStrike. Isa ako sa mga nagayos ng PC, whoo marunong na ako. At naging MC ako sa isang seminar namin na MS Office 2010 na nagbigay ng bagong buhay sa mga estudyante especially dun sa mga gumagamit ng MS Office 2007 dahil maraming features ang nadagdag.

Pero bago ang lahat yung sa Nihongo Fair muna. Bakit ko uunahin p? Kasi sumayaw kami nun, remix at 5 lang kami. Pero kahit ganun, masaya dahil nagawa ko ulit ang isa sa mga gusto kong ginagawa ko noong bata pa ako. Ang sumayaw at medyo kumanta. Kahit hindi nanalo atleast isa dun sa mga nanalo mga kaibigan ko, at higit sa lahat na ipakita namin ang talent namin.

Sumunod naman ang Counter-Strike tournament nawala sa plano ng una. Pero dahit maraming sumali, isinama narin namin sa plano. Nagkrun ng problema nung last na, pero salamat dahil na ayos na din ng bawat isa. Ganun din tumulong din sa amin ang dalawang guro namin sa pagaayos ng PC at pagaayos ng mga rules ng laro. Dahil dun medyo gabi ako umuwi.

 

Make Them Smile, ako ang napasmile!

Kahapon natapos namin ang isa sa mga masasabi kong maganda at pinaghandaan naming gawin sa org. Kasama namin kahapon lahat ng mga kaibigan namin. Samasama kaming punta gamit ang Adamson University Bus(Kahit medyo mainit sa loob 🙂 ), sa Caloocan.

Maraming bata ang pumunta kaysa inaasahan namin. Medyo magulo nung una pero salamat sa mga pumunta naming kaibigan at naging maayos ang outreach namin. Sa mga clown and magician(Pandi, Gerome, at Remjo), sa Chairperson namin(Sir Tadeo) na sumama at tumulong, sa Adviser namin(Mam Raquel) at higit sa lahat sa mga kaklase, kaibigan, co-officer na buong pusong nagparticipate at nag alaga ng ilang mga bata.

Nag handa ng pagkain, ng mga ipapamigay na gamit, sa mga nagface paint, sa mga nagayos ng upuan, ng tent, ng mga bata. Yun ang ilan sa mga nagawa namin. Napagod man kami, pero ang mahalaga napasaya namin sila at ako rin. may teacher akong bago hehehe. “Make Them Smile” CSWEBTEAM Outreach!

Thx po ulit.

 

Seminar Madness.

Hi, gusto ko lang po ikuwento ang activity ng org namin bukas. May dalawa po kaming seminar. Yung una po ay CakePHP isa sa mga gusto kong matutunan kasi parang JQuery(para sakin pinadaling Javascript at AJAX) daw yun yung parang pinadaling PHP. Nung last year kasi na seminar sa OSFD yung sa OSUM hindi kasi ako yung nasama.Maganda daw kasi madali kang makakagawa ng website na maydatabase. Sweet!

Yung isa naman pong seminar ay about sa ASP.net. Ito yung pinapaaral naman po sa amin noong summer pero di namin na continue kasi kasabay ng Java Training namin sa TESDA. Kung tatanungin nyo po ako parang ito yung panlaban ng Microsoft sa PHP. Dahil same purpose and/or structure siya ng PHP. May database, puwedeng maiintegrade sa JQUERY, at mayroon ding server na kailangan para tumakbo siya.

Nawa maraming pumunta bukas at mapuno ang SV Mezzanine. Punta po kayo! Kita kits. –Sino kaya makakabasa nito. hehehe