{"id":199270,"date":"2013-10-28T11:02:02","date_gmt":"2013-10-28T07:02:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=199270"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=199270","title":{"rendered":"<span class=\"post_title\">\u041c\u0438\u0433\u0430\u0435\u043c Scroll lock&#8217;\u043e\u043c \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c email \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438 (perl + bash)<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c <a href=\"http:\/\/habrahabr.ru\/qa\/49182\/\">\u044d\u0442\u043e\u0433\u043e<\/a> \u0432\u043e\u043f\u0440\u043e\u0441\u0430. <\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430: \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043c\u043e\u0440\u0433\u0430\u0442\u044c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u043d\u0435\u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u043c \u044f\u0449\u0438\u043a\u0435. <\/p>\n<p>  \u0414\u043e\u043f. \u0443\u0441\u043b\u043e\u0432\u0438\u044f: \u041e\u0421 \u2014 linux, \u044f\u0437\u044b\u043a \u2014 perl (\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0447\u0442\u044b) \u0438 bash (\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u043e\u0440\u0433\u0430\u043d\u0438\u0435). <\/p>\n<p>  <a name=\"habracut\"><\/a> <\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u0430\u043a \u0438 \u0441\u043e\u0432\u0435\u0442\u043e\u0432\u0430\u043b\u0438 \u0432 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u0442\u043e\u043f\u0438\u043a\u0435 \u0440\u0430\u0437\u043e\u0431\u044c\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435:   <\/p>\n<ol>\n<li>\u041d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043c\u043e\u0440\u0433\u0430\u0442\u044c \u043a\u0443\u0440\u0441\u0435\u0440\u043e\u043c<\/li>\n<li>\u041d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043f\u043e\u0447\u0442\u0443 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439<\/li>\n<li>\u041f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c \u043e\u0431\u0430 \u043f\u0443\u043d\u043a\u0442\u0430 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 <\/li>\n<\/ol>\n<h5>\u0423\u0447\u0438\u043c\u0441\u044f \u043c\u043e\u0440\u0433\u0430\u0442\u044c \u043a\u0443\u0440\u0441\u0435\u0440\u043e\u043c<\/h5>\n<p>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0434\u0435\u043c\u043e\u043d <a href=\"http:\/\/sampo.kapsi.fi\/ledcontrol\/\">Ledcontrol<\/a>, \u043e\u0434\u043d\u0430\u043a\u043e \u0432 \u043c\u043e\u0438\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u044f\u0445 \u0435\u0433\u043e \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0431\u0443\u0434\u0443 \u043c\u0438\u0433\u0430\u0442\u044c \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <a href=\"http:\/\/www.x.org\/archive\/X11R7.5\/doc\/man\/man1\/xset.1.html\">xset<\/a>  <\/p>\n<pre><code class=\"bash\">#!\/bin\/bash trap &quot;xset -led named &quot;Scroll Lock&quot;; exit &quot; SIGINT  while(true); do \txset led named &quot;Scroll Lock&quot; ;  \tsleep 0.05 ;  \txset -led named &quot;Scroll Lock&quot;;  \tsleep 0.05;  done <\/code><\/pre>\n<p>  \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0431\u044b\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0444\u0430\u0439\u043b beepScroll, \u0444\u0430\u0439\u043b \u043f\u043e\u043b\u043e\u0436\u0435\u043d \u0432 \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 $PATH \u0438 \u0434\u0430\u043d\u044b \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0447\u0442\u043e \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 SIGINT \u043c\u044b \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 trap.  <\/p>\n<h5>\u0423\u0447\u0438\u043c\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043f\u043e\u0447\u0442\u0443 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439<\/h5>\n<p>  <\/p>\n<pre><code class=\"perl\">sub mymail(){     use Mail::IMAPClient;     use IO::Socket::SSL;     \twhile (42){ \t\tmy $user = 'login'; \t\tmy $server = 'server.ltd'; \t\tmy $pass = 'P@ssw0rd'; \t\t \t\tmy $socket = IO::Socket::SSL-&gt;new( \t\t\t\tPeerAddr =&gt; $server, \t\t\t\tPeerPort =&gt; 993, \t\t\t) or die &quot;socket(): $@&quot;; \t\tmy $imap = Mail::IMAPClient-&gt;new( \t\tSocket   =&gt; $socket, \t\tServer =&gt; $server, \t\tUser =&gt; $user, \t\tPassword =&gt; $pass, \t\tDebug =&gt; 0) or die &quot;Cannot connect to $server as $user: $@&quot;; \t\tmy $not_read; \t\tforeach my $f ($imap-&gt;folders) { \t\t\tmy $i =  $imap-&gt;unseen_count($f)||0 ; \t\t\t$not_read += $i;         \t\t} \t\t$imap-&gt;logout(); \t\tprint $not_read;  \t} }  <\/code><\/pre>\n<p>   \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 (Mail::IMAPClient \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0443, \u0435\u0433\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e) \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043a\u043e\u0442\u043e\u0440\u044b\u0439 1) \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u043e imap \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 INBOX \u0438 \u0435\u0435 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u0445 \u0447\u0438\u0441\u043b\u043e, \u0436\u0434\u0435\u0442 \u043c\u0438\u043d\u0443\u0442\u0443 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0441 \u043d\u0430\u0447\u0430\u043b\u0430.<\/p>\n<h5>\u0414\u0440\u0443\u0436\u0438\u043c \u0432\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u0435<\/h5>\n<p>  \u0422\u0443\u0442 \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435. \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c 2 \u043f\u043e\u0442\u043e\u043a\u0430. \u041f\u0435\u0440\u0432\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043f\u043e\u0447\u0442\u0443 \u0438 \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432\u0442\u043e\u0440\u043e\u043c\u0443. \u0412\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\\\u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0440\u0433\u0430\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u043e\u0440\u043e\u043c.<br \/>  \u0418\u0442\u0430\u043a:<\/p>\n<pre><code class=\"perl\">#!\/usr\/bin\/perl # \u041d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 use strict; use threads; #\u041c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0442\u043e\u043a\u043e\u0432 use Thread::Queue; #\u041c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0431\u0449\u0435\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u043c\u0435\u0436\u0434\u0443 \u043f\u043e\u0442\u043e\u043a\u0430\u043c\u0438  my $mypipe = Thread::Queue-&gt;new; #\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u044c  # \u0421\u0442\u0430\u0440\u0442\u0443\u0435\u043c \u043e\u0431\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 threads-&gt;create(\\&mymail); # \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0447\u0442\u044b threads-&gt;create(\\&myleds)-&gt;join; #\u0420\u0430\u0437\u0431\u043e\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 <\/code><\/pre>\n<p>   join \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435 \u0437\u043d\u0430\u0447\u0438\u0442 \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u0435\u0440\u0435\u0434 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430.<br \/>  \u0421\u0430\u043c \u043a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 myleds:  <\/p>\n<pre><code class=\"perl\">sub myleds(){ \tmy $beep = 0; #1 \u0435\u0441\u043b\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0435\u0441\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.  \tmy $mypid; # pid \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0433\u0440\u0430\u0435\u0442 \t \twhile($_ = $mypipe-&gt;dequeue){ # \u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \t\tif ($_ &gt; 1){  \t\t\tif ($beep == 0){ \t\t\t\t$mypid = `nohup beepScroll &gt; \/dev\/null 2&gt;&1 &echo \\$!`;  #\u0422\u0430\u043a\u0430\u044f \u0445\u0438\u0442\u0440\u0430\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f pid'\u0430 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \t\t\t\t$beep = 1; \t\t\t}  \t\t} else { \t\t`kill $mypid` if $mypid; # \u0415\u0441\u043b\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0438\u0441\u0435\u043c \u043d\u0435\u0442, \u0442\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043c\u043e\u0440\u0433\u0430\u043d\u0438\u0435 \u0438 \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. \t\t$mypid = 0 if $mypid; \t\t$beep = 0; \t\t} \t} } <\/code><\/pre>\n<p>, \u0430 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 mymail() \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <\/p>\n<pre><code class=\"perl\">prinr $not_read<\/code><\/pre>\n<p> \u043d\u0430 <\/p>\n<pre><code class=\"perl\">$mypipe-&gt;enqueue($not_read+1)<\/code><\/pre>\n<p> &quot;$not_read+1&quot; \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 while \u043f\u043e\u043b\u0443\u0447\u0438\u0442 0, \u0442\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0447\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043b\u043e\u0436\u043d\u043e\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"perl\">#!\/usr\/bin\/perl  use strict; use threads; use Thread::Queue;  my $mypipe = Thread::Queue-&gt;new; threads-&gt;create(\\&mymail); threads-&gt;create(\\&myleds)-&gt;join;  sub mymail(){ use Mail::IMAPClient; use IO::Socket::SSL; \twhile (42){ \t\tmy $user = 'login'; \t\tmy $server = 'server.ltd'; \t\tmy $pass = 'P@ssw0rd'; \t\t \t\tmy $socket = IO::Socket::SSL-&gt;new( \t\t\t\tPeerAddr =&gt; $server, \t\t\t\tPeerPort =&gt; 993, \t\t\t) or die &quot;socket(): $@&quot;; \t\tmy $imap = Mail::IMAPClient-&gt;new( \t\tSocket   =&gt; $socket, \t\tServer =&gt; $server, \t\tUser =&gt; $user, \t\tPassword =&gt; $pass, \t\tDebug =&gt; 0) or die &quot;Cannot connect to $server as $user: $@&quot;; \t\tmy $not_read; \t\tforeach my $f ($imap-&gt;folders) { \t\t\tmy $i =  $imap-&gt;unseen_count($f)||0 ; \t\t\t$not_read += $i;         \t\t} \t\t$imap-&gt;logout(); \t\t$mypipe-&gt;enqueue($not_read+1);  \t\tsleep 60; \t} \t# \u042d\u0442\u043e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c\u0441\u044f ... \u043d\u043e \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 :) \t$mypipe-&gt;enqueue(undef); \texit 1; } sub myleds(){ \tmy $beep = 0; \tmy $mypid; \t \twhile($_ = $mypipe-&gt;dequeue){ \t\tif ($_ &gt; 1){  \t\t\tif ($beep == 0){ \t\t\t\t$mypid = `nohup beepScroll &gt; \/dev\/null 2&gt;&1 &echo \\$!`; \t\t\t\t$beep = 1; \t\t\t}  \t\t} else { \t\t\t$beep = 0; \t\t\t`kill $mypid` if $mypid; \t\t\t$mypid = 0 if $mypid; \t\t\tsleep 1; \t\t\t`xset -led named &quot;Scroll Lock&quot;` \t\t} \t} } <\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/199270\/\"> http:\/\/habrahabr.ru\/post\/199270\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c <a href=\"http:\/\/habrahabr.ru\/qa\/49182\/\">\u044d\u0442\u043e\u0433\u043e<\/a> \u0432\u043e\u043f\u0440\u043e\u0441\u0430. <\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430: \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043c\u043e\u0440\u0433\u0430\u0442\u044c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u043d\u0435\u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u043c \u044f\u0449\u0438\u043a\u0435. <\/p>\n<p>  \u0414\u043e\u043f. \u0443\u0441\u043b\u043e\u0432\u0438\u044f: \u041e\u0421 \u2014 linux, \u044f\u0437\u044b\u043a \u2014 perl (\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0447\u0442\u044b) \u0438 bash (\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u043e\u0440\u0433\u0430\u043d\u0438\u0435). <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-199270","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/199270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199270"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/199270\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=199270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=199270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}