snipt

Ctrl+h for KB shortcuts

Text only

Filtragem de listas

1
2
3
4
5
6
- filtro= arquivo que contem a lista filtro
- lista-geral= arquivo que contem a lista global

1a forma: awk 'NR==FNR{a[$0];next} !($0 in a)' filtro lista-geral

2a forma: grep -vFf filtro lista-geral
https://snipt.net/embed/3db80318e279de15ab2f100c393ee654/
/raw/3db80318e279de15ab2f100c393ee654/
3db80318e279de15ab2f100c393ee654
text
Text only
6
2019-06-07T02:39:12
True
False
False
Oct 28, 2015 at 08:16 AM
/api/public/snipt/132301/
-18416
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>- filtro= arquivo que contem a lista filtro </span><span id="L-2"><a name="L-2"></a>- lista-geral= arquivo que contem a lista global </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>1a forma: awk &#39;NR==FNR{a[$0];next} !($0 in a)&#39; filtro lista-geral </span><span id="L-5"><a name="L-5"></a> </span><span id="L-6"><a name="L-6"></a>2a forma: grep -vFf filtro lista-geral </span></pre></div> </td></tr></table>

Text only

Otimizador mysql

OTIMIZADOR MYSQL: https://chrisjean.com/optimize-mysql-configuration-and-performance/
https://snipt.net/embed/43aaf088f1ac61fa7d0f0fdb3eb2134a/
/raw/43aaf088f1ac61fa7d0f0fdb3eb2134a/
43aaf088f1ac61fa7d0f0fdb3eb2134a
text
Text only
1
2019-05-24T09:24:17
True
False
False
/api/public/snipt/132300/
-18415
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>OTIMIZADOR MYSQL: https://chrisjean.com/optimize-mysql-configuration-and-performance/ </span></pre></div> </td></tr></table>
MYSQL