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
|
||||
category: Jekyll
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
$ echo "foobar.com" > CNAME
|
||||
$ git commit && git push
|
||||
## Setting up a domain
|
||||
|
||||
### 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):
|
||||
{: .-setup}
|
||||
|
||||
CNAME => username.github.io
|
||||
|
||||
Apex domains:
|
||||
{: .-setup}
|
||||
|
||||
ALIAS => username.github.io
|
||||
|
||||
Apex domains (alternative):
|
||||
{: .-setup}
|
||||
|
||||
A => 192.30.252.153, 192.30.252.154
|
||||
|
||||
## References
|
||||
{: .-one-column}
|
||||
|
||||
- <https://pages.github.com>
|
||||
|
|
|
@ -1,16 +1,22 @@
|
|||
---
|
||||
title: Ledger CSV format
|
||||
category: Ledger
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
$ ledger csv
|
||||
## Ledger CSV format
|
||||
{: .-one-column}
|
||||
|
||||
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" , "*" , ""
|
||||
```
|
||||
$ ledger csv
|
||||
```
|
||||
{: .-setup}
|
||||
|
||||
```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
|
||||
category: Ledger
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
- @`payee`
|
||||
- %`tag`
|
||||
- =`note`
|
||||
- #`code`
|
||||
- `term` and `term`
|
||||
- `term` or `term`
|
||||
- not `term`
|
||||
### Query characters
|
||||
|
||||
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
|
||||
ledger r comment =~ /landline/
|
||||
### Examples
|
||||
|
||||
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