<commit_before>---
layout: page
title: "Colorize all LEDs of the Q keyboard"
permalink: /script-examples/search-keyword-in-website-create-signal/
---

<ul class="tabs__top-bar">
    <li class="tab-link current" data-tab="tab-install-shell">Shell</li>
</ul>

<div id="tab-install-shell" class="tabs__content current" markdown="1">
{% include /script-examples/search-keyword-in-website-create-signal/shell.md %}
</div><commit_msg>updated search keyword script to use bootstrap tabs<commit_after>---
layout: page
title: "Search keyword in a website and colorize your device depending on the result"
permalink: /script-examples/search-keyword-in-website-create-signal/
---

<!-- Nav tabs -->
<ul class="nav nav-tabs code-nav-tabs" role="tablist">
  <li class="nav-item">
    <a class="nav-link active shell-language" id="search-keyword-shell-tab" data-toggle="tab" href="#search-keyword-shell" role="tab" aria-controls="search-keyword-shell" aria-selected="false">Shell</a>
  </li>
</ul>

<!-- Tab panes -->
<div class="tab-content">
<!-- Shell code -->
<div class="code active tab-pane" id="search-keyword-shell" role="tabpanel" aria-labelledby="search-keyword-shell-tab" markdown="1">
{% include /script-examples/search-keyword-in-website-create-signal/shell.md %}
<!-- copy button -->
<a class="btn btn-sm copy-action" data-toggle="tooltip" data-placement="top" title="copy"  onclick="copyToClipBoard('search-keyword-shell')"><i class="fa fa-copy"></i></a>
<!-- edit button -->
<a class="btn btn-sm edit-action"  href="https://github.com/DasKeyboard/Daskeyboard.io/blob/master/_includes/script-examples/search-keyword-in-website-create-signal/shell.md"><i class="fa fa-pencil"></i>&nbsp;Edit Script</a>
</div>

</div>
{'fraction_non_alphanumeric': 0.19230769230769232, 'fraction_numerical': 0.0011655011655011655, 'mean_word_length': 4.900343642611684, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4041427', 'n_tokens_mistral': 572, 'n_tokens_neox': 553, 'n_words': 114}