Skip to content

Instantly share code, notes, and snippets.

View vantu-code's full-sized avatar

Jonathan Vantu vantu-code

  • Barcelona, Spain
View GitHub Profile
@vantu-code
vantu-code / README.md
Created October 28, 2019 08:28 — forked from ross-u/README.md
LAB SOLUTION - javascript-all-time-movies
@vantu-code
vantu-code / README.md
Created October 28, 2019 11:06 — forked from ross-u/README.md
JS | Value vs Reference - 2 Rabbits and a Magic Hat

JS | Value vs Reference

This exercise is not mandatory, however it may be a good example for understanding the "variables created in functions" and concept of "passing objects (object, arrays and functions) by reference" in JavaScript.

The Riddle: 2 Rabbits and a Magic Hat 🐰 🐇 🎩

@vantu-code
vantu-code / test.json
Created November 12, 2019 10:24
Test
db.employees.insertMany([{"name": "Sue","age": 19,"phone": {"personal": "555-123-123","work": "555-456-456","ext": "2342"},"privileges": "user","favorites": { "artist": "Picasso", "food": "pizza"},"finished": [17,3],"badges": ["blue","black"],"points": [{ "points": 85, "bonus": 20},{ "points": 85, "bonus": 10}]},{"name": "Steve","age": 46,"phone": {"personal": "929-884-8752","work": "555-456-456","ext": "1109"},"privileges": "admin","favorites": { "artist": "Rembrandt", "food": "kroketten"},"finished": [25],"badges": ["red","blue"],"points": [{ "points": 12, "bonus": 5},{ "points": 40, "bonus": 0}]},{"name": "Bob","age": 42,"phone": {"personal": "555-123-123","work": "555-456-456","ext": "7673"},"privileges": "admin","favorites": { "artist": "Miro", "food": "meringue"},"finished": [11,25],"badges": ["green"],"points": [{ "points": 85, "bonus": 20},{ "points": 64, "bonus": 12}]},{"name": "Willy","age": 22,"phone": {"personal": "555-123-123","work": "555-456-456","ext": "8263"},"privileges": "user","favorites":
@vantu-code
vantu-code / README.md
Created November 15, 2019 13:07 — forked from ross-u/README.md
ExpressJS | GET & POST - Sending form data

ExpressJS | GET & POST