Skip to content

Instantly share code, notes, and snippets.

View maxvolovikov's full-sized avatar

maxvolovikov

View GitHub Profile
@maxvolovikov
maxvolovikov / dogFunctionalClass.js
Last active August 30, 2018 16:47
Functional class of a dog object
var Dogs = function (name, breed, age, happiness, hunger, energy){
var dog = {name : name, breed : breed, age : age, happiness : happiness, hunger : hunger, energy : energy};
extend(dog, Dogs.methods)
return dog;
}
Dogs.methods = {
feed : function(food){
if(this.hunger - food > 0) {
this.hunger -= food;
@maxvolovikov
maxvolovikov / dogPrototypalClass.js
Last active August 30, 2018 16:46
Prototypal class object creator
var Dogs = function (name, breed, age, happiness, hunger, energy){
var dog = Object.create(Dogs.prototype)
dog.name = name;
dog.breed = breed;
dog.age = age;
dog.happiness : happiness;
dog.hunger = hunger;
dog.energy = energy;
return dog;
@maxvolovikov
maxvolovikov / dogPseudoclassicalClass.js
Last active August 30, 2018 16:46
pseudoclassical class
// pseudoclassical class
var Dogs = function (name, breed, age, happiness, hunger, energy){
this.name = name;
this.breed = breed;
this.age = age;
this.happiness = happiness;
this.hunger = hunger;
this.energy = energy;
}
{
"font_size": 12,
"ignored_packages":
[
"Vintage"
],
"draw_white_space": "all",
"ignored_packages":
[
"Vintage"
http://127.0.0.1:8000/reviews
{wasHelpful: 11, _id: "5bd3c9b573783bd6701f52f2", course: 1, body: "Excepturi quas quae odit facere. Et ipsa iure alia…mus. Quia omnis qui nisi voluptatem voluptas non.", author: "Kathlyn Wilkinson", …}
@maxvolovikov
maxvolovikov / docker-help.md
Created November 10, 2018 00:14 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

Cookies General
- pieces of info stored in users browser referencing previous sessions on the website/ in app saves
- different data: authorization, shopping cart, completed form fields, personalization…
- third parties cookies is a Non-related tracking info and is a privacy concern
Origin
- Louis Montulli
- patented in 98 no consent was required at first.
- Original goal to keep shopping card stored Not on the server but on client side

maxvolovikov

Keybase proof

I hereby claim:

  • I am maxvolovikov on github.
  • I am maxvolovikov (https://keybase.io/maxvolovikov) on keybase.
  • I have a public key ASBDq3zuKG0ftRt8LV8CHO9yr3KnBRoyJ06j9OhmvZh8rwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am maxvolovikov on github.
  • I am maxvolovikov (https://keybase.io/maxvolovikov) on keybase.
  • I have a public key ASBDq3zuKG0ftRt8LV8CHO9yr3KnBRoyJ06j9OhmvZh8rwo

To claim this, I am signing this object: