// Watch #my-form
$("#my-form").dirtyForm();
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
/*jslint browser, maxlen: 80 */ | |
/*global DOMParser, fetch */ | |
(function () { | |
"use strict"; | |
var originalSizeLink = document.querySelector(".Original > a"); | |
var canonicalUrl = document.querySelector("#canonicalurl").href; | |
var biggestSizeUrl = canonicalUrl + "/sizes/k/"; | |
var secondBiggestSizeUrl = canonicalUrl + "/sizes/h/"; |
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
/*jslint browser: true */ | |
/*jshint laxbreak: true */ | |
/*global requestAnimationFrame */ | |
/** | |
* A convenient "toTop" function for your "Scroll to top and back" button. | |
* Animates page scroll to the page top, | |
* or to the specified "top" coordinate, | |
* or to the specified element's top. | |
* On the next click on your button, if the page hasn't been scrolled, |
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
<?php | |
/** | |
* # Работа с DOM | |
* | |
* Написать скрипт закачивания страницы www.bills.ru, из страницы извлечь даты, | |
* заголовки, ссылки в блоке "события на долговом рынке", сохранить в таблицу | |
* bills_ru_events, имеющую такую структуру: | |
* * id — целое, автоинкрементарное | |
* * date — в формате год-месяц-день часы:минуты:секунды |
docker-compose -f docker-compose.apache.yml up
docker-compose -f docker-compose.nginx+apache.yml up
docker-compose -f docker-compose.nginx+php-fpm.yml up
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
/*jslint node, es6, maxlen: 80 */ | |
"use strict"; | |
function upperCaser(input) { | |
return input.toUpperCase(); | |
} | |
module.exports = upperCaser; |
OlderNewer