conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run all available tests"
},
{
"from": "gpt",
"value": "jest"
}
] |
[
{
"from": "human",
"value": "Run the test suites from the given files"
},
{
"from": "gpt",
"value": "jest path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "Run the test suites from files within the current and subdirectories, whose paths match the given regular expression"
},
{
"from": "gpt",
"value": "jest regular_expression1 regular_expression2"
}
] |
[
{
"from": "human",
"value": "Run the tests whose names match the given regular expression"
},
{
"from": "gpt",
"value": "jest --testNamePattern regular_expression"
}
] |
[
{
"from": "human",
"value": "Run test suites related to a given source file"
},
{
"from": "gpt",
"value": "jest --findRelatedTests path/to/source_file.js"
}
] |
[
{
"from": "human",
"value": "Run test suites related to all uncommitted files"
},
{
"from": "gpt",
"value": "jest --onlyChanged"
}
] |
[
{
"from": "human",
"value": "Watch files for changes and automatically re-run related tests"
},
{
"from": "gpt",
"value": "jest --watch"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "jest --help"
}
] |
[
{
"from": "human",
"value": "Start the GUI or bring it to front"
},
{
"from": "gpt",
"value": "clementine"
}
] |
[
{
"from": "human",
"value": "Start playing music"
},
{
"from": "gpt",
"value": "clementine url|path/to/music.ext"
}
] |
[
{
"from": "human",
"value": "Toggle between pausing and playing"
},
{
"from": "gpt",
"value": "clementine --play-pause"
}
] |
[
{
"from": "human",
"value": "Stop playback"
},
{
"from": "gpt",
"value": "clementine --stop"
}
] |
[
{
"from": "human",
"value": "Skip to the next or previous track"
},
{
"from": "gpt",
"value": "clementine --next|previous"
}
] |
[
{
"from": "human",
"value": "Create a new playlist with one or more music files or URLs"
},
{
"from": "gpt",
"value": "clementine --create url1 url2 ... | path/to/music1.ext path/to/music2.ext ..."
}
] |
[
{
"from": "human",
"value": "Load a playlist file"
},
{
"from": "gpt",
"value": "clementine --load path/to/playlist.ext"
}
] |
[
{
"from": "human",
"value": "Play a specific track in the currently loaded playlist"
},
{
"from": "gpt",
"value": "clementine --play-track 5"
}
] |
[
{
"from": "human",
"value": "Display general information about a binary (architecture, type, endianness)"
},
{
"from": "gpt",
"value": "rabin2 -I path/to/binary"
}
] |
[
{
"from": "human",
"value": "Display linked libraries"
},
{
"from": "gpt",
"value": "rabin2 -l path/to/binary"
}
] |
[
{
"from": "human",
"value": "Display symbols imported from libraries"
},
{
"from": "gpt",
"value": "rabin2 -i path/to/binary"
}
] |
[
{
"from": "human",
"value": "Display strings contained in the binary"
},
{
"from": "gpt",
"value": "rabin2 -z path/to/binary"
}
] |
[
{
"from": "human",
"value": "Display the output in JSON"
},
{
"from": "gpt",
"value": "rabin2 -j -I path/to/binary"
}
] |
[
{
"from": "human",
"value": "Add a new task which is due tomorrow"
},
{
"from": "gpt",
"value": "task add description due:tomorrow"
}
] |
[
{
"from": "human",
"value": "Update a task's priority"
},
{
"from": "gpt",
"value": "task task_id modify priority:H|M|L"
}
] |
[
{
"from": "human",
"value": "Complete a task"
},
{
"from": "gpt",
"value": "task task_id done"
}
] |
[
{
"from": "human",
"value": "Delete a task"
},
{
"from": "gpt",
"value": "task task_id delete"
}
] |
[
{
"from": "human",
"value": "List all open tasks"
},
{
"from": "gpt",
"value": "task list"
}
] |
[
{
"from": "human",
"value": "List open tasks due before the end of the week"
},
{
"from": "gpt",
"value": "task list due.before:eow"
}
] |
[
{
"from": "human",
"value": "Show a graphical burndown chart, by day"
},
{
"from": "gpt",
"value": "task burndown.daily"
}
] |
[
{
"from": "human",
"value": "List all reports"
},
{
"from": "gpt",
"value": "task reports"
}
] |
[
{
"from": "human",
"value": "Delete one or more local and remote Git branches"
},
{
"from": "gpt",
"value": "git delete-branch branch_name1 branch_name2 ..."
}
] |
[
{
"from": "human",
"value": "Create a new site"
},
{
"from": "gpt",
"value": "gatsby new site_name"
}
] |
[
{
"from": "human",
"value": "Create a new site with a Gatsby 'starter'"
},
{
"from": "gpt",
"value": "gatsby new site_name url_of_starter_github_repo"
}
] |
[
{
"from": "human",
"value": "Start a live-reloading local development server"
},
{
"from": "gpt",
"value": "gatsby develop"
}
] |
[
{
"from": "human",
"value": "Perform a production build and generate static HTML"
},
{
"from": "gpt",
"value": "gatsby build"
}
] |
[
{
"from": "human",
"value": "Start a local server which serves the production build"
},
{
"from": "gpt",
"value": "gatsby serve"
}
] |
[
{
"from": "human",
"value": "Create a new VM with default settings"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name"
}
] |
[
{
"from": "human",
"value": "Set the base folder where the VM configuration will be stored"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name --basefolder path/to/directory"
}
] |
[
{
"from": "human",
"value": "Set the guest OS type (one of `VBoxManage list ostypes`) for the imported VM"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name --ostype ostype"
}
] |
[
{
"from": "human",
"value": "Register the created VM in VirtualBox"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name --register"
}
] |
[
{
"from": "human",
"value": "Set the VM to the specified groups"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name --group group1,group2,..."
}
] |
[
{
"from": "human",
"value": "Set the Universally Unique Identifier (UUID) of the VM"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name --uuid uuid"
}
] |
[
{
"from": "human",
"value": "Set the cipher to use for encryption"
},
{
"from": "gpt",
"value": "VBoxManage createvm --name vm_name --cipher AES-128|AES-256"
}
] |
[
{
"from": "human",
"value": "Print current time, uptime, number of logged-in users and other information"
},
{
"from": "gpt",
"value": "uptime"
}
] |
[
{
"from": "human",
"value": "Show only the amount of time the system has been booted for"
},
{
"from": "gpt",
"value": "uptime [-p|--pretty]"
}
] |
[
{
"from": "human",
"value": "Print the date and time the system booted up at"
},
{
"from": "gpt",
"value": "uptime [-s|--since]"
}
] |
[
{
"from": "human",
"value": "Display version"
},
{
"from": "gpt",
"value": "uptime [-V|--version]"
}
] |
[
{
"from": "human",
"value": "Display help for a subcommand"
},
{
"from": "gpt",
"value": "gcrane help command"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "gcrane help [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Apply the specified arithmetic function with `n` as the second argument to each sample in the specified PAM image"
},
{
"from": "gpt",
"value": "pamfunc -multiplier|divisor|adder|subtractor|min|max n path/to/input.pam > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "Apply the specified bit string function with `n` as the second argument to each sample in the specified PAM image"
},
{
"from": "gpt",
"value": "pamfunc -andmask|ormask|xormask|shiftleft|shiftright n path/to/input.pam > path/to/output.pam"
}
] |
[
{
"from": "human",
"value": "Log in to your Heroku account"
},
{
"from": "gpt",
"value": "heroku login"
}
] |
[
{
"from": "human",
"value": "Create a Heroku app"
},
{
"from": "gpt",
"value": "heroku create"
}
] |
[
{
"from": "human",
"value": "Show logs for an app"
},
{
"from": "gpt",
"value": "heroku logs --app app_name"
}
] |
[
{
"from": "human",
"value": "Run a one-off process inside a dyno (Heroku virtual machine)"
},
{
"from": "gpt",
"value": "heroku run process_name --app app_name"
}
] |
[
{
"from": "human",
"value": "List dynos (Heroku virtual machines) for an app"
},
{
"from": "gpt",
"value": "heroku ps --app app_name"
}
] |
[
{
"from": "human",
"value": "Permanently destroy an app"
},
{
"from": "gpt",
"value": "heroku destroy --app app_name"
}
] |
[
{
"from": "human",
"value": "Check if an option is set"
},
{
"from": "gpt",
"value": "getopts x opt; echo $opt"
}
] |
[
{
"from": "human",
"value": "Set an option to require an argument and check said argument"
},
{
"from": "gpt",
"value": "getopts x: opt; echo $OPTARG"
}
] |
[
{
"from": "human",
"value": "Check for multiple options"
},
{
"from": "gpt",
"value": "while getopts xyz opt; do case $opt in x) echo x is set;; y) echo y is set;; z) echo z is set;; esac; done"
}
] |
[
{
"from": "human",
"value": "Set `getopts` to silent mode and handle option errors"
},
{
"from": "gpt",
"value": "while getopts :x: opt; do case $opt in x) ;; :) echo \"Argument required\";; ?) echo \"Invalid argument\" esac;; done"
}
] |
[
{
"from": "human",
"value": "Reset `getopts`"
},
{
"from": "gpt",
"value": "OPTIND=1"
}
] |
[
{
"from": "human",
"value": "Return all elements of class `card`"
},
{
"from": "gpt",
"value": "cat path/to/file.html | htmlq '.card'"
}
] |
[
{
"from": "human",
"value": "Get the text content of the first paragraph"
},
{
"from": "gpt",
"value": "cat path/to/file.html | htmlq --text 'p:first-of-type'"
}
] |
[
{
"from": "human",
"value": "Find all the links in a page"
},
{
"from": "gpt",
"value": "cat path/to/file.html | htmlq --attribute href 'a'"
}
] |
[
{
"from": "human",
"value": "Remove all images and SVGs from a page"
},
{
"from": "gpt",
"value": "cat path/to/file.html | htmlq --remove-nodes 'img' --remove-nodes 'svg'"
}
] |
[
{
"from": "human",
"value": "Pretty print and write the output to a file"
},
{
"from": "gpt",
"value": "htmlq --pretty --filename path/to/input.html --output path/to/output.html"
}
] |
[
{
"from": "human",
"value": "Build the artifacts"
},
{
"from": "gpt",
"value": "skaffold build -f skaffold.yaml"
}
] |
[
{
"from": "human",
"value": "Build and deploy your app every time your code changes"
},
{
"from": "gpt",
"value": "skaffold dev -f skaffold.yaml"
}
] |
[
{
"from": "human",
"value": "Run a pipeline file"
},
{
"from": "gpt",
"value": "skaffold run -f skaffold.yaml"
}
] |
[
{
"from": "human",
"value": "Run a diagnostic on Skaffold"
},
{
"from": "gpt",
"value": "skaffold diagnose -f skaffold.yaml"
}
] |
[
{
"from": "human",
"value": "Deploy the artifacts"
},
{
"from": "gpt",
"value": "skaffold deploy -f skaffold.yaml"
}
] |
[
{
"from": "human",
"value": "Start ELinks"
},
{
"from": "gpt",
"value": "elinks"
}
] |
[
{
"from": "human",
"value": "Quit elinks"
},
{
"from": "gpt",
"value": "<Ctrl c>"
}
] |
[
{
"from": "human",
"value": "Dump output of webpage to console, colorizing the text with ANSI control codes"
},
{
"from": "gpt",
"value": "elinks -dump -dump-color-mode 1 url"
}
] |
[
{
"from": "human",
"value": "Convert a graph from `gml` to `gv` format"
},
{
"from": "gpt",
"value": "graphml2gv -o output.gv input.gml"
}
] |
[
{
"from": "human",
"value": "Convert a graph using `stdin` and `stdout`"
},
{
"from": "gpt",
"value": "cat input.gml | graphml2gv > output.gv"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "graphml2gv -?"
}
] |
[
{
"from": "human",
"value": "Display the name of the root window"
},
{
"from": "gpt",
"value": "xprop -root WM_NAME"
}
] |
[
{
"from": "human",
"value": "Display the window manager hints for a window"
},
{
"from": "gpt",
"value": "xprop -name \"window_name\" WM_HINTS"
}
] |
[
{
"from": "human",
"value": "Display the point size of a font"
},
{
"from": "gpt",
"value": "xprop -font \"font_name\" POINT_SIZE"
}
] |
[
{
"from": "human",
"value": "Display all the properties of the window with the ID 0x200007"
},
{
"from": "gpt",
"value": "xprop -id 0x200007"
}
] |
[
{
"from": "human",
"value": "Authenticate Docker with the default registry (username is AWS)"
},
{
"from": "gpt",
"value": "aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com"
}
] |
[
{
"from": "human",
"value": "Create a repository"
},
{
"from": "gpt",
"value": "aws ecr create-repository --repository-name repository --image-scanning-configuration scanOnPush=true|false --region region"
}
] |
[
{
"from": "human",
"value": "Tag a local image for ECR"
},
{
"from": "gpt",
"value": "docker tag container_name:tag aws_account_id.dkr.ecr.region.amazonaws.com/container_name:tag"
}
] |
[
{
"from": "human",
"value": "Push an image to a repository"
},
{
"from": "gpt",
"value": "docker push aws_account_id.dkr.ecr.region.amazonaws.com/container_name:tag"
}
] |
[
{
"from": "human",
"value": "Pull an image from a repository"
},
{
"from": "gpt",
"value": "docker pull aws_account_id.dkr.ecr.region.amazonaws.com/container_name:tag"
}
] |
[
{
"from": "human",
"value": "Delete an image from a repository"
},
{
"from": "gpt",
"value": "aws ecr batch-delete-image --repository-name repository --image-ids imageTag=latest"
}
] |
[
{
"from": "human",
"value": "Delete a repository"
},
{
"from": "gpt",
"value": "aws ecr delete-repository --repository-name repository --force"
}
] |
[
{
"from": "human",
"value": "List images within a repository"
},
{
"from": "gpt",
"value": "aws ecr list-images --repository-name repository"
}
] |
[
{
"from": "human",
"value": "Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename"
},
{
"from": "gpt",
"value": "ppmtoyuvsplit basename path/to/input_file.ppm"
}
] |
[
{
"from": "human",
"value": "Render a PNG image with a filename based on the input filename and output format (uppercase -O)"
},
{
"from": "gpt",
"value": "dot -T png -O path/to/input.gv"
}
] |
[
{
"from": "human",
"value": "Render a SVG image with the specified output filename (lowercase -o)"
},
{
"from": "gpt",
"value": "dot -T svg -o path/to/image.svg path/to/input.gv"
}
] |
[
{
"from": "human",
"value": "Render the output in PS, PDF, SVG, Fig, PNG, GIF, JPEG, JSON, or DOT format"
},
{
"from": "gpt",
"value": "dot -T format -O path/to/input.gv"
}
] |
[
{
"from": "human",
"value": "Render a GIF image using `stdin` and `stdout`"
},
{
"from": "gpt",
"value": "echo \"digraph {this -> that} \" | dot -T gif > path/to/image.gif"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "dot -?"
}
] |
[
{
"from": "human",
"value": "Generate a pre-signed URL for a specific S3 object that is valid for one hour"
},
{
"from": "gpt",
"value": "aws s3 presign s3://bucket_name/path/to/file"
}
] |
[
{
"from": "human",
"value": "Generate a pre-signed URL valid for a specific lifetime"
},
{
"from": "gpt",
"value": "aws s3 presign s3://bucket_name/path/to/file --expires-in duration_in_seconds"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "aws s3 presign help"
}
] |
[
{
"from": "human",
"value": "Add a torrent file or magnet link to Transmission and download to a specified directory"
},
{
"from": "gpt",
"value": "transmission-remote hostname -a torrent|url -w /path/to/download_directory"
}
] |
[
{
"from": "human",
"value": "Change the default download directory"
},
{
"from": "gpt",
"value": "transmission-remote hostname -w /path/to/download_directory"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.