From 8454586d22d2c0abfff4daa6429c944756d0b1bb Mon Sep 17 00:00:00 2001 From: znarfm <44516102+znarfm@users.noreply.github.com> Date: Wed, 5 Nov 2025 22:29:59 +0800 Subject: [PATCH 1/4] *: remove usage of "foobar" --- pages/common/cadaver.md | 4 ++-- pages/common/mlr.md | 4 ++-- pages/common/npm-adduser.md | 6 +++--- pages/common/robo.md | 4 ++-- pages/common/wget2.md | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pages/common/cadaver.md b/pages/common/cadaver.md index 62da170f7e2002..a729846019e9b4 100644 --- a/pages/common/cadaver.md +++ b/pages/common/cadaver.md @@ -7,9 +7,9 @@ `cadaver {{http://dav.example.com/}}` -- Connect to a server using a specific port and open the collection `/foo/bar/`: +- Connect to a server using a specific port and open a collection: -`cadaver {{http://dav.example.com:8022/foo/bar/}}` +`cadaver {{http://dav.example.com:8022/path/to/collection/}}` - Connect to a server using SSL: diff --git a/pages/common/mlr.md b/pages/common/mlr.md index d2202f3da82780..3e41eaedf37d54 100644 --- a/pages/common/mlr.md +++ b/pages/common/mlr.md @@ -9,7 +9,7 @@ - Receive JSON data and pretty print the output: -`echo '{"hello":"world"}' | mlr --ijson --opprint cat` +`echo '{"key":"value"}' | mlr --ijson --opprint cat` - Sort alphabetically on a field: @@ -25,7 +25,7 @@ - Receive JSON and format the output as vertical JSON: -`echo '{"hello":"world", "foo":"bar"}' | mlr --ijson --ojson --jvstack cat` +`echo '{"keyA":"valueA", "keyB":"valueB"}' | mlr --ijson --ojson --jvstack cat` - Filter lines of a compressed CSV file treating numbers as [S]trings: diff --git a/pages/common/npm-adduser.md b/pages/common/npm-adduser.md index 0c2ca68a989248..38a3957131c4be 100644 --- a/pages/common/npm-adduser.md +++ b/pages/common/npm-adduser.md @@ -9,12 +9,12 @@ - Log in to a private registry with a specific scope: -`npm login --scope {{@mycorp}} --registry {{https://registry.mycorp.com}}` +`npm login --scope {{@organization}} --registry {{https://registry.mycorp.com}}` - Log out from a specific scope and remove the auth token: -`npm logout --scope {{@mycorp}}` +`npm logout --scope {{@organization}}` - Create a scoped package during initialization: -`npm init --scope {{@foo}} {{[-y|--yes]}}` +`npm init --scope {{@organization}} {{[-y|--yes]}}` diff --git a/pages/common/robo.md b/pages/common/robo.md index dc12ed76c4ebb2..05efa795eb84cc 100644 --- a/pages/common/robo.md +++ b/pages/common/robo.md @@ -9,8 +9,8 @@ - Run a specific command: -`robo {{foo}}` +`robo {{command}}` - Simulate running a specific command: -`robo --simulate {{foo}}` +`robo --simulate {{command}}` diff --git a/pages/common/wget2.md b/pages/common/wget2.md index 4baab81216c88b..fce41e9036ac19 100644 --- a/pages/common/wget2.md +++ b/pages/common/wget2.md @@ -7,11 +7,11 @@ - Download the contents of a URL to a file using multiple threads (default behavior differs from `wget`): -`wget2 {{https://example.com/foo}}` +`wget2 {{https://example.com/resource}}` - Limit the number of threads used for downloading (default is 5 threads): -`wget2 --max-threads {{10}} {{https://example.com/foo}}` +`wget2 --max-threads {{10}} {{https://example.com/resource}}` - Download a single web page and all its resources (scripts, stylesheets, images, etc.): From 51f5d4ede1610d9088b5aeaf3f7b5ddde5f6cf92 Mon Sep 17 00:00:00 2001 From: Meinard Francisco <44516102+znarfm@users.noreply.github.com> Date: Thu, 6 Nov 2025 22:21:30 +0800 Subject: [PATCH 2/4] mlr: update example --- pages/common/mlr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/mlr.md b/pages/common/mlr.md index 3e41eaedf37d54..74c20d07b22b8f 100644 --- a/pages/common/mlr.md +++ b/pages/common/mlr.md @@ -25,7 +25,7 @@ - Receive JSON and format the output as vertical JSON: -`echo '{"keyA":"valueA", "keyB":"valueB"}' | mlr --ijson --ojson --jvstack cat` +`echo '{"key1":"value1", "key2":"value2"}' | mlr --ijson --ojson --jvstack cat` - Filter lines of a compressed CSV file treating numbers as [S]trings: From 454869d1f8b51638f2adfc68e7ca81844fced392 Mon Sep 17 00:00:00 2001 From: Meinard Francisco <44516102+znarfm@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:28:11 +0800 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/mlr.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/mlr.md b/pages/common/mlr.md index 74c20d07b22b8f..15f09f13946a06 100644 --- a/pages/common/mlr.md +++ b/pages/common/mlr.md @@ -9,7 +9,7 @@ - Receive JSON data and pretty print the output: -`echo '{"key":"value"}' | mlr --ijson --opprint cat` +`{{echo '{"key":"value"}'}} | mlr --ijson --opprint cat` - Sort alphabetically on a field: @@ -25,7 +25,7 @@ - Receive JSON and format the output as vertical JSON: -`echo '{"key1":"value1", "key2":"value2"}' | mlr --ijson --ojson --jvstack cat` +`{{echo '{"key1":"value1", "key2":"value2"}'}} | mlr --ijson --ojson --jvstack cat` - Filter lines of a compressed CSV file treating numbers as [S]trings: From 3248ab0ba7f16eb83e59bbf61d42e4a8cc3be1fa Mon Sep 17 00:00:00 2001 From: Meinard Francisco <44516102+znarfm@users.noreply.github.com> Date: Sun, 9 Nov 2025 07:58:56 +0800 Subject: [PATCH 4/4] Update pages/common/npm-adduser.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/npm-adduser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/npm-adduser.md b/pages/common/npm-adduser.md index 38a3957131c4be..b323c35daeb6d6 100644 --- a/pages/common/npm-adduser.md +++ b/pages/common/npm-adduser.md @@ -9,7 +9,7 @@ - Log in to a private registry with a specific scope: -`npm login --scope {{@organization}} --registry {{https://registry.mycorp.com}}` +`npm login --scope {{@organization}} --registry {{https://registry.example.com}}` - Log out from a specific scope and remove the auth token: