Skip to content

Instantly share code, notes, and snippets.

View alexsaare's full-sized avatar

alexsaare

  • London
View GitHub Profile
@alexsaare
alexsaare / TrustPilotLinkBuilder.js
Last active May 3, 2018 08:26
TrustPilot Business Generated Links in Node using crypto-js and monotonic-id
var config = require('../config');
var AES = require('crypto-js/aes');
var HMAC256 = require('crypto-js/hmac-sha256');
var Base64 = require('crypto-js/enc-base64');
var HEX = require('crypto-js/enc-hex');
let MID = require('monotonic-id');
module.exports = {
buildData: function(name, email, ref, skus, tags){
return {
// For bootstrap 4 and I18N
import { inject } from 'aurelia-framework'
import { RenderInstruction, ValidateResult } from 'aurelia-validation';
import {I18N} from "aurelia-i18n";
@inject(I18N)
export class BootstrapFormRenderer {