5 simple steps that I tested and used to make the change in under 1 minute.
-
Move the
masterbranch tomaingit branch --move master main
| <template> | |
| <div v-if="showMe" :class="[`variant-${variant}`]" class="rounded-md p-4"> | |
| <div class="flex"> | |
| <!-- LEADING ICON --> | |
| <div class="flex-shrink-0 icon"> | |
| <CheckCircleIcon v-if="variant === 'success'" class="h-5 w-5" aria-hidden="true"/> | |
| <InformationCircleIcon v-if="variant === 'info'" class="h-5 w-5 text-blue-400" aria-hidden="true"/> | |
| <ExclamationTriangleIcon v-if="variant === 'warn'" class="h-5 w-5" aria-hidden="true"/> | |
| <XCircleIcon v-if="variant === 'error'" class="h-5 w-5" aria-hidden="true"/> | |
| </div> |
| <template> | |
| <div | |
| class="d-flex flex-column justify-center align-end" | |
| style="height: 100%; width: 100%" | |
| > | |
| <!-- DRAG & DROP AREA --> | |
| <div | |
| class="drop d-flex flex-column justify-center align-center" | |
| :class="classes" | |
| @dragover.prevent="dragOver" |
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, libraries| import logging | |
| import sys | |
| def global_logger(name): | |
| logging.basicConfig( | |
| stream=sys.stdout, | |
| level=logging.INFO, | |
| format="%(asctime)s - %(levelname)s - %(name)s - %(funcName)s - %(message)s", | |
| ) | |
| return logging.getLogger(name) |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
| # Import module | |
| import logging | |
| # Logging to console | |
| logging.warning('Watch out!') # will print a message to the console | |
| logging.info('I told you so') # will not print anything | |
| >>>WARNING:root:Watch out! | |
| # Logging to a file | |
| logging.basicConfig(filename='example.log',level=logging.DEBUG) |