See also:
Service | Type | RAM | Storage | Limitations |
---|---|---|---|---|
👉 Adaptable | PaaS | 256 MB | Non-persistent? (1 GB database storage available) | |
AWS EC2 | IaaS | 1 GB |
/** @type {import('express').RequestHandler} */ |
export default { | |
printWidth: 120, // max 120 chars in line, code is easy to read | |
useTabs: false, // use spaces instead of tabs | |
tabWidth: 2, // "visual width" of of the "tab" | |
trailingComma: 'es5', // add trailing commas in objects, arrays, etc. | |
semi: true, // add ; when needed | |
singleQuote: true, // '' for stings instead of "" | |
bracketSpacing: true, // import { some } ... instead of import {some} ... | |
arrowParens: 'always', // braces even for single param in arrow functions (a) => { } | |
jsxSingleQuote: false, // "" for react props, like in html |
# alias set | |
alias cls="clear" | |
alias dtgr="echo 'running: sudo pacman -Syu'; sudo pacman -Syu" | |
alias ud="echo 'running: sudo updatedb'; sudo updatedb" | |
alias bat="batcat" | |
alias purge="echo -n '\nRunning sudo pacman -Rns $(pacman -Qtdq) && sudo pacman -Sc\n\n'; sudo pacman -Rns $(pacman -Qtdq) && sudo pacman -Sc" | |
# alias docker="sudo docker" | |
alias mv="mv -i" | |
# complex command |
# alias set | |
alias cls="clear" | |
alias dtgr="echo 'running: sudo apt update && sudo apt upgrade'; sudo apt update && sudo apt -y upgrade" | |
alias ud="echo 'running: sudo updatedb'; sudo updatedb" | |
alias bat="batcat" | |
alias purge="echo -n '\nRunning sudo apt autopurge, autoremove, autoclean\n\n'; sudo apt autopurge; sudo apt autoremove; sudo apt autoclean;" | |
# alias docker="sudo docker" | |
alias mv="mv -i" | |
# complex command |
@layer base { | |
input[type="number"]::-webkit-outer-spin-button, | |
input[type="number"]::-webkit-inner-spin-button, | |
input[type="number"] { | |
@apply [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none; | |
} | |
} | |
/* General CSS can also be added in tailwind.config.js file */ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Focus Next Input Field on Enter</title> | |
</head> | |
<body> | |
<input type="number" class="input-field" /> | |
<input type="number" class="input-field" /> | |
<input type="number" class="input-field" /> |