-
https://github.com/typescript-cheatsheets/typescript-utilities-cheatsheet
-
https://github.com/andnp/SimplyTyped - simplytyped
-
https://github.com/stereobooster/type-o-rama - JS type systems interportability
-
https://github.com/piotrwitek/utility-types - Utility Types for TypeScript (provide compatibility with Flow's Utility Types)
-
https://github.com/krzkaczor/ts-essentials - All essential TypeScript types in one place
-
https://github.com/LeDDGroup/typescript-conditional-types - Helpers for typescript generic types
-
https://github.com/piotrwitek/utility-types - Type utilities for typescript
-
https://github.com/sindresorhus/type-fest - A collection of essential TypeScript types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker ps | awk '{print $1}' | xargs docker stop | |
ctrl+\ (near enter) send SIGQUIT signal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var next = (current + 1) % slides.length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name 'node_modules' -type d -prune -exec rm -rvf '{}' + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.10.1 AS base | |
WORKDIR /app | |
RUN apk add --update --no-cache nodejs | |
FROM base AS build | |
# install npm/node-gyp dependencies | |
# RUN apk add --virtual .gyp python make g++ | |
RUN apk add npm python make g++ | |
# install dependencies | |
COPY package*.json ./ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// encode | |
`echo $i | jq -rR '@uri'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in */.git; do ( echo $i; cd $i/..; git pull; ); done |
- https://github.com/colscott/a-wc-router
- https://github.com/matthewp/inline-confirmation
- https://github.com/github/include-fragment-element
- https://github.com/gustafnk/h-include
- https://github.com/geocine/custom-elements-ts
- https://github.com/mateusortiz/webcomponents-the-right-way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// npm i -D source-map-loader webpack-cli circular-dependency-plugin babel-loader css-loader sass-loader @babel/preset-env @babel/preset-react | |
// npx webpack --config=~webpack.config.js | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
module.exports = async (options) => ({ | |
entry: { | |
app: `${__dirname}/src/index.js`, | |
}, | |
output: { | |
path: `${__dirname}/dist`, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.html | |
<script type="text/javascript"> | |
//# sourceURL=index.js | |
</script> |