Advertisement
xladomaz

Untitled

May 31st, 2019
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.43 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang='ru' prefix='og: http://ogp.me/ns#'>
  3. <head>
  4. <script type="text/javascript">var _rollbarConfig = {"accessToken":"fc27636027d0460bbc1578d97d0d27ad","captureUncaught":true,"captureUnhandledRejections":true,"hostWhiteList":["https://cdn2.hexlet.io"],"ignoredMessages":["Script error"],"payload":{"client":{"source_map_enabled":true,"code_version":"v3363","guess_uncaught_frames":true},"environment":"production","person":{"id":null,"username":null,"email":null}}};</script>
  5. <script type="text/javascript">!function(r){function o(n){if(e[n])return e[n].exports;var t=e[n]={exports:{},id:n,loaded:!1};return r[n].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}var e={};return o.m=r,o.c=e,o.p="",o(0)}([function(r,o,e){"use strict";var n=e(1),t=e(4);_rollbarConfig=_rollbarConfig||{},_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/2.5.4/rollbar.min.js",_rollbarConfig.async=void 0===_rollbarConfig.async||_rollbarConfig.async;var a=n.setupShim(window,_rollbarConfig),l=t(_rollbarConfig);window.rollbar=n.Rollbar,a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,l)},function(r,o,e){"use strict";function n(r){return function(){try{return r.apply(this,arguments)}catch(r){try{console.error("[Rollbar]: Internal error",r)}catch(r){}}}}function t(r,o){this.options=r,this._rollbarOldOnError=null;var e=s++;this.shimId=function(){return e},"undefined"!=typeof window&&window._rollbarShims&&(window._rollbarShims[e]={handler:o,messages:[]})}function a(r,o){if(r){var e=o.globalAlias||"Rollbar";if("object"==typeof r[e])return r[e];r._rollbarShims={},r._rollbarWrappedError=null;var t=new p(o);return n(function(){o.captureUncaught&&(t._rollbarOldOnError=r.onerror,i.captureUncaughtExceptions(r,t,!0),i.wrapGlobals(r,t,!0)),o.captureUnhandledRejections&&i.captureUnhandledRejections(r,t,!0);var n=o.autoInstrument;return o.enabled!==!1&&(void 0===n||n===!0||"object"==typeof n&&n.network)&&r.addEventListener&&(r.addEventListener("load",t.captureLoad.bind(t)),r.addEventListener("DOMContentLoaded",t.captureDomContentLoaded.bind(t))),r[e]=t,t})()}}function l(r){return n(function(){var o=this,e=Array.prototype.slice.call(arguments,0),n={shim:o,method:r,args:e,ts:new Date};window._rollbarShims[this.shimId()].messages.push(n)})}var i=e(2),s=0,d=e(3),c=function(r,o){return new t(r,o)},p=function(r){return new d(c,r)};t.prototype.loadFull=function(r,o,e,t,a){var l=function(){var o;if(void 0===r._rollbarDidLoad){o=new Error("rollbar.js did not load");for(var e,n,t,l,i=0;e=r._rollbarShims[i++];)for(e=e.messages||[];n=e.shift();)for(t=n.args||[],i=0;i<t.length;++i)if(l=t[i],"function"==typeof l){l(o);break}}"function"==typeof a&&a(o)},i=!1,s=o.createElement("script"),d=o.getElementsByTagName("script")[0],c=d.parentNode;s.crossOrigin="",s.src=t.rollbarJsUrl,e||(s.async=!0),s.onload=s.onreadystatechange=n(function(){if(!(i||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){s.onload=s.onreadystatechange=null;try{c.removeChild(s)}catch(r){}i=!0,l()}}),c.insertBefore(s,d)},t.prototype.wrap=function(r,o,e){try{var n;if(n="function"==typeof o?o:function(){return o||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._rollbar_wrapped&&(r._rollbar_wrapped=function(){e&&"function"==typeof e&&e.apply(this,arguments);try{return r.apply(this,arguments)}catch(e){var o=e;throw o&&("string"==typeof o&&(o=new String(o)),o._rollbarContext=n()||{},o._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=o),o}},r._rollbar_wrapped._isWrap=!0,r.hasOwnProperty))for(var t in r)r.hasOwnProperty(t)&&(r._rollbar_wrapped[t]=r[t]);return r._rollbar_wrapped}catch(o){return r}};for(var u="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleUnhandledRejection,captureEvent,captureDomContentLoaded,captureLoad".split(","),f=0;f<u.length;++f)t.prototype[u[f]]=l(u[f]);r.exports={setupShim:a,Rollbar:p}},function(r,o){"use strict";function e(r,o,e){if(r){var t;if("function"==typeof o._rollbarOldOnError)t=o._rollbarOldOnError;else if(r.onerror){for(t=r.onerror;t._rollbarOldOnError;)t=t._rollbarOldOnError;o._rollbarOldOnError=t}var a=function(){var e=Array.prototype.slice.call(arguments,0);n(r,o,t,e)};e&&(a._rollbarOldOnError=t),r.onerror=a}}function n(r,o,e,n){r._rollbarWrappedError&&(n[4]||(n[4]=r._rollbarWrappedError),n[5]||(n[5]=r._rollbarWrappedError._rollbarContext),r._rollbarWrappedError=null),o.handleUncaughtException.apply(o,n),e&&e.apply(r,n)}function t(r,o,e){if(r){"function"==typeof r._rollbarURH&&r._rollbarURH.belongsToShim&&r.removeEventListener("unhandledrejection",r._rollbarURH);var n=function(r){var e,n,t;try{e=r.reason}catch(r){e=void 0}try{n=r.promise}catch(r){n="[unhandledrejection] error getting `promise` from event"}try{t=r.detail,!e&&t&&(e=t.reason,n=t.promise)}catch(r){}e||(e="[unhandledrejection] error getting `reason` from event"),o&&o.handleUnhandledRejection&&o.handleUnhandledRejection(e,n)};n.belongsToShim=e,r._rollbarURH=n,r.addEventListener("unhandledrejection",n)}}function a(r,o,e){if(r){var n,t,a="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(n=0;n<a.length;++n)t=a[n],r[t]&&r[t].prototype&&l(o,r[t].prototype,e)}}function l(r,o,e){if(o.hasOwnProperty&&o.hasOwnProperty("addEventListener")){for(var n=o.addEventListener;n._rollbarOldAdd&&n.belongsToShim;)n=n._rollbarOldAdd;var t=function(o,e,t){n.call(this,o,r.wrap(e),t)};t._rollbarOldAdd=n,t.belongsToShim=e,o.addEventListener=t;for(var a=o.removeEventListener;a._rollbarOldRemove&&a.belongsToShim;)a=a._rollbarOldRemove;var l=function(r,o,e){a.call(this,r,o&&o._rollbar_wrapped||o,e)};l._rollbarOldRemove=a,l.belongsToShim=e,o.removeEventListener=l}}r.exports={captureUncaughtExceptions:e,captureUnhandledRejections:t,wrapGlobals:a}},function(r,o){"use strict";function e(r,o){this.impl=r(o,this),this.options=o,n(e.prototype)}function n(r){for(var o=function(r){return function(){var o=Array.prototype.slice.call(arguments,0);if(this.impl[r])return this.impl[r].apply(this.impl,o)}},e="log,debug,info,warn,warning,error,critical,global,configure,handleUncaughtException,handleUnhandledRejection,_createItem,wrap,loadFull,shimId,captureEvent,captureDomContentLoaded,captureLoad".split(","),n=0;n<e.length;n++)r[e[n]]=o(e[n])}e.prototype._swapAndProcessMessages=function(r,o){this.impl=r(this.options);for(var e,n,t;e=o.shift();)n=e.method,t=e.args,this[n]&&"function"==typeof this[n]&&("captureDomContentLoaded"===n||"captureLoad"===n?this[n].apply(this,[t[0],e.ts]):this[n].apply(this,t));return this},r.exports=e},function(r,o){"use strict";r.exports=function(r){return function(o){if(!o&&!window._rollbarInitialized){r=r||{};for(var e,n,t=r.globalAlias||"Rollbar",a=window.rollbar,l=function(r){return new a(r)},i=0;e=window._rollbarShims[i++];)n||(n=e.handler),e.handler._swapAndProcessMessages(l,e.messages);window[t]=n,window._rollbarInitialized=!0}}}}]);</script>
  6. <title>Практические курсы по программированию - Hexlet</title>
  7. <meta name="csrf-param" content="authenticity_token" />
  8. <meta name="csrf-token" content="ua1MTFKiQkldK5x/miJSqQ1w5aHWJdFkJsA9V1khlNa5heO7yy8XkXPqNa0JC/HEpVRZhrM7vy2Q8lqK5OiR9Q==" />
  9. <meta content='width=device-width, initial-scale=1.0' name='viewport'>
  10. <script>
  11. //<![CDATA[
  12. window.gon={};gon.hs={"autoloadBeacon":true};gon.applications={};gon.current_user={"id":null,"guest":true,"isGuest":true,"admin":false};gon.token="mFDOwdIzVQ06r9Lo2KjLVESFd0gMFmMm5t\/rKw6MFeSYeGE2S74A1RRuezpLgWg57KHLb2kIDW9Q7Yz2s0UQxw==";gon.disqus_name="hexletio";gon.locale="ru";gon.rails_env="production";gon.analytics_events="AnalyticsEvents";gon.google_analytics_key="UA-1360700-51";gon.social_signin=null;gon.subdomains=["en.hexlet.io","ru.hexlet.io"];gon.images={"accepted_cards":"https:\/\/cdn2.hexlet.io\/assets\/accepted_cards-66bb4df39a3479040281f3f3705f9d87d4fe6d0af3b55442f938011bf790e0f1.png","cards_cvc_cvv":"https:\/\/cdn2.hexlet.io\/assets\/cards_cvc_cvv-c7cf65a352482099792fbb728d90616906c982218ce1c0ffde7fc43a51276b8a.png"};
  13. //]]>
  14. </script>
  15.  
  16. <script>
  17. (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  18. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  19. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  20. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  21. })(window,document,'script','dataLayer','GTM-WK88TH');
  22. </script>
  23.  
  24. <script>
  25. // in development mode
  26. if (!window.Rollbar) {
  27. Rollbar = {
  28. error: function() {
  29. },
  30. configure: function() {
  31. }
  32. }
  33. }
  34.  
  35. Rollbar.configure({
  36. payload: {
  37. person: gon.current_user
  38. }
  39. });
  40. </script>
  41.  
  42. <script type='application/ld+json'>
  43. {
  44. "@context": "https://schema.org",
  45. "@type": "Organization",
  46. "name": "Hexlet",
  47. "url": "https://ru.hexlet.io",
  48. "logo": "https://cdn2.hexlet.io/assets/hexlet_logo-e99fc2b3b7c1eec88899f3af1435a39aaac6fd29d011dfe2342499c0884b7a96.png",
  49. "sameAs": [
  50. "https://www.facebook.com/Hexlet",
  51. "https://www.youtube.com/user/HexletUniversity",
  52. "http://twitter.com/HexletHQ",
  53. "https://soundcloud.com/hexlet"
  54. ]
  55. }
  56.  
  57. </script>
  58.  
  59.  
  60. <link rel="stylesheet" media="all" href="<?php echo get_template_directory_uri(); ?>/styles/style.css" />
  61. <link href='/' rel='canonical'>
  62. <meta content='article' property='og:type'>
  63. <meta content='Практические курсы по программированию - Hexlet' property='og:title'>
  64. <meta content='https://ru.hexlet.io/' property='og:url'>
  65. <meta content='https://cdn2.hexlet.io/assets/tour_2_2-ec8fe47ebcb4cb699d785d3460493ea8f8770607b26e8c2f612badd445d109b6.jpg' property='og:image'>
  66. <link href='https://cdn2.hexlet.io/assets/tour_2_2-ec8fe47ebcb4cb699d785d3460493ea8f8770607b26e8c2f612badd445d109b6.jpg' rel='image_src'>
  67. <meta content='Практические онлайн курсы по программированию и разработке на PHP, JavaScript, Node, Java. Видео, тесты, упражнения и менторы.' name='description'>
  68. <meta content='Практические онлайн курсы по программированию и разработке на PHP, JavaScript, Node, Java. Видео, тесты, упражнения и менторы.' property='og:description'>
  69. </head>
  70. <body>
  71. <!-- Google Tag Manager (noscript) -->
  72. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WK88TH"
  73. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  74. <!-- End Google Tag Manager (noscript) -->
  75.  
  76.  
  77. <nav class='navbar navbar-expand-md navbar-light bg-white hexlet-navbar'>
  78. <a aria-hidden='true' class='navbar-brand' href='<?php bloginfo('url') ?>'>
  79. Hexlet
  80. </a>
  81. <button aria-controls='navbarResponsive' aria-expanded='false' aria-label='Toggle navigation' class='navbar-toggler' data-target='#navbarResponsive' data-toggle='collapse' type='button'>
  82. <span class='navbar-toggler-icon'></span>
  83. </button>
  84. <div class='collapse navbar-collapse' id='navbarResponsive'>
  85. <?php
  86. wp_nav_menu( [
  87. 'theme_location' => '',
  88. 'menu' => '2',
  89. 'container' => '',
  90. 'container_class' => '',
  91. 'container_id' => '',
  92. 'menu_class' => '',
  93. 'menu_id' => '',
  94. 'echo' => true,
  95. 'fallback_cb' => 'wp_page_menu',
  96. 'before' => '',
  97. 'after' => '',
  98. 'link_before' => '<div class="my-2">',
  99. 'link_after' => '</div>',
  100. 'items_wrap' => '<ul class="navbar-nav mr-auto">%3$s</ul>',
  101. 'depth' => 0,
  102. 'walker' => '',
  103. ] );
  104. ?>
  105. <ul class='navbar-nav mr-auto'>
  106. <li class='nav-item'>
  107. <li class="nav-item"><a class="nav-link hexlet-navbar-link px-3 " href="/professions"><div class="my-2">Профессии</div></a></li>
  108. </li>
  109. <li class="nav-item"><a class="nav-link hexlet-navbar-link px-3 " href="/blog"><div class="my-2">Блог</div></a></li>
  110. <li class="nav-item"><a class="nav-link hexlet-navbar-link px-3 " href="/knowledge"><div class="my-2">База знаний</div></a></li>
  111. <li class="nav-item"><a class="nav-link hexlet-navbar-link px-3 " href="/hr"><div class="my-2">HR</div></a></li>
  112. </ul>
  113. <ul class='navbar-nav'>
  114. <li class="nav-item"><a class="nav-link hexlet-navbar-link px-3 " href="https://ru.hexlet.io/session/new"><div class="my-2">Вход</div></a></li>
  115. <li class="nav-item"><a class="nav-link hexlet-navbar-link px-3 " href="/u/new"><div class="my-2">Регистрация</div></a></li>
  116. </ul>
  117. </div>
  118. </nav>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement