Modernize more pages
This commit is contained in:
parent
62eadce0d2
commit
26384b35ad
23
gh-pages.md
23
gh-pages.md
|
@ -1,19 +1,38 @@
|
||||||
---
|
---
|
||||||
title: GitHub pages
|
title: GitHub pages
|
||||||
category: Jekyll
|
category: Jekyll
|
||||||
|
layout: 2017/sheet
|
||||||
---
|
---
|
||||||
|
|
||||||
$ echo "foobar.com" > CNAME
|
## Setting up a domain
|
||||||
$ git commit && git push
|
|
||||||
|
### Update your repo
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ echo "foobar.com" > CNAME
|
||||||
|
$ git commit && git push
|
||||||
|
```
|
||||||
|
|
||||||
|
Create a `CNAME` file with your domain on it.
|
||||||
|
|
||||||
|
### Set up your domain
|
||||||
|
|
||||||
Subdomain (like www):
|
Subdomain (like www):
|
||||||
|
{: .-setup}
|
||||||
|
|
||||||
CNAME => username.github.io
|
CNAME => username.github.io
|
||||||
|
|
||||||
Apex domains:
|
Apex domains:
|
||||||
|
{: .-setup}
|
||||||
|
|
||||||
ALIAS => username.github.io
|
ALIAS => username.github.io
|
||||||
|
|
||||||
Apex domains (alternative):
|
Apex domains (alternative):
|
||||||
|
{: .-setup}
|
||||||
|
|
||||||
A => 192.30.252.153, 192.30.252.154
|
A => 192.30.252.153, 192.30.252.154
|
||||||
|
|
||||||
|
## References
|
||||||
|
{: .-one-column}
|
||||||
|
|
||||||
|
- <https://pages.github.com>
|
||||||
|
|
|
@ -1,16 +1,22 @@
|
||||||
---
|
---
|
||||||
title: Ledger CSV format
|
title: Ledger CSV format
|
||||||
category: Ledger
|
category: Ledger
|
||||||
|
layout: 2017/sheet
|
||||||
---
|
---
|
||||||
|
|
||||||
$ ledger csv
|
## Ledger CSV format
|
||||||
|
{: .-one-column}
|
||||||
|
|
||||||
Output:
|
```
|
||||||
|
$ ledger csv
|
||||||
date , ? , desc , account , currency , amt , pending/cleared , ?
|
```
|
||||||
"2013/09/02" , "" , "things" , "Assets:Cash" , "P" , "-2000" , "*" , ""
|
{: .-setup}
|
||||||
"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" , "*" , ""
|
|
||||||
|
|
||||||
|
```csv
|
||||||
|
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" , "*" , ""
|
||||||
|
```
|
||||||
|
|
|
@ -1,19 +1,30 @@
|
||||||
---
|
---
|
||||||
title: Ledger queries
|
title: Ledger queries
|
||||||
category: Ledger
|
category: Ledger
|
||||||
|
layout: 2017/sheet
|
||||||
---
|
---
|
||||||
|
|
||||||
- @`payee`
|
### Query characters
|
||||||
- %`tag`
|
|
||||||
- =`note`
|
|
||||||
- #`code`
|
|
||||||
- `term` and `term`
|
|
||||||
- `term` or `term`
|
|
||||||
- not `term`
|
|
||||||
|
|
||||||
Examples:
|
| Query | Description |
|
||||||
|
| --- | --- |
|
||||||
|
| `@payee` | Payee |
|
||||||
|
| `%tag` | Tag |
|
||||||
|
| `=note` | Note |
|
||||||
|
| `#code` | Code |
|
||||||
|
| --- | --- |
|
||||||
|
| `TERM and TERM` | Boolean and |
|
||||||
|
| `TERM or TERM` | Boolean or |
|
||||||
|
| `not TERM` | Boolean not |
|
||||||
|
|
||||||
ledger r @taco
|
### Examples
|
||||||
ledger r comment =~ /landline/
|
|
||||||
|
|
||||||
See: http://ledger-cli.org/3.0/doc/ledger3.html#Complex-expressions
|
```sh
|
||||||
|
ledger r @taco
|
||||||
|
ledger r comment =~ /landline/
|
||||||
|
```
|
||||||
|
|
||||||
|
## References
|
||||||
|
{: .-one-column}
|
||||||
|
|
||||||
|
- <http://ledger-cli.org/3.0/doc/ledger3.html#Complex-expressions>
|
||||||
|
|
Loading…
Reference in New Issue