conversations
listlengths
2
2
[ { "from": "human", "value": "Make a new recording, limiting any idle time to at most 2.5 seconds" }, { "from": "gpt", "value": "asciinema rec [-i|--idle-time-limit] 2.5" } ]
[ { "from": "human", "value": "Print the full output of a locally saved recording" }, { "from": "gpt", "value": "asciinema cat path/to/recording.cast" } ]
[ { "from": "human", "value": "Upload a locally saved terminal session to asciinema.org" }, { "from": "gpt", "value": "asciinema upload path/to/recording.cast" } ]
[ { "from": "human", "value": "Execute a TypeScript file without compiling (`node` + `tsc`)" }, { "from": "gpt", "value": "ts-node path/to/file.ts" } ]
[ { "from": "human", "value": "Execute a TypeScript file without loading `tsconfig.json`" }, { "from": "gpt", "value": "ts-node --skip-project path/to/file.ts" } ]
[ { "from": "human", "value": "Evaluate TypeScript code passed as a literal" }, { "from": "gpt", "value": "ts-node --eval 'console.log(\"Hello World\")'" } ]
[ { "from": "human", "value": "Execute a TypeScript file in script mode" }, { "from": "gpt", "value": "ts-node --script-mode path/to/file.ts" } ]
[ { "from": "human", "value": "Transpile a TypeScript file to JavaScript without executing it" }, { "from": "gpt", "value": "ts-node --transpile-only path/to/file.ts" } ]
[ { "from": "human", "value": "Display TS-Node help" }, { "from": "gpt", "value": "ts-node --help" } ]
[ { "from": "human", "value": "Trim whitespace from a file" }, { "from": "gpt", "value": "cat path/to/file | git stripspace" } ]
[ { "from": "human", "value": "Trim whitespace and Git comments from a file" }, { "from": "gpt", "value": "cat path/to/file | git stripspace --strip-comments" } ]
[ { "from": "human", "value": "Convert all lines in a file into Git comments" }, { "from": "gpt", "value": "git stripspace --comment-lines < path/to/file" } ]
[ { "from": "human", "value": "Split a file, each split having 10 lines (except the last split)" }, { "from": "gpt", "value": "split [-l|--lines] 10 path/to/file" } ]
[ { "from": "human", "value": "Split a file into 5 files. File is split such that each split has same size (except the last split)" }, { "from": "gpt", "value": "split [-n|--number] 5 path/to/file" } ]
[ { "from": "human", "value": "Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes)" }, { "from": "gpt", "value": "split [-b|--bytes] 512 path/to/file" } ]
[ { "from": "human", "value": "Split a file with at most 512 bytes in each split without breaking lines" }, { "from": "gpt", "value": "split [-C|--line-bytes] 512 path/to/file" } ]
[ { "from": "human", "value": "Show why the currently running NixOS system requires a certain store path" }, { "from": "gpt", "value": "nix why-depends /run/current-system /nix/store/..." } ]
[ { "from": "human", "value": "Show why a package from nixpkgs requires another package as a _build-time_ dependency" }, { "from": "gpt", "value": "nix why-depends --derivation nixpkgs#dependent nixpkgs#dependency" } ]
[ { "from": "human", "value": "Format all source files" }, { "from": "gpt", "value": "cargo fmt" } ]
[ { "from": "human", "value": "Check for formatting errors without writing to the files" }, { "from": "gpt", "value": "cargo fmt --check" } ]
[ { "from": "human", "value": "Pass arguments to each `rustfmt` call" }, { "from": "gpt", "value": "cargo fmt -- rustfmt_args" } ]
[ { "from": "human", "value": "Install a package, automatically installing dependencies" }, { "from": "gpt", "value": "raco pkg install --auto package_source" } ]
[ { "from": "human", "value": "Install the current directory as a package" }, { "from": "gpt", "value": "raco pkg install" } ]
[ { "from": "human", "value": "Build (or rebuild) bytecode, documentation, executables, and metadata indexes for collections" }, { "from": "gpt", "value": "raco setup collection1 collection2 ..." } ]
[ { "from": "human", "value": "Run tests in files" }, { "from": "gpt", "value": "raco test path/to/tests1.rkt path/to/tests2.rkt ..." } ]
[ { "from": "human", "value": "Search local documentation" }, { "from": "gpt", "value": "raco docs search_terms ..." } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "raco help" } ]
[ { "from": "human", "value": "List all supported raster formats" }, { "from": "gpt", "value": "gdalinfo --formats" } ]
[ { "from": "human", "value": "List information about a specific raster dataset" }, { "from": "gpt", "value": "gdalinfo path/to/input.tif" } ]
[ { "from": "human", "value": "List information about a specific raster dataset in JSON format" }, { "from": "gpt", "value": "gdalinfo -json path/to/input.tif" } ]
[ { "from": "human", "value": "Show histogram values of a specific raster dataset" }, { "from": "gpt", "value": "gdalinfo -hist path/to/input.tif" } ]
[ { "from": "human", "value": "List information about a Web Map Service (WMS)" }, { "from": "gpt", "value": "gdalinfo WMS:https://services.meggsimum.de/geoserver/ows" } ]
[ { "from": "human", "value": "List information about a specific dataset of a Web Map Service (WMS)" }, { "from": "gpt", "value": "gdalinfo WMS:https://services.meggsimum.de/geoserver/ows -sd 4" } ]
[ { "from": "human", "value": "Deploy the current directory" }, { "from": "gpt", "value": "now" } ]
[ { "from": "human", "value": "Display a list of deployments" }, { "from": "gpt", "value": "now list" } ]
[ { "from": "human", "value": "Display information related to a deployment" }, { "from": "gpt", "value": "now inspect deployment_url" } ]
[ { "from": "human", "value": "Remove a deployment" }, { "from": "gpt", "value": "now remove deployment_id" } ]
[ { "from": "human", "value": "Log in into an account or create a new one" }, { "from": "gpt", "value": "now login" } ]
[ { "from": "human", "value": "Initialize an example project (a new directory will be created)" }, { "from": "gpt", "value": "now init" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr pamdepth" } ]
[ { "from": "human", "value": "View current configuration in JSON format" }, { "from": "gpt", "value": "pulumi config --json" } ]
[ { "from": "human", "value": "View configuration for a specified stack" }, { "from": "gpt", "value": "pulumi config --stack stack_name" } ]
[ { "from": "human", "value": "Get the value of a configuration key" }, { "from": "gpt", "value": "pulumi config get key" } ]
[ { "from": "human", "value": "Remove a configuration value" }, { "from": "gpt", "value": "pulumi config rm key" } ]
[ { "from": "human", "value": "Set a value for a configuration key from a file" }, { "from": "gpt", "value": "cat path/to/file | pulumi config set key" } ]
[ { "from": "human", "value": "Set a secret value (e.g. API key) for a configuration key and store/display as ciphertext" }, { "from": "gpt", "value": "pulumi config set --secret key S3cr37_value" } ]
[ { "from": "human", "value": "Remove multiple configuration values from a specified configuration file" }, { "from": "gpt", "value": "pulumi config --config-file path/to/file rm-all key1 key2 ..." } ]
[ { "from": "human", "value": "Print messages about the patched files" }, { "from": "gpt", "value": "git apply --verbose path/to/file" } ]
[ { "from": "human", "value": "Apply and add the patched files to the index" }, { "from": "gpt", "value": "git apply --index path/to/file" } ]
[ { "from": "human", "value": "Apply a remote patch file" }, { "from": "gpt", "value": "curl -L https://example.com/file.patch | git apply" } ]
[ { "from": "human", "value": "Output diffstat for the input and apply the patch" }, { "from": "gpt", "value": "git apply --stat --apply path/to/file" } ]
[ { "from": "human", "value": "Apply the patch in reverse" }, { "from": "gpt", "value": "git apply --reverse path/to/file" } ]
[ { "from": "human", "value": "Store the patch result in the index without modifying the working tree" }, { "from": "gpt", "value": "git apply --cache path/to/file" } ]
[ { "from": "human", "value": "Compile a file to `messages.mo`" }, { "from": "gpt", "value": "msgfmt file.po" } ]
[ { "from": "human", "value": "Convert a `.po` file to a `.mo` file" }, { "from": "gpt", "value": "msgfmt path/to/file.po [-o|--output-file] path/to/file.mo" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "msgfmt [-h|--help]" } ]
[ { "from": "human", "value": "List all kubernetes pods (Ready and NotReady)" }, { "from": "gpt", "value": "crictl pods" } ]
[ { "from": "human", "value": "List all containers (Running and Exited)" }, { "from": "gpt", "value": "crictl ps --all" } ]
[ { "from": "human", "value": "List all images" }, { "from": "gpt", "value": "crictl images" } ]
[ { "from": "human", "value": "Print information about specific containers" }, { "from": "gpt", "value": "crictl inspect container_id1 container_id2 ..." } ]
[ { "from": "human", "value": "Open a specific shell inside a running container" }, { "from": "gpt", "value": "crictl exec -it container_id sh" } ]
[ { "from": "human", "value": "Pull a specific image from a registry" }, { "from": "gpt", "value": "crictl pull image:tag" } ]
[ { "from": "human", "value": "Print and [f]ollow logs of a specific container" }, { "from": "gpt", "value": "crictl logs -f container_id" } ]
[ { "from": "human", "value": "Remove one or more images" }, { "from": "gpt", "value": "crictl rmi image_id1 image_id2 ..." } ]
[ { "from": "human", "value": "Start WeeChat" }, { "from": "gpt", "value": "weechat" } ]
[ { "from": "human", "value": "Do not load any plugin(s) on startup" }, { "from": "gpt", "value": "weechat --no-plugin" } ]
[ { "from": "human", "value": "Do not load any script(s) on startup" }, { "from": "gpt", "value": "weechat --no-script" } ]
[ { "from": "human", "value": "Do not connect to servers automatically" }, { "from": "gpt", "value": "weechat --no-connect" } ]
[ { "from": "human", "value": "Write default terminal colors to `stdout`" }, { "from": "gpt", "value": "weechat --colors" } ]
[ { "from": "human", "value": "Initialize repo to use Git Crypt" }, { "from": "gpt", "value": "yadm git-crypt init" } ]
[ { "from": "human", "value": "Share the repository using GPG" }, { "from": "gpt", "value": "yadm git-crypt add-gpg-user user_id" } ]
[ { "from": "human", "value": "After cloning a repository with encrypted files, unlock them" }, { "from": "gpt", "value": "yadm git-crypt unlock" } ]
[ { "from": "human", "value": "Export a symmetric secret key" }, { "from": "gpt", "value": "yadm git-crypt export-key path/to/key_file" } ]
[ { "from": "human", "value": "Initialise the environment" }, { "from": "gpt", "value": "devenv init" } ]
[ { "from": "human", "value": "Enter the Development Environment with relaxed hermeticity (state of being airtight)" }, { "from": "gpt", "value": "devenv shell --impure" } ]
[ { "from": "human", "value": "Get detailed information about the current environment" }, { "from": "gpt", "value": "devenv info --verbose" } ]
[ { "from": "human", "value": "Start processes with `devenv`" }, { "from": "gpt", "value": "devenv up --config /file/path/" } ]
[ { "from": "human", "value": "Clean the environment variables and re-enter the shell in offline mode" }, { "from": "gpt", "value": "devenv --clean --offline" } ]
[ { "from": "human", "value": "Delete the previous shell generations" }, { "from": "gpt", "value": "devenv gc" } ]
[ { "from": "human", "value": "Apply taint to a node" }, { "from": "gpt", "value": "kubectl taint nodes node_name label_key=label_value:effect" } ]
[ { "from": "human", "value": "Remove taint from a node" }, { "from": "gpt", "value": "kubectl taint nodes node_name label_key:effect-" } ]
[ { "from": "human", "value": "Remove all taints from a node" }, { "from": "gpt", "value": "kubectl taint nodes node_name label_key-" } ]
[ { "from": "human", "value": "Compile a source file into an executable" }, { "from": "gpt", "value": "iverilog path/to/source.v -o path/to/executable" } ]
[ { "from": "human", "value": "Compile a source file into an executable while displaying all warnings" }, { "from": "gpt", "value": "iverilog path/to/source.v -Wall -o path/to/executable" } ]
[ { "from": "human", "value": "Compile and run explicitly using the VVP runtime" }, { "from": "gpt", "value": "iverilog -o path/to/executable -tvvp path/to/source.v" } ]
[ { "from": "human", "value": "Compile using Verilog library files from a different path" }, { "from": "gpt", "value": "iverilog path/to/source.v -o path/to/executable -Ipath/to/library_directory" } ]
[ { "from": "human", "value": "Preprocess Verilog code without compiling" }, { "from": "gpt", "value": "iverilog -E path/to/source.v" } ]
[ { "from": "human", "value": "Ping a destination with 4 ICMP ping requests" }, { "from": "gpt", "value": "hping3 --icmp --count 4 ip_or_hostname" } ]
[ { "from": "human", "value": "Ping an IP address over UDP on port 80" }, { "from": "gpt", "value": "hping3 --udp --destport 80 --syn ip_or_hostname" } ]
[ { "from": "human", "value": "Scan TCP port 80, scanning from the specific local source port 5090" }, { "from": "gpt", "value": "hping3 --verbose --syn --destport 80 --baseport 5090 ip_or_hostname" } ]
[ { "from": "human", "value": "Traceroute using a TCP scan to a specific destination port" }, { "from": "gpt", "value": "hping3 --traceroute --verbose --syn --destport 80 ip_or_hostname" } ]
[ { "from": "human", "value": "Scan a set of TCP ports on a specific IP address" }, { "from": "gpt", "value": "hping3 --scan 80,3000,9000 --syn ip_or_hostname" } ]
[ { "from": "human", "value": "Perform a TCP ACK scan to check if a given host is alive" }, { "from": "gpt", "value": "hping3 --count 2 --verbose --destport 80 --ack ip_or_hostname" } ]
[ { "from": "human", "value": "Perform a charge test on port 80" }, { "from": "gpt", "value": "hping3 --flood --destport 80 --syn ip_or_hostname" } ]
[ { "from": "human", "value": "Download a URL to a file" }, { "from": "gpt", "value": "axel url" } ]
[ { "from": "human", "value": "Download and specify an output file" }, { "from": "gpt", "value": "axel url [-o|--output] path/to/file" } ]
[ { "from": "human", "value": "Download with a specific number connections" }, { "from": "gpt", "value": "axel [-n|--num-connections] connections_num url" } ]
[ { "from": "human", "value": "Search for mirrors" }, { "from": "gpt", "value": "axel [-S|--search] mirrors_num url" } ]
[ { "from": "human", "value": "Limit download speed (bytes per second)" }, { "from": "gpt", "value": "axel [-s|--max-speed] speed url" } ]
[ { "from": "human", "value": "Use UNIX (or DOS) pipes to pipe `stdout` of any command through gnomon" }, { "from": "gpt", "value": "npm test | gnomon" } ]