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
$index = 0; | |
$inserted = 0; | |
foreach ($prod_rows as $prod_row) { | |
printf( | |
"\rInserting to Target DB... [%s] row %d", | |
"|/-\\"[$index % 4], | |
$index + 1 | |
); |
Для описания проектов на GitHub используется README.md. Язык разметки markdown.
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
var params = window.location.search.replace('?','').split('&').reduce( | |
function(param,delim) { | |
var split = delim.split('='); | |
param[decodeURIComponent(split[0])] = decodeURIComponent(split[1]); | |
return param; | |
},{} | |
); | |
console.log(params['data']); // 'data' - name of the required GET parameter. |