conversations
listlengths
2
2
[ { "from": "human", "value": "Start a local interactive server for testing the language" }, { "from": "gpt", "value": "crystal play" } ]
[ { "from": "human", "value": "Create a project directory for a Crystal application" }, { "from": "gpt", "value": "crystal init app application_name" } ]
[ { "from": "human", "value": "Display all help options" }, { "from": "gpt", "value": "crystal help" } ]
[ { "from": "human", "value": "Display Android app manifest" }, { "from": "gpt", "value": "androguard axml path/to/app.apk" } ]
[ { "from": "human", "value": "Display app metadata (version and app ID)" }, { "from": "gpt", "value": "androguard apkid path/to/app.apk" } ]
[ { "from": "human", "value": "Decompile Java code from an app" }, { "from": "gpt", "value": "androguard decompile path/to/app.apk --output path/to/directory" } ]
[ { "from": "human", "value": "List available network interfaces" }, { "from": "gpt", "value": "tcpdump [-D|--list-interfaces]" } ]
[ { "from": "human", "value": "Capture the traffic of a specific interface" }, { "from": "gpt", "value": "sudo tcpdump [-i|--interface] eth0" } ]
[ { "from": "human", "value": "Capture all TCP traffic showing contents (ASCII) in console" }, { "from": "gpt", "value": "tcpdump -A tcp" } ]
[ { "from": "human", "value": "Capture the traffic from or to a host" }, { "from": "gpt", "value": "tcpdump host www.example.com" } ]
[ { "from": "human", "value": "Capture the traffic from a specific interface, source, destination and destination port" }, { "from": "gpt", "value": "sudo tcpdump [-i|--interface]} {{eth0 src 192.168.1.1 and dst 192.168.1.2 and dst port 80" } ]
[ { "from": "human", "value": "Capture the traffic of a network" }, { "from": "gpt", "value": "tcpdump net 192.168.1.0/24" } ]
[ { "from": "human", "value": "Capture all traffic except traffic over port 22 and save to a dump file" }, { "from": "gpt", "value": "tcpdump -w dumpfile.pcap port not 22" } ]
[ { "from": "human", "value": "Read from a given dump file" }, { "from": "gpt", "value": "tcpdump -r dumpfile.pcap" } ]
[ { "from": "human", "value": "Run in interactive mode" }, { "from": "gpt", "value": "units" } ]
[ { "from": "human", "value": "List all units containing a specific string in interactive mode" }, { "from": "gpt", "value": "search string" } ]
[ { "from": "human", "value": "Show the conversion between two simple units" }, { "from": "gpt", "value": "units quarts tablespoons" } ]
[ { "from": "human", "value": "Convert between units with quantities" }, { "from": "gpt", "value": "units \"15 pounds\" kilograms" } ]
[ { "from": "human", "value": "Show the conversion between two compound units" }, { "from": "gpt", "value": "units \"meters / second\" \"inches / hour\"" } ]
[ { "from": "human", "value": "Show the conversion between units with different dimensions" }, { "from": "gpt", "value": "units \"acres\" \"ft^2\"" } ]
[ { "from": "human", "value": "Show the conversion of byte multipliers" }, { "from": "gpt", "value": "units \"15 megabytes\" bytes" } ]
[ { "from": "human", "value": "Update a translation file" }, { "from": "gpt", "value": "msgmerge [-U|--update] path/to/file.po path/to/messages.pot" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "msgmerge [-h|--help]" } ]
[ { "from": "human", "value": "Analyze a VHDL source file and produce an object file" }, { "from": "gpt", "value": "ghdl -a filename.vhdl" } ]
[ { "from": "human", "value": "Elaborate a design (where `design` is the name of a configuration unit, entity unit or architecture unit)" }, { "from": "gpt", "value": "ghdl -e design" } ]
[ { "from": "human", "value": "Run an elaborated design" }, { "from": "gpt", "value": "ghdl -r design" } ]
[ { "from": "human", "value": "Run an elaborated design and dump output to a waveform file" }, { "from": "gpt", "value": "ghdl -r design --wave=output.ghw" } ]
[ { "from": "human", "value": "Check the syntax of a VHDL source file" }, { "from": "gpt", "value": "ghdl -s filename.vhdl" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "ghdl --help" } ]
[ { "from": "human", "value": "Recompress a file from `.Z` to gzip format" }, { "from": "gpt", "value": "znew path/to/file1.Z" } ]
[ { "from": "human", "value": "Recompress multiple files and display the achieved size reduction % per file" }, { "from": "gpt", "value": "znew -v path/to/file1.Z path/to/file2.Z ..." } ]
[ { "from": "human", "value": "Recompress a file using the slowest compression method (for optimal compression)" }, { "from": "gpt", "value": "znew -9 path/to/file1.Z" } ]
[ { "from": "human", "value": "Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file" }, { "from": "gpt", "value": "znew -K path/to/file1.Z" } ]
[ { "from": "human", "value": "Check a table" }, { "from": "gpt", "value": "mysqlcheck --check table" } ]
[ { "from": "human", "value": "Check a table and provide credentials to access it" }, { "from": "gpt", "value": "mysqlcheck --check table --user username --password password" } ]
[ { "from": "human", "value": "Repair a table" }, { "from": "gpt", "value": "mysqlcheck --repair table" } ]
[ { "from": "human", "value": "Optimize a table" }, { "from": "gpt", "value": "mysqlcheck --optimize table" } ]
[ { "from": "human", "value": "Install Cradle's components (User will be prompted for further details)" }, { "from": "gpt", "value": "cradle install" } ]
[ { "from": "human", "value": "Forcefully overwrite files" }, { "from": "gpt", "value": "cradle install --force" } ]
[ { "from": "human", "value": "Skip running SQL migrations" }, { "from": "gpt", "value": "cradle install --skip-sql" } ]
[ { "from": "human", "value": "Skip running package updates" }, { "from": "gpt", "value": "cradle install --skip-versioning" } ]
[ { "from": "human", "value": "Use specific database details" }, { "from": "gpt", "value": "cradle install -h hostname -u username -p password" } ]
[ { "from": "human", "value": "Convert a graph from `gml` to `gv` format" }, { "from": "gpt", "value": "gml2gv -o output.gv input.gml" } ]
[ { "from": "human", "value": "Convert a graph using `stdin` and `stdout`" }, { "from": "gpt", "value": "cat input.gml | gml2gv > output.gv" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "gml2gv -?" } ]
[ { "from": "human", "value": "Show unstaged changes" }, { "from": "gpt", "value": "git diff" } ]
[ { "from": "human", "value": "Show all uncommitted changes (including staged ones)" }, { "from": "gpt", "value": "git diff HEAD" } ]
[ { "from": "human", "value": "Show only staged (added, but not yet committed) changes" }, { "from": "gpt", "value": "git diff --staged" } ]
[ { "from": "human", "value": "Show changes from all commits since a given date/time (a date expression, e.g. \"1 week 2 days\" or an ISO date)" }, { "from": "gpt", "value": "git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'" } ]
[ { "from": "human", "value": "Show diff statistics, like files changed, histogram, and total line insertions/deletions" }, { "from": "gpt", "value": "git diff --stat commit" } ]
[ { "from": "human", "value": "Output a summary of file creations, renames and mode changes since a given commit" }, { "from": "gpt", "value": "git diff --summary commit" } ]
[ { "from": "human", "value": "Compare a single file between two branches or commits" }, { "from": "gpt", "value": "git diff branch_1..branch_2 [--] path/to/file" } ]
[ { "from": "human", "value": "Compare different files from the current branch to other branch" }, { "from": "gpt", "value": "git diff branch:path/to/file2 path/to/file" } ]
[ { "from": "human", "value": "Record new transactions interactively, saving to the default journal file" }, { "from": "gpt", "value": "hledger add" } ]
[ { "from": "human", "value": "Import new transactions from `bank.csv`, using `bank.csv.rules` to convert" }, { "from": "gpt", "value": "hledger import path/to/bank.csv" } ]
[ { "from": "human", "value": "Print all transactions, reading from multiple specified journal files" }, { "from": "gpt", "value": "hledger print --file path/to/prices-2024.journal --file path/to/prices-2023.journal" } ]
[ { "from": "human", "value": "Show all accounts, as a hierarchy, and their types" }, { "from": "gpt", "value": "hledger accounts --tree --types" } ]
[ { "from": "human", "value": "Show asset and liability account balances, including zeros, hierarchically" }, { "from": "gpt", "value": "hledger balancesheet --empty --tree --no-elide" } ]
[ { "from": "human", "value": "Show monthly incomes/expenses/totals, largest first, summarised to 2 levels" }, { "from": "gpt", "value": "hledger incomestatement --monthly --row-total --average --sort --depth 2" } ]
[ { "from": "human", "value": "Show the `assets:bank:checking` account's transactions and running balance" }, { "from": "gpt", "value": "hledger aregister assets:bank:checking" } ]
[ { "from": "human", "value": "Show the amount spent on food from the `assets:cash` account" }, { "from": "gpt", "value": "hledger print assets:cash | hledger -f- -I aregister expenses:food" } ]
[ { "from": "human", "value": "Ping a Bluetooth device" }, { "from": "gpt", "value": "sudo l2ping mac_address" } ]
[ { "from": "human", "value": "Reverse ping a Bluetooth device" }, { "from": "gpt", "value": "sudo l2ping -r mac_address" } ]
[ { "from": "human", "value": "Ping a Bluetooth device from a specified interface" }, { "from": "gpt", "value": "sudo l2ping -i hci0 mac_address" } ]
[ { "from": "human", "value": "Ping Bluetooth device with a specified sized data package" }, { "from": "gpt", "value": "sudo l2ping -s byte_count mac_address" } ]
[ { "from": "human", "value": "Ping flood a Bluetooth device" }, { "from": "gpt", "value": "sudo l2ping -f mac_address" } ]
[ { "from": "human", "value": "Ping a Bluetooth device a specified amount of times" }, { "from": "gpt", "value": "sudo l2ping -c amount mac_address" } ]
[ { "from": "human", "value": "Ping a Bluetooth device with a specified delay between requests" }, { "from": "gpt", "value": "sudo l2ping -d seconds mac_address" } ]
[ { "from": "human", "value": "View documentation for a builtin [f]unction, a [v]ariable or an [a]PI" }, { "from": "gpt", "value": "perldoc -f|v|a name" } ]
[ { "from": "human", "value": "Search in the question headings of Perl FAQ" }, { "from": "gpt", "value": "perldoc -q regex" } ]
[ { "from": "human", "value": "Send output directly to `stdout` (by default, it is send to a pager)" }, { "from": "gpt", "value": "perldoc -T page|module|program|URL" } ]
[ { "from": "human", "value": "Specify the language code of the desired translation" }, { "from": "gpt", "value": "perldoc -L language_code page|module|program|URL" } ]
[ { "from": "human", "value": "Send a specific number of disassociate packets given an access point's MAC address, a client's MAC address and an interface" }, { "from": "gpt", "value": "sudo aireplay-ng --deauth count --bssid ap_mac --dmac client_mac interface" } ]
[ { "from": "human", "value": "Download a file from a URL" }, { "from": "gpt", "value": "gdown url" } ]
[ { "from": "human", "value": "Download using a file ID" }, { "from": "gpt", "value": "gdown file_id" } ]
[ { "from": "human", "value": "Download with fuzzy file ID extraction (also works with <https://docs.google.com> links)" }, { "from": "gpt", "value": "gdown --fuzzy url" } ]
[ { "from": "human", "value": "Download a folder using its ID or the full URL" }, { "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" }, { "from": "gpt", "value": "gdown tar_url -O - --quiet | tar xvf -" } ]
[ { "from": "human", "value": "List all available generators" }, { "from": "gpt", "value": "rails generate" } ]
[ { "from": "human", "value": "Generate a new model named Post with attributes title and body" }, { "from": "gpt", "value": "rails generate model Post title:string body:text" } ]
[ { "from": "human", "value": "Generate a new controller named Posts with actions index, show, new and create" }, { "from": "gpt", "value": "rails generate controller Posts index show new create" } ]
[ { "from": "human", "value": "Generate a new migration that adds a category attribute to an existing model called Post" }, { "from": "gpt", "value": "rails generate migration AddCategoryToPost category:string" } ]
[ { "from": "human", "value": "Generate a scaffold for a model named Post, predefining the attributes title and body" }, { "from": "gpt", "value": "rails generate scaffold Post title:string body:text" } ]
[ { "from": "human", "value": "View cached command locations for the current shell" }, { "from": "gpt", "value": "hash" } ]
[ { "from": "human", "value": "Clear the hash table" }, { "from": "gpt", "value": "hash -r" } ]
[ { "from": "human", "value": "Delete a specific command from the hash table" }, { "from": "gpt", "value": "hash -d command" } ]
[ { "from": "human", "value": "Print the full path of `command`" }, { "from": "gpt", "value": "hash -t command" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "hash --help" } ]
[ { "from": "human", "value": "Find (passively) subdomains of a [d]omain" }, { "from": "gpt", "value": "amass enum -d domain_name" } ]
[ { "from": "human", "value": "Find subdomains of a [d]omain and actively verify them attempting to resolve the found subdomains" }, { "from": "gpt", "value": "amass enum -active -d domain_name -p 80,443,8080" } ]
[ { "from": "human", "value": "Do a brute force search for sub[d]omains" }, { "from": "gpt", "value": "amass enum -brute -d domain_name" } ]
[ { "from": "human", "value": "Save the results to a text file" }, { "from": "gpt", "value": "amass enum -o output_file -d domain_name" } ]
[ { "from": "human", "value": "Save terminal output to a file and other detailed output to a directory" }, { "from": "gpt", "value": "amass enum -o output_file -dir path/to/directory -d domain_name" } ]
[ { "from": "human", "value": "List all available data sources" }, { "from": "gpt", "value": "amass enum -list" } ]
[ { "from": "human", "value": "Start the server with the default configuration" }, { "from": "gpt", "value": "traefik" } ]
[ { "from": "human", "value": "Start the server with a custom configuration file" }, { "from": "gpt", "value": "traefik --ConfigFile config_file.toml" } ]
[ { "from": "human", "value": "Start the server with cluster mode enabled" }, { "from": "gpt", "value": "traefik --cluster" } ]
[ { "from": "human", "value": "Start server with web UI enabled" }, { "from": "gpt", "value": "traefik --web" } ]
[ { "from": "human", "value": "Start JupyterLab" }, { "from": "gpt", "value": "jupyter lab" } ]
[ { "from": "human", "value": "Open a specific notebook" }, { "from": "gpt", "value": "jupyter lab path/to/notebook.ipynb" } ]