Skip to content

Instantly share code, notes, and snippets.

View olivierodo's full-sized avatar
418 IM_A_TEAPOT

OliverOdo olivierodo

418 IM_A_TEAPOT
  • Atalent-Consulting
  • Bangkok
  • 10:52 (UTC +07:00)
  • X @olivierodo
View GitHub Profile
@olivierodo
olivierodo / index.js
Last active December 4, 2023 15:14
Krungthai - Bank statement parser
/*
* 1. Create a file names 'input.txt' where you past all the statement from the Krungthai PDF
*
* EXAMPLE:
* 17/11/23 Fee (PCSFE) N-time Fee W/D. 10.00 83,096.75 23
* 10:49
* 21/11/23 Payment EDC (LSSWP) HEALTH LAND 2004 CO. LTD. 3,900.00 79,196.75 23
* 09:55
* 22/11/23 Fee - SMS Alert (SWALFE) Alert Fee,Term branch = 23 20.00 79,176.75 23
* 22:36
@olivierodo
olivierodo / generate-curl.feature
Created March 22, 2021 13:50
RestQA - Generate scenario from curl
Given I have the api gateway hosted on "https://jsonplaceholder.typicode.com"
And I have the path "/todos/1"
And I have the method "GET"
When I run the API
Then I should receive a response with the status 200
And the response body should be equal to:
"""
{
"userId": 1,
"id": 1,
@olivierodo
olivierodo / 1-result.json
Last active April 6, 2021 01:32
RestQA Example simple scenario
{
"data": {
"dates": {
"day": 15,
"month": 7
},
"namedays": {
"sk": "Henrich"
}
}
@olivierodo
olivierodo / DEVTOP.md
Last active September 21, 2019 09:12
New Dev station on the cloud

Spin up your machine and just run the command

curl https://olivierodo.me/setup-devtop?_=$(date +%s) | bash -
@olivierodo
olivierodo / git-vlog.md
Last active May 8, 2018 01:17
git vlog : Get your Mac To Speak To You With The Commit Message

Setting up the alias through command line

$ git config --global alias.vlog '!git log --pretty=format:"%s from %an" -1 | say &'

Or in your .gitconfig

[alias]