Hacker Newsnew | past | comments | ask | show | jobs | submit | 5ol's commentslogin

Is there any way to do this using a Javascript bookmarklet? I'm on Linux (Wayland), and can't use Hammerspoon or Autokey / Autohotkey.

On one banking website (https://yesonline.yesbank.co.in/) that blocks pasting, even if I enable paste, pasted passwords don't work whereas typed passwords do.


I don't see why you need virtual accounts for this. You can make do with sub-accounts.

You can use accounts names `Liabilities:Credit-Card:Budget`, `Liabilities:Credit-Card:Bank-Name:Envelope`, `Assets:Checking:Budget`, and `Assets:Checking:Bank-Name:Budget`. You can set up your initial budgets by transferring from `...:Budget` to `...:Bank-Name:Envelope`, and then whenever you engage in transactions, shift money in the reverse direction to `...:Budget:Used`.

That way, whenever you query `Budget:Used$`, you'll see how much of your budget you've used, and whenever you query `Envelope$` or `Budget`, you'll see how much you have remaining in your budget (i.e., Budget - Budget:Used), and when you query `Budget$`, you'll see what your total budget is.


You can do this in a few ways, depending on what exactly you want to do:

1. Using period reporting feature (`-p`):

   hledger bse -p "yearly from 2019-04" --depth=2 --layout=bare -e 2022-04-01 -X₹
2. Separating journals into April 1 – March 31 financial years.

3. Using `-b` and `-e` to demarcate begin and end dates when generating reports.


That's terrific, thank you!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: