Skip to content

Instantly share code, notes, and snippets.

Paweł Kowalski pavelloz

  • Earth, Milky Way
Block or report user

Report or block pavelloz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pavelloz / SetUpstream
Created Jul 16, 2014
Set upstream branch if doesnt exist yet on push
View SetUpstream
git config --add push.default current
pavelloz / PrivateMethodsTesting.js
Last active Aug 29, 2015
Primitive way of unit testing public/private methods using module pattern
View PrivateMethodsTesting.js
var test = true;
var Module = (function() {
var Module = {
isTwoDigit: function(number1, number2) {
return privates.add(number1, number2) > 9;
You can’t perform that action at this time.