Skip to content

Instantly share code, notes, and snippets.

View simonmichael's full-sized avatar

Simon Michael simonmichael

View GitHub Profile
@sbibauw
sbibauw / 1-paypalcsv
Last active June 22, 2021 22:29
Paypal transactions API retrieval → JSON → CSV → hledger-flow import → hledger import rules
#!/usr/bin/env bash
# Download last 30 days of transaction history from Paypal as CSV.
# Adapted from Simon Michael: gist.github.com/simonmichael/62cc9661569cdea990dc2020ac36582a
# REQUIREMENTS:
# brew install jsonpp jq
# npm install -g json2csv
# USAGE:
@androidfred
androidfred / haskell_stack_and_intellij_idea_ide_setup_tutorial_how_to_get_started.md
Last active February 4, 2024 20:58
Haskell, Stack and Intellij IDEA IDE setup tutorial how to get started

Haskell, Stack and Intellij IDEA IDE setup tutorial how to get started

Upon completion you will have a sane, productive Haskell environment adhering to best practices.

Basics

  • Haskell is a programming language.
  • Stack is tool for Haskell projects. (similar tools for other languages include Maven, Gradle, npm, RubyGems etc)
  • Intellij IDEA IDE is a popular IDE.

Install required libraries

sudo apt-get install libtinfo-dev libghc-zlib-dev libghc-zlib-bindings-dev

@ony
ony / budgeting.md
Last active March 5, 2024 06:48
Budgeting with hledger

The main answers I need from budgeting:

  • How much extra money I can spend without compromising ability to pay my bills?
  • How big my earnings should be to cover my expenses?
  • How can I optimize my expenses?

Tracking your expenses

One of my favorite reports hledger supports is