TL;DR: If you want to see me perform a spoken word poem about JavaScript in front of 1000 people (and on video), please ⭐ star this gist. If you're on mobile, you'll need to request desktop site.
var exchange = require('./exchange'); | |
module.exports = BinaryHeap; | |
function BinaryHeap(scoreFunction, options){ | |
this.content = []; | |
if (options) | |
this.options = options; | |
else | |
this.options = {}; |
from time import time | |
from functools import wraps | |
def simple_time_tracker(log_fun): | |
def _simple_time_tracker(fn): | |
@wraps(fn) | |
def wrapped_fn(*args, **kwargs): | |
start_time = time() | |
try: |
# Javascript Node 8 simple CircleCI 2.0 configuration file | |
# Eduardo San Martin Morote | |
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | |
# Put this file in a .circleci/ folder | |
version: 2 | |
jobs: | |
build: | |
docker: |
In this talk we will be all discussing the origin of the furry fandom. How we will thogheter create a new furry-in-js framework. We will going over how they have changed the current fandom world, our hearts and the js world in 5 very awesome minutes! This talk is to prove a point that stars mean nothing in this case.
// note - this was my rough working prototype, but still left some artifacts in the query params. | |
// todo: also need to debounce the history pushes | |
// see comments for production Gatsby and Svelte versions which delete nondefault keys in the query params | |
import React from 'react' | |
import queryString from "query-string" | |
export const connectRouterState = defaultURLState => Component => props => { | |
const { history, location } = props | |
// note: do not nest objects in URL state |