Skip to content

Instantly share code, notes, and snippets.

View pascalvree's full-sized avatar

Pascal Vree pascalvree

View GitHub Profile
// The Javascript SDK works with callbacks and with promises. For info, check our GitHub.
const bitvavo = require('bitvavo')();
bitvavo.time((error, response) => {
if (error === null) {
console.log('Current time: ', response.time)
process.exit();
} else {
console.log(error)
process.exit();
}
@pascalvree
pascalvree / it-conference-list.md
Last active August 23, 2020 20:48
Shortlist of IT-related conferences that influenced me

Shortlist of IT-Related Conferences that influenced me

  • O'Reilly Software Architecture, Berlin
  • Domain driven design Europe, Amsterdam
  • Software Craftsmanship, London
  • ArchConf, Clearwater, Florida
  • DevOps Summit, Amsterdam
  • Fronteers, Amsterdam
  • GotoConf, Amsterdam
@pascalvree
pascalvree / interesting-books.md
Last active September 1, 2020 07:16
Shortlist of IT-Related Books that influenced me
At this time Audible doesn't yet allow for sharing the titles in your personal library, which is why I put up some titles here. Feel free to add titles in the comments that influenced you :)

Shortlist of IT-Related Books that influenced me

Thought provoking stories

  • Turn the Ship Around!: A True Story of Turning Followers into Leaders
  • The Unicorn Project: A Novel About Developers, Digital Disruption, and Thriving in the Age of Data
  • The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win 5th Anniversary Edition
var httpsClient = require('https');
var isEmpty = function(obj) { return !obj || obj == undefined || obj == null; }
var notEmpty = function(obj) { return !isEmpty(obj); }
var assert = function(expression, message) { if(!expression) { throw message; } }
var performRequest = function (runtimeConfig) {
try {
assert(notEmpty(runtimeConfig.callback), "runtimeConfig.callback must be provided");
assert(notEmpty(runtimeConfig.options), "runtimeConfig.options must be provided");
var equals = function(left, right) { return left == right }
var isAnObject = function(left) { return !isAnArray(left) && equals(typeof left, "object"); }
var isAnArray = function(left) { return Array.isArray(left); }
var isEmpty = function(left) { return left == undefined || items == null; }
var Apply = function(left, right) {
var result = undefined;
if(isAnObject(left)) {
////////////////////////////////////////////////////////////////////////////////////////////////////
// (Framework) Factory Module code
class Registry {
constructor() {
this.registry = { };
}
add(key, value) {
this.registry[key] = value;
}
@pascalvree
pascalvree / .gitrc
Last active January 23, 2022 15:00
# bashrc obv ming32 + git of git-bash
# uses an optional config file .gitflow.conf
# we except this file to be located in the toplevel directory of the current repository
# and it provide the following configuration
# - PR_ENDPOINT=https://bitbucket.org/mirabeau
# - PR_TARGET=develop
# - SYNC_ORIGN=origin/develop
# - FEATURE_ORIGIN=origin/develop
# - HOTFIX_ORIGIN=origin/master