Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Text only

How can i make an backup of the snipt.net snippts ???

1
2
3
4
How can i make an backup of the snipt.net snippts ???
(my own snipt's for example)

Can anyone help me ?
https://snipt.net/embed/342522694f9d00c68840299bdc92fd46/
https://snipt.net/raw/342522694f9d00c68840299bdc92fd46/
342522694f9d00c68840299bdc92fd46
text
Text only
4
2016-12-09T11:31:37
True
False
False
/api/public/snipt/19481/
how-can-i-make-an-backup-of-the-sniptnet-snippts
<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></span><span id="L-1"><a name="L-1"></a>How can i make an backup of the snipt.net snippts ??? </span><span id="L-2"><a name="L-2"></a>(my own snipt&#39;s for example) </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>Can anyone help me ? </span></pre></div> </td></tr></table>
???, an, backup, can, how, i, make, of, snippts, snipt.net, the

Text only

dpkg-statoverride instead of chmod +s

1
2
3
4
5
Instead of
sudo chmod +s /usr/lib/cups/backend/cups-pdf
use
sudo dpkg-statoverride –update –add root root 4755 /usr/lib/cups/backend/cups-pdf
This will ensure correct permissions even after update.
https://snipt.net/embed/bf24228813fa330be90df1f4f754857e/
https://snipt.net/raw/bf24228813fa330be90df1f4f754857e/
bf24228813fa330be90df1f4f754857e
text
Text only
5
2016-12-07T13:19:46
True
False
False
/api/public/snipt/10872/
dpkg-statoverride-instead-of-chmod-s
<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></span><span id="L-1"><a name="L-1"></a>Instead of </span><span id="L-2"><a name="L-2"></a>sudo chmod +s /usr/lib/cups/backend/cups-pdf </span><span id="L-3"><a name="L-3"></a>use </span><span id="L-4"><a name="L-4"></a>sudo dpkg-statoverride –update –add root root 4755 /usr/lib/cups/backend/cups-pdf </span><span id="L-5"><a name="L-5"></a>This will ensure correct permissions even after update. </span></pre></div> </td></tr></table>
+s, chmod, dpkg-statoverride, instead, of

Bash

amount of file handlers | ? | total allowed

cat /proc/sys/fs/file-nr 
https://snipt.net/embed/2fb96ee8630083b72c9477822d161540/
https://snipt.net/raw/2fb96ee8630083b72c9477822d161540/
2fb96ee8630083b72c9477822d161540
bash
Bash
1
2016-12-09T10:46:43
True
False
False
/api/public/snipt/6447/
amount-of-file-handlers-total-allowed
<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>cat /proc/sys/fs/file-nr </span></pre></div> </td></tr></table>
bash, files, list, lsof, of, open
Copyrighted, illegal, or inappropriate content? Email [email protected].