snipt

Ctrl+h for KB shortcuts

Text only

Windows CMD etc

1
2
3
4
5
// use pscp to copy a file from remote server
pscp -pw password -v root@ipaddress:/root/filename.sql.gz ./

// pscp copy from windows to remote
pscp -v c:\... vagrant@192.168.200.12:\tmp
https://snipt.net/embed/db59933462750b1bdcd607539e5faa68/
https://snipt.net/raw/db59933462750b1bdcd607539e5faa68/
db59933462750b1bdcd607539e5faa68
text
Text only
5
2016-08-24T15:23:38
True
False
False
/api/public/snipt/145419/
windows-cmd-etc
<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>// use pscp to copy a file from remote server </span><span id="L-2"><a name="L-2"></a>pscp -pw password -v root@ipaddress:/root/filename.sql.gz ./ </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>// pscp copy from windows to remote </span><span id="L-5"><a name="L-5"></a>pscp -v c:\... vagrant@192.168.200.12:\tmp </span></pre></div> </td></tr></table>
windows

HTML

Javascript: close window

1
2
3
<div onClick="javascript:window.close();">
    CLOSE WINDOW
</div>
https://snipt.net/embed/c6d7468a5cc402de6678671ca5f2b783/
https://snipt.net/raw/c6d7468a5cc402de6678671ca5f2b783/
c6d7468a5cc402de6678671ca5f2b783
html
HTML
4
2016-08-24T08:02:57
True
False
True
Oct 17, 2015 at 07:08 AM
/api/public/snipt/141762/
javascript-close-window
<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;div</span> <span class="na">onClick=</span><span class="s">&quot;javascript:window.close();&quot;</span><span class="nt">&gt;</span> </span><span id="L-2"><a name="L-2"></a> CLOSE WINDOW </span><span id="L-3"><a name="L-3"></a><span class="nt">&lt;/div&gt;</span> </span></pre></div> </td></tr></table>
How, Javascript, a, close, in, to, windows
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.