conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Decompress a file"
},
{
"from": "gpt",
"value": "pigz -d archive.gz"
}
] |
[
{
"from": "human",
"value": "List the contents of an archive"
},
{
"from": "gpt",
"value": "pigz -l archive.tar.gz"
}
] |
[
{
"from": "human",
"value": "Read ASCII data as input and produce a PGM image with pixel values that are an approximation of the \"brightness\" of the ASCII characters"
},
{
"from": "gpt",
"value": "asciitopgm path/to/input_file > path/to/output_file.pgm"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "asciitopgm [-v|-version]"
}
] |
[
{
"from": "human",
"value": "Compare PDFs, indicating changes using return codes (`0` = no difference, `1` = PDFs differ)"
},
{
"from": "gpt",
"value": "diff-pdf path/to/a.pdf path/to/b.pdf"
}
] |
[
{
"from": "human",
"value": "Compare PDFs, outputting a PDF with visually highlighted differences"
},
{
"from": "gpt",
"value": "diff-pdf --output-diff=path/to/diff.pdf path/to/a.pdf path/to/b.pdf"
}
] |
[
{
"from": "human",
"value": "Compare PDFs, viewing differences in a simple GUI"
},
{
"from": "gpt",
"value": "diff-pdf --view path/to/a.pdf path/to/b.pdf"
}
] |
[
{
"from": "human",
"value": "Play a video or audio from a URL or file"
},
{
"from": "gpt",
"value": "mpv url|path/to/file"
}
] |
[
{
"from": "human",
"value": "Jump backward/forward 5 seconds"
},
{
"from": "gpt",
"value": "<ArrowLeft>|<ArrowRight>"
}
] |
[
{
"from": "human",
"value": "Jump backward/forward 1 minute"
},
{
"from": "gpt",
"value": "<ArrowDown>|<ArrowUp>"
}
] |
[
{
"from": "human",
"value": "Decrease or increase playback speed by 10%"
},
{
"from": "gpt",
"value": "<[>|<]>"
}
] |
[
{
"from": "human",
"value": "Take a screenshot of the current frame (saved to `./mpv-shotNNNN.jpg` by default)"
},
{
"from": "gpt",
"value": "<s>"
}
] |
[
{
"from": "human",
"value": "Play a file at a specified speed (1 by default)"
},
{
"from": "gpt",
"value": "mpv --speed 0.01..100 path/to/file"
}
] |
[
{
"from": "human",
"value": "Play a file using a profile defined in the `mpv.conf` file"
},
{
"from": "gpt",
"value": "mpv --profile profile_name path/to/file"
}
] |
[
{
"from": "human",
"value": "Display the output of webcam or other video input device"
},
{
"from": "gpt",
"value": "mpv /dev/video0"
}
] |
[
{
"from": "human",
"value": "Output commands to set LS_COLOR using default colors"
},
{
"from": "gpt",
"value": "dircolors"
}
] |
[
{
"from": "human",
"value": "Display each filetype with the color they would appear in `ls`"
},
{
"from": "gpt",
"value": "dircolors --print-ls-colors"
}
] |
[
{
"from": "human",
"value": "Output commands to set LS_COLOR using colors from a file"
},
{
"from": "gpt",
"value": "dircolors path/to/file"
}
] |
[
{
"from": "human",
"value": "Output commands for Bourne shell"
},
{
"from": "gpt",
"value": "dircolors [-b|--bourne-shell]"
}
] |
[
{
"from": "human",
"value": "Output commands for C shell"
},
{
"from": "gpt",
"value": "dircolors [-c|--c-shell]"
}
] |
[
{
"from": "human",
"value": "View the default colors for file types and extensions"
},
{
"from": "gpt",
"value": "dircolors [-p|--print-database]"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr http"
}
] |
[
{
"from": "human",
"value": "Generate a text report from a specific profiling file, on fibbo binary"
},
{
"from": "gpt",
"value": "pprof -top ./fibbo ./fibbo-profile.pb.gz"
}
] |
[
{
"from": "human",
"value": "Generate a graph and open it on a web browser"
},
{
"from": "gpt",
"value": "pprof -svg ./fibbo ./fibbo-profile.pb.gz"
}
] |
[
{
"from": "human",
"value": "Run pprof in interactive mode to be able to manually launch `pprof` on a file"
},
{
"from": "gpt",
"value": "pprof ./fibbo ./fibbo-profile.pb.gz"
}
] |
[
{
"from": "human",
"value": "Run a web server that serves a web interface on top of `pprof`"
},
{
"from": "gpt",
"value": "pprof -http=localhost:8080 ./fibbo ./fibbo-profile.pb.gz"
}
] |
[
{
"from": "human",
"value": "Fetch a profile from an HTTP server and generate a report"
},
{
"from": "gpt",
"value": "pprof http://localhost:8080/debug/pprof"
}
] |
[
{
"from": "human",
"value": "Launch the flowchart and diagram application"
},
{
"from": "gpt",
"value": "calligraflow"
}
] |
[
{
"from": "human",
"value": "Open a specific file"
},
{
"from": "gpt",
"value": "calligraflow path/to/file"
}
] |
[
{
"from": "human",
"value": "Display help or version"
},
{
"from": "gpt",
"value": "calligraflow --help|version"
}
] |
[
{
"from": "human",
"value": "Read JPEG image from a file and print in ASCII"
},
{
"from": "gpt",
"value": "jp2a path/to/image.jpeg"
}
] |
[
{
"from": "human",
"value": "Read JPEG image from a URL and print in ASCII"
},
{
"from": "gpt",
"value": "jp2a www.example.com/image.jpeg"
}
] |
[
{
"from": "human",
"value": "Colorize the ASCII output"
},
{
"from": "gpt",
"value": "jp2a --colors path/to/image.jpeg"
}
] |
[
{
"from": "human",
"value": "Specify characters to be used for the ASCII output"
},
{
"from": "gpt",
"value": "jp2a --chars='..-ooxx@@' path/to/image.jpeg"
}
] |
[
{
"from": "human",
"value": "Write the ASCII output into a file"
},
{
"from": "gpt",
"value": "jp2a --output=path/to/output_file.txt path/to/image.jpeg"
}
] |
[
{
"from": "human",
"value": "Write the ASCII output in HTML file format, suitable for viewing in web browsers"
},
{
"from": "gpt",
"value": "jp2a --html --output=path/to/output_file.html path/to/image.jpeg"
}
] |
[
{
"from": "human",
"value": "Compile and render a D2 source file into an output file"
},
{
"from": "gpt",
"value": "d2 path/to/input_file.d2 path/to/output_file.ext"
}
] |
[
{
"from": "human",
"value": "Watch live changes made to a D2 source file in the default web browser"
},
{
"from": "gpt",
"value": "d2 [-w|--watch] path/to/input_file.d2 path/to/output_file.ext"
}
] |
[
{
"from": "human",
"value": "Format a D2 source file"
},
{
"from": "gpt",
"value": "d2 fmt path/to/input_file.d2"
}
] |
[
{
"from": "human",
"value": "List available themes"
},
{
"from": "gpt",
"value": "d2 themes"
}
] |
[
{
"from": "human",
"value": "Use a different theme for the output file (list available themes first to get the desired `theme_id`)"
},
{
"from": "gpt",
"value": "d2 [-t|--theme] theme_id path/to/input_file.d2 path/to/output_file.ext"
}
] |
[
{
"from": "human",
"value": "Make rendered diagrams look like hand sketches"
},
{
"from": "gpt",
"value": "d2 [-s|--sketch] true path/to/input_file.d2 path/to/output_file.ext"
}
] |
[
{
"from": "human",
"value": "Generate a convolution kernel"
},
{
"from": "gpt",
"value": "pgmkernel width height > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Generate a quadratic convolution kernel"
},
{
"from": "gpt",
"value": "pgmkernel size > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Specify the weight of the center in the generated kernel"
},
{
"from": "gpt",
"value": "pgmkernel [-w|-weight] value width height > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Update packages to use new APIs"
},
{
"from": "gpt",
"value": "go fix packages"
}
] |
[
{
"from": "human",
"value": "Print the content of the first member in a Zip archive"
},
{
"from": "gpt",
"value": "funzip path/to/archive.zip"
}
] |
[
{
"from": "human",
"value": "Print the content in a gzip archive"
},
{
"from": "gpt",
"value": "funzip path/to/archive.gz"
}
] |
[
{
"from": "human",
"value": "Decrypt a Zip or gzip archive and print the content"
},
{
"from": "gpt",
"value": "funzip -password password path/to/archive"
}
] |
[
{
"from": "human",
"value": "Convert a PAM image file to an ICO file"
},
{
"from": "gpt",
"value": "pamtowinicon path/to/input_file.pam > path/to/output.ico"
}
] |
[
{
"from": "human",
"value": "Encode images with resolutions smaller than t in the BMP format and all other images in the PNG format"
},
{
"from": "gpt",
"value": "pamtowinicon [-pn|-pngthreshold] t path/to/input_file.pam > path/to/output.ico"
}
] |
[
{
"from": "human",
"value": "Make all pixels outside the non-opaque area black"
},
{
"from": "gpt",
"value": "pamtowinicon [-t|-truetransparent] path/to/input_file.pam > path/to/output.ico"
}
] |
[
{
"from": "human",
"value": "Unlock the current wallet (timeout in seconds)"
},
{
"from": "gpt",
"value": "hsw-cli unlock passphrase timeout"
}
] |
[
{
"from": "human",
"value": "Lock the current wallet"
},
{
"from": "gpt",
"value": "hsw-cli lock"
}
] |
[
{
"from": "human",
"value": "View the current wallet's details"
},
{
"from": "gpt",
"value": "hsw-cli get"
}
] |
[
{
"from": "human",
"value": "View the current wallet's balance"
},
{
"from": "gpt",
"value": "hsw-cli balance"
}
] |
[
{
"from": "human",
"value": "View the current wallet's transaction history"
},
{
"from": "gpt",
"value": "hsw-cli history"
}
] |
[
{
"from": "human",
"value": "Send a transaction with the specified coin amount to an address"
},
{
"from": "gpt",
"value": "hsw-cli send address 1.05"
}
] |
[
{
"from": "human",
"value": "View the current wallet's pending transactions"
},
{
"from": "gpt",
"value": "hsw-cli pending"
}
] |
[
{
"from": "human",
"value": "View details about a transaction"
},
{
"from": "gpt",
"value": "hsw-cli tx transaction_hash"
}
] |
[
{
"from": "human",
"value": "Start tracking an activity"
},
{
"from": "gpt",
"value": "timew start"
}
] |
[
{
"from": "human",
"value": "Tag the current activity"
},
{
"from": "gpt",
"value": "timew tag activity_tag"
}
] |
[
{
"from": "human",
"value": "Start tracking and tag a new activity"
},
{
"from": "gpt",
"value": "timew start activity_tag"
}
] |
[
{
"from": "human",
"value": "Stop the current activity"
},
{
"from": "gpt",
"value": "timew stop"
}
] |
[
{
"from": "human",
"value": "Track an activity in the past"
},
{
"from": "gpt",
"value": "timew track start_time - end_time activity_tag"
}
] |
[
{
"from": "human",
"value": "View tracked items of the day"
},
{
"from": "gpt",
"value": "timew summary"
}
] |
[
{
"from": "human",
"value": "View report for the last day, week, current month, etc."
},
{
"from": "gpt",
"value": "timew summary :today|yesterday|week|lastweek|month|lastmonth|year|lastyear"
}
] |
[
{
"from": "human",
"value": "Start an interactive session"
},
{
"from": "gpt",
"value": "dc"
}
] |
[
{
"from": "human",
"value": "Execute a script"
},
{
"from": "gpt",
"value": "dc path/to/script.dc"
}
] |
[
{
"from": "human",
"value": "Calculate an expression with the specified scale"
},
{
"from": "gpt",
"value": "dc [-e|--expression] '10 k 5 3 / p'"
}
] |
[
{
"from": "human",
"value": "Calculate 4 times 5 (4 5 *), subtract 17 (17 -), and [p]rint the output"
},
{
"from": "gpt",
"value": "dc [-e|--expression] '4 5 * 17 - p'"
}
] |
[
{
"from": "human",
"value": "Specify the number of decimal places to 7 (7 k), calculate 5 divided by -3 (5 _3 /) and [p]rint"
},
{
"from": "gpt",
"value": "dc [-e|--expression] '7 k 5 _3 / p'"
}
] |
[
{
"from": "human",
"value": "Calculate the golden ratio, phi: set number of decimal places to 100 (100 k), square root of 5 (5 v) plus 1 (1 +), divided by 2 (2 /), and [p]rint result"
},
{
"from": "gpt",
"value": "dc [-e|--expression] '100 k 5 v 1 + 2 / p'"
}
] |
[
{
"from": "human",
"value": "Pack the currently checked out commit into a Zip archive"
},
{
"from": "gpt",
"value": "git archive-file"
}
] |
[
{
"from": "human",
"value": "List all targets"
},
{
"from": "gpt",
"value": "pants list ::"
}
] |
[
{
"from": "human",
"value": "Run all tests"
},
{
"from": "gpt",
"value": "pants test ::"
}
] |
[
{
"from": "human",
"value": "Fix, format, and lint only uncommitted files"
},
{
"from": "gpt",
"value": "pants --changed-since=HEAD fix fmt lint"
}
] |
[
{
"from": "human",
"value": "Typecheck only uncommitted files and their dependents"
},
{
"from": "gpt",
"value": "pants --changed-since=HEAD --changed-dependents=transitive check"
}
] |
[
{
"from": "human",
"value": "Create a distributable package for the specified target"
},
{
"from": "gpt",
"value": "pants package path/to/directory:target-name"
}
] |
[
{
"from": "human",
"value": "Auto-generate BUILD file targets for new source files"
},
{
"from": "gpt",
"value": "pants tailor ::"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "pants help"
}
] |
[
{
"from": "human",
"value": "Show the current ARP table"
},
{
"from": "gpt",
"value": "arp -a"
}
] |
[
{
"from": "human",
"value": "[d]elete a specific entry"
},
{
"from": "gpt",
"value": "arp -d address"
}
] |
[
{
"from": "human",
"value": "[s]et up a new entry in the ARP table"
},
{
"from": "gpt",
"value": "arp -s address mac_address"
}
] |
[
{
"from": "human",
"value": "Connect to an MSSQL server using Windows authentication"
},
{
"from": "gpt",
"value": "mssqlclient.py -windows-auth domain/username:password@target"
}
] |
[
{
"from": "human",
"value": "Connect using SQL server authentication"
},
{
"from": "gpt",
"value": "mssqlclient.py username:password@target"
}
] |
[
{
"from": "human",
"value": "Connect using pass-the-hash authentication"
},
{
"from": "gpt",
"value": "mssqlclient.py domain/username@target -hashes LM_Hash:NT_Hash"
}
] |
[
{
"from": "human",
"value": "Connect using Kerberos authentication (requires valid tickets)"
},
{
"from": "gpt",
"value": "mssqlclient.py -k domain/username@target"
}
] |
[
{
"from": "human",
"value": "Execute a specific SQL command upon connection"
},
{
"from": "gpt",
"value": "mssqlclient.py username:password@target -query \"SELECT user_name();\""
}
] |
[
{
"from": "human",
"value": "Execute multiple SQL commands from a file"
},
{
"from": "gpt",
"value": "mssqlclient.py username:password@target -file path/to/sql_file.sql"
}
] |
[
{
"from": "human",
"value": "Connect to a specific database instance (default is `None`)"
},
{
"from": "gpt",
"value": "mssqlclient.py username:password@target -db database_name"
}
] |
[
{
"from": "human",
"value": "Display SQL queries before execution"
},
{
"from": "gpt",
"value": "mssqlclient.py username:password@target -show"
}
] |
[
{
"from": "human",
"value": "Analyze specific directory"
},
{
"from": "gpt",
"value": "dua path/to/directory"
}
] |
[
{
"from": "human",
"value": "Display apparent size instead of disk usage"
},
{
"from": "gpt",
"value": "dua --apparent-size"
}
] |
[
{
"from": "human",
"value": "Count hard-linked files each time they are seen"
},
{
"from": "gpt",
"value": "dua --count-hard-links"
}
] |
[
{
"from": "human",
"value": "Aggregate the consumed space of one or more directories or files"
},
{
"from": "gpt",
"value": "dua aggregate"
}
] |
[
{
"from": "human",
"value": "Launch the terminal user interface"
},
{
"from": "gpt",
"value": "dua interactive"
}
] |
[
{
"from": "human",
"value": "Format printing byte counts"
},
{
"from": "gpt",
"value": "dua --format metric|binary|bytes|GB|GiB|MB|MiB"
}
] |
[
{
"from": "human",
"value": "Use a specific number of threads (defaults to the process number of threads)"
},
{
"from": "gpt",
"value": "dua --threads count"
}
] |
[
{
"from": "human",
"value": "Create a database"
},
{
"from": "gpt",
"value": "sqlite-utils create-database path/to/database.db"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.