Skip to content

Instantly share code, notes, and snippets.

View jotka's full-sized avatar

Jarek Krochmalski jotka

  • Poland
View GitHub Profile
@jotka
jotka / dockhand-cla.md
Created January 12, 2026 12:59
dockhand CLA

Contributor License Agreement (CLA)

Thank you for your interest in contributing to Dockhand ("the Project"). In order to clarify the intellectual property license granted with Contributions from any person or entity, Finsys (the "Maintainer") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below.

This license is for your protection as a Contributor as well as the protection of the Maintainer and its users; it does not change your rights to use your own Contributions for any other purpose.

1. Grant of Copyright License

Subject to the terms and conditions of this Agreement, You hereby grant to the Maintainer and to recipients of software distributed by the Maintainer a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.

import type { AppContext, AppProps } from 'next/app'
import dynamic from 'next/dynamic'
import App from 'next/app'
import Head from 'next/head'
import SearchWrapper from 'searchContext/useSearchContext'
import MetadataContextWrapper from 'searchContext/useMetadataContext'
import getConfig from 'next/config'
import { FaroErrorBoundary, withFaroProfiler } from '@grafana/faro-react'
import { initializeFaro } from 'faro/initialize'
import { useEffect } from 'react'
import {
FetchTransport,
initializeFaro as coreInit,
getWebInstrumentations
} from "@grafana/faro-web-sdk";
import { TracingInstrumentation } from "@grafana/faro-web-tracing";
import getConfig from "next/config";
const { publicRuntimeConfig } = getConfig() || { publicRuntimeConfig: {} }
export const initializeFaro = () => {
@jotka
jotka / services.ts
Created February 28, 2018 08:08
Angular 5 events publish - subscribe
export class MyServiceEvent {
message: string;
eventId: number;
}
export class MyService {
public onChange: EventEmitter<MyServiceEvent> = new EventEmitter<MyServiceEvent>();
public doSomething(message: string) {
// do something, then...
'use strict';
module.exports = function (gulp) {
var watch = require('gulp-watch'),
livereload = require('gulp-livereload'),
_ = require('lodash'),
defaults = {
livereload: {
port: 35729
package finsys.examples.solid;
/**
* Solid AreaCalculator example
*/
public class AreaCalculator {
/**
* Counts the area of provided shapes
* @param shapes an array of Shape interface implementations
@Test
public void shoudlMapAndPrint() {
List<String> nameList1 = asList("Anders", "David", "James", "Jeff", "Joe", "Erik");
nameList1.stream()
.map(c -> "Hello! " + c)
.forEach(System.out::println);
}