snipt

Ctrl+h for KB shortcuts

Text only

Add transcripts for an array of file ids in AS

files=["15522","16079","15487","38959","35084","36581","36369","38231","38999"]
files.each{|file| file = AudioFile.find(file); file.premium_transcribe_audio}
https://snipt.net/embed/808da3fb9d55b2058e5f3bed047ade5d/
https://snipt.net/raw/808da3fb9d55b2058e5f3bed047ade5d/
808da3fb9d55b2058e5f3bed047ade5d
text
Text only
2
2016-02-12T19:18:31
True
False
/api/public/snipt/144128/
add-transcripts-for-an-array-of-file-ids-in-as
<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 id="L-1"><a name="L-1"></a>files=[&quot;15522&quot;,&quot;16079&quot;,&quot;15487&quot;,&quot;38959&quot;,&quot;35084&quot;,&quot;36581&quot;,&quot;36369&quot;,&quot;38231&quot;,&quot;38999&quot;] </span><span id="L-2"><a name="L-2"></a>files.each{|file| file = AudioFile.find(file); file.premium_transcribe_audio} </span></pre></div> </td></tr></table>

JavaScript

Untitled

document.getElementById('elementId') ==> HTMLElement
$('#elementId') ==> object ==> jQuery object
https://snipt.net/embed/5cda2c34594542017160150f613fa422/
https://snipt.net/raw/5cda2c34594542017160150f613fa422/
5cda2c34594542017160150f613fa422
js
JavaScript
2
2016-02-12T19:18:30
True
False
Feb 12, 2016 at 03:17 PM
/api/public/snipt/144127/
f91dc378
<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 id="L-1"><a name="L-1"></a><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">&#39;elementId&#39;</span><span class="p">)</span> <span class="o">==&gt;</span> <span class="nx">HTMLElement</span> </span><span id="L-2"><a name="L-2"></a><span class="nx">$</span><span class="p">(</span><span class="s1">&#39;#elementId&#39;</span><span class="p">)</span> <span class="o">==&gt;</span> <span class="nx">object</span> <span class="o">==&gt;</span> <span class="nx">jQuery</span> <span class="nx">object</span> </span></pre></div> </td></tr></table>

HTML

scratch pad

1
2
3
<iframe style="display:none" name="csrf-frame"></iframe>
original html code...
<script>document.getElementById("contactForm").submit()</script>
https://snipt.net/embed/11172bbabfe043f6a01a5837b6213c1d/
https://snipt.net/raw/11172bbabfe043f6a01a5837b6213c1d/
11172bbabfe043f6a01a5837b6213c1d
html
HTML
4
2016-02-12T19:18:27
True
False
Feb 11, 2016 at 03:23 PM
/api/public/snipt/144113/
scratch-pad
<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 id="L-1"><a name="L-1"></a><span class="nt">&lt;iframe</span> <span class="na">style=</span><span class="s">&quot;display:none&quot;</span> <span class="na">name=</span><span class="s">&quot;csrf-frame&quot;</span><span class="nt">&gt;&lt;/iframe&gt;</span> </span><span id="L-2"><a name="L-2"></a>original html code... </span><span id="L-3"><a name="L-3"></a><span class="nt">&lt;script&gt;</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s2">&quot;contactForm&quot;</span><span class="p">).</span><span class="nx">submit</span><span class="p">()</span><span class="nt">&lt;/script&gt;</span> </span></pre></div> </td></tr></table>

Shell Session

Untitled

1
2
3
4
5
6
7
$ ./provision/smack_my_stack_up.sh dns ubersmith_internap hapi portal openstack_region5
...
2016-02-10 21:42:33.173 | [bring_up] Took 1056 seconds
...
2016-02-10 21:44:42.662 | [setup_hosts] Took 129 seconds
...
2016-02-10 22:18:38.743 | [smack_my_stack_up] Took 3221 seconds
https://snipt.net/embed/420fca4be575fca9648904d26c855716/
https://snipt.net/raw/420fca4be575fca9648904d26c855716/
420fca4be575fca9648904d26c855716
shell-session
Shell Session
7
2016-02-12T19:18:25
True
False
Feb 11, 2016 at 12:07 PM
/api/public/snipt/144111/
4538225a
<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> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="go">$ ./provision/smack_my_stack_up.sh dns ubersmith_internap hapi portal openstack_region5</span> </span><span id="L-2"><a name="L-2"></a><span class="go">...</span> </span><span id="L-3"><a name="L-3"></a><span class="go">2016-02-10 21:42:33.173 | [bring_up] Took 1056 seconds</span> </span><span id="L-4"><a name="L-4"></a><span class="go">...</span> </span><span id="L-5"><a name="L-5"></a><span class="go">2016-02-10 21:44:42.662 | [setup_hosts] Took 129 seconds</span> </span><span id="L-6"><a name="L-6"></a><span class="go">...</span> </span><span id="L-7"><a name="L-7"></a><span class="go">2016-02-10 22:18:38.743 | [smack_my_stack_up] Took 3221 seconds</span> </span></pre></div> </td></tr></table>
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.