Skip to content

Instantly share code, notes, and snippets.

View eeertekin's full-sized avatar
🤔

Ertuğrul Emre Ertekin eeertekin

🤔
View GitHub Profile
@eeertekin
eeertekin / backend-architectures.md
Last active September 23, 2019 09:21 — forked from ngocphamm/backend-architectures.md
Backend Architectures
// Signature inflation/deflation
var inflateToJsonSignature = function (deflatedSig) {
var intArray = [];
for (var i = 0; i < deflatedSig.length; i++) {
intArray.push((deflatedSig[i].charCodeAt()).toString(16));
}
var sigString = "[";
for (var j = 0; j < intArray.length; j = j + 4) {
sigString += (