Skip to content

Instantly share code, notes, and snippets.

View m5kr1pka's full-sized avatar
:octocat:

Mantas Skripkauskas m5kr1pka

:octocat:
View GitHub Profile
@m5kr1pka
m5kr1pka / canvas-scroll-clip.js
Created October 24, 2022 19:05
canvas-scroll-clip React component example
import * as React from "react";
import CanvasScrollClip from "canvas-scroll-clip";
const CanvasScroll = ({ firstFrame, frameCount, frameScrollArea }) => {
const ref = React.createRef();
React.useEffect(() => {
new CanvasScrollClip(ref.current, {
framePath: firstFrame,
@m5kr1pka
m5kr1pka / privacy-matchers.json
Last active December 18, 2021 00:40
Most common privacy fields to be aware of in cross platform data exchange with personal information due to Privacy regulations (such as the GDPR or the CCPA)
[
{
"rule":"social security number",
"flag":"red"
},
{
"rule":"health",
"flag":"red"
},
{