conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Show commits (and their messages) with equivalent commits upstream"
},
{
"from": "gpt",
"value": "git cherry [-v|--verbose]"
}
] |
[
{
"from": "human",
"value": "Specify a different upstream and topic branch"
},
{
"from": "gpt",
"value": "git cherry origin topic"
}
] |
[
{
"from": "human",
"value": "Limit commits to those within a given limit"
},
{
"from": "gpt",
"value": "git cherry origin topic base"
}
] |
[
{
"from": "human",
"value": "Display Java version by using coursier"
},
{
"from": "gpt",
"value": "cs java -version"
}
] |
[
{
"from": "human",
"value": "Call a specific Java version with custom properties using coursier"
},
{
"from": "gpt",
"value": "cs java --jvm jvm_name:jvm_version -Xmx32m -Xanother_jvm_opt -jar path/to/jar_name.jar"
}
] |
[
{
"from": "human",
"value": "List all the available JVM in the coursier default index"
},
{
"from": "gpt",
"value": "cs java --available"
}
] |
[
{
"from": "human",
"value": "List all the installed JVM in the system with his own location"
},
{
"from": "gpt",
"value": "cs java --installed"
}
] |
[
{
"from": "human",
"value": "Set a specific JVM as one-off default for the shell instance"
},
{
"from": "gpt",
"value": "cs java --jvm jvm_name:jvm_version --env"
}
] |
[
{
"from": "human",
"value": "Revert the changes for the default JVM settings"
},
{
"from": "gpt",
"value": "eval \"$(cs java --disable)\""
}
] |
[
{
"from": "human",
"value": "Set a specific JVM as default for the whole system"
},
{
"from": "gpt",
"value": "cs java --jvm jvm_name:jvm_version --setup"
}
] |
[
{
"from": "human",
"value": "Create a PPM image of the specified color and dimensions"
},
{
"from": "gpt",
"value": "ppmmake color width height > path/to/output_file.ppm"
}
] |
[
{
"from": "human",
"value": "Format a file and display the result to the console"
},
{
"from": "gpt",
"value": "gofmt source.go"
}
] |
[
{
"from": "human",
"value": "Format a file, overwriting the original file in-place"
},
{
"from": "gpt",
"value": "gofmt -w source.go"
}
] |
[
{
"from": "human",
"value": "Format a file, and then simplify the code, overwriting the original file"
},
{
"from": "gpt",
"value": "gofmt -s -w source.go"
}
] |
[
{
"from": "human",
"value": "Print all (including spurious) errors"
},
{
"from": "gpt",
"value": "gofmt -e source.go"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr nm"
}
] |
[
{
"from": "human",
"value": "Initialize the current directory as the build directory"
},
{
"from": "gpt",
"value": "sfdk build-init"
}
] |
[
{
"from": "human",
"value": "Initialize the specified directory as the build directory"
},
{
"from": "gpt",
"value": "sfdk build-init directory"
}
] |
[
{
"from": "human",
"value": "Search for a Haxe library"
},
{
"from": "gpt",
"value": "haxelib search keyword"
}
] |
[
{
"from": "human",
"value": "Install a Haxe library"
},
{
"from": "gpt",
"value": "haxelib install libname"
}
] |
[
{
"from": "human",
"value": "Install a specific version of a Haxe library"
},
{
"from": "gpt",
"value": "haxelib install libname version"
}
] |
[
{
"from": "human",
"value": "Upgrade all installed Haxe libraries"
},
{
"from": "gpt",
"value": "haxelib upgrade"
}
] |
[
{
"from": "human",
"value": "Install the development version of a library from a Git repository"
},
{
"from": "gpt",
"value": "haxelib git libname git_url"
}
] |
[
{
"from": "human",
"value": "Uninstall a Haxe library"
},
{
"from": "gpt",
"value": "haxelib remove libname"
}
] |
[
{
"from": "human",
"value": "Print a tree of locally installed Haxe libraries"
},
{
"from": "gpt",
"value": "haxelib list"
}
] |
[
{
"from": "human",
"value": "Launch the spreadsheet application"
},
{
"from": "gpt",
"value": "calligrasheets"
}
] |
[
{
"from": "human",
"value": "Open a specific spreadsheet"
},
{
"from": "gpt",
"value": "calligrasheets path/to/spreadsheet"
}
] |
[
{
"from": "human",
"value": "Display help or version"
},
{
"from": "gpt",
"value": "calligrasheets --help|version"
}
] |
[
{
"from": "human",
"value": "Link a specific object file with no dependencies into an executable"
},
{
"from": "gpt",
"value": "ld path/to/file.o --output path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Link two object files together"
},
{
"from": "gpt",
"value": "ld path/to/file1.o path/to/file2.o --output path/to/output_executable"
}
] |
[
{
"from": "human",
"value": "Dynamically link an x86_64 program to glibc (file paths change depending on the system)"
},
{
"from": "gpt",
"value": "ld --output path/to/output_executable --dynamic-linker /lib/ld-linux-x86-64.so.2 /lib/crt1.o /lib/crti.o -lc path/to/file.o /lib/crtn.o"
}
] |
[
{
"from": "human",
"value": "Start a new server instance serving the current directory"
},
{
"from": "gpt",
"value": "filebrowser"
}
] |
[
{
"from": "human",
"value": "Start a new server instance serving a specific root directory"
},
{
"from": "gpt",
"value": "filebrowser [-r|--root] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Start an instance with different host address (defaults to `127.0.0.1`) and port (defaults to `8080`)"
},
{
"from": "gpt",
"value": "filebrowser [-a|--address] host [-p|--port] port [-r|--root] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Start an instance with a specified configuration file, storing the application database in a specific location (defaults to `filebrowser.db` on the current directory)"
},
{
"from": "gpt",
"value": "filebrowser [-c|--config] path/to/file [-d|--database] path/to/databa... |
[
{
"from": "human",
"value": "Set up a different default first-time account username and password (both default to `admin`) when setting up a new instance"
},
{
"from": "gpt",
"value": "filebrowser --username username --password password [-r|--root] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Set up the maximum amount of image processors used when generating thumbnails (defaults to `4`)"
},
{
"from": "gpt",
"value": "filebrowser --img-processors 4 [-r|--root] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Disable image thumbnails as well as the Command Runner feature, limiting access for hosted script files from being executed inside the app"
},
{
"from": "gpt",
"value": "filebrowser --disable-exec --disable-thumbnails [-r|--root] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Disable resizing of image previews as well as detecting file types by reading their headers"
},
{
"from": "gpt",
"value": "filebrowser --disable-preview-resize --disable-type-detection-by-header [-r|--root] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Initialize a new Flutter project in a directory of the same name"
},
{
"from": "gpt",
"value": "flutter create project_name"
}
] |
[
{
"from": "human",
"value": "Check if all external tools are correctly installed"
},
{
"from": "gpt",
"value": "flutter doctor"
}
] |
[
{
"from": "human",
"value": "List or change Flutter channel"
},
{
"from": "gpt",
"value": "flutter channel stable|beta|dev|master"
}
] |
[
{
"from": "human",
"value": "Run Flutter on all started emulators and connected devices"
},
{
"from": "gpt",
"value": "flutter run -d all"
}
] |
[
{
"from": "human",
"value": "Run tests in a terminal from the root of the project"
},
{
"from": "gpt",
"value": "flutter test test/example_test.dart"
}
] |
[
{
"from": "human",
"value": "Build a release APK targeting most modern smartphones"
},
{
"from": "gpt",
"value": "flutter build apk --target-platform android-arm,android-arm64"
}
] |
[
{
"from": "human",
"value": "Display help about a specific command"
},
{
"from": "gpt",
"value": "flutter help command"
}
] |
[
{
"from": "human",
"value": "Convert a QRT file to a PPM image"
},
{
"from": "gpt",
"value": "qrttoppm path/to/file.qrt > path/to/image.ppm"
}
] |
[
{
"from": "human",
"value": "Extract the sound from a video and save it as MP3"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/video.mp4 -vn path/to/sound.mp3"
}
] |
[
{
"from": "human",
"value": "Transcode a FLAC file to Red Book CD format (44100kHz, 16bit)"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/input_audio.flac -ar 44100 -sample_fmt s16 path/to/output_audio.wav"
}
] |
[
{
"from": "human",
"value": "Save a video as GIF, scaling the height to 1000px and setting framerate to 15"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/video.mp4 [-vf|-filter:v] 'scale=-1:1000' -r 15 path/to/output.gif"
}
] |
[
{
"from": "human",
"value": "Combine numbered images (`frame_1.jpg`, `frame_2.jpg`, etc) into a video or GIF"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/frame_%d.jpg -f image2 video.mpg|video.gif"
}
] |
[
{
"from": "human",
"value": "Trim a video from a given start time mm:ss to an end time mm2:ss2 (omit the -to flag to trim till the end)"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/input_video.mp4 -ss mm:ss -to mm2:ss2 [-c|-codec] copy path/to/output_video.mp4"
}
] |
[
{
"from": "human",
"value": "Convert AVI video to MP4. AAC Audio @ 128kbit, h264 Video @ CRF 23"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/input_video.avi [-c|-codec]:a aac -b:a 128k [-c|-codec]:v libx264 -crf 23 path/to/output_video.mp4"
}
] |
[
{
"from": "human",
"value": "Remux MKV video to MP4 without re-encoding audio or video streams"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/input_video.mkv [-c|-codec] copy path/to/output_video.mp4"
}
] |
[
{
"from": "human",
"value": "Convert MP4 video to VP9 codec. For the best quality, use a CRF value (recommended range 15-35) and -b:v MUST be 0"
},
{
"from": "gpt",
"value": "ffmpeg -i path/to/input_video.mp4 [-c|-codec]:v libvpx-vp9 -crf 30 -b:v 0 [-c|-codec]:a libopus -vbr on -threads number_o... |
[
{
"from": "human",
"value": "Remove an installed binary"
},
{
"from": "gpt",
"value": "cargo remove package_spec"
}
] |
[
{
"from": "human",
"value": "Test a server (run every check) on port 443"
},
{
"from": "gpt",
"value": "testssl example.com"
}
] |
[
{
"from": "human",
"value": "Test a different port"
},
{
"from": "gpt",
"value": "testssl example.com:465"
}
] |
[
{
"from": "human",
"value": "Only check available protocols"
},
{
"from": "gpt",
"value": "testssl --protocols example.com"
}
] |
[
{
"from": "human",
"value": "Only check vulnerabilities"
},
{
"from": "gpt",
"value": "testssl --vulnerable example.com"
}
] |
[
{
"from": "human",
"value": "Only check HTTP security headers"
},
{
"from": "gpt",
"value": "testssl --headers example.com"
}
] |
[
{
"from": "human",
"value": "Test other STARTTLS enabled protocols"
},
{
"from": "gpt",
"value": "testssl --starttls ftp|smtp|pop3|imap|xmpp|sieve|xmpp-server|telnet|ldap|irc|lmtp|nntp|postgres|mysql example.com:port"
}
] |
[
{
"from": "human",
"value": "Upload to PyPI"
},
{
"from": "gpt",
"value": "twine upload dist/*"
}
] |
[
{
"from": "human",
"value": "Upload to the Test PyPI repository to verify things look right"
},
{
"from": "gpt",
"value": "twine upload [-r|--repository] testpypi dist/*"
}
] |
[
{
"from": "human",
"value": "Upload to PyPI with a specified username and password"
},
{
"from": "gpt",
"value": "twine upload [-u|--username] username [-p|--password] password dist/*"
}
] |
[
{
"from": "human",
"value": "Upload to an alternative repository URL"
},
{
"from": "gpt",
"value": "twine upload --repository-url repository_url dist/*"
}
] |
[
{
"from": "human",
"value": "Check that your distribution's long description should render correctly on PyPI"
},
{
"from": "gpt",
"value": "twine check dist/*"
}
] |
[
{
"from": "human",
"value": "Upload using a specific pypirc configuration file"
},
{
"from": "gpt",
"value": "twine upload --config-file configuration_file dist/*"
}
] |
[
{
"from": "human",
"value": "Continue uploading files if one already exists (only valid when uploading to PyPI)"
},
{
"from": "gpt",
"value": "twine upload --skip-existing dist/*"
}
] |
[
{
"from": "human",
"value": "Upload to PyPI showing detailed information"
},
{
"from": "gpt",
"value": "twine upload --verbose dist/*"
}
] |
[
{
"from": "human",
"value": "Display all input data using the specified data configuration"
},
{
"from": "gpt",
"value": "ffe --configuration=path/to/config.ffe path/to/input"
}
] |
[
{
"from": "human",
"value": "Convert an input file to an output file in a new format"
},
{
"from": "gpt",
"value": "ffe --output=path/to/output -c path/to/config.ffe path/to/input"
}
] |
[
{
"from": "human",
"value": "Select input structure and print format from definitions in `~/.fferc` configuration file"
},
{
"from": "gpt",
"value": "ffe --structure=structure --print=format path/to/input"
}
] |
[
{
"from": "human",
"value": "Write only the selected fields"
},
{
"from": "gpt",
"value": "ffe --field-list=\"FirstName,LastName,Age\" -c path/to/config.ffe path/to/input"
}
] |
[
{
"from": "human",
"value": "Write only the records that match an expression"
},
{
"from": "gpt",
"value": "ffe -e \"LastName=Smith\" -c path/to/config.ffe path/to/input"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "ffe --help"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "cargo version"
}
] |
[
{
"from": "human",
"value": "Display additional build information"
},
{
"from": "gpt",
"value": "cargo version --verbose"
}
] |
[
{
"from": "human",
"value": "Check for security vulnerabilities in your current project"
},
{
"from": "gpt",
"value": "composer audit"
}
] |
[
{
"from": "human",
"value": "Omit dev dependencies in the audit"
},
{
"from": "gpt",
"value": "composer audit --no-dev"
}
] |
[
{
"from": "human",
"value": "Filter vulnerabilities by output format"
},
{
"from": "gpt",
"value": "composer audit --format table|plain|json|summary"
}
] |
[
{
"from": "human",
"value": "Output audit results to a file in JSON format"
},
{
"from": "gpt",
"value": "composer audit --format json > audit_report.json"
}
] |
[
{
"from": "human",
"value": "Verify whether a specific package in your project is affected by security issues"
},
{
"from": "gpt",
"value": "composer audit vendor/package"
}
] |
[
{
"from": "human",
"value": "Start a REPL (interactive shell)"
},
{
"from": "gpt",
"value": "scheme"
}
] |
[
{
"from": "human",
"value": "Run a scheme program (with no REPL output)"
},
{
"from": "gpt",
"value": "scheme --quiet < script.scm"
}
] |
[
{
"from": "human",
"value": "Load a scheme program into the REPL"
},
{
"from": "gpt",
"value": "scheme --load script.scm"
}
] |
[
{
"from": "human",
"value": "Load scheme expressions into the REPL"
},
{
"from": "gpt",
"value": "scheme --eval \"(define foo 'x)\""
}
] |
[
{
"from": "human",
"value": "Open the REPL in quiet mode"
},
{
"from": "gpt",
"value": "scheme --quiet"
}
] |
[
{
"from": "human",
"value": "Print a summary of the image Exif metadata"
},
{
"from": "gpt",
"value": "exiv2 path/to/file"
}
] |
[
{
"from": "human",
"value": "Print all metadata (Exif, IPTC, XMP) with interpreted values"
},
{
"from": "gpt",
"value": "exiv2 -P kt path/to/file"
}
] |
[
{
"from": "human",
"value": "Print all metadata with raw values"
},
{
"from": "gpt",
"value": "exiv2 -P kv path/to/file"
}
] |
[
{
"from": "human",
"value": "Delete all metadata from an image"
},
{
"from": "gpt",
"value": "exiv2 -d a path/to/file"
}
] |
[
{
"from": "human",
"value": "Delete all metadata, preserving the file timestamp"
},
{
"from": "gpt",
"value": "exiv2 -d a -k path/to/file"
}
] |
[
{
"from": "human",
"value": "Rename the file, prepending the date and time from metadata (not from the file timestamp)"
},
{
"from": "gpt",
"value": "exiv2 -r '%Y%m%d_%H%M%S_:basename:' path/to/file"
}
] |
[
{
"from": "human",
"value": "Test if a given variable is equal/not equal to the specified string"
},
{
"from": "gpt",
"value": "[ \"$variable\" =|!= \"string\" ]"
}
] |
[
{
"from": "human",
"value": "Test if a given variable is [eq]ual/[n]ot [e]qual/[g]reater [t]han/[l]ess [t]han/[g]reater than or [e]qual/[l]ess than or [e]qual to the specified number"
},
{
"from": "gpt",
"value": "[ \"$variable\" -eq|ne|gt|lt|ge|le integer ]"
}
] |
[
{
"from": "human",
"value": "Test if the specified variable has a [n]on-empty value"
},
{
"from": "gpt",
"value": "[ -n \"$variable\" ]"
}
] |
[
{
"from": "human",
"value": "Test if the specified variable has an empty value ([z]ero length)"
},
{
"from": "gpt",
"value": "[ -z \"$variable\" ]"
}
] |
[
{
"from": "human",
"value": "Test if the specified [f]ile exists"
},
{
"from": "gpt",
"value": "[ -f path/to/file ]"
}
] |
[
{
"from": "human",
"value": "Test if the specified [d]irectory exists"
},
{
"from": "gpt",
"value": "[ -d path/to/directory ]"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.