Skip to content

Instantly share code, notes, and snippets.

View denisemauldin's full-sized avatar

Denise Mauldin denisemauldin

  • Noteworth
  • Seattle, WA
View GitHub Profile
@rileyrichter
rileyrichter / member.js
Created January 13, 2023 20:27
JS to gate content by member
const markButton = document.querySelector("#mark");
const unMarkButton = document.querySelector("#unmark");
let complete;
let button = document.querySelector(
"body > section.hero-heading-center.wf-section > div > div > div:nth-child(1) > a"
);
window.onload = (event) => {
markButton.addEventListener("click", markComplete);
// MIT License
// Copyright (c) 2020 Szabolcs Gelencsér
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
from django.db import connection, reset_queries
import time
import functools
def query_debugger(func):
@functools.wraps(func)
def inner_func(*args, **kwargs):
reset_queries()
@EE2dev
EE2dev / .block
Last active February 19, 2019 22:39
Sequence explorer - visitor flow
license: mit
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrgoos
mrgoos / app.module.ts
Last active May 27, 2022 19:42
Intercepting http request/respons in Angular 2. Works from version 2.3.0.
...
...
providers: [
{ provide: Http, useClass: ExtendedHttpService }
]
...
...
@d3noob
d3noob / .block
Last active January 13, 2022 23:01
Tree diagram using symbols for nodes in v4
license: mit