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
require 'ftpd' | |
class Driver | |
def initialize(temp_dir) | |
@temp_dir = temp_dir | |
end | |
def authenticate(user, password) | |
true | |
end | |
def file_system(user) |
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
FROM golang:1.11 | |
ARG MIGRATE_VERSION=4.0.2 | |
# install postgres client for local development | |
RUN apt-get update && apt-get install -y postgresql-client | |
# install dep tool to ensuring dependencies | |
RUN go get -u github.com/golang/dep/cmd/dep |
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
{ | |
"response":{ | |
"type":"doc", | |
"doc":{ | |
"id":500850396, | |
"owner_id":292581, | |
"title":"img.gif", | |
"size":8798326, | |
"ext":"gif", | |
"url":"https://vk.com/doc292581_500850396?hash=4cedacc43a88103633&dl=GI4TENJYGE:1556097135:3165b6e25cee0663ae&api=1&no_preview=1", |
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
FROM ruby:2.6.1 | |
ARG PG_VERSION | |
ARG NODE_VERSION | |
ARG TINI_VERSION=v0.18.0 | |
RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ | |
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' $PG_VERSION > /etc/apt/sources.list.d/pgdg.list \ | |
&& curl -o /tmp/nodejs.deb https://deb.nodesource.com/node_11.x/pool/main/n/nodejs/nodejs_$NODE_VERSION-1nodesource1_amd64.deb \ | |
&& apt-get update -qq \ |
OlderNewer