snipt

Ctrl+h for KB shortcuts

Bash

svn update with no interaction and accept certificate from cli

svn up --username <user> --password <psw> --non-interactive --trust-server-cert
https://snipt.net/embed/8ee9a30e7f44092e596ab7820a8c1502/
https://snipt.net/raw/8ee9a30e7f44092e596ab7820a8c1502/
8ee9a30e7f44092e596ab7820a8c1502
bash
Bash
1
2016-09-29T20:09:49
True
False
False
Jul 19, 2013 at 09:24 AM
/api/public/snipt/68603/
svn-update-with-no-interaction-and-accept-certificate-from-cli
<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 id="L-1"><a name="L-1"></a>svn up --username &lt;user&gt; --password &lt;psw&gt; --non-interactive --trust-server-cert </span></pre></div> </td></tr></table>
accept, certificate, cli, command, line, linux, shell, svn, up, update

Python

Vertical and horizontal lines in Matplotlib

1
2
3
4
#vert line
axvline(x=4.,color='k',ls='dashed')
#horiz line
axhline(y=2.,color='k',ls='dashed')
https://snipt.net/embed/3580f654ccc8f9945eb560e6368c35a6/
https://snipt.net/raw/3580f654ccc8f9945eb560e6368c35a6/
3580f654ccc8f9945eb560e6368c35a6
python
Python
5
2016-10-01T11:35:03
True
False
False
Nov 20, 2012 at 01:48 PM
/api/public/snipt/50524/
vertical-and-horizontal-lines-in-matplotlib
<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></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="c">#vert line</span> </span><span id="L-2"><a name="L-2"></a><span class="n">axvline</span><span class="p">(</span><span class="n">x</span><span class="o">=</span><span class="mf">4.</span><span class="p">,</span><span class="n">color</span><span class="o">=</span><span class="s">&#39;k&#39;</span><span class="p">,</span><span class="n">ls</span><span class="o">=</span><span class="s">&#39;dashed&#39;</span><span class="p">)</span> </span><span id="L-3"><a name="L-3"></a><span class="c">#horiz line</span> </span><span id="L-4"><a name="L-4"></a><span class="n">axhline</span><span class="p">(</span><span class="n">y</span><span class="o">=</span><span class="mf">2.</span><span class="p">,</span><span class="n">color</span><span class="o">=</span><span class="s">&#39;k&#39;</span><span class="p">,</span><span class="n">ls</span><span class="o">=</span><span class="s">&#39;dashed&#39;</span><span class="p">)</span> </span></pre></div> </td></tr></table>
horizontal, line, matplotlib, vertical

Text only

r plot linear line

1
2
3
4
5
y <- c(1034869, 7258090, 11788562, 32434044, 21325944, 10605149, 1716304);x <- c(3, 10, 9, 37, 26, 23, 3)

plot(x,y, xlab="x axis", ylab="y axis", main="my plot", pch=15, col="blue")
myline.fit <- lm(y ~ x)
abline(myline.fit)
https://snipt.net/embed/e1859cdb20eb8bd27bd03ed27c9e75ff/
https://snipt.net/raw/e1859cdb20eb8bd27bd03ed27c9e75ff/
e1859cdb20eb8bd27bd03ed27c9e75ff
text
Text only
5
2016-09-29T03:50:48
True
False
False
/api/public/snipt/17874/
r-plot-linear-line
<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 id="L-1"><a name="L-1"></a>y &lt;- c(1034869, 7258090, 11788562, 32434044, 21325944, 10605149, 1716304);x &lt;- c(3, 10, 9, 37, 26, 23, 3) </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>plot(x,y, xlab=&quot;x axis&quot;, ylab=&quot;y axis&quot;, main=&quot;my plot&quot;, pch=15, col=&quot;blue&quot;) </span><span id="L-4"><a name="L-4"></a>myline.fit &lt;- lm(y ~ x) </span><span id="L-5"><a name="L-5"></a>abline(myline.fit) </span></pre></div> </td></tr></table>
line, plot, r, scatterplot
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.