Archive for August, 2008

Thursday, August 21st, 2008

Metallica

Metallica

Metallica’s new single “The day that never comes” has premiered today 11am PDT.

The song sounds like Unforgiven, I could hear a little bit of Load in it (must be James voice) and a whole lot of One with a downbeat track on the start and then sheer metal at the end. I think it will not be as successful as compared to their previous releases like Fade to Black, Sanitarium, One, and Unforvigen. But it sounds better than St. Anger. And the solo! Kirk is definitely back!

We’ll have to wait for September 12 for the rest of their songs.

Tuesday, August 19th, 2008

Death Magnetic

Death Magnetic

It’s official folks! September 12 is metallica’s release of Death Magnetic, their 9th studio album. Since 2006 they’ve been teasing us with new songs and short excerpts. And finally the wait is coming to an end. So! Mark it on your calendar boys and girls, its a date you’d definitely don’t wanna miss.

Check out the complete track listing of the album. Their first single will be “The Day That Never Comes” which will be premiered Thursday, August 21 at 11 AM PDT. So tune in to Mission Metallica or on Metallica’s Official website.

Recently, Metallica debuted a new song called Cyanide during Ozzfest.

Visit the band’s official website for a little taste of death. A frequently updated page of short track excerpts from the upcoming album. Notice that Track #2 is a clean intro version of The New Song.

What I’m expecting and hoping to be included in the album is the song Holy revolver, Shine or whatever they call it. Cause that song is sick! It reminds me of the garage days album.

Wednesday, August 13th, 2008

I keep on forgetting this SQL query. So I decided to put it here as a reference:

CREATE TABLE testtbl (
   id int AUTO_INCREMENT,
   created_on TIMESTAMP DEFAULT 0,
   updated_on TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON
                    UPDATE CURRENT_TIMESTAMP,
   first_name varchar(25),
   last_name varchar(25),
   primary key(id)
);
Wednesday, August 13th, 2008

This command can be handy. Let say you want to archive your project from the repository and you don’t want to include the ‘.svn‘ directories.

First, checkout your project from the repository:

svn co http://myproject.domain.org/svn/trunk/ myproject-dir

Second, remove the .svn directories:

rm -rf `find myproject-dir -type d -name .svn`

Then archive it using tar command:

tar -cvzf myproject_archive.tgz myproject-dir

…and there you have it!

Friday, August 8th, 2008

First, create your project then upload your unversioned source code using svn client:

svn import sourcedir https://myproject.googlecode.com/svn/trunk --username myaccount

- when prompt for authentication, get your password from the ‘Source’ tab

Get a working copy of your versioned source code:

svn checkout https://myproject.googlecode.com/svn/trunk/

If you’ve made changes on your working copy you can apply those changes on the repository by simply this command:

svn commit -m "Put a descriptive comment."

- you have to be inside your working copy/directory.

And if by chance you forgot or simply wanna change your comment on that revision, you can add or change it:

svn propset --revprop -r 26 svn:log "Fixed someMethod() parameter."

If multiple developers are currently working on the project/repository, you can use this command to update your working copy:

svn update

- this will incorporate their changes into your working copy.
- again you must be on the working copy/directory.