conversations
listlengths
2
2
[ { "from": "human", "value": "Sign a package for self-hosting" }, { "from": "gpt", "value": "web-ext sign --api-key api_key --api-secret api_secret" } ]
[ { "from": "human", "value": "Listen to a port, wait for an incoming connection and transfer data to STDIO" }, { "from": "gpt", "value": "sudo socat - TCP-LISTEN:8080,fork" } ]
[ { "from": "human", "value": "Listen on a port using SSL and print to STDOUT" }, { "from": "gpt", "value": "sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT" } ]
[ { "from": "human", "value": "Create a connection to a host and port, transfer data in STDIO to connected host" }, { "from": "gpt", "value": "sudo socat - TCP4:www.example.com:80" } ]
[ { "from": "human", "value": "Forward incoming data of a local port to another host and port" }, { "from": "gpt", "value": "sudo socat TCP-LISTEN:80,fork TCP4:www.example.com:80" } ]
[ { "from": "human", "value": "Send data with multicast routing scheme" }, { "from": "gpt", "value": "echo \"Hello Multicast\" | socat - UDP4-DATAGRAM:224.0.0.1:5000" } ]
[ { "from": "human", "value": "Receive data from a multicast" }, { "from": "gpt", "value": "socat - UDP4-RECVFROM:5000" } ]
[ { "from": "human", "value": "Start an interactive shell session" }, { "from": "gpt", "value": "xonsh" } ]
[ { "from": "human", "value": "Execute a single command and then exit" }, { "from": "gpt", "value": "xonsh -c \"command\"" } ]
[ { "from": "human", "value": "Run commands from a script file and then exit" }, { "from": "gpt", "value": "xonsh path/to/script_file.xonsh" } ]
[ { "from": "human", "value": "Define environment variables for the shell process" }, { "from": "gpt", "value": "xonsh -Dname1=value1 -Dname2=value2" } ]
[ { "from": "human", "value": "Load the specified `.xonsh` or `.json` configuration files" }, { "from": "gpt", "value": "xonsh --rc path/to/file1.xonsh path/to/file2.json" } ]
[ { "from": "human", "value": "Skip loading the `.xonshrc` configuration file" }, { "from": "gpt", "value": "xonsh --no-rc" } ]
[ { "from": "human", "value": "Add the default SSH keys in `~/.ssh` to the ssh-agent" }, { "from": "gpt", "value": "ssh-add" } ]
[ { "from": "human", "value": "Add a specific key to the ssh-agent" }, { "from": "gpt", "value": "ssh-add path/to/private_key" } ]
[ { "from": "human", "value": "List fingerprints of currently loaded keys" }, { "from": "gpt", "value": "ssh-add -l" } ]
[ { "from": "human", "value": "Delete a key from the ssh-agent" }, { "from": "gpt", "value": "ssh-add -d path/to/private_key" } ]
[ { "from": "human", "value": "Delete all currently loaded keys from the ssh-agent" }, { "from": "gpt", "value": "ssh-add -D" } ]
[ { "from": "human", "value": "Add a key to the ssh-agent and the keychain" }, { "from": "gpt", "value": "ssh-add -K path/to/private_key" } ]
[ { "from": "human", "value": "Execute a shell command on each image in a Netpbm file" }, { "from": "gpt", "value": "pampick image_number1 image_number2 ... < path/to/image.pam > path/to/output.pam" } ]
[ { "from": "human", "value": "Build and analyze the project in the current directory" }, { "from": "gpt", "value": "scan-build make" } ]
[ { "from": "human", "value": "Run a command and pass all subsequent options to it" }, { "from": "gpt", "value": "scan-build command command_arguments" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "scan-build" } ]
[ { "from": "human", "value": "Show the status of nodes in the cluster" }, { "from": "gpt", "value": "nomad node status" } ]
[ { "from": "human", "value": "Validate a job file" }, { "from": "gpt", "value": "nomad job validate path/to/file.nomad" } ]
[ { "from": "human", "value": "Plan a job for execution on the cluster" }, { "from": "gpt", "value": "nomad job plan path/to/file.nomad" } ]
[ { "from": "human", "value": "Run a job on the cluster" }, { "from": "gpt", "value": "nomad job run path/to/file.nomad" } ]
[ { "from": "human", "value": "Show the status of jobs currently running on the cluster" }, { "from": "gpt", "value": "nomad job status" } ]
[ { "from": "human", "value": "Show the detailed status information about a specific job" }, { "from": "gpt", "value": "nomad job status job_name" } ]
[ { "from": "human", "value": "Follow the logs of a specific allocation" }, { "from": "gpt", "value": "nomad alloc logs alloc_id" } ]
[ { "from": "human", "value": "Show the status of storage volumes" }, { "from": "gpt", "value": "nomad volume status" } ]
[ { "from": "human", "value": "Compile the specified files" }, { "from": "gpt", "value": "mcs path/to/input_file1.cs path/to/input_file2.cs ..." } ]
[ { "from": "human", "value": "Specify the output program name" }, { "from": "gpt", "value": "mcs -out:path/to/file.exe path/to/input_file1.cs path/to/input_file2.cs ..." } ]
[ { "from": "human", "value": "Specify the output program type" }, { "from": "gpt", "value": "mcs -target:exe|winexe|library|module path/to/input_file1.cs path/to/input_file2.cs ..." } ]
[ { "from": "human", "value": "View documentation for `pamscale`" }, { "from": "gpt", "value": "tldr pamscale" } ]
[ { "from": "human", "value": "Produce a relief of the specified PPM image" }, { "from": "gpt", "value": "ppmrelief path/to/input_file.ppm > path/to/output_file.ppm" } ]
[ { "from": "human", "value": "Delete merged branches" }, { "from": "gpt", "value": "git delete-merged-branches" } ]
[ { "from": "human", "value": "Search for a package name and descriptions of all locally installed packages from a specific regular expression" }, { "from": "gpt", "value": "tlmgr search \"regular_expression\"" } ]
[ { "from": "human", "value": "Search for all file names of all locally installed packages from a regular expression" }, { "from": "gpt", "value": "tlmgr search --file \"regular_expression\"" } ]
[ { "from": "human", "value": "Search for all file names, package names, and descriptions of all locally installed packages from a regular expression" }, { "from": "gpt", "value": "tlmgr search --all \"regular_expression\"" } ]
[ { "from": "human", "value": "Search the TeX Live database, instead of the local installation" }, { "from": "gpt", "value": "tlmgr search --global \"regular_expression\"" } ]
[ { "from": "human", "value": "Restrict the matches for package names and descriptions (but not for file names) to whole words" }, { "from": "gpt", "value": "tlmgr search --all --word \"regular_expression\"" } ]
[ { "from": "human", "value": "Start the command-line with a custom configuration file" }, { "from": "gpt", "value": "odpscmd --config=odps_config.ini" } ]
[ { "from": "human", "value": "Switch current project" }, { "from": "gpt", "value": "use project_name;" } ]
[ { "from": "human", "value": "Show tables in the current project" }, { "from": "gpt", "value": "show tables;" } ]
[ { "from": "human", "value": "Describe a table" }, { "from": "gpt", "value": "desc table_name;" } ]
[ { "from": "human", "value": "Show table partitions" }, { "from": "gpt", "value": "show partitions table_name;" } ]
[ { "from": "human", "value": "Describe a partition" }, { "from": "gpt", "value": "desc table_name partition (partition_spec);" } ]
[ { "from": "human", "value": "Convert `filename.pdf` to plain text and print it to `stdout`" }, { "from": "gpt", "value": "pdftotext filename.pdf -" } ]
[ { "from": "human", "value": "Convert `filename.pdf` to plain text and save it as `filename.txt`" }, { "from": "gpt", "value": "pdftotext filename.pdf" } ]
[ { "from": "human", "value": "Convert `filename.pdf` to plain text and preserve the layout" }, { "from": "gpt", "value": "pdftotext -layout filename.pdf" } ]
[ { "from": "human", "value": "Convert `input.pdf` to plain text and save it as `output.txt`" }, { "from": "gpt", "value": "pdftotext input.pdf output.txt" } ]
[ { "from": "human", "value": "Convert pages 2, 3 and 4 of `input.pdf` to plain text and save them as `output.txt`" }, { "from": "gpt", "value": "pdftotext -f 2 -l 4 input.pdf output.txt" } ]
[ { "from": "human", "value": "List workloads currently running in the cluster on specific namespace" }, { "from": "gpt", "value": "fluxctl --k8s-fwd-ns=namespace list-workloads" } ]
[ { "from": "human", "value": "Show deployed and available images" }, { "from": "gpt", "value": "fluxctl list-images" } ]
[ { "from": "human", "value": "Synchronize the cluster with the Git repository" }, { "from": "gpt", "value": "fluxctl sync" } ]
[ { "from": "human", "value": "Turn on automatic deployment for a workload" }, { "from": "gpt", "value": "fluxctl automate" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "dolt version" } ]
[ { "from": "human", "value": "Generate and show the execution plan in the currently directory" }, { "from": "gpt", "value": "tofu plan" } ]
[ { "from": "human", "value": "Show a plan to destroy all remote objects that currently exist" }, { "from": "gpt", "value": "tofu plan -destroy" } ]
[ { "from": "human", "value": "Show a plan to update the Tofu state and output values" }, { "from": "gpt", "value": "tofu plan -refresh-only" } ]
[ { "from": "human", "value": "Specify values for input variables" }, { "from": "gpt", "value": "tofu plan -var 'name1=value1' -var 'name2=value2'" } ]
[ { "from": "human", "value": "Focus Tofu's attention on only a subset of resources" }, { "from": "gpt", "value": "tofu plan -target resource_type.resource_name[instance index]" } ]
[ { "from": "human", "value": "Output a plan as JSON" }, { "from": "gpt", "value": "tofu plan -json" } ]
[ { "from": "human", "value": "Write a plan to a specific file" }, { "from": "gpt", "value": "tofu plan -no-color > path/to/file" } ]
[ { "from": "human", "value": "Launch the presentation application" }, { "from": "gpt", "value": "calligrastage" } ]
[ { "from": "human", "value": "Open a specific presentation" }, { "from": "gpt", "value": "calligrastage path/to/presentation" } ]
[ { "from": "human", "value": "Display help or version" }, { "from": "gpt", "value": "calligrastage --help|version" } ]
[ { "from": "human", "value": "Convert a HIPS file into a PGM image" }, { "from": "gpt", "value": "hipstopgm path/to/file.hips" } ]
[ { "from": "human", "value": "Suppress all informational messages" }, { "from": "gpt", "value": "hipstopgm [-q|-quiet]" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "hipstopgm [-v|-version]" } ]
[ { "from": "human", "value": "Open Lazydocker" }, { "from": "gpt", "value": "lazydocker" } ]
[ { "from": "human", "value": "Display the current default configuration" }, { "from": "gpt", "value": "lazydocker --config" } ]
[ { "from": "human", "value": "Run Lazydocker in debug mode" }, { "from": "gpt", "value": "lazydocker --debug" } ]
[ { "from": "human", "value": "Specify an alternate Docker Compose file" }, { "from": "gpt", "value": "lazydocker --file path/to/docker-compose.yml" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lazydocker --help" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "lazydocker --version" } ]
[ { "from": "human", "value": "Remove a file or directory from Fossil version control" }, { "from": "gpt", "value": "fossil rm path/to/file_or_directory" } ]
[ { "from": "human", "value": "Remove a file or directory from Fossil version control, and also delete it from the disk" }, { "from": "gpt", "value": "fossil rm --hard path/to/file_or_directory" } ]
[ { "from": "human", "value": "Re-add all previously removed and uncommitted files to Fossil version control" }, { "from": "gpt", "value": "fossil rm --reset" } ]
[ { "from": "human", "value": "Lookup the IP(s) associated with a hostname (A records)" }, { "from": "gpt", "value": "drill example.com" } ]
[ { "from": "human", "value": "Lookup the mail server(s) associated with a given domain name (MX record)" }, { "from": "gpt", "value": "drill mx example.com" } ]
[ { "from": "human", "value": "Get all types of records for a given domain name" }, { "from": "gpt", "value": "drill any example.com" } ]
[ { "from": "human", "value": "Specify an alternate DNS server to query" }, { "from": "gpt", "value": "drill example.com @8.8.8.8" } ]
[ { "from": "human", "value": "Perform a reverse DNS lookup on an IP address (PTR record)" }, { "from": "gpt", "value": "drill -x 8.8.8.8" } ]
[ { "from": "human", "value": "Perform DNSSEC trace from root servers down to a domain name" }, { "from": "gpt", "value": "drill -TD example.com" } ]
[ { "from": "human", "value": "Show DNSKEY record(s) for a domain name" }, { "from": "gpt", "value": "drill -s dnskey example.com" } ]
[ { "from": "human", "value": "Compile multiple source files into an executable" }, { "from": "gpt", "value": "clang path/to/source1.c path/to/source2.c ... [-o|--output] path/to/output_executable" } ]
[ { "from": "human", "value": "Activate output of all errors and warnings" }, { "from": "gpt", "value": "clang path/to/source.c -Wall [-o|--output] output_executable" } ]
[ { "from": "human", "value": "Show common warnings, debug symbols in output, and optimize without affecting debugging" }, { "from": "gpt", "value": "clang path/to/source.c -Wall [-g|--debug] -Og [-o|--output] path/to/output_executable" } ]
[ { "from": "human", "value": "Include libraries from a different path" }, { "from": "gpt", "value": "clang path/to/source.c [-o|--output] path/to/output_executable -Ipath/to/header -Lpath/to/library -llibrary_name" } ]
[ { "from": "human", "value": "Compile source code into LLVM Intermediate Representation (IR)" }, { "from": "gpt", "value": "clang [-S|--assemble] -emit-llvm path/to/source.c [-o|--output] path/to/output.ll" } ]
[ { "from": "human", "value": "Compile source code into an object file without linking" }, { "from": "gpt", "value": "clang [-c|--compile] path/to/source.c" } ]
[ { "from": "human", "value": "Optimize the compiled program for performance" }, { "from": "gpt", "value": "clang path/to/source.c -O1|2|3|fast [-o|--output] path/to/output_executable" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "clang --version" } ]
[ { "from": "human", "value": "Read from file and view in `less`" }, { "from": "gpt", "value": "tspin path/to/application.log" } ]
[ { "from": "human", "value": "Read from another command and print to stdout" }, { "from": "gpt", "value": "journalctl -b --follow | tspin" } ]
[ { "from": "human", "value": "Read from file and print to `stdout`" }, { "from": "gpt", "value": "tspin path/to/application.log --print" } ]
[ { "from": "human", "value": "Read from `stdin` and print to `stdout`" }, { "from": "gpt", "value": "echo \"2021-01-01 12:00:00 [INFO] This is a log message\" | tspin" } ]
[ { "from": "human", "value": "Find files by extension" }, { "from": "gpt", "value": "find root_path -name '*.ext'" } ]