Skip to content

Instantly share code, notes, and snippets.

View tim-andes's full-sized avatar

tacodes tim-andes

View GitHub Profile
@edupacios
edupacios / php.json
Created April 14, 2016 01:53
Visual Studio Code PHP snippets
{
"New php class": {
"prefix": "cla",
"body": [
"<?php",
"",
"namespace ${1:namespace};",
"",
"class ${2}",
"{",
@max-mapper
max-mapper / 0.md
Last active February 25, 2024 12:24
JS hoisting by example

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)

@sloria
sloria / bobp-python.md
Last active May 1, 2024 08:37
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens