conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Run in the background, with no monitoring port, and instead send SSH keep-alive packets every 10 seconds to detect failure"
},
{
"from": "gpt",
"value": "autossh -f -M 0 -N -o \"ServerAliveInterval 10\" -o \"ServerAliveCountMax 3\" \"ssh_command\""
}
] |
[
{
"from": "human",
"value": "Run in the background, with no monitoring port and no remote shell, exiting if the port forward fails"
},
{
"from": "gpt",
"value": "autossh -f -M 0 -N -o \"ServerAliveInterval 10\" -o \"ServerAliveCountMax 3\" -o ExitOnForwardFailure=yes -L local_port:localhost:remo... |
[
{
"from": "human",
"value": "Run in the background, logging `autossh` debug output and SSH verbose output to files"
},
{
"from": "gpt",
"value": "AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE=path/to/autossh_log_file.log autossh -f -M monitor_port -v -E path/to/ssh_log_file.log ssh_command"
}
] |
[
{
"from": "human",
"value": "Print a license to `stdout`, using the defaults (auto-detected author name, and current year)"
},
{
"from": "gpt",
"value": "license license_name"
}
] |
[
{
"from": "human",
"value": "Generate a license and save it to a file"
},
{
"from": "gpt",
"value": "license -o path/to/file license_name"
}
] |
[
{
"from": "human",
"value": "List all available licenses"
},
{
"from": "gpt",
"value": "license ls"
}
] |
[
{
"from": "human",
"value": "Generate a license with custom author name and year"
},
{
"from": "gpt",
"value": "license --name author --year release_year license_name"
}
] |
[
{
"from": "human",
"value": "Send an empty request"
},
{
"from": "gpt",
"value": "grpcurl grpc.server.com:443 my.custom.server.Service/Method"
}
] |
[
{
"from": "human",
"value": "Send a request with a header and a body"
},
{
"from": "gpt",
"value": "grpcurl -H \"Authorization: Bearer $token\" -d '{\"foo\": \"bar\"}' grpc.server.com:443 my.custom.server.Service/Method"
}
] |
[
{
"from": "human",
"value": "List all services exposed by a server"
},
{
"from": "gpt",
"value": "grpcurl grpc.server.com:443 list"
}
] |
[
{
"from": "human",
"value": "List all methods in a particular service"
},
{
"from": "gpt",
"value": "grpcurl grpc.server.com:443 list my.custom.server.Service"
}
] |
[
{
"from": "human",
"value": "Start the record (creates a preliminary link file)"
},
{
"from": "gpt",
"value": "in-toto-record start -n path/to/edit_file1 path/to/edit_file2 ... -k path/to/key_file -m ."
}
] |
[
{
"from": "human",
"value": "Stop the record (expects a preliminary link file)"
},
{
"from": "gpt",
"value": "in-toto-record stop -n path/to/edit_file1 path/to/edit_file2 ... -k path/to/key_file -p ."
}
] |
[
{
"from": "human",
"value": "Show transactions and running balance in the `assets:bank:checking` account"
},
{
"from": "gpt",
"value": "hledger aregister assets:bank:checking"
}
] |
[
{
"from": "human",
"value": "Show transactions and running balance in the first account named `*savings*`"
},
{
"from": "gpt",
"value": "hledger aregister savings"
}
] |
[
{
"from": "human",
"value": "Show the checking account's cleared transactions, with a specified width"
},
{
"from": "gpt",
"value": "hledger aregister checking --cleared --width 120"
}
] |
[
{
"from": "human",
"value": "Show the checking register, including transactions from forecast rules"
},
{
"from": "gpt",
"value": "hledger aregister checking --forecast"
}
] |
[
{
"from": "human",
"value": "Install a package from <http://atom.io/packages> or a theme from <http://atom.io/themes>"
},
{
"from": "gpt",
"value": "apm install package"
}
] |
[
{
"from": "human",
"value": "Remove a package/theme"
},
{
"from": "gpt",
"value": "apm remove package"
}
] |
[
{
"from": "human",
"value": "Upgrade a package/theme"
},
{
"from": "gpt",
"value": "apm upgrade package"
}
] |
[
{
"from": "human",
"value": "Send packets to all devices on the local network (255.255.255.255) by specifying a MAC address"
},
{
"from": "gpt",
"value": "wakeonlan 01:02:03:04:05:06"
}
] |
[
{
"from": "human",
"value": "Send packet to a specific device via IP address"
},
{
"from": "gpt",
"value": "wakeonlan 01:02:03:04:05:06 -i 192.168.178.2"
}
] |
[
{
"from": "human",
"value": "Print the commands, but don't execute them (dry-run)"
},
{
"from": "gpt",
"value": "wakeonlan -n 01:02:03:04:05:06"
}
] |
[
{
"from": "human",
"value": "Run in quiet mode"
},
{
"from": "gpt",
"value": "wakeonlan -q 01:02:03:04:05:06"
}
] |
[
{
"from": "human",
"value": "Create a backup of the device in the specified directory"
},
{
"from": "gpt",
"value": "idevicebackup backup path/to/directory"
}
] |
[
{
"from": "human",
"value": "Restore a backup from the specified directory"
},
{
"from": "gpt",
"value": "idevicebackup restore path/to/directory"
}
] |
[
{
"from": "human",
"value": "Run glow and select a file to view"
},
{
"from": "gpt",
"value": "glow"
}
] |
[
{
"from": "human",
"value": "Render a Markdown file to the terminal"
},
{
"from": "gpt",
"value": "glow path/to/file"
}
] |
[
{
"from": "human",
"value": "View a Markdown file using a paginator"
},
{
"from": "gpt",
"value": "glow -p path/to/file"
}
] |
[
{
"from": "human",
"value": "View a file from a URL"
},
{
"from": "gpt",
"value": "glow https://example.com/file.md"
}
] |
[
{
"from": "human",
"value": "View a GitHub/GitLab README"
},
{
"from": "gpt",
"value": "glow github.com/owner/repository"
}
] |
[
{
"from": "human",
"value": "Create a symbolic link to a file or directory"
},
{
"from": "gpt",
"value": "ln [-s|--symbolic] /path/to/file_or_directory path/to/symlink"
}
] |
[
{
"from": "human",
"value": "Overwrite an existing symbolic link to point to a different file"
},
{
"from": "gpt",
"value": "ln [-sf|--symbolic --force] /path/to/new_file path/to/symlink"
}
] |
[
{
"from": "human",
"value": "Create a hard link to a file"
},
{
"from": "gpt",
"value": "ln /path/to/file path/to/hardlink"
}
] |
[
{
"from": "human",
"value": "Show information about all active IPC facilities"
},
{
"from": "gpt",
"value": "ipcs"
}
] |
[
{
"from": "human",
"value": "Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets"
},
{
"from": "gpt",
"value": "ipcs --shmems|--queues|--semaphores"
}
] |
[
{
"from": "human",
"value": "Show full details on the resource with a specific ID"
},
{
"from": "gpt",
"value": "ipcs --shmems|--queues|--semaphores [-i|--id] resource_id"
}
] |
[
{
"from": "human",
"value": "Show limits in [b]ytes or in a human-readable format"
},
{
"from": "gpt",
"value": "ipcs [-l|--limits] --bytes|--human"
}
] |
[
{
"from": "human",
"value": "Show s[u]mmary about current usage"
},
{
"from": "gpt",
"value": "ipcs [-u|--summary]"
}
] |
[
{
"from": "human",
"value": "Show creator's and owner's UIDs and PIDs for all IPC facilities"
},
{
"from": "gpt",
"value": "ipcs [-c|--creator]"
}
] |
[
{
"from": "human",
"value": "Show the PID of the last operators for all IPC facilities"
},
{
"from": "gpt",
"value": "ipcs [-p|--pid]"
}
] |
[
{
"from": "human",
"value": "Show last access times for all IPC facilities"
},
{
"from": "gpt",
"value": "ipcs [-t|--time]"
}
] |
[
{
"from": "human",
"value": "View a compressed file"
},
{
"from": "gpt",
"value": "xzmore path/to/file"
}
] |
[
{
"from": "human",
"value": "Start `ghcid` and monitor a Haskell file for changes"
},
{
"from": "gpt",
"value": "ghcid path/to/Main.hs"
}
] |
[
{
"from": "human",
"value": "Start `ghcid` with a specific command, such as loading a Stack or Cabal project"
},
{
"from": "gpt",
"value": "ghcid --command \"stack ghci Main.hs\""
}
] |
[
{
"from": "human",
"value": "Run an action (default `main`) on each file save"
},
{
"from": "gpt",
"value": "ghcid --run=action path/to/Main.hs"
}
] |
[
{
"from": "human",
"value": "Set maximum height and width (default to console height and width)"
},
{
"from": "gpt",
"value": "ghcid --height=height --width=width path/to/Main.hs"
}
] |
[
{
"from": "human",
"value": "Write full GHC compiler output to a file"
},
{
"from": "gpt",
"value": "ghcid --outputfile=path/to/output_file.txt path/to/Main.hs"
}
] |
[
{
"from": "human",
"value": "Execute REPL commands (eg. `-- $> 1+1`) on each file save"
},
{
"from": "gpt",
"value": "ghcid --allow-eval path/to/Main.hs"
}
] |
[
{
"from": "human",
"value": "Match and rewrite templates, and print changes"
},
{
"from": "gpt",
"value": "comby 'assert_eq!(:[a], :[b])' 'assert_eq!(:[b], :[a])' .rs"
}
] |
[
{
"from": "human",
"value": "Match and rewrite with rewrite properties"
},
{
"from": "gpt",
"value": "comby 'assert_eq!(:[a], :[b])' 'assert_eq!(:[b].Capitalize, :[a])' .rs"
}
] |
[
{
"from": "human",
"value": "Match and rewrite in-place"
},
{
"from": "gpt",
"value": "comby -in-place 'match_pattern' 'rewrite_pattern'"
}
] |
[
{
"from": "human",
"value": "Only perform matching and print matches"
},
{
"from": "gpt",
"value": "comby -match-only 'match_pattern' \"\""
}
] |
[
{
"from": "human",
"value": "List all virtual private servers, or instances"
},
{
"from": "gpt",
"value": "aws lightsail get-instances"
}
] |
[
{
"from": "human",
"value": "List all bundles (instance plans)"
},
{
"from": "gpt",
"value": "aws lightsail list-bundles"
}
] |
[
{
"from": "human",
"value": "List all available instance images, or blueprints"
},
{
"from": "gpt",
"value": "aws lightsail list-blueprints"
}
] |
[
{
"from": "human",
"value": "Create an instance"
},
{
"from": "gpt",
"value": "aws lightsail create-instances --instance-names name --availability-zone region --bundle-id nano_2_0 --blueprint-id blueprint_id"
}
] |
[
{
"from": "human",
"value": "Print the state of a specific instance"
},
{
"from": "gpt",
"value": "aws lightsail get-instance-state --instance-name name"
}
] |
[
{
"from": "human",
"value": "Stop a specific instance"
},
{
"from": "gpt",
"value": "aws lightsail stop-instance --instance-name name"
}
] |
[
{
"from": "human",
"value": "Delete a specific instance"
},
{
"from": "gpt",
"value": "aws lightsail delete-instance --instance-name name"
}
] |
[
{
"from": "human",
"value": "Print a file to `stdout` (status and progress messages are sent to `stderr`)"
},
{
"from": "gpt",
"value": "ippeveps path/to/file"
}
] |
[
{
"from": "human",
"value": "Print a file from `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "wget -O - https://examplewebsite.com/file | ippeveps"
}
] |
[
{
"from": "human",
"value": "Convert a PBM image file to YBM"
},
{
"from": "gpt",
"value": "pbmtoybm path/to/input_file.pbm > path/to/output_file.ybm"
}
] |
[
{
"from": "human",
"value": "Sign into a Fly account"
},
{
"from": "gpt",
"value": "flyctl auth login"
}
] |
[
{
"from": "human",
"value": "Launch an application from a specific Dockerfile (the default path is the current working directory)"
},
{
"from": "gpt",
"value": "flyctl launch --dockerfile path/to/dockerfile"
}
] |
[
{
"from": "human",
"value": "Open the current deployed application in the default web browser"
},
{
"from": "gpt",
"value": "flyctl open"
}
] |
[
{
"from": "human",
"value": "Deploy the Fly applications from a specific Dockerfile"
},
{
"from": "gpt",
"value": "flyctl deploy --dockerfile path/to/dockerfile"
}
] |
[
{
"from": "human",
"value": "Open the Fly Web UI for the current application in a web browser"
},
{
"from": "gpt",
"value": "flyctl dashboard"
}
] |
[
{
"from": "human",
"value": "List all applications in the logged-in Fly account"
},
{
"from": "gpt",
"value": "flyctl apps list"
}
] |
[
{
"from": "human",
"value": "View the status of a specific running application"
},
{
"from": "gpt",
"value": "flyctl status --app app_name"
}
] |
[
{
"from": "human",
"value": "Display version information"
},
{
"from": "gpt",
"value": "flyctl version"
}
] |
[
{
"from": "human",
"value": "Convert a PAM image to an XV thumbnail picture"
},
{
"from": "gpt",
"value": "pamtoxvmini path/to/input_file.pam > path/to/output_file"
}
] |
[
{
"from": "human",
"value": "Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu`"
},
{
"from": "gpt",
"value": "ppmtorgb3 path/to/file.ppm"
}
] |
[
{
"from": "human",
"value": "Print a file to `stdout` (status and progress messages are sent to `stderr`)"
},
{
"from": "gpt",
"value": "ippeveps path/to/file"
}
] |
[
{
"from": "human",
"value": "Print a file from `stdin` to `stdout`"
},
{
"from": "gpt",
"value": "wget -O - https://examplewebsite.com/file | ippeveps"
}
] |
[
{
"from": "human",
"value": "Create new files and add them to the index"
},
{
"from": "gpt",
"value": "git touch path/to/file1 path/to/file2 ..."
}
] |
[
{
"from": "human",
"value": "List available databases"
},
{
"from": "gpt",
"value": "dict -D"
}
] |
[
{
"from": "human",
"value": "Get information about a database"
},
{
"from": "gpt",
"value": "dict -i database_name"
}
] |
[
{
"from": "human",
"value": "Look up a word in a specific database"
},
{
"from": "gpt",
"value": "dict -d database_name word"
}
] |
[
{
"from": "human",
"value": "Look up a word in all available databases"
},
{
"from": "gpt",
"value": "dict word"
}
] |
[
{
"from": "human",
"value": "Show information about the DICT server"
},
{
"from": "gpt",
"value": "dict -I"
}
] |
[
{
"from": "human",
"value": "Run the `default` Rakefile task"
},
{
"from": "gpt",
"value": "rake"
}
] |
[
{
"from": "human",
"value": "Run a specific task"
},
{
"from": "gpt",
"value": "rake task"
}
] |
[
{
"from": "human",
"value": "Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default)"
},
{
"from": "gpt",
"value": "rake --jobs n"
}
] |
[
{
"from": "human",
"value": "Use a specific Rakefile"
},
{
"from": "gpt",
"value": "rake --rakefile path/to/Rakefile"
}
] |
[
{
"from": "human",
"value": "Execute `rake` from another directory"
},
{
"from": "gpt",
"value": "rake --directory path/to/directory"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a DDIF image file"
},
{
"from": "gpt",
"value": "pnmtoddif path/to/image.pnm > path/to/image.ddif"
}
] |
[
{
"from": "human",
"value": "Explicitly specify the horizontal and vertical resolution of the output image"
},
{
"from": "gpt",
"value": "pnmtoddif [-r|-resolution] horizontal_dpi vertical_dpi path/to/image.pnm > path/to/image.ddif"
}
] |
[
{
"from": "human",
"value": "Execute a specific command"
},
{
"from": "gpt",
"value": "exec command -with -flags"
}
] |
[
{
"from": "human",
"value": "Execute a command with a (mostly) empty environment"
},
{
"from": "gpt",
"value": "exec -c command -with -flags"
}
] |
[
{
"from": "human",
"value": "Execute a command as a login shell"
},
{
"from": "gpt",
"value": "exec -l command -with -flags"
}
] |
[
{
"from": "human",
"value": "Execute a command with a different name"
},
{
"from": "gpt",
"value": "exec -a name command -with -flags"
}
] |
[
{
"from": "human",
"value": "Encrypt a Kubernetes secret from a YAML file into a SealedSecret (default JSON output)"
},
{
"from": "gpt",
"value": "kubeseal < secret.yaml > sealedsecret.json"
}
] |
[
{
"from": "human",
"value": "Encrypt a secret, outputting it in YAML or JSON format, using a bearer token for API authentication"
},
{
"from": "gpt",
"value": "kubeseal [-o|--format] yaml|json --token my-bearer-token < secret.yaml > sealedsecret.yaml"
}
] |
[
{
"from": "human",
"value": "Seal a secret using a specific controller namespace of sealed-secrets controller and name"
},
{
"from": "gpt",
"value": "kubeseal --controller-namespace controller-namespace --controller-name controller-name < secret.yaml > sealedsecret.yaml"
}
] |
[
{
"from": "human",
"value": "Encrypt a raw secret value from a file with a specified name and scope"
},
{
"from": "gpt",
"value": "kubeseal --raw --from-file path/to/secret.txt --name my-secret --scope strict|namespace-wide|cluster-wide > sealedsecret.yaml"
}
] |
[
{
"from": "human",
"value": "Fetch the controller's public certificate for offline sealing with basic auth"
},
{
"from": "gpt",
"value": "kubeseal --fetch-cert --username username --password password > cert.pem"
}
] |
[
{
"from": "human",
"value": "Seal a secret offline using a fetched certificate"
},
{
"from": "gpt",
"value": "kubeseal --cert cert.pem < secret.yaml > sealedsecret.yaml"
}
] |
[
{
"from": "human",
"value": "Merge a secret into an existing SealedSecret file in-place"
},
{
"from": "gpt",
"value": "kubeseal --merge-into sealedsecret.yaml < secret.yaml"
}
] |
[
{
"from": "human",
"value": "Validate a SealedSecret without applying it"
},
{
"from": "gpt",
"value": "kubeseal --validate < sealedsecret.yaml"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.