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/
/raw/342522694f9d00c68840299bdc92fd46/
342522694f9d00c68840299bdc92fd46
text
Text only
4
2019-07-15T15:21:56
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

while read 0<&6

while read user uid gid 0<&6; do users[$u]=$user;echo "De bash-array is als volgt gevuld: ${users[@]}";done 6< <( awk -F: '$3 > 10000 && $3 < 20000 && $6~"/usr/people/" && $1 !~ /^#/ {print $1,$3,$4}' < /etc/passwd )
https://snipt.net/embed/1910b349adff2a194e4eab8439d140c5/
/raw/1910b349adff2a194e4eab8439d140c5/
1910b349adff2a194e4eab8439d140c5
text
Text only
1
2019-06-29T13:28:09
True
False
False
/api/public/snipt/15984/
while-read-06
<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>while read user uid gid 0&lt;&amp;6; do users[$u]=$user;echo &quot;De bash-array is als volgt gevuld: ${users[@]}&quot;;done 6&lt; &lt;( awk -F: &#39;$3 &gt; 10000 &amp;&amp; $3 &lt; 20000 &amp;&amp; $6~&quot;/usr/people/&quot; &amp;&amp; $1 !~ /^#/ {print $1,$3,$4}&#39; &lt; /etc/passwd ) </span></pre></div> </td></tr></table>
0<&6, read, while

Text only

gpg key import

1
2
3
4
5
6
7
8
MySQL.com, you must first import and register their public GPG key:

   1. Download public key named [email protected] from http://www.keyserver.net/ with one of two methods:
          * wget --output-document=pubkey_mysql.asc http://keyserver.veridis.com:11371/export?id=-8326718950139043339
            (Saves key 0x5072E1F5 as file pubkey_mysql.asc)
          * gpg --keyserver keyserver.veridis.com --recv-key 5072e1f5
            gpg --export -a 5072e1f5 > pubkey_mysql.asc 
   2. Import key: rpm --import pubkey_mysql.asc 
https://snipt.net/embed/045bf903920fe2d9f906897d0ced6b34/
/raw/045bf903920fe2d9f906897d0ced6b34/
045bf903920fe2d9f906897d0ced6b34
text
Text only
8
2019-07-14T08:40:05
True
False
False
/api/public/snipt/15974/
gpg-key-import
<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> <a href="#L-8">8</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>MySQL.com, you must first import and register their public GPG key: </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a> 1. Download public key named [email protected] from http://www.keyserver.net/ with one of two methods: </span><span id="L-4"><a name="L-4"></a> * wget --output-document=pubkey_mysql.asc http://keyserver.veridis.com:11371/export?id=-8326718950139043339 </span><span id="L-5"><a name="L-5"></a> (Saves key 0x5072E1F5 as file pubkey_mysql.asc) </span><span id="L-6"><a name="L-6"></a> * gpg --keyserver keyserver.veridis.com --recv-key 5072e1f5 </span><span id="L-7"><a name="L-7"></a> gpg --export -a 5072e1f5 &gt; pubkey_mysql.asc </span><span id="L-8"><a name="L-8"></a> 2. Import key: rpm --import pubkey_mysql.asc </span></pre></div> </td></tr></table>
gpg, import, key