This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import argparse | |
import re | |
import csv | |
from datetime import datetime as dt | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter | |
from pdfminer.converter import PDFPageAggregator | |
from pdfminer.layout import LTPage, LTChar, LTAnno, LAParams, LTTextBox, LTTextLine | |
from pdfminer.pdfpage import PDFPage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Themes> | |
<Theme Name="Dracula v2" GUID="{c32454de-c5fc-4799-a5e8-2e2d28f09c2c}"> | |
<Category Name="ACDCOverview" GUID="{c8887ac6-3c60-4209-9d69-8f4c12a60044}"> | |
<Color Name="Body"> | |
<Background Type="CT_RAW" Source="FF252526" /> | |
<Foreground Type="CT_RAW" Source="FFF1F1F1" /> | |
</Color> | |
<Color Name="H1"> | |
<Foreground Type="CT_RAW" Source="FF84CEFF" /> | |
</Color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Themes> | |
<Theme Name="DraculaMZ" GUID="{32f0c094-a6d3-42da-82a8-6b08df3e2dc3}"> | |
<Category Name="ACDCOverview" GUID="{c8887ac6-3c60-4209-9d69-8f4c12a60044}"> | |
<Color Name="Body"> | |
<Background Type="CT_RAW" Source="FF252526" /> | |
<Foreground Type="CT_RAW" Source="FFF1F1F1" /> | |
</Color> | |
<Color Name="H1"> | |
<Foreground Type="CT_RAW" Source="FF84CEFF" /> | |
</Color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parses UOB CASA eStatements transaction data | |
#! first download tika-server from http://www.apache.org/dyn/closer.cgi/tika/tika-server-1.18.jar and then go to cmd: | |
#* cd C:\Users\YourUserName\Documents\Python Scripts\_util # or wherever you installed it | |
#* java -jar tika-server-1.18.jar --port 1111 | |
#region Imports | |
import time | |
import datetime | |
import pandas as pd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>Xamarin Bindable Property</Title> | |
<Author>Mark Zhukovsky</Author> | |
<Description>Code snippet for an automatically implemented Xamarin Forms BindableProperty.</Description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public delegate void RepeaterViewItemAddedEventHandler(object sender, RepeaterViewItemAddedEventArgs args); | |
/// <summary> | |
/// Don't set IsVisible to false or you will have a bad time | |
/// this won't relayout its child elements when you change the visibility | |
/// </summary> | |
// in lieu of an actual Xamarin Forms ItemsControl, this is a heavily modified version of code from https://forums.xamarin.com/discussion/21635/xforms-needs-an-itemscontrol | |
public class RepeaterView : FlexLayout | |
{ | |
public RepeaterView() |