conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Display information about a Matroska file"
},
{
"from": "gpt",
"value": "mkvmerge --identify path/to/file.mkv"
}
] |
[
{
"from": "human",
"value": "Extract the audio from track 1 of a specific file"
},
{
"from": "gpt",
"value": "mkvextract tracks path/to/file.mkv 1:path/to/output.webm"
}
] |
[
{
"from": "human",
"value": "Extract the subtitle from track 3 of a specific file"
},
{
"from": "gpt",
"value": "mkvextract tracks path/to/file.mkv 3:path/to/subs.srt"
}
] |
[
{
"from": "human",
"value": "Add a subtitle track to a file"
},
{
"from": "gpt",
"value": "mkvmerge --output path/to/output.mkv path/to/file.mkv path/to/subs.srt"
}
] |
[
{
"from": "human",
"value": "Execute a Mercurial command"
},
{
"from": "gpt",
"value": "hg command"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "hg help"
}
] |
[
{
"from": "human",
"value": "Display help for a specific command"
},
{
"from": "gpt",
"value": "hg help command"
}
] |
[
{
"from": "human",
"value": "Check the Mercurial version"
},
{
"from": "gpt",
"value": "hg --version"
}
] |
[
{
"from": "human",
"value": "Grep a pattern in a compressed file (case-sensitive)"
},
{
"from": "gpt",
"value": "zgrep pattern path/to/compressed/file"
}
] |
[
{
"from": "human",
"value": "Grep a pattern in a compressed file (case-insensitive)"
},
{
"from": "gpt",
"value": "zgrep -i pattern path/to/compressed/file"
}
] |
[
{
"from": "human",
"value": "Output count of lines containing matched pattern in a compressed file"
},
{
"from": "gpt",
"value": "zgrep -c pattern path/to/compressed/file"
}
] |
[
{
"from": "human",
"value": "Display the lines which don’t have the pattern present (Invert the search function)"
},
{
"from": "gpt",
"value": "zgrep -v pattern path/to/compressed/file"
}
] |
[
{
"from": "human",
"value": "Grep a compressed file for multiple patterns"
},
{
"from": "gpt",
"value": "zgrep -e \"pattern_1\" -e \"pattern_2\" path/to/compressed/file"
}
] |
[
{
"from": "human",
"value": "Use extended regular expressions (supporting `?`, `+`, `{}`, `()` and `|`)"
},
{
"from": "gpt",
"value": "zgrep -E regular_expression path/to/file"
}
] |
[
{
"from": "human",
"value": "Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match"
},
{
"from": "gpt",
"value": "zgrep -C|B|A 3 pattern path/to/compressed/file"
}
] |
[
{
"from": "human",
"value": "Dump database into an SQL-script file"
},
{
"from": "gpt",
"value": "pg_dump db_name > output_file.sql"
}
] |
[
{
"from": "human",
"value": "Same as above, customize username"
},
{
"from": "gpt",
"value": "pg_dump -U username db_name > output_file.sql"
}
] |
[
{
"from": "human",
"value": "Same as above, customize host and port"
},
{
"from": "gpt",
"value": "pg_dump -h host -p port db_name > output_file.sql"
}
] |
[
{
"from": "human",
"value": "Dump a database into a custom-format archive file"
},
{
"from": "gpt",
"value": "pg_dump -Fc db_name > output_file.dump"
}
] |
[
{
"from": "human",
"value": "Dump only database data into an SQL-script file"
},
{
"from": "gpt",
"value": "pg_dump -a db_name > path/to/output_file.sql"
}
] |
[
{
"from": "human",
"value": "Dump only schema (data definitions) into an SQL-script file"
},
{
"from": "gpt",
"value": "pg_dump -s db_name > path/to/output_file.sql"
}
] |
[
{
"from": "human",
"value": "Calculate the parent directory of a given path"
},
{
"from": "gpt",
"value": "dirname path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Calculate the parent directory of multiple paths"
},
{
"from": "gpt",
"value": "dirname path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Delimit output with a NUL character instead of a newline (useful when combining with `xargs`)"
},
{
"from": "gpt",
"value": "dirname [-z|--zero] path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Add files/directories to a specific archive"
},
{
"from": "gpt",
"value": "zip [-r|--recurse-paths] path/to/compressed.zip path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Remove files/directories from a specific archive"
},
{
"from": "gpt",
"value": "zip [-d|--delete] path/to/compressed.zip path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Archive files/directories excluding specified ones"
},
{
"from": "gpt",
"value": "zip [-r|--recurse-paths] path/to/compressed.zip path/to/file_or_directory1 path/to/file_or_directory2 ... -x|--exclude path/to/excluded_files_or_directories"
}
] |
[
{
"from": "human",
"value": "Archive files/directories with a specific compression level (`0` - the lowest, `9` - the highest)"
},
{
"from": "gpt",
"value": "zip [-r|--recurse-paths] -0..9 path/to/compressed.zip path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Create an encrypted archive with a specific password"
},
{
"from": "gpt",
"value": "zip [-r|--recurse-paths] [-e|--encrypt] path/to/compressed.zip path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Archive files/directories to a multi-part split Zip archive (e.g. 3 GB parts)"
},
{
"from": "gpt",
"value": "zip [-r|--recurse-paths] [-s|--split-size] 3g path/to/compressed.zip path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Print a specific archive contents"
},
{
"from": "gpt",
"value": "zip [-sf|--split-size --freshen] path/to/compressed.zip"
}
] |
[
{
"from": "human",
"value": "Generate qmltypes files"
},
{
"from": "gpt",
"value": "sfdk qmltypes"
}
] |
[
{
"from": "human",
"value": "Generate qmltypes files without deploying them (usually to emulator)"
},
{
"from": "gpt",
"value": "sfdk qmltypes --no-deploy"
}
] |
[
{
"from": "human",
"value": "Generate qmltypes files without restoring the emulator after deployment"
},
{
"from": "gpt",
"value": "sfdk qmltypes --no-restore-emulator"
}
] |
[
{
"from": "human",
"value": "Generate qmltypes files and restore the emulator after deployment even on failure"
},
{
"from": "gpt",
"value": "sfdk qmltypes --restore-emulator"
}
] |
[
{
"from": "human",
"value": "Generate qmltypes files without reverting changes which only include removal of statements with `sdk-make-qmltypes:keep` in comments"
},
{
"from": "gpt",
"value": "sfdk qmltypes --no-keep"
}
] |
[
{
"from": "human",
"value": "Initialize (or re-encrypt) the storage using one or more GPG IDs"
},
{
"from": "gpt",
"value": "pass init gpg_id_1 gpg_id_2"
}
] |
[
{
"from": "human",
"value": "Save a new password and additional information (press `<Ctrl d>` on a new line to complete)"
},
{
"from": "gpt",
"value": "pass insert --multiline path/to/data"
}
] |
[
{
"from": "human",
"value": "Edit an entry"
},
{
"from": "gpt",
"value": "pass edit path/to/data"
}
] |
[
{
"from": "human",
"value": "Copy a password (first line of the data file) to the clipboard"
},
{
"from": "gpt",
"value": "pass -c path/to/data"
}
] |
[
{
"from": "human",
"value": "List the whole store tree"
},
{
"from": "gpt",
"value": "pass"
}
] |
[
{
"from": "human",
"value": "Generate a new random password with a given length, and copy it to the clipboard"
},
{
"from": "gpt",
"value": "pass generate -c path/to/data num"
}
] |
[
{
"from": "human",
"value": "Initialize a new Git repository (any changes done by pass will be committed automatically)"
},
{
"from": "gpt",
"value": "pass git init"
}
] |
[
{
"from": "human",
"value": "Run a Git command on behalf of the password storage"
},
{
"from": "gpt",
"value": "pass git command"
}
] |
[
{
"from": "human",
"value": "Synchronize once, without enabling autorefresh"
},
{
"from": "gpt",
"value": "offlineimap -o"
}
] |
[
{
"from": "human",
"value": "Synchronize a specific account"
},
{
"from": "gpt",
"value": "offlineimap -a account"
}
] |
[
{
"from": "human",
"value": "Synchronize a specific folder"
},
{
"from": "gpt",
"value": "offlineimap -f folder"
}
] |
[
{
"from": "human",
"value": "Initialise `gt` for the repository in the current directory"
},
{
"from": "gpt",
"value": "gt init"
}
] |
[
{
"from": "human",
"value": "Create a new branch stacked on top of the current branch and commit staged changes"
},
{
"from": "gpt",
"value": "gt create branch_name"
}
] |
[
{
"from": "human",
"value": "Create a new commit and fix upstack branches"
},
{
"from": "gpt",
"value": "gt modify -cam commit_message"
}
] |
[
{
"from": "human",
"value": "Force push all branches in the current stack to GitHub and create or update PRs"
},
{
"from": "gpt",
"value": "gt stack submit"
}
] |
[
{
"from": "human",
"value": "Checkout different branch (prompts interactive mode when branch name is omitted)"
},
{
"from": "gpt",
"value": "gt co branch_name"
}
] |
[
{
"from": "human",
"value": "Sync stack with remote version (also deletes merged branches)"
},
{
"from": "gpt",
"value": "gt sync"
}
] |
[
{
"from": "human",
"value": "Log all tracked stacks"
},
{
"from": "gpt",
"value": "gt log short"
}
] |
[
{
"from": "human",
"value": "Display help for a specified subcommand"
},
{
"from": "gpt",
"value": "gt subcommand --help"
}
] |
[
{
"from": "human",
"value": "List gadgets in the binary file"
},
{
"from": "gpt",
"value": "ropper --file path/to/binary"
}
] |
[
{
"from": "human",
"value": "Filter gadgets in the binary file by a regular expression"
},
{
"from": "gpt",
"value": "ropper --file path/to/binary --search regex"
}
] |
[
{
"from": "human",
"value": "List gadgets of specified type in the binary file"
},
{
"from": "gpt",
"value": "ropper --file path/to/binary --type rop|job|sys|all"
}
] |
[
{
"from": "human",
"value": "Exclude bad byte gadgets in the binary file"
},
{
"from": "gpt",
"value": "ropper --file path/to/binary --badbytes byte_string"
}
] |
[
{
"from": "human",
"value": "List gadgets up to the specified instruction count in the binary file"
},
{
"from": "gpt",
"value": "ropper --file path/to/binary --inst-count count"
}
] |
[
{
"from": "human",
"value": "Copy an image from source to target"
},
{
"from": "gpt",
"value": "crane copy source target"
}
] |
[
{
"from": "human",
"value": "Copy all tags"
},
{
"from": "gpt",
"value": "crane copy source target [-a|--all-tags]"
}
] |
[
{
"from": "human",
"value": "Set the maximum number of concurrent copies, defaults to GOMAXPROCS"
},
{
"from": "gpt",
"value": "crane copy source target [-j|--jobs] int"
}
] |
[
{
"from": "human",
"value": "Avoid overwriting existing tags in target"
},
{
"from": "gpt",
"value": "crane copy source target [-n|--no-clobber]"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "crane copy [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "swift repl"
}
] |
[
{
"from": "human",
"value": "Execute a program"
},
{
"from": "gpt",
"value": "swift file.swift"
}
] |
[
{
"from": "human",
"value": "Start a new project with the package manager"
},
{
"from": "gpt",
"value": "swift package init"
}
] |
[
{
"from": "human",
"value": "Generate an Xcode project file"
},
{
"from": "gpt",
"value": "swift package generate-xcodeproj"
}
] |
[
{
"from": "human",
"value": "Update dependencies"
},
{
"from": "gpt",
"value": "swift package update"
}
] |
[
{
"from": "human",
"value": "Compile project for release"
},
{
"from": "gpt",
"value": "swift build -c release"
}
] |
[
{
"from": "human",
"value": "Uninstall a package"
},
{
"from": "gpt",
"value": "pip uninstall package"
}
] |
[
{
"from": "human",
"value": "Uninstall packages listed in a specific file"
},
{
"from": "gpt",
"value": "pip uninstall --requirement path/to/requirements.txt"
}
] |
[
{
"from": "human",
"value": "Uninstall package without asking for confirmation"
},
{
"from": "gpt",
"value": "pip uninstall --yes package"
}
] |
[
{
"from": "human",
"value": "Fix code even if it already has compiler errors"
},
{
"from": "gpt",
"value": "cargo fix --broken-code"
}
] |
[
{
"from": "human",
"value": "Fix code even if the working directory has changes"
},
{
"from": "gpt",
"value": "cargo fix --allow-dirty"
}
] |
[
{
"from": "human",
"value": "Migrate a package to the next Rust edition"
},
{
"from": "gpt",
"value": "cargo fix --edition"
}
] |
[
{
"from": "human",
"value": "Fix the package’s library"
},
{
"from": "gpt",
"value": "cargo fix --lib"
}
] |
[
{
"from": "human",
"value": "Fix the specified integration test"
},
{
"from": "gpt",
"value": "cargo fix --test name"
}
] |
[
{
"from": "human",
"value": "Fix all members in the workspace"
},
{
"from": "gpt",
"value": "cargo fix --workspace"
}
] |
[
{
"from": "human",
"value": "Get all secrets"
},
{
"from": "gpt",
"value": "doppler secrets"
}
] |
[
{
"from": "human",
"value": "Get value(s) of one or more secrets"
},
{
"from": "gpt",
"value": "doppler secrets get secrets"
}
] |
[
{
"from": "human",
"value": "Upload a secrets file"
},
{
"from": "gpt",
"value": "doppler secrets upload path/to/file.env"
}
] |
[
{
"from": "human",
"value": "Delete value(s) of one or more secrets"
},
{
"from": "gpt",
"value": "doppler secrets delete secrets"
}
] |
[
{
"from": "human",
"value": "Download secrets as `.env`"
},
{
"from": "gpt",
"value": "doppler secrets download --format=env --no-file > path/to/.env"
}
] |
[
{
"from": "human",
"value": "Show file information"
},
{
"from": "gpt",
"value": "osmium fileinfo path/to/input.osm"
}
] |
[
{
"from": "human",
"value": "Display contents"
},
{
"from": "gpt",
"value": "osmium show path/to/input.osm"
}
] |
[
{
"from": "human",
"value": "Convert file format from PBF into XML"
},
{
"from": "gpt",
"value": "osmium cat path/to/input.osm.pbf [-o|--output] path/to/output.osm"
}
] |
[
{
"from": "human",
"value": "Extract a geographic region by the given [b]ounding box"
},
{
"from": "gpt",
"value": "osmium extract [-b|--bbox] min_longitude,min_latitude,max_longitude,max_latitude path/to/input.pbf [-o|--output] path/to/output.pbf"
}
] |
[
{
"from": "human",
"value": "Extract a geographic region by a GeoJSON file"
},
{
"from": "gpt",
"value": "osmium extract [-p|--polygon] path/to/polygon.geojson path/to/input.pbf [-o|--output] path/to/output.pbf"
}
] |
[
{
"from": "human",
"value": "Filter all objects tagged as \"restaurant\""
},
{
"from": "gpt",
"value": "osmium tags-filter path/to/input.pbf amenity=restaurant [-o|--output] path/to/output.pbf"
}
] |
[
{
"from": "human",
"value": "Filter for \"way\" objects tagged as \"highway\""
},
{
"from": "gpt",
"value": "osmium tags-filter path/to/input.pbf w/highway [-o|--output] path/to/output.pbf"
}
] |
[
{
"from": "human",
"value": "Filter \"way\" and \"relation\" objects tagged as \"building\""
},
{
"from": "gpt",
"value": "osmium tags-filter path/to/input.pbf wr/building [-o|--output] path/to/output.pbf"
}
] |
[
{
"from": "human",
"value": "Directly run your command"
},
{
"from": "gpt",
"value": "ntfyme exec [-c|--cmd] command"
}
] |
[
{
"from": "human",
"value": "Pipe your command and run"
},
{
"from": "gpt",
"value": "echo command | ntfyme exec"
}
] |
[
{
"from": "human",
"value": "Run multiple commands by enclosing them in quotes"
},
{
"from": "gpt",
"value": "echo \"command1; command2; command3\" | ntfyme exec"
}
] |
[
{
"from": "human",
"value": "Track and terminate the process after prolonged suspension"
},
{
"from": "gpt",
"value": "ntfyme exec [-t|--track-process] [-c|--cmd] command"
}
] |
[
{
"from": "human",
"value": "Setup the tool configurations interactively"
},
{
"from": "gpt",
"value": "ntfyme setup"
}
] |
[
{
"from": "human",
"value": "Encrypt your password"
},
{
"from": "gpt",
"value": "ntfyme enc"
}
] |
[
{
"from": "human",
"value": "See the log history"
},
{
"from": "gpt",
"value": "ntfyme log"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.