conversations
listlengths
2
2
[ { "from": "human", "value": "Execute 100 HTTP GET requests to a given URL" }, { "from": "gpt", "value": "ab -n 100 url" } ]
[ { "from": "human", "value": "Execute 100 HTTP GET requests, in concurrent batches of 10, to a URL" }, { "from": "gpt", "value": "ab -n 100 -c 10 url" } ]
[ { "from": "human", "value": "Execute 100 HTTP POST requests to a URL, using a JSON payload from a file" }, { "from": "gpt", "value": "ab -n 100 -T application/json -p path/to/file.json url" } ]
[ { "from": "human", "value": "Use HTTP [k]eep-Alive, i.e. perform multiple requests within one HTTP session" }, { "from": "gpt", "value": "ab -k url" } ]
[ { "from": "human", "value": "Set the maximum number of seconds ([t]imeout) to spend for benchmarking (30 by default)" }, { "from": "gpt", "value": "ab -t 60 url" } ]
[ { "from": "human", "value": "Write the results to a CSV file" }, { "from": "gpt", "value": "ab -e path/to/file.csv" } ]
[ { "from": "human", "value": "Assign a name and tag to a specific image ID" }, { "from": "gpt", "value": "docker tag id name:tag" } ]
[ { "from": "human", "value": "Assign a tag to a specific image" }, { "from": "gpt", "value": "docker tag image:current_tag image:new_tag" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "docker tag" } ]
[ { "from": "human", "value": "Store data that you type from the keyboard" }, { "from": "gpt", "value": "read variable" } ]
[ { "from": "human", "value": "Store each of the next lines you enter as values of an array" }, { "from": "gpt", "value": "read -a array" } ]
[ { "from": "human", "value": "Specify the number of maximum characters to be read" }, { "from": "gpt", "value": "read -n character_count variable" } ]
[ { "from": "human", "value": "Assign multiple values to multiple variables" }, { "from": "gpt", "value": "read _ variable1 _ variable2 <<< \"The surname is Bond\"" } ]
[ { "from": "human", "value": "Do not let backslash (\\\\) act as an escape character" }, { "from": "gpt", "value": "read -r variable" } ]
[ { "from": "human", "value": "Display a prompt before the input" }, { "from": "gpt", "value": "read -p \"Enter your input here: \" variable" } ]
[ { "from": "human", "value": "Do not echo typed characters (silent mode)" }, { "from": "gpt", "value": "read -s variable" } ]
[ { "from": "human", "value": "Read `stdin` and perform an action on every line" }, { "from": "gpt", "value": "while read line; do echo|ls|rm|... \"$line\"; done < /dev/stdin|path/to/file|..." } ]
[ { "from": "human", "value": "Copy a file to another location" }, { "from": "gpt", "value": "cp path/to/source_file.ext path/to/target_file.ext" } ]
[ { "from": "human", "value": "Copy a file into another directory, keeping the filename" }, { "from": "gpt", "value": "cp path/to/source_file.ext path/to/target_parent_directory" } ]
[ { "from": "human", "value": "Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it)" }, { "from": "gpt", "value": "cp [-r|--recursive] path/to/source_directory path/to/target_directory" } ]
[ { "from": "human", "value": "Copy a directory recursively, in verbose mode (shows files as they are copied)" }, { "from": "gpt", "value": "cp [-vr|--verbose --recursive] path/to/source_directory path/to/target_directory" } ]
[ { "from": "human", "value": "Copy multiple files at once to a directory" }, { "from": "gpt", "value": "cp [-t|--target-directory] path/to/destination_directory path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Copy all files with a specific extension to another location, in interactive mode (prompts user before overwriting)" }, { "from": "gpt", "value": "cp [-i|--interactive] *.ext path/to/target_directory" } ]
[ { "from": "human", "value": "Follow symbolic links before copying" }, { "from": "gpt", "value": "cp [-L|--dereference] link path/to/target_directory" } ]
[ { "from": "human", "value": "Use the full path of source files, creating any missing intermediate directories when copying" }, { "from": "gpt", "value": "cp --parents source/path/to/file path/to/target_file" } ]
[ { "from": "human", "value": "List all installed boxes" }, { "from": "gpt", "value": "vagrant box list" } ]
[ { "from": "human", "value": "Add a new box" }, { "from": "gpt", "value": "vagrant box add hashicorp/bionic64" } ]
[ { "from": "human", "value": "Add a box from a custom URL" }, { "from": "gpt", "value": "vagrant box add my-box https://example.com/my-box.box" } ]
[ { "from": "human", "value": "Remove an installed box" }, { "from": "gpt", "value": "vagrant box remove hashicorp/bionic64" } ]
[ { "from": "human", "value": "Update all boxes that are in use in the current Vagrant environment" }, { "from": "gpt", "value": "vagrant box update" } ]
[ { "from": "human", "value": "Update a specific box" }, { "from": "gpt", "value": "vagrant box update --box bento/debian-12" } ]
[ { "from": "human", "value": "Check if there is a new version available for the box that you are using" }, { "from": "gpt", "value": "vagrant box outdated" } ]
[ { "from": "human", "value": "Clean up old versions of installed boxes" }, { "from": "gpt", "value": "vagrant box prune" } ]
[ { "from": "human", "value": "Request the next value from the SNMP agent" }, { "from": "gpt", "value": "snmpbulkget -v version -c community ip oid" } ]
[ { "from": "human", "value": "Display the full Object Identifier (OID) path" }, { "from": "gpt", "value": "snmpbulkget -v version -c community -O f ip oid" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "snmpbulkget [-h|--help]" } ]
[ { "from": "human", "value": "Create a cluster" }, { "from": "gpt", "value": "k3d cluster create cluster_name" } ]
[ { "from": "human", "value": "Delete a cluster" }, { "from": "gpt", "value": "k3d cluster delete cluster_name" } ]
[ { "from": "human", "value": "Create a new containerized k3s node" }, { "from": "gpt", "value": "k3d node create node_name" } ]
[ { "from": "human", "value": "Import an image from Docker into a k3d cluster" }, { "from": "gpt", "value": "k3d image import image_name --cluster cluster_name" } ]
[ { "from": "human", "value": "Create a new registry" }, { "from": "gpt", "value": "k3d registry create registry_name" } ]
[ { "from": "human", "value": "Iterate through command line arguments" }, { "from": "gpt", "value": "for variable; do echo $variable; done" } ]
[ { "from": "human", "value": "Execute the given commands for each of the specified items" }, { "from": "gpt", "value": "for variable in item1 item2 ...; do echo \"Loop is executed\"; done" } ]
[ { "from": "human", "value": "Iterate over a given range of numbers" }, { "from": "gpt", "value": "for variable in {from..to..step}; do echo \"Loop is executed\"; done" } ]
[ { "from": "human", "value": "Iterate over a given list of files" }, { "from": "gpt", "value": "for variable in path/to/file1 path/to/file2 ...; do echo \"Loop is executed\"; done" } ]
[ { "from": "human", "value": "Iterate over a given list of directories" }, { "from": "gpt", "value": "for variable in path/to/directory1/ path/to/directory2/ ...; do echo \"Loop is executed\"; done" } ]
[ { "from": "human", "value": "Perform a given command in every directory" }, { "from": "gpt", "value": "for variable in */; do (cd \"$variable\" || continue; echo \"Loop is executed\") done" } ]
[ { "from": "human", "value": "Start a REPL (interactive shell)" }, { "from": "gpt", "value": "sbcl" } ]
[ { "from": "human", "value": "Execute a Lisp script" }, { "from": "gpt", "value": "sbcl --script path/to/script.lisp" } ]
[ { "from": "human", "value": "Convert an SLD file to a PPM image" }, { "from": "gpt", "value": "sldtoppm path/to/input.sld > path/to/output.ppm" } ]
[ { "from": "human", "value": "Compensate for non-square pixels by scaling the width of the image" }, { "from": "gpt", "value": "sldtoppm [-a|-adjust] path/to/input.sld > path/to/output.ppm" } ]
[ { "from": "human", "value": "Create a new identity" }, { "from": "gpt", "value": "git bug user create" } ]
[ { "from": "human", "value": "Create a new bug" }, { "from": "gpt", "value": "git bug add" } ]
[ { "from": "human", "value": "Push a new bug entry to a remote" }, { "from": "gpt", "value": "git bug push" } ]
[ { "from": "human", "value": "Pull for updates" }, { "from": "gpt", "value": "git bug pull" } ]
[ { "from": "human", "value": "List existing bugs" }, { "from": "gpt", "value": "git bug ls" } ]
[ { "from": "human", "value": "Filter and sort bugs using a query" }, { "from": "gpt", "value": "git bug ls \"status:open sort:edit\"" } ]
[ { "from": "human", "value": "Search for bugs by text content" }, { "from": "gpt", "value": "git bug ls \"search_query\" baz" } ]
[ { "from": "human", "value": "Display information about installed nest version" }, { "from": "gpt", "value": "nest info" } ]
[ { "from": "human", "value": "Create a new NestJS project in a directory of the same name" }, { "from": "gpt", "value": "nest new project_name" } ]
[ { "from": "human", "value": "Build a specific NestJS project" }, { "from": "gpt", "value": "nest build project_name" } ]
[ { "from": "human", "value": "Run a specific NestJS project" }, { "from": "gpt", "value": "nest start project_name" } ]
[ { "from": "human", "value": "Import a library into the current NestJS project" }, { "from": "gpt", "value": "nest add library_name" } ]
[ { "from": "human", "value": "Convert a PBM image to a X11 XBM file" }, { "from": "gpt", "value": "pbmtoxbm path/to/input_file.pbm > path/to/output_file.xbm" } ]
[ { "from": "human", "value": "Explicitly specify whether an X11 or X10 bitmap should be generated" }, { "from": "gpt", "value": "pbmtoxbm -x11|x10 path/to/input_file.pbm > path/to/output_file.xbm" } ]
[ { "from": "human", "value": "Create a new Lumen application" }, { "from": "gpt", "value": "lumen new application_name" } ]
[ { "from": "human", "value": "List the available installer commands" }, { "from": "gpt", "value": "lumen list" } ]
[ { "from": "human", "value": "Preview color scheme" }, { "from": "gpt", "value": "wal --preview image.png" } ]
[ { "from": "human", "value": "Create color scheme" }, { "from": "gpt", "value": "wal -i image.png" } ]
[ { "from": "human", "value": "Create a light color scheme" }, { "from": "gpt", "value": "wal -i image.png -l" } ]
[ { "from": "human", "value": "Skip setting the desktop wallpaper" }, { "from": "gpt", "value": "wal -i image.png -n" } ]
[ { "from": "human", "value": "Skip setting the terminal colors" }, { "from": "gpt", "value": "wal -i image.png -s" } ]
[ { "from": "human", "value": "Restore the previously generated color scheme and wallpaper" }, { "from": "gpt", "value": "wal -R" } ]
[ { "from": "human", "value": "View documentation for the current command" }, { "from": "gpt", "value": "tldr pamfix" } ]
[ { "from": "human", "value": "Create an empty local branch" }, { "from": "gpt", "value": "git fresh-branch branch_name" } ]
[ { "from": "human", "value": "Convert a PPM image to DEC sixel format" }, { "from": "gpt", "value": "ppmtosixel path/to/file.ppm > path/to/file.sixel" } ]
[ { "from": "human", "value": "Produce an uncompressed SIXEL file that is much slower to print" }, { "from": "gpt", "value": "ppmtosixel [-r|-raw] path/to/file.ppm > path/to/file.sixel" } ]
[ { "from": "human", "value": "Add a left margin of 1.5 inches" }, { "from": "gpt", "value": "ppmtosixel [-m|-margin] path/to/file.ppm > path/to/file.sixel" } ]
[ { "from": "human", "value": "Encode control codes in a more portable (although less space-efficient) way" }, { "from": "gpt", "value": "ppmtosixel -7bit path/to/file.ppm > path/to/file.sixel" } ]
[ { "from": "human", "value": "Display version information for all installed components, along with available updates to them" }, { "from": "gpt", "value": "gcloud version" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gcloud version --help" } ]
[ { "from": "human", "value": "Turn on Gammastep with a specific [t]emperature during the day (e.g. 5700k) and at night (e.g. 3600k)" }, { "from": "gpt", "value": "gammastep -t 5700:3600" } ]
[ { "from": "human", "value": "Turn on Gammastep with a manually specified custom [l]ocation" }, { "from": "gpt", "value": "gammastep -l latitude:longitude" } ]
[ { "from": "human", "value": "Turn on Gammastep with a specific screen [b]rightness during the day (e.g. 70%) and at night (e.g. 40%), with minimum brightness 10% and maximum brightness 100%" }, { "from": "gpt", "value": "gammastep -b 0.7:0.4" } ]
[ { "from": "human", "value": "Turn on Gammastep with custom [g]amma levels (between 0 and 1)" }, { "from": "gpt", "value": "gammastep -g red:green:blue" } ]
[ { "from": "human", "value": "Turn on Gammastep with a c[O]nstant unchanging color temperature" }, { "from": "gpt", "value": "gammastep -O temperature" } ]
[ { "from": "human", "value": "Reset temperature adjustments applied by Gammastep" }, { "from": "gpt", "value": "gammastep -x" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr magick mogrify" } ]
[ { "from": "human", "value": "Upload a file" }, { "from": "gpt", "value": "ffsend upload path/to/file" } ]
[ { "from": "human", "value": "Download a file" }, { "from": "gpt", "value": "ffsend download url" } ]
[ { "from": "human", "value": "Upload a file with password" }, { "from": "gpt", "value": "ffsend upload path/to/file [-p|--password] password" } ]
[ { "from": "human", "value": "Download a file protected by password" }, { "from": "gpt", "value": "ffsend download url [-p|--password] password" } ]
[ { "from": "human", "value": "Upload a file and allow 4 downloads" }, { "from": "gpt", "value": "ffsend upload path/to/file [-d|--downloads] 4" } ]
[ { "from": "human", "value": "Configure the application token and the preferred workspace for Exercism" }, { "from": "gpt", "value": "exercism configure --token=your-application-token --workspace=/path/to/preferred/workspace" } ]
[ { "from": "human", "value": "Download a specific exercise" }, { "from": "gpt", "value": "exercism download --exercise=exercise_slug --track=track_slug" } ]
[ { "from": "human", "value": "Submit an exercise" }, { "from": "gpt", "value": "exercism submit path/to/file" } ]
[ { "from": "human", "value": "Print the path to the solution workspace" }, { "from": "gpt", "value": "exercism workspace" } ]
[ { "from": "human", "value": "Show the summarized system topology in a graphical window (or print to console if no graphical display is available)" }, { "from": "gpt", "value": "lstopo" } ]
[ { "from": "human", "value": "Show the full system topology without summarizations" }, { "from": "gpt", "value": "lstopo --no-factorize" } ]
[ { "from": "human", "value": "Show the summarized system topology with only physical indices (i.e. as seen by the OS)" }, { "from": "gpt", "value": "lstopo [-p|--physical]" } ]