Skip to content

Instantly share code, notes, and snippets.

View infectedfate's full-sized avatar

Mikhail Malinin infectedfate

  • Moscow
  • 08:35 (UTC +03:00)
View GitHub Profile
mordecai=# CREATE TABLE categories (
id serial PRIMARY KEY,
title varchar(50));
CREATE TABLE
mordecai=# CREATE TABLE tests ( id serial PRIMARY KEY,
mordecai(# title varchar(25),
mordecai(# level int,
mordecai(# category_id int);
CREATE TABLE
@infectedfate
infectedfate / gist:6de13e18c57db75691c77cfdd445f20f
Last active December 2, 2018 10:21
Thincnetica rails basic
GET /anything HTTP/1.1
Host: httpbin.org
HTTP/1.1 200 OK
Connection: keep-alive
Server: gunicorn/19.9.0
Date: Sun, 02 Dec 2018 09:46:58 GMT
Content-Type: application/json
Content-Length: 246
Access-Control-Allow-Origin: *