{"id":263836,"date":"2015-08-19T00:36:02","date_gmt":"2015-08-18T20:36:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=263836"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=263836","title":{"rendered":"Callback Robax \u043e\u0442 Oblax \u0427\u0430\u0441\u0442\u044c 2"},"content":{"rendered":"<p>     \t\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0432\u0430\u043c\u0438 \u043c\u043e\u0438\u043c\u0438 \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u043f\u043e \u043c\u0435\u0440\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 Callback \u0412\u0438\u0434\u0436\u0435\u0442\u0430.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u0441\u0442\u0438\u043b\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438\u0441\u043f\u0443\u043b\u044c\u0437\u0443\u044f Angular.js \u0432 <a href=\"http:\/\/habrahabr.ru\/post\/264211\/\">\u041f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043d\u0430\u0448\u0435\u0433\u043e \u0446\u0438\u043a\u043b\u0430 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u043d\u0430 \u0425\u0430\u0431\u0440\u0445\u0430\u0431\u0440\u0435 \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u043b\u0438\u0441\u044c \u043d\u043e\u0432\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f!<\/p>\n<p>  \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438:<\/p>\n<p>  1. <strong>JSONP<\/strong> \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u043c\u0435\u0442\u043e\u0434 param<\/p>\n<p>  2. Convert <strong>img<\/strong> to <strong>base64<\/strong><\/p>\n<p>  3. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 <strong>CDN<\/strong> \u043d\u0430 <strong>Amazon CloudFront<\/strong><\/p>\n<p>  4. \u0428\u0440\u0438\u0444\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 <strong>FontForge<\/strong><\/p>\n<p>  5. Angular \u0438 <strong>ng-keypress<\/strong><\/p>\n<p>  6. <strong>\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f<\/strong> \u0432\u0435\u0440\u0441\u0438\u044f \u0412\u0438\u0434\u0436\u0435\u0442\u0430<\/p>\n<p>  7. <strong>CRON<\/strong> \u0437\u0430\u0434\u0430\u0447\u0438<\/p>\n<p>  8. \u041d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 <strong>SEO<\/strong> \u0421\u043b\u043e\u0432\u0430\u0440\u044c<\/p>\n<p>  \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  #1\u00a0<strong>JSONP<\/strong> \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u043c\u0435\u0442\u043e\u0434 param<\/p>\n<p>  \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u043a\u0440\u043e\u0441\u0441\u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 JSONP \u043a\u0430\u043a \u0438 \u043b\u044e\u0431\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043d\u0430\u043c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0451\u0442, \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0430\u043a GET \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b (\u0432\u0438\u0434\u0430 <em>?name=ferret<\/em>)! \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c jquery, \u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u043c\u0435\u0442\u043e\u0434 $.param \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 <em>param<\/em>\u00a0\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"javascript\">$scope.param = function (obj) {     var parts = [];     for (var key in obj) {         if (obj.hasOwnProperty(key)) {             parts.push(encodeURIComponent(key) + '=' + encodeURIComponent(obj[key]));         }     }     return parts.join('&amp;'); }; <\/code><\/pre>\n<p>  \u0417\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u044b \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0438\u0434\u0451\u043c \u0434\u0430\u043b\u044c\u0448\u0435!<\/p>\n<p>  #2 Convert <strong>img<\/strong> to <strong>base64<\/strong><\/p>\n<p>  \u041f\u0440\u0438 render \u043d\u0430\u0448\u0435\u0439 html \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0432\u0441\u0442\u0430\u0451\u0442 \u0432\u043e\u043f\u0440\u043e\u0441, \u0430 \u043a\u0430\u043a \u043d\u0430\u043c \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0438 \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c! \u0418 \u0442\u0443\u0442 \u044f \u043d\u0430\u0448\u0451\u043b \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 base64. \u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u043d\u043b\u0430\u0439\u043d <a href=\"http:\/\/www.base64-image.de\/\">base64-image<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u043d \u0432\u044b\u0434\u0430\u0451\u0442 \u043d\u0430\u043c \u0443\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434 \u0432\u0441\u0442\u0430\u0432\u043a\u0443 \u0432 \u0441\u0442\u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"css\">&lt;style type=&quot;text\/css&quot;&gt; div.image { \twidth:            100px; \theight:           100px; \tbackground-image: url('data:image\/png;base64,iVBORw0KGgoAAA............'); \/* (\u0421\u043e\u043a\u0440\u0430\u0442\u0438\u043b \u0434\u043b\u0438\u043d\u0443) *\/ } &lt;\/style&gt; <\/code><\/pre>\n<p>  \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0435\u0441\u0438\u0442\u044c!<\/p>\n<p>  #3 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 <strong>CDN<\/strong> \u043d\u0430 <strong>Amazon CloudFront<\/strong><\/p>\n<p>  <strong>\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430<\/strong>: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c CDN \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430\u0448\u0438\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0441\u0442\u0438\u043b\u0435\u0439 \u0441 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430.<br \/>  \u0421\u0442\u0430\u0442\u044c\u044f\u043c\u0438 \u0431\u043e\u0433\u0430\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043d\u043e \u043c\u043d\u0435 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0445 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0447\u0442\u043e \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0448\u043b\u043e:<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/dd1\/a8a\/c22\/dd1a8ac224dbd1979d7bbf50cf686171.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.oblax.ru\/wp-content\/uploads\/2015\/08\/2015-08-14-14-29-52-\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-\u044d\u043a\u0440\u0430\u043d\u0430.png\" width=\"1060\" height=\"517\"\/><br \/>  <\/a>\u0421\u0443\u043f\u0435\u0440, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b \u043d\u0430 CDN! \u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0448\u0440\u0438\u0444\u0442\u043e\u0432 \u0441 CDN, \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u043d\u0430\u0448\u0451\u043b \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0443 Amazon E3!<\/p>\n<p>  #4 \u0428\u0440\u0438\u0444\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 <strong>FontForge<\/strong><\/p>\n<p>  \u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 FontForge? \u042d\u0442\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0448\u0440\u0438\u0444\u0442\u043e\u0432. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u0434\u0430\u043d\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0448\u0440\u0438\u0444\u0442 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0448\u0440\u0438\u0444\u0442\u044b! \u0412\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 <a href=\"http:\/\/fontforge.github.io\/en-US\/\">FontForge<\/a><br \/>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0431\u0435\u0440\u0435\u043c \u0448\u0440\u0438\u0444\u0442\u044b <a href=\"http:\/\/fortawesome.github.io\/Font-Awesome\/\">Font-Awesome<\/a> (font-awesome.woff) \u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 FontForge. \u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0442\u0430\u043a \u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c, \u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u0448\u0440\u0438\u0444\u0442\u044b, \u0436\u043c\u0435\u043c \u0432 \u043c\u0435\u043d\u044e <em>\u041a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430-&gt;\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f<\/em> \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a:<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/cec\/607\/f99\/cec607f9982bcaf599f40af1439699a4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.oblax.ru\/wp-content\/uploads\/2015\/08\/2015-08-14-14-59-24-\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442-\u044d\u043a\u0440\u0430\u043d\u0430.png\" alt=\"FontForge\" width=\"631\" height=\"410\"\/><\/a><br \/>  \u041f\u0440\u043e\u0441\u0442\u043e \u043a\u0440\u0443\u0442\u043e!<\/p>\n<p>  #5 Angular \u0438 <strong>ng-keypress<\/strong><\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f<\/p>\n<p>  ng-keypress=onKeyPressNumber($event) \u0438 ng-paste=onPaste($event)<\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u0438 \u0432\u0432\u043e\u0434\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c CTRL+V \u0432\u0441\u0442\u0430\u0432\u043a\u0443:<\/p>\n<pre><code class=\"javascript\">$scope.onKeyPressNumber = function ($event) {     if (!($event.keyCode &gt; 47 &amp;&amp; $event.keyCode &lt; 58)) {         $event.preventDefault();     } else {         \/\/\u043b\u043e\u0433\u0438\u043a\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f     } }; $scope.onPaste = function ($event) {     $event.preventDefault(); }; <\/code><\/pre>\n<p>  \u0423\u0434\u043e\u0431\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434!<\/p>\n<p>  #6. <strong>\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f<\/strong> \u0432\u0435\u0440\u0441\u0438\u044f \u0412\u0438\u0434\u0436\u0435\u0442\u0430<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0435 \u044f \u0445\u043e\u0447\u0443 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438:<\/p>\n<p>  <strong><a href=\"https:\/\/css-tricks.com\/snippets\/css\/media-queries-for-standard-devices\/\">Media Queries for Standard Devices<\/a><br \/>  <a href=\"http:\/\/nmsdvid.com\/snippets\/#\">Media Query Snippets<br \/>  <\/a><\/strong><a href=\"http:\/\/habrahabr.ru\/post\/237499\/\">\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/a><\/p>\n<p>  #7 <strong>CRON<\/strong> \u0437\u0430\u0434\u0430\u0447\u0438 \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e<\/p>\n<p>  \u041d\u0430\u0448\u0451\u043b \u043d\u0435\u043f\u043b\u043e\u0445\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u044b CRON \u0437\u0430\u0434\u0430\u0447 <a href=\"https:\/\/masterhost.ru\/support\/doc\/cron\/#setup\">\u041e\u0421\u041d\u041e\u0412\u042b CRON<\/a>, \u0430 \u0442\u0430\u043a \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0445\u043e\u0441\u0442\u0435\u0440\u043e\u0432 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0430\u043d\u043d\u0443\u044e \u0443\u0441\u043b\u0443\u0433\u0443 \u0432 \u0432\u0438\u0434\u0435 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439, \u043b\u043e\u0433\u043e\u043c, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438!<\/p>\n<p>  #8 \u041d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 <strong>SEO<\/strong> \u0421\u043b\u043e\u0432\u0430\u0440\u044c<\/p>\n<p>  \u0411\u043b\u0443\u0436\u0434\u0430\u044f \u043f\u043e \u0441\u0430\u0439\u0442\u0430\u043c \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043d\u0430\u0448\u0451\u043b \u043e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c SEO \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"http:\/\/seodict.ru\/\">\u0421\u041b\u041e\u0412\u0410\u0420\u042c<\/a><\/p>\n<p>  \u041d\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u0435\u0437 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0440\u0435\u0441\u0443\u0440\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0435 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 <a href=\"https:\/\/redbot.org\/\">REDBot<\/a><\/p>\n<p>  \u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435:<\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0432\u0430\u0448\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u043d\u0435\u0440\u0432\u044b! \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0439\u0442\u0435 \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c!     \t<\/p>\n<div class=\"clear\"><\/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\/265035\/\"> http:\/\/habrahabr.ru\/post\/265035\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441 \u0432\u0430\u043c\u0438 \u043c\u043e\u0438\u043c\u0438 \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u043f\u043e \u043c\u0435\u0440\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 Callback \u0412\u0438\u0434\u0436\u0435\u0442\u0430.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u0441\u0442\u0438\u043b\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438\u0441\u043f\u0443\u043b\u044c\u0437\u0443\u044f Angular.js \u0432 <a href=\"http:\/\/habrahabr.ru\/post\/264211\/\">\u041f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043d\u0430\u0448\u0435\u0433\u043e \u0446\u0438\u043a\u043b\u0430 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u043d\u0430 \u0425\u0430\u0431\u0440\u0445\u0430\u0431\u0440\u0435 \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u043b\u0438\u0441\u044c \u043d\u043e\u0432\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f!<\/p>\n<p>  \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438:<\/p>\n<p>  1. <strong>JSONP<\/strong> \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u043c\u0435\u0442\u043e\u0434 param<\/p>\n<p>  2. Convert <strong>img<\/strong> to <strong>base64<\/strong><\/p>\n<p>  3. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 <strong>CDN<\/strong> \u043d\u0430 <strong>Amazon CloudFront<\/strong><\/p>\n<p>  4. \u0428\u0440\u0438\u0444\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 <strong>FontForge<\/strong><\/p>\n<p>  5. Angular \u0438 <strong>ng-keypress<\/strong><\/p>\n<p>  6. <strong>\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f<\/strong> \u0432\u0435\u0440\u0441\u0438\u044f \u0412\u0438\u0434\u0436\u0435\u0442\u0430<\/p>\n<p>  7. <strong>CRON<\/strong> \u0437\u0430\u0434\u0430\u0447\u0438<\/p>\n<p>  8. \u041d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 <strong>SEO<\/strong> \u0421\u043b\u043e\u0432\u0430\u0440\u044c<\/p>\n<p>  \u041f\u043e\u0435\u0445\u0430\u043b\u0438!  <\/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-263836","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263836","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=263836"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263836\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}