conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Calculate the BLAKE2 checksum for one or more files"
},
{
"from": "gpt",
"value": "b2sum path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Calculate and save the list of BLAKE2 checksums to a file"
},
{
"from": "gpt",
"value": "b2sum path/to/file1 path/to/file2 ... > path/to/file.b2"
}
] |
[
{
"from": "human",
"value": "Calculate a BLAKE2 checksum from `stdin`"
},
{
"from": "gpt",
"value": "command | b2sum"
}
] |
[
{
"from": "human",
"value": "Read a file of BLAKE2 checksums and filenames and verify all files have matching checksums"
},
{
"from": "gpt",
"value": "b2sum [-c|--check] path/to/file.b2"
}
] |
[
{
"from": "human",
"value": "Only show a message for missing files or when verification fails"
},
{
"from": "gpt",
"value": "b2sum [-c|--check] --quiet path/to/file.b2"
}
] |
[
{
"from": "human",
"value": "Only show a message when verification fails, ignoring missing files"
},
{
"from": "gpt",
"value": "b2sum --ignore-missing [-c|--check] --quiet path/to/file.b2"
}
] |
[
{
"from": "human",
"value": "Check a known BLAKE2 checksum of a file"
},
{
"from": "gpt",
"value": "echo known_blake2_checksum_of_the_file path/to/file | b2sum [-c|--check]"
}
] |
[
{
"from": "human",
"value": "Start server serving the specified document root"
},
{
"from": "gpt",
"value": "darkhttpd path/to/docroot"
}
] |
[
{
"from": "human",
"value": "Start server on specified port (port 8080 by default if running as non-root user)"
},
{
"from": "gpt",
"value": "darkhttpd path/to/docroot --port port"
}
] |
[
{
"from": "human",
"value": "Listen only on specified IP address (by default, the server listens on all interfaces)"
},
{
"from": "gpt",
"value": "darkhttpd path/to/docroot --addr ip_address"
}
] |
[
{
"from": "human",
"value": "Test random reads"
},
{
"from": "gpt",
"value": "fio --filename=path/to/file --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=job_name --eta-newline=1 --readonly"
}
] |
[
{
"from": "human",
"value": "Test sequential reads"
},
{
"from": "gpt",
"value": "fio --filename=path/to/file --direct=1 --rw=read --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=job_name --eta-newline=1 --readonly"
}
] |
[
{
"from": "human",
"value": "Test random read/write"
},
{
"from": "gpt",
"value": "fio --filename=path/to/file --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=job_name --eta-newline=1"
}
] |
[
{
"from": "human",
"value": "Test with parameters from a job file"
},
{
"from": "gpt",
"value": "fio path/to/job_file"
}
] |
[
{
"from": "human",
"value": "Convert a specific job file to command-line options"
},
{
"from": "gpt",
"value": "fio --showcmd path/to/job_file"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to an SGI image"
},
{
"from": "gpt",
"value": "pnmtosgi path/to/input.pnm > path/to/output.sgi"
}
] |
[
{
"from": "human",
"value": "Disable or enable compression"
},
{
"from": "gpt",
"value": "pnmtosgi -verbatim|rle path/to/input.pnm > path/to/output.sgi"
}
] |
[
{
"from": "human",
"value": "Write the specified string into the SGI image header's `imagename` field"
},
{
"from": "gpt",
"value": "pnmtosgi [-i|-imagename] string path/to/input.pnm > path/to/output.sgi"
}
] |
[
{
"from": "human",
"value": "Restore dependencies for a .NET project or solution in the current directory"
},
{
"from": "gpt",
"value": "dotnet restore"
}
] |
[
{
"from": "human",
"value": "Restore dependencies for a .NET project or solution in a specific location"
},
{
"from": "gpt",
"value": "dotnet restore path/to/project_or_solution"
}
] |
[
{
"from": "human",
"value": "Restore dependencies without caching the HTTP requests"
},
{
"from": "gpt",
"value": "dotnet restore --no-cache"
}
] |
[
{
"from": "human",
"value": "Force all dependencies to be resolved even if the last restore was successful"
},
{
"from": "gpt",
"value": "dotnet restore --force"
}
] |
[
{
"from": "human",
"value": "Restore dependencies using package source failures as warnings"
},
{
"from": "gpt",
"value": "dotnet restore --ignore-failed-sources"
}
] |
[
{
"from": "human",
"value": "Restore dependencies with a specific verbosity level"
},
{
"from": "gpt",
"value": "dotnet restore --verbosity quiet|minimal|normal|detailed|diagnostic"
}
] |
[
{
"from": "human",
"value": "Start `skim` on all files in the specified directory"
},
{
"from": "gpt",
"value": "find path/to/directory -type f | sk"
}
] |
[
{
"from": "human",
"value": "Start `skim` for running processes"
},
{
"from": "gpt",
"value": "ps aux | sk"
}
] |
[
{
"from": "human",
"value": "Start `skim` with a specified query"
},
{
"from": "gpt",
"value": "sk --query \"query\""
}
] |
[
{
"from": "human",
"value": "Select multiple files with `<Shift Tab>` and write to a file"
},
{
"from": "gpt",
"value": "find path/to/directory -type f | sk --multi > path/to/file"
}
] |
[
{
"from": "human",
"value": "Generate a Zip file with information about the system configuration and the WARP connection"
},
{
"from": "gpt",
"value": "warp-diag"
}
] |
[
{
"from": "human",
"value": "Generate a Zip file with debug information including a timestamp to the output filename"
},
{
"from": "gpt",
"value": "warp-diag --add-ts"
}
] |
[
{
"from": "human",
"value": "Save the output file under a specific directory"
},
{
"from": "gpt",
"value": "warp-diag --output path/to/directory"
}
] |
[
{
"from": "human",
"value": "Submit a new feedback to Cloudflare's WARP interactively"
},
{
"from": "gpt",
"value": "warp-diag feedback"
}
] |
[
{
"from": "human",
"value": "Send input to a running command"
},
{
"from": "gpt",
"value": "pueue send task_id \"input\""
}
] |
[
{
"from": "human",
"value": "Send confirmation to a task expecting y/N (e.g. APT, cp)"
},
{
"from": "gpt",
"value": "pueue send task_id y"
}
] |
[
{
"from": "human",
"value": "View documentation for the recommended replacement"
},
{
"from": "gpt",
"value": "tldr flock"
}
] |
[
{
"from": "human",
"value": "Analyze one or more directories"
},
{
"from": "gpt",
"value": "phpstan analyse path/to/directory1 path/to/directory2 ..."
}
] |
[
{
"from": "human",
"value": "Analyze a directory using a configuration file"
},
{
"from": "gpt",
"value": "phpstan analyse path/to/directory [-c|--configuration] path/to/config"
}
] |
[
{
"from": "human",
"value": "Analyze using a specific rule level (0-10, higher is stricter)"
},
{
"from": "gpt",
"value": "phpstan analyse path/to/directory [-l|--level] level"
}
] |
[
{
"from": "human",
"value": "Specify an autoload file to load before analyzing"
},
{
"from": "gpt",
"value": "phpstan analyse path/to/directory [-a|--autoload-file] path/to/autoload_file"
}
] |
[
{
"from": "human",
"value": "Specify a memory limit during analysis"
},
{
"from": "gpt",
"value": "phpstan analyse path/to/directory --memory-limit memory_limit"
}
] |
[
{
"from": "human",
"value": "Display available options for analysis"
},
{
"from": "gpt",
"value": "phpstan analyse --help"
}
] |
[
{
"from": "human",
"value": "Display basic information about the current app and available commands"
},
{
"from": "gpt",
"value": "cake"
}
] |
[
{
"from": "human",
"value": "List available routes"
},
{
"from": "gpt",
"value": "cake routes"
}
] |
[
{
"from": "human",
"value": "Clear configuration caches"
},
{
"from": "gpt",
"value": "cake cache clear_all"
}
] |
[
{
"from": "human",
"value": "Build the metadata cache"
},
{
"from": "gpt",
"value": "cake schema_cache build --connection connection"
}
] |
[
{
"from": "human",
"value": "Clear the metadata cache"
},
{
"from": "gpt",
"value": "cake schema_cache clear"
}
] |
[
{
"from": "human",
"value": "Clear a single cache table"
},
{
"from": "gpt",
"value": "cake schema_cache clear table_name"
}
] |
[
{
"from": "human",
"value": "Start a development web server (defaults to port 8765)"
},
{
"from": "gpt",
"value": "cake server"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "cake console"
}
] |
[
{
"from": "human",
"value": "Convert a PBM file to an HP LaserJet file"
},
{
"from": "gpt",
"value": "pbmtolj path/to/input.pbm > path/to/output.lj"
}
] |
[
{
"from": "human",
"value": "Compress the output file using the specified method"
},
{
"from": "gpt",
"value": "pbmtolj -packbits|delta|compress path/to/input.pbm > path/to/output.lj"
}
] |
[
{
"from": "human",
"value": "Specify the required resolution"
},
{
"from": "gpt",
"value": "pbmtolj [-r|-resolution] 75|100|150|300|600 path/to/input.pbm > path/to/output.lj"
}
] |
[
{
"from": "human",
"value": "Output conversion"
},
{
"from": "gpt",
"value": "msgunfmt path/to/file.mo"
}
] |
[
{
"from": "human",
"value": "Convert a `.mo` file to a `.po` file"
},
{
"from": "gpt",
"value": "msgunfmt path/to/file.mo > path/to/file.po"
}
] |
[
{
"from": "human",
"value": "Start a Hive interactive shell"
},
{
"from": "gpt",
"value": "hive"
}
] |
[
{
"from": "human",
"value": "Run HiveQL"
},
{
"from": "gpt",
"value": "hive -e \"hiveql_query\""
}
] |
[
{
"from": "human",
"value": "Run a HiveQL file with a variable substitution"
},
{
"from": "gpt",
"value": "hive --define key=value -f path/to/file.sql"
}
] |
[
{
"from": "human",
"value": "Run a HiveQL with HiveConfig (e.g. `mapred.reduce.tasks=32`)"
},
{
"from": "gpt",
"value": "hive --hiveconf conf_name=conf_value"
}
] |
[
{
"from": "human",
"value": "Create a new issue against the current repository interactively"
},
{
"from": "gpt",
"value": "gh issue create"
}
] |
[
{
"from": "human",
"value": "Create a new issue with the `bug` label interactively"
},
{
"from": "gpt",
"value": "gh issue create --label \"bug\""
}
] |
[
{
"from": "human",
"value": "Create a new issue interactively and assign it to the specified users"
},
{
"from": "gpt",
"value": "gh issue create --assignee user1,user2,..."
}
] |
[
{
"from": "human",
"value": "Create a new issue with a title, body and assign it to the current user"
},
{
"from": "gpt",
"value": "gh issue create --title \"title\" --body \"body\" --assignee \"@me\""
}
] |
[
{
"from": "human",
"value": "Create a new issue interactively, reading the body text from a file"
},
{
"from": "gpt",
"value": "gh issue create --body-file path/to/file"
}
] |
[
{
"from": "human",
"value": "Create a new issue in the default web browser"
},
{
"from": "gpt",
"value": "gh issue create --web"
}
] |
[
{
"from": "human",
"value": "Display the help"
},
{
"from": "gpt",
"value": "gh issue create --help"
}
] |
[
{
"from": "human",
"value": "Show the name of the currently active branch"
},
{
"from": "gpt",
"value": "hub branch"
}
] |
[
{
"from": "human",
"value": "Create a new branch"
},
{
"from": "gpt",
"value": "hub branch branch_name"
}
] |
[
{
"from": "human",
"value": "Scan a directory containing IaC (Terraform, Cloudformation, ARM, Ansible, Bicep, Dockerfile, etc)"
},
{
"from": "gpt",
"value": "checkov --directory path/to/directory"
}
] |
[
{
"from": "human",
"value": "Scan an IaC file, omitting code blocks in the output"
},
{
"from": "gpt",
"value": "checkov --compact --file path/to/file"
}
] |
[
{
"from": "human",
"value": "List all checks for all IaC types"
},
{
"from": "gpt",
"value": "checkov --list"
}
] |
[
{
"from": "human",
"value": "Display general information about the OpenPGP application"
},
{
"from": "gpt",
"value": "ykman openpgp info"
}
] |
[
{
"from": "human",
"value": "Set the number of retry attempts for the User PIN, Reset Code, and Admin PIN, respectively"
},
{
"from": "gpt",
"value": "ykman openpgp access set-retries 3 3 3"
}
] |
[
{
"from": "human",
"value": "Change the User PIN, Reset Code or Admin PIN"
},
{
"from": "gpt",
"value": "ykman openpgp access change-pin|reset-code|admin-pin"
}
] |
[
{
"from": "human",
"value": "Factory reset the OpenPGP application (you have to do this after exceeding the number of Admin PIN retry attempts)"
},
{
"from": "gpt",
"value": "ykman openpgp reset"
}
] |
[
{
"from": "human",
"value": "Start Flips to create and apply patches interactively"
},
{
"from": "gpt",
"value": "flips"
}
] |
[
{
"from": "human",
"value": "Apply a patch and create a new ROM file"
},
{
"from": "gpt",
"value": "flips --apply patch.bps rom.smc hack.smc"
}
] |
[
{
"from": "human",
"value": "Create a patch from two ROMs"
},
{
"from": "gpt",
"value": "flips --create rom.smc hack.smc patch.bps"
}
] |
[
{
"from": "human",
"value": "Execute code style fixing in the current directory"
},
{
"from": "gpt",
"value": "php-cs-fixer fix"
}
] |
[
{
"from": "human",
"value": "Execute code style fixing for a specific directory"
},
{
"from": "gpt",
"value": "php-cs-fixer fix path/to/directory"
}
] |
[
{
"from": "human",
"value": "Execute code style linting without applying changes"
},
{
"from": "gpt",
"value": "php-cs-fixer fix --dry-run"
}
] |
[
{
"from": "human",
"value": "Execute code style fixes using specific rules"
},
{
"from": "gpt",
"value": "php-cs-fixer fix --rules=rules"
}
] |
[
{
"from": "human",
"value": "Display the rules that have been applied"
},
{
"from": "gpt",
"value": "php-cs-fixer fix --verbose"
}
] |
[
{
"from": "human",
"value": "Output the results in a different format"
},
{
"from": "gpt",
"value": "php-cs-fixer fix --format=txt|json|xml|checkstyle|junit|gitlab"
}
] |
[
{
"from": "human",
"value": "Display files that require fixing"
},
{
"from": "gpt",
"value": "php-cs-fixer list-files"
}
] |
[
{
"from": "human",
"value": "Describe a rule or ruleset"
},
{
"from": "gpt",
"value": "php-cs-fixer describe rule"
}
] |
[
{
"from": "human",
"value": "Update existing file or create a new `History.md` file with the commit messages since the latest Git tag"
},
{
"from": "gpt",
"value": "git changelog"
}
] |
[
{
"from": "human",
"value": "List commits from the current version"
},
{
"from": "gpt",
"value": "git changelog --list"
}
] |
[
{
"from": "human",
"value": "List a range of commits from the tag named `2.1.0` to now"
},
{
"from": "gpt",
"value": "git changelog --list --start-tag 2.1.0"
}
] |
[
{
"from": "human",
"value": "List pretty formatted range of commits between the tag `0.5.0` and the tag `1.0.0`"
},
{
"from": "gpt",
"value": "git changelog --start-tag 0.5.0 --final-tag 1.0.0"
}
] |
[
{
"from": "human",
"value": "List pretty formatted range of commits between the commit `0b97430` and the tag `1.0.0`"
},
{
"from": "gpt",
"value": "git changelog --start-commit 0b97430 --final-tag 1.0.0"
}
] |
[
{
"from": "human",
"value": "Specify `CHANGELOG.md` as the output file"
},
{
"from": "gpt",
"value": "git changelog CHANGELOG.md"
}
] |
[
{
"from": "human",
"value": "Replace contents of current changelog file entirely"
},
{
"from": "gpt",
"value": "git changelog --prune-old"
}
] |
[
{
"from": "human",
"value": "Create symbolic links between alternate files manually"
},
{
"from": "gpt",
"value": "yadm alt"
}
] |
[
{
"from": "human",
"value": "Turn a notebook into a paired `.ipynb`/`.py` notebook"
},
{
"from": "gpt",
"value": "jupytext --set-formats ipynb,py notebook.ipynb"
}
] |
[
{
"from": "human",
"value": "Convert a notebook to a `.py` file"
},
{
"from": "gpt",
"value": "jupytext --to py notebook.ipynb"
}
] |
[
{
"from": "human",
"value": "Convert a `.py` file to a notebook with no outputs"
},
{
"from": "gpt",
"value": "jupytext --to notebook notebook.py"
}
] |
[
{
"from": "human",
"value": "Convert a `.md` file to a notebook and run it"
},
{
"from": "gpt",
"value": "jupytext --to notebook --execute notebook.md"
}
] |
[
{
"from": "human",
"value": "Update the input cells in a notebook and preserve outputs and metadata"
},
{
"from": "gpt",
"value": "jupytext --update --to notebook notebook.py"
}
] |
[
{
"from": "human",
"value": "Update all paired representations of a notebook"
},
{
"from": "gpt",
"value": "jupytext --sync notebook.ipynb"
}
] |
[
{
"from": "human",
"value": "Start an interactive shell with some packages from `nixpkgs`"
},
{
"from": "gpt",
"value": "nix shell nixpkgs#pkg1 nixpkgs#packageSet.pkg2 ..."
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.