let emailAddress = document.querySelector('[tabindex="0"]');
let nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, 'value').set;
nativeInputValueSetter.call(emailAddress, 'Ваше_Значение');
let inputEvent = new Event('input', { bubbles: true });
emailAddress.dispatchEvent(inputEvent);
Надо чтобы функция возвращала строку?
$str = '2 3 4 5 6';
$res = preg_replace_callback( '#(\d+)#', function($match) {
return pow($match[0], 2);
}, $str
);
echo $res; // 4 9 16 25 36
=IF(COUNTIF(A1:E1, TRUE) >= 3, "да", "нет")
=ARRAYFORMULA(IF(COUNTIF(A1:A, TRUE) + COUNTIF(B1:B, TRUE) + COUNTIF(C1:C, TRUE) + COUNTIF(D1:D, TRUE) + COUNTIF(E1:E, TRUE) >= 3, "да", "нет"))
{
"editor.suggestOnTriggerCharacters": false,
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},
"editor.parameterHints.enabled": false,
"editor.autoClosingBrackets": "never",
"editor.autoClosingQuotes": "never",
"editor.autoClosingOvertype": "never",
"editor.autoIndent": "none",
"editor.autoSurround": "never",
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.hover.enabled": false,
"editor.wordBasedSuggestions": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.snippetSuggestions": "none",
"editor.tabCompletion": "off",
"editor.inlineSuggest.enabled": false,
"html.autoClosingTags": false,
"json.schemas": [],
"launch": {
"configurations": [],
"compounds": []
}
}
function hierarchyTerms($termID, $taxonomy) {
$terms_children = get_term_children($termID, $taxonomy);
if (!is_wp_error($terms_children) && !empty($terms_children)) {
$output = '<ul>';
foreach ($terms_children as $child_id) {
$term = get_term($child_id);
$output .= '<li>' . esc_html($term->name);
$output .= hierarchyTerms($child_id, $taxonomy);
$output .= '</li>';
}
$output .= '</ul>';
return $output;
}
return '';
}
rar2john archive.rar > hash.txt
hashcat -m 13000 -a 0 hash.txt dict.txt