Skip to content

Instantly share code, notes, and snippets.

View iegik's full-sized avatar
🏠
Working from home

Arturs Jansons iegik

🏠
Working from home
View GitHub Profile
@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

Responsive Design for Motion

MacOS: Settings > Accessibility -> Select Motion -> Reduce Motion.

.bar {
  animation-name: skew;
}
@media screen and (prefers-reduced-motion) {
  .bar {
 transition: none;

Share TTY

On remote screen:

ssh foo@bar

screen -d -m -S shared