This file contains hidden or 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
Show hidden characters
| { | |
| "esversion": 6, | |
| "node": true | |
| } |
This file contains hidden or 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 getNextWeekday = (function() { | |
| var holidays = ['1/1', '7/1', '4/2', '23/2', '8/3', '1/4', '9/4']; | |
| function checkHoliday(date) { | |
| date.setDate(date.getDate() + 1); | |
| var day = date.getDay(); | |
| if(day === 0 || day === 6 || holidays.indexOf(date.getDate() + '/' + (date.getMonth() + 1)) !== -1) { |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Воспроизведение видео на сайте по расписанию</title> | |
| </head> | |
| <body> | |
| <div id="player"></div> | |
| <div> | |
| <button type="button" id="start">start</button> |
This file contains hidden or 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 removeOptionExeptFirstAndCurrent(e) { | |
| var select = e.target; | |
| var selected_value = options[options.selectedIndex].value; | |
| while(select.children[1]) { | |
| if (select.childElementCount == 2) break; | |
| if (select.children[1].value == selected_value) { | |
| select.removeChild(select.children[2]); | |
| continue; | |
| } |
This file contains hidden or 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
| SELECT | |
| `p`.`product_ean`, | |
| `p`.`product_price`, | |
| `v`.`name_ru-RU`, | |
| `p`.`extra_field_2`, | |
| `v1`.`name_ru-RU`, | |
| `v2`.`name_ru-RU`, | |
| `p`.`extra_field_5`, | |
| `p`.`extra_field_6`, | |
| `p`.`extra_field_7`, |
This file contains hidden or 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
| SELECT | |
| `w`.worker, `w`.time_with, `w`.time_to, `w`.foreman, `w`.object | |
| FROM `workers_days` AS `w` | |
| WHERE ( `worker` = 'Петров Игорь Васильвевич' ) | |
| AND ( `year` = '2017' ) | |
| AND ( `month` = '5' ) | |
| AND ( `day` = '1' ) | |
| AND ( `Пирожков_сорт` REGEXP '^4$|^4.1$' ) |
This file contains hidden or 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
| snackbar.MaterialSnackbar.cleanup_(); |
This file contains hidden or 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() { | |
| var k_a = []; | |
| document.body.addEventListener('keydown', function(e) { | |
| var k = e.keyCode; | |
| // if esc | |
| if (k == 27) { | |
| // some act ... | |
| } else { |
This file contains hidden or 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 $json = json_decode(file_get_contents('php://input')); ?> |
This file contains hidden or 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 doc = document.implementation.createHTMLDocument(); | |
| doc.documentElement.innerHTML = response; |
NewerOlder