Skip to content

Instantly share code, notes, and snippets.

View jschuler's full-sized avatar

Joachim Schuler jschuler

View GitHub Profile
[
{
"description": "Didact",
"displayName": "Didact",
"id": "didact/0.1.0",
"links": {
"self": "/didact/0.1.0/"
},
"name": "didact",
"publisher": "myself",
@jschuler
jschuler / meta.yaml
Last active May 17, 2021 13:45
plugin schema 2
schemaVersion: 2.0.0
metadata:
publisher: redhat
name: vscode-didact
version: 0.4.1
displayName: Didact
title: Didact
description: Didact Tutorial Tools for Visual Studio Code
icon: /v3/images/redhat-vscode-didact-icon.png
repository: https://github.com/redhat-developer/vscode-didact
apiVersion: 1.0.0
metadata:
name: didact-yamlldytq
components:
- preferences:
didact.defaultUrl: 'https://gist.githubusercontent.com/jschuler/29c4c2adb291419dd285b82592103548/raw/76ec9e44d606eadce412fd23895d7a62bee6b411/getting-started.didact.yaml'
che.welcome.enable: false
didact.openDefaultTutorialAtStartup: true
type: chePlugin
reference: 'https://gist.githubusercontent.com/bfitzpat/be6b83debc7026d5ccf92302fe5c3bac/raw/ea71bec2d0a4562d7a755d447208b5635fd5053a/meta.yaml'
const json = {
apiVersion: 'console.openshift.io/v1',
kind: 'QuickStarts',
metadata: { name: 'quarkus-kafka' },
spec: {
version: 0.1,
type: { text: 'Quick start', color: 'green' },
displayName: 'Using Quarkus with Kafka instances in bf2fc6cc711aee1a0c2a',
durationMinutes: 10,
icon: '',
@jschuler
jschuler / clusterserviceversion.tsx
Last active July 13, 2020 18:31
frontend/public/components/factory/table.tsx
// frontend/packages/operator-lifecycle-manager/src/components/clusterserviceversion.tsx
{...}
export const ClusterServiceVersionTableHeader = (componentProps?: any, t?: any, lng?: string) => {
console.log(`lng is ${lng}`);
return [
{
title: t ? t('nav~Monitoring') : 'asd',
sortField: 'metadata.name',
@jschuler
jschuler / console-search.txt
Last active July 9, 2020 14:45
openshift console string searches
This file has been truncated, but you can view the full file.
kubevirt-plugin/src/topology/kubevirt-data-transformer.ts:38: return '';
kubevirt-plugin/src/topology/components/nodes/VmNode.tsx:84: const tipContent = `Create a visual connector`;
kubevirt-plugin/src/topology/components/nodes/VmNode.tsx:89: verb: 'patch',
kubevirt-plugin/src/topology/components/nodes/VmNode.tsx:174: trigger="manual"
kubevirt-plugin/src/topology/kubevirtFilters.ts:9:export const SHOW_VMS_FILTER_ID = 'virtualMachines';
kubevirt-plugin/src/topology/kubevirtFilters.ts:16: label: 'Virtual Machines',
kubevirt-plugin/src/topology/TopologyVmDetailsPanel.tsx:35: useAccessReview(asAccessReview(VirtualMachineModel, vmObj || {}, 'patch')) && !!vmObj;
kubevirt-plugin/src/topology/TopologyVmDetailsPanel.tsx:41: <Grid gutter="md">
kubevirt-plugin/src/topology/TopologyVmDetailsPanel.tsx:77: prop: 'templates',
kubevirt-plugin/src/topology/TopologyVmPanel.tsx:27: selectedDetailsTab: UI.getIn(['overview', 'selectedDetailsTab']),
@jschuler
jschuler / gatsby-node.js
Created January 25, 2019 17:19
gatsby-node on windows
const path = require(`path`);
const fs = require('fs-extra'); //eslint-disable-line
const packageDirs = ['react-core', 'react-charts', 'react-styled-system', 'react-table'];
exports.onCreateWebpackConfig = ({ stage, loaders, actions, plugins, getConfig }) => {
// Enable hot reloading on source code changes
const pfStylesTest = /patternfly-next.*(components|layouts|utilities).*\.css$/;
actions.setWebpackConfig({
module: {
rules: [