Skip to content

Instantly share code, notes, and snippets.

View lahdo's full-sized avatar

Marcin Rapacz lahdo

View GitHub Profile
@lahdo
lahdo / 1-one-row-expressions.js
Created March 22, 2017 10:33 — forked from olvnikon/1-one-row-expressions.js
Javascript tricky questions. Check yourself. Or destroy any interviewee.
// https://jsfiddle.net/vk35ok2o/50/
console.log('typeof 1/0 => ', typeof 1/0);
console.log('typeof (1/0) => ', typeof (1/0));
console.log('1/0 => ', 1/0);
console.log('"Hello" * 2 => ', "Hello" * 2);
console.log('typeof ("Hello" * 2) => ', typeof ("Hello" * 2));
console.log('typeof "Hello" * 2 => ', typeof "Hello" * 2);
console.log('typeof undefined => ', typeof undefined);
console.log('typeof null => ', typeof null);
console.log('typeof function(){} => ', typeof function(){});
@lahdo
lahdo / INSTALL.rst
Created November 17, 2016 14:44 — forked from dmugtasimov/INSTALL.rst
Web Portal installation instruction
@lahdo
lahdo / INSTALL.rst
Created November 17, 2016 14:44 — forked from dmugtasimov/INSTALL.rst
Tryton installation instruction

This installation instrucion describes how to install Tryton Server and Client from scratch for development purposes.

  1. Create virtualenv with virtualenvwrapper:

    mkvirtualenv -p /usr/bin/python2.7 trytond
    
  2. Install Tryton Server:

    pip install trytond==4.0.4