conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Remove a killed or finished task"
},
{
"from": "gpt",
"value": "pueue remove task_id"
}
] |
[
{
"from": "human",
"value": "Remove multiple tasks at once"
},
{
"from": "gpt",
"value": "pueue remove task_id task_id"
}
] |
[
{
"from": "human",
"value": "Print information about all the commands in the acct (record file)"
},
{
"from": "gpt",
"value": "lastcomm"
}
] |
[
{
"from": "human",
"value": "Display commands executed by a given user"
},
{
"from": "gpt",
"value": "lastcomm --user user"
}
] |
[
{
"from": "human",
"value": "Display information about a given command executed on the system"
},
{
"from": "gpt",
"value": "lastcomm --command command"
}
] |
[
{
"from": "human",
"value": "Display information about commands executed on a given terminal"
},
{
"from": "gpt",
"value": "lastcomm --tty terminal_name"
}
] |
[
{
"from": "human",
"value": "Convert one or more images to a single PDF, each image being on its own page"
},
{
"from": "gpt",
"value": "img2pdf path/to/image1.ext path/to/image2.ext ... --output path/to/file.pdf"
}
] |
[
{
"from": "human",
"value": "Convert only the first frame of a multi-frame image to PDF"
},
{
"from": "gpt",
"value": "img2pdf path/to/file.gif --first-frame-only --output path/to/file.pdf"
}
] |
[
{
"from": "human",
"value": "Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically"
},
{
"from": "gpt",
"value": "img2pdf path/to/image.ext --auto-orient --pagesize A4^T --border 2cm:5.1cm --output path/to/file.pdf"
}
... |
[
{
"from": "human",
"value": "Shrink only larger images to a rectangle of specified dimensions inside a page with a specific size"
},
{
"from": "gpt",
"value": "img2pdf path/to/image.ext --pagesize 30cmx20cm --imgsize 10cmx15cm --fit shrink --output path/to/file.pdf"
}
] |
[
{
"from": "human",
"value": "Convert an image to PDF, and specify metadata for the resulting file"
},
{
"from": "gpt",
"value": "img2pdf path/to/image.ext --title title --author author --creationdate 1970-01-31 --keywords keyword1 keyword2 --subject subject --output path/to/file.pdf"
}
] |
[
{
"from": "human",
"value": "Save an image by redirecting `stdout` to a tar archive"
},
{
"from": "gpt",
"value": "docker save image:tag > path/to/file.tar"
}
] |
[
{
"from": "human",
"value": "Save an image to a tar archive"
},
{
"from": "gpt",
"value": "docker save --output path/to/file.tar image:tag"
}
] |
[
{
"from": "human",
"value": "Save all tags of the image"
},
{
"from": "gpt",
"value": "docker save --output path/to/file.tar image_name"
}
] |
[
{
"from": "human",
"value": "Cherry-pick particular tags of an image to save"
},
{
"from": "gpt",
"value": "docker save --output path/to/file.tar image_name:tag1 image_name:tag2 ..."
}
] |
[
{
"from": "human",
"value": "Merge all commits from a specific branch into the current branch as a single commit"
},
{
"from": "gpt",
"value": "git squash source_branch"
}
] |
[
{
"from": "human",
"value": "Squash all commits starting with a specific commit on the current branch"
},
{
"from": "gpt",
"value": "git squash commit"
}
] |
[
{
"from": "human",
"value": "Squash the `n` latest commits and commit with a message"
},
{
"from": "gpt",
"value": "git squash HEAD~n \"message\""
}
] |
[
{
"from": "human",
"value": "Squash the `n` latest commits and commit concatenating all individual messages"
},
{
"from": "gpt",
"value": "git squash --squash-msg HEAD~n"
}
] |
[
{
"from": "human",
"value": "Print the lines in the specified CSV file that match an SQL query to `stdout`"
},
{
"from": "gpt",
"value": "textql -sql \"SELECT * FROM filename\" path/to/filename.csv"
}
] |
[
{
"from": "human",
"value": "Query a TSV file"
},
{
"from": "gpt",
"value": "textql -dlm=tab -sql \"SELECT * FROM filename\" path/to/filename.tsv"
}
] |
[
{
"from": "human",
"value": "Query file with header row"
},
{
"from": "gpt",
"value": "textql -dlm=delimiter -header -sql \"SELECT * FROM filename\" path/to/filename.csv"
}
] |
[
{
"from": "human",
"value": "Read data from `stdin`"
},
{
"from": "gpt",
"value": "cat path/to/file | textql -sql \"SELECT * FROM stdin\""
}
] |
[
{
"from": "human",
"value": "Join two files on a specified common column"
},
{
"from": "gpt",
"value": "textql -header -sql \"SELECT * FROM path/to/file1 JOIN file2 ON path/to/file1.c1 = file2.c1 LIMIT 10\" -output-header path/to/file1.csv path/to/file2.csv"
}
] |
[
{
"from": "human",
"value": "Format output using an output delimiter with an output header line"
},
{
"from": "gpt",
"value": "textql -output-dlm=delimiter -output-header -sql \"SELECT column AS alias FROM filename\" path/to/filename.csv"
}
] |
[
{
"from": "human",
"value": "Merge a branch into your current branch"
},
{
"from": "gpt",
"value": "git merge branch_name"
}
] |
[
{
"from": "human",
"value": "Edit the merge message"
},
{
"from": "gpt",
"value": "git merge --edit branch_name"
}
] |
[
{
"from": "human",
"value": "Merge a branch and create a merge commit"
},
{
"from": "gpt",
"value": "git merge --no-ff branch_name"
}
] |
[
{
"from": "human",
"value": "Abort a merge in case of conflicts"
},
{
"from": "gpt",
"value": "git merge --abort"
}
] |
[
{
"from": "human",
"value": "Merge using a specific strategy"
},
{
"from": "gpt",
"value": "git merge --strategy strategy --strategy-option strategy_option branch_name"
}
] |
[
{
"from": "human",
"value": "Start `wpm`"
},
{
"from": "gpt",
"value": "wpm"
}
] |
[
{
"from": "human",
"value": "Start `wpm` with short texts"
},
{
"from": "gpt",
"value": "wpm --short"
}
] |
[
{
"from": "human",
"value": "Start `wpm` using a specific text file"
},
{
"from": "gpt",
"value": "wpm --load path/to/file.txt"
}
] |
[
{
"from": "human",
"value": "Tag your race scores"
},
{
"from": "gpt",
"value": "wpm --tag tag_name"
}
] |
[
{
"from": "human",
"value": "Show score statistics grouped by tags"
},
{
"from": "gpt",
"value": "wpm --stats"
}
] |
[
{
"from": "human",
"value": "Start `wpm` with monochrome colors"
},
{
"from": "gpt",
"value": "wpm --monochrome"
}
] |
[
{
"from": "human",
"value": "Compute the object ID without storing it"
},
{
"from": "gpt",
"value": "git hash-object path/to/file"
}
] |
[
{
"from": "human",
"value": "Compute the object ID and store it in the Git database"
},
{
"from": "gpt",
"value": "git hash-object -w path/to/file"
}
] |
[
{
"from": "human",
"value": "Compute the object ID specifying the object type"
},
{
"from": "gpt",
"value": "git hash-object -t blob|commit|tag|tree path/to/file"
}
] |
[
{
"from": "human",
"value": "Compute the object ID from `stdin`"
},
{
"from": "gpt",
"value": "cat path/to/file | git hash-object --stdin"
}
] |
[
{
"from": "human",
"value": "Enumerate user accounts with an SPN and request their Kerberos TGS tickets"
},
{
"from": "gpt",
"value": "GetUserSPNs.py domain/username:password -dc-ip domain_controller_ip"
}
] |
[
{
"from": "human",
"value": "Use pass-the-hash authentication"
},
{
"from": "gpt",
"value": "GetUserSPNs.py domain/username -hashes LM_Hash:NT_Hash -dc-ip domain_controller_ip"
}
] |
[
{
"from": "human",
"value": "Save the output to a file"
},
{
"from": "gpt",
"value": "GetUserSPNs.py domain/username:password -dc-ip domain_controller_ip -outputfile output_file"
}
] |
[
{
"from": "human",
"value": "Request only TGS tickets"
},
{
"from": "gpt",
"value": "GetUserSPNs.py domain/username:password -dc-ip domain_controller_ip -request"
}
] |
[
{
"from": "human",
"value": "Request only TGS tickets using pass-the-hash authentication"
},
{
"from": "gpt",
"value": "GetUserSPNs.py domain/username -dc-ip domain_controller_ip -hashes LM_Hash:NT_Hash -request"
}
] |
[
{
"from": "human",
"value": "Enable autostart for the storage pool specified by name or UUID (determine using `virsh pool-list`)"
},
{
"from": "gpt",
"value": "virsh pool-autostart --pool name|uuid"
}
] |
[
{
"from": "human",
"value": "Disable autostart for the storage pool specified by name or UUID"
},
{
"from": "gpt",
"value": "virsh pool-autostart --pool name|uuid --disable"
}
] |
[
{
"from": "human",
"value": "Print information about the operating system, shell, PHP, and WP-CLI (`wp`) installation"
},
{
"from": "gpt",
"value": "wp --info"
}
] |
[
{
"from": "human",
"value": "Update WP-CLI"
},
{
"from": "gpt",
"value": "wp cli update"
}
] |
[
{
"from": "human",
"value": "Download a fresh WordPress installation to current directory, optionally specifying the locale"
},
{
"from": "gpt",
"value": "wp core download --locale=locale"
}
] |
[
{
"from": "human",
"value": "Create basic `wpconfig` file (assuming database on `localhost`)"
},
{
"from": "gpt",
"value": "wp config create --dbname=dbname --dbuser=dbuser --dbpass=dbpass"
}
] |
[
{
"from": "human",
"value": "Install and activate a WordPress plugin"
},
{
"from": "gpt",
"value": "wp plugin install plugin --activate"
}
] |
[
{
"from": "human",
"value": "Replace all instances of a string in the database"
},
{
"from": "gpt",
"value": "wp search-replace old_string new_string"
}
] |
[
{
"from": "human",
"value": "Import the contents of a WordPress Extended RSS (WXR) file"
},
{
"from": "gpt",
"value": "wp import path/to/file.xml"
}
] |
[
{
"from": "human",
"value": "Import a certificate"
},
{
"from": "gpt",
"value": "aws acm import-certificate --certificate-arn certificate_arn --certificate certificate --private-key private_key --certificate-chain certificate_chain"
}
] |
[
{
"from": "human",
"value": "List certificates"
},
{
"from": "gpt",
"value": "aws acm list-certificates"
}
] |
[
{
"from": "human",
"value": "Describe a certificate"
},
{
"from": "gpt",
"value": "aws acm describe-certificate --certificate-arn certificate_arn"
}
] |
[
{
"from": "human",
"value": "Request a certificate"
},
{
"from": "gpt",
"value": "aws acm request-certificate --domain-name domain_name --validation-method validation_method"
}
] |
[
{
"from": "human",
"value": "Delete a certificate"
},
{
"from": "gpt",
"value": "aws acm delete-certificate --certificate-arn certificate_arn"
}
] |
[
{
"from": "human",
"value": "List certificate validations"
},
{
"from": "gpt",
"value": "aws acm list-certificates --certificate-statuses status"
}
] |
[
{
"from": "human",
"value": "Get certificate details"
},
{
"from": "gpt",
"value": "aws acm get-certificate --certificate-arn certificate_arn"
}
] |
[
{
"from": "human",
"value": "Update certificate options"
},
{
"from": "gpt",
"value": "aws acm update-certificate-options --certificate-arn certificate_arn --options options"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr declare"
}
] |
[
{
"from": "human",
"value": "Delete elements matching an XPATH from an XML document"
},
{
"from": "gpt",
"value": "xml edit --delete \"XPATH1\" path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Move an element node of an XML document from XPATH1 to XPATH2"
},
{
"from": "gpt",
"value": "xml edit --move \"XPATH1\" \"XPATH2\" path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Rename all attributes named \"id\" to \"ID\""
},
{
"from": "gpt",
"value": "xml edit --rename \"//*/@id\" -v \"ID\" path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Rename sub-elements of the element \"table\" that are named \"rec\" to \"record\""
},
{
"from": "gpt",
"value": "xml edit --rename \"/xml/table/rec\" -v \"record\" path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Update the XML table record with \"id=3\" to the value \"id=5\""
},
{
"from": "gpt",
"value": "xml edit --update \"xml/table/rec[@id=3]/@id\" -v 5 path/to/input.xml|URI"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "xml edit --help"
}
] |
[
{
"from": "human",
"value": "Set a secret for the current repository (user will be prompted for the value)"
},
{
"from": "gpt",
"value": "gh secret set name"
}
] |
[
{
"from": "human",
"value": "Set a secret from a file for the current repository"
},
{
"from": "gpt",
"value": "gh secret set name < path/to/file"
}
] |
[
{
"from": "human",
"value": "Set a secret for a specific repository"
},
{
"from": "gpt",
"value": "gh secret set name --body value --repo owner/repository"
}
] |
[
{
"from": "human",
"value": "Set an organization secret for specific repositories"
},
{
"from": "gpt",
"value": "gh secret set name --org organization --repos \"repository1,repository2,...\""
}
] |
[
{
"from": "human",
"value": "Set an organization secret with a specific visibility"
},
{
"from": "gpt",
"value": "gh secret set name --org organization --visibility all|private|selected"
}
] |
[
{
"from": "human",
"value": "Convert a TIFF to a PNM file"
},
{
"from": "gpt",
"value": "tifftopnm path/to/input_file.tiff > path/to/output_file.pnm"
}
] |
[
{
"from": "human",
"value": "Create a PGM file containing the alpha channel of the input image"
},
{
"from": "gpt",
"value": "tifftopnm [-a|-alphaout] path/to/alpha_file.pgm path/to/input_file.tiff > path/to/output_file.pnm"
}
] |
[
{
"from": "human",
"value": "Respect the `fillorder` tag in the input TIFF image"
},
{
"from": "gpt",
"value": "tifftopnm [-r|-respectfillorder] path/to/input_file.tiff > path/to/output_file.pnm"
}
] |
[
{
"from": "human",
"value": "Print TIFF header information to `stderr`"
},
{
"from": "gpt",
"value": "tifftopnm [-h|-headerdump] path/to/input_file.tiff > path/to/output_file.pnm"
}
] |
[
{
"from": "human",
"value": "Print all URLs found by a Google search"
},
{
"from": "gpt",
"value": "xidel https://www.google.com/search?q=test --extract \"//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']\""
}
] |
[
{
"from": "human",
"value": "Print the title of all pages found by a Google search and download them"
},
{
"from": "gpt",
"value": "xidel https://www.google.com/search?q=test --follow \"//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']\" --extract //title --download '{$host}/'"
}
] |
[
{
"from": "human",
"value": "Follow all links on a page and print the titles, with XPath"
},
{
"from": "gpt",
"value": "xidel https://example.org --follow //a --extract //title"
}
] |
[
{
"from": "human",
"value": "Follow all links on a page and print the titles, with CSS selectors"
},
{
"from": "gpt",
"value": "xidel https://example.org --follow \"css('a')\" --css title"
}
] |
[
{
"from": "human",
"value": "Follow all links on a page and print the titles, with pattern matching"
},
{
"from": "gpt",
"value": "xidel https://example.org --follow \"<a>{.}</a>*\" --extract \"<title>{.}</title>\""
}
] |
[
{
"from": "human",
"value": "Read the pattern from example.xml (which will also check if the element containing \"ood\" is there, and fail otherwise)"
},
{
"from": "gpt",
"value": "xidel path/to/example.xml --extract \"<x><foo>ood</foo><bar>{.}</bar></x>\""
}
] |
[
{
"from": "human",
"value": "Print all newest Stack Overflow questions with title and URL using pattern matching on their RSS feed"
},
{
"from": "gpt",
"value": "xidel http://stackoverflow.com/feeds --extract \"<entry><title>{title:=.}</title><link>{uri:=@href}</link></entry>+\""
}
] |
[
{
"from": "human",
"value": "Check for unread Reddit mail, Webscraping, combining CSS, XPath, JSONiq, and automatically form evaluation"
},
{
"from": "gpt",
"value": "xidel https://reddit.com --follow \"form(css('form.login-form')[1], {'user': '$your_username', 'passwd': '$your_password'})\" --e... |
[
{
"from": "human",
"value": "Update all installed toolchains and `rustup`"
},
{
"from": "gpt",
"value": "rustup update"
}
] |
[
{
"from": "human",
"value": "Install or update a specific toolchain (see `rustup help toolchain` for more information)"
},
{
"from": "gpt",
"value": "rustup update toolchain"
}
] |
[
{
"from": "human",
"value": "List all VirtualBox virtual machines"
},
{
"from": "gpt",
"value": "VBoxManage list vms"
}
] |
[
{
"from": "human",
"value": "Show DHCP servers available on the host system"
},
{
"from": "gpt",
"value": "VBoxManage list dhcpservers"
}
] |
[
{
"from": "human",
"value": "Show Oracle VM VirtualBox extension packs currently installed"
},
{
"from": "gpt",
"value": "VBoxManage list extpacks"
}
] |
[
{
"from": "human",
"value": "Show all virtual machine groups"
},
{
"from": "gpt",
"value": "VBoxManage list groups"
}
] |
[
{
"from": "human",
"value": "Show virtual disk settings that are currently in use by VirtualBox"
},
{
"from": "gpt",
"value": "VBoxManage list hdds"
}
] |
[
{
"from": "human",
"value": "Show host-only network interfaces available on host system"
},
{
"from": "gpt",
"value": "VBoxManage list hostonlyifs"
}
] |
[
{
"from": "human",
"value": "Show the list of currently running virtual machines"
},
{
"from": "gpt",
"value": "VBoxManage list runningvms"
}
] |
[
{
"from": "human",
"value": "Show host system information"
},
{
"from": "gpt",
"value": "VBoxManage list hostinfo"
}
] |
[
{
"from": "human",
"value": "Register your authentication token"
},
{
"from": "gpt",
"value": "expose token token"
}
] |
[
{
"from": "human",
"value": "Share the current working directory"
},
{
"from": "gpt",
"value": "expose"
}
] |
[
{
"from": "human",
"value": "Share the current working directory with a specific subdomain"
},
{
"from": "gpt",
"value": "expose --subdomain=subdomain"
}
] |
[
{
"from": "human",
"value": "Share a local URL"
},
{
"from": "gpt",
"value": "expose share url"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.