Skip to content

Instantly share code, notes, and snippets.

@pvlv
pvlv / 00.howto_install_phantomjs.md
Created October 22, 2017 11:33 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@pvlv
pvlv / js-task-1.md
Created August 29, 2017 07:47 — forked from codedokode/js-task-1.md
Задания на яваскрипт (простые)
@pvlv
pvlv / rxjs_operators_by_example.md
Created June 6, 2017 10:51 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example
@pvlv
pvlv / rxjs_operators_by_example.md
Created June 6, 2017 10:51 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example
@pvlv
pvlv / class_decorator.ts
Created May 25, 2017 08:00 — forked from remojansen/class_decorator.ts
TypeScript Decorators Examples
function logClass(target: any) {
// save a reference to the original constructor
var original = target;
// a utility function to generate instances of a class
function construct(constructor, args) {
var c : any = function () {
return constructor.apply(this, args);
}
@pvlv
pvlv / es2015_default-param.md
Last active August 12, 2016 00:17
ES2015 Default parameters

ES@)!%

Параметры по умолчанию(Default parameters)

ES2015

// l 1
@pvlv
pvlv / es2015_destructuring.md
Last active August 11, 2016 23:35
ES2015 Destructuring assignment

ES@)!%

Деструктурирование / Реструктуризующее присваивание(Destructuring assignment)

Array

ES2015

// l 1
@pvlv
pvlv / node-folder-structure-options.md
Created July 6, 2016 07:53 — forked from lancejpollard/node-folder-structure-options.md
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin
@pvlv
pvlv / gist:a84270df650b3a143b50
Created December 14, 2015 14:20
How to install docker
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-getting-started
Installation Instructions for Ubuntu
The simplest way to get docker, other than using the pre-built application image, is to go with a 64-bit Ubuntu 14.04 VPS
Update your droplet:
sudo apt-get update
sudo apt-get -y upgrade