chore: fmt (prettier@2.x)

This commit is contained in:
AJ ONeal
2023-10-11 23:20:36 +00:00
parent 22e35e612e
commit a2e4368da8
3 changed files with 20 additions and 20 deletions

View File

@@ -21,14 +21,14 @@ ffmpeg -i input.m4a output.mp3
```
Important information per https://johnvansickle.com/ffmpeg/release-readme.txt
> Notes: A limitation of statically linking `glibc` is the loss of DNS resolution. Installing `nscd` through your package manager will fix this.
*This is relevant if using ffmpeg to relay to an RTMP server via domain name.*
> Notes: A limitation of statically linking `glibc` is the loss of DNS
> resolution. Installing `nscd` through your package manager will fix this.
_This is relevant if using ffmpeg to relay to an RTMP server via domain name._
```sh
# for example, this will not work without `nscd` installed.
ffmpeg -re -stream_loop -1 -i "FooBar.m4v" -c copy -f flv rtmp://stream.example.com/foo/bar
```

View File

@@ -91,22 +91,23 @@ console.log(list.join('\n -'));
Note: This will _NOT_ work in Command.exe. You must get _Windows Terminal_ from
the Microsoft Store.
You can update the font in the Windows Terminal settings either for the "Defaults" profile (which applies to all profiles unless overwritten) or individually for different profiles under `Settings -> <profile_name> -> Appearance -> Font face`:
You can update the font in the Windows Terminal settings either for the
"Defaults" profile (which applies to all profiles unless overwritten) or
individually for different profiles under
`Settings -> <profile_name> -> Appearance -> Font face`:
![Windows Terminal Settings](windows-terminal-settings-01.png 'Opening Settings in Windows Terminal')
![Windows Terminal Settings](windows-terminal-settings-02.png 'Setting Nerd Font in Windows Terminal Defaults profile')
(Screenshots taken with Windows Terminal version 1.16.10262.0)
Additionally, you can update `profiles.defaults.font.face` in the Windows Terminal settings.json directly:
Additionally, you can update `profiles.defaults.font.face` in the Windows
Terminal settings.json directly:
```json
{
"profiles":
{
"defaults":
{
"font":
{
"profiles": {
"defaults": {
"font": {
"face": "DroidSansMono NF"
}
}

View File

@@ -11,10 +11,9 @@ To update or switch versions, run `webi sttr@stable` (or `@v0.2.16` etc).
> `sttr` makes it easy to perform various operations on string.
## Basic Usage
* After installation simply run `sttr` command.
- After installation simply run `sttr` command.
```sh
// For interactive menu
@@ -25,7 +24,7 @@ sttr
// Can also press UP-Down arrows select various operations.
```
* Working with help.
- Working with help.
```sh
sttr -h
@@ -35,7 +34,7 @@ sttr zeropad -h
sttr md5 -h
```
* Working with files input.
- Working with files input.
```sh
sttr {command-name} {filename}
@@ -45,22 +44,22 @@ sttr md5 file.txt
sttr md-html Readme.md
```
* Writing output to file.
- Writing output to file.
```sh
sttr yaml-json file.yaml > file-output.json
```
* Taking input from other command.
- Taking input from other command.
```sh
curl https: //jsonplaceholder.typicode.com/users | sttr json-yaml
```
* Chaining the different processor.
- Chaining the different processor.
```sh
sttr md5 hello | sttr base64-encode
echo "Hello World" | sttr base64-encode | sttr md5
```
```