From 10dbf8b0c02835dffc1125aed1fcb6e92a5d9f45 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 6 Dec 2025 00:20:13 +0000 Subject: [PATCH] Update cheatsheets --- tldr/crontab | 6 +++--- tldr/kaggle | 14 +++++++------- tldr/kaggle-models | 33 +++++++++++++++++++++++++++++++++ tldr/nix-build.3 | 2 +- 4 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 tldr/kaggle-models diff --git a/tldr/crontab b/tldr/crontab index 60f4927b..d2aea1ee 100644 --- a/tldr/crontab +++ b/tldr/crontab @@ -28,14 +28,14 @@ source: https://github.com/tldr-pages/tldr.git `crontab -r` -- Sample job which runs at 10:00 every day (* means any value): +- Sample cron job which runs at 10:00 every day (* means any value): `0 10 * * * {{command_to_execute}}` -- Sample crontab entry, which runs a command every 10 minutes: +- Sample cron job which runs a command every 10 minutes: `*/10 * * * * {{command_to_execute}}` -- Sample crontab entry, which runs a certain script at 02:30 every Friday: +- Sample cron job which runs a certain script at 02:30 every Friday: `30 2 * * Fri /{{path/to/script.sh}}` diff --git a/tldr/kaggle b/tldr/kaggle index 3000341c..de8a6ad7 100644 --- a/tldr/kaggle +++ b/tldr/kaggle @@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git - Download a specific file from a competition dataset: -`kaggle competitions download {{competition}} {{[-f|--file]}} {{path/to/file}}` +`kaggle {{[c|competitions]}} download {{competition}} {{[-f|--file]}} {{path/to/file}}` - List competitions matching a search term: -`kaggle competitions list {{[-s|--search]}} {{search_term}}` +`kaggle {{[c|competitions]}} list {{[-s|--search]}} {{search_term}}` - List files available for a specific competition: -`kaggle competitions files {{competition}}` +`kaggle {{[c|competitions]}} files {{competition}}` - Submit a file to a competition with a message: -`kaggle competitions submit {{competition}} {{[-f|--file]}} {{path/to/submission.csv}} {{[-m|--message]}} "{{message}}"` +`kaggle {{[c|competitions]}} submit {{competition}} {{[-f|--file]}} {{path/to/submission.csv}} {{[-m|--message]}} "{{message}}"` - List datasets matching a search term: -`kaggle datasets list {{[-s|--search]}} {{search_term}}` +`kaggle {{[d|datasets]}} list {{[-s|--search]}} {{search_term}}` - Download all files from a dataset: -`kaggle datasets download {{owner}}/{{dataset_name}}` +`kaggle {{[d|datasets]}} download {{owner}}/{{dataset_name}}` - List kernels (notebooks) matching a search term: -`kaggle kernels list {{[-s|--search]}} {{search_term}}` +`kaggle {{[k|kernels]}} list {{[-s|--search]}} {{search_term}}` diff --git a/tldr/kaggle-models b/tldr/kaggle-models new file mode 100644 index 00000000..1227bfdc --- /dev/null +++ b/tldr/kaggle-models @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# kaggle models + +> Manage Kaggle models. +> More information: . + +- Get a model: + +`kaggle {{[m|models]}} get "{{model_name}}"` + +- List all models: + +`kaggle {{[m|models]}} list` + +- Initialize metadata file for model creation: + +`kaggle {{[m|models]}} init` + +- Create a new model: + +`kaggle {{[m|models]}} create` + +- Delete a model: + +`kaggle {{[m|models]}} delete "{{model_name}}"` + +- Update a model: + +`kaggle {{[m|models]}} update` diff --git a/tldr/nix-build.3 b/tldr/nix-build.3 index 14b022a7..d3eaed8f 100644 --- a/tldr/nix-build.3 +++ b/tldr/nix-build.3 @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Build a package from a flake in the current directory, showing the build logs in the process: -`nix build -L {{.#pkg}}` +`nix build {{[-L|--print-build-logs]}} {{.#pkg}}` - Build the default package from a flake in some directory: