I hereby claim:
- I am afh on github.
- I am afh (https://keybase.io/afh) on keybase.
- I have a public key whose fingerprint is CCAC 8ADA 2562 CE48 DC72 09AA 6961 00B8 8C22 DD8B
To claim this, I am signing this object:
commit 36f87f49d86e931bb99a226cd47721219ccd6301 | |
Author: Alexis Hildebrandt <[email protected]> | |
Date: Mon Sep 6 15:01:09 2010 +0200 | |
Add --time-colon option | |
The --time-colon option will display the value for a seconds | |
based commodity as real hours and minutes. | |
For example 8100 seconds by default will be displayed as 2.25 |
--date-format %d.%m.%Y | |
--decimal-comma | |
--basis | |
D € 0.000,00 | |
D 0,00% | |
;= expr account =~ /^Einnahmen:/ | |
= /^Einnahmen:/ | |
(Einnahmen:Netto) (has_tag("Steuersatz") ? (-floor(total / ((tag("Steuersatz")*0,01)+1%))) : 0) | |
(Passiva:USt:Ein) (has_tag("Steuersatz") ? (floor(amount / ((tag("Steuersatz")*0,01)+1%)) * (tag("Steuersatz")*0,01)) : 0) |
diff --git a/menu.c b/menu.c | |
index ff830f3..e14caf7 100644 | |
--- a/menu.c | |
+++ b/menu.c | |
@@ -112,10 +112,20 @@ static void print_enriched_string (int attr, unsigned char *s, int do_color) | |
addch (' '); | |
break; | |
case M_TREE_RARROW: | |
- addch ('>'); | |
+ if (option (OPTASCIICHARS)) |
% cat <<EOF | ledger -f - --amount='(floor(amount()))' reg | |
D ¤ 0,000.00 | |
01/01 foobar | |
Account ¤ 12.84 | |
Other | |
EOF |
diff --git a/urlview.c b/urlview.c | |
index f23d47f..b0fc63f 100644 | |
--- a/urlview.c | |
+++ b/urlview.c | |
@@ -369,7 +369,7 @@ into a line of its own in your \n\ | |
cbreak (); | |
noecho (); | |
#ifdef HAVE_CURS_SET | |
- curs_set (1); | |
+ curs_set (0); |
% python python/demo.py | |
Welcome to the Ledger.Python demo! | |
Demo completed successfully. | |
*** glibc detected *** python: double free or corruption (!prev): 0x0000000002360cd0 *** | |
======= Backtrace: ========= | |
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f7c56bc4d76] | |
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f7c56bc9aac] | |
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev+0x9e)[0x7f7c5490dd0e] | |
/lib/x86_64-linux-gnu/libc.so.6(+0x36df2)[0x7f7c56b84df2] |
#!/usr/bin/env python | |
import json | |
import ledger | |
total = ledger.Balance() | |
journal = ledger.read_journal('test/input/demo.ledger') | |
for post in journal.query(''): | |
total += post.amount | |
print post.account, post.amount |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
show_gui = false | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Ubuntu Saucy Salamander 13.10 |
I hereby claim:
To claim this, I am signing this object: