Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Text only

mvn package without test

mvn -Dmaven.test.skip=true package
https://snipt.net/embed/594938291496d07e416b9ada971e565e/
https://snipt.net/raw/594938291496d07e416b9ada971e565e/
594938291496d07e416b9ada971e565e
text
Text only
1
2016-11-26T07:06:47
True
False
False
Oct 04, 2012 at 12:54 PM
/api/public/snipt/48054/
mvn-package-without-test
<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>mvn -Dmaven.test.skip=true package </span></pre></div> </td></tr></table>
java, maven, mvn, tools

Batchfile

compress-firefox.bat

1
2
3
4
5
6
REM site: http://www.autohotkey.com/forum/topic10681.html
REM coloque o upx no path
REM
pushd "%ProgramFiles%\Mozilla Firefox"
for %%v in (*.exe *.dll components\*.dll plugins\*.dll) do upx "%ProgramFiles%\Mozilla Firefox\%%v"
popd
https://snipt.net/embed/da2a451e67ffceff6c50a62887182d5a/
https://snipt.net/raw/da2a451e67ffceff6c50a62887182d5a/
da2a451e67ffceff6c50a62887182d5a
bat
Batchfile
6
2016-12-02T17:28:32
True
False
False
/api/public/snipt/33707/
compress-firefoxbat
<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><span class="c1">REM site: http://www.autohotkey.com/forum/topic10681.html</span> </span><span id="L-2"><a name="L-2"></a><span class="c1">REM coloque o upx no path</span> </span><span id="L-3"><a name="L-3"></a><span class="c1">REM</span> </span><span id="L-4"><a name="L-4"></a><span class="k">pushd</span> <span class="s2">&quot;</span><span class="nv">%ProgramFiles%</span><span class="s2">\Mozilla Firefox&quot;</span> </span><span id="L-5"><a name="L-5"></a><span class="k">for</span> <span class="se">%%</span>v <span class="k">in</span> <span class="p">(</span>*.exe *.dll components\*.dll plugins\*.dll<span class="p">)</span> <span class="k">do</span> upx <span class="s2">&quot;</span><span class="nv">%ProgramFiles%</span><span class="s2">\Mozilla Firefox\</span><span class="se">%%</span><span class="s2">v&quot;</span> </span><span id="L-6"><a name="L-6"></a><span class="k">popd</span> </span></pre></div> </td></tr></table>
bat, firefox, tools, windows

JavaScript

HTML periodic table

http://joshduck.com/periodic-table.html
https://snipt.net/embed/61c1d58ba085775f559866fce790f037/
https://snipt.net/raw/61c1d58ba085775f559866fce790f037/
61c1d58ba085775f559866fce790f037
js
JavaScript
1
2016-11-25T11:28:53
True
False
False
/api/public/snipt/17798/
html-periodic-table
<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="nx">http</span><span class="o">:</span><span class="c1">//joshduck.com/periodic-table.html</span> </span></pre></div> </td></tr></table>
html, tools

Text only

Detecting HTML5 support

http://diveintohtml5.org/detect.html
https://snipt.net/embed/5f537267b02a1e92f203b16fe6efaf27/
https://snipt.net/raw/5f537267b02a1e92f203b16fe6efaf27/
5f537267b02a1e92f203b16fe6efaf27
text
Text only
1
2016-12-03T21:50:19
True
False
False
/api/public/snipt/17783/
detecting-html-support
<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>http://diveintohtml5.org/detect.html </span></pre></div> </td></tr></table>
html5, important, modernizr, tools

Text only

jQuery toolbox

http://visualjquery.com/
https://snipt.net/embed/0d87ed0248aef41eec664c8072fe1978/
https://snipt.net/raw/0d87ed0248aef41eec664c8072fe1978/
0d87ed0248aef41eec664c8072fe1978
text
Text only
1
2016-11-30T16:15:11
True
False
False
/api/public/snipt/17780/
jquery-toolbox
<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>http://visualjquery.com/ </span></pre></div> </td></tr></table>
jquery, tools

Text only

HTML5 playground

http://playground.html5rocks.com/
https://snipt.net/embed/854a7406a2db98898441488613efec47/
https://snipt.net/raw/854a7406a2db98898441488613efec47/
854a7406a2db98898441488613efec47
text
Text only
1
2016-12-04T23:11:24
True
False
False
/api/public/snipt/17779/
html5-playground
<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>http://playground.html5rocks.com/ </span></pre></div> </td></tr></table>
html5, tools

Bash

mirror website with wget

1
2
3
mkdir -p /var/www/mirror
cd /var/www/mirror
wget --mirror –w 2 –p --html-extension –-convert-links –P /var/www/mirror/site http://www.yourdomain.com
https://snipt.net/embed/8826b7078b69c75615572f3dd4248941/
https://snipt.net/raw/8826b7078b69c75615572f3dd4248941/
8826b7078b69c75615572f3dd4248941
bash
Bash
3
2016-12-05T06:44:32
True
False
False
/api/public/snipt/6245/
mirror-website-with-wget
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>mkdir -p /var/www/mirror </span><span id="L-2"><a name="L-2"></a><span class="nb">cd</span> /var/www/mirror </span><span id="L-3"><a name="L-3"></a>wget --mirror –w <span class="m">2</span> –p --html-extension –-convert-links –P /var/www/mirror/site http://www.yourdomain.com </span></pre></div> </td></tr></table>
bash, tools, unix, web
Copyrighted, illegal, or inappropriate content? Email [email protected].