Update ledger and resolutions.

This commit is contained in:
Rico Sta. Cruz 2014-10-08 12:48:05 +08:00
parent 4f5fbd0d9a
commit d38aed3a35
5 changed files with 59 additions and 29 deletions

16
ledger-csv.md Normal file
View File

@ -0,0 +1,16 @@
---
title: Ledger CSV format
layout: default
---
$ ledger csv
Output:
date , ? , desc , account , currency , amt , pending/cleared , ?
"2013/09/02" , "" , "things" , "Assets:Cash" , "P" , "-2000" , "*" , ""
"2013/09/02" , "" , "things" , "Liabilities:Card" , "P" , "-200" , "*" , ""
"2013/09/02" , "" , "things" , "Expenses:Things" , "P" , "2200" , "*" , ""
"2013/09/04" , "" , "stuff" , "Assets:Cash" , "P" , "-20" , "*" , ""
"2013/09/04" , "" , "stuff" , "Expneses:Others" , "P" , "20" , "*" , ""

25
ledger-examples.md Normal file
View File

@ -0,0 +1,25 @@
---
title: Ledger examples
layout: default
---
# show me expenses for october (--period)
ledger b Expenses -p oct (--period)
# what's the mont expensive? (--sorted)
ledger r Expenses -S amount
# how much was spent on grocery?
ledger r grocery
ledger r grocery -W (--weekly)
ledger r grocery -M (--monthly)
# what did I spend my Mastercard on? (--period, --begin, --end)
ledger r mastercard
ledger r mastercard -p "january"
ledger r mastercard -b 01/25 -e 01/31
# what did I do yesterday?
# ..list transactions on this day
ledger reg -p 01/26

17
ledger-query.md Normal file
View File

@ -0,0 +1,17 @@
---
title: Ledger queries
layout: default
---
- @`payee`
- %`tag`
- =`note`
- #`code`
- `term` and `term`
- `term` or `term`
- not `term`
Examples:
ledger r @taco
lede

View File

@ -24,30 +24,11 @@ layout: default
# what did I spend on most? (--sorted) # what did I spend on most? (--sorted)
ledger reg Expenses -S amount ledger reg Expenses -S amount
# how much do I have now?
ledger bal ^Assets ^Liabilities
# how much did I have at this date? (--end) # how much did I have at this date? (--end)
ledger bal -e 01/15 ^Assets ^Liabilities ledger bal -e 01/15 ^Assets ^Liabilities
# how much did I spend and earn this month? # how much did I spend and earn this month?
ledger bal ^Expenses ^Income --invert ledger bal ^Expenses ^Income --invert
# what did I spend my Mastercard on? (--period, --begin, --end)
# ..list transactions in account "Mastercard" for this date.
ledger reg mastercard
ledger reg mastercard -p "january"
ledger reg mastercard -b 01/25 -e 01/31
# what did I do yesterday?
# ..list transactions on this day
ledger reg -p 01/26
# how much was spent on Expenses:Grocery?
ledger reg grocery
ledger reg grocery --weekly
ledger reg grocery --monthly
# how much was spent over the course of 3 days? (totalled) # how much was spent over the course of 3 days? (totalled)
ledger reg -b 01/25 -e 01/27 --subtotal ledger reg -b 01/25 -e 01/27 --subtotal
ledger reg -b 01/25 -e 01/27 --subtotal grocery ledger reg -b 01/25 -e 01/27 --subtotal grocery
@ -223,15 +204,6 @@ Then, when you receive the payment, you change it to
Assets:Accounts Receivable $100.00 Assets:Accounts Receivable $100.00
Income: Client name Income: Client name
### CSV format
date, ?, desc, account, currency, amt, pending/cleared, ?
"2013/09/02","","things", "Assets:Cash","P","-2000","*",""
"2013/09/02","","things", "Liabilities:Card","P","-200","*",""
"2013/09/02","","things", "Expenses:Things","P","2200","*",""
"2013/09/04","","stuff", "Assets:Cash","P","-20","*",""
"2013/09/04","","stuff", "Expneses:Others","P","20","*",""
### See ### See
* http://ledger-cli.org/3.0/doc/ledger3.html * http://ledger-cli.org/3.0/doc/ledger3.html

View File

@ -11,7 +11,7 @@ layout: default
| 320 x 480 | @2x | 640 x 960 | 163 ppi | 326 ppi | 3.5" | iPhone 4S | | 320 x 480 | @2x | 640 x 960 | 163 ppi | 326 ppi | 3.5" | iPhone 4S |
| 320 x 568 | @2x | 640 x 1136 | 163 ppi | 326 ppi | 4" | iPhone 5 | | 320 x 568 | @2x | 640 x 1136 | 163 ppi | 326 ppi | 4" | iPhone 5 |
| 375 x 667 | @2x | 750 x 1334 | 163 ppi | 326 ppi | 4.7" | iPhone 6 | | 375 x 667 | @2x | 750 x 1334 | 163 ppi | 326 ppi | 4.7" | iPhone 6 |
| 414 x 736 | @3x | 828 x 2208 | 133 ppi | 401 ppi | 5.5" | iPhone 6+ | | 414 x 736 | @3x | 1242 x 2208 | 133 ppi | 401 ppi | 5.5" | iPhone 6+ |
| --- | --- | --- | ---- | --- | --- | --- | | --- | --- | --- | ---- | --- | --- | --- |
| 360 x 640 | @3x | 1080 x 1920 | 147 ppi | 441 ppi | 5" | Galaxy S4 | | 360 x 640 | @3x | 1080 x 1920 | 147 ppi | 441 ppi | 5" | Galaxy S4 |