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
{ | |
"useTabs": true, | |
"tabWidth": 4, | |
"semi": true, | |
"singleQuote": true, | |
"arrowParens": "avoid", | |
"jsxSingleQuote": false, | |
"trailingComma": "none", | |
"jsxBracketSameLine": false | |
} |
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 = { | |
extends: [ | |
'react-app', | |
'eslint:recommended', | |
'plugin:@typescript-eslint/recommended' | |
], | |
plugins: ['prettier'], | |
rules: { | |
'no-unused-vars': 'error', | |
'import/no-anonymous-default-export': 'error', |
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
# for this to work, you'll need to have the following in your .bashrc (if it | |
# isn't there already): | |
# if [ -f ~/.bash_aliases ]; then | |
# . ~/.bash_aliases | |
# fi | |
# ALIASES | |
# ls aliases | |
alias ll='ls -alh' | |
alias lf='ls -alF' |
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
type Query<TData> = { | |
data: TData; | |
}; | |
type QueryOne = { | |
queryOne: { | |
foo: string; | |
}; | |
}; |
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
code --install-extension aaron-bond.better-comments | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension mhutchie.git-graph | |
code --install-extension mikestead.dotenv | |
code --install-extension ms-vsliveshare.vsliveshare | |
code --install-extension ms-vsliveshare.vsliveshare-audio | |
code --install-extension ms-vsliveshare.vsliveshare-pack | |
code --install-extension nhoizey.gremlins | |
code --install-extension Orta.vscode-jest |
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
{ | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, |
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
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowPublicRead", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", |
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
/// Mixin to customize scrollbars | |
/// Beware, this does not work in all browsers | |
/// @author Hugo Giraudel | |
/// @param {Length} $size - Horizontal scrollbar's height and vertical scrollbar's width | |
/// @param {Color} $foreground-color - Scrollbar's color | |
/// @param {Color} $background-color [mix($foreground-color, white, 50%)] - Scrollbar's color | |
/// @example scss - Scrollbar styling | |
/// @include scrollbars(.5em, slategray); | |
@mixin scrollbars($size, $foreground-color, $background-color: mix($foreground-color, white, 50%)) { | |
// For Google Chrome |
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
// basic mobile checker | |
const isMobile = { | |
Android: () => navigator.userAgent.match(/Android/i), | |
BlackBerry: () => navigator.userAgent.match(/BlackBerry/i), | |
iOS: () => navigator.userAgent.match(/iPhone|iPad|iPod/i), | |
Opera: () => navigator.userAgent.match(/Opera Mini/i), | |
Windows: () => navigator.userAgent.match(/IEMobile/i), | |
any: () => (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows()) | |
}; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<link rel="stylesheet" href="style.css" /> | |
<link | |
rel="stylesheet" | |
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" |
NewerOlder