Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

santosh suryawanshi git-santosh

Block or report user

Report or block git-santosh

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
@git-santosh
git-santosh / 0.md
Created Mar 15, 2019 — forked from maxogden/0.md
JS hoisting by example
View 0.md

JavaScript function hoisting by example

Below are many examples of function hoisting behavior in JavaScript. Ones marked as works successfuly print 'hi!' without errors.

To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js

Notes on hoisting

(I may be using incorrect terms below, please forgive me)

@git-santosh
git-santosh / media-query.css
Created Jan 24, 2019 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@git-santosh
git-santosh / aggregation_lookup.md
Created May 10, 2018 — forked from bertrandmartel/aggregation_lookup.md
MongoDB $lookup aggregation example
View aggregation_lookup.md

MongoDB $lookup aggregation

SO link

db.votes.aggregate([{
    $lookup: {
        from: "users",
        localField: "createdBy",
        foreignField: "_id",
You can’t perform that action at this time.