This file contains hidden or 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
| <html> | |
| <head> | |
| <title> csv2 sql</title> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
| </head> | |
| <body> | |
| <br> | |
| <h1> CSV to Mysql </h1> | |
| <p> This Php Script Will Import very large CSV files to MYSQL database in a minute</p> |
This file contains hidden or 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
| Rebase the old branch against the master branch. | |
| Solve the merge conflicts during rebase, and the result will be an up-to-date branch that merges cleanly against master. | |
| git checkout <branch> && git rebase <target> | |
| In our case it is | |
| git checkout <branch> && git rebase master | |
| _------------------------------------ | |
| Frequently used commands | |
| -------------- | |
| git stash save --keep-index --include-untracked | |
| git stash drop |
This file contains hidden or 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 | |
| /** | |
| * The only reliable way of determining if a child exists | |
| * in SimpleXMLElement is to use count(). All other methods | |
| * do not work reliably in global or local NS. | |
| * | |
| * NOTE: Error suppresion on @count() is used to suppress | |
| * "PHP Warning: count(): Node no longer exists" | |
| */ | |
| if(!class_exists('SimpleXMLElement')) die("Bonkers"); |
NewerOlder