Code style
This commit is contained in:
parent
95365bf812
commit
6b52dbc0ab
24
.editorconfig
Normal file
24
.editorconfig
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.{pug,styl}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[docker-compose.yml]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
@ -11,6 +11,6 @@ export default function() {
|
|||||||
// Middle click was pushed
|
// Middle click was pushed
|
||||||
window.open(href, '_blank')
|
window.open(href, '_blank')
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,4 +4,4 @@ date: 2022-04-16T08:45:13Z
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Filler 1
|
Filler 1
|
||||||
|
|||||||
@ -4,4 +4,4 @@ date: 2022-04-17T08:45:13Z
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Filler 2
|
Filler 2
|
||||||
|
|||||||
@ -4,4 +4,4 @@ date: 2022-04-18T08:45:13Z
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Filler 3
|
Filler 3
|
||||||
|
|||||||
@ -4,4 +4,4 @@ date: 2022-04-19T08:45:13Z
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Filler 4
|
Filler 4
|
||||||
|
|||||||
@ -8,4 +8,4 @@ We can echo the result of the current timestamp subtracted from the last edit ti
|
|||||||
|
|
||||||
```
|
```
|
||||||
echo $(expr $(date +%s) - $(grep -rn -A 1 %INSTALLDATE% /var/lib/pacman/local/*/desc | grep -oP '\d{10,}$' | sort | tail -1))
|
echo $(expr $(date +%s) - $(grep -rn -A 1 %INSTALLDATE% /var/lib/pacman/local/*/desc | grep -oP '\d{10,}$' | sort | tail -1))
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user