Skip to content

Instantly share code, notes, and snippets.

@davidberglund
davidberglund / Sample.vue
Created May 7, 2019 19:44 — forked from techlab23/Sample.vue
Vue Component
<template>
<div>
<h1> {{ message }} </h1>
<div
</template>
<script>
export default {
/* Child component registration */
components: {},
@davidberglund
davidberglund / python_decorator_guide.md
Created March 29, 2019 17:09 — forked from Zearin/python_decorator_guide.md
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].