Artifact
ba4e8d07878f30977946f377bd1005b938daf042:
Wiki page
[Smile Bank to Ledger] by
atomicules
2016-10-02 12:33:54.
0000: 44 20 32 30 31 36 2d 31 30 2d 30 32 54 31 32 3a D 2016-10-02T12:
0010: 33 33 3a 35 34 2e 33 35 37 0a 4c 20 53 6d 69 6c 33:54.357.L Smil
0020: 65 5c 73 42 61 6e 6b 5c 73 74 6f 5c 73 4c 65 64 e\sBank\sto\sLed
0030: 67 65 72 0a 50 20 32 31 62 38 35 64 31 65 35 37 ger.P 21b85d1e57
0040: 35 61 30 32 34 63 61 37 62 30 33 66 64 34 30 63 5a024ca7b03fd40c
0050: 61 33 61 37 36 63 31 66 62 36 32 38 63 32 0a 55 a3a76c1fb628c2.U
0060: 20 61 74 6f 6d 69 63 75 6c 65 73 0a 57 20 34 34 atomicules.W 44
0070: 34 0a 54 68 69 73 20 77 61 73 20 61 20 67 72 65 4.This was a gre
0080: 61 74 20 52 75 62 79 20 63 6f 6d 6d 61 6e 64 20 at Ruby command
0090: 6c 69 6e 65 20 74 6f 6f 6c 2c 20 75 73 69 6e 67 line tool, using
00a0: 20 4d 65 63 68 61 6e 69 7a 65 2c 20 74 6f 20 64 Mechanize, to d
00b0: 6f 77 6e 6c 6f 61 64 20 74 72 61 6e 73 61 63 74 ownload transact
00c0: 69 6f 6e 73 20 66 72 6f 6d 20 53 6d 69 6c 65 20 ions from Smile
00d0: 62 61 6e 6b 20 74 6f 20 74 68 65 20 4c 65 64 67 bank to the Ledg
00e0: 65 72 20 66 6f 72 6d 61 74 2e 20 42 75 74 20 69 er format. But i
00f0: 6e 20 73 75 6d 6d 65 72 20 32 30 31 36 20 74 68 n summer 2016 th
0100: 65 79 27 76 65 20 64 65 63 69 64 65 64 20 74 6f ey've decided to
0110: 20 72 65 2d 6c 61 75 6e 63 68 20 74 68 65 69 72 re-launch their
0120: 20 77 65 62 73 69 74 65 20 61 6e 64 20 75 73 65 website and use
0130: 20 6e 61 73 74 79 20 6a 61 76 61 73 63 72 69 70 nasty javascrip
0140: 74 20 65 76 65 72 79 77 68 65 72 65 20 61 6e 64 t everywhere and
0150: 20 49 20 63 61 6e 27 74 20 66 61 74 68 6f 6d 20 I can't fathom
0160: 6c 6f 67 67 69 6e 67 20 6f 6e 20 77 69 74 68 6f logging on witho
0170: 75 74 20 61 20 66 75 6c 6c 20 77 65 62 2d 62 72 ut a full web-br
0180: 6f 77 73 65 72 20 61 6e 79 6d 6f 72 65 2e 0d 0a owser anymore...
0190: 0d 0a 59 6f 75 20 63 61 6e 20 6e 6f 77 20 64 6f ..You can now do
01a0: 77 6e 6c 6f 61 64 20 63 73 76 20 66 69 6c 65 73 wnload csv files
01b0: 20 28 77 68 69 63 68 20 69 73 20 6f 6e 65 20 6e (which is one n
01c0: 69 63 65 20 62 65 6e 65 66 69 74 29 20 73 6f 20 ice benefit) so
01d0: 6e 6f 77 20 74 68 69 73 20 69 73 20 61 20 6d 75 now this is a mu
01e0: 63 68 20 6d 6f 72 65 20 73 69 6d 70 6c 65 20 73 ch more simple s
01f0: 63 72 69 70 74 20 74 68 61 74 20 74 61 6b 65 73 cript that takes
0200: 20 74 68 61 74 20 63 73 76 20 66 69 6c 65 20 61 that csv file a
0210: 6e 64 20 70 61 72 73 65 73 20 69 74 20 74 6f 20 nd parses it to
0220: 4c 65 64 67 65 72 20 66 6f 72 6d 61 74 2e 0a 5a Ledger format..Z
0230: 20 38 63 35 35 62 63 32 30 65 36 61 61 36 37 30 8c55bc20e6aa670
0240: 30 64 65 65 65 63 30 30 38 32 34 66 39 61 37 34 0deeec00824f9a74
0250: 62 0a b.