diff --git a/tldr/apkeep b/tldr/apkeep new file mode 100644 index 00000000..791ae943 --- /dev/null +++ b/tldr/apkeep @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# apkeep + +> Download APK files from various sources. +> More information: . + +- Download an APK file to the specified directory: + +`apkeep --app {{com.example.application}} {{path/to/directory}}` + +- List all available versions for download: + +`apkeep --app {{com.example.application}} --list-versions {{path/to/directory}}` + +- Specify a store to download from: + +`apkeep --app {{com.example.application}} --download-source {{apk-pure|google-play|f-droid|huawei-app-gallery}} {{path/to/directory}}` diff --git a/tldr/jupyterlab b/tldr/jupyterlab new file mode 100644 index 00000000..220c0998 --- /dev/null +++ b/tldr/jupyterlab @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# jupyter lab + +> Interactive development environment for Jupyter notebooks. +> More information: . + +- Start JupyterLab: + +`jupyter lab` + +- Open a specific notebook: + +`jupyter lab {{path/to/notebook.ipynb}}` + +- Start JupyterLab in a specific directory: + +`jupyter lab --notebook-dir {{path/to/directory}}` + +- Start JupyterLab in debug mode: + +`jupyter lab --debug` diff --git a/tldr/linux/flatpak-run b/tldr/linux/flatpak-run index 0806491b..e84d54f6 100644 --- a/tldr/linux/flatpak-run +++ b/tldr/linux/flatpak-run @@ -19,3 +19,11 @@ source: https://github.com/tldr-pages/tldr.git - Run an interactive shell inside a flatpak: `flatpak run --command={{sh}} {{com.example.app}}` + +- Run an installed application with a specific runtime version: + +`flatpak run --runtime-version={{24.08|master|stable|...}} {{com.example.app}}` + +- Run an installed application with a different runtime (but same version number): + +`flatpak run --runtime={{org.freedesktop.Sdk}} {{com.example.app}}` diff --git a/tldr/pnmmercator b/tldr/pnmmercator new file mode 100644 index 00000000..2f779f88 --- /dev/null +++ b/tldr/pnmmercator @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# pnmmercator + +> Perform Mercator transformations on Netpbm images. +> See also: `pnmglobe`. +> More information: . + +- Convert a rectangular projection worldmap to Mercator projection: + +`pnmmercator {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Convert a Mercator projection worldmap to rectangular projection: + +`pnmmercator -inverse {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/tldr/ppmdraw b/tldr/ppmdraw new file mode 100644 index 00000000..0931a709 --- /dev/null +++ b/tldr/ppmdraw @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ppmdraw + +> Draw lines, text and more on a PPM image by executing a script. +> Documentation on the utilized scripting language can be found by following the link below. +> More information: . + +- Draw on the specified PPM image by executing the supplied script: + +`ppmdraw -script '{{setpos 50 50; text_here "hello!"; }}' {{path/to/image.pnm}} > {{path/to/output.pnm}}` + +- Draw on the specified PPM image by executing the script in the specified file: + +`ppmdraw -scriptfile {{path/to/script}} {{path/to/image.pnm}} > {{path/to/output.pnm}}` diff --git a/tldr/ppmglobe b/tldr/ppmglobe new file mode 100644 index 00000000..3c1bdbd5 --- /dev/null +++ b/tldr/ppmglobe @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ppmglobe + +> Generate strips of an image suitable to be glued onto a sphere. +> See also: `pnmmercator`. +> More information: . + +- Transform an image to strips that can be cut out and glues onto a sphere: + +`ppmglobe {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` + +- Use the specified color for the areas between the strips: + +`ppmglobe -background {{red}} {{number_of_strips}} {{path/to/image.ppm}} > {{path/to/output.ppm}}` diff --git a/tldr/vmtouch b/tldr/vmtouch new file mode 100644 index 00000000..95984ebb --- /dev/null +++ b/tldr/vmtouch @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# vmtouch + +> Manage the filesystem cache. +> More information: . + +- Print the cache status of a file: + +`vmtouch {{path/to/file}}` + +- Load a file into cache: + +`vmtouch -t {{path/to/file}}` + +- Evict a file from cache: + +`vmtouch -e {{path/to/file}}` + +- Lock a file in cache to prevent eviction from memory: + +`vmtouch -l {{path/to/file}}` + +- Lock a file and daemonize the program: + +`vmtouch -ld {{path/to/file}}`