conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Start the utop REPL with compiled modules automatically loaded into it, to remove the need to load them by hand"
},
{
"from": "gpt",
"value": "dune utop"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server using a password supplied on a file descriptor (in this case, `stdin`)"
},
{
"from": "gpt",
"value": "sshpass -d 0 ssh user@hostname"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server with the password supplied as an option, and automatically accept unknown SSH keys"
},
{
"from": "gpt",
"value": "sshpass -p password ssh -o StrictHostKeyChecking=no user@hostname"
}
] |
[
{
"from": "human",
"value": "Connect to a remote server using the first line of a file as the password, automatically accept unknown SSH keys, and launch a command"
},
{
"from": "gpt",
"value": "sshpass -f path/to/file ssh -o StrictHostKeyChecking=no user@hostname \"command\""
}
] |
[
{
"from": "human",
"value": "Export data from a specific Cloud SQL instance to a Google Cloud Storage bucket as an SQL dump file"
},
{
"from": "gpt",
"value": "gcloud sql export sql instance gs://bucket_name/file_name"
}
] |
[
{
"from": "human",
"value": "Export data asynchronously, returning immediately without waiting for the operation to complete"
},
{
"from": "gpt",
"value": "gcloud sql export sql instance gs://bucket_name/file_name --async"
}
] |
[
{
"from": "human",
"value": "Export data from specific databases within the Cloud SQL instance"
},
{
"from": "gpt",
"value": "gcloud sql export sql instance gs://bucket_name/file_name --database=database1,database2,..."
}
] |
[
{
"from": "human",
"value": "Export specific tables from a specified database within the Cloud SQL instance"
},
{
"from": "gpt",
"value": "gcloud sql export sql instance gs://bucket_name/file_name --database=database --table=table1,table2,..."
}
] |
[
{
"from": "human",
"value": "Export data while offloading the operation to a temporary instance to reduce strain on the source instance"
},
{
"from": "gpt",
"value": "gcloud sql export sql instance gs://bucket_name/file_name --offload"
}
] |
[
{
"from": "human",
"value": "Export data and compress the output with `gzip`"
},
{
"from": "gpt",
"value": "gcloud sql export sql instance gs://bucket_name/file_name.gz"
}
] |
[
{
"from": "human",
"value": "Synchronize IMAP account between host1 and host2"
},
{
"from": "gpt",
"value": "imapsync --host1 host1 --user1 user1 --password1 secret1 --host2 host2 --user2 user2 --password2 secret2"
}
] |
[
{
"from": "human",
"value": "Create a new project using the default template"
},
{
"from": "gpt",
"value": "spike new project_name"
}
] |
[
{
"from": "human",
"value": "Compile your project, watch for changes, and auto-reload the browser"
},
{
"from": "gpt",
"value": "spike watch"
}
] |
[
{
"from": "human",
"value": "Compile your project once to the \"public\" directory"
},
{
"from": "gpt",
"value": "spike compile"
}
] |
[
{
"from": "human",
"value": "Remove the output directory"
},
{
"from": "gpt",
"value": "spike clean"
}
] |
[
{
"from": "human",
"value": "Post a file to Slack"
},
{
"from": "gpt",
"value": "slackcat --channel channel_name path/to/file"
}
] |
[
{
"from": "human",
"value": "Post a file to Slack with a custom filename"
},
{
"from": "gpt",
"value": "slackcat --channel channel_name --filename=filename path/to/file"
}
] |
[
{
"from": "human",
"value": "Pipe command output to Slack as a text snippet"
},
{
"from": "gpt",
"value": "command | slackcat --channel channel_name --filename=snippet_name"
}
] |
[
{
"from": "human",
"value": "Stream command output to Slack continuously"
},
{
"from": "gpt",
"value": "command | slackcat --channel channel_name --stream"
}
] |
[
{
"from": "human",
"value": "Mount an MTP device to a directory"
},
{
"from": "gpt",
"value": "jmtpfs path/to/directory"
}
] |
[
{
"from": "human",
"value": "Set mount options"
},
{
"from": "gpt",
"value": "jmtpfs -o allow_other,auto_unmount path/to/directory"
}
] |
[
{
"from": "human",
"value": "List available MTP devices"
},
{
"from": "gpt",
"value": "jmtpfs --listDevices"
}
] |
[
{
"from": "human",
"value": "If multiple devices are present, mount a specific device"
},
{
"from": "gpt",
"value": "jmtpfs -device=bus_id,device_id path/to/directory"
}
] |
[
{
"from": "human",
"value": "Unmount MTP device"
},
{
"from": "gpt",
"value": "fusermount -u path/to/directory"
}
] |
[
{
"from": "human",
"value": "Apply a manifest"
},
{
"from": "gpt",
"value": "puppet apply path/to/manifest"
}
] |
[
{
"from": "human",
"value": "Execute puppet code"
},
{
"from": "gpt",
"value": "puppet apply --execute code"
}
] |
[
{
"from": "human",
"value": "Use a specific module and hiera configuration file"
},
{
"from": "gpt",
"value": "puppet apply --modulepath path/to/directory --hiera_config path/to/file path/to/manifest"
}
] |
[
{
"from": "human",
"value": "Set the default host triple"
},
{
"from": "gpt",
"value": "rustup set default-host host_triple"
}
] |
[
{
"from": "human",
"value": "Set the default profile (`minimal` includes only `rustc`, `rust-std` and `cargo`, whereas `default` adds `rust-docs`, `rustfmt` and `clippy`)"
},
{
"from": "gpt",
"value": "rustup set profile minimal|default"
}
] |
[
{
"from": "human",
"value": "Set whether `rustup` should update itself when running `rustup update`"
},
{
"from": "gpt",
"value": "rustup set auto-self-update enable|disable|check-only"
}
] |
[
{
"from": "human",
"value": "Grant direnv permission to load the `.envrc` present in the current directory"
},
{
"from": "gpt",
"value": "direnv allow ."
}
] |
[
{
"from": "human",
"value": "Revoke the authorization to load the `.envrc` present in the current directory"
},
{
"from": "gpt",
"value": "direnv deny ."
}
] |
[
{
"from": "human",
"value": "Edit the `.envrc` file in the default text editor and reload the environment on exit"
},
{
"from": "gpt",
"value": "direnv edit ."
}
] |
[
{
"from": "human",
"value": "Trigger a reload of the environment"
},
{
"from": "gpt",
"value": "direnv reload"
}
] |
[
{
"from": "human",
"value": "Print some debug status information"
},
{
"from": "gpt",
"value": "direnv status"
}
] |
[
{
"from": "human",
"value": "Bring the current job to front"
},
{
"from": "gpt",
"value": "%"
}
] |
[
{
"from": "human",
"value": "Bring the previous job to front"
},
{
"from": "gpt",
"value": "%-"
}
] |
[
{
"from": "human",
"value": "Bring the job number `n` to front"
},
{
"from": "gpt",
"value": "%n"
}
] |
[
{
"from": "human",
"value": "Bring a job whose command starts with `string` to front"
},
{
"from": "gpt",
"value": "%string"
}
] |
[
{
"from": "human",
"value": "Bring a job whose command contains `string` to front"
},
{
"from": "gpt",
"value": "%?string"
}
] |
[
{
"from": "human",
"value": "Resume a suspended job"
},
{
"from": "gpt",
"value": "%1 &"
}
] |
[
{
"from": "human",
"value": "Merge two (or more) PDFs"
},
{
"from": "gpt",
"value": "pdfjam path/to/file1.pdf path/to/file2.pdf --outfile path/to/output_file.pdf"
}
] |
[
{
"from": "human",
"value": "Merge the first page of each file together"
},
{
"from": "gpt",
"value": "pdfjam files... 1 --outfile path/to/output_file.pdf"
}
] |
[
{
"from": "human",
"value": "Merge subranges from two PDFs"
},
{
"from": "gpt",
"value": "pdfjam path/to/file1.pdf 3-5,1 path/to/file2.pdf 4-6 --outfile path/to/output_file.pdf"
}
] |
[
{
"from": "human",
"value": "Sign an A4 page (adjust delta to height for other formats) with a scanned signature by overlaying them"
},
{
"from": "gpt",
"value": "pdfjam path/to/file.pdf path/to/signature --fitpaper true --outfile path/to/signed.pdf --nup \"1x2\" --delta \"0 -842pt\""
}
] |
[
{
"from": "human",
"value": "Arrange the pages from the input file into a fancy 2x2 grid"
},
{
"from": "gpt",
"value": "pdfjam path/to/file.pdf --nup 2x2 --suffix 4up --preamble '\\usepackage{fancyhdr} \\pagestyle{fancy}'"
}
] |
[
{
"from": "human",
"value": "Reverse the order of pages within each given file and concatenate them"
},
{
"from": "gpt",
"value": "pdfjam files... last-1 --suffix reversed"
}
] |
[
{
"from": "human",
"value": "Copy a local file to a remote host"
},
{
"from": "gpt",
"value": "scp path/to/local_file remote_host:path/to/remote_file"
}
] |
[
{
"from": "human",
"value": "Use a specific port when connecting to the remote host"
},
{
"from": "gpt",
"value": "scp -P port path/to/local_file remote_host:path/to/remote_file"
}
] |
[
{
"from": "human",
"value": "Copy a file from a remote host to a local directory"
},
{
"from": "gpt",
"value": "scp remote_host:path/to/remote_file path/to/local_directory"
}
] |
[
{
"from": "human",
"value": "Recursively copy the contents of a directory from a remote host to a local directory"
},
{
"from": "gpt",
"value": "scp -r remote_host:path/to/remote_directory path/to/local_directory"
}
] |
[
{
"from": "human",
"value": "Copy a file between two remote hosts transferring through the local host"
},
{
"from": "gpt",
"value": "scp -3 host1:path/to/remote_file host2:path/to/remote_directory"
}
] |
[
{
"from": "human",
"value": "Use a specific username when connecting to the remote host"
},
{
"from": "gpt",
"value": "scp path/to/local_file remote_username@remote_host:path/to/remote_directory"
}
] |
[
{
"from": "human",
"value": "Use a specific SSH private key for authentication with the remote host"
},
{
"from": "gpt",
"value": "scp -i ~/.ssh/private_key path/to/local_file remote_host:path/to/remote_file"
}
] |
[
{
"from": "human",
"value": "Use a specific proxy when connecting to the remote host"
},
{
"from": "gpt",
"value": "scp -J proxy_username@proxy_host path/to/local_file remote_host:path/to/remote_file"
}
] |
[
{
"from": "human",
"value": "Extract archive, guessing the extraction tool from extension"
},
{
"from": "gpt",
"value": "dtrx path/to/file"
}
] |
[
{
"from": "human",
"value": "Extract archive, overwrite any existing target output"
},
{
"from": "gpt",
"value": "dtrx --overwrite path/to/file"
}
] |
[
{
"from": "human",
"value": "Extract archive, put everything into current directory"
},
{
"from": "gpt",
"value": "dtrx --flat path/to/file"
}
] |
[
{
"from": "human",
"value": "Build the package and pass options to `rustc`"
},
{
"from": "gpt",
"value": "cargo rustc -- rustc_options"
}
] |
[
{
"from": "human",
"value": "Build artifacts in release mode, with optimizations"
},
{
"from": "gpt",
"value": "cargo rustc [-r|--release]"
}
] |
[
{
"from": "human",
"value": "Compile with architecture-specific optimizations for the current CPU"
},
{
"from": "gpt",
"value": "cargo rustc [-r|--release] -- -C target-cpu=native"
}
] |
[
{
"from": "human",
"value": "Compile with speed optimizations"
},
{
"from": "gpt",
"value": "cargo rustc -- -C opt-level 1|2|3"
}
] |
[
{
"from": "human",
"value": "Compile with [s]ize optimizations (`z` also turns off loop vectorization)"
},
{
"from": "gpt",
"value": "cargo rustc -- -C opt-level s|z"
}
] |
[
{
"from": "human",
"value": "Check if your package uses unsafe code"
},
{
"from": "gpt",
"value": "cargo rustc --lib -- -D unsafe-code"
}
] |
[
{
"from": "human",
"value": "Build a specific package"
},
{
"from": "gpt",
"value": "cargo rustc [-p|--package] package"
}
] |
[
{
"from": "human",
"value": "Build only the specified binary"
},
{
"from": "gpt",
"value": "cargo --bin name"
}
] |
[
{
"from": "human",
"value": "Show the last few lines of output from all tasks"
},
{
"from": "gpt",
"value": "pueue log"
}
] |
[
{
"from": "human",
"value": "Show the full output of a task"
},
{
"from": "gpt",
"value": "pueue log task_id"
}
] |
[
{
"from": "human",
"value": "Show the last few lines of output from several tasks"
},
{
"from": "gpt",
"value": "pueue log task_id task_id"
}
] |
[
{
"from": "human",
"value": "Print a specific number of lines from the tail of output"
},
{
"from": "gpt",
"value": "pueue log --lines number_of_lines task_id"
}
] |
[
{
"from": "human",
"value": "Run a subshell asynchronously"
},
{
"from": "gpt",
"value": "coproc { command1; command2; ...; }"
}
] |
[
{
"from": "human",
"value": "Create a coprocess with a specific name"
},
{
"from": "gpt",
"value": "coproc name { command1; command2; ...; }"
}
] |
[
{
"from": "human",
"value": "Write to a specific coprocess `stdin`"
},
{
"from": "gpt",
"value": "echo \"input\" >&\"${name[1]}\""
}
] |
[
{
"from": "human",
"value": "Read from a specific coprocess `stdout`"
},
{
"from": "gpt",
"value": "read variable <&\"${name[0]}\""
}
] |
[
{
"from": "human",
"value": "Create a coprocess which repeatedly reads `stdin` and runs some commands on the input"
},
{
"from": "gpt",
"value": "coproc name { while read line; do command1; command2; ...; done }"
}
] |
[
{
"from": "human",
"value": "Create a coprocess which repeatedly reads `stdin`, runs a pipeline on the input, and writes the output to `stdout`"
},
{
"from": "gpt",
"value": "coproc name { while read line; do echo \"$line\" | command1 | command2 | ... | cat /dev/fd/0; done }"
}
] |
[
{
"from": "human",
"value": "Create and use a coprocess running `bc`"
},
{
"from": "gpt",
"value": "coproc BC { bc --mathlib; }; echo \"1/3\" >&\"${BC[1]}\"; read output <&\"${BC[0]}\"; echo \"$output\""
}
] |
[
{
"from": "human",
"value": "Start `sdcv` interactively"
},
{
"from": "gpt",
"value": "sdcv"
}
] |
[
{
"from": "human",
"value": "List installed dictionaries"
},
{
"from": "gpt",
"value": "sdcv --list-dicts"
}
] |
[
{
"from": "human",
"value": "Display a definition from a specific dictionary"
},
{
"from": "gpt",
"value": "sdcv --use-dict dictionary_name search_term"
}
] |
[
{
"from": "human",
"value": "Look up a definition with a fuzzy search"
},
{
"from": "gpt",
"value": "sdcv search_term"
}
] |
[
{
"from": "human",
"value": "Look up a definition with an exact search"
},
{
"from": "gpt",
"value": "sdcv --exact-search search_term"
}
] |
[
{
"from": "human",
"value": "Look up a definition and format the output as JSON"
},
{
"from": "gpt",
"value": "sdcv --json search_term"
}
] |
[
{
"from": "human",
"value": "Search for dictionaries in a specific directory"
},
{
"from": "gpt",
"value": "sdcv --data-dir path/to/directory search_term"
}
] |
[
{
"from": "human",
"value": "Prepare sources using the recipe from RPM SPEC file"
},
{
"from": "gpt",
"value": "sfdk prepare"
}
] |
[
{
"from": "human",
"value": "Create a new project"
},
{
"from": "gpt",
"value": "tmuxinator new project"
}
] |
[
{
"from": "human",
"value": "Edit a project"
},
{
"from": "gpt",
"value": "tmuxinator edit project"
}
] |
[
{
"from": "human",
"value": "List projects"
},
{
"from": "gpt",
"value": "tmuxinator list"
}
] |
[
{
"from": "human",
"value": "Start a tmux session based on project"
},
{
"from": "gpt",
"value": "tmuxinator start project"
}
] |
[
{
"from": "human",
"value": "Stop a project's tmux session"
},
{
"from": "gpt",
"value": "tmuxinator stop project"
}
] |
[
{
"from": "human",
"value": "Install a helm chart"
},
{
"from": "gpt",
"value": "helm install name repository_name/chart_name"
}
] |
[
{
"from": "human",
"value": "Install a helm chart from an unpacked chart directory"
},
{
"from": "gpt",
"value": "helm install name path/to/source_directory"
}
] |
[
{
"from": "human",
"value": "Install a helm chart from a URL"
},
{
"from": "gpt",
"value": "helm install package_name https://example.com/charts/packagename-1.2.3.tgz"
}
] |
[
{
"from": "human",
"value": "Install a helm chart and generate a name"
},
{
"from": "gpt",
"value": "helm install repository_name/chart_name --generate-name"
}
] |
[
{
"from": "human",
"value": "Perform a dry run"
},
{
"from": "gpt",
"value": "helm install name repository_name/chart_name --dry-run"
}
] |
[
{
"from": "human",
"value": "Install a helm chart with custom values"
},
{
"from": "gpt",
"value": "helm install name repository_name/chart_name --set parameter1=value1,parameter2=value2"
}
] |
[
{
"from": "human",
"value": "Install a helm chart passing a custom values file"
},
{
"from": "gpt",
"value": "helm install name repository_name/chart_name --values path/to/values.yaml"
}
] |
[
{
"from": "human",
"value": "Launch OBS"
},
{
"from": "gpt",
"value": "obs"
}
] |
[
{
"from": "human",
"value": "Launch OBS in portable mode"
},
{
"from": "gpt",
"value": "obs --portable"
}
] |
[
{
"from": "human",
"value": "Automatically start recording a video on launch"
},
{
"from": "gpt",
"value": "obs --startrecording"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.