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
/* | |
1. Для начала в polymer-nicedit.html найди поле buttonList, имеющую строковое значиние. Добавь в конец строки ' xhtml'. | |
2. Зайди в nicEdit.js. Найди там переменную iconList. Она находится где-то на 362 строке. Определи ей следующее значение: | |
*/ | |
iconList: { | |
"xhtml" : 1, | |
"bgcolor": 2, | |
"forecolor": 3, | |
"bold": 4, | |
"center": 5, |
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
<html> | |
<head></head> | |
<body> | |
<script type="text/javascript"> | |
function printData() { | |
console.log(document.getElementById('area1').innerHtml); | |
} | |
</script> | |
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
# coding=utf-8 | |
# magicproxy.py — это простейший http-прокси-сервер, запускаемый локально | |
# (порт на ваше усмотрение), который показывает содержимое страниц Хабра. С | |
# одним исключением: после каждого слова из шести букв должен стоять | |
# значок «™». Примерно так: | |
# | |
# http://habrahabr.ru/company/yandex/blog/258673/ | |
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
# Сейчас на фоне уязвимости Logjam все в индустрии в очередной раз обсуждают |