conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "List accessible devices"
},
{
"from": "gpt",
"value": "duf"
}
] |
[
{
"from": "human",
"value": "List everything (such as pseudo, duplicate or inaccessible file systems)"
},
{
"from": "gpt",
"value": "duf --all"
}
] |
[
{
"from": "human",
"value": "Only show specified devices or mount points"
},
{
"from": "gpt",
"value": "duf path/to/directory1 path/to/directory2 ..."
}
] |
[
{
"from": "human",
"value": "Sort the output by a specified criteria"
},
{
"from": "gpt",
"value": "duf --sort size|used|avail|usage"
}
] |
[
{
"from": "human",
"value": "Show or hide specific filesystems"
},
{
"from": "gpt",
"value": "duf --only-fs|hide-fs tmpfs|vfat|ext4|xfs"
}
] |
[
{
"from": "human",
"value": "Sort the output by key"
},
{
"from": "gpt",
"value": "duf --sort mountpoint|size|used|avail|usage|inodes|inodes_used|inodes_avail|inodes_usage|type|filesystem"
}
] |
[
{
"from": "human",
"value": "Change the theme (if `duf` fails to use the right theme)"
},
{
"from": "gpt",
"value": "duf --theme dark|light"
}
] |
[
{
"from": "human",
"value": "Create a managed container registry"
},
{
"from": "gpt",
"value": "az acr create --name registry_name --resource-group resource_group --sku sku"
}
] |
[
{
"from": "human",
"value": "Login to a registry"
},
{
"from": "gpt",
"value": "az acr login --name registry_name"
}
] |
[
{
"from": "human",
"value": "Tag a local image for ACR"
},
{
"from": "gpt",
"value": "docker tag image_name registry_name.azurecr.io/image_name:tag"
}
] |
[
{
"from": "human",
"value": "Push an image to a registry"
},
{
"from": "gpt",
"value": "docker push registry_name.azurecr.io/image_name:tag"
}
] |
[
{
"from": "human",
"value": "Pull an image from a registry"
},
{
"from": "gpt",
"value": "docker pull registry_name.azurecr.io/image_name:tag"
}
] |
[
{
"from": "human",
"value": "Delete an image from a registry"
},
{
"from": "gpt",
"value": "az acr repository delete --name registry_name --repository image_name:tag"
}
] |
[
{
"from": "human",
"value": "Delete a managed container registry"
},
{
"from": "gpt",
"value": "az acr delete --name registry_name --resource-group resource_group --yes"
}
] |
[
{
"from": "human",
"value": "List images within a registry"
},
{
"from": "gpt",
"value": "az acr repository list --name registry_name --output table"
}
] |
[
{
"from": "human",
"value": "Create a model with 3 fields and a migration file"
},
{
"from": "gpt",
"value": "sequelize model:generate --name table_name --attributes field1:integer,field2:string,field3:boolean"
}
] |
[
{
"from": "human",
"value": "Run the migration file"
},
{
"from": "gpt",
"value": "sequelize db:migrate"
}
] |
[
{
"from": "human",
"value": "Revert all migrations"
},
{
"from": "gpt",
"value": "sequelize db:migrate:undo:all"
}
] |
[
{
"from": "human",
"value": "Create a seed file with the specified name to populate the database"
},
{
"from": "gpt",
"value": "sequelize seed:generate --name seed_filename"
}
] |
[
{
"from": "human",
"value": "Populate database using all seed files"
},
{
"from": "gpt",
"value": "sequelize db:seed:all"
}
] |
[
{
"from": "human",
"value": "Open Mumble"
},
{
"from": "gpt",
"value": "mumble"
}
] |
[
{
"from": "human",
"value": "Open Mumble and immediately connect to a server"
},
{
"from": "gpt",
"value": "mumble mumble://username@example.com"
}
] |
[
{
"from": "human",
"value": "Open Mumble and immediately connect to a password protected server"
},
{
"from": "gpt",
"value": "mumble mumble://username:password@example.com"
}
] |
[
{
"from": "human",
"value": "Mute/unmute the microphone in a running Mumble instance"
},
{
"from": "gpt",
"value": "mumble rpc mute|unmute"
}
] |
[
{
"from": "human",
"value": "Mute/unmute the microphone and the audio output of Mumble"
},
{
"from": "gpt",
"value": "mumble rpc deaf|undeaf"
}
] |
[
{
"from": "human",
"value": "Open a file"
},
{
"from": "gpt",
"value": "micro path/to/file"
}
] |
[
{
"from": "human",
"value": "Save a file"
},
{
"from": "gpt",
"value": "<Ctrl s>"
}
] |
[
{
"from": "human",
"value": "Cut the entire line"
},
{
"from": "gpt",
"value": "<Ctrl k>"
}
] |
[
{
"from": "human",
"value": "Search for a pattern in the file (press `<Ctrl n>`/`<Ctrl p>` to go to next/previous match)"
},
{
"from": "gpt",
"value": "<Ctrl f>pattern<Enter>"
}
] |
[
{
"from": "human",
"value": "Execute a command"
},
{
"from": "gpt",
"value": "<Ctrl e>command<Enter>"
}
] |
[
{
"from": "human",
"value": "Perform a substitution in the whole file"
},
{
"from": "gpt",
"value": "<Ctrl e>replaceall \"pattern\" \"replacement\"<Enter>"
}
] |
[
{
"from": "human",
"value": "Quit"
},
{
"from": "gpt",
"value": "<Ctrl q>"
}
] |
[
{
"from": "human",
"value": "View documentation for the current package"
},
{
"from": "gpt",
"value": "go doc"
}
] |
[
{
"from": "human",
"value": "Show package documentation and exported symbols"
},
{
"from": "gpt",
"value": "go doc encoding/json"
}
] |
[
{
"from": "human",
"value": "Show also documentation of symbols"
},
{
"from": "gpt",
"value": "go doc -all encoding/json"
}
] |
[
{
"from": "human",
"value": "Show also sources"
},
{
"from": "gpt",
"value": "go doc -all -src encoding/json"
}
] |
[
{
"from": "human",
"value": "Show a specific symbol"
},
{
"from": "gpt",
"value": "go doc -all -src encoding/json.Number"
}
] |
[
{
"from": "human",
"value": "Compile a source code file into an executable binary"
},
{
"from": "gpt",
"value": "g++ path/to/source1.cpp path/to/source2.cpp ... [-o|--output] path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Activate output of all errors and warnings"
},
{
"from": "gpt",
"value": "g++ path/to/source.cpp -Wall [-o|--output] output_executable"
}
] |
[
{
"from": "human",
"value": "Show common warnings, debug symbols in output, and optimize without affecting debugging"
},
{
"from": "gpt",
"value": "g++ path/to/source.cpp -Wall [-g|--debug] -Og [-o|--output] path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Choose a language standard to compile for (C++98/C++11/C++14/C++17)"
},
{
"from": "gpt",
"value": "g++ path/to/source.cpp -std=c++98|c++11|c++14|c++17 [-o|--output] path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Include libraries located at a different path than the source file"
},
{
"from": "gpt",
"value": "g++ path/to/source.cpp [-o|--output] path/to/output_executable -Ipath/to/header -Lpath/to/library -llibrary_name"
}
] |
[
{
"from": "human",
"value": "Compile and link multiple source code files into an executable binary"
},
{
"from": "gpt",
"value": "g++ [-c|--compile] path/to/source1.cpp path/to/source2.cpp ... && g++ [-o|--output] path/to/output_executable path/to/source1.o path/to/source2.o ..."
}
] |
[
{
"from": "human",
"value": "Optimize the compiled program for performance"
},
{
"from": "gpt",
"value": "g++ path/to/source.cpp -O1|2|3|fast [-o|--output] path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "g++ --version"
}
] |
[
{
"from": "human",
"value": "Crack key from capture file using [w]ordlist"
},
{
"from": "gpt",
"value": "aircrack-ng -w path/to/wordlist.txt path/to/capture.cap"
}
] |
[
{
"from": "human",
"value": "Crack key from capture file using [w]ordlist and the access point's [e]ssid"
},
{
"from": "gpt",
"value": "aircrack-ng -w path/to/wordlist.txt -e essid path/to/capture.cap"
}
] |
[
{
"from": "human",
"value": "Crack key from capture file using [w]ordlist and the access point's MAC address"
},
{
"from": "gpt",
"value": "aircrack-ng -w path/to/wordlist.txt --bssid mac path/to/capture.cap"
}
] |
[
{
"from": "human",
"value": "Test the conformance of one or more files in quiet mode"
},
{
"from": "gpt",
"value": "cupstestppd -q path/to/file1.ppd path/to/file2.ppd ..."
}
] |
[
{
"from": "human",
"value": "Get the PPD file from `stdin`, showing detailed conformance testing results"
},
{
"from": "gpt",
"value": "cupstestppd -v - < path/to/file.ppd"
}
] |
[
{
"from": "human",
"value": "Test all PPD files under the current directory, printing the names of each file that does not conform"
},
{
"from": "gpt",
"value": "find . -name \\*.ppd \\! -execdir cupstestppd -q '{}' \\; -print"
}
] |
[
{
"from": "human",
"value": "Compare files or directories"
},
{
"from": "gpt",
"value": "delta path/to/old_file_or_directory path/to/new_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Compare files or directories, showing the line numbers"
},
{
"from": "gpt",
"value": "delta --line-numbers path/to/old_file_or_directory path/to/new_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Compare files or directories, showing the differences side by side"
},
{
"from": "gpt",
"value": "delta --side-by-side path/to/old_file_or_directory path/to/new_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Compare files or directories, ignoring any Git configuration settings"
},
{
"from": "gpt",
"value": "delta --no-gitconfig path/to/old_file_or_directory path/to/new_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Compare, rendering commit hashes, file names, and line numbers as hyperlinks, according to the hyperlink spec for terminal emulators"
},
{
"from": "gpt",
"value": "delta --hyperlinks path/to/old_file_or_directory path/to/new_file_or_directory"
}
] |
[
{
"from": "human",
"value": "Display the current settings"
},
{
"from": "gpt",
"value": "delta --show-config"
}
] |
[
{
"from": "human",
"value": "Display supported languages and associated file extensions"
},
{
"from": "gpt",
"value": "delta --list-languages"
}
] |
[
{
"from": "human",
"value": "Resize all JPEG images in the directory to 50% of their initial size"
},
{
"from": "gpt",
"value": "magick mogrify -resize 50% *.jpg"
}
] |
[
{
"from": "human",
"value": "Resize all images starting with `DSC` to 800x600"
},
{
"from": "gpt",
"value": "magick mogrify -resize 800x600 DSC*"
}
] |
[
{
"from": "human",
"value": "Convert all PNGs in the directory to JPEG"
},
{
"from": "gpt",
"value": "magick mogrify -format jpg *.png"
}
] |
[
{
"from": "human",
"value": "Halve the saturation of all image files in the current directory"
},
{
"from": "gpt",
"value": "magick mogrify -modulate 100,50 *"
}
] |
[
{
"from": "human",
"value": "Double the brightness of all image files in the current directory"
},
{
"from": "gpt",
"value": "magick mogrify -modulate 200 *"
}
] |
[
{
"from": "human",
"value": "Reduce file sizes of all GIF images in the current directory by reducing quality"
},
{
"from": "gpt",
"value": "magick mogrify -layers 'optimize' -fuzz 7% *.gif"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "magick mogrify -help"
}
] |
[
{
"from": "human",
"value": "Execute a Fossil subcommand"
},
{
"from": "gpt",
"value": "fossil subcommand"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "fossil help"
}
] |
[
{
"from": "human",
"value": "Display help for a specific subcommand (like `add`, `commit`, etc.)"
},
{
"from": "gpt",
"value": "fossil help subcommand"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "fossil version"
}
] |
[
{
"from": "human",
"value": "List all accepted, unaccepted and rejected minion keys"
},
{
"from": "gpt",
"value": "salt-key -L"
}
] |
[
{
"from": "human",
"value": "Accept a minion key by name"
},
{
"from": "gpt",
"value": "salt-key -a MINION_ID"
}
] |
[
{
"from": "human",
"value": "Reject a minion key by name"
},
{
"from": "gpt",
"value": "salt-key -r MINION_ID"
}
] |
[
{
"from": "human",
"value": "Print fingerprints of all public keys"
},
{
"from": "gpt",
"value": "salt-key -F"
}
] |
[
{
"from": "human",
"value": "Read a PNM image as input and produce a JPEG/JFIF/EXIF image as output"
},
{
"from": "gpt",
"value": "pnmtojpeg path/to/file.pnm > path/to/file.jpg"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "pnmtojpeg -version"
}
] |
[
{
"from": "human",
"value": "Build the storage pool specified by name or UUID (determine using `virsh pool-list`)"
},
{
"from": "gpt",
"value": "virsh pool-build --pool name|uuid"
}
] |
[
{
"from": "human",
"value": "Print direct dependencies"
},
{
"from": "gpt",
"value": "npm query ':root > *'"
}
] |
[
{
"from": "human",
"value": "Print all direct production/development dependencies"
},
{
"from": "gpt",
"value": "npm query ':root > .prod|dev'"
}
] |
[
{
"from": "human",
"value": "Print dependencies with a specific name"
},
{
"from": "gpt",
"value": "npm query '#package'"
}
] |
[
{
"from": "human",
"value": "Print dependencies with a specific name and within a semantic versioning range"
},
{
"from": "gpt",
"value": "npm query '#package@semantic_version'"
}
] |
[
{
"from": "human",
"value": "Print dependencies which have no dependencies"
},
{
"from": "gpt",
"value": "npm query ':empty'"
}
] |
[
{
"from": "human",
"value": "Find all dependencies with postinstall scripts and uninstall them"
},
{
"from": "gpt",
"value": "npm query \":attr(scripts, [postinstall])\" | jq 'map(.name) | join(\"\\n\")' -r | xargs -I {} npm uninstall {}"
}
] |
[
{
"from": "human",
"value": "Find all Git dependencies and print which application requires them"
},
{
"from": "gpt",
"value": "npm query \":type(git)\" | jq 'map(.name)' | xargs -I {} npm why {}"
}
] |
[
{
"from": "human",
"value": "Count words in a TeX file"
},
{
"from": "gpt",
"value": "texcount path/to/file.tex"
}
] |
[
{
"from": "human",
"value": "Count words in a document and subdocuments built with `\\input` or `\\include`"
},
{
"from": "gpt",
"value": "texcount -merge file.tex"
}
] |
[
{
"from": "human",
"value": "Count words in a document and subdocuments, listing each file separately (and a total count)"
},
{
"from": "gpt",
"value": "texcount -inc file.tex"
}
] |
[
{
"from": "human",
"value": "Count words in a document and subdocuments, producing subcounts by chapter (instead of subsection)"
},
{
"from": "gpt",
"value": "texcount -merge -sub=chapter file.tex"
}
] |
[
{
"from": "human",
"value": "Count words with verbose output"
},
{
"from": "gpt",
"value": "texcount -v path/to/file.tex"
}
] |
[
{
"from": "human",
"value": "Use the (default) Memcheck tool to show a diagnostic of memory usage by `program`"
},
{
"from": "gpt",
"value": "valgrind program"
}
] |
[
{
"from": "human",
"value": "Use Memcheck to report all possible memory leaks of `program` in full detail"
},
{
"from": "gpt",
"value": "valgrind --leak-check=full --show-leak-kinds=all program"
}
] |
[
{
"from": "human",
"value": "Use the Cachegrind tool to profile and log CPU cache operations of `program`"
},
{
"from": "gpt",
"value": "valgrind --tool=cachegrind program"
}
] |
[
{
"from": "human",
"value": "Use the Massif tool to profile and log heap memory and stack usage of `program`"
},
{
"from": "gpt",
"value": "valgrind --tool=massif --stacks=yes program"
}
] |
[
{
"from": "human",
"value": "[l]ist all connected Rockchip-based flash [d]evices"
},
{
"from": "gpt",
"value": "rkdeveloptool ld"
}
] |
[
{
"from": "human",
"value": "Initialize the device by forcing it to [d]ownload and install the [b]ootloader from the specified file"
},
{
"from": "gpt",
"value": "rkdeveloptool db path/to/bootloader.bin"
}
] |
[
{
"from": "human",
"value": "[u]pdate the boot[l]oader software with a new one"
},
{
"from": "gpt",
"value": "rkdeveloptool ul path/to/bootloader.bin"
}
] |
[
{
"from": "human",
"value": "Write an image to a GPT-formatted flash partition, specifying the initial storage sector (usually `0x0` alias `0`)"
},
{
"from": "gpt",
"value": "rkdeveloptool wl initial_sector path/to/image.img"
}
] |
[
{
"from": "human",
"value": "Write to the flash partition by its user-friendly name"
},
{
"from": "gpt",
"value": "rkdeveloptool wlx partition_name path/to/image.img"
}
] |
[
{
"from": "human",
"value": "[r]eset/reboot the [d]evice, exit from the Maskrom/Bootrom mode to boot into the selected flash partition"
},
{
"from": "gpt",
"value": "rkdeveloptool rd"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr copr-cli"
}
] |
[
{
"from": "human",
"value": "Flood the network with IP requests"
},
{
"from": "gpt",
"value": "dhcpwn --interface network_interface flood --count number_of_requests"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.