conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Allow image references to be fetched without TLS via the `gcrane` command"
},
{
"from": "gpt",
"value": "`gcrane --insecure {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Specify the platform in the form os/arch{{/variant}}{{:osversion}} (e.g. linux/amd64). (default all) via the `gcrane` command"
},
{
"from": "gpt",
"value": "`gcrane --platform {{platform}} {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Enable debug logs via the `gcrane` command"
},
{
"from": "gpt",
"value": "`gcrane {{[-v|--verbose]}} {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `gcrane` command"
},
{
"from": "gpt",
"value": "`gcrane {{[-h|--help]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdal2tiles.py`."
},
{
"from": "gpt",
"value": "Generate TMS or XYZ tiles for a raster dataset.\nMore information: <https://gdal.org/programs/gdal2tiles.html>.\n"
}
] |
[
{
"from": "human",
"value": "Generate TMS tiles for the zoom levels 2 to 5 of a raster dataset via the `gdal2tiles.py` command"
},
{
"from": "gpt",
"value": "`gdal2tiles.py --zoom 2-5 {{path/to/input.tif}} {{path/to/output_directory}}`"
}
] |
[
{
"from": "human",
"value": "Generate XYZ tiles for the zoom levels 2 to 5 of a raster dataset via the `gdal2tiles.py` command"
},
{
"from": "gpt",
"value": "`gdal2tiles.py --zoom 2-5 --xyz {{path/to/input.tif}} {{path/to/output_directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdaladdo`."
},
{
"from": "gpt",
"value": "Build overview images of raster datasets.\nMore information: <https://gdal.org/programs/gdaladdo.html>.\n"
}
] |
[
{
"from": "human",
"value": "Build overview images of a raster dataset using the \"average\" [r]esampling method via the `gdaladdo` command"
},
{
"from": "gpt",
"value": "`gdaladdo -r average {{path/to/input.tif}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdalbuildvrt`."
},
{
"from": "gpt",
"value": "Build Virtual Datasets from a list of existing datasets.\nMore information: <https://gdal.org/programs/gdalbuildvrt.html>.\n"
}
] |
[
{
"from": "human",
"value": "Make a virtual mosaic from all TIFF files contained in a directory via the `gdalbuildvrt` command"
},
{
"from": "gpt",
"value": "`gdalbuildvrt {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}`"
}
] |
[
{
"from": "human",
"value": "Make a virtual mosaic from files whose name is specified in a text file via the `gdalbuildvrt` command"
},
{
"from": "gpt",
"value": "`gdalbuildvrt -input_file_list {{path/to/list.txt}} {{path/to/output.vrt}}`"
}
] |
[
{
"from": "human",
"value": "Make an RGB virtual mosaic from 3 single-band input files via the `gdalbuildvrt` command"
},
{
"from": "gpt",
"value": "`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}} {{path/to/green.tif}} {{path/to/blue.tif}}`"
}
] |
[
{
"from": "human",
"value": "Make a virtual mosaic with blue background color (RGB: 0 0 255) via the `gdalbuildvrt` command"
},
{
"from": "gpt",
"value": "`gdalbuildvrt -hidenodata -vrtnodata \"{{0 0 255}}\" {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdal_contour`."
},
{
"from": "gpt",
"value": "Create contour lines and polygons from a digital elevation model.\nMore information: <https://gdal.org/programs/gdal_contour.html>.\n"
}
] |
[
{
"from": "human",
"value": "Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as \"ele\" via the `gdal_contour` command"
},
{
"from": "gpt",
"value": "`gdal_contour -a {{ele}} -i {{100.0}} {{path/to/input.tif}} {{path/to/ou... |
[
{
"from": "human",
"value": "Create a vector dataset with [p]olygons spread over an 100-meter [i]nterval via the `gdal_contour` command"
},
{
"from": "gpt",
"value": "`gdal_contour -i {{100.0}} -p {{path/to/input.tif}} {{path/to/output.gpkg}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdaldem`."
},
{
"from": "gpt",
"value": "Analyze and visualize digital elevation models (DEM).\nMore information: <https://gdal.org/programs/gdaldem.html>.\n"
}
] |
[
{
"from": "human",
"value": "Compute the hillshade of a DEM via the `gdaldem` command"
},
{
"from": "gpt",
"value": "`gdaldem hillshade {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Compute the slope of a DEM via the `gdaldem` command"
},
{
"from": "gpt",
"value": "`gdaldem slope {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Compute the aspect of a DEM via the `gdaldem` command"
},
{
"from": "gpt",
"value": "`gdaldem aspect {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdalinfo`."
},
{
"from": "gpt",
"value": "List various information about a GDAL supported raster dataset.\nMore information: <https://gdal.org/programs/gdalinfo.html>.\n"
}
] |
[
{
"from": "human",
"value": "List all supported raster formats via the `gdalinfo` command"
},
{
"from": "gpt",
"value": "`gdalinfo --formats`"
}
] |
[
{
"from": "human",
"value": "List information about a specific raster dataset via the `gdalinfo` command"
},
{
"from": "gpt",
"value": "`gdalinfo {{path/to/input.tif}}`"
}
] |
[
{
"from": "human",
"value": "List information about a specific raster dataset in JSON format via the `gdalinfo` command"
},
{
"from": "gpt",
"value": "`gdalinfo -json {{path/to/input.tif}}`"
}
] |
[
{
"from": "human",
"value": "Show histogram values of a specific raster dataset via the `gdalinfo` command"
},
{
"from": "gpt",
"value": "`gdalinfo -hist {{path/to/input.tif}}`"
}
] |
[
{
"from": "human",
"value": "List information about a Web Map Service (WMS) via the `gdalinfo` command"
},
{
"from": "gpt",
"value": "`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}}`"
}
] |
[
{
"from": "human",
"value": "List information about a specific dataset of a Web Map Service (WMS) via the `gdalinfo` command"
},
{
"from": "gpt",
"value": "`gdalinfo WMS:{{https://services.meggsimum.de/geoserver/ows}} -sd {{4}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdal_translate`."
},
{
"from": "gpt",
"value": "Convert raster data between different formats.\nMore information: <https://gdal.org/programs/gdal_translate.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a raster dataset to JPEG format via the `gdal_translate` command"
},
{
"from": "gpt",
"value": "`gdal_translate -of {{JPEG}} {{path/to/input.tif}} {{path/to/output.jpeg}}`"
}
] |
[
{
"from": "human",
"value": "Assign a projection to a raster dataset via the `gdal_translate` command"
},
{
"from": "gpt",
"value": "`gdal_translate -a_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Reduce the size of a raster dataset to a specific fraction via the `gdal_translate` command"
},
{
"from": "gpt",
"value": "`gdal_translate -outsize {{40%}} {{40%}} {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Convert a GeoTiff to a Cloud Optimized GeoTiff via the `gdal_translate` command"
},
{
"from": "gpt",
"value": "`gdal_translate {{path/to/input.tif}} {{path/to/output.tif}} -of COG -co COMPRESS=LZW`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdalwarp`."
},
{
"from": "gpt",
"value": "Image reprojection and warping utility.\nMore information: <https://gdal.org/programs/gdalwarp.html>.\n"
}
] |
[
{
"from": "human",
"value": "Reproject a raster dataset via the `gdalwarp` command"
},
{
"from": "gpt",
"value": "`gdalwarp -t_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Crop a raster dataset by using specific coordinates via the `gdalwarp` command"
},
{
"from": "gpt",
"value": "`gdalwarp -te {{min_x}} {{min_y}} {{max_x}} {{max_y}} -te_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Crop a raster dataset using a vector layer via the `gdalwarp` command"
},
{
"from": "gpt",
"value": "`gdalwarp -cutline {{path/to/area_to_cut.geojson}} -crop_to_cutline {{path/to/input.tif}} {{path/to/output.tif}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdb`."
},
{
"from": "gpt",
"value": "The GNU Debugger.\nMore information: <https://www.gnu.org/software/gdb>.\n"
}
] |
[
{
"from": "human",
"value": "Debug an executable via the `gdb` command"
},
{
"from": "gpt",
"value": "`gdb {{executable}}`"
}
] |
[
{
"from": "human",
"value": "Attach a process to gdb via the `gdb` command"
},
{
"from": "gpt",
"value": "`gdb {{[-p|--pid]}} {{procID}}`"
}
] |
[
{
"from": "human",
"value": "Debug with a core file via the `gdb` command"
},
{
"from": "gpt",
"value": "`gdb {{[-c|--core]}} {{core}} {{executable}}`"
}
] |
[
{
"from": "human",
"value": "Execute given GDB commands upon start via the `gdb` command"
},
{
"from": "gpt",
"value": "`gdb {{[-ex|--eval-command]}} \"{{commands}}\" {{executable}}`"
}
] |
[
{
"from": "human",
"value": "Start `gdb` and pass arguments to the executable via the `gdb` command"
},
{
"from": "gpt",
"value": "`gdb --args {{executable}} {{argument1}} {{argument2}}`"
}
] |
[
{
"from": "human",
"value": "Skip debuginfod and pagination prompts and then print the backtrace via the `gdb` command"
},
{
"from": "gpt",
"value": "`gdb {{[-c|--core]}} {{core}} {{executable}} -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdc`."
},
{
"from": "gpt",
"value": "D compiler using GCC as a backend.\nMore information: <https://wiki.dlang.org/Using_GDC>.\n"
}
] |
[
{
"from": "human",
"value": "Create an executable via the `gdc` command"
},
{
"from": "gpt",
"value": "`gdc {{path/to/source.d}} -o {{path/to/output_executable}}`"
}
] |
[
{
"from": "human",
"value": "Print information about module dependencies via the `gdc` command"
},
{
"from": "gpt",
"value": "`gdc -fdeps`"
}
] |
[
{
"from": "human",
"value": "Generate Ddoc documentation via the `gdc` command"
},
{
"from": "gpt",
"value": "`gdc -fdoc`"
}
] |
[
{
"from": "human",
"value": "Generate D interface files via the `gdc` command"
},
{
"from": "gpt",
"value": "`gdc -fintfc`"
}
] |
[
{
"from": "human",
"value": "Do not link the standard GCC libraries in the compilation via the `gdc` command"
},
{
"from": "gpt",
"value": "`gdc -nostdlib`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdown`."
},
{
"from": "gpt",
"value": "Download files from Google Drive and other URLs.\nMore information: <https://github.com/wkentaro/gdown>.\n"
}
] |
[
{
"from": "human",
"value": "Download a file from a URL via the `gdown` command"
},
{
"from": "gpt",
"value": "`gdown {{url}}`"
}
] |
[
{
"from": "human",
"value": "Download using a file ID via the `gdown` command"
},
{
"from": "gpt",
"value": "`gdown {{file_id}}`"
}
] |
[
{
"from": "human",
"value": "Download with fuzzy file ID extraction (also works with <https://docs.google.com> links) via the `gdown` command"
},
{
"from": "gpt",
"value": "`gdown --fuzzy {{url}}`"
}
] |
[
{
"from": "human",
"value": "Download a folder using its ID or the full URL via the `gdown` command"
},
{
"from": "gpt",
"value": "`gdown {{folder_id|url}} -O {{path/to/output_directory}} --folder`"
}
] |
[
{
"from": "human",
"value": "Download a tar archive, write it to `stdout` and extract it via the `gdown` command"
},
{
"from": "gpt",
"value": "`gdown {{tar_url}} -O - --quiet | tar xvf -`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdrive`."
},
{
"from": "gpt",
"value": "Interact with Google Drive.\nFolder/file ID can be obtained from the Google Drive folder or ID URL.\nMore information: <https://github.com/gdrive-org/gdrive>.\n"
}
] |
[
{
"from": "human",
"value": "Upload a local path to the parent folder with the specified ID via the `gdrive` command"
},
{
"from": "gpt",
"value": "`gdrive upload -p {{id}} {{path/to/file_or_folder}}`"
}
] |
[
{
"from": "human",
"value": "Download file or directory by ID to current directory via the `gdrive` command"
},
{
"from": "gpt",
"value": "`gdrive download {{id}}`"
}
] |
[
{
"from": "human",
"value": "Download to a given local path by its ID via the `gdrive` command"
},
{
"from": "gpt",
"value": "`gdrive download --path {{path/to/folder}} {{id}}`"
}
] |
[
{
"from": "human",
"value": "Create a new revision of an ID using a given file or folder via the `gdrive` command"
},
{
"from": "gpt",
"value": "`gdrive update {{id}} {{path/to/file_or_folder}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gdu`."
},
{
"from": "gpt",
"value": "Disk usage analyzer with console interface.\nMore information: <https://github.com/dundee/gdu>.\n"
}
] |
[
{
"from": "human",
"value": "Interactively show the disk usage of the current directory via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu`"
}
] |
[
{
"from": "human",
"value": "Interactively show the disk usage of a given directory via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Interactively show the disk usage of all mounted disks via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu --show-disks`"
}
] |
[
{
"from": "human",
"value": "Interactively show the disk usage of the current directory but ignore some sub-directories via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu --ignore-dirs {{path/to/directory1,path/to/directory2,...}}`"
}
] |
[
{
"from": "human",
"value": "Ignore paths by regular expression via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu --ignore-dirs-pattern '{{.*[abc]+}}'`"
}
] |
[
{
"from": "human",
"value": "Ignore hidden directories via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu --no-hidden`"
}
] |
[
{
"from": "human",
"value": "Only print the result, do not enter interactive mode via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu --non-interactive {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Do not show the progress in non-interactive mode (useful in scripts) via the `gdu` command"
},
{
"from": "gpt",
"value": "`gdu --no-progress {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gem`."
},
{
"from": "gpt",
"value": "A package manager for the Ruby programming language.\nMore information: <https://guides.rubygems.org>.\n"
}
] |
[
{
"from": "human",
"value": "Search for remote gem(s) and show all available versions via the `gem` command"
},
{
"from": "gpt",
"value": "`gem search {{regular_expression}} --all`"
}
] |
[
{
"from": "human",
"value": "Install the latest version of a gem via the `gem` command"
},
{
"from": "gpt",
"value": "`gem install {{gem_name}}`"
}
] |
[
{
"from": "human",
"value": "Install a specific version of a gem via the `gem` command"
},
{
"from": "gpt",
"value": "`gem install {{gem_name}} --version {{1.0.0}}`"
}
] |
[
{
"from": "human",
"value": "Install the latest matching (SemVer) version of a gem via the `gem` command"
},
{
"from": "gpt",
"value": "`gem install {{gem_name}} --version '~> {{1.0}}'`"
}
] |
[
{
"from": "human",
"value": "Update a gem via the `gem` command"
},
{
"from": "gpt",
"value": "`gem update {{gem_name}}`"
}
] |
[
{
"from": "human",
"value": "List all local gems via the `gem` command"
},
{
"from": "gpt",
"value": "`gem list`"
}
] |
[
{
"from": "human",
"value": "Uninstall a gem via the `gem` command"
},
{
"from": "gpt",
"value": "`gem uninstall {{gem_name}}`"
}
] |
[
{
"from": "human",
"value": "Uninstall a specific version of a gem via the `gem` command"
},
{
"from": "gpt",
"value": "`gem uninstall {{gem_name}} --version {{1.0.0}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gemtopbm`."
},
{
"from": "gpt",
"value": "This command has been superseded by `gemtopnm`.\nMore information: <https://netpbm.sourceforge.net/doc/gemtopbm.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `gemtopbm` command"
},
{
"from": "gpt",
"value": "`tldr gemtopnm`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gemtopnm`."
},
{
"from": "gpt",
"value": "Convert a GEM image file into a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/gemtopnm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a GEM image file to a PNM image via the `gemtopnm` command"
},
{
"from": "gpt",
"value": "`gemtopnm {{path/to/file.img}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Describe the contents of the specified GEM image via the `gemtopnm` command"
},
{
"from": "gpt",
"value": "`gemtopnm {{[-d|-debug]}} {{path/to/file.img}}`"
}
] |
[
{
"from": "human",
"value": "Display version via the `gemtopnm` command"
},
{
"from": "gpt",
"value": "`gemtopnm -version`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gendesk`."
},
{
"from": "gpt",
"value": "Specifies the command to generate a `.desktop` file and a download icon with minimal information.\nMore information: <https://gendesk.roboticoverlords.org>.\n"
}
] |
[
{
"from": "human",
"value": "Create a `.desktop` file named `app` via the `gendesk` command"
},
{
"from": "gpt",
"value": "`gendesk -n --name \"{{app}}\" --exec \"{{/path/to/app}}\" --icon \"{{/path/to/icon.png}}\" --comment \"{{This is application}}\"`"
}
] |
[
{
"from": "human",
"value": "Create a `.desktop` file named `app`, do not display any output, and overwrite it if it exists via the `gendesk` command"
},
{
"from": "gpt",
"value": "`gendesk -q -f -n --name \"{{app}}\" --exec \"{{/path/to/app}}\" --icon \"{{/path/to/icon.png}}\" --comment \"{{Thi... |
[
{
"from": "human",
"value": "Display help via the `gendesk` command"
},
{
"from": "gpt",
"value": "`gendesk -h`"
}
] |
[
{
"from": "human",
"value": "Tell me about `GetADUsers.py`."
},
{
"from": "gpt",
"value": "Retrieve a list of users from Active Directory, including attributes like last logon timestamp and email.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n"
}
] |
[
{
"from": "human",
"value": "Enumerate all Active Directory users and their attributes via the `getadusers.py` command"
},
{
"from": "gpt",
"value": "`GetADUsers.py -all -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}}`"
}
] |
[
{
"from": "human",
"value": "Retrieve information only for a specific user via the `getadusers.py` command"
},
{
"from": "gpt",
"value": "`GetADUsers.py -user {{user}} -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}}`"
}
] |
[
{
"from": "human",
"value": "Extract user details using pass-the-hash authentication via the `getadusers.py` command"
},
{
"from": "gpt",
"value": "`GetADUsers.py -all -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}`"
}
] |
[
{
"from": "human",
"value": "Save output to a file via the `getadusers.py` command"
},
{
"from": "gpt",
"value": "`GetADUsers.py -all -dc-ip {{domain_controller_ip}} {{domain}}/{{username}}:{{password}} > output.txt`"
}
] |
[
{
"from": "human",
"value": "Tell me about `getArch.py`."
},
{
"from": "gpt",
"value": "Determine the OS architecture (x86 or x64) of a remote Windows system.\nPart of the Impacket suite.\nMore information: <https://github.com/fortra/impacket>.\n"
}
] |
[
{
"from": "human",
"value": "Check the architecture of a single target system via the `getarch.py` command"
},
{
"from": "gpt",
"value": "`getArch.py -target {{target}}`"
}
] |
[
{
"from": "human",
"value": "Check the architecture of multiple targets from a file (one per line) via the `getarch.py` command"
},
{
"from": "gpt",
"value": "`getArch.py -targets {{path/to/targets_file}}`"
}
] |
[
{
"from": "human",
"value": "Set a custom socket timeout (default is 2 seconds) via the `getarch.py` command"
},
{
"from": "gpt",
"value": "`getArch.py -target {{target}} -timeout {{seconds}}`"
}
] |
[
{
"from": "human",
"value": "Enable debug mode for detailed output via the `getarch.py` command"
},
{
"from": "gpt",
"value": "`getArch.py -target {{target}} -debug`"
}
] |
[
{
"from": "human",
"value": "Tell me about `geth`."
},
{
"from": "gpt",
"value": "The go-ethereum command-line interface.\nMore information: <https://geth.ethereum.org>.\n"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.