snipt

Ctrl+h for KB shortcuts

Bash

Using snipt-cli to add a temporary snipt

1
2
3
# https://github.com/nicksergeant/snipt-cli

$ echo hay thar | snipt post_and_get_url -t
https://snipt.net/embed/ce97345104357ef21ab64f900ccf9658/
/raw/ce97345104357ef21ab64f900ccf9658/
ce97345104357ef21ab64f900ccf9658
bash
Bash
3
2019-06-17T16:09:53
True
False
False
/api/public/snipt/43523/
using-snipt-cli-to-add-a-temporary-snipt
<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><span class="c1"># https://github.com/nicksergeant/snipt-cli</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>$ <span class="nb">echo</span> hay thar <span class="p">|</span> snipt post_and_get_url -t </span></pre></div> </td></tr></table>
cli, snipt

Text only

This is a test of the API. This is only a test.

Flappers!
https://snipt.net/embed/5885bb5138c81312a5ebea81993f066e/
/raw/5885bb5138c81312a5ebea81993f066e/
5885bb5138c81312a5ebea81993f066e
text
Text only
1
2019-06-01T05:54:20
True
False
False
/api/public/snipt/39930/
this-is-a-test-of-the-api-this-is-only-a-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>Flappers! </span></pre></div> </td></tr></table>
api, snipt

JavaScript

The winner of the Snipt.net AEA Boston ticket giveaway...

$('div.account').eq(Math.floor(Math.random()*312)).data('screen-name')
=> "toddbudnikas"
https://snipt.net/embed/fbab640dc0577be1e30c3330ef0c3997/
/raw/fbab640dc0577be1e30c3330ef0c3997/
fbab640dc0577be1e30c3330ef0c3997
js
JavaScript
2
2019-06-09T03:35:56
True
False
False
/api/public/snipt/38894/
the-winner-of-the-sniptnet-aea-boston-ticket-giveaway
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</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">$</span><span class="p">(</span><span class="s1">&#39;div.account&#39;</span><span class="p">).</span><span class="nx">eq</span><span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">floor</span><span class="p">(</span><span class="nb">Math</span><span class="p">.</span><span class="nx">random</span><span class="p">()</span><span class="o">*</span><span class="mi">312</span><span class="p">)).</span><span class="nx">data</span><span class="p">(</span><span class="s1">&#39;screen-name&#39;</span><span class="p">)</span> </span><span id="L-2"><a name="L-2"></a><span class="o">=&gt;</span> <span class="s2">&quot;toddbudnikas&quot;</span> </span></pre></div> </td></tr></table>
aea, snipt

Markdown

Snipt Roadmap

This Snipt used to hold feature requests and such.

From now on, please use GitHub issues for the Snipt project to submit bug reports or feature requests.

Thanks!

https://snipt.net/embed/f8f2f46abc0b87703c21dc7cd622088b/
/raw/f8f2f46abc0b87703c21dc7cd622088b/
f8f2f46abc0b87703c21dc7cd622088b
markdown
Markdown
5
2019-06-14T05:06:15
True
False
False
/api/public/snipt/38536/
todo-for-snipt
<p>This Snipt used to hold feature requests and such.</p> <p>From now on, please use <a href="https://github.com/nicksergeant/snipt/issues?state=open">GitHub issues</a> for the <a href="https://github.com/nicksergeant/snipt/">Snipt project</a> to submit bug reports or feature requests.</p> <p>Thanks!</p>
snipt