I hereby claim:
- I am mckn on github.
- I am mckn (https://keybase.io/mckn) on keybase.
- I have a public key whose fingerprint is 45B4 5C59 355E 3F9B 0226 3779 E0F5 4FC1 B15B 0228
To claim this, I am signing this object:
| import React, { Suspense, lazy, memo } from 'react'; | |
| import { AppPlugin, type AppRootProps } from '@grafana/data'; | |
| import { LoadingPlaceholder } from '@grafana/ui'; | |
| import type { AppConfigProps } from './components/AppConfig/AppConfig'; | |
| const LazyApp = lazy(() => import('./components/App/App')); | |
| const LazyAppConfig = lazy(() => import('./components/AppConfig/AppConfig')); | |
| const App = (props: AppRootProps) => ( | |
| <Suspense fallback={<LoadingPlaceholder text="" />}> |
| import React, { ReactElement } from 'react'; | |
| import { css } from '@emotion/css'; | |
| import { useStyles2, Segment } from '@grafana/ui'; | |
| import { GrafanaTheme2, SelectableValue } from '@grafana/data'; | |
| import type { EditorProps } from './types'; | |
| import { useAsync } from 'react-use'; | |
| export function QueryEditor(props: EditorProps): ReactElement { | |
| const { query } = props; | |
| const { dimensions } = query; |
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_FUNNEL", | |
| "label": "Funnel", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "marcusolsson-static-datasource", | |
| "pluginName": "Static" | |
| } |
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": { | |
| "type": "datasource", | |
| "uid": "grafana" | |
| }, | |
| "enable": true, |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Run standalone plugin", | |
| "type": "go", | |
| "request": "launch", | |
| "mode": "auto", | |
| "program": "${workspaceFolder}/pkg/", | |
| "env": {}, |
I hereby claim:
To claim this, I am signing this object:
| const webpack = require('webpack'); | |
| const path = require('path'); | |
| module.exports = { | |
| entry: [ | |
| 'babel-polyfill', | |
| path.join(__dirname, '/src/index.js') | |
| ], | |
| devtool: "source-map", | |
| output: { |
| # create mount point and mount | |
| sudo mkdir /mnt/dat1 | |
| sudo mount -t xfs /dev/vdb1 /mnt/dat1 | |
| df -h | |
| # add so it will be mount on system start | |
| sudo sh -c 'echo "/dev/vdb1 /mnt/dat1 xfs defaults 0 0" >> /etc/fstab' |
| # script to install docker on a new ubuntu 16.04 | |
| sudo sed -i "/127.0.0.1 localhost/c\127.0.0.1 localhost $(hostname)" /etc/hosts | |
| sudo apt-get update -y | |
| sudo apt-get install -y apt-transport-https ca-certificates | |
| sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
| echo 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | sudo tee /etc/apt/sources.list.d/docker.list | |
| sudo apt-get update -y | |
| sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
| sudo apt-get install -y docker-engine | |
| sudo sed -i '/#DOCKER_OPTS=/c\DOCKER_OPTS="--storage-driver=aufs --log-driver=json-file --log-opt max-size=30m --log-opt max-file=1"' /etc/default/docker |
| function Bump-Version | |
| { | |
| param([string]$part = $(throw "Part is a required parameter.")) | |
| $version = Get-AssemblyInfoVersion -Directory ..\Source -GlobalAssemblyInfo $true | |
| $bumpedVersion = Clone-Object -Object $version | |
| switch -wildcard ($part) | |
| { | |
| "ma*" { $bumpedVersion.Major = Bump-NumericVersion -Current $version.Major } |