conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "List all files and directories (including hidden ones) above a certain threshold size (useful for investigating what is actually taking up the space)"
},
{
"from": "gpt",
"value": "du [-ah|--all --human-readable] [-t|--threshold] 1G|1024M|1048576K .[^.]* *"
}
] |
[
{
"from": "human",
"value": "Create a new organization"
},
{
"from": "gpt",
"value": "pio org create organization_name"
}
] |
[
{
"from": "human",
"value": "Delete an organization"
},
{
"from": "gpt",
"value": "pio org destroy organization_name"
}
] |
[
{
"from": "human",
"value": "Add a user to an organization"
},
{
"from": "gpt",
"value": "pio org add organization_name username"
}
] |
[
{
"from": "human",
"value": "Remove a user from an organization"
},
{
"from": "gpt",
"value": "pio org remove organization_name username"
}
] |
[
{
"from": "human",
"value": "List all organizations the current user is a member of and their owners"
},
{
"from": "gpt",
"value": "pio org list"
}
] |
[
{
"from": "human",
"value": "Update the name, email or display name of an organization"
},
{
"from": "gpt",
"value": "pio org update --orgname new_organization_name --email new_email --displayname new_display_name organization_name"
}
] |
[
{
"from": "human",
"value": "Execute `crane auth` subcommand"
},
{
"from": "gpt",
"value": "crane auth subcommand"
}
] |
[
{
"from": "human",
"value": "Implement credential helper"
},
{
"from": "gpt",
"value": "crane auth get registry_address [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Log in to a registry"
},
{
"from": "gpt",
"value": "crane auth login registry_address [-h|--help] [-p|--password] password -password-stdin [-u|--username] username"
}
] |
[
{
"from": "human",
"value": "Log out of a registry"
},
{
"from": "gpt",
"value": "crane auth logout registry_address [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Retrieve a token for a remote repository"
},
{
"from": "gpt",
"value": "crane auth token registry_address [-H|--header] [-h|--help] [-m|--mount] scope1 scope2 ... --push"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "crane auth [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Convert an STL file to a GTS file"
},
{
"from": "gpt",
"value": "stl2gts < path/to/file.stl > path/to/file.gts"
}
] |
[
{
"from": "human",
"value": "Convert an STL file to a GTS file and revert face normals"
},
{
"from": "gpt",
"value": "stl2gts --revert < path/to/file.stl > path/to/file.gts"
}
] |
[
{
"from": "human",
"value": "Convert an STL file to a GTS file and do not merge vertices"
},
{
"from": "gpt",
"value": "stl2gts --nomerge < path/to/file.stl > path/to/file.gts"
}
] |
[
{
"from": "human",
"value": "Convert an STL file to a GTS file and display surface statistics"
},
{
"from": "gpt",
"value": "stl2gts --verbose < path/to/file.stl > path/to/file.gts"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "stl2gts --help"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr docker top"
}
] |
[
{
"from": "human",
"value": "Create a dump of all databases (this will place the files inside a directory called \"dump\")"
},
{
"from": "gpt",
"value": "mongodump"
}
] |
[
{
"from": "human",
"value": "Specify an output location for the dump"
},
{
"from": "gpt",
"value": "mongodump --out path/to/directory"
}
] |
[
{
"from": "human",
"value": "Create a dump of a given database"
},
{
"from": "gpt",
"value": "mongodump --db database_name"
}
] |
[
{
"from": "human",
"value": "Create a dump of a given collection within a given database"
},
{
"from": "gpt",
"value": "mongodump --collection collection_name --db database_name"
}
] |
[
{
"from": "human",
"value": "Connect to a given host running on a given port, and create a dump"
},
{
"from": "gpt",
"value": "mongodump --host host --port port"
}
] |
[
{
"from": "human",
"value": "Create a dump of a given database with a given username; user will be prompted for password"
},
{
"from": "gpt",
"value": "mongodump --username username database --password"
}
] |
[
{
"from": "human",
"value": "Create a dump from a specific instance; host, user, password and database will be defined in the connection string"
},
{
"from": "gpt",
"value": "mongodump --uri connection_string"
}
] |
[
{
"from": "human",
"value": "Read Akebas YUV bytes from three files starting with basename, merge them into a single PPM image and store it in the specified output file"
},
{
"from": "gpt",
"value": "yuvsplittoppm basename width height > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "List the events on your account"
},
{
"from": "gpt",
"value": "linode-cli events list"
}
] |
[
{
"from": "human",
"value": "View details about a specific event"
},
{
"from": "gpt",
"value": "linode-cli events view event_id"
}
] |
[
{
"from": "human",
"value": "Mark an event as read"
},
{
"from": "gpt",
"value": "linode-cli events mark-read event_id"
}
] |
[
{
"from": "human",
"value": "Convert command output to JSON via pipe"
},
{
"from": "gpt",
"value": "ifconfig | jc --ifconfig"
}
] |
[
{
"from": "human",
"value": "Convert command output to JSON via magic syntax"
},
{
"from": "gpt",
"value": "jc ifconfig"
}
] |
[
{
"from": "human",
"value": "Output pretty JSON via pipe"
},
{
"from": "gpt",
"value": "ifconfig | jc --ifconfig -p"
}
] |
[
{
"from": "human",
"value": "Output pretty JSON via magic syntax"
},
{
"from": "gpt",
"value": "jc -p ifconfig"
}
] |
[
{
"from": "human",
"value": "Install a global tool (don't use `--global` for local tools)"
},
{
"from": "gpt",
"value": "dotnet tool install --global dotnetsay"
}
] |
[
{
"from": "human",
"value": "Install tools defined in the local tool manifest"
},
{
"from": "gpt",
"value": "dotnet tool restore"
}
] |
[
{
"from": "human",
"value": "Update a specific global tool (don't use `--global` for local tools)"
},
{
"from": "gpt",
"value": "dotnet tool update --global tool_name"
}
] |
[
{
"from": "human",
"value": "Uninstall a global tool (don't use `--global` for local tools)"
},
{
"from": "gpt",
"value": "dotnet tool uninstall --global tool_name"
}
] |
[
{
"from": "human",
"value": "List installed global tools (don't use `--global` for local tools)"
},
{
"from": "gpt",
"value": "dotnet tool list --global"
}
] |
[
{
"from": "human",
"value": "Search tools in NuGet"
},
{
"from": "gpt",
"value": "dotnet tool search search_term"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "dotnet tool --help"
}
] |
[
{
"from": "human",
"value": "Print a formatted version of a shell script"
},
{
"from": "gpt",
"value": "shfmt path/to/file"
}
] |
[
{
"from": "human",
"value": "List unformatted files"
},
{
"from": "gpt",
"value": "shfmt --list path/to/directory"
}
] |
[
{
"from": "human",
"value": "Write the result to the file instead of printing it to the terminal"
},
{
"from": "gpt",
"value": "shfmt --write path/to/file"
}
] |
[
{
"from": "human",
"value": "Simplify the code, removing redundant pieces of syntax (i.e. removing \"$\" from vars in expressions)"
},
{
"from": "gpt",
"value": "shfmt --simplify path/to/file"
}
] |
[
{
"from": "human",
"value": "Generate font cache files"
},
{
"from": "gpt",
"value": "fc-cache"
}
] |
[
{
"from": "human",
"value": "Force a rebuild of all font cache files, without checking if cache is up-to-date"
},
{
"from": "gpt",
"value": "fc-cache -f"
}
] |
[
{
"from": "human",
"value": "Erase font cache files, then generate new font cache files"
},
{
"from": "gpt",
"value": "fc-cache -r"
}
] |
[
{
"from": "human",
"value": "Log in to a Bitwarden user account"
},
{
"from": "gpt",
"value": "bw login"
}
] |
[
{
"from": "human",
"value": "Log out of a Bitwarden user account"
},
{
"from": "gpt",
"value": "bw logout"
}
] |
[
{
"from": "human",
"value": "Search and display items from Bitwarden vault"
},
{
"from": "gpt",
"value": "bw list items --search github"
}
] |
[
{
"from": "human",
"value": "Display a particular item from Bitwarden vault"
},
{
"from": "gpt",
"value": "bw get item github"
}
] |
[
{
"from": "human",
"value": "Create a folder in Bitwarden vault"
},
{
"from": "gpt",
"value": "echo -n '{\"name\":\"My Folder1\"}' | base64 | bw create folder"
}
] |
[
{
"from": "human",
"value": "Smooth out a PNM image using a convolution matrix of size 3x3"
},
{
"from": "gpt",
"value": "pnmsmooth path/to/input.pnm > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Smooth out a PNM image using a convolution matrix of size width times height"
},
{
"from": "gpt",
"value": "pnmsmooth [-w|-width] width [-h|-height] height path/to/input.pnm > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Launch SDK Maintenance tool"
},
{
"from": "gpt",
"value": "sfdk maintain"
}
] |
[
{
"from": "human",
"value": "Add text to a PPM image at the specified location"
},
{
"from": "gpt",
"value": "ppmlabel -x pos_x -y pos_y [-t|-text] text path/to/input_file.ppm > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "Add multiple texts at different locations"
},
{
"from": "gpt",
"value": "ppmlabel -x pos_x1 -y pos_y1 [-t|-text] text1 -x pos_x2 -y pos_y2 [-t|-text] text2 path/to/input_file.ppm > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "Specify the line color, the background color, the tilt and the size of the added text"
},
{
"from": "gpt",
"value": "ppmlabel -x pos_x -y pos_y [-c|-color] line_color [-b|-background] background_color [-a|-angle] tilt [-s|-size] size [-t|-text] text path/to/input_fil... |
[
{
"from": "human",
"value": "Set cookies"
},
{
"from": "gpt",
"value": "nhentai --cookie \"csrftoken=TOKEN; sessionid=ID\""
}
] |
[
{
"from": "human",
"value": "Download a specific doujin"
},
{
"from": "gpt",
"value": "nhentai --id number"
}
] |
[
{
"from": "human",
"value": "Download the first page of your favorites"
},
{
"from": "gpt",
"value": "nhentai --favorites --download --delay 1"
}
] |
[
{
"from": "human",
"value": "Download specific pages of your favorites"
},
{
"from": "gpt",
"value": "nhentai --favorites --pages start_page-end_page --download --delay 1"
}
] |
[
{
"from": "human",
"value": "Run a development server"
},
{
"from": "gpt",
"value": "flask run"
}
] |
[
{
"from": "human",
"value": "Show the routes for the app"
},
{
"from": "gpt",
"value": "flask routes"
}
] |
[
{
"from": "human",
"value": "Run a Python interactive shell in the app's context"
},
{
"from": "gpt",
"value": "flask shell"
}
] |
[
{
"from": "human",
"value": "Convert a bitcode file as LLVM IR and write the result to `stdout`"
},
{
"from": "gpt",
"value": "llvm-dis path/to/input.bc -o -"
}
] |
[
{
"from": "human",
"value": "Convert a bitcode file to an LLVM IR file with the same filename"
},
{
"from": "gpt",
"value": "llvm-dis path/to/file.bc"
}
] |
[
{
"from": "human",
"value": "Convert a bitcode file to LLVM IR, writing the result to the specified file"
},
{
"from": "gpt",
"value": "llvm-dis path/to/input.bc -o path/to/output.ll"
}
] |
[
{
"from": "human",
"value": "Print a text message. Note: quotes are optional"
},
{
"from": "gpt",
"value": "echo \"Hello World\""
}
] |
[
{
"from": "human",
"value": "Print a message with environment variables"
},
{
"from": "gpt",
"value": "echo \"My path is $PATH\""
}
] |
[
{
"from": "human",
"value": "Print a message without the trailing newline"
},
{
"from": "gpt",
"value": "echo -n \"Hello World\""
}
] |
[
{
"from": "human",
"value": "Append a message to the file"
},
{
"from": "gpt",
"value": "echo \"Hello World\" >> file.txt"
}
] |
[
{
"from": "human",
"value": "Enable interpretation of backslash escapes (special characters)"
},
{
"from": "gpt",
"value": "echo -e \"Column 1\\tColumn 2\""
}
] |
[
{
"from": "human",
"value": "Print the exit status of the last executed command (Note: In Windows Command Prompt and PowerShell the equivalent commands are `echo %errorlevel%` and `$lastexitcode` respectively)"
},
{
"from": "gpt",
"value": "echo $?"
}
] |
[
{
"from": "human",
"value": "Tail all pods within a current namespace"
},
{
"from": "gpt",
"value": "stern ."
}
] |
[
{
"from": "human",
"value": "Tail all pods with a specific status"
},
{
"from": "gpt",
"value": "stern . --container-state running|waiting|terminated"
}
] |
[
{
"from": "human",
"value": "Tail all pods that matches a given regular expression"
},
{
"from": "gpt",
"value": "stern pod_query"
}
] |
[
{
"from": "human",
"value": "Tail matched pods from all namespaces"
},
{
"from": "gpt",
"value": "stern pod_query --all-namespaces"
}
] |
[
{
"from": "human",
"value": "Tail matched pods from 15 minutes ago"
},
{
"from": "gpt",
"value": "stern pod_query --since 15m"
}
] |
[
{
"from": "human",
"value": "Tail matched pods with a specific label"
},
{
"from": "gpt",
"value": "stern pod_query --selector release=canary"
}
] |
[
{
"from": "human",
"value": "Generate TMS tiles for the zoom levels 2 to 5 of a raster dataset"
},
{
"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"
},
{
"from": "gpt",
"value": "gdal2tiles.py --zoom 2-5 --xyz path/to/input.tif path/to/output_directory"
}
] |
[
{
"from": "human",
"value": "Register a machine with the Tarsnap server"
},
{
"from": "gpt",
"value": "sudo tarsnap-keygen --keyfile path/to/file.key --user user_email --machine machine_name"
}
] |
[
{
"from": "human",
"value": "Encrypt the key file (a passphrase will be requested twice)"
},
{
"from": "gpt",
"value": "sudo tarsnap-keygen --keyfile path/to/file.key --user user_email --machine machine_name --passphrased"
}
] |
[
{
"from": "human",
"value": "Convert a PPM image to a PCX file"
},
{
"from": "gpt",
"value": "ppmtopcx path/to/file.ppm > path/to/file.pcx"
}
] |
[
{
"from": "human",
"value": "Produce a PCX file with the specified color depth"
},
{
"from": "gpt",
"value": "ppmtopcx -8bit|24bit path/to/file.ppm > path/to/file.pcx"
}
] |
[
{
"from": "human",
"value": "Create a `.desktop` file named `app`"
},
{
"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"
},
{
"from": "gpt",
"value": "gendesk -q -f -n --name \"app\" --exec \"/path/to/app\" --icon \"/path/to/icon.png\" --comment \"This is application\""
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "gendesk -h"
}
] |
[
{
"from": "human",
"value": "Display the latest commit for each row of a table"
},
{
"from": "gpt",
"value": "dolt blame table"
}
] |
[
{
"from": "human",
"value": "Display the latest commits for each row of a table when the specified commit was made"
},
{
"from": "gpt",
"value": "dolt blame commit table"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "dolt blame --help"
}
] |
[
{
"from": "human",
"value": "Start the GUI"
},
{
"from": "gpt",
"value": "git cola"
}
] |
[
{
"from": "human",
"value": "Start the GUI in amend mode"
},
{
"from": "gpt",
"value": "git cola --amend"
}
] |
[
{
"from": "human",
"value": "Prompt for a Git repository. Defaults to the current directory"
},
{
"from": "gpt",
"value": "git cola --prompt"
}
] |
[
{
"from": "human",
"value": "Open the Git repository at mentioned path"
},
{
"from": "gpt",
"value": "git cola --repo path/to/git-repository"
}
] |
[
{
"from": "human",
"value": "Apply the path filter to the status widget"
},
{
"from": "gpt",
"value": "git cola --status-filter filter"
}
] |
[
{
"from": "human",
"value": "Convert a raw greyscale image to a PGM image"
},
{
"from": "gpt",
"value": "rawtopgm width height path/to/image.raw > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Convert a raw greyscale image to a PGM image, assume the image to be a square"
},
{
"from": "gpt",
"value": "rawtopgm path/to/image.raw > path/to/output.pgm"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.