conversations
listlengths
2
2
[ { "from": "human", "value": "Read secret references from a file and save plaintext secrets to a file" }, { "from": "gpt", "value": "op inject --in-file path/to/input_file --out-file path/to/output_file" } ]
[ { "from": "human", "value": "Run make build" }, { "from": "gpt", "value": "sfdk make" } ]
[ { "from": "human", "value": "Run make with extra arguments" }, { "from": "gpt", "value": "sfdk make arguments" } ]
[ { "from": "human", "value": "Scan a web server for common paths with common extensions" }, { "from": "gpt", "value": "dirsearch --url url --extensions-list" } ]
[ { "from": "human", "value": "Scan a list of web servers for common paths with the `.php` extension" }, { "from": "gpt", "value": "dirsearch --url-list path/to/url-list.txt --extensions php" } ]
[ { "from": "human", "value": "Scan a web server for user-defined paths with common extensions" }, { "from": "gpt", "value": "dirsearch --url url --extensions-list --wordlist path/to/url-paths.txt" } ]
[ { "from": "human", "value": "Scan a web server using a cookie" }, { "from": "gpt", "value": "dirsearch --url url --extensions php --cookie cookie" } ]
[ { "from": "human", "value": "Scan a web server using the `HEAD` HTTP method" }, { "from": "gpt", "value": "dirsearch --url url --extensions php --http-method HEAD" } ]
[ { "from": "human", "value": "Scan a web server, saving the results to a `.json` file" }, { "from": "gpt", "value": "dirsearch --url url --extensions php --json-report path/to/report.json" } ]
[ { "from": "human", "value": "List all available zfs filesystems" }, { "from": "gpt", "value": "zfs list" } ]
[ { "from": "human", "value": "Create a new ZFS filesystem" }, { "from": "gpt", "value": "zfs create pool_name/filesystem_name" } ]
[ { "from": "human", "value": "Delete a ZFS filesystem" }, { "from": "gpt", "value": "zfs destroy pool_name/filesystem_name" } ]
[ { "from": "human", "value": "Create a Snapshot of a ZFS filesystem" }, { "from": "gpt", "value": "zfs snapshot pool_name/filesystem_name@snapshot_name" } ]
[ { "from": "human", "value": "Enable compression on a filesystem" }, { "from": "gpt", "value": "zfs set compression=on pool_name/filesystem_name" } ]
[ { "from": "human", "value": "Change mountpoint for a filesystem" }, { "from": "gpt", "value": "zfs set mountpoint=/my/mount/path pool_name/filesystem_name" } ]
[ { "from": "human", "value": "Initialize a new Dart project in a directory of the same name" }, { "from": "gpt", "value": "dart create project_name" } ]
[ { "from": "human", "value": "Run a Dart file" }, { "from": "gpt", "value": "dart run path/to/file.dart" } ]
[ { "from": "human", "value": "Download dependencies for the current project" }, { "from": "gpt", "value": "dart pub get" } ]
[ { "from": "human", "value": "Run unit tests for the current project" }, { "from": "gpt", "value": "dart test" } ]
[ { "from": "human", "value": "Update an outdated project's dependencies to support null-safety" }, { "from": "gpt", "value": "dart pub upgrade --null-safety" } ]
[ { "from": "human", "value": "Compile a Dart file to a native binary" }, { "from": "gpt", "value": "dart compile exe path/to/file.dart" } ]
[ { "from": "human", "value": "Apply automated fixes to the current project" }, { "from": "gpt", "value": "dart fix --apply" } ]
[ { "from": "human", "value": "Test the package found in the current directory" }, { "from": "gpt", "value": "go test" } ]
[ { "from": "human", "value": "[v]erbosely test the package in the current directory" }, { "from": "gpt", "value": "go test -v" } ]
[ { "from": "human", "value": "Test the packages in the current directory and all subdirectories (note the `...`)" }, { "from": "gpt", "value": "go test -v ./..." } ]
[ { "from": "human", "value": "Test the package in the current directory and run all benchmarks" }, { "from": "gpt", "value": "go test -v -bench ." } ]
[ { "from": "human", "value": "Test the package in the current directory and run all benchmarks for 50 seconds" }, { "from": "gpt", "value": "go test -v -bench . -benchtime 50s" } ]
[ { "from": "human", "value": "Test the package with coverage analysis" }, { "from": "gpt", "value": "go test -cover" } ]
[ { "from": "human", "value": "Transpile using one or more comma-separated transformations" }, { "from": "gpt", "value": "lebab --transform transformation1,transformation2,..." } ]
[ { "from": "human", "value": "Transpile a file to `stdout`" }, { "from": "gpt", "value": "lebab path/to/input_file" } ]
[ { "from": "human", "value": "Transpile a file to the specified output file" }, { "from": "gpt", "value": "lebab path/to/input_file --out-file path/to/output_file" } ]
[ { "from": "human", "value": "Replace all `.js` files in-place in the specified directory, glob or file" }, { "from": "gpt", "value": "lebab --replace directory|glob|file" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "lebab --help" } ]
[ { "from": "human", "value": "Convert an Atari Degas PI1 image into PPM image" }, { "from": "gpt", "value": "pi1toppm path/to/atari_image.pi1 > path/to/image.ppm" } ]
[ { "from": "human", "value": "Start an interactive session" }, { "from": "gpt", "value": "octave" } ]
[ { "from": "human", "value": "Execute a specific script file" }, { "from": "gpt", "value": "octave path/to/script.m" } ]
[ { "from": "human", "value": "Execute a script file with specific arguments" }, { "from": "gpt", "value": "octave path/to/script.m argument1 argument2 ..." } ]
[ { "from": "human", "value": "Start an interactive session with a GUI" }, { "from": "gpt", "value": "octave --gui" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "octave --help" } ]
[ { "from": "human", "value": "Display version" }, { "from": "gpt", "value": "octave --version" } ]
[ { "from": "human", "value": "Align the data of a Zip file on 4-byte boundaries" }, { "from": "gpt", "value": "zipalign 4 path/to/input.zip path/to/output.zip" } ]
[ { "from": "human", "value": "Check that a Zip file is correctly aligned on 4-byte boundaries and display the results in a verbose manner" }, { "from": "gpt", "value": "zipalign -v -c 4 path/to/input.zip" } ]
[ { "from": "human", "value": "Download a course using cookie-based authentication" }, { "from": "gpt", "value": "llvd [-c|--course] course-slug --cookies" } ]
[ { "from": "human", "value": "Download a course at a specific resolution" }, { "from": "gpt", "value": "llvd [-c|--course] course-slug [-r|--resolution] 720" } ]
[ { "from": "human", "value": "Download a course with captions (subtitles)" }, { "from": "gpt", "value": "llvd [-c|--course] course-slug [-ca|--caption]" } ]
[ { "from": "human", "value": "Download a course path with throttling between 10 to 30 seconds" }, { "from": "gpt", "value": "llvd [-p|--path] path-slug [-t|--throttle] 10,30 --cookies" } ]
[ { "from": "human", "value": "List available network interfaces and select one to start capturing packets (requires `sudo`)" }, { "from": "gpt", "value": "sudo sniff.py" } ]
[ { "from": "human", "value": "Capture packets and save output to a file while displaying it on the terminal" }, { "from": "gpt", "value": "sudo sniff.py | sudo tee output_file" } ]
[ { "from": "human", "value": "Define a property (like compute/zone) for the current configuration" }, { "from": "gpt", "value": "gcloud config set property value" } ]
[ { "from": "human", "value": "Fetch the value of a `gcloud` property" }, { "from": "gpt", "value": "gcloud config get property" } ]
[ { "from": "human", "value": "Display all the properties for the current configuration" }, { "from": "gpt", "value": "gcloud config list" } ]
[ { "from": "human", "value": "Create a new configuration with a given name" }, { "from": "gpt", "value": "gcloud config configurations create configuration_name" } ]
[ { "from": "human", "value": "Display a list of all available configurations" }, { "from": "gpt", "value": "gcloud config configurations list" } ]
[ { "from": "human", "value": "Switch to an existing configuration with a given name" }, { "from": "gpt", "value": "gcloud config configurations activate configuration_name" } ]
[ { "from": "human", "value": "Edit the output of `command1` before piping it into `command2`" }, { "from": "gpt", "value": "command1 | vipe | command2" } ]
[ { "from": "human", "value": "Buffer the output of `command1` in a temporary file with the specified file extension in order to aid syntax highlighting" }, { "from": "gpt", "value": "command1 | vipe --suffix json | command2" } ]
[ { "from": "human", "value": "Use the specified text editor" }, { "from": "gpt", "value": "command1 | EDITOR=vim vipe | command2" } ]
[ { "from": "human", "value": "Bundle a JavaScript application and print to `stdout`" }, { "from": "gpt", "value": "esbuild --bundle path/to/file.js" } ]
[ { "from": "human", "value": "Bundle a JSX application from `stdin`" }, { "from": "gpt", "value": "esbuild --bundle --outfile=path/to/out.js < path/to/file.jsx" } ]
[ { "from": "human", "value": "Bundle and minify a JSX application with source maps in `production` mode" }, { "from": "gpt", "value": "esbuild --bundle --define:process.env.NODE_ENV=\\\"production\\\" --minify --sourcemap path/to/file.js" } ]
[ { "from": "human", "value": "Bundle a JSX application for a comma-separated list of browsers" }, { "from": "gpt", "value": "esbuild --bundle --minify --sourcemap --target=chrome58,firefox57,safari11,edge16 path/to/file.jsx" } ]
[ { "from": "human", "value": "Bundle a JavaScript application for a specific node version" }, { "from": "gpt", "value": "esbuild --bundle --platform=node --target=node12 path/to/file.js" } ]
[ { "from": "human", "value": "Bundle a JavaScript application enabling JSX syntax in `.js` files" }, { "from": "gpt", "value": "esbuild --bundle app.js --loader:.js=jsx path/to/file.js" } ]
[ { "from": "human", "value": "Bundle and serve a JavaScript application on an HTTP server" }, { "from": "gpt", "value": "esbuild --bundle --serve=port --outfile=index.js path/to/file.js" } ]
[ { "from": "human", "value": "Bundle a list of files to an output directory" }, { "from": "gpt", "value": "esbuild --bundle --outdir=path/to/output_directory path/to/file1 path/to/file2 ..." } ]
[ { "from": "human", "value": "Start the server and serve the rendered `README` file of a current directory" }, { "from": "gpt", "value": "grip" } ]
[ { "from": "human", "value": "Start the server and serve a specific Markdown file" }, { "from": "gpt", "value": "grip path/to/file.md" } ]
[ { "from": "human", "value": "Start the server and open the `README` file of the current directory in the browser" }, { "from": "gpt", "value": "grip --browser" } ]
[ { "from": "human", "value": "Start the server in the specified port and serve the rendered `README` file of the current directory" }, { "from": "gpt", "value": "grip port" } ]
[ { "from": "human", "value": "Make a new draft" }, { "from": "gpt", "value": "lb new" } ]
[ { "from": "human", "value": "Edit a draft" }, { "from": "gpt", "value": "lb edit" } ]
[ { "from": "human", "value": "Delete a draft" }, { "from": "gpt", "value": "lb trash" } ]
[ { "from": "human", "value": "Publish a draft" }, { "from": "gpt", "value": "lb publish" } ]
[ { "from": "human", "value": "Delete a published post" }, { "from": "gpt", "value": "lb delete" } ]
[ { "from": "human", "value": "Unpublish a published post to edit it as a draft again" }, { "from": "gpt", "value": "lb revise" } ]
[ { "from": "human", "value": "Run a function" }, { "from": "gpt", "value": "aws lambda invoke --function-name name path/to/response.json" } ]
[ { "from": "human", "value": "Run a function with an input payload in JSON format" }, { "from": "gpt", "value": "aws lambda invoke --function-name name --payload json path/to/response.json" } ]
[ { "from": "human", "value": "List functions" }, { "from": "gpt", "value": "aws lambda list-functions" } ]
[ { "from": "human", "value": "Display the configuration of a function" }, { "from": "gpt", "value": "aws lambda get-function-configuration --function-name name" } ]
[ { "from": "human", "value": "List function aliases" }, { "from": "gpt", "value": "aws lambda list-aliases --function-name name" } ]
[ { "from": "human", "value": "Display the reserved concurrency configuration for a function" }, { "from": "gpt", "value": "aws lambda get-function-concurrency --function-name name" } ]
[ { "from": "human", "value": "List which AWS services can invoke the function" }, { "from": "gpt", "value": "aws lambda get-policy --function-name name" } ]
[ { "from": "human", "value": "Encrypt a file for `user` and save it to `message.age`" }, { "from": "gpt", "value": "echo \"Your secret message\" | rage --encrypt --recipient user --output path/to/message.age" } ]
[ { "from": "human", "value": "Decrypt a file with `identity_file` and save it to `message`" }, { "from": "gpt", "value": "rage --decrypt --identity path/to/identity_file --output message" } ]
[ { "from": "human", "value": "Display the running processes of a container" }, { "from": "gpt", "value": "docker top container" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "docker top --help" } ]
[ { "from": "human", "value": "Scan a file or directory for vulnerabilities" }, { "from": "gpt", "value": "clamdscan path/to/file_or_directory" } ]
[ { "from": "human", "value": "Scan data from `stdin`" }, { "from": "gpt", "value": "command | clamdscan -" } ]
[ { "from": "human", "value": "Scan the current directory and output only infected files" }, { "from": "gpt", "value": "clamdscan --infected" } ]
[ { "from": "human", "value": "Print the scan report to a log file" }, { "from": "gpt", "value": "clamdscan --log path/to/log_file" } ]
[ { "from": "human", "value": "Move infected files to a specific directory" }, { "from": "gpt", "value": "clamdscan --move path/to/quarantine_directory" } ]
[ { "from": "human", "value": "Remove infected files" }, { "from": "gpt", "value": "clamdscan --remove" } ]
[ { "from": "human", "value": "Use multiple threads to scan a directory" }, { "from": "gpt", "value": "clamdscan --multiscan" } ]
[ { "from": "human", "value": "Pass the file descriptor instead of streaming the file to the daemon" }, { "from": "gpt", "value": "clamdscan --fdpass" } ]
[ { "from": "human", "value": "Send a message to the `security` topic" }, { "from": "gpt", "value": "ntfy pub security \"Front door has been opened.\"" } ]
[ { "from": "human", "value": "Send with a title, priority and tags" }, { "from": "gpt", "value": "ntfy publish --title=\"Someone bought your item\" --priority=high --tags=duck ebay \"Someone just bought your item: Platypus Sculpture\"" } ]
[ { "from": "human", "value": "Send at 8:30am" }, { "from": "gpt", "value": "ntfy pub --at=8:30am delayed_topic \"Time for school, sleepyhead...\"" } ]
[ { "from": "human", "value": "Trigger a webhook" }, { "from": "gpt", "value": "ntfy trigger my_webhook" } ]
[ { "from": "human", "value": "Subscribe to a topic (`<Ctrl c>` to stop listening)" }, { "from": "gpt", "value": "ntfy sub home_automation" } ]
[ { "from": "human", "value": "Display help" }, { "from": "gpt", "value": "ntfy --help" } ]