Category Archives: Programming

#Bash one liner: Remove all occurrences of a tag block from an XSD or XML file using #sed #xmlstarlet

By | April 1, 2022

Sometimes you get some XLS schemas that are full of additional annotations and comments you want strip. Annotations and comments are nice but annoying when trying to compare two incremental versions of some schema and try to pin point just the differences. Bellow there is a script used to remove all comments and the <xs:annotation>… Read More »

Filter #XML Documents using #XPATH2 Transforms for signature digests #banking #fintech

By | November 26, 2021

While working with XML Documents and trying to implement the XMLSignature I hit the issue of filtering what to sign from an XML. The basic documentation of the from XML signature standard XML Signature Syntax and Processing Version 1.1 describes several methods that can be used to transform an XML to prepare it for signing.… Read More »

Things worth reading: Some resources about Protocol Buffers in #golang and #gRPC

By | November 1, 2019

Looking around microservice communication protocols I discovered protocol buffers and gRPC as a new alternative to REST with XML or JSON. XML is used in standards like ISO 20022 for financial messages, JSON is widely used by all the new APIs in fintech (Stripe, TransferWise, lots of PSD2 API implementation of banks etc.) Both of… Read More »

Libraries #golang : Inter Planetary File System client

By | October 29, 2019

In all this talk of distributed systems the Interplanetary File System is a fun practical subject. Obviously golang should be part of that. According to Wikipedia: The InterPlanetary File System (IPFS) is a protocol and peer-to-peer network for storing and sharing data in a distributed file system. IPFS uses content-addressing to uniquely identify each file… Read More »

Connect to github with ssh key

By | October 28, 2019

This is a straight forward list of steps to connect to github with a ssh key instead of user/password. I am using Linux on my development machine so things are quite easy with ssh. STEP 1: Create a ssh key # ssh-keygen -t rsa -b 4096 -C “george@voina.org” STEP2: Add the key to the authentication… Read More »