Skip to content

Instantly share code, notes, and snippets.

🤠
¯\_(ツ)_/¯

Leo Taifa Merinen leotm

🤠
¯\_(ツ)_/¯
Block or report user

Report or block leotm

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
@leotm
leotm / gist:d5b44be19b7cea524701dd93bf02c4cf
Created Jul 17, 2018 — forked from paulirish/gist:4158604
Learn JavaScript concepts with recent DevTools features
View gist:d5b44be19b7cea524701dd93bf02c4cf

Learn JavaScript concepts with the Chrome DevTools

Authored by Peter Rybin , Chrome DevTools team

In this short guide we'll review some new Chrome DevTools features for "function scope" and "internal properties" by exploring some base JavaScript language concepts.

Closures

Let's start with closures – one of the most famous things in JS. A closure is a function, that uses variables from outside. See an example:

@leotm
leotm / restartGhost.sh
Created Sep 21, 2017 — forked from hyharryhuang/restartGhost.sh
Restart Ghost Blog
View restartGhost.sh
sudo service nginx restart
sudo service ghost restart
@leotm
leotm / page.hbs
Created Oct 9, 2015 — forked from jack0088/page.hbs
Ghost - List of posts inside post.hbs and page.hbs
View page.hbs
...
{{> posts_list}}
...
You can’t perform that action at this time.