Skip to content

Instantly share code, notes, and snippets.

View iegik's full-sized avatar
🧾
Looking for work

Arturs Jansons iegik

🧾
Looking for work
View GitHub Profile
#!/bin/bash
USAGE=$(cat <<-EOM
Usage: ${0##*/} [PATCHES_FOLDER]
Applies all patches from provided folder.
Example for Android:
${0##*/} patches-android
@iegik
iegik / README.md
Last active December 7, 2023 09:47

unknown

unknown | any

;(unknownValue as Function).call(null)

infer

@iegik
iegik / Bug.md
Last active February 14, 2023 15:57

Summary

Minimal reproducible example

Expected behavior

Actual behavior

_

Don't allow sites to save data on your device

Will prevent use of localStorage, sessionStorage

chrome://settings/content/siteData

Settings > Privacy and security > Site settings > Additional content settings > On-device site data > Don't allow sites to save data on your device

localStorage
Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
@iegik
iegik / .prettierrc
Last active September 28, 2022 08:15
{
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true
}
@iegik
iegik / README.md
Last active September 16, 2022 08:12

_

@iegik
iegik / README.md
Last active November 17, 2022 10:24

Node.JS

Install

brew unlink node
brew unlink npm
brew install node@16
brew link --overwrite node@16
@iegik
iegik / CODE.md
Last active February 4, 2023 10:51