messages listlengths 2 6 |
|---|
[
{
"content": "sqlfluff output json format to file",
"role": "user"
},
{
"content": "You can use the --format flag to output linting results in JSON, which is useful for programmatic processing or generating custom reports.\n```bash\nsqlfluff lint . --dialect snowflake --format json > lint_report.jso... |
[
{
"content": "polyaxon stop all running jobs for a project",
"role": "user"
},
{
"content": "You can use the project runs command with a stop operation and a query filter to terminate all currently active runs in a specific project.\n```bash\npolyaxon project runs -p user/project -q \"status: runnin... |
[
{
"content": "scan terraform folder but ignore specific rule",
"role": "user"
},
{
"content": "You can use the --check flag to run only specific tests or the --skip-check flag to exclude certain security rules from your scan.\n```bash\ncheckov -d . --skip-check CKV_AWS_20\n```",
"role": "assista... |
[
{
"content": "wireguard check status of vpn",
"role": "user"
},
{
"content": "Using the wg command without arguments provides a summary of all active WireGuard interfaces, including data usage and handshake times.\n```bash\nsudo wg\n```",
"role": "assistant"
},
{
"content": "show it ever... |
[
{
"content": "how to download a torrent file via command line",
"role": "user"
},
{
"content": "You can download torrents by passing the .torrent file path or a Magnet URI directly to aria2c.\n```bash\naria2c http://example.com/file.torrent\n```",
"role": "assistant"
},
{
"content": "can... |
[
{
"content": "list all system properties in java without running code",
"role": "user"
},
{
"content": "You can use the -XshowSettings:properties flag with the -version flag to display all Java system properties and environment details without launching an application.\n```bash\njava -XshowSettings:... |
[
{
"content": "move current pane to a different tab",
"role": "user"
},
{
"content": "You can move the current pane into its own new tab using the move-pane-to-new-tab subcommand.\n```bash\nwezterm cli move-pane-to-new-tab --pane-id $WEZTERM_PANE\n```",
"role": "assistant"
}
] |
[
{
"content": "compare two local files side by side with a syntax theme",
"role": "user"
},
{
"content": "You can use delta to compare any two files directly and apply a specific syntax theme for better readability.\n```bash\ndelta --side-by-side --syntax-theme \"Nord\" file1.py file2.py\n```",
"... |
[
{
"content": "jfrog cli scan image and show only high vulns",
"role": "user"
},
{
"content": "You can use the JFrog CLI's docker scan command combined with the min-severity flag to filter for specific security levels.\n```bash\njf docker scan my-image:latest --min-severity=\"High\"\n```",
"role"... |
[
{
"content": "list only folders that are git repositories",
"role": "user"
},
{
"content": "You can use eza with the --git-repos flag to filter the list and show only directories that contain a git repository.\n```bash\neza --long --icons --git-repos\n```",
"role": "assistant"
},
{
"cont... |
[
{
"content": "database migrations stuck in dirty state how to fix",
"role": "user"
},
{
"content": "If a migration fails, the database flag is often left in a \"dirty\" state that prevents further updates. Use the force command with the current version number to manually reset the state.\n```bash\nm... |
[
{
"content": "cassandra database how to see which nodes are currently running or down",
"role": "user"
},
{
"content": "The status command provides a summary of the cluster, showing 'UN' for Up/Normal and 'DN' for Down/Normal nodes.\n```bash\nnodetool status\n```",
"role": "assistant"
},
{
... |
[
{
"content": "dns server status check if running",
"role": "user"
},
{
"content": "The status command provides basic information about the running Unbound service, including its version, uptime, and thread status.\n```bash\nunbound-control status\n```",
"role": "assistant"
},
{
"content"... |
[
{
"content": "show linux system info in terminal with a cool logo",
"role": "user"
},
{
"content": "Neofetch is a popular tool that displays system information alongside your distribution's ASCII logo. It is commonly used for sharing desktop setups.\n```bash\nneofetch\n```",
"role": "assistant"
... |
[
{
"content": "mosh escape key not working how to change it",
"role": "user"
},
{
"content": "You can use the -e flag to define a custom escape character, which is useful if the default one interferes with your terminal or editor.\n```bash\nmosh -e ^A user@remote-host\n```",
"role": "assistant"
... |
[
{
"content": "start a pipeline manually and provide the params",
"role": "user"
},
{
"content": "You can use the start command to trigger a PipelineRun. Using the -p flag allows you to pass specific parameter values required by the pipeline definition.\n```bash\ntkn pipeline start my-pipeline-name -... |
[
{
"content": "kubernetes app won't start how to see what i actually deployed",
"role": "user"
},
{
"content": "You can use helm get manifest to view the actual Kubernetes YAML resources sent to the cluster for a specific release.\n```bash\nhelm get manifest my-release\n```",
"role": "assistant"
... |
[
{
"content": "clone a git repo to my local code directory",
"role": "user"
},
{
"content": "The ghq get command clones remote repositories into a structured directory root, typically located at ~/ghq.\n```bash\nghq get https://github.com/microsoft/vscode\n```",
"role": "assistant"
}
] |
[
{
"content": "load test web server with custom headers",
"role": "user"
},
{
"content": "You can use wrk with the -H flag to pass custom HTTP headers directly from the command line for basic load testing.\n```bash\nwrk -t8 -c200 -d30s -H \"X-API-Key: secret123\" -H \"Accept: application/json\" http:... |
[
{
"content": "victoria metrics force flush data to disk",
"role": "user"
},
{
"content": "You can trigger an immediate flush of all in-memory data to persistent storage using the force-flush endpoint.\n```bash\ncurl http://localhost:8428/internal/forceFlush\n```",
"role": "assistant"
},
{
... |
[
{
"content": "graphql typescript generate types from local schema file",
"role": "user"
},
{
"content": "You can generate TypeScript types directly from a local schema file by specifying the schema path, plugins, and output file as CLI arguments.\n```bash\nnpx graphql-codegen --schema ./schema.graph... |
[
{
"content": "check if squid config is valid before restarting",
"role": "user"
},
{
"content": "You can use the -k parse flag to check the configuration file for syntax errors without affecting the running service.\n```bash\nsquid -k parse\n```",
"role": "assistant"
},
{
"content": "tha... |
[
{
"content": "powerdns reload all zones from the backend",
"role": "user"
},
{
"content": "You can use the redis-rectify-all command to ensure all zones are properly handled or use the retrieve command to force a fresh pull of a specific slave zone.\n```bash\npdns_control retrieve example.com\n```",... |
[
{
"content": "trace dns path for a domain",
"role": "user"
},
{
"content": "You can use the -t flag with drill to perform a trace from the root servers down to the authoritative name server for the domain.\n```bash\ndrill -t google.com\n```",
"role": "assistant"
},
{
"content": "can i se... |
[
{
"content": "how to run a specific swift file like a script",
"role": "user"
},
{
"content": "You can use the swift command followed by the filename to immediately compile and execute a Swift source file without creating a separate binary.\n```bash\nswift main.swift\n```",
"role": "assistant"
... |
[
{
"content": "hasura cli seed data into dev database",
"role": "user"
},
{
"content": "Use the seed apply command to execute your stored SQL seed files against a specific database in your Hasura project.\n```bash\nhasura seed apply --database-name default\n```",
"role": "assistant"
},
{
... |
[
{
"content": "cypress run specific folder but group it in dashboard",
"role": "user"
},
{
"content": "You can use the --group flag to organize your test runs into logical sets within the Cypress Cloud dashboard.\n```bash\nnpx cypress run --spec \"cypress/e2e/marketing/**/*\" --record --key your_reco... |
[
{
"content": "rust auto run tests and clippy in background while i code",
"role": "user"
},
{
"content": "You can use the --job flag to run multiple tasks sequentially whenever a file changes in your Rust project.\n```bash\nbacon job:clippy job:test\n```",
"role": "assistant"
}
] |
[
{
"content": "limit connection speed for a single download",
"role": "user"
},
{
"content": "You can restrict the download speed for a specific file by using the --max-download-limit flag followed by the desired speed (e.g., 200K or 1M).\n```bash\naria2c --max-download-limit=200K \"https://example.c... |
[
{
"content": "go linter show all available linters and which ones are active",
"role": "user"
},
{
"content": "You can use the linters command to list all supported linters, categorized by those currently enabled and disabled by your configuration.\n```bash\ngolangci-lint linters\n```",
"role": ... |
[
{
"content": "cli tool to turn pdf into a text file but keep the columns looking right",
"role": "user"
},
{
"content": "Using pdftotext with the -layout flag attempts to preserve the original visual spacing and column alignment of the PDF in the text output.\n```bash\npdftotext -layout report.pdf a... |
[
{
"content": "python create lockfile from requirements.txt",
"role": "user"
},
{
"content": "You can use uv to compile a requirements file into a cross-platform lockfile, ensuring reproducible installations.\n```bash\nuv pip compile requirements.txt -o requirements.txt.lock\n```",
"role": "assis... |
[
{
"content": "cli convert pdf to text but keep the layout",
"role": "user"
},
{
"content": "Using the -layout flag with pdftotext maintains the original physical layout of the text as it appears in the PDF, which is useful for tables or columns.\n```bash\npdftotext -layout input.pdf output.txt\n```"... |
[
{
"content": "start shadowsocks client on a different local port like 1099",
"role": "user"
},
{
"content": "You can use the -l flag to specify the local port the SOCKS5 proxy will listen on.\n```bash\nsslocal -s 1.2.3.4 -p 8388 -k \"secret\" -m chacha20-ietf-poly1305 -l 1099 -d start\n```",
"ro... |
[
{
"content": "revert my vm to a previous state",
"role": "user"
},
{
"content": "You can use the restore command to roll back your virtual machine to a previously saved snapshot.\n```bash\nvagrant snapshot restore name_of_snapshot\n```",
"role": "assistant"
},
{
"content": "list them so ... |
[
{
"content": "vitest how to update snapshots",
"role": "user"
},
{
"content": "Use the -u or --update-snapshots flag to overwrite existing snapshots with the new results after making changes to your components.\n```bash\nnpx vitest -u\n```",
"role": "assistant"
}
] |
[
{
"content": "python script wont stop with ctrl-c how to force it",
"role": "user"
},
{
"content": "If a Python process is unresponsive to interrupts, you can use pkill with the SIGKILL signal to immediately terminate all processes running the python3 interpreter.\n```bash\npkill -9 python3\n```",
... |
[
{
"content": "load test backend but output results to a text file summary",
"role": "user"
},
{
"content": "You can pipe the attack output into the report command and use the output flag to save the summary to a file instead of the terminal.\n```bash\necho \"GET http://localhost:8080\" | vegeta atta... |
[
{
"content": "vault undo secret deletion",
"role": "user"
},
{
"content": "If you are using KV version 2, you can undelete a specific secret version that was marked for deletion to make it accessible again.\n```bash\nvault kv undelete -versions=2 secret/myapp/config\n```",
"role": "assistant"
... |
[
{
"content": "open prisma database browser on a different port",
"role": "user"
},
{
"content": "You can launch Prisma Studio on a custom port using the --port flag to avoid conflicts with other services.\n```bash\nnpx prisma studio --port 5555\n```",
"role": "assistant"
},
{
"content": ... |
[
{
"content": "exit elixir shell",
"role": "user"
},
{
"content": "You can exit the Interactive Elixir (IEx) shell by pressing Ctrl+C twice or by typing the halt command.\n```bash\nSystem.halt()\n```",
"role": "assistant"
},
{
"content": "actually how do i exit without killing the whole n... |
[
{
"content": "seldon core version check",
"role": "user"
},
{
"content": "You can find the version of Seldon Core currently running in your cluster by checking the image tag used by the controller manager pod.\n```bash\nkubectl get deployment seldon-controller-manager -n seldon-system -o jsonpath='{... |
[
{
"content": "turn restricted pdf into txt file",
"role": "user"
},
{
"content": "If a PDF is protected by an owner password, you can use the -opw flag to provide the credentials and extract the text content.\n```bash\npdftotext -opw secret123 protected_file.pdf output.txt\n```",
"role": "assist... |
[
{
"content": "packer how to see what variables are in my template",
"role": "user"
},
{
"content": "You can use the inspect command with the -machine-readable flag and grep to extract a clean list of all input variables defined in your Packer configuration.\n```bash\npacker inspect -machine-readable... |
[
{
"content": "build c code for apple silicon from linux",
"role": "user"
},
{
"content": "You can use the zig compiler's C frontend to cross-compile for M1/M2/M3 Macs by targeting the aarch64-macos architecture.\n```bash\nzig cc -target aarch64-macos main.c -o program_m1_mac\n```",
"role": "assi... |
[
{
"content": "csv convert to markdown table for github",
"role": "user"
},
{
"content": "You can use xsv table to convert a CSV file into a formatted, human-readable plain text table that uses pipes, which is compatible with Markdown.\n```bash\nxsv table data.csv\n```",
"role": "assistant"
},
... |
[
{
"content": "sops decrypt secret file to specific location",
"role": "user"
},
{
"content": "You can use the --output flag to specify a custom filename or path for the decrypted content instead of printing to stdout.\n```bash\nsops -d secrets.enc.yaml --output decrypted_secrets.yaml\n```",
"rol... |
[
{
"content": "generate reality keys for vless",
"role": "user"
},
{
"content": "The x25519 command generates a pair of private and public keys required for V2Ray REALITY security configuration.\n```bash\nv2ray x25519\n```",
"role": "assistant"
},
{
"content": "how to get a new uuid for t... |
[
{
"content": "how to rename a kubernetes context nickname",
"role": "user"
},
{
"content": "You can use kubectx to create an alias for a long or confusing context name, making it much easier to type.\n```bash\nkubectx production=gke_my-project-12345_us-central1-a_prod-cluster-01\n```",
"role": "... |
[
{
"content": "eleventy custom config file name",
"role": "user"
},
{
"content": "By default Eleventy looks for .eleventy.js, but you can specify a custom configuration file path using the --config flag.\n```bash\nnpx @11ty/eleventy --config=my-custom-config.js\n```",
"role": "assistant"
},
{... |
[
{
"content": "dnscrypt-proxy version check",
"role": "user"
},
{
"content": "You can use the -version flag to verify the currently installed version of dnscrypt-proxy and its build features.\n```bash\ndnscrypt-proxy -version\n```",
"role": "assistant"
}
] |
[
{
"content": "wasm ecosystem how to list all exported functions from a binary",
"role": "user"
},
{
"content": "You can use the objdump subcommand with the --section export flag to list all functions and symbols exported by a WebAssembly module.\n```bash\nwasm-tools objdump module.wasm --section exp... |
[
{
"content": "start terminal multiplexer and name the session",
"role": "user"
},
{
"content": "You can start a new session with a specific name using the --session flag, which makes it easier to identify or reattach to later.\n```bash\nzellij --session work-project\n```",
"role": "assistant"
... |
[
{
"content": "python create new environment named ml-project",
"role": "user"
},
{
"content": "Use the conda create command with the -n flag to define the environment name and optionally specify a Python version.\n```bash\nconda create -n ml-project python=3.9\n```",
"role": "assistant"
},
{... |
[
{
"content": "remix build but for development",
"role": "user"
},
{
"content": "You can use the remix build command with the development environment flag to generate a non-minified build suitable for debugging.\n```bash\nnpx remix build --mode development\n```",
"role": "assistant"
},
{
... |
[
{
"content": "juicity check if client config is valid",
"role": "user"
},
{
"content": "You can use the verify command on the juicity-client to ensure your JSON configuration file is syntactically correct and valid before starting the service.\n```bash\njuicity-client verify -c /path/to/client.json\... |
[
{
"content": "start capturing terminal traffic with proxyman",
"role": "user"
},
{
"content": "To begin intercepting HTTP/HTTPS traffic from your current shell session, you need to evaluate the setup command to export the necessary environment variables.\n```bash\neval $(proxyman shell-setup)\n```",... |
[
{
"content": "test internet speed between two linux boxes but only over udp with 500mbit bandwidth",
"role": "user"
},
{
"content": "You can use iperf3 in UDP mode with the -u flag and specify the target bandwidth using the -b flag.\n```bash\niperf3 -c [server_ip] -u -b 500M\n```",
"role": "assi... |
[
{
"content": "list all kotlin compiler advanced options",
"role": "user"
},
{
"content": "You can view the list of advanced or \"X\" flags for the Kotlin compiler by using the -X flag without any additional arguments.\n```bash\nkotlinc -X\n```",
"role": "assistant"
},
{
"content": "how d... |
[
{
"content": "attach to existing db file and show all records in a table",
"role": "user"
},
{
"content": "Open the database file and use a SELECT statement to display all data from your specific table.\n```bash\nsqlite3 database.db \"SELECT * FROM users;\"\n```",
"role": "assistant"
}
] |
[
{
"content": "lint dockerfile and output as json",
"role": "user"
},
{
"content": "You can use the --format flag to change the output style of hadolint, making it easier to parse in CI/CD pipelines.\n```bash\nhadolint --format json Dockerfile\n```",
"role": "assistant"
},
{
"content": "c... |
[
{
"content": "compress everything in this folder but keep the original files",
"role": "user"
},
{
"content": "Using the -k flag with brotli allows you to compress files while keeping the uncompressed originals on disk.\n```bash\nbrotli -k *\n```",
"role": "assistant"
},
{
"content": "th... |
[
{
"content": "rust auto-check for errors as I type",
"role": "user"
},
{
"content": "You can use bacon to automatically watch your Rust project and run checks every time you save a file.\n```bash\nbacon check\n```",
"role": "assistant"
},
{
"content": "can i run tests with it too instead... |
[
{
"content": "rust auto run clippy on save",
"role": "user"
},
{
"content": "Bacon can watch your files and automatically run clippy every time you save a change. This provides immediate feedback on linting errors during development.\n```bash\nbacon clippy\n```",
"role": "assistant"
},
{
... |
[
{
"content": "python save current environment to a file",
"role": "user"
},
{
"content": "You can use the freeze command to output all currently installed packages and their versions into a text file, which is the standard way to share dependencies.\n```bash\npip freeze > requirements.txt\n```",
... |
[
{
"content": "test my tuic server config for errors",
"role": "user"
},
{
"content": "You can use the --test-conf flag to verify that your configuration file is syntactically correct without actually starting the server.\n```bash\ntuic-server --test-conf -c /path/to/config.json\n```",
"role": "a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.