conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Also add ignored files"
},
{
"from": "gpt",
"value": "git add [-f|--force]"
}
] |
[
{
"from": "human",
"value": "Interactively stage parts of files"
},
{
"from": "gpt",
"value": "git add [-p|--patch]"
}
] |
[
{
"from": "human",
"value": "Interactively stage parts of a given file"
},
{
"from": "gpt",
"value": "git add [-p|--patch] path/to/file"
}
] |
[
{
"from": "human",
"value": "Interactively stage a file"
},
{
"from": "gpt",
"value": "git add [-i|--interactive]"
}
] |
[
{
"from": "human",
"value": "List existing remotes with their names and URLs"
},
{
"from": "gpt",
"value": "git remote [-v|--verbose]"
}
] |
[
{
"from": "human",
"value": "Show information about a remote"
},
{
"from": "gpt",
"value": "git remote show remote_name"
}
] |
[
{
"from": "human",
"value": "Add a remote"
},
{
"from": "gpt",
"value": "git remote add remote_name remote_url"
}
] |
[
{
"from": "human",
"value": "Change the URL of a remote (use `--add` to keep the existing URL)"
},
{
"from": "gpt",
"value": "git remote set-url remote_name new_url"
}
] |
[
{
"from": "human",
"value": "Show the URL of a remote"
},
{
"from": "gpt",
"value": "git remote get-url remote_name"
}
] |
[
{
"from": "human",
"value": "Remove a remote"
},
{
"from": "gpt",
"value": "git remote remove remote_name"
}
] |
[
{
"from": "human",
"value": "Rename a remote"
},
{
"from": "gpt",
"value": "git remote rename old_name new_name"
}
] |
[
{
"from": "human",
"value": "Convert an SVG file to Netpbm format"
},
{
"from": "gpt",
"value": "svgtopam path/to/file.svg > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "Emit textual output describing the input image"
},
{
"from": "gpt",
"value": "svgtopam [-t|-trace] path/to/file.svg"
}
] |
[
{
"from": "human",
"value": "Assemble an IR file"
},
{
"from": "gpt",
"value": "llvm-as -o path/to/out.bc path/to/source.ll"
}
] |
[
{
"from": "human",
"value": "Assemble an IR file and include a module hash in the produced Bitcode file"
},
{
"from": "gpt",
"value": "llvm-as --module-hash -o path/to/out.bc path/to/source.ll"
}
] |
[
{
"from": "human",
"value": "Read an IR file from `stdin` and assemble it"
},
{
"from": "gpt",
"value": "cat path/to/source.ll | llvm-as -o path/to/out.bc"
}
] |
[
{
"from": "human",
"value": "Open a file"
},
{
"from": "gpt",
"value": "more path/to/file"
}
] |
[
{
"from": "human",
"value": "Display a specific line"
},
{
"from": "gpt",
"value": "more +line_number path/to/file"
}
] |
[
{
"from": "human",
"value": "Go to the next page"
},
{
"from": "gpt",
"value": "<Space>"
}
] |
[
{
"from": "human",
"value": "Search for a string (press `<n>` to go to the next match)"
},
{
"from": "gpt",
"value": "</>something<Enter>"
}
] |
[
{
"from": "human",
"value": "Exit"
},
{
"from": "gpt",
"value": "<q>"
}
] |
[
{
"from": "human",
"value": "Display help about interactive commands"
},
{
"from": "gpt",
"value": "<h>"
}
] |
[
{
"from": "human",
"value": "Format an XML document and print to `stdout`"
},
{
"from": "gpt",
"value": "xmlstarlet format path/to/file.xml"
}
] |
[
{
"from": "human",
"value": "XML document can also be piped from `stdin`"
},
{
"from": "gpt",
"value": "cat path/to/file.xml | xmlstarlet format"
}
] |
[
{
"from": "human",
"value": "Print all nodes that match a given XPath"
},
{
"from": "gpt",
"value": "xmlstarlet select --template --copy-of xpath path/to/file.xml"
}
] |
[
{
"from": "human",
"value": "Insert an attribute to all matching nodes, and print to `stdout` (source file is unchanged)"
},
{
"from": "gpt",
"value": "xmlstarlet edit --insert xpath --type attr --name attribute_name --value attribute_value path/to/file.xml"
}
] |
[
{
"from": "human",
"value": "Update the value of all matching nodes in place (source file is changed)"
},
{
"from": "gpt",
"value": "xmlstarlet edit --inplace --update xpath --value new_value file.xml"
}
] |
[
{
"from": "human",
"value": "Delete all matching nodes in place (source file is changed)"
},
{
"from": "gpt",
"value": "xmlstarlet edit --inplace --delete xpath file.xml"
}
] |
[
{
"from": "human",
"value": "Escape or unescape special XML characters in a given string"
},
{
"from": "gpt",
"value": "xmlstarlet [un]escape string"
}
] |
[
{
"from": "human",
"value": "List a given directory as XML (omit argument to list current directory)"
},
{
"from": "gpt",
"value": "xmlstarlet ls path/to/directory"
}
] |
[
{
"from": "human",
"value": "Lookup errno description by name or code"
},
{
"from": "gpt",
"value": "errno name|code"
}
] |
[
{
"from": "human",
"value": "List all errno names, codes, and descriptions"
},
{
"from": "gpt",
"value": "errno --list"
}
] |
[
{
"from": "human",
"value": "Search for code whose description contains all of the given text"
},
{
"from": "gpt",
"value": "errno --search text"
}
] |
[
{
"from": "human",
"value": "Search for code whose description contains all of the given text (all locales)"
},
{
"from": "gpt",
"value": "errno --search-all-locales text"
}
] |
[
{
"from": "human",
"value": "Fetch the F-Droid index"
},
{
"from": "gpt",
"value": "fdroidcl update"
}
] |
[
{
"from": "human",
"value": "Display information about an app"
},
{
"from": "gpt",
"value": "fdroidcl show app_id"
}
] |
[
{
"from": "human",
"value": "Download the APK file of an app"
},
{
"from": "gpt",
"value": "fdroidcl download app_id"
}
] |
[
{
"from": "human",
"value": "Search for an app in the index"
},
{
"from": "gpt",
"value": "fdroidcl search search_pattern"
}
] |
[
{
"from": "human",
"value": "Install an app on a connected device"
},
{
"from": "gpt",
"value": "fdroidcl install app_id"
}
] |
[
{
"from": "human",
"value": "Add a repository"
},
{
"from": "gpt",
"value": "fdroidcl repo add repo_name url"
}
] |
[
{
"from": "human",
"value": "Remove, enable or disable a repository"
},
{
"from": "gpt",
"value": "fdroidcl repo remove|enable|disable repo_name"
}
] |
[
{
"from": "human",
"value": "Test filename encoding conversion (don't actually change the filename)"
},
{
"from": "gpt",
"value": "convmv -f from_encoding -t to_encoding input_file"
}
] |
[
{
"from": "human",
"value": "Convert filename encoding and rename the file to the new encoding"
},
{
"from": "gpt",
"value": "convmv -f from_encoding -t to_encoding --notest input_file"
}
] |
[
{
"from": "human",
"value": "Change the owner group of a file/directory"
},
{
"from": "gpt",
"value": "chgrp group path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Recursively change the owner group of a directory and its contents"
},
{
"from": "gpt",
"value": "chgrp [-R|--recursive] group path/to/directory"
}
] |
[
{
"from": "human",
"value": "Change the owner group of a symbolic link"
},
{
"from": "gpt",
"value": "chgrp [-h|--no-dereference] group path/to/symlink"
}
] |
[
{
"from": "human",
"value": "Change the owner group of a file/directory to match a reference file"
},
{
"from": "gpt",
"value": "chgrp --reference path/to/reference_file path/to/file_or_directory"
}
] |
[
{
"from": "human",
"value": "Install Ghost in the current directory"
},
{
"from": "gpt",
"value": "ghost install"
}
] |
[
{
"from": "human",
"value": "Start an instance of Ghost"
},
{
"from": "gpt",
"value": "ghost start"
}
] |
[
{
"from": "human",
"value": "Restart the Ghost instance"
},
{
"from": "gpt",
"value": "ghost restart"
}
] |
[
{
"from": "human",
"value": "Check the system for any potential hiccups while installing or updating Ghost"
},
{
"from": "gpt",
"value": "ghost doctor"
}
] |
[
{
"from": "human",
"value": "View the logs of a Ghost instance"
},
{
"from": "gpt",
"value": "ghost log name"
}
] |
[
{
"from": "human",
"value": "Run a Ghost instance directly (used by process managers and for debugging)"
},
{
"from": "gpt",
"value": "ghost run"
}
] |
[
{
"from": "human",
"value": "View running Ghost processes"
},
{
"from": "gpt",
"value": "ghost ls"
}
] |
[
{
"from": "human",
"value": "View or edit Ghost configuration"
},
{
"from": "gpt",
"value": "ghost config key value"
}
] |
[
{
"from": "human",
"value": "Show information about the latest commit (hash, message, changes, and other metadata)"
},
{
"from": "gpt",
"value": "git show"
}
] |
[
{
"from": "human",
"value": "Show information about a given commit"
},
{
"from": "gpt",
"value": "git show commit"
}
] |
[
{
"from": "human",
"value": "Show information about the commit associated with a given tag"
},
{
"from": "gpt",
"value": "git show tag"
}
] |
[
{
"from": "human",
"value": "Show information about the 3rd commit from the HEAD of a branch"
},
{
"from": "gpt",
"value": "git show branch~3"
}
] |
[
{
"from": "human",
"value": "Show a commit's message in a single line, suppressing the diff output"
},
{
"from": "gpt",
"value": "git show --oneline -s commit"
}
] |
[
{
"from": "human",
"value": "Show only statistics (added/removed characters) about the changed files"
},
{
"from": "gpt",
"value": "git show --stat commit"
}
] |
[
{
"from": "human",
"value": "Show only the list of added, renamed or deleted files"
},
{
"from": "gpt",
"value": "git show --summary commit"
}
] |
[
{
"from": "human",
"value": "Show the contents of a file as it was at a given revision (e.g. branch, tag or commit)"
},
{
"from": "gpt",
"value": "git show revision:path/to/file"
}
] |
[
{
"from": "human",
"value": "Play a file"
},
{
"from": "gpt",
"value": "vlc path/to/file"
}
] |
[
{
"from": "human",
"value": "Play in fullscreen"
},
{
"from": "gpt",
"value": "vlc --fullscreen path/to/file"
}
] |
[
{
"from": "human",
"value": "Play muted"
},
{
"from": "gpt",
"value": "vlc --no-audio path/to/file"
}
] |
[
{
"from": "human",
"value": "Play repeatedly"
},
{
"from": "gpt",
"value": "vlc --loop path/to/file"
}
] |
[
{
"from": "human",
"value": "Play video from a URL"
},
{
"from": "gpt",
"value": "vlc https://www.youtube.com/watch?v=oHg5SJYRHA0"
}
] |
[
{
"from": "human",
"value": "List available packages"
},
{
"from": "gpt",
"value": "sdkmanager --list"
}
] |
[
{
"from": "human",
"value": "Install a package"
},
{
"from": "gpt",
"value": "sdkmanager package"
}
] |
[
{
"from": "human",
"value": "Update every installed package"
},
{
"from": "gpt",
"value": "sdkmanager --update"
}
] |
[
{
"from": "human",
"value": "Uninstall a package"
},
{
"from": "gpt",
"value": "sdkmanager --uninstall package"
}
] |
[
{
"from": "human",
"value": "Print the value of a Git logical variable"
},
{
"from": "gpt",
"value": "git var GIT_AUTHOR_IDENT|GIT_COMMITTER_IDENT|GIT_EDITOR|GIT_PAGER"
}
] |
[
{
"from": "human",
"value": "[l]ist all Git logical variables"
},
{
"from": "gpt",
"value": "git var -l"
}
] |
[
{
"from": "human",
"value": "Remove a dependency from the current project"
},
{
"from": "gpt",
"value": "cargo remove dependency"
}
] |
[
{
"from": "human",
"value": "Remove a development or build dependency"
},
{
"from": "gpt",
"value": "cargo remove --dev|build dependency"
}
] |
[
{
"from": "human",
"value": "Remove a dependency of the given target platform"
},
{
"from": "gpt",
"value": "cargo remove --target target dependency"
}
] |
[
{
"from": "human",
"value": "Open a PDF on the first page"
},
{
"from": "gpt",
"value": "mupdf path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a PDF on page 3"
},
{
"from": "gpt",
"value": "mupdf path/to/file 3"
}
] |
[
{
"from": "human",
"value": "Open a password secured PDF"
},
{
"from": "gpt",
"value": "mupdf -p password path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a PDF with an initial zoom level, specified as DPI, of 72"
},
{
"from": "gpt",
"value": "mupdf -r 72 path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a PDF with inverted color"
},
{
"from": "gpt",
"value": "mupdf -I path/to/file"
}
] |
[
{
"from": "human",
"value": "Open a PDF tinted red #FF0000 (hexadecimal color syntax RRGGBB)"
},
{
"from": "gpt",
"value": "mupdf -C FF0000"
}
] |
[
{
"from": "human",
"value": "Open a PDF without anti-aliasing (0 = off, 8 = best)"
},
{
"from": "gpt",
"value": "mupdf -A 0"
}
] |
[
{
"from": "human",
"value": "List all processes showing the PID, user, CPU usage, memory usage, and the command which started them"
},
{
"from": "gpt",
"value": "procs"
}
] |
[
{
"from": "human",
"value": "List all processes as a tree"
},
{
"from": "gpt",
"value": "procs --tree"
}
] |
[
{
"from": "human",
"value": "List information about processes, if the commands which started them contain Zsh"
},
{
"from": "gpt",
"value": "procs zsh"
}
] |
[
{
"from": "human",
"value": "List information about all processes sorted by CPU time in [a]scending or [d]escending order"
},
{
"from": "gpt",
"value": "procs --sorta|--sortd cpu"
}
] |
[
{
"from": "human",
"value": "List information about processes with either a PID, command, or user containing `41` or `firefox`"
},
{
"from": "gpt",
"value": "procs --or PID|command|user 41 firefox"
}
] |
[
{
"from": "human",
"value": "List information about processes with both PID `41` and a command or user containing `zsh`"
},
{
"from": "gpt",
"value": "procs --and 41 zsh"
}
] |
[
{
"from": "human",
"value": "Convert a PBM image to a MACP file"
},
{
"from": "gpt",
"value": "pbmtomacp path/to/image.pbm > path/to/output.macp"
}
] |
[
{
"from": "human",
"value": "Do not compress the output file"
},
{
"from": "gpt",
"value": "pbmtomacp [-n|-norle] path/to/image.pbm > path/to/output.macp"
}
] |
[
{
"from": "human",
"value": "Convert a PBM image into a PTX file"
},
{
"from": "gpt",
"value": "pbmtoptx path/to/image.pbm > path/to/output.ptx"
}
] |
[
{
"from": "human",
"value": "Index paths recursively for the very first run"
},
{
"from": "gpt",
"value": "scd -ar path/to/directory"
}
] |
[
{
"from": "human",
"value": "Change to a specific directory"
},
{
"from": "gpt",
"value": "scd path/to/directory"
}
] |
[
{
"from": "human",
"value": "Change to a path matching specific patterns"
},
{
"from": "gpt",
"value": "scd \"pattern1 pattern2 ...\""
}
] |
[
{
"from": "human",
"value": "Show selection menu and ranking of 20 most likely directories"
},
{
"from": "gpt",
"value": "scd -v"
}
] |
[
{
"from": "human",
"value": "Add a specific alias for the current directory"
},
{
"from": "gpt",
"value": "scd --alias=word"
}
] |
[
{
"from": "human",
"value": "Change to a directory using a specific alias"
},
{
"from": "gpt",
"value": "scd word"
}
] |
[
{
"from": "human",
"value": "Record an application"
},
{
"from": "gpt",
"value": "rr record path/to/binary --arg1 --arg2"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.