I hereby claim:
- I am markfknight on github.
- I am markfknight (https://keybase.io/markfknight) on keybase.
- I have a public key ASA_aAmdf2xYD1MYosH4n8fCOFRZiAVF1TQEB7AYYbBVVQo
To claim this, I am signing this object:
import { useEffect, useState } from 'react'; | |
function useTracking(page = '') { | |
const [pageName, setPageName] = useState(page); | |
useEffect(() => { | |
const track = (pageName: string): NodeJS.Timeout | null => { | |
let timeout: NodeJS.Timeout | null = null; | |
if ((window as any).analytics && pageName) { |
I hereby claim:
To claim this, I am signing this object:
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch Chrome against localhost", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:4200", | |
"webRoot": "${workspaceRoot}", | |
"userDataDir": "${workspaceRoot}/.vscode/chrome/", |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
@font-face { | |
font-family: 'Graublau Web'; | |
src: url('GraublauWeb.eot?') format('eot'), url('GraublauWeb.woff') format('woff'), url('GraublauWeb.ttf') format('truetype'); | |
} |
/* Adjusted to give override background and text colour */ | |
.highlight pre, pre, .highlight .hll { | |
background-color: #49483E; | |
border: 1px solid #ccc; | |
padding: 6px 10px; | |
border-radius: 3px; | |
color: #FFFFFF; | |
} | |
/* Highlights taken from https://gist.github.com/asaaki/1007420 for Monokai theme */ | |
.c { color: #75715e } /* Comment */ |