conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Compile contract source files in the current directory"
},
{
"from": "gpt",
"value": "truffle compile"
}
] |
[
{
"from": "human",
"value": "Run JavaScript and Solidity tests"
},
{
"from": "gpt",
"value": "truffle test"
}
] |
[
{
"from": "human",
"value": "Run migrations to deploy contracts"
},
{
"from": "gpt",
"value": "truffle migrate"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand"
},
{
"from": "gpt",
"value": "truffle help subcommand"
}
] |
[
{
"from": "human",
"value": "Convert a CoffeeScript file to JavaScript"
},
{
"from": "gpt",
"value": "decaffeinate path/to/file.coffee"
}
] |
[
{
"from": "human",
"value": "Convert a CoffeeScript v2 file to JavaScript"
},
{
"from": "gpt",
"value": "decaffeinate --use-cs2 path/to/file.coffee"
}
] |
[
{
"from": "human",
"value": "Convert require and `module.exports` to import and export"
},
{
"from": "gpt",
"value": "decaffeinate --use-js-modules path/to/file.coffee"
}
] |
[
{
"from": "human",
"value": "Convert a CoffeeScript, allowing named exports"
},
{
"from": "gpt",
"value": "decaffeinate --loose-js-modules path/to/file.coffee"
}
] |
[
{
"from": "human",
"value": "Edge-enhance a PGM image"
},
{
"from": "gpt",
"value": "pgmenhance path/to/image.pgm > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Specify the level of enhancement"
},
{
"from": "gpt",
"value": "pgmenhance -1..9 path/to/image.pgm > path/to/output.pgm"
}
] |
[
{
"from": "human",
"value": "Apply the \"alpha trimmed mean\" filter with the specified alpha and radius values onto the PNM image"
},
{
"from": "gpt",
"value": "pnmnlfilt 0.0..0.5 radius path/to/image.pnm > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Apply the \"optimal estimation smoothing\" filter with the specified noise threshold and radius onto the PNM image"
},
{
"from": "gpt",
"value": "pnmnlfilt 1.0..2.0 radius path/to/image.pnm > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Apply the \"edge enhancement\" filter with the specified alpha and radius onto the PNM image"
},
{
"from": "gpt",
"value": "pnmnlfilt -0.9..(-0.1) radius path/to/image.pnm > path/to/output.pnm"
}
] |
[
{
"from": "human",
"value": "Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output)"
},
{
"from": "gpt",
"value": "jq '.' /path/to/file.json"
}
] |
[
{
"from": "human",
"value": "Execute a specific script"
},
{
"from": "gpt",
"value": "cat path/to/file.json | jq --from-file path/to/script.jq"
}
] |
[
{
"from": "human",
"value": "Pass specific arguments"
},
{
"from": "gpt",
"value": "cat path/to/file.json | jq --arg \"name1\" \"value1\" --arg \"name2\" \"value2\" ... '. + $ARGS.named'"
}
] |
[
{
"from": "human",
"value": "Create new JSON object via old JSON objects from multiple files"
},
{
"from": "gpt",
"value": "cat path/to/multiple_json_file_*.json | jq '{newKey1: .key1, newKey2: .key2.nestedKey, ...}'"
}
] |
[
{
"from": "human",
"value": "Print specific array items"
},
{
"from": "gpt",
"value": "cat path/to/file.json | jq '.[index1], .[index2], ...'"
}
] |
[
{
"from": "human",
"value": "Print all array/object values"
},
{
"from": "gpt",
"value": "cat path/to/file.json | jq '.[]'"
}
] |
[
{
"from": "human",
"value": "Print objects with 2-condition filter in array"
},
{
"from": "gpt",
"value": "cat path/to/file.json | jq '.[] | select((.key1==\"value1\") and .key2==\"value2\")'"
}
] |
[
{
"from": "human",
"value": "Add/remove specific keys"
},
{
"from": "gpt",
"value": "cat path/to/file.json | jq '. +|- {\"key1\": \"value1\", \"key2\": \"value2\", ...}'"
}
] |
[
{
"from": "human",
"value": "Convert a MGR bitmap into a PBM file"
},
{
"from": "gpt",
"value": "mgrtopbm path/to/image.mgr > path/to/output.pbm"
}
] |
[
{
"from": "human",
"value": "Symlink all files recursively to a given directory"
},
{
"from": "gpt",
"value": "stow [-t|--target] path/to/target_directory file1 directory1 file2 directory2"
}
] |
[
{
"from": "human",
"value": "Delete symlinks recursively from a given directory"
},
{
"from": "gpt",
"value": "stow [-D|--delete] [-t|--target] path/to/target_directory file1 directory1 file2 directory2"
}
] |
[
{
"from": "human",
"value": "Simulate to see what the result would be like"
},
{
"from": "gpt",
"value": "stow [-n|--simulate] [-t|--target] path/to/target_directory file1 directory1 file2 directory2"
}
] |
[
{
"from": "human",
"value": "Delete and resymlink"
},
{
"from": "gpt",
"value": "stow [-R|--restow] [-t|--target] path/to/target_directory file1 directory1 file2 directory2"
}
] |
[
{
"from": "human",
"value": "Exclude files matching a regular expression"
},
{
"from": "gpt",
"value": "stow --ignore=regular_expression [-t|--target] path/to/target_directory file1 directory1 file2 directory2"
}
] |
[
{
"from": "human",
"value": "Check if the cert-manager API is ready"
},
{
"from": "gpt",
"value": "cmctl check api"
}
] |
[
{
"from": "human",
"value": "Check the status of a certificate"
},
{
"from": "gpt",
"value": "cmctl status certificate cert_name"
}
] |
[
{
"from": "human",
"value": "Create a new certificate request based on an existing certificate"
},
{
"from": "gpt",
"value": "cmctl create certificaterequest my-cr --from-certificate-file cert.yaml"
}
] |
[
{
"from": "human",
"value": "Create a new certificate request, fetch the signed certificate, and set a maximum wait time"
},
{
"from": "gpt",
"value": "cmctl create certificaterequest my-cr --from-certificate-file cert.yaml --fetch-certificate --timeout 20m"
}
] |
[
{
"from": "human",
"value": "View documentation for the Zsh builtin"
},
{
"from": "gpt",
"value": "tldr print.zsh"
}
] |
[
{
"from": "human",
"value": "View documentation for the `print` alias of `run-mailcap`"
},
{
"from": "gpt",
"value": "tldr --platform linux print.runmailcap"
}
] |
[
{
"from": "human",
"value": "View documentation for printing text files on Windows"
},
{
"from": "gpt",
"value": "tldr --platform windows print.win"
}
] |
[
{
"from": "human",
"value": "Visualize the entire pipeline"
},
{
"from": "gpt",
"value": "dvc dag"
}
] |
[
{
"from": "human",
"value": "Visualize the pipeline stages up to a specified target stage"
},
{
"from": "gpt",
"value": "dvc dag target"
}
] |
[
{
"from": "human",
"value": "Export the pipeline in the dot format"
},
{
"from": "gpt",
"value": "dvc dag --dot > path/to/pipeline.dot"
}
] |
[
{
"from": "human",
"value": "Interactively create a new modpack in the current directory"
},
{
"from": "gpt",
"value": "packwiz init"
}
] |
[
{
"from": "human",
"value": "Add a mod from Modrinth or Curseforge"
},
{
"from": "gpt",
"value": "packwiz modrinth|curseforge add url|slug|search_term"
}
] |
[
{
"from": "human",
"value": "List all mods in the modpack"
},
{
"from": "gpt",
"value": "packwiz list"
}
] |
[
{
"from": "human",
"value": "Update `index.toml` after manually editing files"
},
{
"from": "gpt",
"value": "packwiz refresh"
}
] |
[
{
"from": "human",
"value": "Export as a Modrinth (`.mrpack`) or Curseforge (Zip) file"
},
{
"from": "gpt",
"value": "packwiz modrinth|curseforge export"
}
] |
[
{
"from": "human",
"value": "Generate a `Cargo.lock` file with the latest version of every package"
},
{
"from": "gpt",
"value": "cargo generate-lockfile"
}
] |
[
{
"from": "human",
"value": "Send local changes in the current branch to its default remote counterpart"
},
{
"from": "gpt",
"value": "git push"
}
] |
[
{
"from": "human",
"value": "Send changes from a specific local branch to its remote counterpart"
},
{
"from": "gpt",
"value": "git push remote_name local_branch"
}
] |
[
{
"from": "human",
"value": "Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one"
},
{
"from": "gpt",
"value": "git push [-u|--set-upstream] remote_name local_branch"
}
] |
[
{
"from": "human",
"value": "Send changes from a specific local branch to a specific remote branch"
},
{
"from": "gpt",
"value": "git push remote_name local_branch:remote_branch"
}
] |
[
{
"from": "human",
"value": "Send changes on all local branches to their counterparts in a given remote repository"
},
{
"from": "gpt",
"value": "git push --all remote_name"
}
] |
[
{
"from": "human",
"value": "Delete a branch in a remote repository"
},
{
"from": "gpt",
"value": "git push remote_name [-d|--delete] remote_branch"
}
] |
[
{
"from": "human",
"value": "Remove remote branches that don't have a local counterpart"
},
{
"from": "gpt",
"value": "git push --prune remote_name"
}
] |
[
{
"from": "human",
"value": "Publish tags that aren't yet in the remote repository"
},
{
"from": "gpt",
"value": "git push --tags"
}
] |
[
{
"from": "human",
"value": "Decompile a Dex file into a directory"
},
{
"from": "gpt",
"value": "jadx path/to/file"
}
] |
[
{
"from": "human",
"value": "Decompile a Dex file into a specific directory"
},
{
"from": "gpt",
"value": "jadx --output-dir path/to/directory path/to/file"
}
] |
[
{
"from": "human",
"value": "Output a WAV [f]ile using a text-to-speech [m]odel (assuming a config file at model_path + .json)"
},
{
"from": "gpt",
"value": "echo Thing to say | piper -m path/to/model.onnx -f outputfile.wav"
}
] |
[
{
"from": "human",
"value": "Output a WAV [f]ile using a [m]odel and specifying its JSON [c]onfig file"
},
{
"from": "gpt",
"value": "echo 'Thing to say' | piper -m path/to/model.onnx -c path/to/model.onnx.json -f outputfile.wav"
}
] |
[
{
"from": "human",
"value": "Select a particular speaker in a voice with multiple speakers by specifying the speaker's ID number"
},
{
"from": "gpt",
"value": "echo 'Warum?' | piper -m de_DE-thorsten_emotional-medium.onnx --speaker 1 -f angry.wav"
}
] |
[
{
"from": "human",
"value": "Stream the output to the mpv media player"
},
{
"from": "gpt",
"value": "echo 'Hello world' | piper -m en_GB-northern_english_male-medium.onnx --output-raw -f - | mpv -"
}
] |
[
{
"from": "human",
"value": "Speak twice as fast, with huge gaps between sentences"
},
{
"from": "gpt",
"value": "echo 'Speaking twice the speed. With added drama!' | piper -m foo.onnx --length_scale 0.5 --sentence_silence 2 -f drama.wav"
}
] |
[
{
"from": "human",
"value": "Call the first target specified in the Makefile (usually named \"all\")"
},
{
"from": "gpt",
"value": "make"
}
] |
[
{
"from": "human",
"value": "Call a specific target"
},
{
"from": "gpt",
"value": "make target"
}
] |
[
{
"from": "human",
"value": "Call a specific target, executing 4 jobs at a time in parallel"
},
{
"from": "gpt",
"value": "make [-j|--jobs] 4 target"
}
] |
[
{
"from": "human",
"value": "Use a specific Makefile"
},
{
"from": "gpt",
"value": "make [-f|--file] path/to/file"
}
] |
[
{
"from": "human",
"value": "Execute make from another directory"
},
{
"from": "gpt",
"value": "make [-C|--directory] path/to/directory"
}
] |
[
{
"from": "human",
"value": "Force making of a target, even if source files are unchanged"
},
{
"from": "gpt",
"value": "make [-B|--always-make] target"
}
] |
[
{
"from": "human",
"value": "Override a variable defined in the Makefile"
},
{
"from": "gpt",
"value": "make target variable=new_value"
}
] |
[
{
"from": "human",
"value": "Override variables defined in the Makefile by the environment"
},
{
"from": "gpt",
"value": "make [-e|--environment-overrides] target"
}
] |
[
{
"from": "human",
"value": "Compile Go program in the current directory for all operating systems and architecture combinations"
},
{
"from": "gpt",
"value": "gox"
}
] |
[
{
"from": "human",
"value": "Download and compile a Go program from a remote URL"
},
{
"from": "gpt",
"value": "gox url_1 url_2"
}
] |
[
{
"from": "human",
"value": "Compile current directory for a particular operating system"
},
{
"from": "gpt",
"value": "gox -os=\"os\""
}
] |
[
{
"from": "human",
"value": "Compile current directory for a single operating system and architecture combination"
},
{
"from": "gpt",
"value": "gox -osarch=\"os/arch\""
}
] |
[
{
"from": "human",
"value": "Deploy Cradle to a server"
},
{
"from": "gpt",
"value": "cradle deploy production"
}
] |
[
{
"from": "human",
"value": "Deploy static assets to Amazon S3"
},
{
"from": "gpt",
"value": "cradle deploy s3"
}
] |
[
{
"from": "human",
"value": "Deploy static assets including the Yarn \"components\" directory"
},
{
"from": "gpt",
"value": "cradle deploy s3 --include-yarn"
}
] |
[
{
"from": "human",
"value": "Deploy static assets including the \"upload\" directory"
},
{
"from": "gpt",
"value": "cradle deploy s3 --include-upload"
}
] |
[
{
"from": "human",
"value": "Create a new Hugo site"
},
{
"from": "gpt",
"value": "hugo new site path/to/site"
}
] |
[
{
"from": "human",
"value": "Create a new Hugo theme (themes may also be downloaded from <https://themes.gohugo.io/>)"
},
{
"from": "gpt",
"value": "hugo new theme theme_name"
}
] |
[
{
"from": "human",
"value": "Create a new page"
},
{
"from": "gpt",
"value": "hugo new section_name/page_name"
}
] |
[
{
"from": "human",
"value": "Build a site to the `./public/` directory"
},
{
"from": "gpt",
"value": "hugo"
}
] |
[
{
"from": "human",
"value": "Build a site including pages that are marked as a \"draft\""
},
{
"from": "gpt",
"value": "hugo --buildDrafts"
}
] |
[
{
"from": "human",
"value": "Build a site on your local IP"
},
{
"from": "gpt",
"value": "hugo server --bind local-ip --baseURL http://local-ip"
}
] |
[
{
"from": "human",
"value": "Build a site to a given directory"
},
{
"from": "gpt",
"value": "hugo --destination path/to/destination"
}
] |
[
{
"from": "human",
"value": "Build a site, start up a webserver to serve it, and automatically reload when pages are edited"
},
{
"from": "gpt",
"value": "hugo server"
}
] |
[
{
"from": "human",
"value": "Run the default task"
},
{
"from": "gpt",
"value": "gulp"
}
] |
[
{
"from": "human",
"value": "Run individual tasks"
},
{
"from": "gpt",
"value": "gulp task othertask"
}
] |
[
{
"from": "human",
"value": "Print the task dependency tree for the loaded gulpfile"
},
{
"from": "gpt",
"value": "gulp --tasks"
}
] |
[
{
"from": "human",
"value": "List all Linodes"
},
{
"from": "gpt",
"value": "linode-cli linodes list"
}
] |
[
{
"from": "human",
"value": "Create a new Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes create --type linode_type --region region --image image_id"
}
] |
[
{
"from": "human",
"value": "View details of a specific Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes view linode_id"
}
] |
[
{
"from": "human",
"value": "Update settings for a Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes update linode_id --label [new_label"
}
] |
[
{
"from": "human",
"value": "Delete a Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes delete linode_id"
}
] |
[
{
"from": "human",
"value": "Perform a power management operation on a Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes boot|reboot|shutdown linode_id"
}
] |
[
{
"from": "human",
"value": "List available backups for a Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes backups-list linode_id"
}
] |
[
{
"from": "human",
"value": "Restore a backup to a Linode"
},
{
"from": "gpt",
"value": "linode-cli linodes backups-restore linode_id --backup-id backup_id"
}
] |
[
{
"from": "human",
"value": "List files one per line"
},
{
"from": "gpt",
"value": "eza --oneline"
}
] |
[
{
"from": "human",
"value": "List all files, including hidden files"
},
{
"from": "gpt",
"value": "eza --all"
}
] |
[
{
"from": "human",
"value": "Long format list (permissions, ownership, size and modification date) of all files"
},
{
"from": "gpt",
"value": "eza --long --all"
}
] |
[
{
"from": "human",
"value": "List files with the largest at the top"
},
{
"from": "gpt",
"value": "eza --reverse --sort=size"
}
] |
[
{
"from": "human",
"value": "Display a tree of files, three levels deep"
},
{
"from": "gpt",
"value": "eza --long --tree --level=3"
}
] |
[
{
"from": "human",
"value": "List files sorted by modification date (oldest first)"
},
{
"from": "gpt",
"value": "eza --long --sort=modified"
}
] |
[
{
"from": "human",
"value": "List files with their headers, icons, and Git statuses"
},
{
"from": "gpt",
"value": "eza --long --header --icons --git"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.