This file contains 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
// Adjust version of Eric Meyers Browser Reset 2.0 | |
html, | |
body, | |
div, | |
span, | |
applet, | |
object, | |
iframe, | |
blockquote, | |
pre, |
This file contains 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
$layout--breakpoints: ('xsmall': 480px, 'small': 640px, 'medium': 768px, 'large': 860px, 'xlarge': 1040px) !default; | |
@mixin respond-to($args...) { | |
@each $name in $args { | |
@if map-has-key($layout--breakpoints, $name) { | |
@media only screen and (min-width: #{map-get($layout--breakpoints, $name)}) { | |
@content; | |
} | |
} |
This file contains 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
module.exports = { | |
plugins: ['@typescript-eslint'], | |
parserOptions: { | |
parser: require.resolve('@typescript-eslint/parser'), | |
ecmaVersion: 2020 | |
}, | |
extends: [ | |
'eslint-config-standard', | |
'plugin:@typescript-eslint/eslint-recommended', | |
'plugin:@typescript-eslint/recommended' |
This file contains 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
Show hidden characters
{ | |
"compilerOptions": { | |
"paths": { | |
"@/*": [ | |
"src/*" | |
] | |
} | |
} | |
} |
This file contains 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
module.exports = { | |
plugins: [ | |
require('tailwindcss'), | |
require('autoprefixer'), | |
...(process.env.NODE_ENV === 'production' ? [purgecss] : []) | |
] | |
}; |
This file contains 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
name: Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
name: Release |
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 4 columns, instead of 3 in line 8.
This file contains 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
Name,Description,Link,Quick Start | |
barrier,Open-source KVM software,https://github.com/debauchee/barrier,apt install barrier | |
based.cooking,A simple culinary website,https://github.com/LukeSmithxyz/based.cooking,based.cooking | |
Bundlephobia,Find the cost of adding a npm package to your bundle,https://github.com/pastelsky/bundlephobia,https://bundlephobia.com | |
catt,Cast All The Things allows you to send videos from many online sources to your Chromecast,https://github.com/skorokithakis/catt,python3 -m pip install catt | |
clean-code-javascript,🛁 Clean Code concepts adapted for JavaScript,https://github.com/ryanmcdermott/clean-code-javascript,https://github.com/ryanmcdermott/clean-code-javascript#introduction | |
entr,Run arbitrary commands when files change,https://github.com/eradman/entr,curl https://eradman.com/entrproject/code/entr-5.0.tar.gz -o entr-5.0 | |
flameshot,Powerful yet simple to use screenshot software 🖥️ 📸,https://github.com/flameshot-org/flameshot,apt install flameshot | |
fzf,🌸 A command-line fuzzy finder,https:/ |
This file contains 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
/** | |
* If a object has a property with Array<{ [key]: val }> and you want to make the array object values partial | |
*/ | |
export type PartialByArray<T, K extends keyof T> = Exclude<T, K> & { | |
[key in K]: Array<{ [B in keyof T[K]]: Partial<T[K][B]> }> | |
} |
This file contains 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
const fetchVersion = () => { | |
return { | |
name: 'html-transform', | |
transformIndexHtml(html) { | |
return html.replace( | |
/__APP_VERSION__/, | |
`v${process.env.npm_package_version}` | |
) | |
} | |
} |