Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| /** | |
| * twig.async.js | |
| * | |
| * An asynchronous implementation of twigjs that returns a Promise on instantiation if the template is asynchronous. | |
| * Works just like twig(), but when instantiated, twigAsync returns a Promise. The twig template | |
| * is passed as the only parameter when resolving the Deferred object. | |
| * | |
| * e.g. | |
| * tpl = twigAsync({href:'/templates/profile/profile-welcomeNewDesign.twig'}); | |
| * $.when(tpl).done(function(twigTemplate){ |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| /* | |
| Written by Peter O. | |
| Any copyright to this work is released to the Public Domain. | |
| In case this is not possible, this work is also | |
| licensed under Creative Commons Zero (CC0): | |
| https://creativecommons.org/publicdomain/zero/1.0/ | |
| */ |
npm users sorted by the monthly downloads of their modules, for the range May 6, 2018 until Jun 6, 2018.
Metrics are calculated using top-npm-users.
| # | User | Downloads |
|---|
| // Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I) | |
| if(!!window.React || | |
| !!document.querySelector('[data-reactroot], [data-reactid]') || | |
| Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer'))) | |
| ) | |
| console.log('React.js'); | |
| if(!!document.querySelector('script[id=__NEXT_DATA__]')) | |
| console.log('Next.js'); |
| # Collection of one line text art (◕‿◕✿) | |
| Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗 | |
| ּבּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ |
| // ⚠️ works with Emotion 10 only! ⚠️ | |
| // 1. `yarn add emotion-server` | |
| // 2. copy the contents of this file into your `pages` directory | |
| // 3. save it as `_document.tsx` | |
| // should work out of the box | |
| import Document, { Head, Main, NextScript } from 'next/document'; |
feat: new featurefix(scope): bug in scopefeat!: breaking change / feat(scope)!: rework APIchore(deps): update dependenciesbuild: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, librariesBasic steps for adding Prettier to a project and setting up a pre-commit hook when not using any other linter. Most of these steps can be found in the docs and through other links in the docs.
$ npm install --save-dev --save-exact prettier
| version: '2.4' | |
| volumes: | |
| esdata: | |
| driver: local | |
| networks: | |
| backend: | |
| driver: bridge |