conversations
listlengths
2
2
[ { "from": "human", "value": "Overwrite a file a specific number of times" }, { "from": "gpt", "value": "shred [-n|--iterations] 25 path/to/file" } ]
[ { "from": "human", "value": "Overwrite a file and remove it" }, { "from": "gpt", "value": "shred --remove path/to/file" } ]
[ { "from": "human", "value": "Overwrite a file 100 times, add a final overwrite with zeros, remove the file after overwriting it and show verbose progress on the screen" }, { "from": "gpt", "value": "shred [-vzun|--verbose --zero -u --iterations] 100 path/to/file" } ]
[ { "from": "human", "value": "Compress a PNG with default settings" }, { "from": "gpt", "value": "optipng path/to/file.png" } ]
[ { "from": "human", "value": "Compress a PNG with the best compression" }, { "from": "gpt", "value": "optipng -o7 path/to/file.png" } ]
[ { "from": "human", "value": "Compress a PNG with the fastest compression" }, { "from": "gpt", "value": "optipng -o0 path/to/file.png" } ]
[ { "from": "human", "value": "Compress a PNG and add interlacing" }, { "from": "gpt", "value": "optipng -i 1 path/to/file.png" } ]
[ { "from": "human", "value": "Compress a PNG and preserve all metadata (including file timestamps)" }, { "from": "gpt", "value": "optipng -preserve path/to/file.png" } ]
[ { "from": "human", "value": "Compress a PNG and remove all metadata" }, { "from": "gpt", "value": "optipng -strip all path/to/file.png" } ]
[ { "from": "human", "value": "List packages for a user or scope" }, { "from": "gpt", "value": "npm access list packages user|scope|scope:team package_name" } ]
[ { "from": "human", "value": "List collaborators on a package" }, { "from": "gpt", "value": "npm access list collaborators package_name username" } ]
[ { "from": "human", "value": "Get status of a package" }, { "from": "gpt", "value": "npm access get status package_name" } ]
[ { "from": "human", "value": "Set package status (public or private)" }, { "from": "gpt", "value": "npm access set status=public|private package_name" } ]
[ { "from": "human", "value": "Grant access to a package" }, { "from": "gpt", "value": "npm access grant read-only|read-write scope:team package_name" } ]
[ { "from": "human", "value": "Revoke access to a package" }, { "from": "gpt", "value": "npm access revoke scope:team package_name" } ]
[ { "from": "human", "value": "Configure two-factor authentication requirement" }, { "from": "gpt", "value": "npm access set mfa=none|publish|automation package_name" } ]
[ { "from": "human", "value": "Set up an OpenAI API Key" }, { "from": "gpt", "value": "llm keys set openai" } ]
[ { "from": "human", "value": "Run a prompt" }, { "from": "gpt", "value": "llm \"Ten fun names for a pet pelican\"" } ]
[ { "from": "human", "value": "Run a system prompt against a file" }, { "from": "gpt", "value": "cat path/to/file.py | llm [-s|--system] \"Explain this code\"" } ]
[ { "from": "human", "value": "Install packages from PyPI into the same environment as LLM" }, { "from": "gpt", "value": "llm install package1 package2 ..." } ]
[ { "from": "human", "value": "Download and run a prompt against a model" }, { "from": "gpt", "value": "llm [-m|--model] orca-mini-3b-gguf2-q4_0 \"What is the capital of France?\"" } ]
[ { "from": "human", "value": "Create a system prompt and save it with a template name" }, { "from": "gpt", "value": "llm [-s|--system] 'You are a sentient cheesecake' --save sentient_cheesecake" } ]
[ { "from": "human", "value": "Have an interactive chat with a specific model using a specific template" }, { "from": "gpt", "value": "llm chat [-m|--model] chatgpt [-t|--template] sentient_cheesecake" } ]
[ { "from": "human", "value": "Decode a JWT" }, { "from": "gpt", "value": "jwt decode jwt_string" } ]
[ { "from": "human", "value": "Decode a JWT as a JSON string" }, { "from": "gpt", "value": "jwt decode -j jwt_string" } ]
[ { "from": "human", "value": "Encode a JSON string to a JWT" }, { "from": "gpt", "value": "jwt encode --alg HS256 --secret 1234567890 'json_string'" } ]
[ { "from": "human", "value": "Encode key pair payload to JWT" }, { "from": "gpt", "value": "jwt encode --alg HS256 --secret 1234567890 -P key=value" } ]
[ { "from": "human", "value": "Delay in seconds" }, { "from": "gpt", "value": "sleep seconds" } ]
[ { "from": "human", "value": "Delay in [m]inutes. (Other units [d]ay, [h]our, [s]econd, [inf]inity can also be used)" }, { "from": "gpt", "value": "sleep minutesm" } ]
[ { "from": "human", "value": "Delay for 1 [d]ay 3 [h]ours" }, { "from": "gpt", "value": "sleep 1d 3h" } ]
[ { "from": "human", "value": "Execute a specific command after 20 [m]inutes delay" }, { "from": "gpt", "value": "sleep 20m && command" } ]
[ { "from": "human", "value": "Run an app in a temporary virtual environment" }, { "from": "gpt", "value": "pipx run pycowsay moo" } ]
[ { "from": "human", "value": "Install a package in a virtual environment and add entry points to path" }, { "from": "gpt", "value": "pipx install package" } ]
[ { "from": "human", "value": "List installed packages" }, { "from": "gpt", "value": "pipx list" } ]
[ { "from": "human", "value": "Run an app in a temporary virtual environment with a package name different from the executable" }, { "from": "gpt", "value": "pipx run --spec httpx-cli httpx http://www.github.com" } ]
[ { "from": "human", "value": "Inject dependencies into an existing virtual environment" }, { "from": "gpt", "value": "pipx inject package dependency1 dependency2 ..." } ]
[ { "from": "human", "value": "Install a package in a virtual environment with pip arguments" }, { "from": "gpt", "value": "pipx install --pip-args='pip-args' package" } ]
[ { "from": "human", "value": "Upgrade/reinstall/uninstall all installed packages" }, { "from": "gpt", "value": "pipx upgrade-all|uninstall-all|reinstall-all" } ]
[ { "from": "human", "value": "Fold lines in a fixed width" }, { "from": "gpt", "value": "fold [-w|--width] width path/to/file" } ]
[ { "from": "human", "value": "Count width in bytes (the default is to count in columns)" }, { "from": "gpt", "value": "fold [-b|--bytes] [-w|--width] width_in_bytes path/to/file" } ]
[ { "from": "human", "value": "Break the line after the rightmost blank within the width limit" }, { "from": "gpt", "value": "fold [-s|--spaces] [-w|--width] width path/to/file" } ]
[ { "from": "human", "value": "Change the pa[t]tern of the pipes" }, { "from": "gpt", "value": "pipes.sh -t 0..9" } ]
[ { "from": "human", "value": "Change the [c]olor of the pipes" }, { "from": "gpt", "value": "pipes.sh -c 0..7" } ]
[ { "from": "human", "value": "Change the [f]ramerate of the pipes" }, { "from": "gpt", "value": "pipes.sh -f 20..100" } ]
[ { "from": "human", "value": "Disable [C]olors" }, { "from": "gpt", "value": "pipes.sh -C" } ]
[ { "from": "human", "value": "Display [v]ersion" }, { "from": "gpt", "value": "pipes.sh -v" } ]
[ { "from": "human", "value": "Authorize Google Cloud access for the `gcloud` CLI with Google Cloud user credentials and set the current account as active" }, { "from": "gpt", "value": "gcloud auth login" } ]
[ { "from": "human", "value": "Authorize Google Cloud access similar to `gcloud auth login` but with service account credentials" }, { "from": "gpt", "value": "gcloud auth activate-service-account" } ]
[ { "from": "human", "value": "Manage Application Default Credentials (ADC) for Cloud Client Libraries" }, { "from": "gpt", "value": "gcloud auth application-default" } ]
[ { "from": "human", "value": "Display a list of Google Cloud accounts currently authenticated on your system" }, { "from": "gpt", "value": "gcloud auth list" } ]
[ { "from": "human", "value": "Display the current account's access token" }, { "from": "gpt", "value": "gcloud auth print-access-token" } ]
[ { "from": "human", "value": "Remove access credentials for an account" }, { "from": "gpt", "value": "gcloud auth revoke" } ]
[ { "from": "human", "value": "Print a text message" }, { "from": "gpt", "value": "printf \"%s\\n\" \"Hello world\"" } ]
[ { "from": "human", "value": "Print an integer in bold blue" }, { "from": "gpt", "value": "printf \"\\e[1;34m%.3d\\e[0m\\n\" 42" } ]
[ { "from": "human", "value": "Print a float number with the Unicode Euro sign" }, { "from": "gpt", "value": "printf \"\\u20AC %.2f\\n\" 123.4" } ]
[ { "from": "human", "value": "Print a text message composed with environment variables" }, { "from": "gpt", "value": "printf \"var1: %s\\tvar2: %s\\n\" \"$VAR1\" \"$VAR2\"" } ]
[ { "from": "human", "value": "Store a formatted message in a variable (does not work on Zsh)" }, { "from": "gpt", "value": "printf -v myvar \"This is %s = %d\\n\" \"a year\" 2016" } ]
[ { "from": "human", "value": "Print a hexadecimal, octal and scientific number" }, { "from": "gpt", "value": "printf \"hex=%x octal=%o scientific=%e\" 0xFF 0377 100000" } ]
[ { "from": "human", "value": "Convert a HTML document into PDF" }, { "from": "gpt", "value": "wkhtmltopdf input.html output.pdf" } ]
[ { "from": "human", "value": "Specify the PDF page size (please see `PaperSize` of `QPrinter` for supported sizes)" }, { "from": "gpt", "value": "wkhtmltopdf --page-size A4 input.html output.pdf" } ]
[ { "from": "human", "value": "Set the PDF page margins" }, { "from": "gpt", "value": "wkhtmltopdf --margin-top|bottom|left|right 10mm input.html output.pdf" } ]
[ { "from": "human", "value": "Set the PDF page orientation" }, { "from": "gpt", "value": "wkhtmltopdf --orientation Landscape|Portrait input.html output.pdf" } ]
[ { "from": "human", "value": "Generate a greyscale version of the PDF document" }, { "from": "gpt", "value": "wkhtmltopdf --grayscale input.html output.pdf" } ]
[ { "from": "human", "value": "Check a file for nits" }, { "from": "gpt", "value": "idnits path/to/file.txt" } ]
[ { "from": "human", "value": "Count nits without displaying them" }, { "from": "gpt", "value": "idnits --nitcount path/to/file.txt" } ]
[ { "from": "human", "value": "Show extra information about offending lines" }, { "from": "gpt", "value": "idnits --verbose path/to/file.txt" } ]
[ { "from": "human", "value": "Expect the specified year in the boilerplate instead of the current year" }, { "from": "gpt", "value": "idnits --year 2021 path/to/file.txt" } ]
[ { "from": "human", "value": "Assume the document is of the specified status" }, { "from": "gpt", "value": "idnits --doctype standard|informational|experimental|bcp|ps|ds path/to/file.txt" } ]
[ { "from": "human", "value": "Send a message with the content of `message.txt` to the mail directory of local user `username`" }, { "from": "gpt", "value": "sendmail username < message.txt" } ]
[ { "from": "human", "value": "Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`" }, { "from": "gpt", "value": "sendmail -f you@yourdomain.com test@gmail.com < message.txt" } ]
[ { "from": "human", "value": "Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the file `file.zip`" }, { "from": "gpt", "value": "sendmail -f you@yourdomain.com test@gmail.com < file.zip" } ]
[ { "from": "human", "value": "Install a version of the Flutter SDK. Use without `version` for project settings" }, { "from": "gpt", "value": "fvm install version" } ]
[ { "from": "human", "value": "Set a specific version of Flutter SDK in a project" }, { "from": "gpt", "value": "fvm use version options" } ]
[ { "from": "human", "value": "Set a global version of the Flutter SDK" }, { "from": "gpt", "value": "fvm global version" } ]
[ { "from": "human", "value": "Delete the FVM cache" }, { "from": "gpt", "value": "fvm destroy" } ]
[ { "from": "human", "value": "Remove a specific version of the Flutter SDK" }, { "from": "gpt", "value": "fvm remove version" } ]
[ { "from": "human", "value": "List all installed versions of the Flutter SDK" }, { "from": "gpt", "value": "fvm list" } ]
[ { "from": "human", "value": "List all releases of the Flutter SDK" }, { "from": "gpt", "value": "fvm releases" } ]
[ { "from": "human", "value": "List wireless devices and their statuses" }, { "from": "gpt", "value": "sudo airmon-ng" } ]
[ { "from": "human", "value": "Turn on monitor mode for a specific device" }, { "from": "gpt", "value": "sudo airmon-ng start wlan0" } ]
[ { "from": "human", "value": "Kill disturbing processes that use wireless devices" }, { "from": "gpt", "value": "sudo airmon-ng check kill" } ]
[ { "from": "human", "value": "Turn off monitor mode for a specific network interface" }, { "from": "gpt", "value": "sudo airmon-ng stop wlan0mon" } ]
[ { "from": "human", "value": "Format C/C++ source according to the Linux style guide, automatically back up the original files, and replace with the indented versions" }, { "from": "gpt", "value": "indent [-linux|--linux-style] path/to/source.c path/to/another_source.c" } ]
[ { "from": "human", "value": "Format C/C++ source according to the GNU style, saving the indented version to a different file" }, { "from": "gpt", "value": "indent [-gnu|--gnu-style] path/to/source.c -o path/to/indented_source.c" } ]
[ { "from": "human", "value": "Format C/C++ source according to the style of Kernighan & Ritchie (K&R), no tabs, 3 spaces per indent, and wrap lines at 120 characters" }, { "from": "gpt", "value": "indent [-kr|--k-and-r-style] [-il|--indent-level]3 [-nut|--no-tabs] [-l|--line-length]120 path/to/so...
[ { "from": "human", "value": "Open Irssi and connect to a server with a nickname" }, { "from": "gpt", "value": "irssi -n nickname -c irc.example.com" } ]
[ { "from": "human", "value": "Open Irssi and connect with a specific server on a given port" }, { "from": "gpt", "value": "irssi -c irc.example.com -p port" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "irssi --help" } ]
[ { "from": "human", "value": "Join a channel" }, { "from": "gpt", "value": "/join #channelname" } ]
[ { "from": "human", "value": "Change active window (starts at 1)" }, { "from": "gpt", "value": "/win window_number" } ]
[ { "from": "human", "value": "Exit the application cleanly and quitting any server(s)" }, { "from": "gpt", "value": "/quit" } ]
[ { "from": "human", "value": "Authenticate and associate the connection to a domain in the Cloudflare account" }, { "from": "gpt", "value": "cloudflared tunnel login" } ]
[ { "from": "human", "value": "Create a tunnel with a specific name" }, { "from": "gpt", "value": "cloudflared tunnel create name" } ]
[ { "from": "human", "value": "Establish a tunnel to a host in Cloudflare from the local server" }, { "from": "gpt", "value": "cloudflared tunnel --hostname hostname localhost:port_number" } ]
[ { "from": "human", "value": "Establish a tunnel to a host in Cloudflare from the local server, without verifying the local server's certificate" }, { "from": "gpt", "value": "cloudflared tunnel --hostname hostname localhost:port_number --no-tls-verify" } ]
[ { "from": "human", "value": "Save logs to a file" }, { "from": "gpt", "value": "cloudflared tunnel --hostname hostname http://localhost:port_number --loglevel panic|fatal|error|warn|info|debug --logfile path/to/file" } ]
[ { "from": "human", "value": "Install cloudflared as a system service" }, { "from": "gpt", "value": "cloudflared service install" } ]
[ { "from": "human", "value": "Compare 2 files" }, { "from": "gpt", "value": "sdiff path/to/file1 path/to/file2" } ]
[ { "from": "human", "value": "Compare 2 files, ignoring all tabs and whitespace" }, { "from": "gpt", "value": "sdiff -W path/to/file1 path/to/file2" } ]
[ { "from": "human", "value": "Compare 2 files, ignoring whitespace at the end of lines" }, { "from": "gpt", "value": "sdiff -Z path/to/file1 path/to/file2" } ]