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
| #Example | |
| https://blog.selectel.com/managing-logging-systemd/ | |
| # export | |
| sudo journalctl -u kestrel-mysite.service -o cat > log2.txt | |
| #purge journalctl | |
| sudo journalctl --rotate --vacuum-time=1s | |
| #show recent log |
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
| TRUNCATE TABLE table_name RESTART IDENTITY; | |
| TRUNCATE TABLE "AspNetUsers" CASCADE; |
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 windows: | |
| 1. install go package from following | |
| https://golang.org/dl/ | |
| 2. From Git bash (may follow like): | |
| mkdir -p $GOPATH/src/<project-root>/<user-name>/<project-name> | |
| example: | |
| mkdir -p $GOPATH/src/github.com/bluetoothfx/restapi | |
| 3. If it fails to create GO folder then do set Go path by below command |
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
| Eventbus: | |
| https://alligator.io/vuejs/global-event-bus/ | |
| Materialize Css: | |
| https://materializecss.com |
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
| Open VS code in a specific directory | |
| > code . | |
| Open terminal VS Code | |
| > Ctrl + ` | |
| Duplicate line: | |
| > Alt + Shift + Up/Down Arrow | |
| Move a Line Up/Down: |
NewerOlder