conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Convert delimiters to a custom character"
},
{
"from": "gpt",
"value": "csvformat -D \"custom_character\" data.csv"
}
] |
[
{
"from": "human",
"value": "Convert line endings to carriage return (^M) + line feed"
},
{
"from": "gpt",
"value": "csvformat -M \"\\r\\n\" data.csv"
}
] |
[
{
"from": "human",
"value": "Minimize use of quote characters"
},
{
"from": "gpt",
"value": "csvformat -U 0 data.csv"
}
] |
[
{
"from": "human",
"value": "Maximize use of quote characters"
},
{
"from": "gpt",
"value": "csvformat -U 1 data.csv"
}
] |
[
{
"from": "human",
"value": "Display version of all packages"
},
{
"from": "gpt",
"value": "pyats version check"
}
] |
[
{
"from": "human",
"value": "Display outdated packages"
},
{
"from": "gpt",
"value": "pyats version check --outdated"
}
] |
[
{
"from": "human",
"value": "Update packages to the most recent version"
},
{
"from": "gpt",
"value": "pyats version update"
}
] |
[
{
"from": "human",
"value": "Update or downgrade packages to a specific version"
},
{
"from": "gpt",
"value": "pyats version update version"
}
] |
[
{
"from": "human",
"value": "Create a new Poetry project in the directory with a specific name"
},
{
"from": "gpt",
"value": "poetry new project_name"
}
] |
[
{
"from": "human",
"value": "Install and add a dependency and its sub-dependencies to the `pyproject.toml` file in the current directory"
},
{
"from": "gpt",
"value": "poetry add dependency"
}
] |
[
{
"from": "human",
"value": "Install the project dependencies using the `pyproject.toml` file in the current directory"
},
{
"from": "gpt",
"value": "poetry install"
}
] |
[
{
"from": "human",
"value": "Interactively initialize the current directory as a new Poetry project"
},
{
"from": "gpt",
"value": "poetry init"
}
] |
[
{
"from": "human",
"value": "Get the latest version of all dependencies and update `poetry.lock`"
},
{
"from": "gpt",
"value": "poetry update"
}
] |
[
{
"from": "human",
"value": "Execute a command inside the project's virtual environment"
},
{
"from": "gpt",
"value": "poetry run command"
}
] |
[
{
"from": "human",
"value": "Bump the version of the project in `pyproject.toml`"
},
{
"from": "gpt",
"value": "poetry version patch|minor|major|prepatch|preminor|premajor|prerelease"
}
] |
[
{
"from": "human",
"value": "Spawn a shell within the project's virtual environment"
},
{
"from": "gpt",
"value": "poetry shell"
}
] |
[
{
"from": "human",
"value": "Encode a file"
},
{
"from": "gpt",
"value": "base32 path/to/file"
}
] |
[
{
"from": "human",
"value": "Wrap encoded output at a specific width (`0` disables wrapping)"
},
{
"from": "gpt",
"value": "base32 [-w|--wrap] 0|76|... path/to/file"
}
] |
[
{
"from": "human",
"value": "Decode a file"
},
{
"from": "gpt",
"value": "base32 [-d|--decode] path/to/file"
}
] |
[
{
"from": "human",
"value": "Encode from `stdin`"
},
{
"from": "gpt",
"value": "command | base32"
}
] |
[
{
"from": "human",
"value": "Decode from `stdin`"
},
{
"from": "gpt",
"value": "command | base32 [-d|--decode]"
}
] |
[
{
"from": "human",
"value": "List the aliases that can be used to launch an instance"
},
{
"from": "gpt",
"value": "multipass find"
}
] |
[
{
"from": "human",
"value": "Launch a new instance, set its name and use a cloud-init configuration file"
},
{
"from": "gpt",
"value": "multipass launch -n instance_name --cloud-init configuration_file"
}
] |
[
{
"from": "human",
"value": "List all the created instances and some of their properties"
},
{
"from": "gpt",
"value": "multipass list"
}
] |
[
{
"from": "human",
"value": "Start a specific instance by name"
},
{
"from": "gpt",
"value": "multipass start instance_name"
}
] |
[
{
"from": "human",
"value": "Show the properties of an instance"
},
{
"from": "gpt",
"value": "multipass info instance_name"
}
] |
[
{
"from": "human",
"value": "Open a shell prompt on a specific instance by name"
},
{
"from": "gpt",
"value": "multipass shell instance_name"
}
] |
[
{
"from": "human",
"value": "Delete an instance by name"
},
{
"from": "gpt",
"value": "multipass delete instance_name"
}
] |
[
{
"from": "human",
"value": "Mount a directory into a specific instance"
},
{
"from": "gpt",
"value": "multipass mount path/to/local/directory instance_name:path/to/target/directory"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr flex"
}
] |
[
{
"from": "human",
"value": "Compile multiple source files into an executable"
},
{
"from": "gpt",
"value": "gfortran path/to/source1.f90 path/to/source2.f90 ... -o path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Show common warnings, debug symbols in output, and optimize without affecting debugging"
},
{
"from": "gpt",
"value": "gfortran path/to/source.f90 -Wall -g -Og -o path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Include libraries from a different path"
},
{
"from": "gpt",
"value": "gfortran path/to/source.f90 -o path/to/output_executable -Ipath/to/mod_and_include -Lpath/to/library -llibrary_name"
}
] |
[
{
"from": "human",
"value": "Compile source code into Assembler instructions"
},
{
"from": "gpt",
"value": "gfortran -S path/to/source.f90"
}
] |
[
{
"from": "human",
"value": "Compile source code into an object file without linking"
},
{
"from": "gpt",
"value": "gfortran -c path/to/source.f90"
}
] |
[
{
"from": "human",
"value": "Open a file"
},
{
"from": "gpt",
"value": "most path/to/file"
}
] |
[
{
"from": "human",
"value": "Open several files"
},
{
"from": "gpt",
"value": "most path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Open a file at the first occurrence of \"string\""
},
{
"from": "gpt",
"value": "most path/to/file +/string"
}
] |
[
{
"from": "human",
"value": "Move through opened files"
},
{
"from": "gpt",
"value": "<:><n><ArrowUp>|<ArrowDown>"
}
] |
[
{
"from": "human",
"value": "Jump to the 100th line"
},
{
"from": "gpt",
"value": "<j>100<Enter>"
}
] |
[
{
"from": "human",
"value": "Edit current file"
},
{
"from": "gpt",
"value": "<e>"
}
] |
[
{
"from": "human",
"value": "Split the current window in half"
},
{
"from": "gpt",
"value": "<CTRL x><o>"
}
] |
[
{
"from": "human",
"value": "Exit"
},
{
"from": "gpt",
"value": "<q>"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "ipython"
}
] |
[
{
"from": "human",
"value": "Enter an interactive IPython session after running a Python script"
},
{
"from": "gpt",
"value": "ipython -i script.py"
}
] |
[
{
"from": "human",
"value": "Create default IPython profile"
},
{
"from": "gpt",
"value": "ipython profile create"
}
] |
[
{
"from": "human",
"value": "Print the path to the directory for the default IPython profile"
},
{
"from": "gpt",
"value": "ipython locate profile"
}
] |
[
{
"from": "human",
"value": "Clear the IPython history database, deleting all entries"
},
{
"from": "gpt",
"value": "ipython history clear"
}
] |
[
{
"from": "human",
"value": "Start a HTTP proxy (on the loopback network interface `127.0.0.1` and port `8888`)"
},
{
"from": "gpt",
"value": "proxify"
}
] |
[
{
"from": "human",
"value": "Start a HTTP proxy on a custom network interface and port (may require `sudo` for a port number lower than `1024`)"
},
{
"from": "gpt",
"value": "proxify -http-addr \"ip_address:port_number\""
}
] |
[
{
"from": "human",
"value": "Specify output format and output file"
},
{
"from": "gpt",
"value": "proxify -output-format jsonl|yaml -output path/to/file"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "proxify -h"
}
] |
[
{
"from": "human",
"value": "Acquire a lease for resource"
},
{
"from": "gpt",
"value": "stormlock acquire resource"
}
] |
[
{
"from": "human",
"value": "Release the given lease for the given resource"
},
{
"from": "gpt",
"value": "stormlock release resource lease_id"
}
] |
[
{
"from": "human",
"value": "Show information on the current lease for a resource, if any"
},
{
"from": "gpt",
"value": "stormlock current resource"
}
] |
[
{
"from": "human",
"value": "Test if a lease for given resource is currently active"
},
{
"from": "gpt",
"value": "stormlock is-held resource lease_id"
}
] |
[
{
"from": "human",
"value": "Isolate variable names"
},
{
"from": "gpt",
"value": "echo ${HOME}work"
}
] |
[
{
"from": "human",
"value": "Brace expand sequences"
},
{
"from": "gpt",
"value": "echo {1..3} {a..c}{dir1,dir2,dir3}"
}
] |
[
{
"from": "human",
"value": "Check if `variable` is set before returning text"
},
{
"from": "gpt",
"value": "echo ${variable:+variable is set and contains $variable}"
}
] |
[
{
"from": "human",
"value": "Set default values in case `variable` is unset"
},
{
"from": "gpt",
"value": "echo ${variable:-default}"
}
] |
[
{
"from": "human",
"value": "Return `variable` length in characters"
},
{
"from": "gpt",
"value": "echo ${#variable}"
}
] |
[
{
"from": "human",
"value": "Return a string slice"
},
{
"from": "gpt",
"value": "echo ${variable:3:7}"
}
] |
[
{
"from": "human",
"value": "Recursively expand a `variable`"
},
{
"from": "gpt",
"value": "echo ${!variable}"
}
] |
[
{
"from": "human",
"value": "Capitalize all the characters"
},
{
"from": "gpt",
"value": "echo ${variable^^}"
}
] |
[
{
"from": "human",
"value": "Download a remote image from Sylabs Cloud"
},
{
"from": "gpt",
"value": "singularity pull --name image.sif library://godlovedc/funny/lolcow:latest"
}
] |
[
{
"from": "human",
"value": "Rebuild a remote image using the latest Singularity image format"
},
{
"from": "gpt",
"value": "singularity build image.sif docker://godlovedc/lolcow"
}
] |
[
{
"from": "human",
"value": "Start a container from an image and get a shell inside it"
},
{
"from": "gpt",
"value": "singularity shell image.sif"
}
] |
[
{
"from": "human",
"value": "Start a container from an image and run a command"
},
{
"from": "gpt",
"value": "singularity exec image.sif command"
}
] |
[
{
"from": "human",
"value": "Start a container from an image and execute the internal runscript"
},
{
"from": "gpt",
"value": "singularity run image.sif"
}
] |
[
{
"from": "human",
"value": "Build a singularity image from a recipe file"
},
{
"from": "gpt",
"value": "sudo singularity build image.sif recipe"
}
] |
[
{
"from": "human",
"value": "Disown the current job"
},
{
"from": "gpt",
"value": "disown"
}
] |
[
{
"from": "human",
"value": "Disown a specific job"
},
{
"from": "gpt",
"value": "disown %job_number"
}
] |
[
{
"from": "human",
"value": "Disown all jobs"
},
{
"from": "gpt",
"value": "disown -a"
}
] |
[
{
"from": "human",
"value": "Keep job (do not disown it), but mark it so that no future SIGHUP is received on shell exit"
},
{
"from": "gpt",
"value": "disown -h %job_number"
}
] |
[
{
"from": "human",
"value": "Validate the current commit"
},
{
"from": "gpt",
"value": "core-validate-commit"
}
] |
[
{
"from": "human",
"value": "Validate a specific commit"
},
{
"from": "gpt",
"value": "core-validate-commit commit_hash"
}
] |
[
{
"from": "human",
"value": "Validate a range of commits"
},
{
"from": "gpt",
"value": "git rev-list commit_hash..HEAD | xargs core-validate-commit"
}
] |
[
{
"from": "human",
"value": "List all validation rules"
},
{
"from": "gpt",
"value": "core-validate-commit --list"
}
] |
[
{
"from": "human",
"value": "List all valid Node.js subsystems"
},
{
"from": "gpt",
"value": "core-validate-commit --list-subsystem"
}
] |
[
{
"from": "human",
"value": "Validate the current commit formatting the output in tap format"
},
{
"from": "gpt",
"value": "core-validate-commit --tap"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "core-validate-commit --help"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr rc"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr xzmore"
}
] |
[
{
"from": "human",
"value": "Remove the specified file if it is the last link"
},
{
"from": "gpt",
"value": "unlink path/to/file"
}
] |
[
{
"from": "human",
"value": "Start a shell with all dependencies of a package from nixpkgs available"
},
{
"from": "gpt",
"value": "nix develop nixpkgs#pkg"
}
] |
[
{
"from": "human",
"value": "Start a development shell for the default package in a flake in the current directory"
},
{
"from": "gpt",
"value": "nix develop"
}
] |
[
{
"from": "human",
"value": "In that shell, configure and build the sources"
},
{
"from": "gpt",
"value": "configurePhase; buildPhase"
}
] |
[
{
"from": "human",
"value": "Retrieve crash reports and move them to a specified directory"
},
{
"from": "gpt",
"value": "idevicecrashreport path/to/directory"
}
] |
[
{
"from": "human",
"value": "Retrieve crash reports without removing them from the device"
},
{
"from": "gpt",
"value": "idevicecrashreport --keep path/to/directory"
}
] |
[
{
"from": "human",
"value": "Extract crash reports into separate `.crash` files"
},
{
"from": "gpt",
"value": "idevicecrashreport --extract path/to/directory"
}
] |
[
{
"from": "human",
"value": "Backup your Charm account keys"
},
{
"from": "gpt",
"value": "charm backup-keys"
}
] |
[
{
"from": "human",
"value": "Backup Charm account keys to a specific location"
},
{
"from": "gpt",
"value": "charm backup-keys -o path/to/output_file.tar"
}
] |
[
{
"from": "human",
"value": "Import previously backed up Charm account keys"
},
{
"from": "gpt",
"value": "charm import-keys \"charm-keys-backup.tar\""
}
] |
[
{
"from": "human",
"value": "Find where your `cloud.charm.sh` folder resides on your machine"
},
{
"from": "gpt",
"value": "charm where"
}
] |
[
{
"from": "human",
"value": "Start your Charm server"
},
{
"from": "gpt",
"value": "charm serve"
}
] |
[
{
"from": "human",
"value": "Print linked SSH keys"
},
{
"from": "gpt",
"value": "charm keys"
}
] |
[
{
"from": "human",
"value": "Print your Charm ID"
},
{
"from": "gpt",
"value": "charm id"
}
] |
[
{
"from": "human",
"value": "Overwrite a file"
},
{
"from": "gpt",
"value": "shred path/to/file"
}
] |
[
{
"from": "human",
"value": "Overwrite a file and show progress on the screen"
},
{
"from": "gpt",
"value": "shred [-v|--verbose] path/to/file"
}
] |
[
{
"from": "human",
"value": "Overwrite a file, leaving zeros instead of random data"
},
{
"from": "gpt",
"value": "shred [-z|--zero] path/to/file"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.