Skip to content

Instantly share code, notes, and snippets.

View Vasyl-Varkholyak's full-sized avatar

Vasyl Vasyl-Varkholyak

View GitHub Profile
@Vasyl-Varkholyak
Vasyl-Varkholyak / Dockerfile
Created June 23, 2017 17:54 — forked from tiagopog/Dockerfile
Docker + Docker Compose example
FROM ruby:2.2.3
MAINTAINER tiagopog@gmail.com
# Install apt based dependencies required to run Rails as
# well as RubyGems. As the Ruby image itself is based on a
# Debian image, we use apt-get to install those.
RUN apt-get update && apt-get install -y \
build-essential \
nodejs
@Vasyl-Varkholyak
Vasyl-Varkholyak / multiple_ssh_setting.md
Created May 26, 2016 07:15 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@Vasyl-Varkholyak
Vasyl-Varkholyak / questions.md
Last active September 22, 2017 23:30
Questions to Ask During a Ruby Interview

Begin!

Senior programmers won't have a problem with these, while junior programmers will usually give only half-answers.

What is a class?

A text-book answer: classes are a blue-print for constructing computer models for real or virtual objects... boring.

In reality: classes hold data, have methods that interact with that data, and are used to instantiate objects.