conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Search using an elvi with specific options and open the results page in the browser"
},
{
"from": "gpt",
"value": "surfraw elvi elvi_options \"search_terms\""
}
] |
[
{
"from": "human",
"value": "Display the URL to the elvi's results page for a specific search"
},
{
"from": "gpt",
"value": "surfraw -print elvi \"search_terms\""
}
] |
[
{
"from": "human",
"value": "Search using the alias"
},
{
"from": "gpt",
"value": "sr elvi \"search_terms\""
}
] |
[
{
"from": "human",
"value": "Convert a JPEG file to AVIF, saving it to `file.avif`"
},
{
"from": "gpt",
"value": "cavif path/to/image.jpg"
}
] |
[
{
"from": "human",
"value": "Adjust the image quality and convert a PNG file to AVIF"
},
{
"from": "gpt",
"value": "cavif --quality 1..100 path/to/image.png"
}
] |
[
{
"from": "human",
"value": "Specify the output location"
},
{
"from": "gpt",
"value": "cavif path/to/image.jpg --output path/to/output.avif"
}
] |
[
{
"from": "human",
"value": "Overwrite the destination file if it already exists"
},
{
"from": "gpt",
"value": "cavif --overwrite path/to/image.jpg"
}
] |
[
{
"from": "human",
"value": "Display all information from YubiKey"
},
{
"from": "gpt",
"value": "ykinfo -a"
}
] |
[
{
"from": "human",
"value": "Get only serial in decimal from YubiKey"
},
{
"from": "gpt",
"value": "ykinfo -s -q"
}
] |
[
{
"from": "human",
"value": "Get capabilities from YubiKey"
},
{
"from": "gpt",
"value": "ykinfo -c"
}
] |
[
{
"from": "human",
"value": "Render an HTML file to PDF"
},
{
"from": "gpt",
"value": "weasyprint path/to/input.html path/to/output.pdf"
}
] |
[
{
"from": "human",
"value": "Render an HTML file to PNG, including an additional user stylesheet"
},
{
"from": "gpt",
"value": "weasyprint path/to/input.html path/to/output.png --stylesheet path/to/stylesheet.css"
}
] |
[
{
"from": "human",
"value": "Output additional debugging information when rendering"
},
{
"from": "gpt",
"value": "weasyprint path/to/input.html path/to/output.pdf --verbose"
}
] |
[
{
"from": "human",
"value": "Specify a custom resolution when outputting to PNG"
},
{
"from": "gpt",
"value": "weasyprint path/to/input.html path/to/output.png --resolution 300"
}
] |
[
{
"from": "human",
"value": "Specify a base URL for relative URLs in the input HTML file"
},
{
"from": "gpt",
"value": "weasyprint path/to/input.html path/to/output.png --base-url url_or_filename"
}
] |
[
{
"from": "human",
"value": "List the contents of the tree on a branch"
},
{
"from": "gpt",
"value": "git ls-tree branch_name"
}
] |
[
{
"from": "human",
"value": "List the contents of the tree on a commit, recursing into subtrees"
},
{
"from": "gpt",
"value": "git ls-tree -r commit_hash"
}
] |
[
{
"from": "human",
"value": "List only the filenames of the tree on a commit"
},
{
"from": "gpt",
"value": "git ls-tree --name-only commit_hash"
}
] |
[
{
"from": "human",
"value": "Print the filenames of the current branch head in a tree structure (Note: `tree --fromfile` is not supported on Windows)"
},
{
"from": "gpt",
"value": "git ls-tree -r --name-only HEAD | tree --fromfile"
}
] |
[
{
"from": "human",
"value": "View images locally or using a URL"
},
{
"from": "gpt",
"value": "feh path/to/images"
}
] |
[
{
"from": "human",
"value": "View images recursively"
},
{
"from": "gpt",
"value": "feh --recursive path/to/images"
}
] |
[
{
"from": "human",
"value": "View images without window borders"
},
{
"from": "gpt",
"value": "feh --borderless path/to/images"
}
] |
[
{
"from": "human",
"value": "Exit after the last image"
},
{
"from": "gpt",
"value": "feh --cycle-once path/to/images"
}
] |
[
{
"from": "human",
"value": "Use a specific slideshow cycle delay"
},
{
"from": "gpt",
"value": "feh --slideshow-delay seconds path/to/images"
}
] |
[
{
"from": "human",
"value": "Use a specific wallpaper mode (centered, filled, maximized, scaled or tiled)"
},
{
"from": "gpt",
"value": "feh --bg-center|fill|max|scale|tile path/to/image"
}
] |
[
{
"from": "human",
"value": "Create a montage of all images within a directory, outputting as a new image"
},
{
"from": "gpt",
"value": "feh --montage --thumb-height 150 --thumb-width 150 --index-info \"%nn%wx%h\" --output path/to/montage_image.png"
}
] |
[
{
"from": "human",
"value": "View documentation for `Get-NodeInstallLocation`, a tool to get the current Node.js install location"
},
{
"from": "gpt",
"value": "tldr get-nodeinstalllocation"
}
] |
[
{
"from": "human",
"value": "View documentation for `Get-NodeVersions`, a tool to list all available and currently-installed Node.js versions"
},
{
"from": "gpt",
"value": "tldr get-nodeversions"
}
] |
[
{
"from": "human",
"value": "View documentation for `Install-NodeVersion`, a tool to install Node.js runtime versions"
},
{
"from": "gpt",
"value": "tldr install-nodeversion"
}
] |
[
{
"from": "human",
"value": "View documentation for `Remove-NodeVersion`, a tool to uninstall an existing Node.js version"
},
{
"from": "gpt",
"value": "tldr remove-nodeversion"
}
] |
[
{
"from": "human",
"value": "View documentation for `Set-NodeInstallLocation`, a tool to set the Node.js install location"
},
{
"from": "gpt",
"value": "tldr set-nodeinstalllocation"
}
] |
[
{
"from": "human",
"value": "View documentation for `Set-NodeVersion`, a tool to set the default version of Node.js"
},
{
"from": "gpt",
"value": "tldr set-nodeversion"
}
] |
[
{
"from": "human",
"value": "Search for an exact string in a file"
},
{
"from": "gpt",
"value": "fgrep search_string path/to/file"
}
] |
[
{
"from": "human",
"value": "Search only lines that match entirely in one or more files"
},
{
"from": "gpt",
"value": "fgrep [-x|--line-regexp] search_string path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Count the number of lines that match the given string in a file"
},
{
"from": "gpt",
"value": "fgrep [-c|--count] search_string path/to/file"
}
] |
[
{
"from": "human",
"value": "Show the line number in the file along with the line matched"
},
{
"from": "gpt",
"value": "fgrep [-n|--line-number] search_string path/to/file"
}
] |
[
{
"from": "human",
"value": "Display all lines except those that contain the search string"
},
{
"from": "gpt",
"value": "fgrep [-v|--invert-match] search_string path/to/file"
}
] |
[
{
"from": "human",
"value": "Display filenames whose content matches the search string at least once"
},
{
"from": "gpt",
"value": "fgrep [-l|--files-with-matches] search_string path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "List running batch jobs"
},
{
"from": "gpt",
"value": "aws batch list-jobs --job-queue queue_name"
}
] |
[
{
"from": "human",
"value": "Create compute environment"
},
{
"from": "gpt",
"value": "aws batch create-compute-environment --compute-environment-name compute_environment_name --type type"
}
] |
[
{
"from": "human",
"value": "Create batch job queue"
},
{
"from": "gpt",
"value": "aws batch create-job-queue --job-queue-name queue_name --priority priority --compute-environment-order compute_environment"
}
] |
[
{
"from": "human",
"value": "Submit job"
},
{
"from": "gpt",
"value": "aws batch submit-job --job-name job_name --job-queue job_queue --job-definition job_definition"
}
] |
[
{
"from": "human",
"value": "Describe the list of batch jobs"
},
{
"from": "gpt",
"value": "aws batch describe-jobs --jobs jobs"
}
] |
[
{
"from": "human",
"value": "Cancel job"
},
{
"from": "gpt",
"value": "aws batch cancel-job --job-id job_id --reason reason"
}
] |
[
{
"from": "human",
"value": "Display amount of program memory available"
},
{
"from": "gpt",
"value": "st-info --flash"
}
] |
[
{
"from": "human",
"value": "Display amount of SRAM memory available"
},
{
"from": "gpt",
"value": "st-info --sram"
}
] |
[
{
"from": "human",
"value": "Display summarized information of the device"
},
{
"from": "gpt",
"value": "st-info --probe"
}
] |
[
{
"from": "human",
"value": "List all JVM processes"
},
{
"from": "gpt",
"value": "jps"
}
] |
[
{
"from": "human",
"value": "List all JVM processes with only PID"
},
{
"from": "gpt",
"value": "jps -q"
}
] |
[
{
"from": "human",
"value": "Display the arguments passed to the processes"
},
{
"from": "gpt",
"value": "jps -m"
}
] |
[
{
"from": "human",
"value": "Display the full package name of all processes"
},
{
"from": "gpt",
"value": "jps -l"
}
] |
[
{
"from": "human",
"value": "Display the arguments passed to the JVM"
},
{
"from": "gpt",
"value": "jps -v"
}
] |
[
{
"from": "human",
"value": "Authenticate with and save concourse target"
},
{
"from": "gpt",
"value": "fly --target target_name login --team-name team_name -c https://ci.example.com"
}
] |
[
{
"from": "human",
"value": "List targets"
},
{
"from": "gpt",
"value": "fly targets"
}
] |
[
{
"from": "human",
"value": "List pipelines"
},
{
"from": "gpt",
"value": "fly -t target_name pipelines"
}
] |
[
{
"from": "human",
"value": "Upload or update a pipeline"
},
{
"from": "gpt",
"value": "fly -t target_name set-pipeline --config pipeline.yml --pipeline pipeline_name"
}
] |
[
{
"from": "human",
"value": "Unpause pipeline"
},
{
"from": "gpt",
"value": "fly -t target_name unpause-pipeline --pipeline pipeline_name"
}
] |
[
{
"from": "human",
"value": "Show pipeline configuration"
},
{
"from": "gpt",
"value": "fly -t target_name get-pipeline --pipeline pipeline_name"
}
] |
[
{
"from": "human",
"value": "Update local copy of fly"
},
{
"from": "gpt",
"value": "fly -t target_name sync"
}
] |
[
{
"from": "human",
"value": "Destroy pipeline"
},
{
"from": "gpt",
"value": "fly -t target_name destroy-pipeline --pipeline pipeline_name"
}
] |
[
{
"from": "human",
"value": "Start quote mode with the builtin quote list in English"
},
{
"from": "gpt",
"value": "tt -quotes en"
}
] |
[
{
"from": "human",
"value": "Produce a test consisting of 50 randomly drawn words in 5 groups of 10 words each"
},
{
"from": "gpt",
"value": "tt -n 10 -g 5"
}
] |
[
{
"from": "human",
"value": "Start a timed test lasting 10 seconds"
},
{
"from": "gpt",
"value": "tt -t 10"
}
] |
[
{
"from": "human",
"value": "Start `tt` with no theming and showing your WPM as you type"
},
{
"from": "gpt",
"value": "tt -showwpm -notheme"
}
] |
[
{
"from": "human",
"value": "Print all branches which are not merged into the current HEAD"
},
{
"from": "gpt",
"value": "git show-unmerged-branches"
}
] |
[
{
"from": "human",
"value": "Pass options to `rustdoc`"
},
{
"from": "gpt",
"value": "cargo rustdoc -- rustdoc_options"
}
] |
[
{
"from": "human",
"value": "Warn about a documentation lint"
},
{
"from": "gpt",
"value": "cargo rustdoc -- --warn rustdoc::lint_name"
}
] |
[
{
"from": "human",
"value": "Ignore a documentation lint"
},
{
"from": "gpt",
"value": "cargo rustdoc -- --allow rustdoc::lint_name"
}
] |
[
{
"from": "human",
"value": "Document the package's library"
},
{
"from": "gpt",
"value": "cargo rustdoc --lib"
}
] |
[
{
"from": "human",
"value": "Document the specified binary"
},
{
"from": "gpt",
"value": "cargo rustdoc --bin name"
}
] |
[
{
"from": "human",
"value": "Document the specified example"
},
{
"from": "gpt",
"value": "cargo rustdoc --example name"
}
] |
[
{
"from": "human",
"value": "Document the specified integration test"
},
{
"from": "gpt",
"value": "cargo rustdoc --test name"
}
] |
[
{
"from": "human",
"value": "Update the vulnerability database"
},
{
"from": "gpt",
"value": "wpscan --update"
}
] |
[
{
"from": "human",
"value": "Scan a WordPress website"
},
{
"from": "gpt",
"value": "wpscan --url url"
}
] |
[
{
"from": "human",
"value": "Scan a WordPress website, using random user agents and passive detection"
},
{
"from": "gpt",
"value": "wpscan --url url --stealthy"
}
] |
[
{
"from": "human",
"value": "Scan a WordPress website, checking for vulnerable plugins and specifying the path to the `wp-content` directory"
},
{
"from": "gpt",
"value": "wpscan --url url --enumerate vp --wp-content-dir remote/path/to/wp-content"
}
] |
[
{
"from": "human",
"value": "Scan a WordPress website through a proxy"
},
{
"from": "gpt",
"value": "wpscan --url url --proxy protocol://ip:port --proxy-auth username:password"
}
] |
[
{
"from": "human",
"value": "Perform user identifiers enumeration on a WordPress website"
},
{
"from": "gpt",
"value": "wpscan --url url --enumerate u"
}
] |
[
{
"from": "human",
"value": "Execute a password guessing attack on a WordPress website"
},
{
"from": "gpt",
"value": "wpscan --url url --usernames username|path/to/usernames.txt --passwords path/to/passwords.txt threads 20"
}
] |
[
{
"from": "human",
"value": "Scan a WordPress website, collecting vulnerability data from the WPVulnDB (<https://wpvulndb.com/>)"
},
{
"from": "gpt",
"value": "wpscan --url url --api-token token"
}
] |
[
{
"from": "human",
"value": "Start a runit service as the current user"
},
{
"from": "gpt",
"value": "runsv path/to/service"
}
] |
[
{
"from": "human",
"value": "Start a runit service as root"
},
{
"from": "gpt",
"value": "sudo runsv path/to/service"
}
] |
[
{
"from": "human",
"value": "Analyze the current working directory"
},
{
"from": "gpt",
"value": "ncdu"
}
] |
[
{
"from": "human",
"value": "Colorize output"
},
{
"from": "gpt",
"value": "ncdu --color dark|off"
}
] |
[
{
"from": "human",
"value": "Analyze a given directory"
},
{
"from": "gpt",
"value": "ncdu path/to/directory"
}
] |
[
{
"from": "human",
"value": "Save results to a file"
},
{
"from": "gpt",
"value": "ncdu -o path/to/file"
}
] |
[
{
"from": "human",
"value": "Exclude files that match a pattern, argument can be given multiple times to add more patterns"
},
{
"from": "gpt",
"value": "ncdu --exclude '*.txt'"
}
] |
[
{
"from": "human",
"value": "Select full path and size from temporary or configuration files in a given directory"
},
{
"from": "gpt",
"value": "fselect size, path from path/to/directory where name = '*.cfg' or name = '*.tmp'"
}
] |
[
{
"from": "human",
"value": "Find square images"
},
{
"from": "gpt",
"value": "fselect path from path/to/directory where width = height"
}
] |
[
{
"from": "human",
"value": "Find old-school rap 320kbps MP3 files"
},
{
"from": "gpt",
"value": "fselect path from path/to/directory where genre = Rap and bitrate = 320 and mp3_year lt 2000"
}
] |
[
{
"from": "human",
"value": "Select only the first 5 results and output as JSON"
},
{
"from": "gpt",
"value": "fselect size, path from path/to/directory limit 5 into json"
}
] |
[
{
"from": "human",
"value": "Use SQL aggregate functions to calculate minimum, maximum and average size of files in a directory"
},
{
"from": "gpt",
"value": "fselect \"MIN(size), MAX(size), AVG(size), SUM(size), COUNT(*) from path/to/directory\""
}
] |
[
{
"from": "human",
"value": "Create a hard link from a new file to an existing file"
},
{
"from": "gpt",
"value": "link path/to/existing_file path/to/new_file"
}
] |
[
{
"from": "human",
"value": "Print lines of code in the current directory"
},
{
"from": "gpt",
"value": "loc"
}
] |
[
{
"from": "human",
"value": "Print lines of code in the target directory"
},
{
"from": "gpt",
"value": "loc path/to/directory"
}
] |
[
{
"from": "human",
"value": "Print lines of code with stats for individual files"
},
{
"from": "gpt",
"value": "loc --files"
}
] |
[
{
"from": "human",
"value": "Print lines of code without .gitignore (etc.) files (e.g. two -u flags will additionally count hidden files and dirs)"
},
{
"from": "gpt",
"value": "loc -u"
}
] |
[
{
"from": "human",
"value": "Query your system's default name server for an IP address (A record) of the domain"
},
{
"from": "gpt",
"value": "nslookup example.com"
}
] |
[
{
"from": "human",
"value": "Query a given name server for a NS record of the domain"
},
{
"from": "gpt",
"value": "nslookup -type=NS example.com 8.8.8.8"
}
] |
[
{
"from": "human",
"value": "Query for a reverse lookup (PTR record) of an IP address"
},
{
"from": "gpt",
"value": "nslookup -type=PTR 54.240.162.118"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.