snipt

Ctrl+h for KB shortcuts

JavaScript

Hate computers.

var endTimeMilliseconds = parser.startTime(subtitleScope.subtitle) / 1000;
var startTimeMilliseconds = parser.endTime(subtitleScope.subtitle) / 1000;
https://snipt.net/embed/e840609579de20f193dd5b22ee21c1c2/
/raw/e840609579de20f193dd5b22ee21c1c2/
e840609579de20f193dd5b22ee21c1c2
js
JavaScript
2
2019-05-06T20:24:56
True
False
False
Jan 28, 2013 at 06:14 PM
/api/public/snipt/54677/
hate-computers
<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="kd">var</span> <span class="nx">endTimeMilliseconds</span> <span class="o">=</span> <span class="nx">parser</span><span class="p">.</span><span class="nx">startTime</span><span class="p">(</span><span class="nx">subtitleScope</span><span class="p">.</span><span class="nx">subtitle</span><span class="p">)</span> <span class="o">/</span> <span class="mi">1000</span><span class="p">;</span> </span><span id="L-2"><a name="L-2"></a><span class="kd">var</span> <span class="nx">startTimeMilliseconds</span> <span class="o">=</span> <span class="nx">parser</span><span class="p">.</span><span class="nx">endTime</span><span class="p">(</span><span class="nx">subtitleScope</span><span class="p">.</span><span class="nx">subtitle</span><span class="p">)</span> <span class="o">/</span> <span class="mi">1000</span><span class="p">;</span> </span></pre></div> </td></tr></table>
hate

Bash

edit crontab in your favorite editor

host:~ user$ export EDITOR='pico'
host:~ user$ crontab -e
https://snipt.net/embed/94a16ce987d8b12f475fce8b4cbab897/
/raw/94a16ce987d8b12f475fce8b4cbab897/
94a16ce987d8b12f475fce8b4cbab897
bash
Bash
3
2019-05-20T17:00:10
True
False
False
/api/public/snipt/4874/
edit-crontab-in-your-favorite-editor
<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>host:~ user$ <span class="nb">export</span> <span class="nv">EDITOR</span><span class="o">=</span><span class="s1">&#39;pico&#39;</span> </span><span id="L-2"><a name="L-2"></a>host:~ user$ crontab -e </span></pre></div> </td></tr></table>
hate, vi