Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
-- Создайте базу данных test_guru | |
CREATE DATABASE test_guru; | |
-- Таблицу categories с атрибутом title | |
CREATE TABLE categories( | |
id serial PRIMARY KEY, | |
title varchar(25) NOT NULL | |
); | |
-- Таблицу tests в которой должны быть атрибуты title, level, внешний ключ к таблице categories |
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
$ncat -C httpbin.org 80 | |
GET /get HTTP/1.1 | |
Host: httpbin.org | |
HTTP/1.1 200 OK | |
Access-Control-Allow-Credentials: true | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Date: Mon, 30 Sep 2019 18:12:01 GMT |
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
document.addEventListener("DOMContentLoaded", function(event) { | |
var body = document.querySelector('body'); | |
body.classList.remove('is-preview'); | |
var button = document.querySelector('[type=submit]'); | |
button.setAttribute('disabled', ''); | |
function isBlank(value) { | |
return value === null; | |
} |