Skip to content

Instantly share code, notes, and snippets.

View jmezach's full-sized avatar

Jonathan Mezach jmezach

View GitHub Profile
@jmezach
jmezach / ProxyTechRadarApi.ts
Created January 17, 2024 07:40
Backstage TechRadar from repository through proxy plugin
import { DiscoveryApi, FetchApi } from "@backstage/core-plugin-api";
import { RadarEntry, RadarEntrySnapshot, TechRadarApi, TechRadarLoaderResponse } from "@backstage/plugin-tech-radar";
export class ProxyTechRadarApi implements TechRadarApi {
discoveryApi: DiscoveryApi;
fetchApi: FetchApi;
constructor({discoveryApi, fetchApi}: {discoveryApi: DiscoveryApi, fetchApi: FetchApi}) {
this.discoveryApi = discoveryApi;
this.fetchApi = fetchApi;
@jmezach
jmezach / host.json
Created April 20, 2020 06:14
Functions Node Restart repro
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
}
@jmezach
jmezach / app.html
Last active August 27, 2018 08:49
Aurelia Gist
<template>
<router-view></router-view>
<button click.delegate="click()">Replace</button>
</template>
@jmezach
jmezach / app.html
Last active August 30, 2018 07:05 — forked from jdanyow/app.html
Aurelia Gist
<template>
<router-view></router-view>
</template>
@jmezach
jmezach / app.html
Created February 21, 2017 15:14 — forked from lebolo/app.html
Aurelia Gist
<template>
<require from="./dropdown"></require>
<h1>${message}</h1>
<dropdown>
<p repeat.for="item of items">${item}</p>
</dropdown>
<a click.delegate="changeItems()" href="#">Change items</a>
</template>