Skip to content

Instantly share code, notes, and snippets.

Avatar

Josef Ježek JosefJezek

  • Heart of Europe
View GitHub Profile
@JosefJezek
JosefJezek / npm-v7.md
Created Jul 7, 2021
npm v7 - public git dependencies
View npm-v7.md
View playwright-tips.md

Playwright Tips

Base Scripts

import {chromium, firefox, webkit} from 'playwright';

for (const browserType of [chromium, firefox, webkit]) {
  const browser = await browserType.launch();
  const page = await browser.newPage();
View css-snippets.md

CSS Snippets

my-element:not(:defined){}

View bash-snippets
## Dir Size
```sh
du -sh node_modules/* | sort -rh | head -n 10
```
View pwa-kit-2019.md

PWA Kit 2019

The PWA Kit 2019 is list of resources for building modern PWA apps based on new browser W3C standard Web Components.

Why Web Components

In the last several years, the component-based model for web application development was popularized, and the JavaScript community blossomed with a wide variety of libraries and approaches. Work on standardizing the web’s native component model began at Google in 2012, and after several years of open development, was successfully implemented across all major browsers in 2019.

Web components provide a standards-based solution to problems like reusability, interopability, and encapsulation. Using the browser's native component model will increase the longevity of your application. The web has an extremely strong tradition of backwards-compatibility, as standards bodies have consistently gone out of their way to maintain legacy APIs.

@JosefJezek
JosefJezek / weqqd
Created Feb 4, 2019
Network Testing
View weqqd
- https://talosintelligence.com