Skip to content

Instantly share code, notes, and snippets.

View groundwater's full-sized avatar
:electron:
Performing Alchemy

Groundwater groundwater

:electron:
Performing Alchemy
View GitHub Profile
using System;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
static class Program
{
[STAThread]
static void Main()
{
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Current TS File",
"type": "node",
"request": "launch",
@groundwater
groundwater / bibtex.png
Created December 27, 2017 18:14 — forked from max-mapper/bibtex.png
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
$ brew install pdfsandwich
$ pdfsandwich FILE
struct kevent {
uintptr_t ident; /* identifier for this event */
int16_t filter; /* filter for event */
uint16_t flags; /* general flags */
uint32_t fflags; /* filter-specific flags */
intptr_t data; /* filter-specific data */
void *udata; /* opaque user data identifier */
} kevent;
::kevent:entry
@groundwater
groundwater / dependency-injection.cpp
Created July 26, 2016 06:45
c++ dependency injection via templates
#import <iostream>
// A simple container class for holding results
class Item {
using str = std::string;
private:
str _item;
public:
Item(str k): _item {k} {}
const str value() const {
#import <stdio.h>
template<int i>
class Integer {
public:
static const int value = i;
};
template<class Left, class Right>
class Add {

Semver Service Experiment

Introduction

servicification, service-oriented-architecture, mircroservice, oh-my

Choose your term, but many organizations are building complex applications by decomposing them into discrete logical groups. These groups are often uniqe teams, code bases, and processes running in a cluster of machines.

This design is often pursued for commonly agreed upon benefits, such as: