Skip to content

Instantly share code, notes, and snippets.

View igorpetuh's full-sized avatar
🖥️
Working hard

IgorPetukh igorpetuh

🖥️
Working hard
View GitHub Profile
@igorpetuh
igorpetuh / ruby_on_rails_deployment.md
Created September 17, 2020 07:46 — forked from zentetsukenz/ruby_on_rails_deployment.md
Deploy Ruby on Rails application with Docker Compose and Capistrano with ease

Docker

Files and Folders.

|
|\_ app
|...
|\_ docker
| |
@igorpetuh
igorpetuh / destructuring.js
Created November 8, 2018 10:43 — forked from mikaelbr/destructuring.js
Several demos and usages for ES6 destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];