lsblk -o name,model,serial
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
| 1) Rebase from VS Code | |
| 2) Select rebase plan (select interactive) in VS Code | |
| 3) If conflict -> solve conflicts in VS Code | |
| 4) Add changes | |
| git add <files> (or in VS Code) | |
| 5) rebase |
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
| #!/bin/sh | |
| systemctl restart pve-cluster | |
| systemctl restart pvedaemon | |
| systemctl restart pveproxy | |
| systemctl restart pvestatsd |
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
| # git reset (n: number of commits) | |
| git reset HEAD~n | |
| # Rename branch | |
| git branch -m <oldname> <newname> | |
| git push -f | |
| No upstream branch... | |
| git push origin HEAD |
https://www.youtube.com/watch?v=rA0pcmqpRx4&t=3s
{
"brand": "bhyve",
"alias": "bionic-k8-master",
"ram": "2048",
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
| tree -I "node_modules|bower_components" -L 3 | |
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
| # Recompose | |
| A recompose stack is something like this: | |
| import * as R from "recompose"; | |
| const enhance = R.compose( | |
| R.withProps({text: "Click Me"}), | |
| R.withStateHandler({ active: false }, { | |
| onClick: ({ active }) => event => ({ | |
| active: !active, | |
| }), |
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
| file-icons |
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
| # POST w/ token | |
| curl -H "Authorization: bearer $TOKEN" -H "Content-Type: application/json" -X POST -d ' | |
| { "invoice": | |
| { | |
| "matter": "5bc9a264da9a42bee9c9cf48", | |
| "unitPrice": 10200 | |
| } | |
| }' http://localhost:4000/api/invoices | |
| # POST |