Skip to content

Instantly share code, notes, and snippets.

View ludoviclaffineur's full-sized avatar
🤓

Ludovic Laffineur ludoviclaffineur

🤓
View GitHub Profile
window.webviewerFunctions = {
initWebViewer: function ( dotNetObject, licenseKey, documentUrl, enableAnnotations, initAnnotations, username, watermark, language ) {
const viewerElement = document.getElementById( 'viewer' );
WebViewer( {
licenseKey: licenseKey,
annotationUser: username,
path: 'lib',
initialDoc: documentUrl
}, viewerElement ).then( ( instance ) => {
package usecase
const BookingStateNew = "NEW"
const BookingStateQuoted = "QUOTED"
const BookingStateReleased = "RELEASED"
const BookingStateExpired = "EXPIRED"
const BookingStateConfirmed = "CONFIRMED"
const BookingStateCancelled = "CANCELLED"
const BookingStateStarted = "STARTED"
const BookingStateFinished = "FINISHED"
@ludoviclaffineur
ludoviclaffineur / bookings.proto
Last active April 7, 2020 09:23
bookings.proto
syntax = "proto3";
package bookings;
option go_package = "bookingspb";
message AmountOfMoney {
int32 amount = 10;
int32 amount_ex_vat = 11;
// ISO 4217 currency code
string currency_code = 12;
// country codes according ISO 3166-2
string vat_country_code = 13;
# Set an output prefix, which is the local directory if not specified
PREFIX?=$(shell pwd)
# Setup name variables for the package/tool
NAME := reg
PKG := github.com/genuinetools/$(NAME)
# Set any default go build tags
BUILDTAGS :=

Keybase proof

I hereby claim:

To claim this, I am signing this object:

<text>
<cursor type="hidden" />
<clearscreen />
<timetowait delay="15" />
<letters tblMin="0" tblMax="0">192 KB OK</letters>
<timetowait delay="15" />
<clearscreen />
<letters tblMin="0" tblMax="0">256 KB OK</letters>
<timetowait delay="15" />
<clearscreen />