snipt

Ctrl+h for KB shortcuts

PHP

grep a file removing comments and while lines

grep '^[^ ;]' php.ini
https://snipt.net/embed/fd9f7a644d23616f71a2878991f2548e/
/raw/fd9f7a644d23616f71a2878991f2548e/
fd9f7a644d23616f71a2878991f2548e
php
PHP
1
2019-05-13T09:42:51
True
False
False
/api/public/snipt/23217/
how-to-grep-a-file-removing-comments-and-while-lines
<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><span class="x">grep &#39;^[^ ;]&#39; php.ini</span> </span></pre></div> </td></tr></table>
apache, php, server

CSS

css border + round corners

1
2
3
4
5
border: 2px solid white;
-moz-border-radius: 15px;
-khtml-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
https://snipt.net/embed/10d90dbfe2156c5be1e6b01f493f1e1a/
/raw/10d90dbfe2156c5be1e6b01f493f1e1a/
10d90dbfe2156c5be1e6b01f493f1e1a
css
CSS
5
2019-05-13T09:42:26
True
False
False
/api/public/snipt/22730/
css-border-round-corners
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nt">border</span><span class="o">:</span> <span class="nt">2px</span> <span class="nt">solid</span> <span class="nt">white</span><span class="o">;</span> </span><span id="L-2"><a name="L-2"></a><span class="nt">-moz-border-radius</span><span class="o">:</span> <span class="nt">15px</span><span class="o">;</span> </span><span id="L-3"><a name="L-3"></a><span class="nt">-khtml-border-radius</span><span class="o">:</span> <span class="nt">15px</span><span class="o">;</span> </span><span id="L-4"><a name="L-4"></a><span class="nt">-webkit-border-radius</span><span class="o">:</span> <span class="nt">15px</span><span class="o">;</span> </span><span id="L-5"><a name="L-5"></a><span class="nt">border-radius</span><span class="o">:</span> <span class="nt">15px</span><span class="o">;</span> </span></pre></div> </td></tr></table>
css, html