conversations
listlengths
2
2
[ { "from": "human", "value": "Abort a rebase in progress (e.g. if it is interrupted by a merge conflict)" }, { "from": "gpt", "value": "git rebase --abort" } ]
[ { "from": "human", "value": "Move part of the current branch onto a new base, providing the old base to start from" }, { "from": "gpt", "value": "git rebase --onto new_base old_base" } ]
[ { "from": "human", "value": "Reapply the last 5 commits in-place, stopping to allow them to be reordered, omitted, combined or modified" }, { "from": "gpt", "value": "git rebase [-i|--interactive] HEAD~5" } ]
[ { "from": "human", "value": "Auto-resolve any conflicts by favoring the working branch version (`theirs` keyword has reversed meaning in this case)" }, { "from": "gpt", "value": "git rebase [-X|--strategy-option] theirs branch_name" } ]
[ { "from": "human", "value": "Execute a BusyBox function" }, { "from": "gpt", "value": "busybox ls|rm|mkdir|cat|... args" } ]
[ { "from": "human", "value": "Display help and a list of functions" }, { "from": "gpt", "value": "busybox --help" } ]
[ { "from": "human", "value": "Connect to the default X server" }, { "from": "gpt", "value": "twm" } ]
[ { "from": "human", "value": "Connect to a specific X server" }, { "from": "gpt", "value": "twm -display display" } ]
[ { "from": "human", "value": "Only manage the default screen" }, { "from": "gpt", "value": "twm -s" } ]
[ { "from": "human", "value": "Use a specific startup file" }, { "from": "gpt", "value": "twm -f path/to/file" } ]
[ { "from": "human", "value": "Enable verbose mode and print unexpected errors in X" }, { "from": "gpt", "value": "twm -v" } ]
[ { "from": "human", "value": "Crack password hashes" }, { "from": "gpt", "value": "john path/to/hashes.txt" } ]
[ { "from": "human", "value": "Show passwords cracked" }, { "from": "gpt", "value": "john --show path/to/hashes.txt" } ]
[ { "from": "human", "value": "Display users' cracked passwords by user identifier from multiple files" }, { "from": "gpt", "value": "john --show --users=user_ids path/to/hashes1.txt path/to/hashes2.txt ..." } ]
[ { "from": "human", "value": "Crack password hashes, using a custom wordlist" }, { "from": "gpt", "value": "john --wordlist=path/to/wordlist.txt path/to/hashes.txt" } ]
[ { "from": "human", "value": "List available hash formats" }, { "from": "gpt", "value": "john --list=formats" } ]
[ { "from": "human", "value": "Crack password hashes, using a specific hash format" }, { "from": "gpt", "value": "john --format=md5crypt path/to/hashes.txt" } ]
[ { "from": "human", "value": "Crack password hashes, enabling word mangling rules" }, { "from": "gpt", "value": "john --rules path/to/hashes.txt" } ]
[ { "from": "human", "value": "Restore an interrupted cracking session from a state file, e.g. `mycrack.rec`" }, { "from": "gpt", "value": "john --restore=path/to/mycrack.rec" } ]
[ { "from": "human", "value": "Create a virtual environment" }, { "from": "gpt", "value": "vf new virtualenv_name" } ]
[ { "from": "human", "value": "Create a virtual environment for a specific Python version" }, { "from": "gpt", "value": "vf new --python /usr/local/bin/python3.8 virtualenv_name" } ]
[ { "from": "human", "value": "Activate and use the specified virtual environment" }, { "from": "gpt", "value": "vf activate virtualenv_name" } ]
[ { "from": "human", "value": "Connect the current virtualenv to the current directory, so that it is activated automatically as soon as you enter it (and deactivated as soon as you leave)" }, { "from": "gpt", "value": "vf connect" } ]
[ { "from": "human", "value": "Deactivate the current virtual environment" }, { "from": "gpt", "value": "vf deactivate" } ]
[ { "from": "human", "value": "List all virtual environments" }, { "from": "gpt", "value": "vf ls" } ]
[ { "from": "human", "value": "Remove a virtual environment" }, { "from": "gpt", "value": "vf rm virtualenv_name" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "vf help" } ]
[ { "from": "human", "value": "Run the default task process" }, { "from": "gpt", "value": "grunt" } ]
[ { "from": "human", "value": "Run one or more tasks" }, { "from": "gpt", "value": "grunt task1 task2 ..." } ]
[ { "from": "human", "value": "Specify an alternative configuration file" }, { "from": "gpt", "value": "grunt --gruntfile path/to/file" } ]
[ { "from": "human", "value": "Specify an alternative base path for relative files" }, { "from": "gpt", "value": "grunt --base path/to/directory" } ]
[ { "from": "human", "value": "Specify an additional directory to scan for tasks in" }, { "from": "gpt", "value": "grunt --tasks path/to/directory" } ]
[ { "from": "human", "value": "Perform a dry-run without writing any files" }, { "from": "gpt", "value": "grunt --no-write" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "grunt --help" } ]
[ { "from": "human", "value": "List the repositories in a registry" }, { "from": "gpt", "value": "crane catalog registry_address" } ]
[ { "from": "human", "value": "Print the full image reference" }, { "from": "gpt", "value": "crane catalog registry_address --full-ref" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "crane catalog [-h|--help]" } ]
[ { "from": "human", "value": "Rebuild with `make` if any file changes" }, { "from": "gpt", "value": "reflex make" } ]
[ { "from": "human", "value": "Compile and run Go application if any `.go` file changes" }, { "from": "gpt", "value": "reflex --regex='\\.go$' go run ." } ]
[ { "from": "human", "value": "Ignore a directory when watching for changes" }, { "from": "gpt", "value": "reflex --inverse-regex='^dir/' command" } ]
[ { "from": "human", "value": "Run command when reflex starts and restarts on file changes" }, { "from": "gpt", "value": "reflex --start-service=true command" } ]
[ { "from": "human", "value": "Substitute the filename that changed in" }, { "from": "gpt", "value": "reflex -- echo {}" } ]
[ { "from": "human", "value": "Upload a file to transfer.sh" }, { "from": "gpt", "value": "transfersh path/to/file" } ]
[ { "from": "human", "value": "Upload a file showing a progress bar (requires Python package `requests_toolbelt`)" }, { "from": "gpt", "value": "transfersh --progress path/to/file" } ]
[ { "from": "human", "value": "Upload a file using a different file name" }, { "from": "gpt", "value": "transfersh --name filename path/to/file" } ]
[ { "from": "human", "value": "Upload a file to a custom transfer.sh server" }, { "from": "gpt", "value": "transfersh --servername upload.server.name path/to/file" } ]
[ { "from": "human", "value": "Upload all files from a directory recursively" }, { "from": "gpt", "value": "transfersh --recursive path/to/directory/" } ]
[ { "from": "human", "value": "Upload a specific directory as an uncompressed tar" }, { "from": "gpt", "value": "transfersh -rt path/to/directory" } ]
[ { "from": "human", "value": "Read a PNM image as input and produce a PNG image as output" }, { "from": "gpt", "value": "pnmtopng path/to/file.pnm > path/to/file.png" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "pnmtopng [-vers|-version]" } ]
[ { "from": "human", "value": "List secret keys for the current repository" }, { "from": "gpt", "value": "gh secret list" } ]
[ { "from": "human", "value": "List secret keys for a specific organization" }, { "from": "gpt", "value": "gh secret list --org organization" } ]
[ { "from": "human", "value": "List secret keys for a specific repository" }, { "from": "gpt", "value": "gh secret list --repo owner/repository" } ]
[ { "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 an organization secret for specific repositories" }, { "from": "gpt", "value": "gh secret set name --org organization --repos repository1,repository2" } ]
[ { "from": "human", "value": "Remove a secret for the current repository" }, { "from": "gpt", "value": "gh secret remove name" } ]
[ { "from": "human", "value": "Remove a secret for a specific organization" }, { "from": "gpt", "value": "gh secret remove name --org organization" } ]
[ { "from": "human", "value": "Create a new project" }, { "from": "gpt", "value": "gcloud projects create project_id|project_number" } ]
[ { "from": "human", "value": "List all active projects" }, { "from": "gpt", "value": "gcloud projects list" } ]
[ { "from": "human", "value": "Display metadata for a project" }, { "from": "gpt", "value": "gcloud projects describe project_id" } ]
[ { "from": "human", "value": "Delete a project" }, { "from": "gpt", "value": "gcloud projects delete project_id|project_number" } ]
[ { "from": "human", "value": "Add an IAM policy binding to a specified project" }, { "from": "gpt", "value": "gcloud projects add-iam-policy-binding project_id --member principal --role role" } ]
[ { "from": "human", "value": "Pretty-print one or more graphs in canonical format" }, { "from": "gpt", "value": "nop path/to/input1.gv path/to/input2.gv ... > path/to/output.gv" } ]
[ { "from": "human", "value": "Check one or more graphs for validity, producing no output graph" }, { "from": "gpt", "value": "nop -p path/to/input1.gv path/to/input2.gv ..." } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "nop -?" } ]
[ { "from": "human", "value": "Save output to a file" }, { "from": "gpt", "value": "httpry -o path/to/file.log" } ]
[ { "from": "human", "value": "Listen on a specific interface and save output to a binary PCAP format file" }, { "from": "gpt", "value": "httpry eth0 -b path/to/file.pcap" } ]
[ { "from": "human", "value": "Filter output by a comma-separated list of HTTP verbs" }, { "from": "gpt", "value": "httpry -m get|post|put|head|options|delete|trace|connect|patch" } ]
[ { "from": "human", "value": "Read from an input capture file and filter by IP" }, { "from": "gpt", "value": "httpry -r path/to/file.log 'host 192.168.5.25'" } ]
[ { "from": "human", "value": "Run as daemon process" }, { "from": "gpt", "value": "httpry -d -o path/to/file.log" } ]
[ { "from": "human", "value": "Format output for a PostScript printer, saving the output to a file" }, { "from": "gpt", "value": "groff path/to/input.roff > path/to/output.ps" } ]
[ { "from": "human", "value": "Render a man page using the ASCII output device, and display it using a pager" }, { "from": "gpt", "value": "groff -man -T ascii path/to/manpage.1 | less --RAW-CONTROL-CHARS" } ]
[ { "from": "human", "value": "Render a man page into an HTML file" }, { "from": "gpt", "value": "groff -man -T html path/to/manpage.1 > path/to/manpage.html" } ]
[ { "from": "human", "value": "Typeset a roff file containing [t]ables and [p]ictures, using the [me] macro set, to PDF, saving the output" }, { "from": "gpt", "value": "groff -t -p -me -T pdf path/to/input.me > path/to/output.pdf" } ]
[ { "from": "human", "value": "Run a `groff` command with preprocessor and macro options guessed by the `grog` utility" }, { "from": "gpt", "value": "eval \"$(grog -T utf8 path/to/input.me)\"" } ]
[ { "from": "human", "value": "Log in to the Perforce service" }, { "from": "gpt", "value": "p4 login -a" } ]
[ { "from": "human", "value": "Create a client" }, { "from": "gpt", "value": "p4 client" } ]
[ { "from": "human", "value": "Copy files from depot into the client workspace" }, { "from": "gpt", "value": "p4 sync" } ]
[ { "from": "human", "value": "Create or edit changelist description" }, { "from": "gpt", "value": "p4 change" } ]
[ { "from": "human", "value": "Open a file to edit" }, { "from": "gpt", "value": "p4 edit -c changelist_number path/to/file" } ]
[ { "from": "human", "value": "Open a new file to add it to the depot" }, { "from": "gpt", "value": "p4 add" } ]
[ { "from": "human", "value": "Display list of files modified by changelist" }, { "from": "gpt", "value": "p4 describe -c changelist_number" } ]
[ { "from": "human", "value": "Submit a changelist to the depot" }, { "from": "gpt", "value": "p4 submit -c changelist_number" } ]
[ { "from": "human", "value": "Bootstrap a new node" }, { "from": "gpt", "value": "knife bootstrap fqdn_or_ip" } ]
[ { "from": "human", "value": "List all registered nodes" }, { "from": "gpt", "value": "knife node list" } ]
[ { "from": "human", "value": "Show a node" }, { "from": "gpt", "value": "knife node show node_name" } ]
[ { "from": "human", "value": "Edit a node" }, { "from": "gpt", "value": "knife node edit node_name" } ]
[ { "from": "human", "value": "Edit a role" }, { "from": "gpt", "value": "knife role edit role_name" } ]
[ { "from": "human", "value": "View a data bag" }, { "from": "gpt", "value": "knife data bag show data_bag_name data_bag_item" } ]
[ { "from": "human", "value": "Upload a local cookbook to the Chef server" }, { "from": "gpt", "value": "knife cookbook upload cookbook_name" } ]
[ { "from": "human", "value": "Find all instances of a command" }, { "from": "gpt", "value": "where command" } ]
[ { "from": "human", "value": "Convert PPM image to PGM image" }, { "from": "gpt", "value": "ppmtopgm path/to/file.ppm > path/to/file.pgm" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "ppmtopgm [-v|-version]" } ]
[ { "from": "human", "value": "Create a shaded scatter plot of points and save it to a PNG file and set the background color" }, { "from": "gpt", "value": "datashader_cli points path/to/input.parquet --x pickup_x --y pickup_y path/to/output.png --background black|white|#rrggbb" } ]
[ { "from": "human", "value": "Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.)" }, { "from": "gpt", "value": "datashader_cli points path/to/input_data.geo.parquet path/to/output_data.png --geo true" } ]
[ { "from": "human", "value": "Use matplotlib to render the image" }, { "from": "gpt", "value": "datashader_cli points path/to/input_data.geo.parquet path/to/output_data.png --geo true --matplotlib true" } ]
[ { "from": "human", "value": "Interactively log into a registry" }, { "from": "gpt", "value": "docker login" } ]
[ { "from": "human", "value": "Log into a registry with a specific username (user will be prompted for a password)" }, { "from": "gpt", "value": "docker login --username username" } ]
[ { "from": "human", "value": "Log into a registry with username and password" }, { "from": "gpt", "value": "docker login --username username --password password server" } ]