conversations
listlengths
2
2
[ { "from": "human", "value": "Import new transactions from `bank.csv`, using `bank.csv.rules` to convert via the `hledger-import` command" }, { "from": "gpt", "value": "`hledger import {{path/to/bank.csv}}`" } ]
[ { "from": "human", "value": "Show what would be imported from these two files, without doing anything via the `hledger-import` command" }, { "from": "gpt", "value": "`hledger import {{path/to/bank1.csv}} {{path/to/bank2.csv}} --dry-run`" } ]
[ { "from": "human", "value": "Import new transactions from all CSV files, using the same rules for all via the `hledger-import` command" }, { "from": "gpt", "value": "`hledger import --rules-file {{common.rules}} *.csv`" } ]
[ { "from": "human", "value": "Show conversion errors or results while editing `bank.csv.rules` via the `hledger-import` command" }, { "from": "gpt", "value": "`watchexec -- hledger -f {{path/to/bank.csv}} print`" } ]
[ { "from": "human", "value": "Mark `bank.csv`'s current data as seen, as if already imported via the `hledger-import` command" }, { "from": "gpt", "value": "`hledger import --catchup {{path/to/bank.csv}}`" } ]
[ { "from": "human", "value": "Mark `bank.csv` as all new, as if not yet imported via the `hledger-import` command" }, { "from": "gpt", "value": "`rm -f .latest.bank.csv`" } ]
[ { "from": "human", "value": "Tell me about `hledger incomestatement`." }, { "from": "gpt", "value": "Show revenue inflows and expense outflows during the report period.\nAmounts are shown with normal positive sign, as in conventional financial statements.\nMore information: <https://hledger.org/...
[ { "from": "human", "value": "Show revenues and expenses (changes in `Revenue` and `Expense` accounts) via the `hledger-incomestatement` command" }, { "from": "gpt", "value": "`hledger incomestatement`" } ]
[ { "from": "human", "value": "Show revenues and expenses each month via the `hledger-incomestatement` command" }, { "from": "gpt", "value": "`hledger incomestatement --monthly`" } ]
[ { "from": "human", "value": "Show monthly revenues/expenses/totals, largest first, summarised to 2 levels via the `hledger-incomestatement` command" }, { "from": "gpt", "value": "`hledger incomestatement --monthly --row-total --average --sort --depth 2`" } ]
[ { "from": "human", "value": "Short form of the above, and generate HTML output in `is.html` via the `hledger-incomestatement` command" }, { "from": "gpt", "value": "`hledger is -MTAS -2 -o is.html`" } ]
[ { "from": "human", "value": "Tell me about `hledger`." }, { "from": "gpt", "value": "A robust, friendly plain text accounting app.\nSee also: `hledger-ui` for TUI, `hledger-web` for web interface.\nMore information: <https://hledger.org/hledger.html>.\n" } ]
[ { "from": "human", "value": "Record new transactions interactively, saving to the default journal file via the `hledger` command" }, { "from": "gpt", "value": "`hledger add`" } ]
[ { "from": "human", "value": "Import new transactions from `bank.csv`, using `bank.csv.rules` to convert via the `hledger` command" }, { "from": "gpt", "value": "`hledger import {{path/to/bank.csv}}`" } ]
[ { "from": "human", "value": "Print all transactions, reading from multiple specified journal files via the `hledger` command" }, { "from": "gpt", "value": "`hledger print --file {{path/to/prices-2024.journal}} --file {{path/to/prices-2023.journal}}`" } ]
[ { "from": "human", "value": "Show all accounts, as a hierarchy, and their types via the `hledger` command" }, { "from": "gpt", "value": "`hledger accounts --tree --types`" } ]
[ { "from": "human", "value": "Show asset and liability account balances, including zeros, hierarchically via the `hledger` command" }, { "from": "gpt", "value": "`hledger balancesheet --empty --tree --no-elide`" } ]
[ { "from": "human", "value": "Show monthly incomes/expenses/totals, largest first, summarised to 2 levels via the `hledger` command" }, { "from": "gpt", "value": "`hledger incomestatement --monthly --row-total --average --sort --depth 2`" } ]
[ { "from": "human", "value": "Show the `assets:bank:checking` account's transactions and running balance via the `hledger` command" }, { "from": "gpt", "value": "`hledger aregister assets:bank:checking`" } ]
[ { "from": "human", "value": "Show the amount spent on food from the `assets:cash` account via the `hledger` command" }, { "from": "gpt", "value": "`hledger print assets:cash | hledger -f- -I aregister expenses:food`" } ]
[ { "from": "human", "value": "Tell me about `hledger print`." }, { "from": "gpt", "value": "Show full journal entries, representing transactions.\nMore information: <https://hledger.org/hledger.html#print>.\n" } ]
[ { "from": "human", "value": "Show all transactions in the default journal file via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print`" } ]
[ { "from": "human", "value": "Show transactions, with any implied amounts or costs made explicit via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print --explicit --infer-costs`" } ]
[ { "from": "human", "value": "Show transactions from two specified files, with amounts converted to cost via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print --file {{path/to/2023.journal}} --file {{path/to/2024.journal}} --cost`" } ]
[ { "from": "human", "value": "Show `$` transactions in `*food*` but not `*groceries*` accounts this month via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print cur:\\\\$ food not:groceries date:thismonth`" } ]
[ { "from": "human", "value": "Show transactions of amount 50 or more, with `whole foods` in their description via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print amt:'>50' desc:'whole foods'`" } ]
[ { "from": "human", "value": "Show cleared transactions, with `EUR` amounts rounded and with decimal commas via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print --cleared --commodity '1000, EUR' --round hard`" } ]
[ { "from": "human", "value": "Write transactions from `foo.journal` as a CSV file via the `hledger-print` command" }, { "from": "gpt", "value": "`hledger print --file {{path/to/foo.journal}} --output-file {{path/to/output_file.csv}}`" } ]
[ { "from": "human", "value": "Tell me about `hledger-ui`." }, { "from": "gpt", "value": "A terminal interface (TUI) for `hledger`, a robust, friendly plain text accounting app.\nMore information: <https://hledger.org/hledger-ui.html>.\n" } ]
[ { "from": "human", "value": "Start in the main menu screen, reading from the default journal file via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui`" } ]
[ { "from": "human", "value": "Start with a different color theme via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui --theme {{terminal|greenterm|dark}}`" } ]
[ { "from": "human", "value": "Start in the balance sheet accounts screen, showing hierarchy down to level 3 via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui --bs --tree --depth 3`" } ]
[ { "from": "human", "value": "Start in this account's screen, showing cleared transactions, and reload on change via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui --register {{assets:bank:checking}} --cleared --watch`" } ]
[ { "from": "human", "value": "Read two journal files, and show amounts as current value when known via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui --file {{path/to/2024.journal}} --file {{path/to/2024-prices.journal}} --value now`" } ]
[ { "from": "human", "value": "Show the manual in Info format, if possible via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui --info`" } ]
[ { "from": "human", "value": "Display help via the `hledger-ui` command" }, { "from": "gpt", "value": "`hledger-ui --help`" } ]
[ { "from": "human", "value": "Tell me about `hledger-web`." }, { "from": "gpt", "value": "A web interface and API for `hledger`, a robust, friendly plain text accounting app.\nMore information: <https://hledger.org/hledger-web.html>.\n" } ]
[ { "from": "human", "value": "Start the web app, and a browser if possible, for local viewing and adding only via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web`" } ]
[ { "from": "human", "value": "As above but with a specified file, and allow editing of existing data via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web --file {{path/to/file.journal}} --allow edit`" } ]
[ { "from": "human", "value": "Start just the web app, and accept incoming connections to the specified host and port via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web --serve --host {{my.host.name}} --port 8000`" } ]
[ { "from": "human", "value": "Start just the web app's JSON API, and allow only read access via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web --serve-api --host {{my.host.name}} --allow view`" } ]
[ { "from": "human", "value": "Show amounts converted to current market value in your base currency when known via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web --value now --infer-market-prices`" } ]
[ { "from": "human", "value": "Show the manual in Info format if possible via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web --info`" } ]
[ { "from": "human", "value": "Display help via the `hledger-web` command" }, { "from": "gpt", "value": "`hledger-web --help`" } ]
[ { "from": "human", "value": "Tell me about `hn`." }, { "from": "gpt", "value": "Command-line interface for Hacker News.\nMore information: <https://github.com/rafaelrinaldi/hn-cli>.\n" } ]
[ { "from": "human", "value": "View stories on Hacker News via the `hn` command" }, { "from": "gpt", "value": "`hn`" } ]
[ { "from": "human", "value": "View _number_ of stories on Hacker News via the `hn` command" }, { "from": "gpt", "value": "`hn --limit {{number}}`" } ]
[ { "from": "human", "value": "View stories on Hacker News, and keep the list open after selecting a link via the `hn` command" }, { "from": "gpt", "value": "`hn --keep-open`" } ]
[ { "from": "human", "value": "View stories on Hacker News sorted by submission date via the `hn` command" }, { "from": "gpt", "value": "`hn --latest`" } ]
[ { "from": "human", "value": "Tell me about `holehe`." }, { "from": "gpt", "value": "Check if an email is attached to an account on sites like Twitter, Instagram, Imgur and over 120 others.\nMore information: <https://github.com/megadose/holehe#-cli-example>.\n" } ]
[ { "from": "human", "value": "Show status across all supported websites for the specified email address via the `holehe` command" }, { "from": "gpt", "value": "`holehe {{username@example.org}}`" } ]
[ { "from": "human", "value": "Show status for only sites where the specified email address is in use via the `holehe` command" }, { "from": "gpt", "value": "`holehe {{username@example.org}} --only-used`" } ]
[ { "from": "human", "value": "Tell me about `home-manager`." }, { "from": "gpt", "value": "Manage a per-user environment using Nix, allowing declarative configuration of the user’s home.\nMore information: <https://github.com/nix-community/home-manager>.\n" } ]
[ { "from": "human", "value": "Build the configuration defined in `~/.config/nixpkgs/home.nix` without applying it via the `home-manager` command" }, { "from": "gpt", "value": "`home-manager build`" } ]
[ { "from": "human", "value": "Build and apply (switch to) the new configuration via the `home-manager` command" }, { "from": "gpt", "value": "`home-manager switch`" } ]
[ { "from": "human", "value": "Roll back to a previous configuration generation via the `home-manager` command" }, { "from": "gpt", "value": "`home-manager rollback`" } ]
[ { "from": "human", "value": "List all existing configuration generations via the `home-manager` command" }, { "from": "gpt", "value": "`home-manager generations`" } ]
[ { "from": "human", "value": "When using flakes, run any operation that requires nix to run (build, switch, news) by passing the path to the flake via the `home-manager` command" }, { "from": "gpt", "value": "`home-manager {{command}} --flake {{path/to/flake}}`" } ]
[ { "from": "human", "value": "Tell me about `hostapd`." }, { "from": "gpt", "value": "Start an access point using a wireless interface.\nMore information: <https://w1.fi/hostapd/>.\n" } ]
[ { "from": "human", "value": "Start an access point via the `hostapd` command" }, { "from": "gpt", "value": "`sudo hostapd {{path/to/hostapd.conf}}`" } ]
[ { "from": "human", "value": "Start an access point, forking into the background via the `hostapd` command" }, { "from": "gpt", "value": "`sudo hostapd -B {{path/to/hostapd.conf}}`" } ]
[ { "from": "human", "value": "Tell me about `hostess`." }, { "from": "gpt", "value": "Manage the `/etc/hosts` file.\nMore information: <https://github.com/cbednarski/hostess>.\n" } ]
[ { "from": "human", "value": "List domains, target IP addresses and on/off status via the `hostess` command" }, { "from": "gpt", "value": "`hostess list`" } ]
[ { "from": "human", "value": "Add a domain pointing to your machine to your hosts file via the `hostess` command" }, { "from": "gpt", "value": "`hostess add {{local.example.com}} {{127.0.0.1}}`" } ]
[ { "from": "human", "value": "Remove a domain from your hosts file via the `hostess` command" }, { "from": "gpt", "value": "`hostess del {{local.example.com}}`" } ]
[ { "from": "human", "value": "Disable a domain (but don't remove it) via the `hostess` command" }, { "from": "gpt", "value": "`hostess off {{local.example.com}}`" } ]
[ { "from": "human", "value": "Tell me about `hostid`." }, { "from": "gpt", "value": "Print the numeric identifier for the current host (not necessarily the IP address).\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/hostid-invocation.html>.\n" } ]
[ { "from": "human", "value": "Display the numeric identifier for the current host in hexadecimal via the `hostid` command" }, { "from": "gpt", "value": "`hostid`" } ]
[ { "from": "human", "value": "Tell me about `host`." }, { "from": "gpt", "value": "Lookup Domain Name Server.\nMore information: <https://manned.org/host>.\n" } ]
[ { "from": "human", "value": "Lookup A, AAAA, and MX records of a domain via the `host` command" }, { "from": "gpt", "value": "`host {{domain}}`" } ]
[ { "from": "human", "value": "Lookup a field (CNAME, TXT,...) of a domain via the `host` command" }, { "from": "gpt", "value": "`host -t {{field}} {{domain}}`" } ]
[ { "from": "human", "value": "Reverse lookup an IP via the `host` command" }, { "from": "gpt", "value": "`host {{ip_address}}`" } ]
[ { "from": "human", "value": "Specify an alternate DNS server to query via the `host` command" }, { "from": "gpt", "value": "`host {{domain}} {{8.8.8.8}}`" } ]
[ { "from": "human", "value": "Tell me about `hostname`." }, { "from": "gpt", "value": "Show or set the system's host name.\nMore information: <https://manned.org/hostname>.\n" } ]
[ { "from": "human", "value": "Show current host name via the `hostname` command" }, { "from": "gpt", "value": "`hostname`" } ]
[ { "from": "human", "value": "Show the network address of the host name via the `hostname` command" }, { "from": "gpt", "value": "`hostname {{[-i|--ip-addresses]}}`" } ]
[ { "from": "human", "value": "Show the FQDN (Fully Qualified Domain Name) via the `hostname` command" }, { "from": "gpt", "value": "`hostname {{[-f|--fqdn]}}`" } ]
[ { "from": "human", "value": "Set current host name via the `hostname` command" }, { "from": "gpt", "value": "`hostname {{new_hostname}}`" } ]
[ { "from": "human", "value": "Tell me about `hping3`." }, { "from": "gpt", "value": "Advanced ping utility which supports protocols such TCP, UDP, and raw IP.\nBest run with elevated privileges.\nMore information: <https://github.com/antirez/hping>.\n" } ]
[ { "from": "human", "value": "Ping a destination with 4 ICMP ping requests via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --icmp --count {{4}} {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Ping an IP address over UDP on port 80 via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --udp --destport {{80}} --syn {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Scan TCP port 80, scanning from the specific local source port 5090 via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --verbose --syn --destport {{80}} --baseport {{5090}} {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Traceroute using a TCP scan to a specific destination port via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --traceroute --verbose --syn --destport {{80}} {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Scan a set of TCP ports on a specific IP address via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --scan {{80,3000,9000}} --syn {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Perform a TCP ACK scan to check if a given host is alive via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --count {{2}} --verbose --destport {{80}} --ack {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Perform a charge test on port 80 via the `hping3` command" }, { "from": "gpt", "value": "`hping3 --flood --destport {{80}} --syn {{ip_or_hostname}}`" } ]
[ { "from": "human", "value": "Tell me about `hping`." }, { "from": "gpt", "value": "This command is an alias of `hping3`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `hping` command" }, { "from": "gpt", "value": "`tldr hping3`" } ]
[ { "from": "human", "value": "Tell me about `hr`." }, { "from": "gpt", "value": "Print a horizontal rule in the terminal.\nMore information: <https://github.com/LuRsT/hr>.\n" } ]
[ { "from": "human", "value": "Print a horizontal rule via the `hr` command" }, { "from": "gpt", "value": "`hr`" } ]
[ { "from": "human", "value": "Print a horizontal rule with a custom string via the `hr` command" }, { "from": "gpt", "value": "`hr {{string}}`" } ]
[ { "from": "human", "value": "Print a multiline horizontal rule via the `hr` command" }, { "from": "gpt", "value": "`hr {{string1 string2 ...}}`" } ]
[ { "from": "human", "value": "Tell me about `hsd-cli`." }, { "from": "gpt", "value": "The command-line REST tool for the Handshake blockchain.\nMore information: <https://handshake.org>.\n" } ]
[ { "from": "human", "value": "Retrieve information about the current server via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli info`" } ]
[ { "from": "human", "value": "Broadcast a local transaction via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli broadcast {{transaction_hex}}`" } ]
[ { "from": "human", "value": "Retrieve a mempool snapshot via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli mempool`" } ]
[ { "from": "human", "value": "View a transaction by address or hash via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli tx {{address_or_hash}}`" } ]
[ { "from": "human", "value": "View a coin by its hash index or address via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli coin {{hash_index_or_address}}`" } ]
[ { "from": "human", "value": "View a block by height or hash via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli block {{height_or_hash}}`" } ]
[ { "from": "human", "value": "Reset the chain to the specified block via the `hsd-cli` command" }, { "from": "gpt", "value": "`hsd-cli reset {{height_or_hash}}`" } ]