Update applinks, ledger, flexbox
This commit is contained in:
parent
aec7c8f0c5
commit
b65992b9d8
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
title: Applinks
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
<meta property="al:ios:url" content="applinks://docs" />
|
||||||
|
<meta property="al:ios:app_store_id" content="12345" />
|
||||||
|
<meta property="al:ios:app_name" content="App Links" />
|
||||||
|
|
||||||
|
<meta property="al:android:url" content="applinks://docs" />
|
||||||
|
<meta property="al:android:app_name" content="App Links" />
|
||||||
|
<meta property="al:android:package" content="org.applinks" />
|
||||||
|
|
||||||
|
<meta property="al:web:url" content="http://applinks.org/documentation" />
|
||||||
|
|
||||||
|
### Device types
|
||||||
|
|
||||||
|
* `ios`
|
||||||
|
* `ipad`
|
||||||
|
* `iphone`
|
||||||
|
* `android`
|
||||||
|
* `windows_phone`
|
||||||
|
* `web`
|
||||||
|
|
||||||
|
### Reference
|
||||||
|
|
||||||
|
* [applinks.org](http://applinks.org/documentation/)
|
|
@ -45,7 +45,7 @@ Full
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
### Centering
|
### Vertical center
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -57,14 +57,24 @@ Full
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
### Mobile
|
### Reordering
|
||||||
|
|
||||||
|
.container > .top {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container > .bottom {
|
||||||
|
order: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
### Mobile layout
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container > .top-bar {
|
.container > .top {
|
||||||
flex: 0 0 100px;
|
flex: 0 0 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
48
ledger.md
48
ledger.md
|
@ -3,7 +3,7 @@ title: Ledger CLI
|
||||||
layout: default
|
layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
### Queries
|
### Examples
|
||||||
|
|
||||||
# any/all matches
|
# any/all matches
|
||||||
ledger bal Rent Transportation # any
|
ledger bal Rent Transportation # any
|
||||||
|
@ -41,7 +41,7 @@ layout: default
|
||||||
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
|
||||||
|
|
||||||
### Format
|
## Format
|
||||||
|
|
||||||
2013/01/03 * Rent for January
|
2013/01/03 * Rent for January
|
||||||
Expenses:Rent $600.00
|
Expenses:Rent $600.00
|
||||||
|
@ -92,6 +92,13 @@ layout: default
|
||||||
2010/05/31 * Gas
|
2010/05/31 * Gas
|
||||||
Expenses:Gasoline 11 GAL {=$2.299}
|
Expenses:Gasoline 11 GAL {=$2.299}
|
||||||
|
|
||||||
|
### Commodity definitions
|
||||||
|
|
||||||
|
commodity $
|
||||||
|
note American Dollars
|
||||||
|
format $1,000.00
|
||||||
|
nomarket
|
||||||
|
default
|
||||||
|
|
||||||
### Budgeting
|
### Budgeting
|
||||||
|
|
||||||
|
@ -117,8 +124,6 @@ layout: default
|
||||||
CLI interface
|
CLI interface
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
### Examples
|
|
||||||
|
|
||||||
$ ledger bal # show balance
|
$ ledger bal # show balance
|
||||||
$ ledger reg grocery # show entries for grocery
|
$ ledger reg grocery # show entries for grocery
|
||||||
$ ledger print # show entries
|
$ ledger print # show entries
|
||||||
|
@ -170,20 +175,35 @@ CLI interface
|
||||||
-b, --begin DATE
|
-b, --begin DATE
|
||||||
-e, --end DATE
|
-e, --end DATE
|
||||||
|
|
||||||
-d EXPR # only transactions matching EXPR (`-d payee =~ /pioneer/`)
|
-d payee =~ /pioneer/
|
||||||
|
|
||||||
-C, --cleared # only cleared transactions (with *)
|
-C, --cleared # (with *)
|
||||||
-U, --uncleared # only uncleared (no *)
|
-U, --uncleared # (no *)
|
||||||
--pending # only pending (with !)
|
--pending # (with !)
|
||||||
|
|
||||||
-R, --real # ignore virtual postings (eg: "(Cash) $-400")
|
-R, --real # ignore virtual postings (eg: "(Cash) $-400")
|
||||||
-L, --actual # no automated postings (eg: "= /^Income/")
|
-L, --actual # no automated postings (eg: "= /^Income/")
|
||||||
|
|
||||||
--aux-date # use aux dates as if it were the primary dates
|
|
||||||
|
|
||||||
-r, --related # show the other side
|
-r, --related # show the other side
|
||||||
# "reg -r savings" shows where it comes from)
|
# "reg -r savings" shows where it comes from)
|
||||||
|
|
||||||
|
### Queries
|
||||||
|
|
||||||
|
^regex$
|
||||||
|
@payee
|
||||||
|
%tag
|
||||||
|
=note
|
||||||
|
#code
|
||||||
|
term and term
|
||||||
|
term or term
|
||||||
|
not term
|
||||||
|
\( term \)
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
ledger r ^expenses and @Denny's
|
||||||
|
ledger r food and @Starbucks and not dining
|
||||||
|
|
||||||
### Display
|
### Display
|
||||||
|
|
||||||
-n, --collapse # [register] collapse entries
|
-n, --collapse # [register] collapse entries
|
||||||
|
@ -215,14 +235,6 @@ Then, when you receive the payment, you change it to
|
||||||
"2013/09/04","","stuff", "Assets:Cash","P","-20","*",""
|
"2013/09/04","","stuff", "Assets:Cash","P","-20","*",""
|
||||||
"2013/09/04","","stuff", "Expneses:Others","P","20","*",""
|
"2013/09/04","","stuff", "Expneses:Others","P","20","*",""
|
||||||
|
|
||||||
### Commodity
|
|
||||||
|
|
||||||
commodity $
|
|
||||||
note American Dollars
|
|
||||||
format $1,000.00
|
|
||||||
nomarket
|
|
||||||
default
|
|
||||||
|
|
||||||
### See
|
### See
|
||||||
|
|
||||||
* http://ledger-cli.org/3.0/doc/ledger3.html
|
* http://ledger-cli.org/3.0/doc/ledger3.html
|
||||||
|
|
Loading…
Reference in New Issue