conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Analyze live traffic from a network interface"
},
{
"from": "gpt",
"value": "sudo zeek --iface interface"
}
] |
[
{
"from": "human",
"value": "Analyze live traffic from a network interface and load custom scripts"
},
{
"from": "gpt",
"value": "sudo zeek --iface interface script1 script2"
}
] |
[
{
"from": "human",
"value": "Analyze live traffic from a network interface, without loading any scripts"
},
{
"from": "gpt",
"value": "sudo zeek --bare-mode --iface interface"
}
] |
[
{
"from": "human",
"value": "Analyze live traffic from a network interface, applying a `tcpdump` filter"
},
{
"from": "gpt",
"value": "sudo zeek --filter path/to/filter --iface interface"
}
] |
[
{
"from": "human",
"value": "Analyze live traffic from a network interface using a watchdog timer"
},
{
"from": "gpt",
"value": "sudo zeek --watchdog --iface interface"
}
] |
[
{
"from": "human",
"value": "Analyze traffic from a PCAP file"
},
{
"from": "gpt",
"value": "zeek --readfile path/to/file.trace"
}
] |
[
{
"from": "human",
"value": "Ping the specified URL"
},
{
"from": "gpt",
"value": "httping -g url"
}
] |
[
{
"from": "human",
"value": "Ping the web server on `host` and `port`"
},
{
"from": "gpt",
"value": "httping -h host -p port"
}
] |
[
{
"from": "human",
"value": "Ping the web server on `host` using a TLS connection"
},
{
"from": "gpt",
"value": "httping -l -g https://host"
}
] |
[
{
"from": "human",
"value": "Ping the web server on `host` using HTTP basic authentication"
},
{
"from": "gpt",
"value": "httping -g http://host -U username -P password"
}
] |
[
{
"from": "human",
"value": "Add a to-do to a specific project with a given context"
},
{
"from": "gpt",
"value": "topydo add \"todo_message +project_name @context_name\""
}
] |
[
{
"from": "human",
"value": "Add a to-do with a due date of tomorrow with a priority of `A`"
},
{
"from": "gpt",
"value": "topydo add \"(A) todo _message due:1d\""
}
] |
[
{
"from": "human",
"value": "Add a to-do with a due date of Friday"
},
{
"from": "gpt",
"value": "topydo add \"todo_message due:fri\""
}
] |
[
{
"from": "human",
"value": "Add a non-strict repeating to-do (next due = now + rec)"
},
{
"from": "gpt",
"value": "topydo add \"water flowers due:mon rec:1w\""
}
] |
[
{
"from": "human",
"value": "Add a strict repeating to-do (next due = current due + rec)"
},
{
"from": "gpt",
"value": "topydo add \"todo_message due:2020-01-01 rec:+1m\""
}
] |
[
{
"from": "human",
"value": "Revert the last `topydo` command executed"
},
{
"from": "gpt",
"value": "topydo revert"
}
] |
[
{
"from": "human",
"value": "Start the daemon in the background"
},
{
"from": "gpt",
"value": "colima start"
}
] |
[
{
"from": "human",
"value": "Create a configuration file and use it"
},
{
"from": "gpt",
"value": "colima start --edit"
}
] |
[
{
"from": "human",
"value": "Start and setup containerd (install `nerdctl` to use containerd via `nerdctl`)"
},
{
"from": "gpt",
"value": "colima start --runtime containerd"
}
] |
[
{
"from": "human",
"value": "Start with Kubernetes (`kubectl` is required)"
},
{
"from": "gpt",
"value": "colima start --kubernetes"
}
] |
[
{
"from": "human",
"value": "Customize CPU count, RAM memory and disk space (in GiB)"
},
{
"from": "gpt",
"value": "colima start --cpu number --memory memory --disk storage_space"
}
] |
[
{
"from": "human",
"value": "Use Docker via Colima (Docker is required)"
},
{
"from": "gpt",
"value": "colima start"
}
] |
[
{
"from": "human",
"value": "List containers with their information and status"
},
{
"from": "gpt",
"value": "colima list"
}
] |
[
{
"from": "human",
"value": "Show runtime status"
},
{
"from": "gpt",
"value": "colima status"
}
] |
[
{
"from": "human",
"value": "Install a package from <https://crates.io> (the version is optional - latest by default)"
},
{
"from": "gpt",
"value": "cargo install package@version"
}
] |
[
{
"from": "human",
"value": "Install a package from the specified Git repository"
},
{
"from": "gpt",
"value": "cargo install --git repo_url"
}
] |
[
{
"from": "human",
"value": "Build from the specified branch/tag/commit when installing from a Git repository"
},
{
"from": "gpt",
"value": "cargo install --git repo_url --branch|tag|rev branch_name|tag|commit_hash"
}
] |
[
{
"from": "human",
"value": "List all installed packages and their versions"
},
{
"from": "gpt",
"value": "cargo install --list"
}
] |
[
{
"from": "human",
"value": "Test if a given variable is equal to a given string"
},
{
"from": "gpt",
"value": "test \"$MY_VAR\" = \"/bin/zsh\""
}
] |
[
{
"from": "human",
"value": "Test if a given variable is empty ([z]ero length)"
},
{
"from": "gpt",
"value": "test -z \"$GIT_BRANCH\""
}
] |
[
{
"from": "human",
"value": "Test if a [f]ile exists"
},
{
"from": "gpt",
"value": "test -f \"path/to/file_or_directory\""
}
] |
[
{
"from": "human",
"value": "Test if a [d]irectory does not exist"
},
{
"from": "gpt",
"value": "test ! -d \"path/to/directory\""
}
] |
[
{
"from": "human",
"value": "If A is true, then do B, or C in the case of an error (notice that C may run even if A fails)"
},
{
"from": "gpt",
"value": "test condition && echo \"true\" || echo \"false\""
}
] |
[
{
"from": "human",
"value": "Archive a file or directory"
},
{
"from": "gpt",
"value": "asar pack path/to/input_file_or_directory path/to/output_archive.asar"
}
] |
[
{
"from": "human",
"value": "Extract an archive"
},
{
"from": "gpt",
"value": "asar extract path/to/archive.asar"
}
] |
[
{
"from": "human",
"value": "Extract a specific file from an archive"
},
{
"from": "gpt",
"value": "asar extract-file path/to/archive.asar file"
}
] |
[
{
"from": "human",
"value": "List the contents of an archive file"
},
{
"from": "gpt",
"value": "asar list path/to/archive.asar"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "racket"
}
] |
[
{
"from": "human",
"value": "Execute a Racket script"
},
{
"from": "gpt",
"value": "racket path/to/script.rkt"
}
] |
[
{
"from": "human",
"value": "Execute a Racket expression"
},
{
"from": "gpt",
"value": "racket --eval \"expression\""
}
] |
[
{
"from": "human",
"value": "Run module as a script (terminates option list)"
},
{
"from": "gpt",
"value": "racket --lib module_name --main arguments"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell) for the `typed/racket` hashlang"
},
{
"from": "gpt",
"value": "racket -I typed/racket"
}
] |
[
{
"from": "human",
"value": "Read an ICO file and convert the best quality image contained therein to the PAM format"
},
{
"from": "gpt",
"value": "winicontopam path/to/input_file.ico > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "Convert all images in the input file to PAM"
},
{
"from": "gpt",
"value": "winicontopam [-al|-allimages] path/to/input_file.ico > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "Convert the n'th image in the input file to PAM"
},
{
"from": "gpt",
"value": "winicontopam [-i|-image] n path/to/input_file.ico > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "If the image(s) to be extracted contain graded transparency data and an AND mask, write the AND mask into the fifth channel of the output PAM file"
},
{
"from": "gpt",
"value": "winicontopam [-an|-andmasks] path/to/input_file.ico > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "Convert a specific `.adoc` file to HTML (the default output format)"
},
{
"from": "gpt",
"value": "asciidoctor path/to/file.adoc"
}
] |
[
{
"from": "human",
"value": "Convert a specific `.adoc` file to HTML and link a CSS stylesheet"
},
{
"from": "gpt",
"value": "asciidoctor -a stylesheet path/to/stylesheet.css path/to/file.adoc"
}
] |
[
{
"from": "human",
"value": "Convert a specific `.adoc` file to embeddable HTML, removing everything except the body"
},
{
"from": "gpt",
"value": "asciidoctor --embedded path/to/file.adoc"
}
] |
[
{
"from": "human",
"value": "Convert a specific `.adoc` file to a PDF using the `asciidoctor-pdf` library"
},
{
"from": "gpt",
"value": "asciidoctor --backend pdf --require asciidoctor-pdf path/to/file.adoc"
}
] |
[
{
"from": "human",
"value": "Configure powerlevel10k interactively"
},
{
"from": "gpt",
"value": "p10k configure"
}
] |
[
{
"from": "human",
"value": "Reload powerlevel10k"
},
{
"from": "gpt",
"value": "p10k reload"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "p10k help"
}
] |
[
{
"from": "human",
"value": "Clone a virtual machine and automatically generate a new name, storage path, and MAC address"
},
{
"from": "gpt",
"value": "virt-clone --original vm_name --auto-clone"
}
] |
[
{
"from": "human",
"value": "Clone a virtual machine and specify the new name, storage path, and MAC address"
},
{
"from": "gpt",
"value": "virt-clone --original vm_name --name new_vm_name --file path/to/new_storage --mac ff:ff:ff:ff:ff:ff|RANDOM"
}
] |
[
{
"from": "human",
"value": "Print a file to the default printer"
},
{
"from": "gpt",
"value": "lpr path/to/file"
}
] |
[
{
"from": "human",
"value": "Print 2 copies"
},
{
"from": "gpt",
"value": "lpr -# 2 path/to/file"
}
] |
[
{
"from": "human",
"value": "Print to a named printer"
},
{
"from": "gpt",
"value": "lpr -P printer path/to/file"
}
] |
[
{
"from": "human",
"value": "Print either a single page (e.g. 2) or a range of pages (e.g. 2-16)"
},
{
"from": "gpt",
"value": "lpr -o page-ranges=2|2-16 path/to/file"
}
] |
[
{
"from": "human",
"value": "Print double-sided either in portrait (long) or in landscape (short)"
},
{
"from": "gpt",
"value": "lpr -o sides=two-sided-long-edge|two-sided-short-edge path/to/file"
}
] |
[
{
"from": "human",
"value": "Set page size (more options may be available depending on setup)"
},
{
"from": "gpt",
"value": "lpr -o media=a4|letter|legal path/to/file"
}
] |
[
{
"from": "human",
"value": "Print multiple pages per sheet"
},
{
"from": "gpt",
"value": "lpr -o number-up=2|4|6|9|16 path/to/file"
}
] |
[
{
"from": "human",
"value": "Connect to a music player daemon on a given host and port"
},
{
"from": "gpt",
"value": "ncmpcpp --host ip --port port"
}
] |
[
{
"from": "human",
"value": "Display metadata of the current song to console"
},
{
"from": "gpt",
"value": "ncmpcpp --current-song"
}
] |
[
{
"from": "human",
"value": "Use a specified configuration file"
},
{
"from": "gpt",
"value": "ncmpcpp --config file"
}
] |
[
{
"from": "human",
"value": "Use a different set of key bindings from a file"
},
{
"from": "gpt",
"value": "ncmpcpp --bindings file"
}
] |
[
{
"from": "human",
"value": "List all LKE clusters"
},
{
"from": "gpt",
"value": "linode-cli lke clusters list"
}
] |
[
{
"from": "human",
"value": "Create a new LKE cluster"
},
{
"from": "gpt",
"value": "linode-cli lke clusters create --region region --type type --node-type node_type --nodes-count count"
}
] |
[
{
"from": "human",
"value": "View details of a specific LKE cluster"
},
{
"from": "gpt",
"value": "linode-cli lke clusters view cluster_id"
}
] |
[
{
"from": "human",
"value": "Update an existing LKE cluster"
},
{
"from": "gpt",
"value": "linode-cli lke clusters update cluster_id --node-type new_node_type"
}
] |
[
{
"from": "human",
"value": "Delete an LKE cluster"
},
{
"from": "gpt",
"value": "linode-cli lke clusters delete cluster_id"
}
] |
[
{
"from": "human",
"value": "Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes"
},
{
"from": "gpt",
"value": "chronic command options ..."
}
] |
[
{
"from": "human",
"value": "Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`"
},
{
"from": "gpt",
"value": "chronic -e command options ..."
}
] |
[
{
"from": "human",
"value": "Enable [v]erbose mode"
},
{
"from": "gpt",
"value": "chronic -v command options ..."
}
] |
[
{
"from": "human",
"value": "Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "cat file.json | jello"
}
] |
[
{
"from": "human",
"value": "Output a schema of JSON or JSON Lines data from `stdin` to `stdout` (useful for grep)"
},
{
"from": "gpt",
"value": "cat file.json | jello -s"
}
] |
[
{
"from": "human",
"value": "Output all elements from arrays (or all the values from objects) in JSON or JSON-Lines data from `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "cat file.json | jello -l"
}
] |
[
{
"from": "human",
"value": "Output the first element in JSON or JSON-Lines data from `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "cat file.json | jello _[0]"
}
] |
[
{
"from": "human",
"value": "Output the value of a given key of each element in JSON or JSON-Lines data from `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "cat file.json | jello '[i.key_name for i in _]'"
}
] |
[
{
"from": "human",
"value": "Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name1` and `key_name2`)"
},
{
"from": "gpt",
"value": "cat file.json | jello '{\"key1\": _.key_name1, \"key_name\": _.key_name2}'"
}
] |
[
{
"from": "human",
"value": "Output the value of a given key to a string (and disable JSON output)"
},
{
"from": "gpt",
"value": "cat file.json | jello -r '\"some text: \" + _.key_name'"
}
] |
[
{
"from": "human",
"value": "List files and directories in the current directory, one per line, with details"
},
{
"from": "gpt",
"value": "vdir"
}
] |
[
{
"from": "human",
"value": "List with sizes displayed in human-readable units (KB, MB, GB)"
},
{
"from": "gpt",
"value": "vdir [-h|--human-readable]"
}
] |
[
{
"from": "human",
"value": "List including hidden files (starting with a dot)"
},
{
"from": "gpt",
"value": "vdir [-a|--all]"
}
] |
[
{
"from": "human",
"value": "List files and directories sorting entries by size (largest first)"
},
{
"from": "gpt",
"value": "vdir -S"
}
] |
[
{
"from": "human",
"value": "List files and directories sorting entries by modification time (newest first)"
},
{
"from": "gpt",
"value": "vdir -t"
}
] |
[
{
"from": "human",
"value": "List grouping directories first"
},
{
"from": "gpt",
"value": "vdir --group-directories-first"
}
] |
[
{
"from": "human",
"value": "Recursively list all files and directories in a specific directory"
},
{
"from": "gpt",
"value": "vdir [-R|--recursive] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Format output for a PostScript printer, saving the output to a file"
},
{
"from": "gpt",
"value": "troff path/to/input.roff | grops > path/to/output.ps"
}
] |
[
{
"from": "human",
"value": "Format output for a PostScript printer using the me macro package, saving the output to a file"
},
{
"from": "gpt",
"value": "troff -me path/to/input.roff | grops > path/to/output.ps"
}
] |
[
{
"from": "human",
"value": "Format output as ASCII text using the man macro package"
},
{
"from": "gpt",
"value": "troff -T ascii -man path/to/input.roff | grotty"
}
] |
[
{
"from": "human",
"value": "Format output as a pdf file, saving the output to a file"
},
{
"from": "gpt",
"value": "troff -T pdf path/to/input.roff | gropdf > path/to/output.pdf"
}
] |
[
{
"from": "human",
"value": "Migrate project dependencies to the AndroidX format"
},
{
"from": "gpt",
"value": "jetifier"
}
] |
[
{
"from": "human",
"value": "Migrate project dependencies from the AndroidX format"
},
{
"from": "gpt",
"value": "jetifier reverse"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr GetADUsers.py"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command"
},
{
"from": "gpt",
"value": "tldr pamoil"
}
] |
[
{
"from": "human",
"value": "Display a list of installed versions"
},
{
"from": "gpt",
"value": "exenv versions"
}
] |
[
{
"from": "human",
"value": "Use a specific version of Elixir across the whole system"
},
{
"from": "gpt",
"value": "exenv global version"
}
] |
[
{
"from": "human",
"value": "Use a specific version of Elixir for the current application/project directory"
},
{
"from": "gpt",
"value": "exenv local version"
}
] |
[
{
"from": "human",
"value": "Show the currently selected Elixir version"
},
{
"from": "gpt",
"value": "exenv version"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.