conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "List metadata attributes that can be extracted"
},
{
"from": "gpt",
"value": "mediainfo --Info-Parameters"
}
] |
[
{
"from": "human",
"value": "View documentation for the `for` keyword"
},
{
"from": "gpt",
"value": "tldr for"
}
] |
[
{
"from": "human",
"value": "View documentation for the `while` keyword"
},
{
"from": "gpt",
"value": "tldr while"
}
] |
[
{
"from": "human",
"value": "View documentation for the `select` keyword"
},
{
"from": "gpt",
"value": "tldr select"
}
] |
[
{
"from": "human",
"value": "View documentation for the `until` keyword"
},
{
"from": "gpt",
"value": "tldr until"
}
] |
[
{
"from": "human",
"value": "Retry a command until it succeeds"
},
{
"from": "gpt",
"value": "retry command"
}
] |
[
{
"from": "human",
"value": "Retry a command every n seconds until it succeeds"
},
{
"from": "gpt",
"value": "retry --delay=n command"
}
] |
[
{
"from": "human",
"value": "Give up after n attempts"
},
{
"from": "gpt",
"value": "retry --times=n command"
}
] |
[
{
"from": "human",
"value": "Rename an existing Git tag locally and remotely"
},
{
"from": "gpt",
"value": "git rename-tag old_tag_name new_tag_name"
}
] |
[
{
"from": "human",
"value": "Specify the storage directory (default: `/data/db` on Linux and macOS, `C:\\data\\db` on Windows)"
},
{
"from": "gpt",
"value": "mongod --dbpath path/to/directory"
}
] |
[
{
"from": "human",
"value": "Specify a configuration file"
},
{
"from": "gpt",
"value": "mongod --config path/to/file"
}
] |
[
{
"from": "human",
"value": "Specify the port to listen on (default: 27017)"
},
{
"from": "gpt",
"value": "mongod --port port"
}
] |
[
{
"from": "human",
"value": "Specify the database profiling level. 0 is off, 1 is only slow operations, 2 is all (default: 0)"
},
{
"from": "gpt",
"value": "mongod --profile 0|1|2"
}
] |
[
{
"from": "human",
"value": "Read a PGM image, apply dithering and save it to a file"
},
{
"from": "gpt",
"value": "ppmditherbw path/to/image.pgm > path/to/file.pgm"
}
] |
[
{
"from": "human",
"value": "Use the specified quantization method"
},
{
"from": "gpt",
"value": "ppmditherbw -floyd|fs|atkinson|threshold|hilbert|... path/to/image.pgm > path/to/file.pgm"
}
] |
[
{
"from": "human",
"value": "Use the atkinson quantization method and the specified seed for a pseudo-random number generator"
},
{
"from": "gpt",
"value": "ppmditherbw [-a|-atkinson] [-r|-randomseed] 1337 path/to/image.pgm > path/to/file.pgm"
}
] |
[
{
"from": "human",
"value": "Specify the thresholding value for quantization methods that perform some sort of thresholding"
},
{
"from": "gpt",
"value": "ppmditherbw -fs|atkinson|thresholding [-va|-value] 0.3 path/to/image.pgm > path/to/file.pgm"
}
] |
[
{
"from": "human",
"value": "Create a blank bitmap of the specified dimensions"
},
{
"from": "gpt",
"value": "pbmmake width height > path/to/output_file.pbm"
}
] |
[
{
"from": "human",
"value": "Specify the color of the created bitmap"
},
{
"from": "gpt",
"value": "pbmmake -white|black|grey width height > path/to/output_file.pbm"
}
] |
[
{
"from": "human",
"value": "Query an LDAP server for all items that are a member of the given group and return the object's displayName value"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host -b base_ou 'memberOf=group1' displayName"
}
] |
[
{
"from": "human",
"value": "Query an LDAP server with a no-newline password file for all items that are a member of the given group and return the object's displayName value"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -y 'password_file' -h ldap_host -b base_ou 'memberOf=group1' disp... |
[
{
"from": "human",
"value": "Return 5 items that match the given filter"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host -b base_ou 'memberOf=group1' -z 5 displayName"
}
] |
[
{
"from": "human",
"value": "Wait up to 7 seconds for a response"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host -b base_ou 'memberOf=group1' -l 7 displayName"
}
] |
[
{
"from": "human",
"value": "Invert the filter"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host -b base_ou '(!(memberOf=group1))' displayName"
}
] |
[
{
"from": "human",
"value": "Return all items that are part of multiple groups, returning the display name for each item"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host '(&(memberOf=group1)(memberOf=group2)(memberOf=group3))' \"displayName\""
}
] |
[
{
"from": "human",
"value": "Return all items that are members of at least 1 of the specified groups"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host '(|(memberOf=group1)(memberOf=group1)(memberOf=group3))' displayName"
}
] |
[
{
"from": "human",
"value": "Combine multiple boolean logic filters"
},
{
"from": "gpt",
"value": "ldapsearch -D 'admin_DN' -w 'password' -h ldap_host '(&(memberOf=group1)(memberOf=group2)(!(memberOf=group3)))' displayName"
}
] |
[
{
"from": "human",
"value": "Check all files in the current directory (including subdirectories)"
},
{
"from": "gpt",
"value": "rubocop"
}
] |
[
{
"from": "human",
"value": "Check one or more specific files or directories"
},
{
"from": "gpt",
"value": "rubocop path/to/file_or_directory1 path/to/file_or_directory2 ..."
}
] |
[
{
"from": "human",
"value": "Write output to file"
},
{
"from": "gpt",
"value": "rubocop --out path/to/file"
}
] |
[
{
"from": "human",
"value": "View list of cops (linter rules)"
},
{
"from": "gpt",
"value": "rubocop --show-cops"
}
] |
[
{
"from": "human",
"value": "Exclude a cop"
},
{
"from": "gpt",
"value": "rubocop --except cop1 cop2 ..."
}
] |
[
{
"from": "human",
"value": "Run only specified cops"
},
{
"from": "gpt",
"value": "rubocop --only cop1 cop2 ..."
}
] |
[
{
"from": "human",
"value": "Auto-correct files (experimental)"
},
{
"from": "gpt",
"value": "rubocop --auto-correct"
}
] |
[
{
"from": "human",
"value": "Start the HTTP server serving the current directory with verbose output (listen on all interfaces and port 8000 by default)"
},
{
"from": "gpt",
"value": "simplehttpserver -verbose"
}
] |
[
{
"from": "human",
"value": "Start the HTTP server with basic authentication serving a specific path over port 80 on all interfaces"
},
{
"from": "gpt",
"value": "sudo simplehttpserver -basic-auth username:password -path /var/www/html -listen 0.0.0.0:80"
}
] |
[
{
"from": "human",
"value": "Start the HTTP server, enabling HTTPS using a self-signed certificate with custom SAN on all interfaces"
},
{
"from": "gpt",
"value": "sudo simplehttpserver -https -domain *.selfsigned.com -listen 0.0.0.0:443"
}
] |
[
{
"from": "human",
"value": "Start the HTTP server with custom response headers and upload capability"
},
{
"from": "gpt",
"value": "simplehttpserver -upload -header 'X-Powered-By: Go' -header 'Server: SimpleHTTPServer'"
}
] |
[
{
"from": "human",
"value": "Start the HTTP server with customizable rules in YAML (see documentation for DSL)"
},
{
"from": "gpt",
"value": "simplehttpserver -rules rules.yaml"
}
] |
[
{
"from": "human",
"value": "Show all available subcommands and flags"
},
{
"from": "gpt",
"value": "pueue help"
}
] |
[
{
"from": "human",
"value": "Display help for a specific subcommand"
},
{
"from": "gpt",
"value": "pueue help subcommand"
}
] |
[
{
"from": "human",
"value": "Inspect the changes to a container since it was created"
},
{
"from": "gpt",
"value": "docker diff container"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "docker diff --help"
}
] |
[
{
"from": "human",
"value": "Show the difference between traceroutes in two `warts` files"
},
{
"from": "gpt",
"value": "sc_tracediff path/to/file1.warts path/to/file2.warts"
}
] |
[
{
"from": "human",
"value": "Show the difference between the traceroutes in two `warts` files, including those that have not changed"
},
{
"from": "gpt",
"value": "sc_tracediff -a path/to/file1.warts path/to/file2.warts"
}
] |
[
{
"from": "human",
"value": "Show the difference between the traceroutes in two `warts` files and try to show DNS names and not IP addresses if possible"
},
{
"from": "gpt",
"value": "sc_tracediff -n path/to/file1.warts path/to/file2.warts"
}
] |
[
{
"from": "human",
"value": "Start `wuzz`"
},
{
"from": "gpt",
"value": "wuzz"
}
] |
[
{
"from": "human",
"value": "Send an HTTP request"
},
{
"from": "gpt",
"value": "<Ctrl r>"
}
] |
[
{
"from": "human",
"value": "Switch to the next view"
},
{
"from": "gpt",
"value": "<Ctrl j><Tab>"
}
] |
[
{
"from": "human",
"value": "Switch to the previous view"
},
{
"from": "gpt",
"value": "<Ctrl k><Shift Tab>"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "<F1>"
}
] |
[
{
"from": "human",
"value": "Add or remove a URL from a torrent's announce list"
},
{
"from": "gpt",
"value": "transmission-edit --add|delete http://example.com path/to/file.torrent"
}
] |
[
{
"from": "human",
"value": "Update a tracker's passcode in a torrent file"
},
{
"from": "gpt",
"value": "transmission-edit --replace old-passcode new-passcode path/to/file.torrent"
}
] |
[
{
"from": "human",
"value": "Blend the specified PPM images using fadefactor to control the weight of each image"
},
{
"from": "gpt",
"value": "ppmmix fadefactor path/to/input_file1.ppm path/to/input_file2.ppm > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "Find the processes that have a given file open"
},
{
"from": "gpt",
"value": "lsof path/to/file"
}
] |
[
{
"from": "human",
"value": "Find the process that opened a local internet port"
},
{
"from": "gpt",
"value": "lsof -i :port"
}
] |
[
{
"from": "human",
"value": "Only output the process ID (PID)"
},
{
"from": "gpt",
"value": "lsof -t path/to/file"
}
] |
[
{
"from": "human",
"value": "List files opened by the given user"
},
{
"from": "gpt",
"value": "lsof -u username"
}
] |
[
{
"from": "human",
"value": "List files opened by the given command or process"
},
{
"from": "gpt",
"value": "lsof -c process_or_command_name"
}
] |
[
{
"from": "human",
"value": "List files opened by a specific process, given its PID"
},
{
"from": "gpt",
"value": "lsof -p PID"
}
] |
[
{
"from": "human",
"value": "List open files in a directory"
},
{
"from": "gpt",
"value": "lsof +D path/to/directory"
}
] |
[
{
"from": "human",
"value": "Find the process that is listening on a local IPv6 TCP port and don't convert network or port numbers"
},
{
"from": "gpt",
"value": "lsof -i6TCP:port -sTCP:LISTEN -n -P"
}
] |
[
{
"from": "human",
"value": "Combine the images whose names match the `printf`-style filename expression. Assume a grid with a specific size"
},
{
"from": "gpt",
"value": "pamundice filename_%1d_%1a.ppm [-a|-across] grid_width [-d|-down] grid_height > path/to/output.ppm"
}
] |
[
{
"from": "human",
"value": "Assume that the tiles overlap horizontally and vertically by the specified amount"
},
{
"from": "gpt",
"value": "pamundice filename_%1d_%1a.ppm [-a|-across] x_value [-d|-down] y_value [-h|-hoverlap] value [-vo|-voverlap] value > path/to/output.ppm"
}
] |
[
{
"from": "human",
"value": "Specify the images to be combined through a text file containing one filename per line"
},
{
"from": "gpt",
"value": "pamundice [-l|-listfile] path/to/file.txt [-a|-across] x_value [-d|-down] y_value > path/to/output.ppm"
}
] |
[
{
"from": "human",
"value": "Start the `atd` daemon"
},
{
"from": "gpt",
"value": "systemctl start atd"
}
] |
[
{
"from": "human",
"value": "Create commands interactively and execute them in 5 minutes (press `<Ctrl d>` when done)"
},
{
"from": "gpt",
"value": "at now + 5 minutes"
}
] |
[
{
"from": "human",
"value": "Create commands interactively and execute them at a specific time"
},
{
"from": "gpt",
"value": "at hh:mm"
}
] |
[
{
"from": "human",
"value": "Execute a command from `stdin` at 10:00 AM today"
},
{
"from": "gpt",
"value": "echo \"command\" | at 1000"
}
] |
[
{
"from": "human",
"value": "Execute commands from a given file next Tuesday"
},
{
"from": "gpt",
"value": "at -f path/to/file 9:30 PM Tue"
}
] |
[
{
"from": "human",
"value": "List all queued jobs for the current user (same as `atq`)"
},
{
"from": "gpt",
"value": "at -l"
}
] |
[
{
"from": "human",
"value": "View a specied job"
},
{
"from": "gpt",
"value": "at -c job_number"
}
] |
[
{
"from": "human",
"value": "Initialize a backup repository in the specified local directory"
},
{
"from": "gpt",
"value": "restic init --repo path/to/repository"
}
] |
[
{
"from": "human",
"value": "Backup a directory to the repository"
},
{
"from": "gpt",
"value": "restic --repo path/to/repository backup path/to/directory"
}
] |
[
{
"from": "human",
"value": "Show backup snapshots currently stored in the repository"
},
{
"from": "gpt",
"value": "restic --repo path/to/repository snapshots"
}
] |
[
{
"from": "human",
"value": "Restore a specific backup snapshot to a target directory"
},
{
"from": "gpt",
"value": "restic --repo path/to/repository restore latest|snapshot_id --target path/to/target"
}
] |
[
{
"from": "human",
"value": "Restore a specific path from a specific backup to a target directory"
},
{
"from": "gpt",
"value": "restic --repo path/to/repository restore snapshot_id --target path/to/target --include path/to/restore"
}
] |
[
{
"from": "human",
"value": "Clean up the repository and keep only the most recent snapshot of each unique backup"
},
{
"from": "gpt",
"value": "restic forget --keep-last 1 --prune"
}
] |
[
{
"from": "human",
"value": "List all availables queues"
},
{
"from": "gpt",
"value": "aws sqs list-queues"
}
] |
[
{
"from": "human",
"value": "Display the URL of a specific queue"
},
{
"from": "gpt",
"value": "aws sqs get-queue-url --queue-name queue_name"
}
] |
[
{
"from": "human",
"value": "Create a queue with specific attributes from a file in JSON format"
},
{
"from": "gpt",
"value": "aws sqs create-queue --queue-name queue_name --attributes file://path/to/attributes_file.json"
}
] |
[
{
"from": "human",
"value": "Send a specific message to a queue"
},
{
"from": "gpt",
"value": "aws sqs send-message --queue-url https://sqs.region.amazonaws.com/queue_name --message-body \"message_body\" --delay-seconds delay --message-attributes file://path/to/attributes_file.json"
}
] |
[
{
"from": "human",
"value": "Delete the specified message from a queue"
},
{
"from": "gpt",
"value": "aws sqs delete-message --queue-url https://queue_url --receipt-handle receipt_handle"
}
] |
[
{
"from": "human",
"value": "Delete a specific queue"
},
{
"from": "gpt",
"value": "aws sqs delete-queue --queue-url https://sqs.region.amazonaws.com/queue_name"
}
] |
[
{
"from": "human",
"value": "Delete all messages from the specified queue"
},
{
"from": "gpt",
"value": "aws sqs purge-queue --queue-url https://sqs.region.amazonaws.com/queue_name"
}
] |
[
{
"from": "human",
"value": "Enable a specific AWS account to send messages to queue"
},
{
"from": "gpt",
"value": "aws sqs add-permission --queue-url https://sqs.region.amazonaws.com/queue_name --label permission_name --aws-account-ids account_id --actions SendMessage"
}
] |
[
{
"from": "human",
"value": "Display the numeric identifier for the current host in hexadecimal"
},
{
"from": "gpt",
"value": "hostid"
}
] |
[
{
"from": "human",
"value": "Add an item to DID section"
},
{
"from": "gpt",
"value": "laydown did item"
}
] |
[
{
"from": "human",
"value": "Add an item to DOING section"
},
{
"from": "gpt",
"value": "laydown doing item"
}
] |
[
{
"from": "human",
"value": "Clear all items"
},
{
"from": "gpt",
"value": "laydown clear"
}
] |
[
{
"from": "human",
"value": "Use an editor to edit current data"
},
{
"from": "gpt",
"value": "laydown edit"
}
] |
[
{
"from": "human",
"value": "Archive and clear current data"
},
{
"from": "gpt",
"value": "laydown archive"
}
] |
[
{
"from": "human",
"value": "Print all branches which are merged into the current head"
},
{
"from": "gpt",
"value": "git show-merged-branches"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr chromium"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr clang"
}
] |
[
{
"from": "human",
"value": "Display the histogram for human reading"
},
{
"from": "gpt",
"value": "pgmhist path/to/image.pgm"
}
] |
[
{
"from": "human",
"value": "Display the median grey value"
},
{
"from": "gpt",
"value": "pgmhist [-me|-median] path/to/image.pgm"
}
] |
[
{
"from": "human",
"value": "Display four quartile grey value"
},
{
"from": "gpt",
"value": "pgmhist [-qua|-quartile] path/to/image.pgm"
}
] |
[
{
"from": "human",
"value": "Report the existence of invalid grey values"
},
{
"from": "gpt",
"value": "pgmhist [-f|-forensic] path/to/image.pgm"
}
] |
[
{
"from": "human",
"value": "Display machine-readable output"
},
{
"from": "gpt",
"value": "pgmhist [-ma|-machine] path/to/image.pgm"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.