conversations
listlengths
2
2
[ { "from": "human", "value": "Perform the default task in the `build.xml` file" }, { "from": "gpt", "value": "phing" } ]
[ { "from": "human", "value": "Initialize a new build file" }, { "from": "gpt", "value": "phing -i path/to/build.xml" } ]
[ { "from": "human", "value": "Perform a specific task" }, { "from": "gpt", "value": "phing task_name" } ]
[ { "from": "human", "value": "Use the given build file path" }, { "from": "gpt", "value": "phing -f path/to/build.xml task_name" } ]
[ { "from": "human", "value": "Log to the given file" }, { "from": "gpt", "value": "phing -logfile path/to/log_file task_name" } ]
[ { "from": "human", "value": "Use custom properties in the build" }, { "from": "gpt", "value": "phing -Dproperty=value task_name" } ]
[ { "from": "human", "value": "Specify a custom listener class" }, { "from": "gpt", "value": "phing -listener class_name task_name" } ]
[ { "from": "human", "value": "Build using verbose output" }, { "from": "gpt", "value": "phing -verbose task_name" } ]
[ { "from": "human", "value": "Remove an alias" }, { "from": "gpt", "value": "unalias alias_name" } ]
[ { "from": "human", "value": "Remove all aliases" }, { "from": "gpt", "value": "unalias -a" } ]
[ { "from": "human", "value": "Print multiple files with a default header and footer" }, { "from": "gpt", "value": "pr path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Print with a custom centered header" }, { "from": "gpt", "value": "pr [-h|--header] \"header\" path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Print with numbered lines and a custom date format" }, { "from": "gpt", "value": "pr [-n|--number-lines] [-D|--date-format] \"format\" path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Print all files together, one in each column, without a header or footer" }, { "from": "gpt", "value": "pr [-m|--merge] [-T|--omit-pagination] path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Print, beginning at page 2 up to page 5, with a given page length (including header and footer)" }, { "from": "gpt", "value": "pr +2:5 [-l|--length] page_length path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Print with an offset for each line and a truncating custom page width" }, { "from": "gpt", "value": "pr [-o|--indent] offset [-W|--page_width] width path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Recover a private key from a public key file" }, { "from": "gpt", "value": "RsaCtfTool.py --publickey path/to/key.pub --private" } ]
[ { "from": "human", "value": "Decrypt a file using a public key" }, { "from": "gpt", "value": "RsaCtfTool.py --publickey path/to/key.pub --decryptfile path/to/ciphered_file" } ]
[ { "from": "human", "value": "Decrypt a specific ciphertext string" }, { "from": "gpt", "value": "RsaCtfTool.py --publickey path/to/key.pub --decrypt \"ciphertext\"" } ]
[ { "from": "human", "value": "Dump RSA key components (e.g., modulus, exponent) from a key file" }, { "from": "gpt", "value": "RsaCtfTool.py --dumpkey --key path/to/key.pub" } ]
[ { "from": "human", "value": "Run a specific attack (e.g., Fermat factorization) to recover the private key" }, { "from": "gpt", "value": "RsaCtfTool.py --publickey path/to/key.pub --private --attack fermat" } ]
[ { "from": "human", "value": "Generate a public key from modulus (n) and exponent (e)" }, { "from": "gpt", "value": "RsaCtfTool.py --createpub -n modulus -e exponent" } ]
[ { "from": "human", "value": "Attempt all available attacks to recover the private key" }, { "from": "gpt", "value": "RsaCtfTool.py --publickey path/to/key.pub --private --attack all" } ]
[ { "from": "human", "value": "Display test suites" }, { "from": "gpt", "value": "sfdk check --list-suites" } ]
[ { "from": "human", "value": "Run all or essential test suites" }, { "from": "gpt", "value": "sfdk check" } ]
[ { "from": "human", "value": "Add testing level to the check" }, { "from": "gpt", "value": "sfdk check -l +level" } ]
[ { "from": "human", "value": "Remove testing level from the check" }, { "from": "gpt", "value": "sfdk check -l -level" } ]
[ { "from": "human", "value": "Add testing suite to the check" }, { "from": "gpt", "value": "sfdk check -s +suite" } ]
[ { "from": "human", "value": "Remove testing suite from the check" }, { "from": "gpt", "value": "sfdk check -s -suite" } ]
[ { "from": "human", "value": "Authorize a Salesforce Organization" }, { "from": "gpt", "value": "sf force:auth:web:login --setalias organization --instanceurl organization_url" } ]
[ { "from": "human", "value": "List all authorized organizations" }, { "from": "gpt", "value": "sf force:org:list" } ]
[ { "from": "human", "value": "Open a specific organization in the default web browser" }, { "from": "gpt", "value": "sf force:org:open --targetusername organization" } ]
[ { "from": "human", "value": "Display information about a specific organization" }, { "from": "gpt", "value": "sf force:org:display --targetusername organization" } ]
[ { "from": "human", "value": "Push source metadata to an Organization" }, { "from": "gpt", "value": "sf force:source:push --targetusername organization" } ]
[ { "from": "human", "value": "Pull source metadata from an Organization" }, { "from": "gpt", "value": "sf force:source:pull --targetusername organization" } ]
[ { "from": "human", "value": "Generate a password for the organization's logged-in user" }, { "from": "gpt", "value": "sf force:user:password:generate --targetusername organization" } ]
[ { "from": "human", "value": "Assign a permission set for the organization's logged-in user" }, { "from": "gpt", "value": "sf force:user:permset:assign --permsetname permission_set_name --targetusername organization" } ]
[ { "from": "human", "value": "Create a list" }, { "from": "gpt", "value": "clido --new name" } ]
[ { "from": "human", "value": "Load a list" }, { "from": "gpt", "value": "clido --load name" } ]
[ { "from": "human", "value": "Delete a list" }, { "from": "gpt", "value": "clido --remove name" } ]
[ { "from": "human", "value": "List all lists" }, { "from": "gpt", "value": "clido --lists" } ]
[ { "from": "human", "value": "Toggle autowrite" }, { "from": "gpt", "value": "clido toggle-autowrite" } ]
[ { "from": "human", "value": "Open a list in a text editor" }, { "from": "gpt", "value": "clido edit text_editor" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "clido -h" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "clido -v" } ]
[ { "from": "human", "value": "List available bookmarks" }, { "from": "gpt", "value": "l" } ]
[ { "from": "human", "value": "Save the current directory as \"bookmark_name\"" }, { "from": "gpt", "value": "s bookmark_name" } ]
[ { "from": "human", "value": "Go to a bookmarked directory" }, { "from": "gpt", "value": "g bookmark_name" } ]
[ { "from": "human", "value": "Print a bookmarked directory's contents" }, { "from": "gpt", "value": "p bookmark_name" } ]
[ { "from": "human", "value": "Delete a bookmark" }, { "from": "gpt", "value": "d bookmark_name" } ]
[ { "from": "human", "value": "Create a mask of the background in a PAM image" }, { "from": "gpt", "value": "pambackground path/to/image.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Load a Docker image from `stdin`" }, { "from": "gpt", "value": "docker load < path/to/image_file.tar" } ]
[ { "from": "human", "value": "Load a Docker image from a specific file" }, { "from": "gpt", "value": "docker load --input path/to/image_file.tar" } ]
[ { "from": "human", "value": "Load a Docker image from a specific file in quiet mode" }, { "from": "gpt", "value": "docker load --quiet --input path/to/image_file.tar" } ]
[ { "from": "human", "value": "Encrypt the contents of a Zip archive" }, { "from": "gpt", "value": "zipcloak path/to/archive.zip" } ]
[ { "from": "human", "value": "Decrypt the contents of a Zip archive" }, { "from": "gpt", "value": "zipcloak [-d|--decrypt] path/to/archive.zip" } ]
[ { "from": "human", "value": "Output the encrypted contents into a new Zip archive" }, { "from": "gpt", "value": "zipcloak path/to/archive.zip [-O|--output-file] path/to/encrypted.zip" } ]
[ { "from": "human", "value": "Rename all files with a certain extension to a different extension" }, { "from": "gpt", "value": "mmv \"*.old_extension\" \"#1.new_extension\"" } ]
[ { "from": "human", "value": "Copy `report6part4.txt` to `./french/rapport6partie4.txt` along with all similarly named files" }, { "from": "gpt", "value": "mmv -c \"report*part*.txt\" \"./french/rapport#1partie#2.txt\"" } ]
[ { "from": "human", "value": "Append all `.txt` files into one file" }, { "from": "gpt", "value": "mmv -a \"*.txt\" \"all.txt\"" } ]
[ { "from": "human", "value": "Convert dates in filenames from \"M-D-Y\" format to \"D-M-Y\" format" }, { "from": "gpt", "value": "mmv \"[0-1][0-9]-[0-3][0-9]-[0-9][0-9][0-9][0-9].txt\" \"#3#4-#1#2-#5#6#7#8.txt\"" } ]
[ { "from": "human", "value": "Print indices and names of all columns" }, { "from": "gpt", "value": "csvcut -n data.csv" } ]
[ { "from": "human", "value": "Extract the first and third columns" }, { "from": "gpt", "value": "csvcut -c 1,3 data.csv" } ]
[ { "from": "human", "value": "Extract all columns except the fourth one" }, { "from": "gpt", "value": "csvcut -C 4 data.csv" } ]
[ { "from": "human", "value": "Extract the columns named \"id\" and \"first name\" (in that order)" }, { "from": "gpt", "value": "csvcut -c id,\"first name\" data.csv" } ]
[ { "from": "human", "value": "Build a `.js` or `.vue` file in production mode with zero config" }, { "from": "gpt", "value": "vue build filename" } ]
[ { "from": "human", "value": "Analyze a directory and print the result" }, { "from": "gpt", "value": "phploc path/to/directory" } ]
[ { "from": "human", "value": "Include only specific files from a comma-separated list (globs are allowed)" }, { "from": "gpt", "value": "phploc path/to/directory --names 'path/to/file1,path/to/file2,...'" } ]
[ { "from": "human", "value": "Exclude specific files from a comma-separated list (globs are allowed)" }, { "from": "gpt", "value": "phploc path/to/directory --names-exclude 'path/to/file1,path/to/file2,...'" } ]
[ { "from": "human", "value": "Exclude a specific directory from analysis" }, { "from": "gpt", "value": "phploc path/to/directory --exclude path/to/exclude_directory" } ]
[ { "from": "human", "value": "Log the results to a specific CSV file" }, { "from": "gpt", "value": "phploc path/to/directory --log-csv path/to/file" } ]
[ { "from": "human", "value": "Log the results to a specific XML file" }, { "from": "gpt", "value": "phploc path/to/directory --log-xml path/to/file" } ]
[ { "from": "human", "value": "Count PHPUnit test case classes and test methods" }, { "from": "gpt", "value": "phploc path/to/directory --count-tests" } ]
[ { "from": "human", "value": "Compress a JPEG image" }, { "from": "gpt", "value": "guetzli input.jpg output.jpg" } ]
[ { "from": "human", "value": "Create a compressed JPEG from a PNG" }, { "from": "gpt", "value": "guetzli input.png output.jpg" } ]
[ { "from": "human", "value": "Compress a JPEG with the desired visual quality (84-100)" }, { "from": "gpt", "value": "guetzli --quality quality_value input.jpg output.jpg" } ]
[ { "from": "human", "value": "Subscribe to the topic `sensors/temperature` information with Quality of Service (`QoS`) set to 1. (The default hostname is `localhost` and port 1883)" }, { "from": "gpt", "value": "mosquitto_sub -t sensors/temperature -q 1" } ]
[ { "from": "human", "value": "Subscribe to all broker status messages publishing on `iot.eclipse.org` port 1885 and print published messages verbosely" }, { "from": "gpt", "value": "mosquitto_sub -v -h \"iot.eclipse.org\" -p 1885 -t \\$SYS/#" } ]
[ { "from": "human", "value": "Subscribe to multiple topics matching a given pattern. (+ takes any metric name)" }, { "from": "gpt", "value": "mosquitto_sub -t sensors/machines/+/temperature/+" } ]
[ { "from": "human", "value": "Pretty print the contents of one or more files to `stdout`" }, { "from": "gpt", "value": "bat path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Concatenate several files into the target file" }, { "from": "gpt", "value": "bat path/to/file1 path/to/file2 ... > path/to/target_file" } ]
[ { "from": "human", "value": "Remove decorations and disable paging (`--style plain` can be replaced with `-p`, or both options with `-pp`)" }, { "from": "gpt", "value": "bat --style plain --pager never path/to/file" } ]
[ { "from": "human", "value": "Highlight a specific line or a range of lines with a different background color" }, { "from": "gpt", "value": "bat [-H|--highlight-line] 10|5:10|:10|10:|10:+5 path/to/file" } ]
[ { "from": "human", "value": "Show non-printable characters like space, tab or newline" }, { "from": "gpt", "value": "bat [-A|--show-all] path/to/file" } ]
[ { "from": "human", "value": "Remove all decorations except line numbers in the output" }, { "from": "gpt", "value": "bat [-n|--number] path/to/file" } ]
[ { "from": "human", "value": "Syntax highlight a JSON file by explicitly setting the language" }, { "from": "gpt", "value": "bat [-l|--language] json path/to/file.json" } ]
[ { "from": "human", "value": "Display all supported languages" }, { "from": "gpt", "value": "bat [-L|--list-languages]" } ]
[ { "from": "human", "value": "Connect to server on a specific IP address via default port (12865)" }, { "from": "gpt", "value": "netperf address" } ]
[ { "from": "human", "value": "Specify [p]ort" }, { "from": "gpt", "value": "netperf address -p port" } ]
[ { "from": "human", "value": "Specify the sampling [l]ength in seconds (default is 10)" }, { "from": "gpt", "value": "netperf address -l seconds" } ]
[ { "from": "human", "value": "Force IPv[4] or IPv[6]" }, { "from": "gpt", "value": "netperf address -4|6" } ]
[ { "from": "human", "value": "Search for a pattern within a file" }, { "from": "gpt", "value": "xzgrep \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Search for an exact string (disables regular expressions)" }, { "from": "gpt", "value": "xzgrep --fixed-strings \"exact_string\" path/to/file" } ]
[ { "from": "human", "value": "Search for a pattern in all files showing line numbers of matches" }, { "from": "gpt", "value": "xzgrep --line-number \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Use extended regular expressions (supports `?`, `+`, `{}`, `()` and `|`), in case-insensitive mode" }, { "from": "gpt", "value": "xzgrep --extended-regexp --ignore-case \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Print 3 lines of context around, before, or after each match" }, { "from": "gpt", "value": "xzgrep --context|before-context|after-context=3 \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Print file name and line number for each match with color output" }, { "from": "gpt", "value": "xzgrep --with-filename --line-number --color=always \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Search for lines matching a pattern, printing only the matched text" }, { "from": "gpt", "value": "xzgrep --only-matching \"search_pattern\" path/to/file" } ]
[ { "from": "human", "value": "Run a command as root" }, { "from": "gpt", "value": "doas command" } ]
[ { "from": "human", "value": "Run a command as another user" }, { "from": "gpt", "value": "doas -u user command" } ]