Skip to content

Instantly share code, notes, and snippets.

Avatar
:electron:
Performing Alchemy

Groundwater groundwater

:electron:
Performing Alchemy
View GitHub Profile
View Program.cs
using System;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
static class Program
{
[STAThread]
static void Main()
{
View launch.json
{
// 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 Dec 27, 2017 — forked from maxogden/bibtex.png
How to make a scientific looking PDF from markdown (with bibliography)
View PDF OCR.md
$ brew install pdfsandwich
$ pdfsandwich FILE
View Electron Jobs.md
View trace-kqueue.d
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 Jul 26, 2016
c++ dependency injection via templates
View dependency-injection.cpp
#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 {
View functionalTemplates.cpp
#import <stdio.h>
template<int i>
class Integer {
public:
static const int value = i;
};
template<class Left, class Right>
class Add {
View Semver Service Experiment.md

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: