conversations
listlengths
2
2
[ { "from": "human", "value": "Query for ANY available records using TCP protocol" }, { "from": "gpt", "value": "nslookup -vc -type=ANY example.com" } ]
[ { "from": "human", "value": "Query a given name server for the whole zone file (zone transfer) of the domain using TCP protocol" }, { "from": "gpt", "value": "nslookup -vc -type=AXFR example.com name_server" } ]
[ { "from": "human", "value": "Query for a mail server (MX record) of the domain, showing details of the transaction" }, { "from": "gpt", "value": "nslookup -type=MX -debug example.com" } ]
[ { "from": "human", "value": "Query a given name server on a specific port number for a TXT record of the domain" }, { "from": "gpt", "value": "nslookup -port=port_number -type=TXT example.com name_server" } ]
[ { "from": "human", "value": "Compress a PNG file (overwrites the file by default)" }, { "from": "gpt", "value": "oxipng path/to/file.png" } ]
[ { "from": "human", "value": "Compress a PNG file and save the output to a new file" }, { "from": "gpt", "value": "oxipng --out path/to/output.png path/to/file.png" } ]
[ { "from": "human", "value": "Compress all PNG files in the current directory using multiple threads" }, { "from": "gpt", "value": "oxipng \"*.png\"" } ]
[ { "from": "human", "value": "Compress a file with a set optimization level (default is 2)" }, { "from": "gpt", "value": "oxipng --opt 0|1|2|3|4|5|6|max path/to/file.png" } ]
[ { "from": "human", "value": "Set the PNG interlacing type (`0` removes interlacing, `1` applies Adam7 interlacing, `keep` preserves existing interlacing; default is `0`)" }, { "from": "gpt", "value": "oxipng --interlace 0|1|keep path/to/file.png" } ]
[ { "from": "human", "value": "Perform additional optimization on images with an alpha channel" }, { "from": "gpt", "value": "oxipng --alpha path/to/file.png" } ]
[ { "from": "human", "value": "Use the much slower but stronger Zopfli compressor with max optimization" }, { "from": "gpt", "value": "oxipng --zopfli --opt max path/to/file.png" } ]
[ { "from": "human", "value": "Strip all non-critical metadata chunks" }, { "from": "gpt", "value": "oxipng --strip all path/to/file.png" } ]
[ { "from": "human", "value": "Render an image or animated GIF" }, { "from": "gpt", "value": "viu path/to/file" } ]
[ { "from": "human", "value": "Render an image or GIF from the internet using `curl`" }, { "from": "gpt", "value": "curl -s https://example.com/image.png | viu -" } ]
[ { "from": "human", "value": "Render an image with a transparent background" }, { "from": "gpt", "value": "viu -t path/to/file" } ]
[ { "from": "human", "value": "Render an image with a specific width and height in pixels" }, { "from": "gpt", "value": "viu -w width -h height path/to/file" } ]
[ { "from": "human", "value": "Render an image or GIF and display its file name" }, { "from": "gpt", "value": "viu -n path/to/file" } ]
[ { "from": "human", "value": "Launch a Git daemon with a whitelisted set of directories" }, { "from": "gpt", "value": "git daemon --export-all path/to/directory1 path/to/directory2" } ]
[ { "from": "human", "value": "Launch a Git daemon with a specific base directory and allow pulling from all sub-directories that look like Git repositories" }, { "from": "gpt", "value": "git daemon --base-path=path/to/directory --export-all --reuseaddr" } ]
[ { "from": "human", "value": "Launch a Git daemon for the specified directory, verbosely printing log messages and allowing Git clients to write to it" }, { "from": "gpt", "value": "git daemon path/to/directory --enable=receive-pack --informative-errors --verbose" } ]
[ { "from": "human", "value": "Display the current configuration values" }, { "from": "gpt", "value": "cupsctl" } ]
[ { "from": "human", "value": "Display the configuration values of a specific server" }, { "from": "gpt", "value": "cupsctl -h server[:port]" } ]
[ { "from": "human", "value": "Enable encryption on the connection to the scheduler" }, { "from": "gpt", "value": "cupsctl -E" } ]
[ { "from": "human", "value": "Enable or disable debug logging to the `error_log` file" }, { "from": "gpt", "value": "cupsctl --debug-logging|--no-debug-logging" } ]
[ { "from": "human", "value": "Enable or disable remote administration" }, { "from": "gpt", "value": "cupsctl --remote-admin|--no-remote-admin" } ]
[ { "from": "human", "value": "Parse the current debug logging state" }, { "from": "gpt", "value": "cupsctl | grep '^_debug_logging' | awk -F= '{print $2}'" } ]
[ { "from": "human", "value": "Display the registered devices" }, { "from": "gpt", "value": "sfdk device list" } ]
[ { "from": "human", "value": "Execute a command on a device by name or index" }, { "from": "gpt", "value": "sfdk device exec device-name-or-idx command" } ]
[ { "from": "human", "value": "Run an interactive shell on a device by name or index" }, { "from": "gpt", "value": "sfdk device exec device-name-or-idx" } ]
[ { "from": "human", "value": "Create a new Gist from one or more files" }, { "from": "gpt", "value": "gh gist create path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Create a new Gist with a specific [desc]ription" }, { "from": "gpt", "value": "gh gist create path/to/file1 path/to/file2 ... --desc \"description\"" } ]
[ { "from": "human", "value": "Edit a Gist" }, { "from": "gpt", "value": "gh gist edit id|url" } ]
[ { "from": "human", "value": "List up to 42 Gists owned by the currently logged in user" }, { "from": "gpt", "value": "gh gist list --limit 42" } ]
[ { "from": "human", "value": "View a Gist in the default browser without rendering Markdown" }, { "from": "gpt", "value": "gh gist view id|url --web --raw" } ]
[ { "from": "human", "value": "Get cluster status" }, { "from": "gpt", "value": "stolonctl --cluster-name cluster_name --store-backend store_backend --store-endpoints store_endpoints status" } ]
[ { "from": "human", "value": "Get cluster data" }, { "from": "gpt", "value": "stolonctl --cluster-name cluster_name --store-backend store_backend --store-endpoints store_endpoints clusterdata" } ]
[ { "from": "human", "value": "Get cluster specification" }, { "from": "gpt", "value": "stolonctl --cluster-name cluster_name --store-backend store_backend --store-endpoints store_endpoints spec" } ]
[ { "from": "human", "value": "Update cluster specification with a patch in JSON format" }, { "from": "gpt", "value": "stolonctl --cluster-name cluster_name --store-backend store_backend --store-endpoints store_endpoints update --patch 'cluster_spec'" } ]
[ { "from": "human", "value": "Run a `doctl databases maintenance-window` command with an access token" }, { "from": "gpt", "value": "doctl databases maintenance-window command --access-token access_token" } ]
[ { "from": "human", "value": "Retrieve details about a database cluster's maintenance windows" }, { "from": "gpt", "value": "doctl databases maintenance-window get database_id" } ]
[ { "from": "human", "value": "Update the maintenance window for a database cluster" }, { "from": "gpt", "value": "doctl databases maintenance-window update database_id --day day_of_the_week --hour hour_in_24_hours_format" } ]
[ { "from": "human", "value": "Request a single value from the SNMP agent" }, { "from": "gpt", "value": "snmpget -v version -c community ip oid" } ]
[ { "from": "human", "value": "Display the full Object Identifier (OID) path" }, { "from": "gpt", "value": "snmpget -v version -c community -O f ip oid" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "snmpget [-h|--help]" } ]
[ { "from": "human", "value": "Convert a WebP file into a PNG file" }, { "from": "gpt", "value": "dwebp path/to/input.webp -o path/to/output.png" } ]
[ { "from": "human", "value": "Convert a WebP file into a specific filetype" }, { "from": "gpt", "value": "dwebp path/to/input.webp -bmp|-tiff|-pam|-ppm|-pgm|-yuv -o path/to/output" } ]
[ { "from": "human", "value": "Convert a WebP file, using multi-threading if possible" }, { "from": "gpt", "value": "dwebp path/to/input.webp -o path/to/output.png -mt" } ]
[ { "from": "human", "value": "Convert a WebP file, but also crop and scale at the same time" }, { "from": "gpt", "value": "dwebp input.webp -o output.png -crop x_pos y_pos width height -scale width height" } ]
[ { "from": "human", "value": "Convert a WebP file and flip the output" }, { "from": "gpt", "value": "dwebp path/to/input.webp -o path/to/output.png -flip" } ]
[ { "from": "human", "value": "Convert a WebP file and don't use in-loop filtering to speed up the decoding process" }, { "from": "gpt", "value": "dwebp path/to/input.webp -o path/to/output.png -nofilter" } ]
[ { "from": "human", "value": "Scan the current local network" }, { "from": "gpt", "value": "arp-scan [-l|--localnet]" } ]
[ { "from": "human", "value": "Scan an IP network with a custom bitmask" }, { "from": "gpt", "value": "arp-scan 192.168.1.1/24" } ]
[ { "from": "human", "value": "Scan an IP network within a custom range" }, { "from": "gpt", "value": "arp-scan 127.0.0.0-127.0.0.31" } ]
[ { "from": "human", "value": "Scan an IP network with a custom net mask" }, { "from": "gpt", "value": "arp-scan 10.0.0.0:255.255.255.0" } ]
[ { "from": "human", "value": "Send a GET request" }, { "from": "gpt", "value": "xh httpbin.org/get" } ]
[ { "from": "human", "value": "Send a POST request with a JSON body (key-value pairs are added to a top-level JSON object - e.g. `{\"name\": \"john\", \"age\": 25}`)" }, { "from": "gpt", "value": "xh post httpbin.org/post name=john age:=25" } ]
[ { "from": "human", "value": "Send a GET request with query parameters (e.g. `first_param=5&second_param=true`)" }, { "from": "gpt", "value": "xh get httpbin.org/get first_param==5 second_param==true" } ]
[ { "from": "human", "value": "Send a GET request with a custom header" }, { "from": "gpt", "value": "xh get httpbin.org/get header-name:header-value" } ]
[ { "from": "human", "value": "Make a GET request and save the response body to a file" }, { "from": "gpt", "value": "xh --download httpbin.org/json --output path/to/file" } ]
[ { "from": "human", "value": "Show equivalent `curl` command (this will not send any request)" }, { "from": "gpt", "value": "xh --curl|curl-long --follow --verbose get http://example.com user-agent:curl" } ]
[ { "from": "human", "value": "Install a specific application" }, { "from": "gpt", "value": "cs install application_name" } ]
[ { "from": "human", "value": "Install a specific version of an application" }, { "from": "gpt", "value": "cs install application_name:application_version" } ]
[ { "from": "human", "value": "Search an application by a specific name" }, { "from": "gpt", "value": "cs search application_partial_name" } ]
[ { "from": "human", "value": "Update a specific application if available" }, { "from": "gpt", "value": "cs update application_name" } ]
[ { "from": "human", "value": "Update all the installed applications" }, { "from": "gpt", "value": "cs update" } ]
[ { "from": "human", "value": "Uninstall a specific application" }, { "from": "gpt", "value": "cs uninstall application_name" } ]
[ { "from": "human", "value": "List all installed applications" }, { "from": "gpt", "value": "cs list" } ]
[ { "from": "human", "value": "Pass specific Java options to an installed application" }, { "from": "gpt", "value": "application_name -Jjava_option_name1=value1 -Jjava_option_name2=value2 ..." } ]
[ { "from": "human", "value": "Pretty-print a CSV file in a tabular format" }, { "from": "gpt", "value": "mlr --icsv --opprint cat example.csv" } ]
[ { "from": "human", "value": "Receive JSON data and pretty print the output" }, { "from": "gpt", "value": "echo '{\"hello\":\"world\"}' | mlr --ijson --opprint cat" } ]
[ { "from": "human", "value": "Sort alphabetically on a field" }, { "from": "gpt", "value": "mlr --icsv --opprint sort -f field example.csv" } ]
[ { "from": "human", "value": "Sort in descending numerical order on a field" }, { "from": "gpt", "value": "mlr --icsv --opprint sort -nr field example.csv" } ]
[ { "from": "human", "value": "Convert CSV to JSON, performing calculations and display those calculations" }, { "from": "gpt", "value": "mlr --icsv --ojson put '$newField1 = $oldFieldA/$oldFieldB' example.csv" } ]
[ { "from": "human", "value": "Receive JSON and format the output as vertical JSON" }, { "from": "gpt", "value": "echo '{\"hello\":\"world\", \"foo\":\"bar\"}' | mlr --ijson --ojson --jvstack cat" } ]
[ { "from": "human", "value": "Filter lines of a compressed CSV file treating numbers as strings" }, { "from": "gpt", "value": "mlr --prepipe 'gunzip' --csv filter -S '$fieldName =~ \"regular_expression\"' example.csv.gz" } ]
[ { "from": "human", "value": "Create a menu out of individual words" }, { "from": "gpt", "value": "select word in apple orange pear banana; do echo $word; done" } ]
[ { "from": "human", "value": "Create a menu from the output of another command" }, { "from": "gpt", "value": "select line in $(command); do echo $line; done" } ]
[ { "from": "human", "value": "Specify the prompt string for `select` and create a menu for picking a file or folder from the current directory" }, { "from": "gpt", "value": "PS3=\"Select a file: \"; select file in *; do echo $file; done" } ]
[ { "from": "human", "value": "Create a menu from a Bash array" }, { "from": "gpt", "value": "fruits=(apple orange pear banana); select word in ${fruits[@]}; do echo $word; done" } ]
[ { "from": "human", "value": "Run in portable mode" }, { "from": "gpt", "value": "QOwnNotes --portable" } ]
[ { "from": "human", "value": "Dump settings and other information about the app and environment in GitHub Markdown" }, { "from": "gpt", "value": "QOwnNotes --dump-settings" } ]
[ { "from": "human", "value": "Specify a different context for settings and internal files" }, { "from": "gpt", "value": "QOwnNotes --session test" } ]
[ { "from": "human", "value": "Trigger a menu action after the application was started" }, { "from": "gpt", "value": "QOwnNotes --action actionShow_Todo_List" } ]
[ { "from": "human", "value": "Clone a repository to a specified directory" }, { "from": "gpt", "value": "hg clone remote_repository_source destination_path" } ]
[ { "from": "human", "value": "Clone a repository to the head of a specific branch, ignoring later commits" }, { "from": "gpt", "value": "hg clone --branch branch remote_repository_source" } ]
[ { "from": "human", "value": "Clone a repository with only the `.hg` directory, without checking out files" }, { "from": "gpt", "value": "hg clone --noupdate remote_repository_source" } ]
[ { "from": "human", "value": "Clone a repository to a specific revision, tag or branch, keeping the entire history" }, { "from": "gpt", "value": "hg clone --updaterev revision remote_repository_source" } ]
[ { "from": "human", "value": "Clone a repository up to a specific revision without any newer history" }, { "from": "gpt", "value": "hg clone --rev revision remote_repository_source" } ]
[ { "from": "human", "value": "Add a timestamp to the beginning of each line" }, { "from": "gpt", "value": "command | ts" } ]
[ { "from": "human", "value": "Add timestamps with microsecond precision" }, { "from": "gpt", "value": "command | ts \"%b %d %H:%M:%.S\"" } ]
[ { "from": "human", "value": "Add [i]ncremental timestamps with microsecond precision, starting from zero" }, { "from": "gpt", "value": "command | ts -i \"%H:%M:%.S\"" } ]
[ { "from": "human", "value": "Convert existing timestamps in a text file (eg. a log file) into [r]elative format" }, { "from": "gpt", "value": "cat path/to/file | ts -r" } ]
[ { "from": "human", "value": "View documentation for the original command" }, { "from": "gpt", "value": "tldr sniff.py" } ]
[ { "from": "human", "value": "Convolve a PNM image with the specified convolution matrix" }, { "from": "gpt", "value": "pnmconvol -matrix=-1,3,-1 path/to/image.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Convolve a PNM image with the convolution matrix in the specified files, one for each layer in the input image" }, { "from": "gpt", "value": "pnmconvol -matrixfile path/to/matrix1,path/to/matrix2,... path/to/image.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Convolve a PNM image with the convolution matrix in the specified PNM file" }, { "from": "gpt", "value": "pnmconvol path/to/matrix.pnm path/to/image.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Normalize the weights in the convolution matrix such that they add up to one" }, { "from": "gpt", "value": "pnmconvol -matrix=-1,3,-1 -normalize path/to/image.pnm > path/to/output.pnm" } ]
[ { "from": "human", "value": "Generate an image of a planet" }, { "from": "gpt", "value": "ppmforge > path/to/image.ppm" } ]
[ { "from": "human", "value": "Generate an image of clouds or the night sky" }, { "from": "gpt", "value": "ppmforge -night|clouds > path/to/image.ppm" } ]
[ { "from": "human", "value": "Use a custom mesh size and dimension for fractal generation and specify the dimensions of the output" }, { "from": "gpt", "value": "ppmforge [-m|-mesh] 512 [-d|-dimension] 2.5 [-x|-xsize] 1000 [-y|-ysize] 1000 > path/to/image.ppm" } ]