conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run a `doctl databases user` command with an access token"
},
{
"from": "gpt",
"value": "doctl databases user command --access-token access_token"
}
] |
[
{
"from": "human",
"value": "Retrieve details about a database user"
},
{
"from": "gpt",
"value": "doctl databases user get database_id user_name"
}
] |
[
{
"from": "human",
"value": "Retrieve a list of database users for a given database"
},
{
"from": "gpt",
"value": "doctl databases user list database_id"
}
] |
[
{
"from": "human",
"value": "Reset the auth password for a given user"
},
{
"from": "gpt",
"value": "doctl databases user reset database id user_name"
}
] |
[
{
"from": "human",
"value": "Reset the MySQL auth plugn for a given user"
},
{
"from": "gpt",
"value": "doctl databases user reset database_id user_name caching_sha2_password|mysql_native_password"
}
] |
[
{
"from": "human",
"value": "Create a user in the given database with a given username"
},
{
"from": "gpt",
"value": "doctl databases user create database_id user_name"
}
] |
[
{
"from": "human",
"value": "Delete a user from the given database with the given username"
},
{
"from": "gpt",
"value": "doctl databases user delete database_id user_name"
}
] |
[
{
"from": "human",
"value": "Edit a pod"
},
{
"from": "gpt",
"value": "kubectl edit pod/pod_name"
}
] |
[
{
"from": "human",
"value": "Edit a deployment"
},
{
"from": "gpt",
"value": "kubectl edit deployment/deployment_name"
}
] |
[
{
"from": "human",
"value": "Edit a service"
},
{
"from": "gpt",
"value": "kubectl edit svc/service_name"
}
] |
[
{
"from": "human",
"value": "Edit a resource using a specific editor"
},
{
"from": "gpt",
"value": "KUBE_EDITOR=nano kubectl edit resource/resource_name"
}
] |
[
{
"from": "human",
"value": "Edit a resource in JSON format"
},
{
"from": "gpt",
"value": "kubectl edit resource/resource_name --output json"
}
] |
[
{
"from": "human",
"value": "Upgrade all outdated casks and formulae"
},
{
"from": "gpt",
"value": "brew upgrade"
}
] |
[
{
"from": "human",
"value": "Upgrade a specific formula/cask"
},
{
"from": "gpt",
"value": "brew upgrade formula|cask"
}
] |
[
{
"from": "human",
"value": "Print what would be upgraded, but don't actually upgrade anything"
},
{
"from": "gpt",
"value": "brew upgrade --dry-run"
}
] |
[
{
"from": "human",
"value": "Create a copy of the default configuration in your current working directory"
},
{
"from": "gpt",
"value": "yolo task=init"
}
] |
[
{
"from": "human",
"value": "Train the object detection, instance segment, or classification model with the specified configuration file"
},
{
"from": "gpt",
"value": "yolo task=detect|segment|classify mode=train cfg=path/to/config.yaml"
}
] |
[
{
"from": "human",
"value": "Convert a PBM image to an Atari Degas PI3 image"
},
{
"from": "gpt",
"value": "pbmtopi3 path/to/image.pbm > path/to/atari_image.pi3"
}
] |
[
{
"from": "human",
"value": "Generate a test pattern for printing onto US standard paper"
},
{
"from": "gpt",
"value": "pbmpage > path/to/file.pbm"
}
] |
[
{
"from": "human",
"value": "Generate a test pattern for printing onto A4 paper"
},
{
"from": "gpt",
"value": "pbmpage -a4 > path/to/file.pbm"
}
] |
[
{
"from": "human",
"value": "Specify the pattern to use"
},
{
"from": "gpt",
"value": "pbmpage 1|2|3 > path/to/file.pbm"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr npm run"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "bpython"
}
] |
[
{
"from": "human",
"value": "Execute a specific Python file"
},
{
"from": "gpt",
"value": "bpython path/to/file.py"
}
] |
[
{
"from": "human",
"value": "Execute a specific Python file and start a REPL"
},
{
"from": "gpt",
"value": "bpython [-i|--interactive] path/to/file.py"
}
] |
[
{
"from": "human",
"value": "Use the specified config file instead of the default config"
},
{
"from": "gpt",
"value": "bpython --config path/to/file.conf"
}
] |
[
{
"from": "human",
"value": "Start a new Alacritty process and create a window"
},
{
"from": "gpt",
"value": "alacritty"
}
] |
[
{
"from": "human",
"value": "Start the Alacritty daemon (without creating a window)"
},
{
"from": "gpt",
"value": "alacritty --daemon"
}
] |
[
{
"from": "human",
"value": "Create a new window using the already running Alacritty process"
},
{
"from": "gpt",
"value": "alacritty msg create-window"
}
] |
[
{
"from": "human",
"value": "Start the shell in a specific directory (also works with `alacritty msg create-window`)"
},
{
"from": "gpt",
"value": "alacritty --working-directory path/to/directory"
}
] |
[
{
"from": "human",
"value": "[e]xecute a command in a new Alacritty window (also works with `alacritty msg create-window`)"
},
{
"from": "gpt",
"value": "alacritty [-e|--command] command"
}
] |
[
{
"from": "human",
"value": "Use an alternative configuration file (defaults to `$XDG_CONFIG_HOME/alacritty/alacritty.toml`)"
},
{
"from": "gpt",
"value": "alacritty --config-file path/to/config.toml"
}
] |
[
{
"from": "human",
"value": "Run with live configuration reload enabled (can also be enabled by default in `alacritty.toml`)"
},
{
"from": "gpt",
"value": "alacritty --live-config-reload --config-file path/to/config.toml"
}
] |
[
{
"from": "human",
"value": "Log in to the balenaCloud account"
},
{
"from": "gpt",
"value": "balena login"
}
] |
[
{
"from": "human",
"value": "Create a balenaCloud or openBalena application"
},
{
"from": "gpt",
"value": "balena app create app_name"
}
] |
[
{
"from": "human",
"value": "List all balenaCloud or openBalena applications within the account"
},
{
"from": "gpt",
"value": "balena apps"
}
] |
[
{
"from": "human",
"value": "List all devices associated with the balenaCloud or openBalena account"
},
{
"from": "gpt",
"value": "balena devices"
}
] |
[
{
"from": "human",
"value": "Flash a balenaOS image to a local drive"
},
{
"from": "gpt",
"value": "balena local flash path/to/balenaos.img --drive drive_location"
}
] |
[
{
"from": "human",
"value": "Create a new environment"
},
{
"from": "gpt",
"value": "virtualenv path/to/venv"
}
] |
[
{
"from": "human",
"value": "Customize the prompt prefix"
},
{
"from": "gpt",
"value": "virtualenv --prompt=prompt_prefix path/to/venv"
}
] |
[
{
"from": "human",
"value": "Use a different version of Python with virtualenv"
},
{
"from": "gpt",
"value": "virtualenv --python=path/to/pythonbin path/to/venv"
}
] |
[
{
"from": "human",
"value": "Start (select) the environment"
},
{
"from": "gpt",
"value": "source path/to/venv/bin/activate"
}
] |
[
{
"from": "human",
"value": "Stop the environment"
},
{
"from": "gpt",
"value": "deactivate"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "aws codecommit help"
}
] |
[
{
"from": "human",
"value": "Display help for a specific command"
},
{
"from": "gpt",
"value": "aws codecommit command help"
}
] |
[
{
"from": "human",
"value": "Display a file with syntax highlighting"
},
{
"from": "gpt",
"value": "rich path/to/file.py"
}
] |
[
{
"from": "human",
"value": "Add line numbers, and indentation guides"
},
{
"from": "gpt",
"value": "rich path/to/file.py --line-numbers --guides"
}
] |
[
{
"from": "human",
"value": "Apply a theme"
},
{
"from": "gpt",
"value": "rich path/to/file.py --theme monokai"
}
] |
[
{
"from": "human",
"value": "Display a file in an interactive pager"
},
{
"from": "gpt",
"value": "rich path/to/file.py --pager"
}
] |
[
{
"from": "human",
"value": "Display contents from a URL"
},
{
"from": "gpt",
"value": "rich https://raw.githubusercontent.com/Textualize/rich-cli/main/README.md --markdown --pager"
}
] |
[
{
"from": "human",
"value": "Export a file as HTML"
},
{
"from": "gpt",
"value": "rich path/to/file.md --export-html path/to/file.html"
}
] |
[
{
"from": "human",
"value": "Display text with formatting tags, custom alignment, and line width"
},
{
"from": "gpt",
"value": "rich --print \"Hello [green on black]Stylized[/green on black] [bold]World[/bold]\" --left|center|right --width 10"
}
] |
[
{
"from": "human",
"value": "Compile a specific contract to hex"
},
{
"from": "gpt",
"value": "solcjs --bin path/to/file.sol"
}
] |
[
{
"from": "human",
"value": "Compile the ABI of a specific contract"
},
{
"from": "gpt",
"value": "solcjs --abi path/to/file.sol"
}
] |
[
{
"from": "human",
"value": "Specify a base path to resolve imports from"
},
{
"from": "gpt",
"value": "solcjs --bin --base-path path/to/directory path/to/file.sol"
}
] |
[
{
"from": "human",
"value": "Specify one or more paths to include containing external code"
},
{
"from": "gpt",
"value": "solcjs --bin --include-path path/to/directory path/to/file.sol"
}
] |
[
{
"from": "human",
"value": "Optimise the generated bytecode"
},
{
"from": "gpt",
"value": "solcjs --bin --optimize path/to/file.sol"
}
] |
[
{
"from": "human",
"value": "Compare two tree objects"
},
{
"from": "gpt",
"value": "git diff-tree tree-ish1 tree-ish2"
}
] |
[
{
"from": "human",
"value": "Show changes between two specific commits"
},
{
"from": "gpt",
"value": "git diff-tree -r commit1 commit2"
}
] |
[
{
"from": "human",
"value": "Display changes in patch format"
},
{
"from": "gpt",
"value": "git diff-tree [-p|--patch] tree-ish1 tree-ish2"
}
] |
[
{
"from": "human",
"value": "Filter changes by a specific path"
},
{
"from": "gpt",
"value": "git diff-tree tree-ish1 tree-ish2 -- path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "List log groups"
},
{
"from": "gpt",
"value": "awslogs groups"
}
] |
[
{
"from": "human",
"value": "List existing streams for the specified group"
},
{
"from": "gpt",
"value": "awslogs streams /var/log/syslog"
}
] |
[
{
"from": "human",
"value": "Get logs for any streams in the specified group between 1 and 2 hours ago"
},
{
"from": "gpt",
"value": "awslogs get /var/log/syslog --start='2h ago' --end='1h ago'"
}
] |
[
{
"from": "human",
"value": "Get logs that match a specific CloudWatch Logs Filter pattern"
},
{
"from": "gpt",
"value": "awslogs get /aws/lambda/my_lambda_group --filter-pattern='ERROR'"
}
] |
[
{
"from": "human",
"value": "Watch logs for any streams in the specified group"
},
{
"from": "gpt",
"value": "awslogs get /var/log/syslog ALL --watch"
}
] |
[
{
"from": "human",
"value": "Run a specific test plan in nongui mode"
},
{
"from": "gpt",
"value": "jmeter --nongui --testfile path/to/file.jmx"
}
] |
[
{
"from": "human",
"value": "Run a test plan in nongui mode using a specific log file"
},
{
"from": "gpt",
"value": "jmeter --nogui --testfile path/to/file.jmx --logfile path/to/logfile.jtl"
}
] |
[
{
"from": "human",
"value": "Run a test plan in nongui mode using a specific proxy"
},
{
"from": "gpt",
"value": "jmeter --nongui --testfile path/to/file.jmx --proxyHost 127.0.0.1 --proxyPort 8888"
}
] |
[
{
"from": "human",
"value": "Run a test plan in nongui mode using a specific JMeter property"
},
{
"from": "gpt",
"value": "jmeter --jmeterproperty key='value' --nongui --testfile path/to/file.jmx"
}
] |
[
{
"from": "human",
"value": "Convert a SAM input file to BAM stream and save to file"
},
{
"from": "gpt",
"value": "samtools view -S -b input.sam > output.bam"
}
] |
[
{
"from": "human",
"value": "Take input from `stdin` (-) and print the SAM header and any reads overlapping a specific region to `stdout`"
},
{
"from": "gpt",
"value": "other_command | samtools view -h - chromosome:start-end"
}
] |
[
{
"from": "human",
"value": "Sort file and save to BAM (the output format is automatically determined from the output file's extension)"
},
{
"from": "gpt",
"value": "samtools sort input -o output.bam"
}
] |
[
{
"from": "human",
"value": "Index a sorted BAM file (creates `sorted_input.bam.bai`)"
},
{
"from": "gpt",
"value": "samtools index sorted_input.bam"
}
] |
[
{
"from": "human",
"value": "Print alignment statistics about a file"
},
{
"from": "gpt",
"value": "samtools flagstat sorted_input"
}
] |
[
{
"from": "human",
"value": "Count alignments to each index (chromosome/contig)"
},
{
"from": "gpt",
"value": "samtools idxstats sorted_indexed_input"
}
] |
[
{
"from": "human",
"value": "Merge multiple files"
},
{
"from": "gpt",
"value": "samtools merge output input1 input2 ..."
}
] |
[
{
"from": "human",
"value": "Split input file according to read groups"
},
{
"from": "gpt",
"value": "samtools split merged_input"
}
] |
[
{
"from": "human",
"value": "Install extension packs to VirtualBox (Note: you need to remove the existing version of the extension pack before installing a new version.)"
},
{
"from": "gpt",
"value": "VBoxManage extpack install path/to/file.vbox-extpack"
}
] |
[
{
"from": "human",
"value": "Remove the existing version of the VirtualBox extension pack"
},
{
"from": "gpt",
"value": "VBoxManage extpack install --replace"
}
] |
[
{
"from": "human",
"value": "Uninstall extension packs from VirtualBox"
},
{
"from": "gpt",
"value": "VBoxManage extpack uninstall extension_pack_name"
}
] |
[
{
"from": "human",
"value": "Uninstall extension packs and skip most uninstallation refusals"
},
{
"from": "gpt",
"value": "VBoxManage extpack uninstall --force extension_pack_name"
}
] |
[
{
"from": "human",
"value": "Clean up temporary files and directories left by extension packs"
},
{
"from": "gpt",
"value": "VBoxManage extpack cleanup"
}
] |
[
{
"from": "human",
"value": "View documentation for `sfdk emulator start`"
},
{
"from": "gpt",
"value": "tldr sfdk emulator start"
}
] |
[
{
"from": "human",
"value": "Print a specific word definition"
},
{
"from": "gpt",
"value": "mate-dictionary --no-window --look-up 'word'"
}
] |
[
{
"from": "human",
"value": "Show similar words for a specific one in a new window"
},
{
"from": "gpt",
"value": "mate-dictionary --match 'word'"
}
] |
[
{
"from": "human",
"value": "[c]reate a backup archive of one or more files or directories, specifying the cryptographic key and the cache directory"
},
{
"from": "gpt",
"value": "tarsnap -c --keyfile path/to/key_file --cachedir path/to/cache_directory -f archive_name path/to/file_or_directory1 ... |
[
{
"from": "human",
"value": "Display how much data would be uploaded"
},
{
"from": "gpt",
"value": "tarsnap -c --dry-run --print-stats --keyfile path/to/key_file --cachedir path/to/cache_directory -f archive_name path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "List stored archives"
},
{
"from": "gpt",
"value": "tarsnap --list-archives --keyfile path/to/key_file"
}
] |
[
{
"from": "human",
"value": "[d]elete a specific archive"
},
{
"from": "gpt",
"value": "tarsnap -d --keyfile path/to/key_file --cachedir path/to/cache_directory -f archive_name"
}
] |
[
{
"from": "human",
"value": "Lis[t] the contents of a specific archive in [v]erbose mode"
},
{
"from": "gpt",
"value": "tarsnap -tv --keyfile path/to/key_file -f archive_name"
}
] |
[
{
"from": "human",
"value": "Restore one or more files or directories from a specific archive"
},
{
"from": "gpt",
"value": "tarsnap -x --keyfile path/to/key_file -f archive_name path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Copy an archive"
},
{
"from": "gpt",
"value": "tarsnap -c --keyfile path/to/key_file -f new_archive_name @@source_archive_name"
}
] |
[
{
"from": "human",
"value": "Stream the largest media file in a torrent"
},
{
"from": "gpt",
"value": "peerflix \"torrent_url|magnet_link\""
}
] |
[
{
"from": "human",
"value": "List all streamable files contained in a torrent (given as a magnet link)"
},
{
"from": "gpt",
"value": "peerflix \"magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567\" --list"
}
] |
[
{
"from": "human",
"value": "Stream the largest file in a torrent, given as a torrent URL, to VLC"
},
{
"from": "gpt",
"value": "peerflix \"http://example.net/music.torrent\" --vlc"
}
] |
[
{
"from": "human",
"value": "Stream the largest file in a torrent to MPlayer, with subtitles"
},
{
"from": "gpt",
"value": "peerflix \"torrent_url|magnet_link\" --mplayer --subtitles subtitle-file.srt"
}
] |
[
{
"from": "human",
"value": "Stream all files from a torrent to Airplay"
},
{
"from": "gpt",
"value": "peerflix \"torrent_url|magnet_link\" --all --airplay"
}
] |
[
{
"from": "human",
"value": "Print a colorful table with the translation progress of a file"
},
{
"from": "gpt",
"value": "pocount path/to/file/file.po"
}
] |
[
{
"from": "human",
"value": "Print translation progress of various files, one line per file"
},
{
"from": "gpt",
"value": "pocount --short translation_*.ts"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.