This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign array = 'c|c|b|b|a|a' | split: '|' %} | |
{% assign tags = array[1] %} | |
{% for item in array %} | |
{% unless tags contains item %} | |
{% capture tags %}{{ tags }}|{{ item }}{% endcapture %} | |
{% endunless %} | |
{% endfor %} | |
{{ tags | split: '|' | sort | join: ', ' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script>(function(b,c,a){(c[a]=c[a]||[]).push(function(){try{c.yaCounter00000000=new Ya.Metrika({id:00000000})}catch(a){}});var e=b.getElementsByTagName('script')[0],d=b.createElement('script'),a=function(){e.parentNode.insertBefore(d,e)};d.async=!0;d.src='//mc.yandex.ru/metrika/watch.js';'[object Opera]'==c.opera?b.addEventListener('DOMContentLoaded',a):a()})(document,window,'yandex_metrika_callbacks');</script><noscript><img src="//mc.yandex.ru/watch/00000000" alt=""></noscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This CSS file generated on Sat Sep 29 02:48:20 MSK 2012 */ | |
.AFInstructionText,.x0,.AFFieldText,.x6,.xm,.x23,.x24,.x2d,.x2e,.x2f,.x2j,.x1u.x2n .x25,.x1u.p_AFDisabled.x2n .x25,.x1u.x2p .x25,.x1u.x2q .x25,.x1u.x2r .x25,.x1u.x2s .x25,.x22.x2n .x24,.x22.p_AFDisabled.x2n .x24,.x22.x2p .x24,.x22.x2q .x24,.x22.x2r .x24,.x22.x2s .x24,.x1t.x2n .x26,.x1t.p_AFDisabled.x2n .x26,.x1t.x2p .x26,.AFFieldTextLTR,.x9k,.AFPhoneFieldText,.x9m,.AFPostalCodeFieldText,.x9o,.AFAddressFieldText,.x9q,.PortletSubHeaderText,.xcf,.PortletText1,.xcg,.PortletText2,.xch,.PortletText3,.xci,.PortletText4,.xcj,.portlet-font,.xck,.portlet-msg-info,.xcm,.portlet-form-input-field,.xd3,.portlet-form-field,.xd8 {font-family:Tahoma, Helvetica;font-weight:normal;font-size:11px;color:#000000} | |
.AFInstructionTextDisabled,.x1,.AFFieldTextDisabled,.x7,.x1u.p_AFDisabled.x2p .x25,.x1u.p_AFDisabled.x2q .x25,.x1u.p_AFDisabled.x2r .x25,.x1u.p_AFDisabled.x2s .x25,.x22.p_AFDisabled.x2p .x24,.x22.p_AFDisabled.x2q .x24,.x22.p_AFDisabled.x2r .x24,.x22.p_AFDisable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Гоночный велосипед со спортивной рамой S-Works. Навес на Sram 7 и Shimano LX/XT, итальянская воздушная вилка Marzocchi, новыё колёса Token, только что из мастерской после чистки и настройки. | |
— Рама Specialized S-Works HT M5, 2006, 18" | |
— Вилка: Marzocchi MX Comp, 2008 | |
— Подседельный штырь: Thomson | |
— Седло: Selle Italia XC | |
— Руль и вынос: Ritchey | |
— Каретка: Shimano | |
— Рулевая: FSA | |
— Грипсы с рогами: Ergon GP3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pkg = require('./package.json'); | |
// Before | |
var banner = [ | |
'/**', | |
' * <%= pkg.description %>', | |
' * <%= pkg.name %> v<%= pkg.version %>, <%= pkg.homepage %>', | |
' * @copyright 2010–<%= new Date().getFullYear() %> <%= pkg.author.name %>', | |
' * @license <%= pkg.license %>', | |
' */\n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Underline | |
@mixin underline($color, $width) { | |
background: | |
linear-gradient( | |
to top, | |
$color, | |
$color #{$width}em, | |
transparent #{$width}em, | |
transparent | |
) repeat-x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function handleInstalled(ev) { | |
const date = new Date(ev.timeStamp / 1000); | |
console.log(`Ура! Наше приложение установили в ${date.toTimeString()}`); | |
} | |
// Используем атрибут IDL обработчика события | |
window.onappinstalled = handleInstalled; | |
// Используем .addEventListener() | |
window.addEventListener('appinstalled', handleInstalled); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scope": "/myapp" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"start_url": "/start_screen.html" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (window.matchMedia('(display-mode: standalone)').matches) { | |
// интересные модификации интерфейса | |
} |