public class App : IHostedService {
private readonly ILogger _log;
private readonly IServiceProvider _sp;
public async Task StartAsync(CancellationToken ct)
{
var result = await _sp.GetRequiredService<IPipeline>()
.Map(ctx => ctx.Validate())
.Bind(ctx => ctx.Execute())
.Recover(err => Result.Fail(err));
_log.LogInformation("Pipeline: {Status}", result);
}
}
[AggregateRoot("Order")]
public partial class OrderAggregate
{
[Property] public string CustomerId { get; }
[Property] public OrderStatus Status { get; }
[Composition] public List<OrderLine> Lines { get; }
[Invariant]
public bool MustHaveLines() => Lines.Count > 0;
[DomainEvent]
public record OrderPlaced(string OrderId, DateTime At);
}
const render = async (md: string) => {
const { html, meta } = await marked.parse(md);
document.querySelector('#output').innerHTML = html;
await processMermaid(document.querySelector('#output'));
hljs.highlightAll();
};
<template>
<nav id="sidebar" role="navigation">
<div v-for="section in toc" :key="section.id">
<a :href="section.path">{{ section.title }}</a>
</div>
</nav>
</template>
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-gateway
spec:
replicas: 3
selector:
matchLabels:
app: gateway
template:
spec:
containers:
- name: api
image: registry.local/api:latest
ports:
- containerPort: 8080
[MetaConcept("Entity")]
public abstract class EntityConcept
{
[MetaProperty] public string Name { get; }
[MetaReference] public AggregateConcept Root { get; }
[MetaConstraint]
public bool NameNotEmpty() => !string.IsNullOrEmpty(Name);
}
module.exports = {
entry: './src/index.ts',
output: { path: path.resolve(__dirname, 'dist') },
resolve: { extensions: ['.ts', '.js'] },
module: {
rules: [{ test: /\.ts$/, use: 'ts-loader' }]
}
};
$ cat loading...
█
Senior Software Developer — 2015 – 2017 — Full-Time On-Site
French meta search engine.
I automated the development infrastructure and its CI and delivery. My work was audited for the entry of Caisse des Dépôts et Consignations into the capital of the company, valorizing the company at 75M€.
- Built a Scalable Software Factory: Infrastructure & Software conception and development, integrating Dev, CI, QA, CDel, CDep problem-spaces with KISS & DRY in mind
- Development & Integration of SDLC, ALM & PLM patterns into products
- Coordinating QA developers coding E2E tests
- Developer tooling to help set up developer PCs and working instances
- Developed a Screen controller to display Jenkins monitoring to teams
Bash GitLab Jenkins Packer Vagrant Docker Selenium NodeJS