12-03
This commit is contained in:
73
.vscode/hosts/.md
vendored
Normal file
73
.vscode/hosts/.md
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
---
|
||||
created: 2024-06-24T20:55:46.000Z
|
||||
type: note
|
||||
updated: 2024-06-24T20:55:46.000Z
|
||||
---
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
```bash
|
||||
lsblk -I 8 -o NAME,SIZE,TYPE
|
||||
```
|
||||
|
||||
| NAME | SIZE | TYPE |
|
||||
|-------------------------|--------|------|
|
||||
|
||||
```bash
|
||||
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
|
||||
```
|
||||
|
||||
| Name | SIZE | TYPE | FSTYPE | MOUNTPOINT |
|
||||
|-----------------------|--------|------|-------------|--------------------------------|
|
||||
|
||||
```bash
|
||||
list disk
|
||||
```
|
||||
|
||||
| Disk ### | Status | Size | Free | Dyn | Gpt |
|
||||
|----------|--------|---------|---------|-----|-----|
|
||||
|
||||
```bash
|
||||
detail disk
|
||||
```
|
||||
|
||||
```yaml
|
||||
```
|
||||
|
||||
```bash
|
||||
list volume
|
||||
```
|
||||
|
||||
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|
||||
|------------|-----|-------------|-------|-----------|---------|---------|--------|
|
||||
|
||||
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
|
||||
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
|
||||
function query (data) {
|
||||
return _.chain(data)
|
||||
.orderBy(['identifier.id'], ['asc'])
|
||||
.map(item => ({
|
||||
"id": item?.identifier?.id,
|
||||
"version": item?.version,
|
||||
"publisherDisplayName": item?.metadata?.publisherDisplayName,
|
||||
"installedTimestamp": item?.metadata?.installedTimestamp,
|
||||
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
|
||||
}))
|
||||
.value()
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
```json vscode
|
||||
[]
|
||||
```
|
||||
|
||||
```json code-insiders
|
||||
[]
|
||||
```
|
||||
|
||||
```json codium
|
||||
[]
|
||||
```
|
Reference in New Issue
Block a user