Skip to content

Instantly share code, notes, and snippets.

View boyney123's full-sized avatar
💭
Making Stuff

David Boyne boyney123

💭
Making Stuff
View GitHub Profile
@boyney123
boyney123 / gist:f5aa33c20a656f6c1d9dbba7f30f5569
Created February 11, 2026 16:54
Testing EventCatalog Stuff
domain Payment {
version 1.0.0
summary "Payment processing domain"
service PaymentService {
version 1.0.0
summary "Handles payment transactions"
sends event PaymentProcessed {
version 1.0.0
@boyney123
boyney123 / testing.ecdsl
Created February 9, 2026 14:43
testing
service Name {
version 1.0.0
summary "Hello world"
}
event Name {
version 1.0.0
summary "description"
}
# EventCatalog Contributor License Agreement (CLA)
Version 2.0 — 24 September 2026
Thank you for contributing to EventCatalog. This agreement explains the rights you give us when you contribute. You keep the copyright in your work. You give us a licence to use it, so that we can include it in EventCatalog and keep the project sustainable.
## 1. Definitions
- **"Licensor"**, **"we"**, **"us"**: EventCatalog Ltd, a company registered in England and Wales under company number 15764703, and its successors and assigns.
- **"You"** or **"Contributor"**: the individual or legal entity submitting a Contribution. If you contribute on behalf of an employer or other organisation, "You" includes that organisation.
# Add annotations in grafana
curl -X POST \
https://{YOUR_URL}/api/annotations \
-H "authorization: Bearer $GRAFANA_API_TOKEN" \
-H 'content-type: application/json' \
-d "{
\"text\": \"Hello world!\",
\"tags\": [ \"deployment\", \"env:dev}\", \"application:my-application\", \"commit: commit-sha-example}\"]
}"
{
"extends": "lighthouse:full",
"settings": {
"budgets": [
{
"resourceSizes": [
{
"resourceType": "script",
"budget": 50
},
@boyney123
boyney123 / .jsx
Created March 4, 2019 21:10
Sentry setup example
import React, { Component } from "react";
import logo from "./logo.svg";
import Sentry from "./Sentry";
import ErrorExample from "./ErrorExample";
import "./App.css";
class App extends Component {
render() {
return (
<Sentry url="http://9ad974bebc5545e3aa3dd259f449ac7f@localhost:9000/2">
@boyney123
boyney123 / README-Template.md
Created March 23, 2018 08:42 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in the repo.
* @defunkt
# Order is important. The last matching pattern has the most precedence.
# So if a pull request only touches javascript files, only these owners
# will be requested to review.
*.js @octocat @github/js

Before submitting a pull request, please make sure the following is done:

  1. You have merged in the latest changes from master.
  2. Resolved any conflicts that may have happened from that merge.
  3. Ensure that you have run all tests and linting locally with npm run test and npm run lint.
  • I have searched the issues of this repository and believe that this is not a duplicate.