Resources:
- https://github.com/blocklistproject/Lists
- https://help.obdev.at/littlesnitch4/ref-lsrules-file-format
const text = await Deno.readTextFile(INPUT_FILE);
import React from 'react'; | |
import gsap from 'gsap'; | |
function useAnimateHeight({ key, elementRef }) { | |
const prevKey = usePrevious(key); | |
const currentHeight = elementRef.current?.offsetHeight; | |
React.useEffect(() => { | |
if (!elementRef.current) { | |
return; |
/** | |
* @license | |
* Copyright (c) 2021 Paul Borm | |
* | |
* 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: |
DEPLOY_USER="" | |
DEPLOY_HOST="" | |
DEPLOY_HOST_DIR="" | |
DEPLOY_LOCAL_DIR="" | |
DEPLOY_EXCLUDE="" |
Resources:
const text = await Deno.readTextFile(INPUT_FILE);
/** | |
* @template Context | |
* @callback Handler | |
* @param {Context} context | |
* @param {function(): void} next | |
*/ | |
/** | |
* @template Context | |
* @example |