conversations
listlengths
2
2
[ { "from": "human", "value": "Compare files, showing the differences in unified format (as used by `git diff`)" }, { "from": "gpt", "value": "diff [-u|--unified] old_file new_file" } ]
[ { "from": "human", "value": "Compare directories recursively (shows names for differing files/directories as well as changes made to files)" }, { "from": "gpt", "value": "diff [-r|--recursive] old_directory new_directory" } ]
[ { "from": "human", "value": "Compare directories, only showing the names of files that differ" }, { "from": "gpt", "value": "diff [-r|--recursive] [-q|--brief] old_directory new_directory" } ]
[ { "from": "human", "value": "Create a patch file for Git from the differences of two text files, treating nonexistent files as empty" }, { "from": "gpt", "value": "diff [-a|--text] [-u|--unified] [-N|--new-file] old_file new_file > diff.patch" } ]
[ { "from": "human", "value": "Compare files, showing output in color and try hard to find smaller set of changes" }, { "from": "gpt", "value": "diff [-d|--minimal] --color=always old_file new_file" } ]
[ { "from": "human", "value": "Apply a patch" }, { "from": "gpt", "value": "xdelta -d -s path/to/input_file path/to/delta_file.xdelta path/to/output_file" } ]
[ { "from": "human", "value": "Create a patch" }, { "from": "gpt", "value": "xdelta -e -s path/to/old_file path/to/new_file path/to/output_file.xdelta" } ]
[ { "from": "human", "value": "Recreate the `texlive.tlpdb` database file and dump it to `stdout`" }, { "from": "gpt", "value": "sudo tlmgr recreate-tlpdb" } ]
[ { "from": "human", "value": "Copy specific files from a remote" }, { "from": "gpt", "value": "git rscp remote_name path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Copy a specific directory from a remote" }, { "from": "gpt", "value": "git rscp remote_name path/to/directory" } ]
[ { "from": "human", "value": "Connect to the default hypervisor" }, { "from": "gpt", "value": "virsh connect" } ]
[ { "from": "human", "value": "Connect as root to the local QEMU/KVM hypervisor" }, { "from": "gpt", "value": "virsh connect qemu:///system" } ]
[ { "from": "human", "value": "Launch a new instance of the hypervisor and connect to it as the local user" }, { "from": "gpt", "value": "virsh connect qemu:///session" } ]
[ { "from": "human", "value": "Connect as root to a remote hypervisor using SSH" }, { "from": "gpt", "value": "virsh connect qemu+ssh://user_name@host_name/system" } ]
[ { "from": "human", "value": "Create a new `resume.json` file in the current working directory" }, { "from": "gpt", "value": "resume init" } ]
[ { "from": "human", "value": "Validate a `resume.json` against schema tests to ensure it complies with the standard" }, { "from": "gpt", "value": "resume validate" } ]
[ { "from": "human", "value": "Export a resume locally in a stylized HTML or PDF format" }, { "from": "gpt", "value": "resume export path/to/html_or_pdf" } ]
[ { "from": "human", "value": "Start a web server that serves a local `resume.json`" }, { "from": "gpt", "value": "resume serve" } ]
[ { "from": "human", "value": "Print a table from JSON or JSON Lines input" }, { "from": "gpt", "value": "cat file.json | jtbl" } ]
[ { "from": "human", "value": "Print a table and specify the column width for wrapping" }, { "from": "gpt", "value": "cat file.json | jtbl --cols=width" } ]
[ { "from": "human", "value": "Print a table and truncate rows instead of wrapping" }, { "from": "gpt", "value": "cat file.json | jtbl -t" } ]
[ { "from": "human", "value": "Print a table and don't wrap or truncate rows" }, { "from": "gpt", "value": "cat file.json | jtbl -n" } ]
[ { "from": "human", "value": "Convert a PPM image into an PJXL file" }, { "from": "gpt", "value": "ppmtopjxl path/to/image.ppm > path/to/output.pjxl" } ]
[ { "from": "human", "value": "Resize the input image" }, { "from": "gpt", "value": "ppmtopjxl [-xsi|-xsize] 10cm [-ysi|-ysize] 5cm path/to/image.ppm > path/to/output.pjxl" } ]
[ { "from": "human", "value": "Shift the input image" }, { "from": "gpt", "value": "ppmtopjxl [-xsh|-xshift] 10pt [-ysh|-yshift] 5pt path/to/image.ppm > path/to/output.pjxl" } ]
[ { "from": "human", "value": "Do not use the normal TIFF 4.0 compression method" }, { "from": "gpt", "value": "ppmtopjxl [-n|-nopack] path/to/image.ppm > path/to/output.pjxl" } ]
[ { "from": "human", "value": "Search a disk for bad blocks by using a non-destructive read-only test" }, { "from": "gpt", "value": "sudo badblocks /dev/sdX" } ]
[ { "from": "human", "value": "Search an unmounted disk for bad blocks with a [n]on-destructive read-write test" }, { "from": "gpt", "value": "sudo badblocks -n /dev/sdX" } ]
[ { "from": "human", "value": "Search an unmounted disk for bad blocks with a destructive [w]rite test" }, { "from": "gpt", "value": "sudo badblocks -w /dev/sdX" } ]
[ { "from": "human", "value": "Use the destructive [w]rite test and [s]how [v]erbose progress" }, { "from": "gpt", "value": "sudo badblocks -svw /dev/sdX" } ]
[ { "from": "human", "value": "In destructive mode, [o]utput found blocks to a file" }, { "from": "gpt", "value": "sudo badblocks -o path/to/file -w /dev/sdX" } ]
[ { "from": "human", "value": "Use the destructive mode with improved speed using 4K [b]lock size and 64K block [c]ount" }, { "from": "gpt", "value": "sudo badblocks -w -b 4096 -c 65536 /dev/sdX" } ]
[ { "from": "human", "value": "Build a project with default build file `build.xml`" }, { "from": "gpt", "value": "ant" } ]
[ { "from": "human", "value": "Build a project using build file other than `build.xml`" }, { "from": "gpt", "value": "ant [-f|-buildfile] buildfile.xml" } ]
[ { "from": "human", "value": "Print information on possible targets for this project" }, { "from": "gpt", "value": "ant [-p|-projecthelp]" } ]
[ { "from": "human", "value": "Print debugging information" }, { "from": "gpt", "value": "ant [-d|-debug]" } ]
[ { "from": "human", "value": "Execute all targets that do not depend on fail target(s)" }, { "from": "gpt", "value": "ant [-k|-keep-going]" } ]
[ { "from": "human", "value": "Initialize a new local repository" }, { "from": "gpt", "value": "hub init" } ]
[ { "from": "human", "value": "Login to PropelAuth using an API Key generated from <https://auth.propelauth.com/api_keys/personal>" }, { "from": "gpt", "value": "propelauth login" } ]
[ { "from": "human", "value": "Set the default PropelAuth Project for the CLI. If no default project is set, the system will prompt for selecting a Project each time certain commands are run" }, { "from": "gpt", "value": "propelauth set-default-project" } ]
[ { "from": "human", "value": "Install PropelAuth authentication in an application. If no directory is provided, the current directory is used" }, { "from": "gpt", "value": "propelauth setup [-f|--framework] path/to/directory" } ]
[ { "from": "human", "value": "Log the CLI out of PropelAuth" }, { "from": "gpt", "value": "propelauth logout" } ]
[ { "from": "human", "value": "Colorize one or more ranked digraph (that were already processed by `dot`)" }, { "from": "gpt", "value": "gvcolor path/to/layout1.gv path/to/layout2.gv ... > path/to/output.gv" } ]
[ { "from": "human", "value": "Lay out a graph and colorize it, then convert to a PNG image" }, { "from": "gpt", "value": "dot path/to/input.gv | gvcolor | dot -T png > path/to/output.png" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gvcolor -?" } ]
[ { "from": "human", "value": "List all available products" }, { "from": "gpt", "value": "eol" } ]
[ { "from": "human", "value": "Get EoLs of one or more products" }, { "from": "gpt", "value": "eol product1 product2 ..." } ]
[ { "from": "human", "value": "Open the product webpage" }, { "from": "gpt", "value": "eol product --web" } ]
[ { "from": "human", "value": "Get EoLs of a one or more products in a specific format" }, { "from": "gpt", "value": "eol product1 product2 ... --format html|json|md|markdown|pretty|rst|csv|tsv|yaml" } ]
[ { "from": "human", "value": "Get EoLs of one or more products as a single markdown file" }, { "from": "gpt", "value": "eol product1 product2 ... --format markdown > eol_report.md" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "eol --help" } ]
[ { "from": "human", "value": "Interactively create a new `wapm.toml` file" }, { "from": "gpt", "value": "wapm init" } ]
[ { "from": "human", "value": "Download all the packages listed as dependencies in `wapm.toml`" }, { "from": "gpt", "value": "wapm install" } ]
[ { "from": "human", "value": "Download a specific version of a package and add it to the list of dependencies in `wapm.toml`" }, { "from": "gpt", "value": "wapm install package@version" } ]
[ { "from": "human", "value": "Download a package and install it globally" }, { "from": "gpt", "value": "wapm install --global package" } ]
[ { "from": "human", "value": "Uninstall a package and remove it from the list of dependencies in `wapm.toml`" }, { "from": "gpt", "value": "wapm uninstall package" } ]
[ { "from": "human", "value": "Print a tree of locally installed dependencies" }, { "from": "gpt", "value": "wapm list" } ]
[ { "from": "human", "value": "List top-level globally installed packages" }, { "from": "gpt", "value": "wapm list --global" } ]
[ { "from": "human", "value": "Execute a package command using the Wasmer runtime" }, { "from": "gpt", "value": "wapm run command_name arguments" } ]
[ { "from": "human", "value": "Run a vala file, with gtk+" }, { "from": "gpt", "value": "vala path/to/file.vala --pkg gtk+-3.0" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "vala --help" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "vala --version" } ]
[ { "from": "human", "value": "Download a video or playlist" }, { "from": "gpt", "value": "youtube-dl 'https://www.youtube.com/watch?v=oHg5SJYRHA0'" } ]
[ { "from": "human", "value": "List all formats that a video or playlist is available in" }, { "from": "gpt", "value": "youtube-dl --list-formats 'https://www.youtube.com/watch?v=Mwa0_nE9H7A'" } ]
[ { "from": "human", "value": "Download a video or playlist at a specific quality" }, { "from": "gpt", "value": "youtube-dl --format \"best[height<=480]\" 'https://www.youtube.com/watch?v=oHg5SJYRHA0'" } ]
[ { "from": "human", "value": "Download the audio from a video and convert it to an MP3" }, { "from": "gpt", "value": "youtube-dl -x --audio-format mp3 'url'" } ]
[ { "from": "human", "value": "Download the best quality audio and video and merge them" }, { "from": "gpt", "value": "youtube-dl -f bestvideo+bestaudio 'url'" } ]
[ { "from": "human", "value": "Download video(s) as MP4 files with custom filenames" }, { "from": "gpt", "value": "youtube-dl --format mp4 -o \"%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s\" 'url'" } ]
[ { "from": "human", "value": "Download a particular language's subtitles along with the video" }, { "from": "gpt", "value": "youtube-dl --sub-lang en --write-sub 'https://www.youtube.com/watch?v=Mwa0_nE9H7A'" } ]
[ { "from": "human", "value": "Download a playlist and extract MP3s from it" }, { "from": "gpt", "value": "youtube-dl -f \"bestaudio\" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o \"%(title)s.%(ext)s\" 'url_to_playlist'" } ]
[ { "from": "human", "value": "Create a new scaffolded site, with SQLite as backend, in the `my-project` directory" }, { "from": "gpt", "value": "stack new my-project yesod-sqlite" } ]
[ { "from": "human", "value": "Install the Yesod CLI tool within a Yesod scaffolded site" }, { "from": "gpt", "value": "stack build yesod-bin cabal-install --install-ghc" } ]
[ { "from": "human", "value": "Start development server" }, { "from": "gpt", "value": "stack exec -- yesod devel" } ]
[ { "from": "human", "value": "Touch files with altered Template Haskell dependencies" }, { "from": "gpt", "value": "stack exec -- yesod touch" } ]
[ { "from": "human", "value": "Deploy application using Keter (Yesod's deployment manager)" }, { "from": "gpt", "value": "stack exec -- yesod keter" } ]
[ { "from": "human", "value": "List every item" }, { "from": "gpt", "value": "todo.sh ls" } ]
[ { "from": "human", "value": "Add an item with project and context tags" }, { "from": "gpt", "value": "todo.sh add 'description +project @context'" } ]
[ { "from": "human", "value": "Mark an item as [do]ne" }, { "from": "gpt", "value": "todo.sh do item_no" } ]
[ { "from": "human", "value": "Remove an item" }, { "from": "gpt", "value": "todo.sh rm item_no" } ]
[ { "from": "human", "value": "Set an item's [pri]ority (A-Z)" }, { "from": "gpt", "value": "todo.sh pri item_no priority" } ]
[ { "from": "human", "value": "Replace an item" }, { "from": "gpt", "value": "todo.sh replace item_no 'new_description'" } ]
[ { "from": "human", "value": "Start in the main menu screen, reading from the default journal file" }, { "from": "gpt", "value": "hledger-ui" } ]
[ { "from": "human", "value": "Start with a different color theme" }, { "from": "gpt", "value": "hledger-ui --theme terminal|greenterm|dark" } ]
[ { "from": "human", "value": "Start in the balance sheet accounts screen, showing hierarchy down to level 3" }, { "from": "gpt", "value": "hledger-ui --bs --tree --depth 3" } ]
[ { "from": "human", "value": "Start in this account's screen, showing cleared transactions, and reload on change" }, { "from": "gpt", "value": "hledger-ui --register assets:bank:checking --cleared --watch" } ]
[ { "from": "human", "value": "Read two journal files, and show amounts as current value when known" }, { "from": "gpt", "value": "hledger-ui --file path/to/2024.journal --file path/to/2024-prices.journal --value now" } ]
[ { "from": "human", "value": "Show the manual in Info format, if possible" }, { "from": "gpt", "value": "hledger-ui --info" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "hledger-ui --help" } ]
[ { "from": "human", "value": "Convert a file to the text format and display it to the console" }, { "from": "gpt", "value": "wasm2wat file.wasm" } ]
[ { "from": "human", "value": "Write the output to a given file" }, { "from": "gpt", "value": "wasm2wat file.wasm -o file.wat" } ]
[ { "from": "human", "value": "Connect to the main Ethereum network and automatically download the full node" }, { "from": "gpt", "value": "geth" } ]
[ { "from": "human", "value": "Connect to the Ropsten test network" }, { "from": "gpt", "value": "geth --testnet" } ]
[ { "from": "human", "value": "Create a new account" }, { "from": "gpt", "value": "geth account new" } ]
[ { "from": "human", "value": "Enable mining" }, { "from": "gpt", "value": "geth --mine" } ]
[ { "from": "human", "value": "Probe a list of domains from a text file" }, { "from": "gpt", "value": "cat input_file | httprobe" } ]
[ { "from": "human", "value": "Only check for HTTP if HTTPS is not working" }, { "from": "gpt", "value": "cat input_file | httprobe --prefer-https" } ]
[ { "from": "human", "value": "Probe additional ports with a given protocol" }, { "from": "gpt", "value": "cat input_file | httprobe -p https:2222" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "httprobe --help" } ]
[ { "from": "human", "value": "Display help about a specific Git subcommand" }, { "from": "gpt", "value": "git help subcommand" } ]
[ { "from": "human", "value": "Display help about a specific Git subcommand in a web browser" }, { "from": "gpt", "value": "git help --web subcommand" } ]