I hereby claim:
- I am ankon on github.
- I am ankon (https://keybase.io/ankon) on keybase.
- I have a public key whose fingerprint is E2A9 155A FD3C 17E1 AD6A C0E0 B03F DDBC 66E9 9F92
To claim this, I am signing this object:
interface SchemaTypeNames { | |
'string': string; | |
'boolean': boolean; | |
'number': number; | |
// TODO: Could we recurse for 'array' and 'object'? | |
'array': any[]; | |
'object': unknown; | |
} |
import { Annotations, Args, BaseStory } from '@storybook/addons'; | |
import React, { useState } from 'react'; | |
import { CombinedUnion, Extension, fromHtml } from 'remirror/core'; | |
import { BoldExtension } from 'remirror/extension/bold'; | |
import { CodeBlockExtension } from 'remirror/extension/code-block'; | |
import { ItalicExtension } from 'remirror/extension/italic'; | |
import { UnderlineExtension } from 'remirror/extension/underline'; | |
import { CorePreset } from 'remirror/preset/core'; | |
import { RemirrorProvider, useManager, useRemirror } from 'remirror/react'; |
import { FileInfo, API, MemberExpression, CallExpression, Identifier } from 'jscodeshift'; | |
function isExpression<T>(object: any, type: string): object is T { | |
return object.hasOwnProperty('type') && object.type === type; | |
} | |
function isMemberExpression(object: any): object is MemberExpression { | |
return isExpression<MemberExpression>(object, 'MemberExpression'); | |
} |
function consumeAllEvents(kafkaBrokers, groupId, globalOptions, topic, handleEvent) { | |
const options = Object.assign({ | |
'enable.auto.commit': false, | |
'group.id': groupId, | |
'metadata.broker.list': kafkaBrokers, | |
'socket.keepalive.enable': true, | |
}, globalOptions); | |
const topicOptions = { | |
'auto.offset.reset': 'earliest' | |
}; |
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.renderIndentGuides": true, | |
"editor.renderWhitespace": "boundary", | |
"workbench.editor.closeOnFileDelete": false, | |
"files.autoSave": "onFocusChange", | |
"typescript.disableAutomaticTypeAcquisition": false, | |
"eslint.enable": true, | |
"eslint.run": "onType", | |
"zenMode.hideStatusBar": false, |
I hereby claim:
To claim this, I am signing this object:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example</groupId> | |
<artifactId>build</artifactId> | |
<packaging>pom</packaging> | |
<build> | |
<plugins> |
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "0.1.0", | |
"command": "gulp", | |
"isShellCommand": true, | |
"suppressTaskName": true, | |
"tasks": [ | |
{ | |
"taskName": "compile-server", |
#!/bin/sh | |
# This is a wrapper script around a regular SysV service | |
_services= | |
while [ $# -gt 0 ]; do | |
if [ -x "$1" ]; then | |
_service=$1 | |
shift | |
else |
#!/bin/sh | |
# Filter maven output and inject 'travis_fold'/'travis_time' markers | |
exec awk ' | |
BEGIN { | |
attn=0 | |
id=0 | |
start=0 | |
end=0 | |
} |