var request = $.get('common.htm');
request.done(function(response) {
var $response = $(response);
// Вместо $response.find(), возможно, придется использовать $response.filter()
// Это зависит от структуры возвращаемого документа
$('#header').html($response.find('.header').html());
$('#menu').html($response.find('.menu').html());
$('#footer').html($response.find('.footer').html());
});
<цикл>
$users[] = array(
'email' => array(
'email' => $row['user_email']
),
'merge_vars' => array(
'FNAME' => $row['full_name'],
'LNAME' => $row['last_name']
)
);
</цикл>
$result = $mc->lists->batchSubscribe(
$list_id,
$users,
false, //do not send confirmation e-mail
true //update profile in case of already added e-mail
);
curl -sL https://deb.nodesource.com/setup | sudo bash - вставить для установки репозиториевsudo apt-get update && sudo apt-get install -y nodejs установить нодуsudo vim /etc/apt/sources.list.d/nodesource.listdeb https://deb.nodesource.com/node_0.10 ....
deb-src https://deb.nodesource.com/node_0.10 ...deb https://deb.nodesource.com/node_0.12 ....
deb-src https://deb.nodesource.com/node_0.12 ...sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y nodejswhich node; man node
{ "keys": ["enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line in Braces.sublime-macro"}, "context":
[
{ "key": "setting.auto_indent", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\[$", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^\\]", "match_all": true }
]
}