This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/lamp_dev_64/php/bin/php | |
<?php | |
/** | |
* db script creator script. | |
* | |
* Dbscripts should be checked into the repository just like we | |
* checkin code. This helps us to trackdown what we have done with | |
* the database in course of time. Apart from that we also should | |
* have the ability to recreate the database from the available | |
* dbscripts. Recreating database from dbscripts require that dbscripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Trying to mess around with php PDO driver | |
* This is now de-facto standard for querring | |
* so many databases through PHP. | |
*/ | |
/** | |
* Pre-requirement to run this file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Common git commands | |
------------------- | |
Start: | |
------ | |
git init : to initialize a empty project. | |
git clone <git url> <path to store> : Get some others project. But this will only give master branch. | |
git checkout -b <branchname> origin/<other branch name> : This will fetch the branch from remote you want but this command could only be run after 2nd command. |